Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jan 2008 00:06:17 +1100 (EST)
From:      Ian Smith <smithi@nimnet.asn.au>
To:        Dan Lukes <dan@obluda.cz>
Cc:        freebsd security <freebsd-security@freebsd.org>
Subject:   Re: denyhosts-like app for MySQLd?
Message-ID:  <Pine.BSF.3.96.1080121233427.8768C-100000@gaia.nimnet.asn.au>
In-Reply-To: <47948C99.8060504@obluda.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 21 Jan 2008, Dan Lukes wrote:
 > Ian Smith napsal/wrote, On 01/21/08 12:55:
 > > No problem; IPFW has tables too, and sets, with which you could
 > > enable/disable or 
 > 
 > 	It interests me:
 > 
 > > swap your script-constructed tables atomically.
 > 
 > I know how to create new set of rules then move it using "ipfw set move" 
 > atomically but I don't know how to fill new table then move it in it's 
 > place atomically.
 > 
 > 	So, how to swap tables in one step ?

ipfw(8) usage, probably should be followed up on questions@ ..

Clearly, rules in different sets can refer to the same or to different
table/s, so a 'set swap' can accomplish a 'table swap'.

'ipfw set [disable number ...] [enable number ...]' is atomic also.

cheers, Ian




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.1080121233427.8768C-100000>