Commit graph

1452 commits

Author SHA1 Message Date
Joakim Frostegård
5f0971e952
Merge pull request #87 from greatest-ape/udp-peer-stats
udp: add optional extended statistics
2022-08-06 16:33:39 +02:00
Joakim Frostegård
4ab6b0af82 Update TODO 2022-08-06 14:56:00 +02:00
Joakim Frostegård
80cd6a3998 udp: improve docs for config.statistics.extended 2022-08-06 14:40:52 +02:00
Joakim Frostegård
e6e0bbc9da udp: show extended statistics in html output too 2022-08-06 14:36:46 +02:00
Joakim Frostegård
096fdeb93c udp: prettier stdout statistics printing 2022-08-06 14:20:18 +02:00
Joakim Frostegård
f0e0a84088 udp: add optional peers per torrent statistics 2022-08-06 13:56:19 +02:00
Joakim Frostegård
c0ed0eb7db
Merge pull request #86 from greatest-ape/more-compact-peers
Reduce ValidUntil size; reduce size of various ws structs; improve aquatic_http_protocol
2022-08-06 12:09:41 +02:00
Joakim Frostegård
a399629b69 Update TODO 2022-08-01 15:58:48 +02:00
Joakim Frostegård
22c85f2d9f Update README 2022-08-01 15:05:06 +02:00
Joakim Frostegård
d621fb1f85 http protocol: implement Error for RequestParseError 2022-08-01 14:42:22 +02:00
Joakim Frostegård
1c4655e0d7 http protocol: improve doc comment for Request::from_http_get_path 2022-08-01 14:38:07 +02:00
Joakim Frostegård
ffc5dc5227 http protocol: explicitly check for /scrape path 2022-08-01 14:35:05 +02:00
Joakim Frostegård
1b5fbe8775 http protocol: return NeedMoreData until headers are fully parsed
This prevents an issue in aquatic_http where it could
theoretically start sending back data before initial
request was fully received.
2022-08-01 14:33:18 +02:00
Joakim Frostegård
ce418feb5d
Merge pull request #85 from greatest-ape/docker-2022-07-19
Add some Dockerfiles to make it easier to get started
2022-08-01 14:30:11 +02:00
Joakim Frostegård
46fee0e085 Update warning in aquatic_ws.Dockerfile 2022-08-01 14:19:28 +02:00
Joakim Frostegård
fcf18c845f Reduce ValidUntil size; reduce size of various ws structs 2022-08-01 14:15:06 +02:00
Joakim Frostegård
6bdb50df8a access control: strip whitespace in hashes, ignore empty lines 2022-07-26 23:22:02 +02:00
Joakim Frostegård
f909febf17 ws Dockerfile: add note about file not working 2022-07-24 13:02:31 +02:00
Joakim Frostegård
fce3bb1d9c docker files: add DOCKER_BUILDKIT=1 2022-07-24 12:46:39 +02:00
Joakim Frostegård
c4b07b072c dockerfiles: recommend using --network="host" 2022-07-24 12:17:43 +02:00
Joakim Frostegård
24b86107ca udp dockerfile: fix newline env arg issues 2022-07-24 12:15:28 +02:00
Joakim Frostegård
cdd9569fd9 ws dockerfile: pass docker arguments to tracker 2022-07-24 12:14:55 +02:00
Joakim Frostegård
55646d33b9 udp Dockerfile: pass on docker cli arguments to tracker 2022-07-24 12:01:46 +02:00
Joakim Frostegård
414af5a26f aquatic_common: ignore some whitespace in cli arg parser 2022-07-24 12:01:18 +02:00
Joakim Frostegård
bd70474d73 udp Dockerfile: use here-doc for entrypoint creation 2022-07-24 11:47:31 +02:00
Joakim Frostegård
2a39198692 ws Dockerfile: use here-doc for entrypoint creation, use exec 2022-07-24 11:41:46 +02:00
Joakim Frostegård
22e3a77863 aquatic_ws.Dockerfile: rely on default access list path,add example hash 2022-07-24 11:27:17 +02:00
Joakim Frostegård
ea046dd5fe AccessListConfig: add serde(default, deny_unknown_fields) 2022-07-23 17:51:21 +02:00
Joakim Frostegård
bb44f3558a Update TODO 2022-07-23 17:51:13 +02:00
Joakim Frostegård
1e9b421c7e Add "documents" to .dockerignore 2022-07-23 17:50:54 +02:00
Joakim Frostegård
66e005f37a aquatic_ws.Dockerfile: enable access control in "allow" mode 2022-07-23 17:46:54 +02:00
Joakim Frostegård
9b2c5b97df ws: add logging in create_tcp_listener 2022-07-23 17:35:11 +02:00
Joakim Frostegård
38e74bfc20 aquatic_ws.Dockerfile: use multiline ENV instruction 2022-07-23 17:35:05 +02:00
Joakim Frostegård
b79636730c ws: add some info level logging 2022-07-19 23:45:15 +02:00
Joakim Frostegård
809aa4def9 Update .dockerignore 2022-07-19 22:44:26 +02:00
Joakim Frostegård
d4f9c0b74f Update aquatic_ws.Dockerfile 2022-07-19 22:43:47 +02:00
Joakim Frostegård
375dc1c8e6 add aquatic_udp.Dockerfile 2022-07-19 22:42:44 +02:00
Joakim Frostegård
605986c402 WIP: start work on a aquatic_ws.Dockerfile 2022-07-19 19:40:43 +02:00
Joakim Frostegård
97fa699476
Merge pull request #84 from greatest-ape/work-2022-07-18_2
upgrade dependencies; ws: make TLS optional, support reverse proxies, add HTTP health check route when running without TLS
2022-07-19 18:04:09 +02:00
Joakim Frostegård
05f5d2a2a4 http_private: update sqlx to v0.6 2022-07-19 17:50:38 +02:00
Joakim Frostegård
7255202268 ws: add error message context when loading certificate files 2022-07-19 17:30:58 +02:00
Joakim Frostegård
7b06bf8736 ws: don't attempt to parse TLS files when running without TLS 2022-07-19 17:29:13 +02:00
Joakim Frostegård
72c66e6e1a GitHub CI: add transfer test for non-TLS WebTorrent 2022-07-19 17:12:39 +02:00
Joakim Frostegård
355f3e04c6 Update ws code comments; update TODO.md 2022-07-19 17:01:07 +02:00
Joakim Frostegård
304ff0a8ee GitHub CI: speed up test compilation 2022-07-19 16:40:02 +02:00
Joakim Frostegård
9f60c4e460 Run cargo update
Updating bytes v1.1.0 -> v1.2.0
    Updating slab v0.4.6 -> v0.4.7
2022-07-19 16:16:38 +02:00
Joakim Frostegård
2313ca77ec http: document that running behind a reverse proxy is not supported 2022-07-19 16:15:29 +02:00
Joakim Frostegård
a62b2033a5 ws: avoid X-Forwarded-For parsing since we only need to know IPv4/IPv6 2022-07-19 16:12:00 +02:00
Joakim Frostegård
3b94b8e588 WIP: ws: parse X-FORWARDED-FOR headers 2022-07-19 00:56:27 +02:00
Joakim Frostegård
9f9015d51c GitHub CI: enable TLS for ws in file transfer test 2022-07-18 23:44:16 +02:00