Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fix IRC names command parsing
- Loading branch information
Showing
4 changed files
with
21 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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
10 changes: 10 additions & 0 deletions
10
testing/btest/Baseline/scripts.base.protocols.irc.names-weird/weird.log
This file contains 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| #separator \x09 | ||
| #set_separator , | ||
| #empty_field (empty) | ||
| #unset_field - | ||
| #path weird | ||
| #open 2018-09-13-00-31-10 | ||
| #fields ts uid id.orig_h id.orig_p id.resp_h id.resp_p name addl notice peer | ||
| #types time string addr port addr port string string bool string | ||
| 1536797872.428637 ClEkJM2Vm5giqnMf4h 127.0.0.1 65389 127.0.0.1 6666 irc_invalid_names_line - F bro | ||
| #close 2018-09-13-00-31-10 |
Binary file not shown.
This file contains 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| # @TEST-EXEC: bro -C -r $TRACES/irc-353.pcap %INPUT | ||
| # @TEST-EXEC: btest-diff weird.log | ||
|
|
||
| event irc_names_info(c: connection, is_orig: bool, c_type: string, channel: string, users: string_set) | ||
| { | ||
| print channel, users; | ||
| } |