AW: content matching on tcp connections...

This is a discussion on AW: content matching on tcp connections... within the IPFilter forums, part of the System Security and Security Related category; I definitely need this! -----Ursprüngliche Nachricht----- Von: Darren Reed [mailto:darrenr@reed.wattle.id.au] Gesendet: Donnerstag, 26. Juni ...


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
marcus deubel
 
Posts: n/a
Default AW: content matching on tcp connections...

I definitely need this!

-----Ursprüngliche Nachricht-----
Von: Darren Reed [mailto:darrenr@reed.wattle.id.au]
Gesendet: Donnerstag, 26. Juni 2003 17:43
An: ipfilter@coombs.anu.edu.au
Betreff: 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


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.492 / Virus Database: 291 - Release Date: 24.06.2003


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.492 / Virus Database: 291 - Release Date: 24.06.2003


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:26 AM.


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