Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jun 2005 21:12:44 +0200
From:      Riccardo Giuntoli <taglio@gmail.com>
To:        Giorgos Keramidas <keramida@ceid.upatras.gr>
Cc:        freebsd-pf@freebsd.org
Subject:   Re: limit number of tcp connection for a GID
Message-ID:  <31fbaca90506051212134e383e@mail.gmail.com>
In-Reply-To: <20050605184032.GA66090@gothmog.gr>
References:  <31fbaca905060510563c64eb49@mail.gmail.com> <20050605181315.GE16327@gothmog.gr> <31fbaca905060511367d24e3ec@mail.gmail.com> <20050605184032.GA66090@gothmog.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
On 6/5/05, Giorgos Keramidas <keramida@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 >=3D 1009  modulate state (max 3)=
=20
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
--=20
Name: Riccardo Giuntoli
Email: taglio@gmail.com
Homepage: http://www.luxoro.org/
Location: Genova, Italy
6BONE Handle: RG581-6BONE
PGP Key: 0x67123739
PGP Fingerprint: CE75 16B5 D855 842F AB54=20
                          FB5C DDC6 4640 6712 3739
Key server: hkp://wwwkeys.eu.pgp.net



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?31fbaca90506051212134e383e>