Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Oct 2008 10:18:15 +1030
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        Mike Tancsa <mike@sentex.net>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Userland PPP not deleting old IP on disconnect
Message-ID:  <200810251018.23159.doconnor@gsoft.com.au>
In-Reply-To: <200810211400.m9LE0Zvh045489@lava.sentex.ca>
References:  <200810092206.02362.doconnor@gsoft.com.au> <200810212028.03184.doconnor@gsoft.com.au> <200810211400.m9LE0Zvh045489@lava.sentex.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1674753.VGMvVzTOeV
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Wednesday 22 October 2008 00:30:45 Mike Tancsa wrote:
> At 05:57 AM 10/21/2008, Daniel O'Connor wrote:
> >I've even tried /etc/rc.d/pf restart but that doesn't fix it.. It's very
> >perplexing :(
>
> Strange, Even doing
> /sbin/pfctl -Fall -f /etc/pf.conf
>
> does not help as part of ppp.linkup ?  Perhaps confirm its actually
> working as expected.  e.g. wrap a small script around it so

I haven't tried it.. I did state & nat with no effect :(

> pppoe:
>   ! /usr/local/bin/fixpf.sh
>
> where fixpf.sh is something like
>
> /sbin/pfctl -sa -v > /var/log/before.pf
> /sbin/pfctl -Fall -f /etc/pf.conf > /var/log/after.pf
>
> and make sure the old states are actually gone and the rules make sense.

I've updated to 7.1-PRE but no luck, I still get the problem.

'before.pf' has what I would expect and 'after.pf' is empty..

Hmm.. It seems that if I restart PPP it comes good but I don't really know=
=20
why. ie it's as if the old IP address is still somehow associated with the=
=20
tun interface until it's reopened..?


Thanks for the help BTW :)

=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

--nextPart1674753.VGMvVzTOeV
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)

iD8DBQBJAl7H5ZPcIHs/zowRAmM2AJ9oK9O/0lfwhCh9COccdBS7cEl9AgCcDI1y
Y1VbZhFwxtcDnB73+DVlGSc=
=ZzAp
-----END PGP SIGNATURE-----

--nextPart1674753.VGMvVzTOeV--



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