[Bug 241013] ipfw: Silence firewall_logif on ipfw service restart

2020-07-07 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241013

--- Comment #1 from Jose Luis Duran  ---
(In reply to Jose Luis Duran from comment #0)

The warning message is more descriptive now.  Not sure if silencing it is
really a benefit:

ifconfig: interface ipfw0 already exists

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-ipfw@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
To unsubscribe, send any mail to "freebsd-ipfw-unsubscr...@freebsd.org"


[Bug 241013] ipfw: Silence firewall_logif on ipfw service restart

2020-07-07 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241013

--- Comment #2 from Jose Luis Duran  ---
Created attachment 216277
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=216277&action=edit
Disable logging and destroy ipfw0 interface upon service stop

Second option just in case.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-ipfw@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
To unsubscribe, send any mail to "freebsd-ipfw-unsubscr...@freebsd.org"


[Bug 241013] ipfw: Silence firewall_logif on ipfw service restart

2020-07-07 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241013

l...@donnerhacke.de changed:

   What|Removed |Added

 CC||l...@donnerhacke.de

--- Comment #3 from l...@donnerhacke.de ---
I oppose this approach.

Modifying a sysctl value in the background is surprising to the user.

I do not see any code for retaining the old value for the next usage. So if the
service is restarted, the log-sysctl value will unconditionally lost and any
new messages will be suppressed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-ipfw@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
To unsubscribe, send any mail to "freebsd-ipfw-unsubscr...@freebsd.org"


[Bug 241013] ipfw: Silence firewall_logif on ipfw service restart

2020-07-07 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241013

--- Comment #4 from Jose Luis Duran  ---
(In reply to lutz from comment #3)

That is understandable. Attached is patch3 (also just in case) which disables
only the interface.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-ipfw@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
To unsubscribe, send any mail to "freebsd-ipfw-unsubscr...@freebsd.org"


[Bug 241013] ipfw: Silence firewall_logif on ipfw service restart

2020-07-07 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241013

--- Comment #5 from Jose Luis Duran  ---
Created attachment 216298
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=216298&action=edit
Disable the interface ipfw0 upon service stop

Destroy just the interface and leave the sysctl on. (option 3).

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-ipfw@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
To unsubscribe, send any mail to "freebsd-ipfw-unsubscr...@freebsd.org"