Skip to contentSkip to conversation

Feasability of Protocol Filtering

DISCUSSION Ian Latter 2 participants 2 messages Apr 26, 2003 netfilter

lore
Share & tools
lore

Ian Latter

author
#0 lore raw

Good question;

Quoted 7 lines

I've got a heretic question:

Quoted 2 lines

Examples:
Identify and DENY SSH traffic regardless of port

How do you cope with an ftp transfer of a tcpdump capture of some earlier SSH traffic?

But wouldn't this be resolved by only doing a single pass through of the detection code, per stream/conntrack? Ie; if the ftp data is related to an existing ftp stream, then it won't have a detection attempt made on it by the proto_detect module ... surely ...

This whole thread on protocol detection, particularly with protocols like P2P, is sweet ... very cool stuff ... very useful.

--
Ian Latter
Internet and Networking Security Officer
Macquarie University

#1 lore raw
Quoted 4 lines

But wouldn't this be resolved by only doing a single pass through of the detection code, per stream/conntrack? Ie; if the ftp data is related to an existing ftp stream, then it won't have a detection attempt made on it by the proto_detect module ... surely ...

excellent point! once the connection has been completed and it has "passed" our inspection we no longer need to examine addtional packets from that connection. with will surely resolve and aleviate our cpu usage problems greatly. its still not a bad idea to tell it to look for string matching starting at a certain byte. that is, if it doesnt vary too much.

-matt