Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 May 2001 11:43:20 -0700 (MST)
From:      "Ward... James Ward" <jew@desert.net>
To:        <gmiddl1@gl.umbc.edu>
Cc:        <freebsd-questions@freebsd.org>
Subject:   ipfw: getsockopt(IP_FW_ADD): Invalid argument
Message-ID:  <Pine.BSF.4.33.0105081132210.341-100000@jew.desert.net>

next in thread | raw e-mail | index | archive | help
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




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.33.0105081132210.341-100000>