mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 03:28:19 +00:00
14 lines
454 B
Text
14 lines
454 B
Text
# @TEST-EXEC: zeek -b -C -r $TRACES/tunnels/gre-sample.pcap %INPUT
|
|
# @TEST-EXEC: btest-diff conn.log
|
|
# @TEST-EXEC: test ! -e tunnel.log
|
|
|
|
# Test the skip analyzer by skipping everything outside the GRE tunnel.
|
|
|
|
@load base/protocols/conn
|
|
@load base/frameworks/tunnels
|
|
|
|
redef PacketAnalyzer::config_map += {
|
|
PacketAnalyzer::ConfigEntry($identifier=1, $analyzer=PacketAnalyzer::ANALYZER_SKIP)
|
|
};
|
|
|
|
redef PacketAnalyzer::SkipAnalyzer::skip_bytes: count = 38;
|