Victor Julien
|
b75eb77295
|
host-os-info: update radix lookups
Update host OS lookups to use the new API.
The return of user_data is treated as a succesful lookup, instead of
the node.
|
13 years ago |
Victor Julien
|
0cf71befbb
|
util-host-os-info: scan-build fix
util-host-os-info.c:202:13: warning: Potential leak of memory pointed to by 'user_data'
SCLogError(SC_ERR_INVALID_IPV6_ADDR, "Invalid IPV6 address inside");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./util-debug.h:278:35: note: expanded from macro 'SCLogError'
#define SCLogError(err_code, ...) SCLogErr(SC_LOG_ERROR, err_code, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./util-debug.h:214:82: note: expanded from macro 'SCLogErr'
char _sc_log_err_msg[SC_LOG_MAX_LOG_MSG_LEN] = ""; \
^~
1 warning generated.
|
13 years ago |
Victor Julien
|
a6474bd6bf
|
util-host-os-info: scan build fixes
util-host-os-info.c:200:13: warning: Potential leak of memory pointed to by 'ip_str'
SCLogError(SC_ERR_INVALID_IPV6_ADDR, "Invalid IPV6 address inside");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./util-debug.h:278:35: note: expanded from macro 'SCLogError'
#define SCLogError(err_code, ...) SCLogErr(SC_LOG_ERROR, err_code, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./util-debug.h:214:82: note: expanded from macro 'SCLogErr'
char _sc_log_err_msg[SC_LOG_MAX_LOG_MSG_LEN] = ""; \
^~
util-host-os-info.c:200:13: warning: Potential leak of memory pointed to by 'user_data'
SCLogError(SC_ERR_INVALID_IPV6_ADDR, "Invalid IPV6 address inside");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./util-debug.h:278:35: note: expanded from macro 'SCLogError'
#define SCLogError(err_code, ...) SCLogErr(SC_LOG_ERROR, err_code, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./util-debug.h:214:82: note: expanded from macro 'SCLogErr'
char _sc_log_err_msg[SC_LOG_MAX_LOG_MSG_LEN] = ""; \
^~
2 warnings generated.
|
13 years ago |
Duarte Silva
|
ab215c72f6
|
Now using the common functions
|
13 years ago |
Victor Julien
|
84bad6db77
|
Silence compiler warnings found by clang
|
14 years ago |
Victor Julien
|
d68fd54a76
|
Fix/suppress a couple of harmless compiler warnings.
|
14 years ago |
Anoop Saldanha
|
a0bce6362e
|
bug 499 - update host os info enum map to use - instead of _ + add new unittests
|
14 years ago |
Victor Julien
|
c4b34e6ef7
|
Fix various minor clang/scan-build warnings.
|
15 years ago |
Anoop Saldanha
|
420befb180
|
Changed my email address to anoopsaldanha at gmail dot com from my current one
|
15 years ago |
Pablo Rincon
|
76af1b049b
|
Make malloc errors on initialization stage a fatal error, resulting on a exit() call
|
16 years ago |
Gurvinder Singh
|
cda664a8c4
|
memroy leaks fixes in detection module, app layer and counters
|
16 years ago |
Gerardo Iglesias Galvan
|
9f4fae5b1a
|
Fix inconsistent use of dynamic memory allocation
|
16 years ago |
William Metcalf
|
ce01927515
|
Import of GPLv2 Header 050410
|
16 years ago |
Pablo Rincon
|
e7a989e305
|
IP Only Engine using radix trees
|
17 years ago |
Jason Ish
|
eab93e766a
|
Do policy lookup for defrag. Add unit test for a default host os policy. Update example config to use a default. Add 2 new policies to the stream to cover all the policies for stream and defrag.
|
17 years ago |
Victor Julien
|
90006d94a6
|
Fix compilation
|
17 years ago |
Jason Ish
|
5c3ab2b73f
|
Load host OS info from the configuration.
|
17 years ago |
Pablo Rincon
|
25a3a5c6d8
|
Adding mem wrapper to debug runtime alloc()/free() functions. Fixing some memory leaks.
|
17 years ago |
Pablo Rincon
|
ad2c136e8f
|
Renaming errors (naming conventions)
|
17 years ago |
Gurvinder Singh
|
a66c6752d5
|
stream os_policy support
|
17 years ago |
Anoop Saldanha
|
eea0e2a807
|
Radix Tree fixes/updates
|
17 years ago |
Victor Julien
|
ecf86f9c23
|
Rename to Suricata.
|
17 years ago |
Anoop Saldanha
|
204aca4431
|
Support host os flavour retrieval functions with raw network addresses
|
17 years ago |
Anoop Saldanha
|
3f91af89a2
|
Added comments to the the Host OS API test
|
17 years ago |
Anoop Saldanha
|
22771d5f52
|
Updated doxygen comment for host os function
|
17 years ago |
Anoop Saldanha
|
7dbc117b37
|
Host OS Table API. Modifications also make to the radix tree to handle netblocks
|
17 years ago |