Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Mar 1999 11:26:05 -0700 (MST)
From:      "Chad R. Larson" <chad@freebie.dcfinc.com>
To:        mike@sentex.net (Mike Tancsa)
Cc:        michel@quadspeed.com, freebsd-stable@FreeBSD.ORG
Subject:   Re: FreeBSD 3.1-Stable Reboots after firewall load
Message-ID:  <199903301826.LAA24037@freebie.dcfinc.com>
In-Reply-To: <3.0.5.32.19990330113800.0483d320@staff.sentex.ca> from Mike Tancsa at "Mar 30, 99 11:38:00 am"

next in thread | previous in thread | raw e-mail | index | archive | help
> At 06:26 PM 3/30/99 +0200, Michel Quadflieg wrote:
> Doing a flush on a network connection will have all sorts of bad
> effects.  However, it should not crash the server.  I think the man
> pages also warn about doing a remote flush.

Doing the flush without redirecting the output will hang your
machine as the status messages can't be delivered.

Here's a script I use to open the firewall from a remote site.
Obviously you'd close it (or change it) the same way.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    #!/bin/sh
    #
    # $Id: firewall_open,v 1.3 1999/01/06 04:14:07 toor Exp $
    #

    /sbin/ipfw flush > /dev/null 2>&1
    /sbin/ipfw add 65000 pass all from any to any > /dev/null 2>&1
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

	-crl
--
Chad R. Larson (CRL15)   602-953-1392   Brother, can you paradigm?
chad@dcfinc.com chad@larsons.org chad@anasazi.com larson1@home.net   
DCF, Inc. - 14623 North 49th Place, Scottsdale, Arizona 85254-2207


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




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