svn commit: r52944 - head/en_US.ISO8859-1/books/handbook/firewalls

Benedict Reuschling <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
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 ([email protected])
  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
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.