Date: Tue, 19 Feb 2008 04:20:02 GMT From: Eugene Grosbein <eugen@kuzbass.ru> To: freebsd-ipfw@FreeBSD.org Subject: Re: bin/120720: [patch] [ipfw] unbreak POLA for ipfw table list Message-ID: <200802190420.m1J4K2jG041780@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/120720; it has been noted by GNATS. From: Eugene Grosbein <eugen@kuzbass.ru> To: Julian Elischer <julian@elischer.org> Cc: Vadim Goncharov <vadim_nuclight@mail.ru>, freebsd-ipfw@freebsd.org, bug-followup@freebsd.org Subject: Re: bin/120720: [patch] [ipfw] unbreak POLA for ipfw table list Date: Tue, 19 Feb 2008 11:10:37 +0700 On Mon, Feb 18, 2008 at 10:32:32AM -0800, Julian Elischer wrote: > that was me.. > It is my memory that > before that time tableargs were only used in 16 bit form. > there were no users in ipfw of the full 32 bit field. In RELENG_4, they are 32bit. > I did not consider that someone would put a 32 bit number > in there just to print it out again. > (what would you do that for?) It's very suitable for automatic time-bounded blocking. A trigger adds IP being blocked to ipfw table with 32-bit value that is "time-to-live" value for this table entry, and there is a rule like this: ipfw add 1000 deny ip from 'table(1)' to any Cron periodically runs another script that lists the table and removes entries with time in the past. Thank you for fixing that! Eugene Grosbein
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802190420.m1J4K2jG041780>