* active-filter
@ 2004-03-07 14:09 tatel
2004-03-07 14:51 ` active-filter Florent Capdeville
0 siblings, 1 reply; 2+ messages in thread
From: tatel @ 2004-03-07 14:09 UTC (permalink / raw)
To: linux-ppp
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: active-filter
2004-03-07 14:09 active-filter tatel
@ 2004-03-07 14:51 ` Florent Capdeville
0 siblings, 0 replies; 2+ messages in thread
From: Florent Capdeville @ 2004-03-07 14:51 UTC (permalink / raw)
To: linux-ppp
tatel@euskalnet.net writes:
> Hi,
Hello
> 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*"
> 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...
> 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)'
> Thanks a lot
Regards
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-03-07 14:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-07 14:09 active-filter tatel
2004-03-07 14:51 ` active-filter Florent Capdeville
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox