aboutsummaryrefslogtreecommitdiff
path: root/en_US.ISO8859-1/books/handbook/firewalls
diff options
context:
space:
mode:
authorBenedict Reuschling <bcr@FreeBSD.org>2019-04-19 14:48:34 +0000
committerBenedict Reuschling <bcr@FreeBSD.org>2019-04-19 14:48:34 +0000
commit48f7eb6ada95e958dd1d931b743c374b9686b0c2 (patch)
treefb1288a25b5344ef00f3a7c5d76ef74ab55e0921 /en_US.ISO8859-1/books/handbook/firewalls
parentc6cb767c32f8616e08599c38cbfce71a576df690 (diff)
downloaddoc-48f7eb6ada95e958dd1d931b743c374b9686b0c2.tar.gz
doc-48f7eb6ada95e958dd1d931b743c374b9686b0c2.zip
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
Notes
Notes: svn path=/head/; revision=52944
Diffstat (limited to 'en_US.ISO8859-1/books/handbook/firewalls')
-rw-r--r--en_US.ISO8859-1/books/handbook/firewalls/chapter.xml2
1 files changed, 1 insertions, 1 deletions
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)</programlisting>
logged per connection attempt, specify the number using this
line in <filename>/etc/sysctl.conf</filename>:</para>
- <screen>&prompt.root; <userinput>sysrc -f /etc/sysctl.conf net.inet.ip.fw.verbose_limit=<replaceable>5</replaceable></userinput></screen>
+ <screen>&prompt.root; <userinput>echo "net.inet.ip.fw.verbose_limit=<replaceable>5</replaceable>" >> /etc/sysctl.conf</userinput></screen>
<para>To enable logging through a dedicated interface named
<literal>ipfw0</literal>, add this line to