limit number of tcp connection for a GID

Riccardo Giuntoli taglio at gmail.com
Sun Jun 5 19:12:45 GMT 2005


On 6/5/05, Giorgos Keramidas <keramida at ceid.upatras.gr> wrote:
...
> No trace of uid or gid matching though.  I thought it was specifically
> uid/gid matching that you were after.
Here you are the complete fantastic rule:
pass out quick proto tcp from  $irc_subnet to any port {4004, 5555,
5667, 6660, 6661, 6662, 6663, 6664,\
6665, 6666, 6667, 6668, 6669, 7000} user >= 1009  modulate state (max 3) 
I've got a /23 subnet and i want that user UID > 1009 use only two
connections to ircd.
The rule is correct all go in the right way :)
Regards
-- 
Name: Riccardo Giuntoli
Email: taglio at gmail.com
Homepage: http://www.luxoro.org/
Location: Genova, Italy
6BONE Handle: RG581-6BONE
PGP Key: 0x67123739
PGP Fingerprint: CE75 16B5 D855 842F AB54 
                          FB5C DDC6 4640 6712 3739
Key server: hkp://wwwkeys.eu.pgp.net


More information about the freebsd-pf mailing list