Commit graph

3564 commits

Author SHA1 Message Date
Luca Deri
d3444879d0 Host pool member counter is now displayed in the interface page 2017-09-11 22:18:40 +02:00
Luca
1b84953e3f Implemented per pool counters 2017-09-11 19:20:43 +02:00
Luca Deri
ec0239b21e Added include 2017-09-11 10:18:57 +02:00
Luca Deri
e2dc8f8c19 Implemented support of MAC-less NetFilter packets with L2 visibility via source MAC reported by NetFilter
Added numeric interface type to enhance interface comparison speed
2017-09-11 01:25:52 +02:00
emanuele-f
06b33d1a6d Expose API to map MAC addresses to IP addresses 2017-09-10 16:27:41 +02:00
emanuele-f
c97304a9e1 Filter by mac location 2017-09-10 13:28:57 +02:00
Luca Deri
e302c4fcff Implemented Mac location (LAN, WAN, unknown) 2017-09-09 00:06:47 +02:00
Luca Deri
94cbfece87 Changed logic for storing bridge interface id on MACs 2017-09-08 17:58:01 +00:00
Simone Mainardi
906aff3e20 Implements use of post-nat src/dst addresses and ports
Implements https://github.com/ntop/ntopng/issues/1398
2017-09-07 16:24:53 +02:00
Luca Deri
3f051b4335 Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2017-09-07 13:52:12 +02:00
Luca Deri
848b628048 Reduced CPU usage as requested in #1422 2017-09-07 13:51:53 +02:00
Simone Mainardi
0499fce4d3 Adds missing ZMQ fields 2017-09-07 12:29:47 +02:00
Luca Deri
dc2b7fd269 Modified LuaJIT userdata handling 2017-09-07 11:28:29 +02:00
Simone Mainardi
ef70bcb2a5 Removes unused interface second traffic counters 2017-09-06 16:00:22 +02:00
emanuele-f
42ef95548f Add a method to reset redis database 2017-09-05 13:04:46 +02:00
Simone Mainardi
5955ee576c Handles multiple banaced ZMQ endpoints 2017-09-05 10:18:04 +02:00
Luca
1304799f1f Added boot.lua script that is executed at boot
- before ntopng switches from superuser to nobody
- before networking is initialized

The idea behind this script is to execute startup actions before
ntopng is really started, and while we're still superuser
2017-09-04 17:06:37 +02:00
Luca Deri
ee4e3548b3 Mac with VLANs are now searched also on HostPool 0 (no VLAN) 2017-09-04 10:42:23 +02:00
Luca Deri
7ea8dfcf9c Fixed bug caused by invalid preference handling of IPv4 addresses 2017-08-31 23:46:18 +02:00
emanuele-f
2a21832c54 Restore host total_activity_time 2017-08-30 15:17:31 +02:00
Luca
17e9433731 Cleaned getLuaVMUserdata() code, addes getLuaVMUservalue 2017-08-29 19:35:40 +02:00
Luca
bd7d994dbe Defined macro for LuaVM userdata macro 2017-08-29 15:09:40 +02:00
Simone Mainardi
1f2019789b Adds missing #include lj_obj.h 2017-08-29 14:21:28 +02:00
Luca
69273c5cc6 Reworked the way ntopng and Lua share environment 2017-08-29 08:30:50 +02:00
emanuele-f
d67e1da455 Move slack prefs under the ntopng.prefs key 2017-08-28 10:12:07 +02:00
Luca Deri
2a4a29710f Host trackers are not discarded from the list of top visited sites 2017-08-17 19:20:05 +02:00
emanuele-f
8b92590287 Make the user defined device type a preference and fix host pool member icon assignment 2017-08-16 18:18:02 +02:00
emanuele-f
29a5a7e013 Add device filter by device type dropdown 2017-08-16 18:18:02 +02:00
Simone Mainardi
c4a6ddd3a4 Implements bridge configuration via HTTP 2017-08-16 18:09:33 +02:00
Luca Deri
43cca84ebe Fix for #1401 2017-08-16 11:55:35 +02:00
Luca Deri
2405449029 Removed the concept of secondary mac: one mac fits all
Removed activity heatmap: it will be soon replaces with host timeseries
2017-08-16 11:06:15 +02:00
Luca Deri
c74abf4eb0 Network discovery:
- Removed redundancies between C and Lua
- Discovery is now enabled at interface creation (if supported by the device).
2017-08-16 09:07:28 +02:00
Luca Deri
8fa9b5a839 Enhanced NetworkInterface::setMacDeviceType 2017-08-13 10:47:28 +02:00
Luca Deri
6ab41bee36 Device discovery now sets the device type in the Mac class
Mac devices are now serialized/deserialized
2017-08-13 10:26:14 +02:00
Simone Mainardi
a86f3dd36e Implements DB interoperability b/w ntopng and nProbe 2017-08-11 16:51:10 +02:00
Luca Deri
df41e83925 Added detection of ghost hosts in discovery 2017-08-11 14:24:05 +02:00
Luca Deri
175a1568a5 Menu discovery is now contextual only fpr interafaces that can support it 2017-08-11 12:48:56 +02:00
Luca Deri
f99eaf5c86 Implemented NetBIOS name query 2017-08-11 10:52:50 +02:00
Simone Mainardi
816965b1ac Implements support of flow field FIREWALL_EVENT 2017-08-10 15:54:03 +02:00
Luca Deri
71991b06ee Implemented MDNS OSX discovery 2017-08-09 14:17:07 +02:00
Luca Deri
af74f3b041 Added Lua batch SNMP API 2017-08-09 10:26:25 +02:00
Luca Deri
7b15221414 Cleaned up SNMP code and moved onto a new class 2017-08-09 09:23:08 +02:00
Luca Deri
39a7dcc20e Discovery update 2017-08-08 12:42:13 +02:00
emanuele-f
34c22678af Remove unnecessary wrapper structure 2017-08-08 12:30:50 +02:00
emanuele-f
9040dd56ae Enable top protocols computation on the periodic housekeeping thread 2017-08-08 12:01:46 +02:00
Luca Deri
c5eca39162 Added MDNS response dissection 2017-08-08 10:10:16 +02:00
emanuele-f
9661c38a4b Initial frequent items support 2017-08-08 01:29:12 +02:00
Luca Deri
7d72bcf20d Improved MDNS resolution 2017-08-07 23:00:34 +02:00
Simone Mainardi
3908b56e07 Implements log rotation
Fixes 1056
2017-08-07 19:43:56 +02:00
Luca Deri
7226199819 Implemented async MDNS address resolution 2017-08-07 15:26:57 +02:00