mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Radius functionality and memleak test.
This commit is contained in:
parent
a3e00322a2
commit
9ab4744072
4 changed files with 26 additions and 0 deletions
|
@ -0,0 +1,10 @@
|
||||||
|
#separator \x09
|
||||||
|
#set_separator ,
|
||||||
|
#empty_field (empty)
|
||||||
|
#unset_field -
|
||||||
|
#path radius
|
||||||
|
#open 2014-05-15-15-24-25
|
||||||
|
#fields ts uid id.orig_h id.orig_p id.resp_h id.resp_p username mac remote_ip connect_info result
|
||||||
|
#types time string addr port addr port string string addr string string
|
||||||
|
1217631137.916736 CXWv6p3arKYeMETxOg 10.0.0.1 1645 10.0.0.100 1812 John.McGuirk 00:14:22:e9:54:5e - - success
|
||||||
|
#close 2014-05-15-15-24-25
|
BIN
testing/btest/Traces/radius/radius.trace
Normal file
BIN
testing/btest/Traces/radius/radius.trace
Normal file
Binary file not shown.
10
testing/btest/core/leaks/radius.test
Normal file
10
testing/btest/core/leaks/radius.test
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
# Needs perftools support.
|
||||||
|
#
|
||||||
|
# @TEST-REQUIRES: bro --help 2>&1 | grep -q mem-leaks
|
||||||
|
#
|
||||||
|
# @TEST-GROUP: leaks
|
||||||
|
#
|
||||||
|
# @TEST-EXEC: HEAP_CHECK_DUMP_DIRECTORY=. HEAPCHECK=local btest-bg-run bro bro -b -m -r $TRACES/radius/radius.trace %INPUT
|
||||||
|
# @TEST-EXEC: btest-bg-wait 30
|
||||||
|
|
||||||
|
@load base/protocols/radius
|
6
testing/btest/scripts/base/protocols/radius/auth.test
Normal file
6
testing/btest/scripts/base/protocols/radius/auth.test
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
# This tests that a RADIUS authentication gets logged correctly
|
||||||
|
|
||||||
|
# @TEST-EXEC: bro -b -r $TRACES/radius/radius.trace %INPUT
|
||||||
|
# @TEST-EXEC: btest-diff radius.log
|
||||||
|
|
||||||
|
@load base/protocols/radius
|
Loading…
Add table
Add a link
Reference in a new issue