List Archive: gentoo-amd64
Note: Due to technical difficulties, the Archives are currently not up to date.
provides an alternative service for most mailing lists.c.f. bug 424647
On 23 Dec 2005, at 14:00, Gavin Seddon wrote:
> I to have such a script that blocks ip's after 5 'opportunist'
> See below. How do I rc-update this to default?
I'd dump the current rules to a file (something like /var/lib/
iptables/rules) then have that read in from /etc/conf.d/local.start.
You can also have a script in /etc/conf.d/local.stop which will save
the rules to a file. The advantage of this approach is that if you
change rules on-the-fly the firewall rules will be preserved across
restarts. If you want to have the firewall start as a separate
process to local then try copying an existing init script and
Craig Webster | t: +44 (0)131 516 8595 | e: craig@...
Xeriom.NET | f: +44 (0)709 287 1902 | w: http://xeriom.net
email@example.com mailing list