Commit graph

81 commits

Author SHA1 Message Date
Alfredo Cardigliano
c0a7f2e013 Add toggle to enable dynamic blacklist on pool (exposed via host->hasDynamicBlacklist()) 2025-08-13 18:29:19 +02:00
Alfredo Cardigliano
af94a60dd6 [nEdge] Add configuration for Block Blacklisted Flows and Max Flow Size. Provide host->doBlockBlacklistedFlows() and host->getMaxFlowSize() 2025-08-12 15:37:28 +02:00
Manuel Ceroni
63e6427ab9
Implement traffic quota serialization/deserialization on shutdown/startup (#9273)
* Fixed traffic quota reset after service restart

* Fixed traffic quota serialization/deserialization on shutdown/startup

* Fixed traffic quota reset and startup check

* Cleanup traffic quota resets

* Fixed daily and weekly startup check resets for pools quotas

* Reworked weekly startup check for pools quotas

* Fixed lastMondayMidnight function
2025-06-13 13:38:38 +02:00
Alfredo Cardigliano
9352d0cdcd Update copyright 2025-01-02 09:09:56 +01:00
Matteo Biscosi
1285062e3a Fixes community compilation issue 2024-10-01 22:39:23 +02:00
Matteo Biscosi
68364512a6 Added license limits page (#8699) 2024-10-01 21:07:59 +02:00
Alfredo Cardigliano
3a08b62e05 Return host_pool_match (ip or mac) from C 2024-07-12 15:55:22 +00:00
Luca Deri
55870e97b9 (C) Update 2024-01-12 11:44:18 +01:00
Alfredo Cardigliano
cbce1064cb Move host pool name in reload 2023-11-30 16:46:48 +01:00
Alfredo Cardigliano
573afd0044 Fix default pool reload 2023-11-30 16:03:51 +01:00
Matteo Biscosi
4a1b2b758c Moved active local host caching into periodic host check 2023-11-22 11:33:51 +00:00
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