6 Commits

Author SHA1 Message Date
Ad Schellevis
58759bd1ab shaper - minor coverity fixes:
1527330 Bad use of null-like value in __init__.py
1527326 Bad use of null-like value in __init__.py
1527315 Bad use of null-like value in __init__.py
2022-12-23 14:29:55 +01:00
Ad Schellevis
f4966e15c6 Firewall / Shaper: the current number of allowed source / destination addresses is limited to a couple of addresses. in order to match larger lists one need to use tables in order for ipfw to process them.
This commit replaces all rule source / destinations where more than one address is being targetted with a tablename like __rule__{uuid}__[source,destination] a support tool after load flushes the selected addresses into the table (which is automatically created by the ruleset). closes https://github.com/opnsense/core/issues/4756
2021-03-03 18:40:22 +01:00
Ad Schellevis
7704dc2519 Shaper: replace legacy page diag_limiter_info.php with an api enabled traffic breakdown overview. closes https://github.com/opnsense/core/issues/3994 2020-03-24 16:33:36 +01:00
Ad Schellevis
c8e607a8a9 Shaper: add statiscs endpoint /api/trafficshaper/service/statistics for https://github.com/opnsense/core/issues/3994 2020-03-21 12:19:16 +01:00
Franco Fichtner
fe3a49c2d2 src: fix lint pass 2020-03-21 08:28:21 +01:00
Ad Schellevis
fff394c44b Shaper: add wrapper to collect different ipfw stats to be combined in the api controller to build later.
new call `configctl ipfw stats`

There are some assumptions in parsing these stats, ipfw/dummynet man page doesn't seem to provide mich insights on the details delivered by the various "show" commands.

for https://github.com/opnsense/core/issues/3994
2020-03-20 19:57:19 +01:00