misc/75180: INIT -> /etc/rc.d - IPFILTER IPMON conflict
Valéry
valery at vslash.com
Fri Dec 17 02:00:45 PST 2004
>Number: 75180
>Category: misc
>Synopsis: INIT -> /etc/rc.d - IPFILTER IPMON conflict
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Dec 17 10:00:45 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Valéry
>Release: FreeBSD 5.2.1-RELEASE - non generic knl
>Organization:
vslash
>Environment:
i386 - non generic kernel
>Description:
We noticed a conflict/contradiction at boot sequence btw ipfilter & ipmon script in /etc/rc.d :
ipfilter :
LINE08 : # REQUIRE root beforenetlkm mountcritlocal ipmon
ipmon :
LINE35 - if ! sysctl net.inet.ipf.fr_pass >/dev/null 2>&1; then
This way, ipmon don't never start ; i don't found any comment about net.inet.ipf.fr_class sysctl statement, but when ipfilter is loaded, values are 514 or 513. I don't know why ipmon script don't simply check net.inet.ipf.fr_running.
Perhaps a misunderstanding on my side ? The fact is that ipmon don't start this way.
Thanks and best regards to the community.
>How-To-Repeat:
rc.conf : enabling ipfilter && ipmon with their default flags values.
>Fix:
if ipmon could start after ipfilter, just swap the REQUIRE fields btw ipmon & ipfilter to have ipmon starting AFTER ipfilter :
/etc/rc.d/ipmon :
# REQUIRE mountcritlocal hostname sysctl cleanvar ipfilter
/etc/rc.d/ipfilter :
# REQUIRE: root beforenetlkm mountcritlocal
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list