Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 May 2000 19:05:20 -0700
From:      Darcy Buskermolen <darcy@ok-connect.com>
To:        freebsd-ipfw@FreeBSD.ORG
Subject:   ipfw and rule strangeness
Message-ID:  <3.0.32.20000501190519.01ed3ea0@mail.ok-connect.com>

next in thread | raw e-mail | index | archive | help
I have a program that I use to dynamically create and destroy ipfw rules,
however I just noticed something rather frustrating...

# ipfw add deny ip from hacker.host to server.host
00000 deny ip from hacker.host to server.host

# ipfw show 00000
ipfw: rule 0 does not exist

Looks like the rule number that is being echo'd back is not the same rule
it applied to the rule.
(my work around has been to grep for deny ip from hacker.host to server.host
 and grab that rule number, but that seams like a bad way of doing it)

My question, is this the expected behavior, or is it not, and while I'm on
the subject is there a way to change the default increment from 100 to
something smaller ?

\\DB




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ipfw" in the body of the message




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