mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 01:28:20 +00:00
Merging in 'topic/robin/cleanup-rewriter'.
Removing everything related to trace rewriting. (I wasn't too careful in ensuring that I catch everything in the scripts; Seth is working on those anyway.) (Merging by cherry-picking the corresponding commit, as the branch was accidentally made off of the logging stuff).
This commit is contained in:
parent
ec1b2b4d2a
commit
a3a075174b
70 changed files with 20 additions and 5922 deletions
11
src/TCP.h
11
src/TCP.h
|
@ -7,7 +7,6 @@
|
|||
|
||||
#include "Analyzer.h"
|
||||
#include "TCP.h"
|
||||
#include "Rewriter.h"
|
||||
#include "PacketDumper.h"
|
||||
|
||||
// We define two classes here:
|
||||
|
@ -18,8 +17,6 @@
|
|||
class PIA_TCP;
|
||||
class TCP_ApplicationAnalyzer;
|
||||
class TCP_Reassembler;
|
||||
class TCP_Rewriter;
|
||||
class TCP_SourcePacketWriter;
|
||||
|
||||
class TCP_Flags {
|
||||
public:
|
||||
|
@ -75,9 +72,6 @@ public:
|
|||
virtual void SetContentsFile(unsigned int direction, BroFile* f);
|
||||
virtual BroFile* GetContentsFile(unsigned int direction) const;
|
||||
|
||||
TCP_SourcePacketWriter* SourcePacketWriter() const
|
||||
{ return src_pkt_writer; }
|
||||
|
||||
// Callback to process a TCP option.
|
||||
typedef int (*proc_tcp_option_t)(unsigned int opt, unsigned int optlen,
|
||||
const u_char* option, TCP_Analyzer* analyzer,
|
||||
|
@ -220,7 +214,6 @@ protected:
|
|||
void ConnDeleteTimer(double t) { Conn()->DeleteTimer(t); }
|
||||
|
||||
void EndpointEOF(TCP_Reassembler* endp);
|
||||
void TraceRewriterEOF(TCP_Reassembler* endp);
|
||||
void ConnectionClosed(TCP_Endpoint* endpoint,
|
||||
TCP_Endpoint* peer, int gen_event);
|
||||
void ConnectionFinished(int half_finished);
|
||||
|
@ -247,8 +240,6 @@ private:
|
|||
|
||||
analyzer_list packet_children;
|
||||
|
||||
TCP_SourcePacketWriter* src_pkt_writer;
|
||||
|
||||
unsigned int first_packet_seen: 2;
|
||||
unsigned int reassembling: 1;
|
||||
unsigned int is_partial: 1;
|
||||
|
@ -288,7 +279,6 @@ public:
|
|||
|
||||
// The given endpoint's data delivery is complete.
|
||||
virtual void EndpointEOF(bool is_orig);
|
||||
virtual void TraceRewriterEOF(bool is_orig);
|
||||
|
||||
// Called whenever an end enters TCP_ENDPOINT_CLOSED or
|
||||
// TCP_ENDPOINT_RESET. If gen_event is true and the connection
|
||||
|
@ -332,7 +322,6 @@ public:
|
|||
|
||||
// These are passed on from TCP_Analyzer.
|
||||
virtual void EndpointEOF(bool is_orig) { }
|
||||
virtual void TraceRewriterEOF(bool is_orig) { }
|
||||
virtual void ConnectionClosed(TCP_Endpoint* endpoint,
|
||||
TCP_Endpoint* peer, int gen_event) { }
|
||||
virtual void ConnectionFinished(int half_finished) { }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue