Search squid archive

TPROXY not working in FreeBSD

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

 



Hello,

I am trying to use the TPROXY feature in FreeBSD 9.1 but when I start squid I get the following error message:

2013/06/12 18:51:47| FATAL: http(s)_port: TPROXY support in the system does not work. FATAL: Bungled /usr/local/etc/squid/squid.conf line 12: http_port 3128 tproxy
Squid Cache (Version 3.3.5): Terminated abnormally.

While troubleshooting, I noticed that SO_BINDANY does not exist in FreeBSD. Instead of this, FreeBSD has the IP_BINDANY constant in /usr/include/netinet/in.h

#define IP_BINDANY          24   /* bool: allow bind to any address */

I changed SO_BINDANY to IP_BINDANY in the squid code but it didn't work.

The problem occurs in both 3.3.4 and 3.3.5 versions.

Has anyone managed to use TPROXY in FreeBSD ?


Kind regards,
George




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

  Powered by Linux