"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/service_inspectors/pop/pop.cc" between
snort3-3.1.29.0.tar.gz and snort3-3.1.30.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.

pop.cc  (snort3-3.1.29.0):pop.cc  (snort3-3.1.30.0)
skipping to change at line 103 skipping to change at line 103
{ CountType::SUM, "qp_attachments", "total quoted-printable attachments deco ded" }, { CountType::SUM, "qp_attachments", "total quoted-printable attachments deco ded" },
{ CountType::SUM, "qp_decoded_bytes", "total quoted-printable decoded bytes" }, { CountType::SUM, "qp_decoded_bytes", "total quoted-printable decoded bytes" },
{ CountType::SUM, "uu_attachments", "total uu attachments decoded" }, { CountType::SUM, "uu_attachments", "total uu attachments decoded" },
{ CountType::SUM, "uu_decoded_bytes", "total uu decoded bytes" }, { CountType::SUM, "uu_decoded_bytes", "total uu decoded bytes" },
{ CountType::SUM, "non_encoded_attachments", "total non-encoded attachments extracted" }, { CountType::SUM, "non_encoded_attachments", "total non-encoded attachments extracted" },
{ CountType::SUM, "non_encoded_bytes", "total non-encoded extracted bytes" } , { CountType::SUM, "non_encoded_bytes", "total non-encoded extracted bytes" } ,
{ CountType::END, nullptr, nullptr } { CountType::END, nullptr, nullptr }
}; };
static void snort_pop(POP_PROTO_CONF* GlobalConf, Packet* p);
static void POP_ResetState(Flow*);
PopFlowData::PopFlowData() : FlowData(inspector_id) PopFlowData::PopFlowData() : FlowData(inspector_id)
{ {
memset(&session, 0, sizeof(session)); memset(&session, 0, sizeof(session));
popstats.concurrent_sessions++; popstats.concurrent_sessions++;
if(popstats.max_concurrent_sessions < popstats.concurrent_sessions) if(popstats.max_concurrent_sessions < popstats.concurrent_sessions)
popstats.max_concurrent_sessions = popstats.concurrent_sessions; popstats.max_concurrent_sessions = popstats.concurrent_sessions;
} }
PopFlowData::~PopFlowData() PopFlowData::~PopFlowData()
{ {
 End of changes. 1 change blocks. 
3 lines changed or deleted 0 lines changed or added

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