LOR with divert sockets

Bjoern A. Zeeb bzeeb-lists at lists.zabbadoz.net
Wed Feb 28 08:50:55 UTC 2007


On Wed, 28 Feb 2007, Andrea Venturoli wrote:

> Robert Watson wrote:
>
>> What versions of ip_fw2.c and ip_divert.c were in use?
>
> From i386/6.2-RELEASE-p1, i.e.:
> src/sys/netinet/ip_fw2.c,v 1.106.2.21 2006/10/10 18:39:38 bz
> src/sys/netinet/ip_divert.c,v 1.113.2.2 2006/05/16 07:27:48 ps
>
>
>
>> Also, could you let me know if you use any uid/gid rules in your IPFW rule 
>> set?
>
> Yep.
>
> 04000 allow tcp from me to any uid squid out via xl0 setup keep-state
>
> I use this to allow squid to retrieve everything according to its own 
> security settings.

I am unsure but this should still be true for at least RELENG_6. I
can only remember that there was work in progress but cannot remmember
things were patched and where or not...

%man ipfw | col -b | grep -5 'Rules which use uid' | tail -7 | head -5

      Rules which use uid, gid or jail based matching should be used only if
      debug.mpsafenet=0 to avoid possible deadlocks due to layering violations
      in its implementation.


-- 
Bjoern A. Zeeb				bzeeb at Zabbadoz dot NeT


More information about the freebsd-net mailing list