mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 04:58:21 +00:00
Add conn.log entries for connections with unhandled IP protocols
This commit is contained in:
parent
a96515a2e8
commit
35ec9733c0
422 changed files with 97715 additions and 97282 deletions
|
@ -60,7 +60,7 @@ struct ConnTuple {
|
|||
uint32_t src_port = 0;
|
||||
uint32_t dst_port = 0;
|
||||
bool is_one_way = false; // if true, don't canonicalize order
|
||||
TransportProto proto = TRANSPORT_UNKNOWN;
|
||||
uint8_t proto;
|
||||
};
|
||||
|
||||
static inline int addr_port_canon_lt(const IPAddr& addr1, uint32_t p1, const IPAddr& addr2, uint32_t p2) {
|
||||
|
@ -135,6 +135,8 @@ public:
|
|||
return "unknown";
|
||||
}
|
||||
|
||||
uint8_t KeyProto() const { return key.transport; }
|
||||
|
||||
// Returns true if the packet reflects a reuse of this
|
||||
// connection (i.e., not a continuation but the beginning of
|
||||
// a new connection).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue