Feasability of Protocol Filtering
Good question;
Quoted 7 lines
I've got a heretic question:
Quoted 2 lines
Examples:
Identify and DENY SSH traffic regardless of portHow 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
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_detectmodule ... 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