From: Michael Gale <mgale@utilitran.com>
To: netfilter@lists.netfilter.org
Subject: Re: Running other commands / scritps
Date: Tue, 9 Dec 2003 11:03:08 -0700 [thread overview]
Message-ID: <20031209110308.22685c54.mgale@utilitran.com> (raw)
In-Reply-To: <1070990830.18225.72.camel@kermit>
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@spenneberg.org> 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
prev parent reply other threads:[~2003-12-09 18:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-09 17:11 Running other commands / scritps Michael Gale
2003-12-09 17:27 ` Ralf Spenneberg
2003-12-09 18:03 ` Michael Gale [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20031209110308.22685c54.mgale@utilitran.com \
--to=mgale@utilitran.com \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox