mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 11:38:20 +00:00
Add MAC addresses to connection record.
c$eth_src and c$eth_dst now contain the Ethernet address if available. A new script protocols/conn/mac-logging.bro adds these to conn.log when loaded.
This commit is contained in:
parent
35686fb93a
commit
57aef6d49f
20 changed files with 486 additions and 321 deletions
|
@ -185,8 +185,7 @@ protected:
|
|||
|
||||
Connection* NewConn(HashKey* k, double t, const ConnID* id,
|
||||
const u_char* data, int proto, uint32 flow_lable,
|
||||
uint32 vlan, uint32 inner_vlan,
|
||||
const EncapsulationStack* encapsulation);
|
||||
const Packet* pkt, const EncapsulationStack* encapsulation);
|
||||
|
||||
// Check whether the tag of the current packet is consistent with
|
||||
// the given connection. Returns:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue