Nils Andreas Svee
9fb0e0cfe7
chore: update deps
2026-02-20 22:56:04 +07:00
Nils Andreas Svee
4670345caa
build: update rustix and dependencies
...
Update rustix to version 1.1 and refresh the Cargo lockfile to ensure compatibility with the latest transitive dependency versions.
2026-02-20 22:49:11 +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
6553b643eb
fix(osv): correct branch names
2025-06-13 12:18:35 +07:00
Nils Andreas Svee
fa20dd4137
fix(baseliner): correct up_ewma to be taken from up time
2025-06-13 12:17:46 +07:00
Nils Andreas Svee
111d1cda95
chore: use latest osv scanner workflow from google
2025-06-13 12:11:56 +07:00
Nils Andreas Svee
ffa3190735
chore: update osv-scanner to v2.0.2
2025-06-13 11:59:39 +07:00
Nils Andreas Svee
2fd4fade2d
chore(build): install mold dep
2025-05-28 13:40:38 +07:00
Nils Andreas Svee
4b47633457
fix(build): move config.toml to the right folder
2025-05-09 20:05:52 +07:00
Nils Andreas Svee
f4a9135c60
fix(build): wget not available, use curl
2025-05-09 19:56:07 +07:00
Nils Andreas Svee
4b566bc04d
chore(build): try to use mold instead
2025-05-09 19:48:28 +07:00
Nils Andreas Svee
2656e7e4f6
chore(build): set cc
2025-05-09 19:28:19 +07:00
Nils Andreas Svee
942a28ed1c
chore: print env again.
2025-05-09 19:24:57 +07:00
Nils Andreas Svee
44305f70ad
fix(build): try to move cargo home to ws
2025-05-09 18:56:36 +07:00
Nils Andreas Svee
9c4b6ab7df
chore(build): use premade docker env
2025-05-09 18:46:21 +07:00
Nils Andreas Svee
31d3db328a
chore: use lld with rust
2025-05-09 05:47:00 +07:00
Nils Andreas Svee
d9b87a5087
fix(build): triple check that CC gets ets correctly
2025-05-09 04:57:41 +07:00
Nils Andreas Svee
c6c4b17ef5
fix: let the shell handle the env vars
2025-05-09 04:48:47 +07:00
Nils Andreas Svee
7489f5ae93
chore: try to fix path
2025-05-09 04:40:48 +07:00
Nils Andreas Svee
97a4bfeaba
fix(build): try to get the env right
2025-05-09 02:48:22 +07:00
Nils Andreas Svee
b9749981d0
chore(builder): printenv for test
2025-05-09 02:37:28 +07:00
Nils Andreas Svee
44e4e8591e
Revert "chore: add network=host to build arg just to test"
...
This reverts commit a615174451 .
2025-05-09 01:59:39 +07:00
Nils Andreas Svee
a615174451
chore: add network=host to build arg just to test
2025-05-09 01:46:07 +07:00
Nils Andreas Svee
63b49dd347
chore: use dockerfile as jenkins agent
2025-05-09 01:11:35 +07:00
Nils Andreas Svee
39a6ace0a9
chore(netlink): adopt to new bincode version
2025-05-09 00:08:45 +07:00
Nils Andreas Svee
49b076d10c
chore: upgrade to new major version of deps
2025-05-09 00:08:25 +07:00
Nils Andreas Svee
fadf4d1f6d
chore: update locked deps
2025-05-08 23:50:31 +07:00
Nils Andreas Svee
d8c6b4422b
chore: remove unnecessary 'mut' in baseliner loop
2025-05-08 23:49:42 +07:00
Nils Andreas Svee
31598a812f
fix: use specific SliceError for etherparse
2025-05-08 23:49:14 +07:00
Nils Andreas Svee
3b9f00cd75
fix: account for rand crate changes
2025-05-08 23:48:38 +07:00
Nils Andreas Svee
66e52b8792
chore: add build workflow
2025-05-08 20:08:01 +07:00
Nils Andreas Svee
2b0e8a1cb0
chore: add README
2025-05-08 19:57:38 +07:00
Nils Andreas Svee
e70451a4f4
chore: update to rust edition 2024 and bump version
2025-05-08 19:47:08 +07:00
Nils Andreas Svee
fd7e2770e1
chore: add osv scanner
2025-05-08 19:26:03 +07:00
Nils Andreas Svee
f3715d1dc6
chore: add rust-clippy scan
2025-05-08 19:12:57 +07:00
Nils Andreas Svee
26d4fa6167
chore: add devskim config
2025-05-08 19:12:19 +07:00
Nils Andreas Svee
7b3dd0338f
chore: add dependabot config
2025-05-08 19:00:32 +07:00
Nils Andreas Svee
4a1368cd7a
revert socket2 to 0.4.x
2023-03-12 01:59:44 +01:00
Nils Andreas Svee
f7c2464a80
Update dependencies
2023-03-07 14:59:44 +01:00
Nils Andreas Svee
7a589ffdf7
sleep for shorter intervals between each ping
2023-03-01 20:13:46 +01:00
Nils Andreas Svee
7134f62e02
Revert "jenkinsfile: enable uci"
...
This reverts commit de099a44ac .
2022-11-27 22:38:32 +01:00
Nils Andreas Svee
de099a44ac
jenkinsfile: enable uci
2022-11-27 21:59:50 +01:00
Nils Andreas Svee
512a5dec16
jenkinsfile: add arm targets
2022-11-27 21:35:12 +01:00
Nils Andreas Svee
f2b7ff066c
jenkinsfile: move rustflags to build stage
2022-11-27 20:52:10 +01:00
Nils Andreas Svee
bc8138c51a
jenkinsfile: force static builds
2022-11-27 20:47:07 +01:00
Nils Andreas Svee
d0dc59d763
Revert "jenkinsfile: use only one target while testing"
...
This reverts commit e56c367183 .
2022-11-27 16:37:16 +01:00
Nils Andreas Svee
610d8bbe98
jenkinsfile: switch to replaceall
2022-11-27 16:09:24 +01:00
Nils Andreas Svee
e6ece9493d
jenkinsfile: set linker for rust
2022-11-27 16:06:37 +01:00
Nils Andreas Svee
904bc20b2b
jenkinsfile: attempt to start building
2022-11-27 15:53:24 +01:00
Nils Andreas Svee
56464338bb
jenkinsfile: add missing parenthese
2022-11-27 15:41:43 +01:00
Nils Andreas Svee
89c441de90
jenkinsfile: try to correct rust target check
2022-11-27 15:38:38 +01:00
Nils Andreas Svee
cac4fc761b
jenkinsfile: silence wget
2022-11-27 15:29:21 +01:00
Nils Andreas Svee
e56c367183
jenkinsfile: use only one target while testing
2022-11-27 15:27:33 +01:00
Nils Andreas Svee
779e6de707
jenkinsfile: use CC env for conditional
2022-11-27 15:26:07 +01:00
Nils Andreas Svee
9d3b028ce4
jenkinsfile: automatically install rust target
2022-11-27 15:25:53 +01:00
Nils Andreas Svee
518e003185
jenkinsfile: correct gcc conditional
2022-11-27 15:25:12 +01:00
Nils Andreas Svee
b4eb1b5479
jenkinsfile: check gcc version
2022-11-27 15:18:19 +01:00
Nils Andreas Svee
3d9573a50c
jenkinsfile: try to use jenkins function for running executables
2022-11-27 15:15:57 +01:00
Nils Andreas Svee
412b343775
jenkinsfile: add missing parentheses
2022-11-27 15:11:53 +01:00
Nils Andreas Svee
74a92f5df5
jenkinsfile: conditionally download toolchain
2022-11-27 15:10:24 +01:00
Nils Andreas Svee
a985cfcf0d
jenkinsfile: use wget for java memory reasons
2022-11-27 14:42:16 +01:00
Nils Andreas Svee
ffde8dcb70
jenkinsfile: use double quotes
2022-11-27 14:38:38 +01:00
Nils Andreas Svee
cc3ea9cf21
jenkinsfile: try to fix target mapping lookup
2022-11-27 14:37:34 +01:00
Nils Andreas Svee
b959f4f4b7
jenkinsfile: fix env variables
2022-11-27 14:34:06 +01:00
Nils Andreas Svee
9e6ea135ce
jenkinsfile: fix missing comma
2022-11-27 14:32:52 +01:00
Nils Andreas Svee
acc0bd75e4
quote target map keys
2022-11-27 14:32:13 +01:00
Nils Andreas Svee
8143822db4
start working on jenkinsfile for automated builds
2022-11-27 14:31:12 +01: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
786639bf56
Move creation of State struct to a function
2022-11-25 20:19:06 +01:00
Nils Andreas Svee
6659e72ab4
add missing newline to stats dumping
2022-11-21 18:15:25 +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
bb9d1ed4af
reflector_selector: Simplify setting sleep time
2022-10-29 22:43:47 +02:00
Nils Andreas Svee
e9fb811a58
pinger: remove allow dead code
2022-10-29 22:36:05 +02:00
Nils Andreas Svee
f7d39d170f
Remove unused qdisc fields for now
2022-10-29 22:35:48 +02: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
1c38d8ff48
ratecontroller: no need to manually construct duration
2022-10-18 16:22:15 +02:00
Nils Andreas Svee
d2e0d2b0be
Remove ratecontroller debug print
2022-10-15 15:05:07 +02:00
Nils Andreas Svee
cacc5b1a6b
Apply Clippy recommendations
2022-10-15 14:58:05 +02:00
Nils Andreas Svee
34b3fc0850
Add explanation to endian module
2022-10-15 13:49:05 +02:00
Nils Andreas Svee
c82f777290
Update dependencies
2022-10-15 13:44:53 +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
62bd482acb
Implement to native endian functions as a trait for u32/u64
2022-10-13 18:52:13 +02:00
Nils Andreas Svee
6119408e1f
Attempt changing to socket2
2022-10-13 18:03:56 +02:00
Nils Andreas Svee
8e0a03b408
Remove Cargo config from workspace
2022-10-13 17:28:10 +02:00
Nils Andreas Svee
250b1910f7
Add reflector list from Lua project
2022-10-13 17:28:10 +02:00
Nils Andreas Svee
b290c11477
Update gitignore
2022-10-13 17:28:10 +02:00
Nils Andreas Svee
49c0bdb998
Update dependencies and profiles
2022-10-13 17:20:00 +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
9a1901b213
Improve pinger error handling
2022-10-13 17:16:01 +02:00
Nils Andreas Svee
290450ac1e
Make sure link stats struct is stable
2022-10-13 17:15:28 +02:00
Nils Andreas Svee
432a9f2bac
Add error for UTF-8 parsing
2022-10-13 17:15:13 +02:00
Nils Andreas Svee
c190d2ec04
Correct qdisc error message
2022-10-13 17:14:50 +02:00
Nils Andreas Svee
890b3f8c19
Drop pub(crate) and use pub everywhere for now
2022-10-04 16:25:42 +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
edd2c6808a
Don't hardcode log level
2022-09-29 12:09:30 +02:00