Skip to contentSkip to conversation

Layer-7 =?iso-8859-1?q?Filter

LARTC Stef Coene 1 participant 1 message Jun 1, 2003

lore
Share & tools
lore

Stef Coene

author
#0 lore raw
Quoted 16 lines · Ricardo Jorge da Fonseca Marques Ferreira
Quoted 6 lines · Stef Coene

Hi,

Layer 7 filtering was a topic on slashdot !
http://slashdot.org/article.pl?sid/05/30/180224&mode=thread&tid6&ti
d= 185

Quoted 8 lines

After reading some slashdot comments, I downloaded the source. And I have some comments on it. I think these comments also belongs to the faq page of the layer 7 filtering page.

First of all, this is not a packet filter, it's a connection filter. So once a connection is classified as http, all following packets beloning to that connection are classified as http. I just wonder if it also works for ftp traffic with seperate command and data connections.

Quoted 6 lines

Which was exactly what i wanted, but then i opened the page and saw its only for 2.5 kernels. I'm not about to put a 2.5 kernel in my router.

I doubt it works for protocols like FTP as it uses regular expressions to identify the protocol much like a virus program. The data connection of FTP might not have any identifying data...

Ftp can be marked with iptables and the conntrack ftp-helper. But I wonder why they didn't extended iptables so you can mark the packets and use that mark with the fw filter. If iptables is smart enough to recognise the packets, you can also drop the packets to deny certain traffic.

Quoted 4 lines

A good way of doing that would be a plugin system, in which such plugins could interpret the protocol.

Maybe some kind soul will backport it to 2.4 so i can test it :)

Same for me. Or a port to iptables.

Stef

Signature · 8 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/