From owner-freebsd-stable@FreeBSD.ORG Wed Apr 20 13:28:18 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A31316A4CE for ; Wed, 20 Apr 2005 13:28:18 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC38943D2D for ; Wed, 20 Apr 2005 13:28:17 +0000 (GMT) (envelope-from jearle@gmail.com) Received: by wproxy.gmail.com with SMTP id 71so235667wri for ; Wed, 20 Apr 2005 06:28:17 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=BZBO8VQlkcfSpIflyb8evGJmUN1ft25Ot6AjZk0aidA9ac3mP2xTxgmgSIiDMLEK7t0Fb6RXvRSeHHqGoiaFgcKLspQPu0tHoFLqTMkF0Cnrr18YaKhtzCkRuP/R37QBd2tlDuG2TDRGgjJSvSrtjocU+IAAffAF72zLqu8wWWQ= Received: by 10.54.15.30 with SMTP id 30mr804319wro; Wed, 20 Apr 2005 06:28:17 -0700 (PDT) Received: by 10.54.73.13 with HTTP; Wed, 20 Apr 2005 06:28:17 -0700 (PDT) Message-ID: <5bbc0cd605042006285bdab516@mail.gmail.com> Date: Wed, 20 Apr 2005 15:28:17 +0200 From: Jared Earle To: freebsd-stable@freebsd.org In-Reply-To: <52607941c4729226852cde5d42f7085e@ish.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <426447F8.5090209@charter.net> <200504191317.j3JDH76H001458@drjekyll.mkbuelow.net> <20050419120053.6ad17df1.wmoran@potentialtech.com> <42655B8E.5020603@mac.com> <42655DD9.7020300@t-hosting.hu> <20050419200510.GA38661@uws1.starlofashions.com> <52607941c4729226852cde5d42f7085e@ish.com.au> Subject: Re: Remote firewall changes, Was: Newbie Question About System Update X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jared Earle List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Apr 2005 13:28:18 -0000 On 4/20/05, Aristedes Maniatis wrote: > Yes, that would be me. But someone taught me a great trick...the "at" > command. So, just before you blow away your access with changes to > ipfw, do this: >=20 > echo "ipfw add 1 pass all from any to any" at now +10 minutes >=20 > Then if all goes OK, use atq to remove the queue item. If not, wait 10 > minutes... I use a crontab that runs ~/deadman.sh every 10 minutes. Usually, it's empty, but occasionally, I add flush rules, nat reset rules, etc. You can also have a file in your ~/ that you 'touch' every so often, like a real deadman's brake. Using stat, (usually in perl for me) you can check that it's been touched in the past hour (or however long) and deal with stuff accordingly. --=20 Jared Earle :: http://www.23x.net =20 jearle@gmail.com :: There is no SPORK