Date: Sun, 19 Mar 2000 09:42:13 -0800 From: "Dan O'Connor" <dan@mostgraveconcern.com> To: <keramida@ceid.upatras.gr>, "Troy Settle" <troy@picus.com> Cc: <freebsd-questions@FreeBSD.ORG> Subject: Re: IPFW Pipes / dummy net Message-ID: <0b8f01bf91ca$7a0da880$0200000a@danco>
next in thread | raw e-mail | index | archive | help
> ipfw add 70000 allow ip from any to any > >I got a rule with number 4464. Now this is a strange number of rule to >get from 70000, but if one sees the two numbers in hex, it's obvious why >it was done so. > >The number 70000 = 0x11170, when AND'ed with a 16-bit mask, 0xffff, >gives 0x1170 = 4464 :) Well, you don't even need to do any convoluted math to see that this is a simple rollover problem, since 70,000 - 65536 = 4464. --Dan -- Dan O'Connor On Matters of Most Grave Concern http://www.mostgraveconcern.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0b8f01bf91ca$7a0da880$0200000a>