Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 May 2001 08:38:32 +0000 (GMT)
From:      "Ward... James Ward" <jew@desert.net>
To:        Ruslan Ermilov <ru@FreeBSD.ORG>
Cc:        gmiddl1@gl.umbc.edu, freebsd-questions@FreeBSD.ORG
Subject:   Re: ipfw: getsockopt(IP_FW_ADD): Invalid argument
Message-ID:  <Pine.BSF.4.21.0105100837540.95954-100000@cx316013-a.tucson1.az.home.com>
In-Reply-To: <20010510100955.B9354@sunbay.com>

next in thread | previous in thread | raw e-mail | index | archive | help
That was it!  I updated kernel AND binaries to 4.3-RELEASE and suddenly, I
have a firewall!  :-)

On Thu, 10 May 2001, Ruslan Ermilov wrote:

> Much probably, your userland is not in sync with the kernel.
> Make sure you have src/sys/netinet/raw_ip.c,v 1.64.2.3.
> 
> On Tue, May 08, 2001 at 11:43:20AM -0700, Ward... James Ward wrote:
> > I read this thread from February and don't see a resolution.  I'm having
> > the exact same problem under FreeBSD 4.3.
> > 
> > My firewall related kernel stuff:
> > 
> > options BRIDGE
> > options IPFIREWALL
> > options IPFIREWALL_DEFAULT_TO_ACCEPT
> > options IPFIREWALL_VERBOSE
> > options IPFIREWALL_VERBOSE_LIMIT=100
> > options IPDIVERT
> > 
> > My dmesg states:
> > 
> > IP packet filtering initialized, divert enabled, rule-based forwarding
> > disabled, default to accept, logging limited to 100 packets/entry by
> > default
> > BRIDGE 010131, have 10 interfaces
> > -- index 1  type 6 phy 0 addrl 6 addr 00.04.5a.41.6d.5d
> > -- index 2  type 6 phy 0 addrl 6 addr 00.04.5a.41.6d.13
> > ...
> > net.link.ether.bridge:
> > 0
> > >> now dc0 promisc ON if_flags 0xffff8943 bdg_flags 0x5
> > >> now dc1 promisc ON if_flags 0xffff8943 bdg_flags 0x5
> >  ->
> > 1
> > ...
> > I get one of these for each invocation of "ipfw add..." in
> > /etc/rc.firewall:
> > 
> > ipfw: getsockopt(IP_FW_ADD): Invalid argument
> > 
> > And then:
> > 
> > Firewall rules loaded, starting divert daemons: .
> > 
> > Any idea what my problem is?
> > 
> > Thanks in advance,
> > 
> > James
> 
> -- 
> Ruslan Ermilov		Oracle Developer/DBA,
> ru@sunbay.com		Sunbay Software AG,
> ru@FreeBSD.org		FreeBSD committer,
> +380.652.512.251	Simferopol, Ukraine
> 
> http://www.FreeBSD.org	The Power To Serve
> http://www.oracle.com	Enabling The Information Age
> 


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?Pine.BSF.4.21.0105100837540.95954-100000>