Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Nov 2003 15:25:58 +0100
From:      Roman Neuhauser <neuhauser@bellavista.cz>
To:        Dan Nelson <dnelson@allantgroup.com>
Cc:        "freebsd-questions@FreeBSD. ORG" <freebsd-questions@freebsd.org>
Subject:   Re: IPFILTER rules with shell symbloic substitution
Message-ID:  <20031127142558.GW340@freepuppy.bellavista.cz>
In-Reply-To: <20031126181353.GC48692@dan.emsphone.com>
References:  <MIEPLLIBMLEEABPDBIEGCEIJEOAA.fbsd_user@a1poweruser.com> <20031126181353.GC48692@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
# dnelson@allantgroup.com / 2003-11-26 12:13:53 -0600:
> In the last episode (Nov 26), fbsd_user said:
> > Looking for way to code IPFILTER rules with shell symbolic
> > substitution. I know how to do it in the rules, but how to get ipf
> > pgm to exec in shell? Any body have example of how to setup this?
> 
> /etc/rc.firewall has lots of examples using ipfw; the concepts should
> work just as well with ipf.

    that won't work with ipf, but: you can have the rules passed through
    /bin/sh (which would do the substitutions), and piped into ipf.

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.    see http://www.eyrie.org./~eagle/faqs/questions.html



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031127142558.GW340>