Commit graph

70 commits

Author SHA1 Message Date
Luca Deri
dfb41880d5 Reworked nDPI stats (and dependencies)
Removed deserialization code
2023-04-08 14:27:05 +02:00
lucaderi
d395deac4e Automated commit of clang-format CI changes. 2023-04-07 14:20:44 +00:00
Luca Deri
05ecf9eb90 Remove un-necessary VLANid type in order to simplify code and avoid un-necessary and's 2023-02-20 22:30:12 +01:00
Luca Deri
78a757b84e Updated (C) 2023-02-19 19:16:07 +01:00
Alfredo Cardigliano
19310ffd06 Initial cleanup of useless consts towards migration to modern C++ (#6271) 2022-02-03 15:57:34 +01:00
Alfredo Cardigliano
f2060f2488 Copyright update (C) 2022-01-03 09:35:09 +01:00
Simone Mainardi
41df57253e Pool getter fixes 2021-08-11 11:59:45 +02:00
Luca Deri
846d24c5e9 Initial VLANid rework 2021-06-15 23:01:59 +02:00
Simone Mainardi
8f6ad08f27 Reworks host pools reload without sleeps
Addresses #5412
2021-05-26 17:23:41 +02:00
Simone Mainardi
42c82ba8f4 Implements C++ HostPool getPoolByName
Implements #5409
2021-05-25 11:42:42 +02:00
Simone Mainardi
aea9138bfb Implements flow callbacks and alerts in C++ 2021-03-22 09:51:36 +01:00
Alfredo Cardigliano
9c196d322b Use Patricia from nDPI 2021-02-23 12:34:49 +01:00
Luca Deri
a1178a0791 Updated (C) 2021-01-02 12:08:23 +01:00
Simone Mainardi
d21fe7d6e1 Cleanup of unused volatile members 2020-11-26 18:50:19 +01:00
Simone Mainardi
1baa7d6cc4 Avoids double 5-sec HT-walks to update stats 2020-07-27 14:22:59 +02:00
Luca Deri
57e6a93065 Improved scheduling algorithm to guarantee minimum service time when number of entries allow
Updated (C)
2020-01-06 23:36:36 +01:00
Simone Mainardi
3413a6afd0 Implements stats rather than grouped hosts data for host pools stats 2019-08-20 11:45:11 +02:00
Simone Mainardi
5e5ad77cec Implements broadcast domain too large alerts 2019-04-01 14:20:57 +02:00
Luca Deri
bedff2c8e2 Updated (C) 2019-01-07 19:28:49 +01:00
emanuele-f
faa888626b Fix ChildSafe not applied on "Not Assigned" user 2019-01-03 11:54:49 +00:00
Luca Deri
f0c936c368 Updated (C) to 2018 2018-03-22 21:59:42 +01:00
emanuele-f
d09454d0d1 Complete VLAN id MAC addresses removal 2018-03-06 15:40:09 +01:00
emanuele-f
4c84f1da2f Implement "hide from top" preference 2018-03-05 16:01:33 +01:00
emanuele-f
f8d7677710 Add per-user default policy and change policy application order.
The order is now the following

1) User protocol policy
2) User category policy
3) User default policy

The "not assigned" user policies are not a fallback any more.
They are only applied on not assigned devices.
2018-02-21 17:05:46 +01:00
emanuele-f
5e9e3f0f08 Routing policy fixes 2018-01-26 14:11:15 +01:00
Simone Mainardi
e22c6ab0e4 Periodic dump of hosts pools stats 2018-01-16 15:17:13 +01:00
emanuele-f
8ad7b4ce08 Quotas fixes and improvements
- Fix concurrency issue while resetting quotas
  - Fix quota serialization issues
  - Add missing total stats serialization
  - Add per-pool quotas reset
  - Fix missing string cast on cross application quotas
  - Fix quota reset after midnight when ntopng is restarted
2018-01-05 10:16:50 +01:00
emanuele-f
fcef4212c1 Add per-pool forge dns preference 2017-12-08 14:30:58 +01:00
Simone Mainardi
6ed9e051d1 Prevents race conditions in reloadPools 2017-11-17 18:16:53 +01:00
Luca
044fe19677 Reworked nSeries support
Added patch for avoiding #1545
2017-11-09 23:55:52 +00:00
emanuele-f
2361eefee1 Implement per pool schedule 2017-11-02 14:15:07 +01:00
emanuele-f
710c6cc5ad Add per-pool shaper support 2017-11-02 02:13:10 +01:00
Simone Mainardi
a67205af77 Implements per-host traffic shapers 2017-10-23 15:01:34 +02:00
Luca Deri
588e6a9e46 Compilation fix 2017-10-21 17:56:16 +02:00
Simone Mainardi
80c8b749e7 Reworks host pool counters
Fix (tentative) for #1522
o
2017-10-21 16:24:43 +02:00
Simone Mainardi
b11538aa47 Implements enforcement of cross application quotas 2017-10-18 19:48:13 +02:00
Simone Mainardi
5c2353eb0a Adds host pool flag to enforce cross application quotas 2017-10-18 18:57:56 +02:00
Simone Mainardi
58256e12f3 Implements per-MAC host pool counters
Fixes #1511
Implements #1478
2017-10-13 12:42:21 +02:00
Simone Mainardi
686fe178ab Host pools members count fixes 2017-10-12 12:14:42 +02:00
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
7a1a28f5e8 Implement per-host/mac/pool drop flow count (backend)
Implements #1500
2017-10-06 16:43:42 +02:00
Luca
d9d1ad7d5b Implemented per-pool routing policy id 2017-09-26 17:12:49 -05:00
Luca Deri
91080cf508 Fixed glitch in host pools 2017-09-11 22:24:29 +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
ee4e3548b3 Mac with VLANs are now searched also on HostPool 0 (no VLAN) 2017-09-04 10:42:23 +02:00
Simone Mainardi
b1b53e3a48 Fixes memory leaks in reloadPools
May also affect issue #1345

 Please enter the commit message for your changes. Lines starting
2017-07-05 13:06:15 +02:00
Simone Mainardi
f9a9a22ef7 initial work towards adding enterprise limites 2017-05-31 17:11:10 +02:00
emanuele-f
9d0773f40b Add Unknown Devices view 2017-05-23 23:02:06 +02:00
Simone Mainardi
b5e685f243 Implements per pool member quotas 2017-05-09 15:07:53 +02:00