Invalid ipfirewall rule?
Dan Joumaa
nessup at gmail.com
Thu Jan 5 16:12:13 PST 2006
On Jan 5, 2006, at 9:57 AM, David Malone wrote:
> On Wed, Jan 04, 2006 at 05:59:44PM -0700, Dan Joumaa wrote:
>> entry->fw_prot = IPPROTO_TCP|IPPROTO_UDP;
>
> This may not be your problem, but I think you need two rules to do
> this the protocol number is a 8 bit number, not a bit field (ie.
> IPPROTO_TCP is 6 and IPPROTO_UDP is 17, so oring them together
> doesn't make sense).
>
I tried it either way and got the same results.
--ness
More information about the freebsd-hackers
mailing list