+15/04/28 - build 149
+
+-- fixed build issue with extras
+
15/04/28 - build 148
-- fixed default validation issue reported by Sancho Panza
"Packet errors = 0x%x, ignoring traffic!\n",
(p->ptrs.decode_flags & DECODE_ERR_FLAGS)); );
- if ( SnortConfig::inline_mode() && SnortConfig::checksum_drop(p->ptrs.decode_flags & DECODE_ERR_CKSUM_ALL) )
+ if ( SnortConfig::inline_mode() and
+ SnortConfig::checksum_drop(p->ptrs.decode_flags & DECODE_ERR_CKSUM_ALL) )
{
DEBUG_WRAP(DebugMessage(DEBUG_DECODE,
"Dropping bad packet\n"); );
void SFRF_ShowObjects(RateFilterConfig*);
static inline void EnableInternalEvent(RateFilterConfig* config, uint32_t sid)
-{
+{
if (config == NULL)
return;
config->internal_event_mask |= (1 << sid);
}
-static inline int InternalEventIsEnabled(RateFilterConfig* config, uint32_t sid)
+static inline bool InternalEventIsEnabled(RateFilterConfig* config, uint32_t sid)
{
if (config == NULL)
return 0;
return (config->internal_event_mask & (1 << sid));
}
-
#endif
set (INCLUDES
- thread.h
+ policy.h
+ snort_config.h
snort_debug.h
snort_types.h
+ thread.h
)
add_library (main STATIC
modules.cc
modules.h
policy.cc
- policy.h
shell.h
shell.cc
snort.cc
snort.h
- snort_config.h
snort_debug.cc
snort_config.cc
snort_module.h
noinst_LIBRARIES = libmain.a
x_include_HEADERS = \
+policy.h \
+snort_config.h \
snort_debug.h \
snort_types.h \
thread.h
modules.cc \
modules.h \
policy.cc \
-policy.h \
shell.cc \
shell.h \
snort.cc \
snort.h \
snort_config.cc \
snort_config.h \
-snort_config.h \
snort_debug.cc \
snort_module.cc \
snort_module.h \
// //
//-----------------------------------------------//
-#define BUILD "148"
+#define BUILD "149"
bool stdin_rules;
- char pid_filename[STD_BUF];
+ char pid_filename[1024];
char* orig_log_dir; /* set in case of chroot */
int thiszone;
sfportobject.h
snort_bounds.h
stats.h
+ util.h
)
ADD_LIBRARY( utils STATIC
strvec.h
stats.cc
util.cc
- util.h
util_jsnorm.cc
util_jsnorm.h
util_math.cc
sfmemcap.h \
sfportobject.h \
snort_bounds.h \
-stats.h
+stats.h \
+util.h
libutils_a_SOURCES = \
boyer_moore.cc boyer_moore.h \
snort_bounds.h \
stats.cc \
strvec.cc strvec.h \
-util.cc util.h \
+util.cc \
util_jsnorm.cc util_jsnorm.h \
util_math.cc util_math.h \
util_net.cc util_net.h \