Re: [gentoo-user] Best way for init script?

2005-03-03 Thread Joel Merrick
On Thu, 2005-03-03 at 13:05 +0100, Christoph Gysin wrote: > /etc/apf/apf -s >/dev/null Cool, thanks for that... -- Joel Merrick signature.asc Description: This is a digitally signed message part

Re: [gentoo-user] Best way for init script?

2005-03-03 Thread Etaoin Shrdlu
On Thursday 03 March 2005 12:39, Joel Merrick wrote: > Because there's a lot more features with the APF script - like Anti DOS, > realtime blackholing of networks, sysctl tuning etc.. > > http://www.rfxnetworks.com/apf.php > > Here's a run down; Then I guess you can put the initialization command

Re: [gentoo-user] Best way for init script?

2005-03-03 Thread Christoph Gysin
Joel Merrick wrote: I am using an iptables script called APF and I want to auto-start it (/etc/apf/apf -s) when the machine/service starts and when the service restarts (/etc/apf/apf -r) From "man start-stop-daemon": start-stop-daemon - start and stop system daemon programs I don't know apf but I g

Re: [gentoo-user] Best way for init script?

2005-03-03 Thread Joel Merrick
On Thu, 2005-03-03 at 12:33 +0100, Etaoin Shrdlu wrote: > I don't know your needs and so I'm probably missing something here, > but why > can't you save your rules and then use the > standard /etc/init.d/iptables > {start|stop} scripts mechanism? Because there's a lot more features with the APF

Re: [gentoo-user] Best way for init script?

2005-03-03 Thread Etaoin Shrdlu
On Thursday 03 March 2005 12:18, Joel Merrick wrote: > Hi all > > I am using an iptables script called APF and I want to auto-start it > (/etc/apf/apf -s) when the machine/service starts and when the service > restarts (/etc/apf/apf -r) I don't know your needs and so I'm probably missing somethin

[gentoo-user] Best way for init script?

2005-03-03 Thread Joel Merrick
Hi all I am using an iptables script called APF and I want to auto-start it (/etc/apf/apf -s) when the machine/service starts and when the service restarts (/etc/apf/apf -r) Please could someone point me in the right direction for theses initscripts.. So far I have this and I know it's wrong..