From owner-freebsd-stable@FreeBSD.ORG Wed Oct 15 03:10:26 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D29271065695 for ; Wed, 15 Oct 2008 03:10:26 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from ipmail01.adl6.internode.on.net (ipmail01.adl6.internode.on.net [203.16.214.146]) by mx1.freebsd.org (Postfix) with ESMTP id 0B4CF8FC14 for ; Wed, 15 Oct 2008 03:10:25 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqwEAFL59Eh5LVg7/2dsb2JhbACBcr47gWs X-IronPort-AV: E=Sophos;i="4.33,413,1220193000"; d="asc'?scan'208";a="211172066" Received: from ppp121-45-88-59.lns10.adl6.internode.on.net (HELO midget.dons.net.au) ([121.45.88.59]) by ipmail01.adl6.internode.on.net with ESMTP; 15 Oct 2008 13:40:16 +1030 Received: from inchoate.gsoft.com.au (Inchoate.gsoft.com.au [203.31.81.55]) (authenticated bits=0) by midget.dons.net.au (8.14.3/8.14.2) with ESMTP id m9F39wwE013795 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 15 Oct 2008 13:40:04 +1030 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: Mike Tancsa Date: Wed, 15 Oct 2008 13:39:51 +1030 User-Agent: KMail/1.9.9 References: <200810092206.02362.doconnor@gsoft.com.au> <200810151059.58440.doconnor@gsoft.com.au> <200810150238.m9F2cAWu007721@lava.sentex.ca> In-Reply-To: <200810150238.m9F2cAWu007721@lava.sentex.ca> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3144711.5IQOPWTJqa"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200810151339.57406.doconnor@gsoft.com.au> X-Spam-Score: -2.6 () BAYES_00,SPF_PASS X-Scanned-By: MIMEDefang 2.64 on 121.45.88.59 Cc: freebsd-stable@freebsd.org Subject: Re: Userland PPP not deleting old IP on disconnect X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 03:10:26 -0000 --nextPart3144711.5IQOPWTJqa Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 15 October 2008 13:08:02 Mike Tancsa wrote: > > very odd it only just started doing it though.. > > do you have tun0 in () on your nat statement ? > > eg. > nat on tun0 from 192.168.23.0/24 to any -> (tun0) Yep. > You could always add to ppp.linkup something like > > pppoe: > ! /sbin/pfctl -Fnat -f /etc/pf.conf Hmm.. I didn't realise you could delete NAT only state like that, I will gi= ve=20 it a try! (I've been doing pfctl -k $oldip) Thanks. =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart3144711.5IQOPWTJqa Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBI9V8F5ZPcIHs/zowRAo0XAJ9R0fyi52kL3Ky8BmlYrL5/+OrUxQCgjadu hLe6pydPHn6wU1Ve/PFaKuQ= =w2Vg -----END PGP SIGNATURE----- --nextPart3144711.5IQOPWTJqa--