~ubuntu-branches/ubuntu/utopic/suricata/utopic

« back to all changes in this revision

Viewing changes to src/stream-tcp-private.h

  • Committer: Package Import Robot
  • Author(s): Pierre Chifflier
  • Date: 2012-07-22 22:27:36 UTC
  • mfrom: (1.1.13)
  • Revision ID: package-import@ubuntu.com-20120722222736-s2bcw3ruzenagjam
Tags: 1.3-1
* Imported Upstream version 1.3
* Add build-dependency on libnss3-dev and libnspr4-dev
* Bump Standards Version to 3.9.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
112
112
/** Flag to indicate that this session is possible trying to evade the detection
113
113
 *  (http://www.packetstan.com/2010/06/recently-ive-been-on-campaign-to-make.html) */
114
114
#define STREAMTCP_FLAG_DETECTION_EVASION_ATTEMPT    0x0200
115
 
/** Flag to indicate that this stream direction has reassembled chunks */
116
 
#define STREAMTCP_FLAG_TOSERVER_REASSEMBLY_STARTED  0x0400
117
115
/** Flag to indicate the client (SYN pkt) permits SACK */
118
 
#define STREAMTCP_FLAG_CLIENT_SACKOK                0x0800
 
116
#define STREAMTCP_FLAG_CLIENT_SACKOK                0x0400
119
117
/** Flag to indicate both sides of the session permit SACK (SYN + SYN/ACK) */
120
 
#define STREAMTCP_FLAG_SACKOK                       0x1000
 
118
#define STREAMTCP_FLAG_SACKOK                       0x0800
121
119
/** Flag for triggering RAW reassembly before the size limit is reached or
122
120
    the stream reaches EOF. */
123
 
#define STREAMTCP_FLAG_TRIGGER_RAW_REASSEMBLY       0x2000
 
121
#define STREAMTCP_FLAG_TRIGGER_RAW_REASSEMBLY       0x1000
124
122
 
125
123
/*
126
124
 * Per STREAM flags
134
132
#define STREAMTCP_STREAM_FLAG_PAUSE_REASSEMBLY  0x04
135
133
/** Stream has reached it's reassembly depth, all further packets are ignored */
136
134
#define STREAMTCP_STREAM_FLAG_DEPTH_REACHED     0x08
 
135
/** Stream has sent a FIN/RST */
 
136
#define STREAMTCP_STREAM_FLAG_CLOSE_INITIATED   0x10
137
137
 
138
138
/*
139
139
 * Per SEGMENT flags