Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Sep 2014 15:21:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 193813] www/squid TP_PF does not work, especially inside jail
Message-ID:  <bug-193813-13-IEF9cH7ouw@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-193813-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-193813-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193813

--- Comment #1 from osho@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-193813-13-IEF9cH7ouw>