From: Serge Droz <serge.droz@psi.ch>
To: Eicke Friedrich <e.friedrich@uni.de>,
netfilter-devel@lists.netfilter.org
Subject: Re: Feasability of Protocol Filtering
Date: Fri, 25 Apr 2003 11:36:43 +0200 [thread overview]
Message-ID: <3EA901AB.2080301@psi.ch> (raw)
In-Reply-To: <3EA7026D.2010101@uni.de>
Eicke Friedrich wrote:
>
> i'm doing a quite similar thing at the moment: i'm developing a match
> that recognizes p2p traffic (kazaa, edonkey finished but more to come)
> by their protocol and mark them. After that i use a tc filter to read
> the marks and put the packets in QoS classes.
> What you need is something characteristic for every protocol. For
> example: every kazaa-download starts with a packet containing the string
> "GET /.hash=" - i do a string-match on each packet and if i find a match
> i just mark the whole connection with CONNMARK.
So, if by chance this message got split exactly at the right place so
you'd get a packet witch starts with "GET /.hash=" you couldn't post
this anymore. Your idea will work 99.9% (say), but you can't aford a
single missmatch or you kill a legitimate connection (which for sure
will have been initiated by your boss :-))
You can easily try this out: write a snort filter that captures this
traffic and see how many false positives you get.
Cheers
Serge
--
Serge Droz
Paul Scherrer Institut mailto:serge.droz@psi.ch
CH-5232 Villigen PSI Phone: ++41 56 310 3637
Fax: ++41 56 310 3649
next prev parent reply other threads:[~2003-04-25 9:36 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-23 15:16 Feasability of Protocol Filtering Matt Skidmore
2003-04-23 21:15 ` Eicke Friedrich
2003-04-25 9:36 ` Serge Droz [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-04-26 0:41 Ian Latter
2003-04-26 0:10 ` Matt Skidmore
2003-04-23 21:28 Eicke Friedrich
2003-04-23 22:03 ` Matt Skidmore
2003-04-24 20:31 ` Eicke Friedrich
2003-04-23 22:37 ` Martin Josefsson
2003-04-24 12:16 ` Jozsef Kadlecsik
2003-04-24 12:55 ` Martin Josefsson
2003-04-24 19:38 ` Eicke Friedrich
2003-04-24 19:55 ` Filipe Almeida
2003-04-24 20:31 ` Eicke Friedrich
2003-04-22 23:25 Matt Skidmore
2003-04-25 8:31 ` Patrick Schaaf
2003-04-25 9:03 ` Eicke Friedrich
2003-04-27 13:09 ` Harald Welte
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=3EA901AB.2080301@psi.ch \
--to=serge.droz@psi.ch \
--cc=e.friedrich@uni.de \
--cc=netfilter-devel@lists.netfilter.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.