mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 10:08:20 +00:00
Merge branch '001-dhcp-options' of https://github.com/jrwren/zeek
* '001-dhcp-options' of https://github.com/jrwren/zeek: add some dhcp options
This commit is contained in:
commit
748a4f2ea2
8 changed files with 167 additions and 2 deletions
|
@ -0,0 +1,12 @@
|
|||
# @TEST-EXEC: zeek -b -r $TRACES/dhcp/dhcp_time_and_nameserver.trace %INPUT
|
||||
# @TEST-EXEC: btest-diff .stdout
|
||||
|
||||
@load base/protocols/dhcp
|
||||
|
||||
event DHCP::aggregate_msgs(ts: time, id: conn_id, uid: string, is_orig: bool, msg: DHCP::Msg, options: DHCP::Options) &priority=5
|
||||
{
|
||||
print "time_offset", options$time_offset;
|
||||
print "timeserver_list", options$time_servers;
|
||||
print "nameserver_list", options$name_servers;
|
||||
print "ntpserver_list", options$ntp_servers;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue