[Bug 239506] ipfw logging doesn't work

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jul 29 08:06:45 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239506

--- Comment #6 from Yuri Victorovich <yuri at freebsd.org> ---
(In reply to Andrey V. Elsukov from comment #5)

No, actually:
> $ sudo ipfw nat 998 show log
> ipfw: Error getting nat 998 instance info: No such file or directory

kernel log:
> 78332 ipfw     CALL  socket(PF_INET,0x3<SOCK_RAW>,IPPROTO_RAW)
> 78332 ipfw     RET   socket 3
> 78332 ipfw     CALL  getsockopt(0x3,IPPROTO_IP,IP_FW3,0x800697000,0x7fffffffd92c)
> 78332 ipfw     RET   getsockopt -1 errno 2 No such file or directory
> 78332 ipfw     CALL  write(0x2,0x7fffffffd180,0x6)
> 78332 ipfw     GIO   fd 2 wrote 6 bytes
>       "ipfw: "
> 78332 ipfw     RET   write 6
> 78332 ipfw     CALL  write(0x2,0x7fffffffd280,0x23)
> 78332 ipfw     GIO   fd 2 wrote 35 bytes
>       "Error getting nat 998 instance info"



'sudo ipfw nat 998 show config' works though.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ipfw mailing list