Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Apr 2001 09:47:19 -0500 (CDT)
From:      Chris Dillon <cdillon@wolves.k12.mo.us>
To:        Brett Glass <brett@lariat.org>
Cc:        John Baldwin <jhb@FreeBSD.ORG>, Johann Visagie <johann@egenetics.com>, <Freebsd-chat@FreeBSD.ORG>, Dag-Erling Smorgrav <des@ofug.org>
Subject:   Re: corporate announcement
Message-ID:  <Pine.BSF.4.32.0104060943090.63414-100000@mail.wolves.k12.mo.us>
In-Reply-To: <4.3.2.7.2.20010406015339.0444f100@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 6 Apr 2001, Brett Glass wrote:

> At 06:42 PM 4/5/2001, Chris Dillon wrote:
>
> >I don't think a watchdog would help you out in that situation anyway.
>
> It could. You could say, "If I don't connect in 5 minutes, flush
> all the firewall rules, fall back to a minimal set of daemons, and
> reboot."

Yup.  You wouldn't need hardware to do that, though.  I could hack up
a shell script to do that.  I have, actually, on an old server with an
lnc NIC that likes to go dead occasionally.  It'll '/sbin/shutdown -r
now' when it can't communicate with the outside world for a while.
Not exactly the same, but it wouldn't be hard to replace the shutdown
with an ipfw flush and a new ruleset in there, and to make sure
certain daemons are running such as sshd.


-- Chris Dillon - cdillon@wolves.k12.mo.us - cdillon@inter-linc.net
   FreeBSD: The fastest and most stable server OS on the planet.
   For IA32 and Alpha architectures. IA64, PPC, and ARM under development.
   http://www.freebsd.org



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.32.0104060943090.63414-100000>