svn commit: r52944 - head/en_US.ISO8859-1/books/handbook/firewalls
Benedict Reuschling
bcr at FreeBSD.org
Fri Apr 19 14:48:36 UTC 2019
Author: bcr
Date: Fri Apr 19 14:48:34 2019
New Revision: 52944
URL: https://svnweb.freebsd.org/changeset/doc/52944
Log:
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 at free.fr)
Event: Aberdeen hackathon 2019
Modified:
head/en_US.ISO8859-1/books/handbook/firewalls/chapter.xml
Modified: head/en_US.ISO8859-1/books/handbook/firewalls/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/handbook/firewalls/chapter.xml Fri Apr 19 13:27:45 2019 (r52943)
+++ head/en_US.ISO8859-1/books/handbook/firewalls/chapter.xml Fri Apr 19 14:48:34 2019 (r52944)
@@ -1708,7 +1708,7 @@ options ALTQ_PRIQ # Priority Queuing (PR
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
More information about the svn-doc-all
mailing list