mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Merge remote-tracking branch 'awelzel/table-val-contains'
* awelzel/table-val-contains: ignore_checksums_nets: Add test for multiple subnets
This commit is contained in:
commit
cc162e2ab0
4 changed files with 20 additions and 1 deletions
6
CHANGES
6
CHANGES
|
@ -1,3 +1,9 @@
|
|||
4.2.0-dev.159 | 2021-09-14 13:00:50 -0700
|
||||
|
||||
* ignore_checksums_nets: Add test for multiple subnets (Arne Welzel, Corelight)
|
||||
|
||||
This test fails with Zeek 4.1 and Zeek 4.0.3.
|
||||
|
||||
4.2.0-dev.157 | 2021-09-08 12:04:45 -0700
|
||||
|
||||
* fix for looping over vectors with holes per https://github.com/zeek/zeek/issues/1763 (Vern Paxson, Corelight)
|
||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
4.2.0-dev.157
|
||||
4.2.0-dev.159
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
|
||||
#separator \x09
|
||||
#set_separator ,
|
||||
#empty_field (empty)
|
||||
#unset_field -
|
||||
#path conn
|
||||
#open XXXX-XX-XX-XX-XX-XX
|
||||
#fields ts uid id.orig_h id.orig_p id.resp_h id.resp_p proto service duration orig_bytes resp_bytes conn_state local_orig local_resp missed_bytes history orig_pkts orig_ip_bytes resp_pkts resp_ip_bytes tunnel_parents
|
||||
#types time string addr port addr port enum string interval count count string bool bool count string count count count count set[string]
|
||||
XXXXXXXXXX.XXXXXX CHhAvVGS1DHFjwGM9 192.168.1.28 53246 35.221.46.9 80 tcp - 0.091969 74 432 SF - - 0 ShADadFf 6 338 4 604 -
|
||||
#close XXXX-XX-XX-XX-XX-XX
|
|
@ -1,7 +1,9 @@
|
|||
# @TEST-EXEC: zeek -b -r $TRACES/chksums/localhost-bad-chksum.pcap "ignore_checksums_nets += {192.168.0.0/16}" %INPUT && mv conn.log conn-worked.log
|
||||
# @TEST-EXEC: zeek -b -r $TRACES/chksums/localhost-bad-chksum.pcap "ignore_checksums_nets += {192.168.0.0/16, 192.169.0.0/16}" %INPUT && mv conn.log conn-worked-multi-subnets.log
|
||||
# @TEST-EXEC: zeek -b -r $TRACES/chksums/localhost-bad-chksum.pcap %INPUT && mv conn.log conn-failed.log
|
||||
|
||||
# @TEST-EXEC: btest-diff conn-worked.log
|
||||
# @TEST-EXEC: btest-diff conn-worked-multi-subnets.log
|
||||
# @TEST-EXEC: btest-diff conn-failed.log
|
||||
|
||||
@load base/protocols/conn
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue