On Thu, 2005-02-17 at 06:54 +1100, Darren Reed wrote:
> can you stop the PPPoE so that the sppp0 interface goes away and
> and manually do "autopush -f /etc/ipf/pfil.ap".
> What output (errors) do you get from that ?
> 
> If you now start up PPPoE again, does modlist still report the same as above?
> 
> Darren
> 

Ok. Finally it starts to get better. Here is what I did:

[EMAIL PROTECTED] ~ # pppd call dsl
[EMAIL PROTECTED] ~ # ifconfig sppp0 modlist
0 ip
1 sppp
[EMAIL PROTECTED] ~ # pkill -x pppd
[EMAIL PROTECTED] ~ # autopush -f /etc/ipf/pfil.ap
autopush: ERROR: File /etc/ipf/pfil.ap: could not configure autopush for
line 22
autopush: ERROR: Major/minor already configured


Line 22 happens to be my sfe device entry, line 23 is sppp. If I repeat
this step it gives me:


[EMAIL PROTECTED] ~ # autopush -f /etc/ipf/pfil.ap
autopush: ERROR: File /etc/ipf/pfil.ap: could not configure autopush for
line 22
autopush: ERROR: Major/minor already configured
autopush: ERROR: File /etc/ipf/pfil.ap: could not configure autopush for
line 23
autopush: ERROR: Major/minor already configured


So I would say the it configures sppp when first called and guess what,
if I reconnect pfil shows up in the module list:


[EMAIL PROTECTED] ~ # pppd call dsl
[EMAIL PROTECTED] ~ # ifconfig sppp0 modlist
0 ip
1 pfil
2 sppp


And even better the filtering works now!!! :-)


[EMAIL PROTECTED] ~ # ipfstat -hio
0 block out all
0 block in all
[EMAIL PROTECTED] ~ # ping www.google.com
^C
[EMAIL PROTECTED] ~ # ipfstat -hio
1 block out all
0 block in all


I then rebooted and repeated the procedure and it seems as if I would
have to manually invoke autopush everytime. But at least the filtering
works. I can't believe it!

Now I wonder why do I have to call autopush manually? But anyway thank
you (and everyone else participating in this thread) very very much for
the time and patience! I am very grateful for your support.

Kind regards,
Albert


Reply via email to