Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Apr 2005 00:22:38 +1200 (NZST)
From:      Andrew McNaughton <andrew@scoop.co.nz>
To:        Neo-Vortex <root@Neo-Vortex.net>
Cc:        Siddhartha Jain <sid@netmagicsolutions.com>
Subject:   Re: IPFW disconnections and resets
Message-ID:  <20050430001910.C3271@a2.scoop.co.nz>
In-Reply-To: <20050429203417.P85987@Neo-Vortex.net>
References:  <4272011F.9040707@netmagicsolutions.com> <20050429194242.I78552@Neo-Vortex.net> <20050429203417.P85987@Neo-Vortex.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 29 Apr 2005, Neo-Vortex wrote:

> On Fri, 29 Apr 2005, Siddhartha Jain wrote:
>
>> Even if I run this script as it is (without running from within another
>> script and redirecting), I don't get disconnected.
>
> hehe, probobly different shells or something (i use tcsh) - or mabe luck
> :) but without it i get disconnected like 99.9% of times (although because
> of the first rule after flush, only like 1% of the time do i get locked
> out :P)

1% is way too much.  use nohup.  eg:

     nohup sh /etc/rc.firewall simple &

You can wrap that in a script if you think it's necessary.

Other common advice is to run the firewall script while in a 'screen' 
environment.  See ports for screen.

Andrew McNaughton




--

There is no way to happiness
Happiness is the way

-------------------------------------------------------------------
Andrew McNaughton           http://www.scoop.co.nz/
andrew@scoop.co.nz          Mobile: +61 422 753 792

--
pgp encrypted mail welcome
keyid: 70F6C32D      keyserver: pgp.mit.edu
5688 2396 AA81 036A EBAC 2DD4 1BEA 7975 A84F 6686



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