"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/loggers/log_hext.cc" 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.

log_hext.cc  (snort3-3.1.28.0):log_hext.cc  (snort3-3.1.29.0)
skipping to change at line 103 skipping to change at line 103
"%u " // opaque "%u " // opaque
"%" PRIu64 " " // initiator_pkts "%" PRIu64 " " // initiator_pkts
"%" PRIu64 " " // responder_pkts "%" PRIu64 " " // responder_pkts
"%" PRIu64 " " // initiator_pkts_dropped "%" PRIu64 " " // initiator_pkts_dropped
"%" PRIu64 " " // responder_pkts_dropped "%" PRIu64 " " // responder_pkts_dropped
"%" PRIu64 " " // initiator_bytes_dropped "%" PRIu64 " " // initiator_bytes_dropped
"%" PRIu64 " " // responder_bytes_dropped "%" PRIu64 " " // responder_bytes_dropped
"%hhu " // is_qos_applied_on_src_intf "%hhu " // is_qos_applied_on_src_intf
"%ld " // sof_timestamp.tv_sec "%ld " // sof_timestamp.tv_sec
"%ld " // eof_timestamp.tv_sec "%ld " // eof_timestamp.tv_sec
"%u " // address_space_id
"%u " // tenant_id
"%hu " // vlan_tag "%hu " // vlan_tag
"%hu " // address_space_id "%hhu " // protocol
"%hhu" // protocol "%hhu" // flags
"\n", "\n",
cmd, cmd,
fs->ingress_group, fs->ingress_group,
fs->egress_group, fs->egress_group,
fs->ingress_intf, fs->ingress_intf,
fs->egress_intf, fs->egress_intf,
shost, ntohs(fs->initiator_port), shost, ntohs(fs->initiator_port),
dhost, ntohs(fs->responder_port), dhost, ntohs(fs->responder_port),
fs->opaque, fs->opaque,
fs->initiator_pkts, fs->initiator_pkts,
fs->responder_pkts, fs->responder_pkts,
fs->initiator_pkts_dropped, fs->initiator_pkts_dropped,
fs->responder_pkts_dropped, fs->responder_pkts_dropped,
fs->initiator_bytes_dropped, fs->initiator_bytes_dropped,
fs->responder_bytes_dropped, fs->responder_bytes_dropped,
fs->is_qos_applied_on_src_intf, fs->is_qos_applied_on_src_intf,
fs->sof_timestamp.tv_sec, fs->sof_timestamp.tv_sec,
fs->eof_timestamp.tv_sec, fs->eof_timestamp.tv_sec,
vlan_tag,
fs->address_space_id, fs->address_space_id,
fs->protocol); fs->tenant_id,
vlan_tag,
fs->protocol,
fs->flags);
} }
//------------------------------------------------------------------------- //-------------------------------------------------------------------------
// impl stuff // impl stuff
//------------------------------------------------------------------------- //-------------------------------------------------------------------------
static void log_raw(const Packet* p) static void log_raw(const Packet* p)
{ {
TextLog_Print(hext_log, "\n# %u [%u]\n", TextLog_Print(hext_log, "\n# %u [%u]\n",
s_pkt_num++, p->pktlen); s_pkt_num++, p->pktlen);
 End of changes. 4 change blocks. 
4 lines changed or deleted 8 lines changed or added

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