Commit Graph

2166 Commits

Author SHA1 Message Date
Herbert Wolverson
631b9672f5 Bandwidth overrides are correctly applied. 2024-06-15 09:14:53 -05:00
Herbert Wolverson
1c0aba7c78 Add a zero-capacity site correction to UISP integration. 2024-06-15 09:14:53 -05:00
Herbert Wolverson
4e3da50adf Add minimums to calculated min/max speeds - missed a bit. 2024-06-15 09:14:53 -05:00
Herbert Wolverson
0851a02084 Add minimums to calculated min/max speeds. 2024-06-15 09:14:53 -05:00
Herbert Wolverson
d1b9b4e02a More depth tweaking 2024-06-15 09:14:53 -05:00
Herbert Wolverson
2cfd1f90b7 Correct traversal depth 2024-06-15 09:14:53 -05:00
Herbert Wolverson
0328bc10a3 Correct output IP format. 2024-06-15 09:14:53 -05:00
Herbert Wolverson
05e4a2f59f Correct output order in CSV files 2024-06-15 09:14:53 -05:00
Herbert Wolverson
b6eadc2edf Add in a flat exporter 2024-06-15 09:14:53 -05:00
Herbert Wolverson
db2a301019 Include uisp_integration in build_rust and the build_dpkg scripts. Adjust the scheduler to use subprocess.run to call the new integration. 2024-06-15 09:14:51 -05:00
Herbert Wolverson
14d466898c Format run 2024-06-15 09:12:46 -05:00
Herbert Wolverson
250c091eee Add ShapedDevices.csv creation. 2024-06-15 09:12:45 -05:00
Herbert Wolverson
557d51b53d Add writing network.json 2024-06-15 09:12:41 -05:00
Herbert Wolverson
d7181a663d Support routing overrides 2024-06-15 09:12:37 -05:00
Herbert Wolverson
6cd3993a34 Change client promotion strategy slightly, now it lines up on my system. 2024-06-15 09:12:37 -05:00
Herbert Wolverson
78a8f6dad1 Support for i64 capacaty on devices. 2024-06-15 09:12:37 -05:00
Herbert Wolverson
702c913a01 Re-add disconnected warning. 2024-06-15 09:12:37 -05:00
Herbert Wolverson
5ac3e45aee Reversed links are now handled correctly. 2024-06-15 09:12:37 -05:00
Herbert Wolverson
cfab0ae924 Include 'back' links - so to/from order is irrelevant. 2024-06-15 09:12:35 -05:00
Herbert Wolverson
b93486ee4c Now featuring capacities from UISP, applied and moved around for squashing. 2024-06-15 09:12:32 -05:00
Herbert Wolverson
d13a17821a First attempt at a Rust-based UISP integration system. There's still a LOT to implement, but the basics are there and it isn't missing anything on my crazy layout. 2024-06-15 09:12:27 -05:00
Herbert Wolverson
ba8b2c81a9 #495 - Hoping I got the syntax right, but ignore a vulnerability in a transitive dependency that we don't seem to actually use at all - idna and black. 2024-06-14 14:46:15 -05:00
Herbert Wolverson
4913b0e5cf #495 - Hoping I got the syntax right, but ignore a vulnerability in a transitive dependency that we don't seem to actually use at all - Jinja. 2024-06-14 14:44:47 -05:00
Herbert Wolverson
0b425f4860 ISSUE #495 Correct typo 2024-06-14 14:36:10 -05:00
Herbert Wolverson
c931ab1cc9 References #495 - Cleanup Rust check script with some absolute paths. It fails randomly sometimes, apparently due to a bug in sudo not finding paths properly. 2024-06-14 14:32:08 -05:00
Herbert Wolverson
3a7637d219 ISSUE #495
Add two more issues to ignore because they aren't useful:
* B501. We NEED to support self-signed certificates.
* B607. Partial paths are just fine. Absolute paths would make
  everything needlessly complicated.
2024-06-14 14:26:58 -05:00
Herbert Wolverson
d09c0d432f ISSUE #495
Stop Bandit from trying to audit the built Rust targets. We're
already auditing with Cargo Audit!
2024-06-14 14:22:15 -05:00
Herbert "TheBracket
33a08e95be
Merge pull request #494 from LibreQoE/url_fix_no_bracket
Change download location for geo.bin
2024-06-14 13:35:40 -05:00
Herbert Wolverson
a0adf44984 Change download location for geo.bin 2024-06-14 12:30:10 -05:00
Herbert Wolverson
262d122b59 Merge branch 'update_rocket_and_async_compression' into develop 2024-06-12 12:15:12 -05:00
Robert Chacón
e99a712fa3
Update integrationSplynx.py 2024-06-02 18:45:37 -06:00
Herbert Wolverson
380ae55a04 CLOSES ISSUE #368
Co-authored-by: Casey Primozic <me@ameo.link>

* Update Rocket Async Compression to version 0.6
* Update Rocket to Version 0.5.1

No substantive changes and it works as before, but the compression is faster.
2024-05-31 12:47:01 -05:00
Robert Chacón
0673a34202
Merge pull request #490 from LibreQoE/revert-487-preflight-bridge-check
Revert "Preflight bridge check"
2024-05-30 20:13:45 -06:00
Robert Chacón
b8a0d1977d
Revert "Preflight bridge check" 2024-05-30 20:13:00 -06:00
Herbert "TheBracket
55a88cbe1f
Merge pull request #486 from LibreQoE/xdp_hot_cache
Xdp hot cache
2024-05-30 10:12:14 -05:00
Herbert "TheBracket
17fb5e1d24
Merge pull request #487 from LibreQoE/preflight-bridge-check
Preflight bridge check - check that interfaces are up and not already part of a bridge
2024-05-30 10:11:46 -05:00
Herbert "TheBracket
36d41911f2
Merge pull request #488 from LibreQoE/node_manager_show_name
Change the window title for the node manager to include a specified name from the config
2024-05-30 10:11:02 -05:00
Herbert Wolverson
ab0d76eb6d Change the window title for the node manager to include a specified node name from the config. 2024-05-23 13:21:12 -05:00
Herbert Wolverson
b5f2ca1223 And if enabled with no license key, allow it to be set by a remote activation. 2024-05-23 13:12:55 -05:00
Herbert Wolverson
9b5e1b41e8 Update previous commit to use the right defaults. 2024-05-23 13:10:51 -05:00
Herbert Wolverson
6c3347b339 Change default config to enable LTS sufficiently that local stats are gathered and its ready to try. 2024-05-23 12:41:22 -05:00
Herbert Wolverson
12721dff85 ISSUE #468 - After managing to reproduce it with Robert, this should fix the actual issue. The actual problem was checked subtraction in a timer loop carefully checking for the negative - which isn't allowed - and then doing it anyway. Oops. 2024-05-23 09:55:48 -05:00
Herbert Wolverson
667fec63e9 ISSUEE #486 - Replace THROUGHPUT_BUFFER's external lock that required async with interior mutability regular lock that doesn't. This eliminates the possibility of cross-task locking issues leading to a deadlock, and reduces the surface area of the lock period also. Also replace RwLock with Mutex, the simplicity is usually a net gain. This appears to have resolved the issue for me. 2024-05-22 09:10:13 -05:00
Herbert Wolverson
a326dce33f ISSUE #486 - Fix the B to G in Plotly on the throughput graph. We're replacing it in beta 2, but that turned out to be a one-liner. 2024-05-22 08:41:49 -05:00
Herbert Wolverson
cc6d9d2d2d Missing doc block 2024-05-20 08:42:03 -05:00
Herbert Wolverson
417b545dc7 Add preflight checks that interface(s) are UP. Add a check that if XDP
bridging is enabled, there is no Linux bridge containing the listed
interfaces. If the interfaces are enabled, warnings are emitted and
the XDP bridge disabled to operate in Linux mode.
2024-05-19 21:47:47 -05:00
Herbert Wolverson
0e711dc09c Expand hot cache map size to 32k entries (as Gates would say,
that should be enough for everyone).

Add a "negative cache" element. When a "no match" item appears,
it is mapped to CPU 4294967294. That's considered a safe magic
number, because if you have that many CPUs in one box you are
really going to surprise me.

If an LPM lookup occurs, and still comes up as "no match" - then
the item is cached with this sentinel value. If a hot cache hit
returns the sentinal value, it returns NULL just like if no
hit had occurred.

This should eliminate the performance penalty that accompanies
IP addresses blasting out as fast as they can, but not being
in Shaped Devices.
2024-05-17 15:01:09 -05:00
Herbert Wolverson
8372786d46 TINY change: only set the prefixlen if we're actually going to use it. 2024-05-17 14:52:13 -05:00
Herbert Wolverson
d9eedcd804 Add cache invalidation to the hot cache. Whenever an IP mapping
changes, the cache is invalidated - meaning it will re-cache
the correct values.
2024-05-17 14:36:59 -05:00
Herbert Wolverson
6dc811968b Pin the HOT_CACHE map so it can be accessed elsewhere. 2024-05-17 14:36:59 -05:00