[squid-users] url_rewrite_extras can't send source port on tproxy mode

Ibrahim Ercan ibrahim.ercan at hotmail.com
Thu Nov 9 08:43:19 UTC 2017


Hi.
I have a problem regarding tproxy.

I configured squid with tproxy by below tutorial.
https://wiki.squid-cache.org/Features/Tproxy4

Then I configured a url rewrite program as follows

url_rewrite_program /path/to/foo.py
url_rewrite_extras "%>a %>p"

On nat configuration it is working well, but on tproxy configuration
my script gets source port (>p) as 0.

Do you know any idea why, and how to solve it?

Thanks


--
Ibrahim Ercan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20171109/e770d0a7/attachment.html>


More information about the squid-users mailing list