Date: Thu, 5 Jan 2006 17:12:11 -0700 From: Dan Joumaa <nessup@gmail.com> To: David Malone <dwmalone@maths.tcd.ie> Cc: freebsd-hackers@freebsd.org Subject: Re: Invalid ipfirewall rule? Message-ID: <caef11baa786f702636761c73ccf7237@gmail.com> In-Reply-To: <20060105165705.GA37331@walton.maths.tcd.ie> References: <a280f1c696571b105ef9a49b1dabca22@gmail.com> <20060105165705.GA37331@walton.maths.tcd.ie>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?caef11baa786f702636761c73ccf7237>