Hi
Running efs-8.1.813.0-1.x86_64 on RHEL8 I'm trying to get ICAP scanning to work, but I keep getting "405 Forbidden" on requests that should be correct in syntax and with correct lengths etc etc.
For example:
jedc@web14:/home/jedc>$ telnet 192.168.80.134 1344
Trying 192.168.80.134...
Connected to 192.168.80.134.
Escape character is '^]'.
RESPMOD icap://192.168.80.134/av_scan ICAP/1.0
Host: "192.168.80.134"
Encapsulated: req-hdr=0, res-hdr=137, res-body=296
GET /origin-resource HTTP/1.1
Host: www.origin-server.com
Accept: text/html, text/plain, image/gif
Accept-Encoding: gzip, compress
HTTP/1.1 200 OK
Date: Mon, 10 Jan 2000 09:52:22 GMT
Server: Apache/1.3.6 (Unix)
ETag: "63840-1ab7-378d415b"
Content-Type: text/html
Content-Length: 51
33
This is data that was returned by an origin server.
0; ieof
ICAP/1.0 405 Forbidden
Encapsulated: null-body=0
ISTag: "f358759c53de6188-1642286804"
Connection closed by foreign host.
What is happening here?
Changing some of the lengths etc changes the response into "ICAP/1.0 400 Bad request", so my attempt must be close..
Do I need to use a particular User-Agent, set an Authorization-header or what is happening here?
Regards,
Jens Dueholm