mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 11:38:20 +00:00
Merge branch 'master' into topic/tunnels
Conflicts: doc/scripts/DocSourcesList.cmake scripts/base/init-bare.bro src/ConnCompressor.cc src/Sessions.cc Just trying to bring topic/gregor/tunnel up to date in this new branch. Compiles, but untested.
This commit is contained in:
commit
4062fc1776
1252 changed files with 39817 additions and 45839 deletions
|
@ -1,5 +1,3 @@
|
|||
// $Id: Sessions.h 6219 2008-10-01 05:39:07Z vern $
|
||||
//
|
||||
// See the file "COPYING" in the main distribution directory for copyright.
|
||||
|
||||
#ifndef sessions_h
|
||||
|
@ -84,7 +82,7 @@ public:
|
|||
// Returns a reassembled packet, or nil if there are still
|
||||
// some missing fragments.
|
||||
FragReassembler* NextFragment(double t, const IP_Hdr* ip,
|
||||
const u_char* pkt, uint32 frag_field);
|
||||
const u_char* pkt);
|
||||
|
||||
int Get_OS_From_SYN(struct os_type* retval,
|
||||
uint16 tot, uint8 DF_flag, uint8 TTL, uint16 WSS,
|
||||
|
@ -92,7 +90,7 @@ public:
|
|||
uint32 tstamp, /* uint8 TOS, */ uint32 quirks,
|
||||
uint8 ECN) const;
|
||||
|
||||
bool CompareWithPreviousOSMatch(uint32 addr, int id) const;
|
||||
bool CompareWithPreviousOSMatch(const IPAddr& addr, int id) const;
|
||||
|
||||
// Looks up the connection referred to by the given Val,
|
||||
// which should be a conn_id record. Returns nil if there's
|
||||
|
@ -195,10 +193,11 @@ protected:
|
|||
void Internal(const char* msg, const struct pcap_pkthdr* hdr,
|
||||
const u_char* pkt);
|
||||
|
||||
// Builds a record encapsulating a packet. This should be more
|
||||
// general, including the equivalent of a union of tcp/udp/icmp
|
||||
// headers .
|
||||
Val* BuildHeader(const struct ip* ip);
|
||||
// For a given protocol, checks whether the header's length as derived
|
||||
// from lower-level headers or the length actually captured is less
|
||||
// than that protocol's minimum header size.
|
||||
bool CheckHeaderTrunc(int proto, uint32 len, uint32 caplen,
|
||||
const struct pcap_pkthdr* hdr, const u_char* pkt);
|
||||
|
||||
CompositeHash* ch;
|
||||
PDict(Connection) tcp_conns;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue