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>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] 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 why. ie it's as if the old IP address is still somehow associated with the tun interface until it's reopened..? Thanks for the help BTW :) -- 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 [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBJAl7H5ZPcIHs/zowRAmM2AJ9oK9O/0lfwhCh9COccdBS7cEl9AgCcDI1y Y1VbZhFwxtcDnB73+DVlGSc= =ZzAp -----END PGP SIGNATURE-----home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810251018.23159.doconnor>
