Unix Technical Forum

pppd active-filter

This is a discussion on pppd active-filter within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> I am using pppd version 2.4.2 and kernel 2.6.11-r4. ppp filtering is enabled in the kernel config. But when ...


Go Back   Unix Technical Forum > Unix Operating Systems > Gentoo Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-21-2008, 10:42 AM
Terry
 
Posts: n/a
Default pppd active-filter

I am using pppd version 2.4.2 and kernel 2.6.11-r4. ppp filtering is
enabled in the kernel config. But when I put active-filter in
my /etc/ppp/options file I get " /etc/ppp/options: unrecognized option
'active-filter' " Google has been no help...
Thanks,
--
Terry
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-21-2008, 10:42 AM
Sybren Stuvel
 
Posts: n/a
Default Re: pppd active-filter

Terry enlightened us with:
> when I put active-filter in my /etc/ppp/options file I get "
> /etc/ppp/options: unrecognized option 'active-filter' "


Do "pppd --version" to see if you're really running the correct
version. Did you also add a filter expression?

Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-21-2008, 10:42 AM
Terry
 
Posts: n/a
Default Re: pppd active-filter

Sybren Stuvel wrote:

> Terry enlightened us with:
>> when I put active-filter in my /etc/ppp/options file I get "
>> /etc/ppp/options: unrecognized option 'active-filter' "

>
> Do "pppd --version" to see if you're really running the correct
> version. Did you also add a filter expression?
>
> Sybren


sh-2.05b# pppd --version
pppd version 2.4.2

I unmerged ppp and then emerged it back. At the start I see:

-- Applying killaddr-smarter.patch.gz ...
[ ok ]
* Applying cflags.patch ...
[ ok ]
* Applying control_c.patch ...
[ ok ]
* Disabling active-filter <===Why did it disable active-filter
* Enabling PAM

The filter expression is copied from a slackware install on the same box
that works fine.

Terry
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-21-2008, 10:42 AM
Terry
 
Posts: n/a
Default Re: pppd active-filter

Terry wrote:

> I am using pppd version 2.4.2 and kernel 2.6.11-r4. ppp filtering is
> enabled in the kernel config. But when I put active-filter in
> my /etc/ppp/options file I get " /etc/ppp/options: unrecognized option
> 'active-filter' " Google has been no help...
> Thanks,


USE="activefilter" emerge ppp

This was the answer.
--
Terry
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-21-2008, 10:42 AM
Sybren Stuvel
 
Posts: n/a
Default Re: pppd active-filter

Terry enlightened us with:
> USE="activefilter" emerge ppp
>
> This was the answer.


No it isn't. What about next time you emerge ppp? Don't use
environment variables to alter emerge's behaviour. Instead, add

net-dialup/ppp activefilter

to /etc/portage/packages.use. That way, you'll always be sure it has
the correct USE flags.

Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:51 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com