Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Aug 2019 12:41:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        ipfw@FreeBSD.org
Subject:   [Bug 239506] ipfw logging doesn't work
Message-ID:  <bug-239506-8303-k0Fl5VvLj8@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 #10 from Andrey V. Elsukov <ae@FreeBSD.org> ---
Created attachment 206306
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D206306&action=
=3Dedit
Proposed patch (untested)

Can you try this patch?
It adds to ipfw_nat module support of logging via ipfwlog0.
You need to rebuild kernel or ipfw_nat kernel module, then create ipfwlog0
interface and enable logging with "log" keyword in the nat instance.
Then you can capture packets before translation and after.
The only exception is "nat global", packets before translation will not be
captured for such configuration.

--=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-k0Fl5VvLj8>