FreeBSD Bugzilla – Attachment 216277 Details for
Bug 241013
ipfw: Silence firewall_logif on ipfw service restart
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Disable logging and destroy ipfw0 interface upon service stop
ipfw2.patch (text/plain), 522 bytes, created by
Jose Luis Duran
on 2020-07-07 08:49:55 UTC
(
hide
)
Description:
Disable logging and destroy ipfw0 interface upon service stop
Filename:
MIME Type:
Creator:
Jose Luis Duran
Created:
2020-07-07 08:49:55 UTC
Size:
522 bytes
patch
obsolete
>diff --git libexec/rc/rc.d/ipfw libexec/rc/rc.d/ipfw >index df14b7e..cab54f8 100644 >--- libexec/rc/rc.d/ipfw >+++ libexec/rc/rc.d/ipfw >@@ -122,6 +122,17 @@ ipfw_stop() > ${_coscript} quietstop > fi > done >+ >+ # Disable firewall logging >+ # >+ if checkyesno firewall_logging; then >+ echo 'Firewall logging disabled.' >+ ${SYSCTL} net.inet.ip.fw.verbose=0 >/dev/null >+ fi >+ if checkyesno firewall_logif; then >+ ifconfig ipfw0 destroy >+ echo 'Firewall logging pseudo-interface (ipfw0) destroyed.' >+ fi > } > > ipfw_status()
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 241013
:
208032
|
216277
|
216298
|
216416
|
216419