"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/service_inspectors/http_inspect/http_enum.h" between
snort3-3.1.28.0.tar.gz and snort3-3.1.29.0.tar.gz

About: Snort 3 is a network intrusion prevention and detection system (IDS/IPS) combining the benefits of signature, protocol and anomaly-based inspection.

http_enum.h  (snort3-3.1.28.0):http_enum.h  (snort3-3.1.29.0)
skipping to change at line 51 skipping to change at line 51
static const uint8_t GZIP_FLAG_FEXTRA = 0x4; static const uint8_t GZIP_FLAG_FEXTRA = 0x4;
static const int DEFLATE_WINDOW_BITS = 15; static const int DEFLATE_WINDOW_BITS = 15;
static const int MAX_FIELD_NAME_LENGTH = 100; static const int MAX_FIELD_NAME_LENGTH = 100;
// Plan to support max 8 xff headers // Plan to support max 8 xff headers
static const uint8_t MAX_XFF_HEADERS = 8; static const uint8_t MAX_XFF_HEADERS = 8;
static const uint8_t MAX_CUSTOM_HEADERS = MAX_XFF_HEADERS; static const uint8_t MAX_CUSTOM_HEADERS = MAX_XFF_HEADERS;
// This can grow into a bitmap for the get_buf() form parameter // This can grow into a bitmap for the get_buf() form parameter
static const uint64_t FORM_REQUEST = 0x1; static const uint64_t FORM_REQUEST = 0x1;
// Type of message section
enum SectionType { SEC_DISCARD = -19, SEC_ABORT = -18, SEC__NOT_COMPUTE=-14, SEC
__NOT_PRESENT=-11,
SEC_REQUEST = 2, SEC_STATUS, SEC_HEADER, SEC_BODY_CL, SEC_BODY_CHUNK, SEC_TR
AILER,
SEC_BODY_OLD, SEC_BODY_H2 };
// HTTP rule options. // HTTP rule options.
// Lower numbered portion is message buffers available to clients. // Lower numbered portion is message buffers available to clients.
// That part must remain synchronized with HttpApi::classic_buffer_names[] // That part must remain synchronized with HttpApi::classic_buffer_names[]
enum HTTP_RULE_OPT { HTTP_BUFFER_CLIENT_BODY = 1, HTTP_BUFFER_COOKIE, HTTP_BUFFE R_HEADER, enum HTTP_RULE_OPT { HTTP_BUFFER_CLIENT_BODY = 1, HTTP_BUFFER_COOKIE, HTTP_BUFFE R_HEADER,
HTTP_BUFFER_METHOD, HTTP_BUFFER_PARAM, HTTP_BUFFER_RAW_BODY, HTTP_BUFFER_RAW _COOKIE, HTTP_BUFFER_METHOD, HTTP_BUFFER_PARAM, HTTP_BUFFER_RAW_BODY, HTTP_BUFFER_RAW _COOKIE,
HTTP_BUFFER_RAW_HEADER, HTTP_BUFFER_RAW_REQUEST, HTTP_BUFFER_RAW_STATUS, HTTP_BUFFER_RAW_HEADER, HTTP_BUFFER_RAW_REQUEST, HTTP_BUFFER_RAW_STATUS,
HTTP_BUFFER_RAW_TRAILER, HTTP_BUFFER_RAW_URI, HTTP_BUFFER_STAT_CODE, HTTP_BU FFER_STAT_MSG, HTTP_BUFFER_RAW_TRAILER, HTTP_BUFFER_RAW_URI, HTTP_BUFFER_STAT_CODE, HTTP_BU FFER_STAT_MSG,
HTTP_BUFFER_TRAILER, HTTP_BUFFER_TRUE_IP, HTTP_BUFFER_URI, HTTP_BUFFER_VERSI ON, HTTP_BUFFER_TRAILER, HTTP_BUFFER_TRUE_IP, HTTP_BUFFER_URI, HTTP_BUFFER_VERSI ON,
BUFFER_JS_DATA, BUFFER_VBA_DATA , HTTP__BUFFER_MAX = BUFFER_VBA_DATA, BUFFER_JS_DATA, BUFFER_VBA_DATA , HTTP__BUFFER_MAX = BUFFER_VBA_DATA,
HTTP_RANGE_NUM_HDRS, HTTP_RANGE_NUM_TRAILERS, HTTP_VERSION_MATCH, HTTP_RANGE_NUM_HDRS, HTTP_RANGE_NUM_TRAILERS, HTTP_VERSION_MATCH,
skipping to change at line 452 skipping to change at line 447
extern const bool scheme_char[256]; extern const bool scheme_char[256];
extern const bool is_sp_tab[256]; extern const bool is_sp_tab[256];
extern const bool is_cr_lf[256]; extern const bool is_cr_lf[256];
extern const bool is_sp_tab_lf[256]; extern const bool is_sp_tab_lf[256];
extern const bool is_sp_tab_cr_lf[256]; extern const bool is_sp_tab_cr_lf[256];
extern const bool is_sp_tab_cr_lf_vt_ff[256]; extern const bool is_sp_tab_cr_lf_vt_ff[256];
extern const bool is_sp_tab_quote_dquote[256]; extern const bool is_sp_tab_quote_dquote[256];
extern const bool is_print_char[256]; // printable includes SP, tab, CR, LF extern const bool is_print_char[256]; // printable includes SP, tab, CR, LF
extern const bool is_sp_comma[256]; extern const bool is_sp_comma[256];
enum H2BodyState { H2_BODY_NOT_COMPLETE, H2_BODY_LAST_SEG, H2_BODY_COMPLETE,
H2_BODY_COMPLETE_EXPECT_TRAILERS, H2_BODY_NO_BODY };
} // end namespace HttpEnums } // end namespace HttpEnums
#endif #endif
 End of changes. 2 change blocks. 
10 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)