Commit graph

16 commits

Author SHA1 Message Date
Luca
30e1a75f98 (C) update 2017-01-10 15:03:16 -08:00
Luca Deri
dd04313f3f Fix for #862 2016-12-21 17:26:54 +01:00
Luca Deri
9d4df13c1a Reworked AddressTree implementation 2016-12-20 19:16:34 +01:00
emanuele-f
acb1d25bb5 Alerts delete by type, older than, by host 2016-12-02 11:28:03 +01:00
emanuele-f
45d11c9d40 Fix ipv4 address not being masked with netmask /0 2016-11-23 12:39:02 +01:00
Luca Deri
1b730f8c5d Added ability to define hiost blacklists 2016-11-15 00:18:41 +01:00
Luca Deri
97b19c1461 Introduced the concept of Mac hosts (it used to be mixed with L3 hosts). More work is needed to add L2 stats
Host activities are now enabled (and memory allocated) only for local hosts. Fixed bug in activities preferences
Cleaned up various methods
Removed some old unused code
2016-10-02 19:43:13 +02:00
Simone Mainardi
6af6ed00fb Prevents empty addresses to overwrite valid addresses in ZMQ
This can happen when nProbe is configured to export a template
that contains both IPv4 and IPv6. In these cases nprobe can
send a template such as

payload=0x7f67e9a66aa0 "{\"1\":80,\"2\":2,\"4\":6,\"5\":0,\"6\":2,\"7\":64196,\"8\":\"134.249.163.101\",\"10\":0,\"11\":23,\"12\":\"81.19.152.170\",\"14\":0,\"15\":\"0.0.0.0\",\"16\":15895,\"17\":38955,\"21\":1474542213,\"22\":1474542202,\"23\":0,\"24\":0,\"27\":\"::\","..., payload_size=309, source_id=0 '\000', data=0x2477560) at src/ParserInterface.cpp:560

where both the IPv6 (field "27") and IPv4 (field "8") can be exported simultaneousy.
Before this commit the empty IPv6 could overwrite the non-empty IPv4
2016-09-22 15:35:19 +02:00
Luca Deri
d7c452f0a3 Moved to 2016 2016-01-01 09:27:39 +01:00
Luca
440a2c8329 Reworked flow listing by sorting flows in memory before they are pased to Lua. This prevents Lua from using too much memory (in particular with limited-memory hosts or large sites with many flows) 2015-12-26 12:34:45 +01:00
Luca Deri
78175f71d8 Changes due to nDPI IPv6 typedef changes 2015-10-12 09:39:54 +02:00
Luca
75a5293d95 Implemented lua method for reading the list of local nets 2015-08-21 23:23:32 +02:00
Luca Deri
b98009fc65 Compilation fix 2015-08-13 00:49:48 +02:00
Luca
f690d63d87 Added fix for handling netmask in traffic policer 2015-08-12 19:14:53 +02:00
Luca
f543926066 Optimized categorization of malware sites
Extended Host class to identify multicast and broadcast (limited to 0.0.0.0 and 255.255.255.255 IPs)
2015-05-28 15:33:42 +02:00
Luca Deri
b178cf4121 Added travis file for code testing
Added .gitignore file for ignoring selected files
Reworked src and include paths to organize the source better
Fixed bug with invalid git version caused in some settings that do not compile code extracting it from github
2015-05-01 19:40:52 +02:00
Renamed from IpAddress.cpp (Browse further)