Gentoo Logo
Gentoo Spaceship

Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-amd64
Lists: gentoo-amd64: < Prev By Thread Next > < Prev By Date Next >
To: gentoo-amd64@g.o
From: Craig Webster <craig@...>
Subject: Re: firewall
Date: Fri, 23 Dec 2005 14:10:48 +0000
On 23 Dec 2005, at 14:00, Gavin Seddon wrote:
> Hi,
> I to have such a script that blocks ip's after 5 'opportunist'  
> attempts.
> See below.  How do I rc-update this to default?
> Cheers.

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  
modifying it.

Craig Webster | t: +44 (0)131 516 8595 | e: craig@...
Xeriom.NET    | f: +44 (0)709 287 1902 | w:

gentoo-amd64@g.o mailing list

-- Gavin Seddon
Re: firewall
-- Steve Herber
Re: firewall
-- Justin Krejci
Re: firewall
-- Gavin Seddon
Lists: gentoo-amd64: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: firewall
Next by thread:
CrossOver Office 5.0, anyone?
Previous by date:
Re: firewall
Next by date:
Can't mount cdrom?

Updated Jun 17, 2009

Summary: Archive of the gentoo-amd64 mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.