active-filter
Hi,
I'm trying to set an active-filter expression for on-demand, but I'm really stuck with. I can't get effective help from neither from documentation neither from user mailing lists.
Problem is people scanning (mostly) netBIOS ports. These packets (I think) are holding the link up by resetting idle-timeout to zero.
I'm using woody with ppp 2.4.1 from debs and compiled kernel with filtering option enabled
If I set something like "active-filter 'inbound port 135'" I get a parse error message. This stucks me since man tcpdump says inbound is for ppp connections.
If I set something like "active-filter 'dst port 135'" there is no parse error message, but modem dials nothing
Does anybody know an appropiate active-filter expression?
Thanks a lot
Roman
Quoted 1 line · [email protected] writes:
Hi,
Hello
Quoted 3 lines
I'm trying to set an active-filter expression for on-demand, but I'm really stuck with. I can't get effective help from neither from documentation neither from user mailing lists.
Same for me, so I used to add:
"active-filter 'not ((port 135) or (port 137))'"
I think the key for you is "*not*"
Quoted 9 lines
Problem is people scanning (mostly) netBIOS ports. These packets (I think) are holding the link up by resetting idle-timeout to zero.
I'm using woody with ppp 2.4.1 from debs and compiled kernel with filtering option enabled
If I set something like "active-filter 'inbound port 135'" I get a parse error message. This stucks me since man tcpdump says inbound is for ppp connections.
In fact , I think "inbound" is sufficient by itself...
Quoted 4 lines
If I set something like "active-filter 'dst port 135'" there is no parse error message, but modem dials nothing
Does anybody know an appropiate active-filter expression?
In order to prevent any unwanted incoming packet to keep the link up (netbios scan, and as I have a Dial-up I sometimes get a former P2P-user IP), I now use:
active-filter 'not (inbound)'
Quoted 1 line
Thanks a lot
Regards