Commit graph

569 commits

Author SHA1 Message Date
Luca Deri
0623d2fc7d Changed the way host pool inc/dec are implemented to avoid race conditions 2017-10-11 17:29:23 +02:00
Simone Mainardi
3daaedc144 Adds device type in mac reports column
Implements #1451
2017-10-09 18:21:15 +02:00
Simone Mainardi
d5e36e87f4 Adds an Active Flows page to the AS details 2017-10-09 12:54:06 +02:00
Simone Mainardi
4e4020a480 Implements flows filter by client/server ASN 2017-10-08 22:54:24 +02:00
Simone Mainardi
e4cd8b1a39 Excludes informative (fake) nDPI protos from the statistics 2017-10-06 18:18:56 +02:00
Simone Mainardi
7a1a28f5e8 Implement per-host/mac/pool drop flow count (backend)
Implements #1500
2017-10-06 16:43:42 +02:00
emanuele-f
27dcd1ed05 Flow aggregations changes 2017-10-06 13:46:24 +02:00
Simone Mainardi
4b2d6c8af6 Hardening: more restrictive permissions of created files and dirs
As top_talkers and alerts_db were created with root privileges,
a chown may be required if the process is run with nobody

-rw-r--r-- 1 root   root    3.0K Oct  3 16:35 top_talkers.db

Fixes #1486
2017-10-03 16:47:18 +02:00
Luca Deri
124364c4a2 Initial work towards better flow serialization 2017-10-03 14:55:35 +02:00
Simone Mainardi
f82bd67ed8 Fixes multiple packet dump issues
This commit fixes packet dump:
- file size control
- old files rotation control
- packets per dumped files
- etc.

Fixes also #1494
2017-10-02 17:42:39 +02:00
Luca
523d6cee8a Discovery fixes 2017-09-28 09:02:44 -06:00
Luca
83e1a54190 Purge cleanup 2017-09-28 04:09:49 -06:00
Luca
2353aa3943 Changes for improving subinterfaces 2017-09-27 01:29:18 -05:00
emanuele-f
09ad524f96 Add a method to drop multiples flows traffic 2017-09-27 00:10:00 +02:00
emanuele-f
1e9e2f11dd Fix hard-coded contraint 2017-09-26 20:46:51 +02:00
Simone Mainardi
cc155573ae purgeIdle performance improvements
purgeIdle is only run on interfaces that have actually seen
traffic
2017-09-26 15:37:20 +02:00
Simone Mainardi
bf0df0be7c Prevents zero-divisions in GenericTrafficElement throughput calc.
Attempts to fix #1446
2017-09-26 14:44:53 +02:00
Simone Mainardi
d56ee2fd50 Fixes double per-packet purgeIdle with sub interfaces 2017-09-26 13:05:53 +02:00
Simone Mainardi
7abdbcd56a Fixes getMac on view interfaces 2017-09-26 11:18:05 +02:00
emanuele-f
d989cd4880 Replace hard-coded constraint with NO_HOST_POOL_ID 2017-09-25 19:10:46 +02:00
emanuele-f
36d34b6e3c Core support for automatic device pool assignment 2017-09-25 18:17:39 +02:00
Simone Mainardi
3efd2db95c VLAN simulation now uses the sum of src and dst IPs 2017-09-25 17:46:18 +02:00
Simone Mainardi
85098c864a Sub-interfaces and interface view fixes
Fixes #1461
2017-09-25 16:21:46 +02:00
Simone Mainardi
41cb13a280 Fixes crash for multiple same-VLAN sub-interfaces 2017-09-25 12:52:53 +02:00
Luca Deri
462e6aa072 Virtual interface fixes 2017-09-24 20:00:34 +02:00
emanuele-f
3a522a2c5b Implement flow grouper 2017-09-24 00:09:35 +02:00
Luca Deri
9a27968765 Fixed virtual interface creation
Reordered interface names in the interface menu, and split physical from virtual interfaces
2017-09-23 09:45:42 +02:00
Simone Mainardi
baa9d01dbb Implements counts for hashed view interfaces VLANS, ASes and Macs 2017-09-22 20:42:36 +02:00
Simone Mainardi
f10104c6a3 Implements recursive getters for hased view interfaces
Implements #1461

TODO: Implements changes also for VLANs, ASESs and MACs
2017-09-22 20:27:37 +02:00
Luca Deri
07bb923450 Fix for missing libcap-dev lib in README.compilation
Fixed bugs on ARP/ICMP sorting due to packet formatting
Added drops reset when an interface is just initialized
Fixed bug on RuntimePrefs hash get
2017-09-21 14:57:27 +02:00
Luca Deri
e682411abc Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2017-09-21 00:40:05 +02:00
Luca Deri
32894420f0 Implemented flow stats set 2017-09-21 00:39:47 +02:00
emanuele-f
4521ed15ef Add flows filter by pool id and mac address 2017-09-21 00:38:39 +02:00
Luca Deri
29b15ec6bc Implemented Redis dump/restore
Fixes for changed nDPI API
2017-09-20 00:08:16 +02:00
Simone Mainardi
3f8375fa0a Implements interface protocol category view
Implements #1450
2017-09-19 17:57:39 +02:00
Luca Deri
fdb7a8ab41 Initial work towards OS discovery 2017-09-19 00:33:15 +02:00
Luca Deri
bbb5b96d3e Added DHCP filtering in L2 devices 2017-09-18 16:24:36 +02:00
Luca Deri
c45cad108e Added check for boot packet type 2017-09-18 13:33:46 +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
2bec8e7cb6 Fixed bug that prevented DHCP option 55 to be dissected in some packets 2017-09-18 12:37:00 +02:00
Luca Deri
4d0134163a Added DHCP fingerprint support 2017-09-18 00:02:26 +02:00
Luca Deri
61884558f5 Added method for reporting if a network interface supports traffic directions 2017-09-16 18:55:33 +02:00
Luca Deri
3f62a7f9c3 Implemented traffic direction in network interfaces 2017-09-16 18:35:06 +02:00
Simone Mainardi
4ac6c92b9c Implements custom nDPI proto categories changes 2017-09-15 19:48:49 +02:00
Luca Deri
20b665f0b6 Fixed for executing network discovery when ntopng moved to nobody (Linux only) 2017-09-15 19:24:23 +02:00
Simone Mainardi
7b7f8352d2 Compilation fix after nDPI cat. change 2017-09-15 12:21:57 +02:00
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
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