[Bug 193813] www/squid TP_PF does not work, especially inside jail

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Sep 21 15:21:15 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193813

--- Comment #1 from osho at pcc-software.org ---
How to fix?
Add --with-nat-devpf at configure time.
I know this patch should only be used with TP_PF is enabled but when I changed
www/squid Makefile like this, transparent proxy looks working.
--- Makefile.bak        2014-09-19 00:22:37.000000000 +0900
+++ Makefile    2014-09-22 00:09:35.952872265 +0900
@@ -176,7 +176,8 @@
                --disable-epoll \
                --disable-linux-netfilter \
                --disable-linux-tproxy \
-               --disable-translation
+               --disable-translation \
+               --with-nat-devpf

 .include <bsd.port.options.mk>


Not having --with-nat-devpf may useful where /dev/pf is not available but it
looks not working inside jail.  Can you make --with-nat-devpf configurable with
"make config"?  Or, can you add --with-nat-devpf when TP_PF is enabled?

Thank you in advance,

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list