Linux Netfilter discussions
 help / color / mirror / Atom feed
* Can netfilter do this?
@ 2004-03-25 11:59 Joe Mott
  2004-03-25 12:14 ` Gavin Hamill
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Joe Mott @ 2004-03-25 11:59 UTC (permalink / raw)
  To: netfilter

I have been searching the archived lists without any success to have the 
following question answered:

Is netfilter capable of knowing when someone is crafting SMTP (or FTP or 
HTTP or ...) packets that violate RFC rules to exploit a vulnerability 
in some server?


^ permalink raw reply	[flat|nested] 7+ messages in thread
* RE: Can netfilter do this?
@ 2004-03-25 17:23 Daniel Chemko
  0 siblings, 0 replies; 7+ messages in thread
From: Daniel Chemko @ 2004-03-25 17:23 UTC (permalink / raw)
  To: David Cannings, netfilter



> When text
> wraps the boundary of one packet netfilter can no longer help, some
> form of reassembly is required before the "full" text can be read and
> taken into context. 

Apparently when you use the QUEUE extension the packet is re-assembled
before the packet is passed to the userspace application. This makes
proper filtering and detection possible. You still have to track the
entire session from userspace if you want to be accurate, but that
depends on what userspace tool you're plugging into. I know of Snort and
Squid which have 'inline' modes. These programs should have some ability
to filter out the garbage.


^ permalink raw reply	[flat|nested] 7+ messages in thread
* RE: Can netfilter do this?
@ 2004-03-25 20:53 Small, Jim
  0 siblings, 0 replies; 7+ messages in thread
From: Small, Jim @ 2004-03-25 20:53 UTC (permalink / raw)
  To: netfilter

> -----Original Message-----
> > Is netfilter capable of knowing when someone is crafting SMTP (or FTP or
> > HTTP or ...) packets that violate RFC rules to exploit a vulnerability
> > in some server?

Snort is an excellent "tool"/Network Intrusion Detection System.  You might
also be interested in this:
http://l7-filter.sourceforge.net/

Snort is more robust, but also more complex.

<> Jim




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-03-25 21:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-25 11:59 Can netfilter do this? Joe Mott
2004-03-25 12:14 ` Gavin Hamill
2004-03-25 12:20 ` David Cannings
2004-03-25 12:33 ` Ray Leach
2004-03-25 21:56 ` Frederic de Villamil
  -- strict thread matches above, loose matches on Subject: below --
2004-03-25 17:23 Daniel Chemko
2004-03-25 20:53 Small, Jim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox