Date: Sat, 18 Nov 2000 11:20:24 +0100 (CET) From: Andre Albsmeier <andre.albsmeier@mchp.siemens.de> To: FreeBSD-gnats-submit@freebsd.org Subject: docs/22937: Small patch for nicer startup when using ipfilter Message-ID: <200011181020.eAIAKOa14084@curry.mchp.siemens.de>
next in thread | raw e-mail | index | archive | help
>Number: 22937
>Category: docs
>Synopsis: Small patch for nicer startup when using ipfilter
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Nov 18 02:30:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator: Andre Albsmeier
>Release: FreeBSD 4.2-BETA i386
>Organization:
>Environment:
All FreeBSD versions >= 4.2-BETA
>Description:
When using the new ipfilter code in /etc/rc.network, ipnat
prints out some diagnostics which messes up the screen during boot.
>How-To-Repeat:
Set ipnat_enable to YES and watch screen during boot.
>Fix:
One possibility might be the following patch. It makes it possible
to use
ipnat_flags=">/dev/null"
in order to redirect the output ti /dev/null.
--- rc.network.ORI Sat Nov 18 11:13:16 2000
+++ rc.network Sat Nov 18 11:13:27 2000
@@ -63,7 +63,7 @@
[Yy][Ee][Ss])
if [ -r "${ipnat_rules}" ]; then
echo -n ' ipnat';
- ${ipnat_program:-ipnat -CF -f} "${ipnat_rules}" ${ipnat_flags}
+ eval ${ipnat_program:-ipnat -CF -f} "${ipnat_rules}" ${ipnat_flags}
else
echo -n ' NO IPNAT RULES'
fi
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011181020.eAIAKOa14084>
