Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Mar 2006 16:48:47 +0100
From:      Albert Shih <shih@math.jussieu.fr>
To:        freebsd-questions@freebsd.org
Subject:   ipfw add rule
Message-ID:  <20060315154847.GI21264@math.jussieu.fr>

next in thread | raw e-mail | index | archive | help
Hi all

How can I add a rule with ipfw with automatics numbering but with a minimal
number ?

I've (for example) some rule in the kernel

00100        0           0 allow ip from any to any via lo0
00200        0           0 deny ip from any to 127.0.0.0/8
00300        0           0 deny ip from 127.0.0.0/8 to any
..........................................................
01000	     0		 0 allow ip from ....
65535        0           0 deny ip from any to any

I want add some rule (with sshblack for example
http://www.pettingers.org/code/sshblack.html) automaticaly with number 1100
, 1200, etc...

How can I do that ?

Regards.

--
Albert SHIH
Universite de Paris 7 (Denis DIDEROT)
U.F.R. de Mathematiques.
Heure local/Local time:
Wed Mar 15 16:43:34 CET 2006



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