Commit graph

84 commits

Author SHA1 Message Date
Simone Mainardi
da1dbe4ab0 Reworks hash entries idling 2019-09-24 14:29:20 +02:00
emanuele-f
06f3077da8 Avoid excessive redis lookups for hosts when hosts cache is disabled 2019-09-09 12:42:35 +02:00
Emanuele Faranda
c829c4c3c3
Unify os (#2755)
* Unify OS information.

Now OS information is only stored into the Host. The lua uses numeric IDs to handle OS.

* Fix network discovery OS

* Show OS detail into the host details page
2019-08-08 12:09:51 +00:00
Simone Mainardi
f110602192 Refactors hash entry state setters to ease override 2019-08-05 12:12:16 +02:00
Simone Mainardi
9b6714823a Implements hash entries lifecycle as a finite states machine
Fixes certain sporadic race conditions
2019-07-22 15:18:39 +02:00
Emanuele Faranda
c09199690f
Unify serialization to redis and implement VLAN/AS serialization (#2610) 2019-05-27 08:11:20 +00:00
Simone Mainardi
9e86e6b613 Reduces memory usage of arp matrix 2019-03-08 13:19:46 +01:00
Simone Mainardi
0a903c97ce Finishes rework of ArpStatsHashMatrix 2019-03-07 14:20:41 +01:00
Simone Mainardi
876d8a5ff5 Fixes counting of host pool l2 devices 2019-02-28 16:04:11 +01:00
emanuele-f
4cb88b56a9 Remove DHCP flag on the MAC
Now the concept of DHCP host is bound to an Host rather than a Mac
2019-02-26 18:45:47 +01:00
emanuele-f
46d76c6097 Add json parse errors debug messages 2019-02-18 11:55:13 +01:00
Simone Mainardi
4a0f18038e Fixes anomaly index serialization issues 2019-02-06 12:13:42 +01:00
Simone Mainardi
0ee599d052 Adds MDNS/MDNS TXT/resolved names to the host details page 2019-01-30 14:36:33 +01:00
Simone Mainardi
5110b1cadf Prevents certain races when no heap mem is avaiable 2019-01-29 12:31:06 +01:00
Simone Mainardi
9b336937df Properly handles host names with concurrency 2019-01-28 17:56:40 +01:00
Simone Mainardi
50e32be5a7 Properly handles Host ssdp and mdns without shadows 2019-01-25 12:39:43 +01:00
Simone Mainardi
94d66beb4c Additional Mac cleanup 2019-01-25 10:15:23 +01:00
Simone Mainardi
4dd3f55d63 Properly handles Mac ssid without shadows 2019-01-25 10:09:03 +01:00
Simone Mainardi
43e2e8a348 Properly handles Mac fingerprint without shadows 2019-01-24 18:50:50 +01:00
Simone Mainardi
9de158de8b Properly handles Mac model without shadows 2019-01-24 18:35:55 +01:00
Emanuele Faranda
1bf7da7ef7 Implements Mac stats/data reset and reset at midnight (#2326)
* Host data/stats delete improvements

* Rework mac counters and implemtent mac stats/data reset

* Implement stats reset at midnight

* Add missing files
2019-01-21 17:27:12 +01:00
emanuele-f
2dbf1e9cb8 Rework host counters and implemtent host stats/data reset 2019-01-18 19:31:16 +01:00
Luca Deri
bedff2c8e2 Updated (C) 2019-01-07 19:28:49 +01:00
Simone Mainardi
859e85c7ce Fixes C to Lua integer types conversions affecting OS X 2018-11-23 15:58:38 +01:00
Simone Mainardi
44201d4cfb Fixes invalid device types over ZMQ
Fixes #2161
2018-11-20 12:58:35 +01:00
Simone Mainardi
3291161aed Fixes userddefined device type overwritten by ntopng
Fixes #2084
2018-10-12 16:51:38 +02:00
Simone Mainardi
413667f326 Uses Redis STRLEN to compute the size of deserialized local hosts and macs
Fixes #2006
2018-09-13 17:15:29 +02:00
Luca Deri
87f8bece22 Fix for #1972 2018-09-04 12:38:42 +02:00
Simone Mainardi
8cca1f6703 Implements informative captive portal (no login) 2018-06-06 10:33:36 +02:00
Luca
d1dcff81c4 Improved passive MDNS discovery
Fixed MDNS decode loop
2018-04-02 11:31:28 +02:00
emanuele-f
02cec8a2be Remove host macs and show source macs instead 2018-03-23 14:42:21 +01:00
Luca Deri
f0c936c368 Updated (C) to 2018 2018-03-22 21:59:42 +01:00
emanuele-f
1ad9aade87 Remove VLAN id from MAC addresses
Fixes #1626
2018-03-06 14:48:22 +01:00
Luca Deri
06e1183302 Added IoT discovery (Nest/Netatmo) initial support 2017-11-18 18:04:56 +01:00
Luca
15962f3e0b Added listr of VM mac prefixes 2017-11-05 23:12:57 +01:00
Luca
7186e17801 Added detection for raspberry 2017-11-05 22:58:02 +01:00
Luca Deri
9e7c0b69f2 Updated conntrack check
Minor improvements
2017-10-27 13:54:11 +02:00
Luca Deri
82cadd7e17 DHCP fingerprint improvements 2017-10-23 10:45:07 +02:00
Luca Deri
4b01406137 Improved fingerprinting support
Disabled HTTP banned page support as in the current implementation is ambiguous
Fixed flow parsing leak
2017-10-15 07:46:20 +02:00
Simone Mainardi
58256e12f3 Implements per-MAC host pool counters
Fixes #1511
Implements #1478
2017-10-13 12:42:21 +02:00
Luca Deri
3207a1d491 Various fixes for properl handling Mac device types 2017-10-08 14:52:17 +02:00
Luca Deri
a5ec038f8a Added heuristict to detect routers 2017-10-08 14:00:38 +02:00
Simone Mainardi
7a1a28f5e8 Implement per-host/mac/pool drop flow count (backend)
Implements #1500
2017-10-06 16:43:42 +02:00
Simone Mainardi
5ebfb6f01c Implements per-MAC nDPI categories (backend + frontend) 2017-10-04 17:36:56 +02:00
emanuele-f
bb7cbd800c Fix lua location 2017-09-22 10:23:11 +02:00
emanuele-f
ef28a28fc7 Expose MAC location to lua 2017-09-20 15:40:45 +02:00
Luca Deri
fdb7a8ab41 Initial work towards OS discovery 2017-09-19 00:33:15 +02:00
Luca Deri
2d452ad5f5 Improved fingerprint representation in reports
DHCP MAC are now displayed with an icon
Fingerprint is now serialized to JSON
2017-09-18 13:08:20 +02:00
Luca Deri
e607679721 Fingerprint enhancements 2017-09-18 00:22:13 +02:00
Luca Deri
4d0134163a Added DHCP fingerprint support 2017-09-18 00:02:26 +02:00