Search squid archive

Issues with bad requests in Squid 2.7 stable 9

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there,

we are using Squid 2.7 stable 9. One of our tools has issues with
connectin to a server through the proxy. The interesting thing is, we
didn't have this problem on Squid  2.5 stable 7.

Looking at the communication with wireshark there are two connects.
The first one:

CONNECT x.x.com:443 HTTP/1.1\r\n
        [Expert Info (Chat/Sequence): CONNECT x.x.com:443 HTTP/1.1\r\n]
            [Message: CONNECT x.x.com:443 HTTP/1.1\r\n]
            [Severity level: Chat]
            [Group: Sequence]
        Request Method: CONNECT
        Request URI: x.x.com:443
        Request Version: HTTP/1.1
    Host: x.x.com\r\n
    Proxy-Connection: Keep-Alive\r\n
    \r\n

works fine, I get a 200 response. The second one:

CONNECT x.x.com:443 HTTP/1.0 \r\n
        [Expert Info (Chat/Sequence): CONNECT x.x.com:443 HTTP/1.0 \r\n]
            [Message: CONNECT x.x.com:443 HTTP/1.0 \r\n]
            [Severity level: Chat]
            [Group: Sequence]
        Request Method: CONNECT
        Request URI: x.x.com:443
        Request Version: HTTP/1.0
    Host: x.x.com:443\r\n
    \r\n

doesn't work. The response is:

HTTP/1.0 400 Bad Request\r\n
        [Expert Info (Chat/Sequence): HTTP/1.0 400 Bad Request\r\n]
            [Message: HTTP/1.0 400 Bad Request\r\n]
            [Severity level: Chat]
            [Group: Sequence]
        Request Version: HTTP/1.0
        Response Code: 400
    Server: squid/2.7.STABLE9\r\n
    Date: Tue, 06 Sep 2011 15:10:01 GMT\r\n
    Content-Type: text/html\r\n
    Content-Length: 1496\r\n
        [Content length: 1496]
    X-Squid-Error: ERR_INVALID_REQ 0\r\n
    X-Cache: MISS from florian-virtual-machine\r\n
    X-Cache-Lookup: NONE from florian-virtual-machine:3128\r\n
    Via: 1.0 florian-virtual-machine:3128 (squid/2.7.STABLE9)\r\n
    Connection: close\r\n
    \r\n

Looking at the access.log, I get the following message.

1315321801.628      0 10.113.33.252 TCP_DENIED/400 1847 NONE NONE:// -
NONE/- text/html

Help would be much appreciated

Florian


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux