mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00

- Use `-b` most everywhere, it will save time. - Start some intel tests upon the input file being fully read instead of at an arbitrary time. - Improve termination condition for some sumstats/cluster tests. - Filter uninteresting output from some supervisor tests. - Test for `notice_policy.log` is no longer needed.
19 lines
454 B
Text
19 lines
454 B
Text
# @TEST-EXEC: zeek -b -C -r $TRACES/ssh/sshguess.pcap %INPUT | sort >output
|
|
# @TEST-EXEC: btest-diff output
|
|
|
|
@load base/protocols/ssh
|
|
|
|
event ssh_auth_attempted(c: connection, authenticated: bool)
|
|
{
|
|
print "auth_attempted", c$uid, authenticated;
|
|
}
|
|
|
|
event ssh_auth_failed(c: connection)
|
|
{
|
|
print "auth_failed", c$uid;
|
|
}
|
|
|
|
event ssh_auth_result(c: connection, result: bool, auth_attempts: count)
|
|
{
|
|
print "auth_result", c$uid, result, auth_attempts;
|
|
}
|