[squid-dev] [PATCH] Non-HTTP bypass

Tsantilas Christos chtsanti at users.sourceforge.net
Tue Jan 6 20:23:57 UTC 2015


Hi all,

   I am posting a new patch. Sorry for the delay but the patch was a 
little old, and many changes required..

This patch updated to apply to the latest squid sources, and uses the 
new http parser.

This patch modify the http parser to reject a method which include non 
alphanumeric characters  in first request line and also if no method or 
no url exist in request then return the ERR_WRONG_PROTOCOL error instead 
of the ERR_INVALID_REQ error.
I am fully understand that non alphanumeric chars in method or a missing 
url are not enough to consider a "wrong protocol" but I believe it is 
not bad.

Please read the patch preamble for more information.

Regards,
    Christos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: trunk-prjChts165-non-HTTP-bypass-v7.patch
Type: text/x-patch
Size: 92748 bytes
Desc: not available
URL: <http://lists.squid-cache.org/pipermail/squid-dev/attachments/20150106/5a7219e7/attachment-0001.bin>


More information about the squid-dev mailing list