[Bug 239506] ipfw logging doesn't work

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Aug 6 12:41:52 UTC 2019


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

--- Comment #10 from Andrey V. Elsukov <ae at FreeBSD.org> ---
Created attachment 206306
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=206306&action=edit
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.

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


More information about the freebsd-ipfw mailing list