Re: Packet Inspecting Filter with IPTables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



El jue, 26 de 08 de 2004 a las 13:11, Deepak Seshadri escribiÃ:
> Hi Jeremy,
> You can either use Snort or there is a patch available to do layer7 filtering. The link is
> http://l7-filter.sourceforge.net/
> 
> After patching your kernel & iptables you will be able to create your own script to catch the packets and take action on them. It is a very good tool. I have been using this a lot to track p2p traffic, messenger traffic that disguise themselves and run on port 80.
> 
> I hope this helps.
> Good luck,
> Deepak
>   ----- Original Message ----- 
>   From: Jeremy Andrew 
>   To: netfilter@xxxxxxxxxxxxxxxxxxx 
>   Sent: Thursday, August 26, 2004 1:50 AM
>   Subject: Packet Inspecting Filter with IPTables 
> 
> 
>   I wish to implement a feature on a linux box which I explained with detail
>   in the following text;
> 
>   I have read about many different articles on how to take actions based on
>   the contains of a packet. I think netfilter/iptables has support of what I
>   wish to deploy on a Linux machine (kernel 2.4.20) acting as a gateway
>   network node. I have not found enough information about the exact steps to
>   be taken in order to;
> 
>   - Inspect each and every incoming packet for a specific port (ftp as an
>   example), and then if the data packet contains a specific set of bits (ascii
>   characters "GLOB" e.g), take actions based on a predefined rule (send a
>   message to syslog) and then "drop" this packet.
> 
>   Should I install a newer version than I currently have (iptables  v1.2.6a)
>   or does this version contain the feature I require? Indeed, I do not wish to
>   make an upgrade to iptables since this is a "production" environment, but I
>   can add another box only for this purpose, so even alpha / beta versions are
>   accepted. 
> 
>   I would be glad if I see exact steps to take since I really do not have much
>   time to make a research on the matter right away. 
> 
>   Regards...

I think what you are looking for it's snort-inline using the QUEUE
target with iptables-Netfilter.


-- 
Jose Maria Lopez Hernandez
Director Tecnico de bgSEC
jkerouac@xxxxxxxxx
bgSEC Seguridad y Consultoria de Sistemas Informaticos
http://www.bgsec.com
ESPAÃA

The only people for me are the mad ones -- the ones who are mad to live,
mad to talk, mad to be saved, desirous of everything at the same time,
the ones who never yawn or say a commonplace thing, but burn, burn, burn
like fabulous yellow Roman candles.
                -- Jack Kerouac, "On the Road"



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux