Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jul 2002 23:08:21 -0400
From:      Mike Barcroft <mike@FreeBSD.org>
To:        Thomas Moestl <tmoestl@gmx.net>
Cc:        Luigi Rizzo <luigi@freebsd.org>, current@freebsd.org
Subject:   Re: different packing of structs in kernel vs. userland ?
Message-ID:  <20020714230821.C64412@espresso.q9media.com>
In-Reply-To: <20020714203642.GD314@crow.dom2ip.de>; from tmoestl@gmx.net on Sun, Jul 14, 2002 at 10:36:42PM %2B0200
References:  <20020714011810.A72236@iguana.icir.org> <20020714203642.GD314@crow.dom2ip.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Thomas Moestl <tmoestl@gmx.net> writes:
> (Disclaimer: my solution below is untested, so it may all be bogus)

As request, here are the test results.

Most rules work, except my final one:
%%%
bowie# ipfw add allow all from any to any
ipfw: getsockopt(IP_FW_ADD): Invalid argument
%%%

Here's a list of rules that applied okay:
%%%
ipfw bowie# ipfw show
00100          0          0 allow ip from me to 192.168.3.1
00200          2        168 allow udp from me to 192.168.3.13
00300          0          0 allow tcp from me to 192.168.3.0/24 established
00400          0          0 deny ip from me to 192.168.3.0/24
65535          3        219 deny ip from any to any
%%%

Best regards,
Mike Barcroft

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020714230821.C64412>