Re: content matching on tcp connections...

This is a discussion on Re: content matching on tcp connections... within the IPFilter forums, part of the System Security and Security Related category; YES,YES,YES ----- Original Message ----- From: "Darren Reed" <darrenr@reed.wattle.id.au> To: <ipfilter@...


Go Back   Usenet Forums > System Security and Security Related > IPFilter

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-26-2003
Stefan Sonnenberg-Carstens
 
Posts: n/a
Default Re: content matching on tcp connections...

YES,YES,YES
----- Original Message -----
From: "Darren Reed" <darrenr@reed.wattle.id.au>
To: <ipfilter@coombs.anu.edu.au>
Sent: Thursday, June 26, 2003 5:42 PM
Subject: content matching on tcp connections...


>
> Long ago (well almost 3 years now), I put some code into IPFilter
> 3.5alpha (became 4.0alpha) that does this:
>
> > #
> > # * = match any character, . = exact match, ? = case insensitive
> > #
> > # Scan for anything that looks like HTTP and redirect it to the local
> > # proxy. One catch - this feature (redirect) is not yet implemented.
> > #
> > http : ("GET ", "???." ) = redirect(127.0.0.1)
> > #
> > # Track ssh connections (i.e do nothing)
> > #
> > ssh : (), ("SSH-") = track
> > #
> > # Things which look like smtp to be tracked else closed.
> > # Client can start with EHLO (ESMTP) or HELO (SMTP).
> > #
> > smtp : ("HELO ", "**??."), ("220 ", "....") = track else close
> > #
> > # Evil napster
> > #
> > nap2 : ("*\0\2\0", "*...") = close
> > nap4 : ("*\0\4\0", "*...") = close
> > nap6 : ("*\0\6\0", "*...") = close
> > nap7 : ("*\0\7\0", "*...") = close

>
> With the above, there are no port numbers mentioned because the connection
> content scanning (I think limited to first 16 bytes or thereabouts) is

done
> across _all_ TCP connections that go through IPFilter's state table.
>
> This kind of thing could be used to block out kazaa - completely.
>
> I think I ditched it because I didn't think it would be that useful.
>
> Should I dust this off and let it back in ?
>
> Darren
>
>



Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:39 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0