"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/preprocessors/Session/session_common.h" between
snort-2.9.16.1.tar.gz and snort-2.9.17.tar.gz

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

session_common.h  (snort-2.9.16.1):session_common.h  (snort-2.9.17)
skipping to change at line 38 skipping to change at line 38
#include <netinet/in.h> #include <netinet/in.h>
#endif #endif
#include "sfutil/bitop_funcs.h" #include "sfutil/bitop_funcs.h"
#include "sfutil/sfActionQueue.h" #include "sfutil/sfActionQueue.h"
#include "parser/IpAddrSet.h" #include "parser/IpAddrSet.h"
#include "session_api.h" #include "session_api.h"
#include "mempool.h" #include "mempool.h"
#include "sf_types.h" #include "sf_types.h"
#include "plugbase.h"
#ifdef TARGET_BASED #ifdef TARGET_BASED
#include "target-based/sftarget_hostentry.h" #include "target-based/sftarget_hostentry.h"
#endif #endif
#include "sfPolicy.h" #include "sfPolicy.h"
#include "sfPolicyUserData.h" #include "sfPolicyUserData.h"
/* defaults and limits */ /* defaults and limits */
#define STREAM_DEFAULT_SSN_TIMEOUT 30 /* seconds to timeout a session */ #define STREAM_DEFAULT_SSN_TIMEOUT 30 /* seconds to timeout a session */
skipping to change at line 256 skipping to change at line 257
tPortFilterStats tcp_port_filter; tPortFilterStats tcp_port_filter;
tPortFilterStats udp_port_filter; tPortFilterStats udp_port_filter;
} SessionStatistics; } SessionStatistics;
SessionConfiguration *getSessionConfiguration( bool reload_config ); SessionConfiguration *getSessionConfiguration( bool reload_config );
int SessionTrackingEnabled( SessionConfiguration *config, uint32_t protocol ); int SessionTrackingEnabled( SessionConfiguration *config, uint32_t protocol );
uint32_t GetSessionPruneLogMax( void ); uint32_t GetSessionPruneLogMax( void );
uint32_t GetSessionMemCap( void ); uint32_t GetSessionMemCap( void );
void SessionFreeConfig( SessionConfiguration * ); void SessionFreeConfig( SessionConfiguration * );
int isPacketFilterDiscard( Packet *p, int ignore_any_rules ); int isPacketFilterDiscard( Packet *p, int ignore_any_rules );
int isPacketFilterDiscardUdp( Packet *p, int ignore_any_rules );
typedef void ( *set_dir_ports_cb )( Packet *p, SessionControlBlock *scb ); typedef void ( *set_dir_ports_cb )( Packet *p, SessionControlBlock *scb );
typedef int ( *flush_stream_cb )( Packet *p, SessionControlBlock *scb ); typedef int ( *flush_stream_cb )( Packet *p, SessionControlBlock *scb );
void registerDirectionPortCallback( uint8_t proto, set_dir_ports_cb cb_func ); void registerDirectionPortCallback( uint8_t proto, set_dir_ports_cb cb_func );
void registerFlushStreamCallback( bool client_to_server, flush_stream_cb cb_func ); void registerFlushStreamCallback( bool client_to_server, flush_stream_cb cb_func );
#ifdef SNORT_RELOAD #ifdef SNORT_RELOAD
void register_no_ref_policy_callback(SessionConfiguration *session_conf, NoRefCa llback cb, void *data); void register_no_ref_policy_callback(SessionConfiguration *session_conf, NoRefCa llback cb, void *data);
#endif #endif
 End of changes. 2 change blocks. 
0 lines changed or deleted 2 lines changed or added

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