denyhosts-like app for MySQLd?

Ian Smith smithi at nimnet.asn.au
Mon Jan 21 05:06:34 PST 2008


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



More information about the freebsd-security mailing list