Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jan 2005 16:21:41 -0600
From:      Eric F Crist <ecrist@secure-computing.net>
To:        Timothy Luoma <lists@tntluoma.com>
Cc:        FreeBSD-Questions Questions <freebsd-questions@freebsd.org>
Subject:   Re: my lame attempt at a shell script...
Message-ID:  <D7D0CFB3-5DD5-11D9-B56F-000D9333E43C@secure-computing.net>
In-Reply-To: <2DF07A46-5DD2-11D9-89A5-000D93AD26C8@tntluoma.com>
References:  <06DDB71C-5DB4-11D9-B56F-000D9333E43C@secure-computing.net> <15416223037.20050103193803@hexren.net> <6074EB8D-5DC6-11D9-89A5-000D93AD26C8@tntluoma.com> <F0BE3E23-5DC8-11D9-B56F-000D9333E43C@secure-computing.net> <41D9BA53.4060105@locolomo.org> <2DF07A46-5DD2-11D9-89A5-000D93AD26C8@tntluoma.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail-12--217833728
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; format=flowed

I believe this is my last question.  I need to do some math.  Anyone 
familiar with ipfw knows that you can add a rule with:

ipfw add [num] my firewall rule

What I'm trying to do is have that number auto-computed.  So, my 
command *should* look something like:

$ipfwcmd add [rulenum1 + 50] my firewall rule $other $variables

Make sense?  I just want to add a new rule, let it figure out the rule 
number.  That way, I can leave a space of 48 rules (for minor, 
on-the-fly tweaking, etc.

Thanks.
_______________________________________________________
Eric F Crist                  "I am so smart, S.M.R.T!"
Secure Computing Networks              -Homer J Simpson

--Apple-Mail-12--217833728
content-type: application/pgp-signature; x-mac-type=70674453;
	name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iEYEARECAAYFAkHZxXUACgkQRAAY9knOW+ow5QCgg/Bqpr6IvLPEo9VGHVW0QvbD
eFIAn3SqlZRbQuIzJp7MrtQkz/DB4Nbz
=ojyA
-----END PGP SIGNATURE-----

--Apple-Mail-12--217833728--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D7D0CFB3-5DD5-11D9-B56F-000D9333E43C>