Nils Andreas Svee
1452409fe8
feat(observability): Integrate metrics exporter into main application flow
2026-04-13 15:01:46 +07:00
Nils Andreas Svee
853f807e2c
feat: add metrics module for monitoring
...
Initialize the Metrics structure to receive and process ping statistics as part of the monitoring subsystem.
2026-04-13 12:11:05 +07:00
Nils Andreas Svee
f0fb3c9640
feat(monitoring): add dry-run mode to simulate qdisc rate changes
...
Enable a monitoring-only mode that logs intended bandwidth adjustments without applying them to the system via netlink.
2026-04-13 12:11:05 +07:00
Nils Andreas Svee
6d44556d63
style: reformat thread builder calls in main.rs
...
Standardize the formatting of thread spawning for the receiver and sender to improve code consistency and readability.
2026-04-13 12:06:50 +07:00
Nils Andreas Svee
c2a7c5dfdb
refactor(main): Optimize reflector list assignment
2026-02-22 17:05:06 +07:00
Nils Andreas Svee
1a87372ffb
refactor(main): Centralize thread error handling
2026-02-22 16:58:01 +07:00
Nils Andreas Svee
d4ad24ce4a
feat(util): Introduce Mutex/RwLock error handling traits
2026-02-22 16:57:02 +07:00
Nils Andreas Svee
fa370b323b
feat(pinger): Configurable tick interval
2026-02-22 12:13:14 +07:00
Nils Andreas Svee
67bb185e28
refactor(main): Make reflector pool configurable
2026-02-21 22:42:20 +07:00
Nils Andreas Svee
90d7e75096
refactor: remove custom endian traits in favor of standard library
2026-02-20 22:40:37 +07:00
Nils Andreas Svee
7d11f2a273
no need to have the cake definition in it's own file
...
also remove everything we don't use
2022-11-25 20:21:54 +01:00
Nils Andreas Svee
5c0a6c304f
ratecontroller: use durations instead of manually handling time
2022-11-10 13:54:26 +01:00
Nils Andreas Svee
d5823634ca
Handle initialization for first ratecontroller run better
2022-10-29 22:34:52 +02:00
Nils Andreas Svee
13ba3eaffe
Rename 'clock' to 'time'
2022-10-29 22:30:19 +02:00
Nils Andreas Svee
befccc0d6f
move util functions into respective modules
2022-10-19 21:23:52 +02:00
Nils Andreas Svee
cacc5b1a6b
Apply Clippy recommendations
2022-10-15 14:58:05 +02:00
Nils Andreas Svee
c1286b0ba9
Add clock wrapper class
2022-10-15 13:44:30 +02:00
Nils Andreas Svee
f7bbb32788
Forgot to add endian mod to main
2022-10-15 13:43:37 +02:00
Nils Andreas Svee
1adc5fda77
Split out the ratecontroller logic into functions
...
The original Lua code was duplicated per direction, making it more difficult to read and more prone to mistakes when changing things.
Start splitting this logic out into functions that are called per direction
2022-10-13 17:18:54 +02:00
Nils Andreas Svee
214ffef6f3
Use proper error handling instead of lurking panics everywhere
2022-10-04 16:20:24 +02:00
Nils Andreas Svee
999987d157
Correct comment about ICMP ID
2022-10-03 14:21:12 +02:00
Nils Andreas Svee
2dae569088
Don't hardcode initial shaper bandwidth
2022-09-29 12:09:43 +02:00
Nils Andreas Svee
e4f7b301b5
Use the version from Cargo
2022-09-29 00:24:46 +02:00
Nils Andreas Svee
0cbde6d1ea
Clean up socket creation a bit
2022-09-29 00:24:31 +02:00
Nils Andreas Svee
cf14fcd5f8
Some cleanups
2022-09-28 01:41:51 +02:00
Nils Andreas Svee
f20ff59e78
Allow selection of measurement type in config
2022-09-28 01:29:43 +02:00
Nils Andreas Svee
d73693c25f
Set interface "directions" based on names
2022-09-28 00:50:20 +02:00
Nils Andreas Svee
9219ac690a
Use a RwLock instead of a Mutex for the peers
2022-09-28 00:43:48 +02:00
Nils Andreas Svee
e3b7b7e9ba
Implement missing features, some cleanup
2022-09-28 00:25:35 +02:00
Nils Andreas Svee
b147006a69
partly working implementation
2022-09-17 14:39:27 +02:00
Nils Andreas Svee
27aa972fe6
current state
2022-09-04 16:40:38 +02:00
Nils Andreas Svee
db806c10a1
remove google dns
2022-09-04 14:59:28 +02:00
Nils Andreas Svee
4f1f89588c
work
2022-09-04 01:03:31 +02:00
Nils Andreas Svee
2644b17818
Initial commit
2022-08-27 16:27:15 +02:00