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