From owner-freebsd-mobile@FreeBSD.ORG Tue Jan 31 21:26:35 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C5E4B16A430 for ; Tue, 31 Jan 2006 21:26:34 +0000 (GMT) (envelope-from louisk@mx1.cryptomonkeys.com) Received: from mx1.cryptomonkeys.com (abeyance.cryptomonkeys.com [67.42.3.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 211B443D4C for ; Tue, 31 Jan 2006 21:25:17 +0000 (GMT) (envelope-from louisk@mx1.cryptomonkeys.com) Received: from mx1.cryptomonkeys.com (localhost [127.0.0.1]) by mx1.cryptomonkeys.com (8.13.5+Sun/8.13.5) with ESMTP id k0VLPAPk009005 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 31 Jan 2006 13:25:10 -0800 (PST) Received: (from louisk@localhost) by mx1.cryptomonkeys.com (8.13.5+Sun/8.12.11/Submit) id k0VLPA4j009004 for freebsd-mobile@freebsd.org; Tue, 31 Jan 2006 13:25:10 -0800 (PST) Date: Tue, 31 Jan 2006 13:25:10 -0800 From: Louis Kowolowski To: freebsd-mobile@freebsd.org Message-ID: <20060131212510.GC1424@cryptomonkeys.com> References: <20060131204441.GB1047@binky.0xfce3.net> <20060131205453.GY94023@bunrab.catwhisker.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="hCRFYJKfs6IGypzU" Content-Disposition: inline In-Reply-To: <20060131205453.GY94023@bunrab.catwhisker.org> X-Header: /usr/include gives great headers X-GPG-Fingerprint: 5980 DFB1 9FA4 3F3E EB20 2B58 6455 7AF6 36DE 07A8 X-GPG-Key: http://www.cryptomonkeys.com/~louisk/gpg.php Organization: Hopelessly Disorganized User-Agent: Mutt/1.5.7i X-Virus-Scanned: ClamAV version 0.87.1, clamav-milter version 0.87 on abeyance.cryptomonkeys.com X-Virus-Status: Clean Subject: Re: (wlan) how to update a pf rules set automaticly X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Jan 2006 21:26:35 -0000 --hCRFYJKfs6IGypzU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 31, 2006 at 12:54:53PM -0800, David Wolfskill wrote: > On Tue, Jan 31, 2006 at 09:44:41PM +0100, Gordon Bergling wrote: > > ... > > Off cource, I could write a script which updates my pf.conf or restart > > pf with a different config file, but I would like to have some more > > magic. ;) > >=20 > > Has anyone an Idea? >=20 > What I do, using ipfw, is have 2 scripts. >=20 I'm doing something similar but using pf instead. I leave certain types of traffic open (dhcp, and dns, and ntp) and block the rest. Then when dhclie= nt calls dhclient-exit-hooks, I execute a new set of pf rules based on the info I got from dhclient. -- Louis Kowolowski KE7BAX louisk@cryptomonkeys.com Cryptomonkeys: http://www.cryptomonkeys.com/~louisk Irrigation of the land with seawater desalinated by fusion power is ancient. It's called rain. --hCRFYJKfs6IGypzU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (SunOS) iD8DBQFD39W1ZFV69jbeB6gRAn1wAKDUBlre3CwF/b4swNX5bim+NTJHVgCfddRd LkH6FkYC6Dw6G/ocmTs45to= =TcQh -----END PGP SIGNATURE----- --hCRFYJKfs6IGypzU--