mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
change type of flow_mod entries to count - the type is defined in other
records and this leads to unfortunate problems with external scripts that would have to convert values into bro port types themseves.
This commit is contained in:
parent
5f0a630116
commit
b9953e7048
6 changed files with 14 additions and 14 deletions
|
@ -160,9 +160,9 @@ function match_conn(id: conn_id, reverse: bool &default=F): ofp_match
|
|||
$dl_type=dl_type,
|
||||
$nw_proto=proto,
|
||||
$nw_src=addr_to_subnet(orig_h),
|
||||
$tp_src=orig_p,
|
||||
$tp_src=port_to_count(orig_p),
|
||||
$nw_dst=addr_to_subnet(resp_h),
|
||||
$tp_dst=resp_p
|
||||
$tp_dst=port_to_count(resp_p)
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -46,9 +46,9 @@ export {
|
|||
# IP destination address.
|
||||
nw_dst: subnet &optional;
|
||||
# TCP/UDP source port.
|
||||
tp_src: port &optional;
|
||||
tp_src: count &optional;
|
||||
# TCP/UDP destination port.
|
||||
tp_dst: port &optional;
|
||||
tp_dst: count &optional;
|
||||
} &log;
|
||||
|
||||
## The actions that can be taken in a flow.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue