Commit graph

1410 commits

Author SHA1 Message Date
Joakim Frostegård
cbcb627772 udp: reorder initializations in lib.rs 2022-04-13 22:32:30 +02:00
Joakim Frostegård
0685c99349 Update TODO 2022-04-13 22:31:02 +02:00
Joakim Frostegård
8b70034900 udp: use hmac ConnectionValidator in socket workers 2022-04-13 22:27:45 +02:00
Joakim Frostegård
dc4523ede5 udp: start work on HMAC connection ID generation and validation 2022-04-13 21:27:42 +02:00
Joakim Frostegård
26e2e87437
Merge pull request #71 from greatest-ape/aquatic-http-load-test-2022-04-11
Add aquatic_http performance load test documents, show in README
2022-04-12 17:46:12 +02:00
Joakim Frostegård
a1f11891f8 Add aquatic_http performance load test documents, show in README 2022-04-12 17:40:21 +02:00
Joakim Frostegård
285296865c
Improve README 2022-04-12 17:32:18 +02:00
Joakim Frostegård
d8a2e7fa87
README: link to explodie.org 2022-04-11 14:37:49 +02:00
Joakim Frostegård
7c3d5fc452
Merge pull request #69 from greatest-ape/2022-04-10
http load test & http protocol fixes
2022-04-11 14:31:55 +02:00
Joakim Frostegård
7553a29416 http load test: use log crate for logging deserialization errors 2022-04-11 01:19:22 +02:00
Joakim Frostegård
db79adc13b http load test: exclusively use TLS 1.3 2022-04-11 01:15:26 +02:00
Joakim Frostegård
ee016ea0b6 http protocol: AnnounceRequest: always ask for compact responses 2022-04-11 01:08:40 +02:00
Joakim Frostegård
9f9d74e2d8
Merge pull request #68 from greatest-ape/2022-04-09
aquatic_http & aquatic_http_load_test improvements; use idiomatic feature names
2022-04-10 23:46:08 +02:00
Joakim Frostegård
8490509de9
CI: build & test: remove docker, install latest stable instead 2022-04-10 22:58:05 +02:00
Joakim Frostegård
6214a1bfaf
CI: build & test: disable macos, don't use sudo 2022-04-10 22:51:39 +02:00
Joakim Frostegård
6093bf8f86
CI: build & test: run in docker container 2022-04-10 22:45:10 +02:00
Joakim Frostegård
f2d501c327 http: start only a single task for updating peer_valid_until 2022-04-10 03:26:06 +02:00
Joakim Frostegård
94b4e4a935 http: small socket worker fixes 2022-04-10 03:18:57 +02:00
Joakim Frostegård
f083cac9e0 http: send response sender to request workers 2022-04-10 02:30:49 +02:00
Joakim Frostegård
02b9c9d290 http: use escape_ascii for debug info on not enough request data 2022-04-10 01:29:58 +02:00
Joakim Frostegård
c229872134 Use idiomatic feature names & namespace support from Rust 1.60 2022-04-10 01:25:03 +02:00
Joakim Frostegård
fc9211835e http load test: use new escape_ascii from Rust 1.60 2022-04-10 01:21:25 +02:00
Joakim Frostegård
7215d26ff4 http load test: add keep_alive setting 2022-04-10 01:01:34 +02:00
Joakim Frostegård
da6180e871 http load test: use futures-rustls 2022-04-10 00:58:36 +02:00
Joakim Frostegård
bf456b002b README: mention announce URL structure in usage section 2022-04-07 22:53:29 +02:00
Joakim Frostegård
b5dc677d97
Merge pull request #66 from greatest-ape/privdrop-2022-04-04
Improve privilege dropping; quit whole program if any thread panics; other improvements
2022-04-06 19:55:29 +02:00
Joakim Frostegård
113fe8f5fd Update TODO 2022-04-06 19:55:12 +02:00
Joakim Frostegård
3746fa76ec udp: name statistics worker thread "statistics" 2022-04-06 19:16:50 +02:00
Joakim Frostegård
0a63ee3ce7 load testers: name worker threads "load-test" 2022-04-06 19:15:01 +02:00
Joakim Frostegård
5fb91ccc73 http_private: db_connections_per_worker: add comment, default to 4 2022-04-06 19:09:46 +02:00
Joakim Frostegård
bd6764afaf Move aquatic_cli_helpers code into aquatic_common and remove crate 2022-04-06 19:02:39 +02:00
Joakim Frostegård
b677a104d3 cli helpers: change default log level to warn 2022-04-06 18:55:13 +02:00
Joakim Frostegård
745a85f71d PrivilegeDropper::after_socket_creation: take ownership of self 2022-04-06 18:53:11 +02:00
Joakim Frostegård
87bfec5e55 http_private: use PrivilegeDropper 2022-04-06 18:51:56 +02:00
Joakim Frostegård
a4c7e79dc9 http_private: use PanicSentinel 2022-04-06 18:48:23 +02:00
Joakim Frostegård
f50c8970b5 aquatic_ws: use PanicSentinel, simplify lib.rs 2022-04-06 18:44:09 +02:00
Joakim Frostegård
117244f1c7 aquatic_http: use PanicSentinel, simplify lib.rs 2022-04-06 18:38:50 +02:00
Joakim Frostegård
b4d1c46595 Update TODO 2022-04-06 02:23:06 +02:00
Joakim Frostegård
ffa7c7532f PanicSentinel: only set flag if dropped while panicking 2022-04-06 01:56:45 +02:00
Joakim Frostegård
94ee4027e8 Update TODO 2022-04-06 01:53:00 +02:00
Joakim Frostegård
10997596fa PanicSentinel: send SIGTERM only once 2022-04-06 01:52:06 +02:00
Joakim Frostegård
b61b136b0c Add PanicSentinelWatcher
Use to determine if SIGTERM was caused by panic in other thread
2022-04-06 01:33:19 +02:00
Joakim Frostegård
3f46db01ff Run cargo fmt 2022-04-06 01:14:47 +02:00
Joakim Frostegård
d0eec05d4c udp: use PanicSentinel 2022-04-06 00:42:11 +02:00
Joakim Frostegård
49523779d9 common: add PanicSentinel, improve PrivilegeDropper anyhow context 2022-04-06 00:41:15 +02:00
Joakim Frostegård
cb2f7483d3 Return anyhow::Result on PrivDropper waiting and socket creation 2022-04-05 23:15:29 +02:00
Joakim Frostegård
02ba4ec922 privilege dropping: actually set group, default to "nogroup" 2022-04-05 23:03:54 +02:00
Joakim Frostegård
6f30d05453 Update TODO 2022-04-05 01:33:02 +02:00
Joakim Frostegård
c888017072 Improve privilege dropping; run cargo fmt 2022-04-05 01:26:40 +02:00
Joakim Frostegård
2ad1418175
Merge pull request #63 from greatest-ape/cpu-pinning-2022-03-30
Improve CPU pinning
2022-04-05 00:57:20 +02:00