Re: Running other commands / scritps

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

	Thank you to all who reply to my post :)

I now have one file with all my variables :)

Michael


On 09 Dec 2003 18:27:11 +0100
Ralf Spenneberg <lists@xxxxxxxxxxxxxx> wrote:

> Hi,
> 
> Am Die, 2003-12-09 um 18.11 schrieb Michael Gale:
> > Does anyone know how I could make a set of global variables that the firewall scripts can access when they start up. 
> Put all your variables into one script: init_variables.
> Source this script at the beginning of your scripts:
> . /path-to/init_variables
> 
> > 2. -- Is there a way to have iptables run a command or execute another script based on a rule :)
> No, not that I know of. You could generate a rule which would log an
> event. This event could be parsed by swatch or logsurfer. They would
> then start the command.
> 
> Cheers,
> 
> Ralf
> -- 
> Ralf Spenneberg
> RHCE, RHCX
> 
> Book: VPN mit Linux
> Book: Intrusion Detection für Linux Server   http://www.spenneberg.com
> IPsec-Howto				     http://www.ipsec-howto.org
> Honeynet Project Mirror:                     http://honeynet.spenneberg.org
> 


-- 
Michael Gale
Network Administrator
Utilitran Corporation



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux