Commit graph

96 commits

Author SHA1 Message Date
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
54473f7883 Updates host pools stats also in community mode 2019-08-20 12:00:41 +02:00
Simone Mainardi
00ac9c2968 Compilation fix 2019-08-20 11:49:10 +02: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
485d398826 Resets host pool stats at midnight only for nEdge 2019-08-16 10:32:14 +02:00
Simone Mainardi
5e5ad77cec Implements broadcast domain too large alerts 2019-04-01 14:20:57 +02:00
emanuele-f
ab9f9326da Improvements after running cppcheck 2019-03-07 14:05:36 +01:00
emanuele-f
2ac8f4f716 Leak fix when host pools exceed limit
This does not normally happen in production
2019-02-26 11:10:23 +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
8ae06c81a7 Handles number of pools and members exceeding maximum 2018-10-19 00:04:28 +02:00
emanuele-f
658e30a586 Improve category stats calculation 2018-10-11 16:08:45 +02:00
Simone Mainardi
dcd1848579 Fixes use of HSTRLEN only available in Redis >= 3.2.0 2018-10-11 11:57:56 +02:00
Simone Mainardi
a4d2597fee Fixes HostPools JSON Parse errors by deserializing in the heap 2018-10-10 18:06:44 +02:00
Simone Mainardi
7c916a6c1c Fixes host pools load indexing 2018-09-11 17:41:19 +02:00
Simone Mainardi
f7fdc40c72 Major nEdge code cleanup 2018-08-06 17:54:25 +02:00
Simone Mainardi
866b38e32b Allocator sizeof operand mismatch fixes 2018-05-28 16:45:20 +02:00
cardigliano
5dda4d8885 compilation fixes 2018-05-24 16:47:21 +02: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 Faranda
d215048aaa Force re-evaluation of flows when pools are reloaded.
This is needed, for example, to kick out expired captive portal devices.
2018-01-29 12:40:22 -05:00
emanuele-f
5e9e3f0f08 Routing policy fixes 2018-01-26 14:11:15 +01:00
emanuele-f
f0bea98cbb Fix quota deadline 2018-01-18 18:02:51 +01:00
Luca Deri
2655d422e4 The default SNMP community used in discovery is now read from preferences and "public" is used only as fallback 2018-01-07 16:29: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
Luca Deri
927ee7ff95 Compilation fix 2017-12-08 18:26:53 +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
emanuele-f
deaca66fea Remove debug messages 2017-11-10 18:00:15 +01:00
Luca
a2b4c17f18 Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2017-11-09 23:56:57 +00:00
Luca
044fe19677 Reworked nSeries support
Added patch for avoiding #1545
2017-11-09 23:55:52 +00:00
Emanuele Faranda
607d103e66 Remove auto assigned host pool id users limit 2017-11-10 00:48:57 +01:00
Emanuele Faranda
598145c4a7 Update first and last seen in host pools stats 2017-11-04 21:16:43 +01:00
emanuele-f
f6a73ed1e3 Fix time schedule bugs 2017-11-02 17:13:32 +01:00
emanuele-f
2361eefee1 Implement per pool schedule 2017-11-02 14:15:07 +01:00
emanuele-f
e77e16d91d Add cross application pool quota selector 2017-11-02 11:12:46 +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
Simone Mainardi
45c9f6ed73 Fixes initialization of host pool counters
Fixes #1522
2017-10-22 16:11:01 +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
emanuele-f
f73871cd25 Expose HostPools information 2017-10-16 11:55:34 +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
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
e107a30d99 Compilation fix 2017-09-11 22:30:15 +02:00