All of lore.kernel.org
 help / color / mirror / Atom feed
* Stateful packet inspection
@ 2005-03-04 15:42 Maxime Ducharme
  2005-03-04 15:46 ` Michael Tautschnig
  0 siblings, 1 reply; 9+ messages in thread
From: Maxime Ducharme @ 2005-03-04 15:42 UTC (permalink / raw)
  To: netfilter


Hi to the list

I have been asked if iptables support
stateful packet inspection.

i.e. verify if traffic on port 21 is FTP
and not HTTP (correct me if I'm using the wrong
term)

Is there any module or development about this ?

Thanks in advance

Maxime Ducharme
Programmeur / Spécialiste en sécurité réseau



^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: Stateful packet inspection
@ 2005-03-04 18:52 Maxime Ducharme
  2005-03-04 22:27 ` R. DuFresne
  0 siblings, 1 reply; 9+ messages in thread
From: Maxime Ducharme @ 2005-03-04 18:52 UTC (permalink / raw)
  To: netfilter


Thanks to all who replied :)

Have a nice day

Maxime Ducharme
Programmeur / Spécialiste en sécurité réseau

----- Original Message ----- 
From: "Seferovic Edvin" <edvin.seferovic@kolp.at>
To: <netfilter@lists.netfilter.org>
Sent: Friday, March 04, 2005 1:48 PM
Subject: RE: Stateful packet inspection


Yes,

what you are actually looking for is a filter for applications that send
packets through your firewall => so called LAYER 7 FILTER! Why layer 7 - see
OSI Layer model.

Regards,

Edvin Seferovic

-----Original Message-----
From: netfilter-bounces@lists.netfilter.org
[mailto:netfilter-bounces@lists.netfilter.org] On Behalf Of Maxime Ducharme
Sent: Freitag, 04. März 2005 19:45
To: netfilter@lists.netfilter.org
Subject: Re: Stateful packet inspection


Yes I am not sure of the exact word for
"Layer 7 filter"

Someone can confirm this ?

TIA

Maxime Ducharme
Programmeur / Spécialiste en sécurité réseau

----- Original Message ----- 
From: "Daniel Lopes" <lopsch@lopsch.com>
To: <netfilter@lists.netfilter.org>
Sent: Friday, March 04, 2005 11:03 AM
Subject: Re: Stateful packet inspection


> I thought SPI means inspecting packets for their state i.e. NEW or
> ESTABLISHED. What you mean is a Layer 7 filter, the link to it was
> posted above ;).
>



^ permalink raw reply	[flat|nested] 9+ messages in thread
* Stateful packet inspection
@ 2011-11-03 18:46 msk
  2011-11-03 19:29 ` Jan Engelhardt
  0 siblings, 1 reply; 9+ messages in thread
From: msk @ 2011-11-03 18:46 UTC (permalink / raw)
  To: netfilter

I'm looking into doing some work that involves an application doing stateful
inspection of packets for a specific application layer protocol.  I can't
tell from the descriptions if "netfilter" or "netfilter-devel" is the right
place to ask, so please feel free to point me at the right list if this is
the wrong one.

The idea is this:

Machine A is connected to the general Internet, acting as a filter or firewall
for machine B.  Machine B provides a well-known Internet service of some
kind but is subject to abuse and needs protection.

Machine A is equipped with a two-port NIC with a fail-open capability, so that
if A is powered off or the software on it crashes, Internet traffic goes
directly to and from B, allowing transparent fail-over.

A connection from outside hits A, which passes it to an application-layer
policy application that does stateful analysis while packets are also
relayed between the Internet and B.  If A decides the session needs to
be aborted for policy reasons, it terminates the relaying to B (so B
thinks the connection was interrupted) and sends an application-specific
permanent error code back to the client.  This means B doesn't know A is
there, and neither does the client, whether the session is allowed to
complete, or is aborted, or A fails.

Does netfilter provide APIs that could accomplish this?  If not, is there
something else that does, or gets me close?

Thanks for any advice!

-MSK

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

end of thread, other threads:[~2011-11-03 19:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-04 15:42 Stateful packet inspection Maxime Ducharme
2005-03-04 15:46 ` Michael Tautschnig
2005-03-04 16:03   ` Daniel Lopes
2005-03-04 18:45     ` Maxime Ducharme
2005-03-04 18:48       ` Seferovic Edvin
  -- strict thread matches above, loose matches on Subject: below --
2005-03-04 18:52 Maxime Ducharme
2005-03-04 22:27 ` R. DuFresne
2011-11-03 18:46 msk
2011-11-03 19:29 ` Jan Engelhardt

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.