zeek/testing/btest/scripts/base/protocols/ssh/one-auth-fail-only.test
Jon Siwek 7967a5b0aa General btest cleanup
- 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.
2020-08-11 11:26:22 -07:00

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;
}