Skip site navigation (1)Skip section navigation (2)
Date:      23 Nov 2001 14:13:29 EST
From:      "Paul Blazejowski" <paulb@blazebox.homeip.net>
To:        freebsd-questions@FreeBSD.ORG
Subject:   FreeBSD 4.4-STABLE (ipfw core dump).
Message-ID:  <20011123191158.6543B22982@mail.blazebox.homeip.net>

next in thread | raw e-mail | index | archive | help
Hello all,

I have this problem with new kernel on 4.4-STABLE and ipfw...
When new kernel is booted i get lots of these messages:
Invalid argument ipfw: getsockopt(IP_FW_ADD) 

When ipfw is invoked eg. when i run ipfw it results in core being dumped and 
the process is killed.My old kernel works just fine...dmesg outputs:

-----------
previous kernel 
-----------
Nov 23 13:38:22 blazebox /kernel: FreeBSD 4.4-STABLE #0: Sun Oct  7 14:56:13
EDT 2001
Nov 23 13:38:22 blazebox /kernel:
diffie@blazebox.homeip.net:/usr/obj/usr/src/sys/BLAZEBOX
Nov 23 13:38:22 blazebox /kernel: IP packet filtering initialized, divert
enabled, rule-based forwarding enabled, default to accept, unlimited logging
Nov 23 13:38:22 blazebox /kernel: DUMMYNET initialized (010124)
Nov 23 13:38:22 blazebox /kernel: BRIDGE 010131, have 7 interfaces
Nov 23 13:38:22 blazebox /kernel: -- index 1  type 6 phy 0 addrl 6 addr
00.a0.cc.32.81.37
Nov 23 13:38:22 blazebox /kernel: -- index 3  type 6 phy 0 addrl 6 addr
00.40.05.71.15.dc
Nov 23 13:38:22 blazebox /kernel: IP Filter: v3.4.20 initialized.  Default =
pass all, Logging = enabled
Nov 23 13:38:22 blazebox /kernel: Flushed all rules.
Nov 23 13:38:22 blazebox /kernel: 00100 
Nov 23 13:38:22 blazebox /kernel: allow
Nov 23 13:38:22 blazebox /kernel: ip
Nov 23 13:38:22 blazebox /kernel: from 
Nov 23 13:38:22 blazebox /kernel: any
Nov 23 13:38:22 blazebox /kernel: to 
Nov 23 13:38:22 blazebox /kernel: any
Nov 23 13:38:22 blazebox /kernel: via lo0

--------
new kernel
--------
Nov 23 13:19:43 blazebox /kernel: FreeBSD 4.4-STABLE #0: Thu Nov 22 19:24:14
EST 2001
Nov 23 13:19:43 blazebox /kernel:
paul@blazebox.homeip.net:/usr/src/sys/compile/BLAZEBOX
Nov 23 13:19:43 blazebox /kernel: DUMMYNET initialized (011031)
Nov 23 13:19:43 blazebox /kernel: BRIDGE 011031, have 5 interfaces
Nov 23 13:19:43 blazebox /kernel: -- index 1  type 6 phy 0 addrl 6 addr
00.a0.cc.32.81.37
Nov 23 13:19:43 blazebox /kernel: -- index 3  type 6 phy 0 addrl 6 addr
00.40.05.71.15.dc
Nov 23 13:19:43 blazebox /kernel: IPFW: MOD_LOAD
Nov 23 13:19:43 blazebox /kernel: IP packet filtering initialized, divert
enabled, rule-based forwarding enabled, default to deny, unlimited logging
Nov 23 13:19:43 blazebox /kernel: IP Filter: v3.4.20 initialized.  Default =
block all, Logging = enabled
Nov 23 13:19:43 blazebox /kernel: Flushed all rules.
Nov 23 13:19:43 blazebox /kernel: ipfw: 
Nov 23 13:19:43 blazebox /kernel: getsockopt(IP_FW_ADD)
Nov 23 13:19:43 blazebox /kernel: : 
Nov 23 13:19:43 blazebox /kernel: Invalid argument
Nov 23 13:19:43 blazebox /kernel: ipfw: 
Nov 23 13:19:43 blazebox /kernel: getsockopt(IP_FW_ADD)
Nov 23 13:19:43 blazebox /kernel: : 
Nov 23 13:19:43 blazebox /kernel: Invalid argument
Nov 23 13:19:43 blazebox /kernel: ipfw: 
Nov 23 13:19:43 blazebox /kernel: getsockopt(IP_FW_ADD)

And so on...

What could be causing ipfw to do this? is there anything i should do?Any fixes?
Any suggestions or help would be greatly appreciated.Thank you.

Regards,

Paul B.

--
( http://www.linuxdiscussions.org )
"Linux is like a wigwam: no windows,	 
no gates, Apache inside." -Albert Arendsen


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?20011123191158.6543B22982>