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
This commit is contained in:
parent
c6cb767c32
commit
48f7eb6ada
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=52944
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue