[Bug 239506] ipfw logging doesn't work

2020-07-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239506 Mark Johnston changed: What|Removed |Added CC||ma...@freebsd.org Stat

[Bug 239506] ipfw logging doesn't work

2019-08-06 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239506 Andrey V. Elsukov changed: What|Removed |Added Attachment #206306|0 |1 is obsolete|

[Bug 239506] ipfw logging doesn't work

2019-08-06 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239506 --- Comment #10 from Andrey V. Elsukov --- 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 loggi

[Bug 239506] ipfw logging doesn't work

2019-07-29 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239506 --- Comment #9 from Andrey V. Elsukov --- This doesn't look very hard to add such support. I'll try this at the end of week. For now you can add "count log" rule just after nat rule, in case of one_pass=0 it will show translated packets.

[Bug 239506] ipfw logging doesn't work

2019-07-29 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239506 --- Comment #8 from Yuri Victorovich --- It shows this: > # ipfw nat 998 show log > ipfw: unknown redir mode > ipfw nat 998 config log reset reverse[root@yv /tmp]# I was expecting to see the log of packets. It definitely altered some pack

[Bug 239506] ipfw logging doesn't work

2019-07-29 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239506 --- Comment #7 from Yuri Victorovich --- (In reply to Yuri Victorovich from comment #6) Sorry, I take this back. "log" wasn't in it. Now it shows something. -- You are receiving this mail because: You are the assignee for the bug. __

[Bug 239506] ipfw logging doesn't work

2019-07-29 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239506 --- Comment #6 from Yuri Victorovich --- (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

[Bug 239506] ipfw logging doesn't work

2019-07-29 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239506 --- Comment #5 from Andrey V. Elsukov --- (In reply to Yuri Victorovich from comment #4) > I see, this is for ipfw_nat64. I don't think that this manpage describes how > to use logging with ipfw_nat. It looks like something should be showe

[Bug 239506] ipfw logging doesn't work

2019-07-29 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239506 --- Comment #4 from Yuri Victorovich --- I see, this is for ipfw_nat64. I don't think that this manpage describes how to use logging with ipfw_nat. -- You are receiving this mail because: You are the assignee for the bug.

[Bug 239506] ipfw logging doesn't work

2019-07-29 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239506 --- Comment #3 from Andrey V. Elsukov --- (In reply to Yuri Victorovich from comment #2) > In the ipfw(8) manpage, under the section "IPv6/IPv4 NETWORK ADDRESS AND > PROTOCOL TRANSLATION" it says: > > > log Turn on logging of all h

[Bug 239506] ipfw logging doesn't work

2019-07-29 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239506 --- Comment #2 from Yuri Victorovich --- In the ipfw(8) manpage, under the section "IPv6/IPv4 NETWORK ADDRESS AND PROTOCOL TRANSLATION" it says: > log Turn on logging of all handled packets via BPF through ipfwlog0 > in

[Bug 239506] ipfw logging doesn't work

2019-07-29 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239506 Andrey V. Elsukov changed: What|Removed |Added CC||a...@freebsd.org --- Comment #

[Bug 239506] ipfw logging doesn't work

2019-07-28 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239506 Mark Linimon changed: What|Removed |Added Assignee|b...@freebsd.org|i...@freebsd.org -- You are receiv