mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 08:08:19 +00:00
add some dhcp options
This commit is contained in:
parent
d886f40728
commit
1eda26d16f
5 changed files with 152 additions and 0 deletions
|
@ -0,0 +1,12 @@
|
|||
# @TEST-EXEC: bro -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$timeserver_list;
|
||||
print "nameserver_list", options$nameserver_list;
|
||||
print "ntpserver_list", options$ntpserver_list;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue