From 48f7eb6ada95e958dd1d931b743c374b9686b0c2 Mon Sep 17 00:00:00 2001 From: Benedict Reuschling Date: Fri, 19 Apr 2019 14:48:34 +0000 Subject: [PATCH] Revert a sysrc to an echo as it due to invalid characters. When running sysrc -f /etc/sysctl.conf net.inet.ip.fw.verbose_limit=5 it throws the following error: sysrc: net.inet.ip.fw.verbose_limit: name contains characters not allowed in shell Fix this by reverting to using an echo to add the sysctl to sysctl.conf. Reported by: Laurent Gilbert (lg.athome@free.fr) Event: Aberdeen hackathon 2019 --- en_US.ISO8859-1/books/handbook/firewalls/chapter.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en_US.ISO8859-1/books/handbook/firewalls/chapter.xml b/en_US.ISO8859-1/books/handbook/firewalls/chapter.xml index abe09425a7..e1d7b26bbd 100644 --- a/en_US.ISO8859-1/books/handbook/firewalls/chapter.xml +++ b/en_US.ISO8859-1/books/handbook/firewalls/chapter.xml @@ -1708,7 +1708,7 @@ options ALTQ_PRIQ # Priority Queuing (PRIQ) logged per connection attempt, specify the number using this line in /etc/sysctl.conf: - &prompt.root; sysrc -f /etc/sysctl.conf net.inet.ip.fw.verbose_limit=5 + &prompt.root; echo "net.inet.ip.fw.verbose_limit=5" >> /etc/sysctl.conf To enable logging through a dedicated interface named ipfw0, add this line to