Linux PPP protocol development
 help / color / mirror / Atom feed
From: Florent Capdeville <Florent.capdeville+from@free.fr.invalid>
To: linux-ppp@vger.kernel.org
Subject: Re: active-filter
Date: Sun, 07 Mar 2004 14:51:08 +0000	[thread overview]
Message-ID: <871xo4d82r.fsf@athena.flo.fr.invalid> (raw)
In-Reply-To: <3d9ff3e0e9.3e0e93d9ff@euskalnet.net>

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

      reply	other threads:[~2004-03-07 14:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-07 14:09 active-filter tatel
2004-03-07 14:51 ` Florent Capdeville [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871xo4d82r.fsf@athena.flo.fr.invalid \
    --to=florent.capdeville+from@free.fr.invalid \
    --cc=linux-ppp@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox