Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 May 2000 09:32:05 -0700
From:      Darcy Buskermolen <darcy@ok-connect.com>
To:        freebsd-net@FreeBSD.ORG
Subject:   ipfw and rule strangeness
Message-ID:  <3.0.32.20000502093205.019446b0@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-net" 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.20000502093205.019446b0>