Created
April 29, 2013 17:04
-
-
Save sethhall/5483039 to your computer and use it in GitHub Desktop.
tiny ssh patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/scripts/base/protocols/ssh/main.bro b/scripts/base/protocols/ssh/main.bro | |
| index cd20f4e..a8b784f 100644 | |
| --- a/scripts/base/protocols/ssh/main.bro | |
| +++ b/scripts/base/protocols/ssh/main.bro | |
| @@ -108,6 +108,8 @@ function check_ssh_connection(c: connection, done: bool) | |
| if ( c$ssh$done ) | |
| return; | |
| + lookup_connection(c$id); | |
| + | |
| # Make sure conn_size_analyzer is active by checking | |
| # resp$num_bytes_ip. In general it should always be active though. | |
| if ( ! c$resp?$num_bytes_ip ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment