Skip to contentSkip to conversation

'active-filter' option

DISCUSSION Андрей Перепелицын 1 participant 1 message May 26, 2004 PPP protocol drivers and compressors

lore
Share & tools
lore
#0 lore raw

Hi, people.
I have a problem using 'active-filter' option. Is it usable, I wonder? here is my /etc/ppp/peers/isp file:

/dev/modem
115200
lock
connect 'chat -r /var/log/chat.log -v -f /etc/ppp/peers/8170.chat' user user
demand
idle 100
holdoff 5
defaultroute
usepeerdns
debug
linkname isp
active-filter 'port http or port ftp or port ftp-data or port pop3 or port smtp'

pppd with this configuration don't even initiate connection on activity on these ports!
With last line commented out it works perfectly (but stays online when unwanted traffic flows, of course).

What should I do to make it work as described in manual?