Userland PPP not deleting old IP on disconnect

Mike Tancsa mike at sentex.net
Tue Oct 21 07:00:40 PDT 2008


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

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.

         ---Mike 



More information about the freebsd-stable mailing list