Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Sep 1998 11:00:52 -0700 (PDT)
From:      igor@zynaps.ru
To:        freebsd-gnats-submit@FreeBSD.ORG
Subject:   conf/7989: if we enable firewall and natd we losing connectivity after rc.firewall and before natd start
Message-ID:  <199809191800.LAA27961@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         7989
>Category:       conf
>Synopsis:       if we enable firewall and natd we losing connectivity after rc.firewall and before natd start
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 19 11:10:01 PDT 1998
>Last-Modified:
>Originator:     Igor Vinokurov
>Organization:
does not matter
>Release:        2.2.7-RELEASE FreeBSD
>Environment:
FreeBSD daemon.rtsnet.ru 2.2.7-RELEASE FreeBSD 2.2.7-RELEASE #0: Sat Sep 19 16:44:41 MSD 1998     root@daemon.rtsnet.ru:/usr/src/sys/compile/DAEMON  i386

>Description:
if user enable firewall and natd system losing connectivity after
exec rc.firewall and before natd start.

Let's look:

/etc/rc.firewall:

...

if [ "X${natd_enable}" = X"YES" -a "X${natd_interface}" != X"" ]; then
        $fwcmd add divert natd all from any to any via ${natd_interface}
fi

...

but natd is not started yet!

after rc.firewall rc.network try to start many daemon and
all these use network for initialize

sorry for my English :)

>How-To-Repeat:
you know :)

>Fix:
May be we should start natd just after exec rc.firewall?

>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809191800.LAA27961>