Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jul 2019 08:06:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        ipfw@FreeBSD.org
Subject:   [Bug 239506] ipfw logging doesn't work
Message-ID:  <bug-239506-8303-6pxeK1PypQ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-239506-8303@https.bugs.freebsd.org/bugzilla/>
References:  <bug-239506-8303@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239506

--- Comment #6 from Yuri Victorovich <yuri@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,0x7ffff=
fffd92c)
> 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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-239506-8303-6pxeK1PypQ>