"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/network_inspectors/appid/tp_appid_types.h" between
snort3-3.1.36.0.tar.gz and snort3-3.1.38.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.

tp_appid_types.h  (snort3-3.1.36.0):tp_appid_types.h  (snort3-3.1.38.0)
skipping to change at line 57 skipping to change at line 57
TP_STATE_CLASSIFIED, TP_STATE_CLASSIFIED,
TP_STATE_HA = 21 TP_STATE_HA = 21
}; };
enum TPSessionAttr enum TPSessionAttr
{ {
TP_ATTR_CONTINUE_MONITORING = (1 << 0), TP_ATTR_CONTINUE_MONITORING = (1 << 0),
TP_ATTR_COPY_RESPONSE_CONTENT = (1 << 1), TP_ATTR_COPY_RESPONSE_CONTENT = (1 << 1),
TP_ATTR_COPY_RESPONSE_LOCATION = (1 << 2), TP_ATTR_COPY_RESPONSE_LOCATION = (1 << 2),
TP_ATTR_COPY_RESPONSE_BODY = (1 << 3), TP_ATTR_COPY_RESPONSE_BODY = (1 << 3),
TP_ATTR_UNAME_KNOWN = (1 << 4),
}; };
static void set_attr(string*& attr, const char* buf, size_t len, bool flush, siz e_t max_len) static void set_attr(string*& attr, const char* buf, size_t len, bool flush, siz e_t max_len)
{ {
if (!attr) if (!attr)
attr = new string(buf, len > max_len ? max_len : len); attr = new string(buf, len > max_len ? max_len : len);
else if (flush) else if (flush)
{ {
delete attr; delete attr;
attr = new string(buf, len > max_len ? max_len : len); attr = new string(buf, len > max_len ? max_len : len);
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

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