Joakim Frostegård
|
bfab6bb48f
|
Update TODO
|
2021-10-18 01:39:20 +02:00 |
|
Joakim Frostegård
|
f64e2e726b
|
aquatic_udp: drop MutexGuard quicker; clean up
|
2021-10-18 01:35:49 +02:00 |
|
Joakim Frostegård
|
e2be31c7de
|
aquatic_udp: move ConnectionKey and ConnectionMap to network.rs
|
2021-10-18 01:27:16 +02:00 |
|
Joakim Frostegård
|
de85feec9a
|
aquatic_udp: add and use ConnectedResponse enum
|
2021-10-18 01:25:25 +02:00 |
|
Joakim Frostegård
|
7616df9686
|
aquatic_udp: validate requests in socket workers
Also, don't send error responses for unconnected requests
|
2021-10-18 01:14:32 +02:00 |
|
Joakim Frostegård
|
fc90c71a56
|
Update TODO
|
2021-10-18 00:26:33 +02:00 |
|
Joakim Frostegård
|
d0b8ed3f64
|
Merge pull request #8 from greatest-ape/access-list
Add access list support, refactor aquatic_ws_protocol, add some optimizations, update dependencies
|
2021-10-17 22:08:18 +02:00 |
|
Joakim Frostegård
|
1003d82fcf
|
README: improve wording
|
2021-10-17 22:01:37 +02:00 |
|
Joakim Frostegård
|
fc234643ba
|
README: improve wording
|
2021-10-17 22:00:11 +02:00 |
|
Joakim Frostegård
|
0281de9187
|
README: add info about configuring access lists
|
2021-10-17 21:57:40 +02:00 |
|
Joakim Frostegård
|
f3487d4749
|
Rename AccessList variants
|
2021-10-17 18:19:31 +02:00 |
|
Joakim Frostegård
|
5a1e59578f
|
Update TODO
|
2021-10-16 18:18:55 +02:00 |
|
Joakim Frostegård
|
1e66b18e52
|
aquatic_ws network: don't send error response when message parse fails
|
2021-10-16 18:07:00 +02:00 |
|
Joakim Frostegård
|
f32cb522e2
|
aquatic_common: rename a AccessList function argument
|
2021-10-16 17:54:13 +02:00 |
|
Joakim Frostegård
|
3678e86654
|
Run rustfmt
|
2021-10-16 17:49:00 +02:00 |
|
Joakim Frostegård
|
523a21dac4
|
aquatic_ws: improve network message reading, handle parse error better
|
2021-10-16 17:46:42 +02:00 |
|
Joakim Frostegård
|
48d49c9a1a
|
aquatic_http: use cleaner request filtering by access list
|
2021-10-16 17:36:56 +02:00 |
|
Joakim Frostegård
|
429ffc8301
|
aquatic_udp: use cleaner request filtering by access list
|
2021-10-16 17:32:38 +02:00 |
|
Joakim Frostegård
|
8c3db1b9b9
|
aquatic_ws: use cleaner logic for filtering by access list
|
2021-10-16 17:31:11 +02:00 |
|
Joakim Frostegård
|
7ccd5fcbf7
|
access lists: filter requests in socket workers instead
|
2021-10-16 17:26:40 +02:00 |
|
Joakim Frostegård
|
33966bed57
|
Run cargo update
|
2021-10-16 02:31:46 +02:00 |
|
Joakim Frostegård
|
cec412ce4d
|
Update TODO
|
2021-10-16 02:17:01 +02:00 |
|
Joakim Frostegård
|
417ebf61b9
|
aquatic_ws; clean up
|
2021-10-16 01:56:43 +02:00 |
|
Joakim Frostegård
|
749ecbb891
|
Update TODO
|
2021-10-16 01:55:19 +02:00 |
|
Joakim Frostegård
|
6624df1e44
|
aquatic_ws_protocol: add documentation (as comments)
|
2021-10-16 01:53:53 +02:00 |
|
Joakim Frostegård
|
c02d7f2113
|
aquatic_ws: run rustfmt
|
2021-10-16 01:47:10 +02:00 |
|
Joakim Frostegård
|
71c43aca47
|
aquatic_ws_protocol: refactor, moving code into submodules
|
2021-10-16 01:46:32 +02:00 |
|
Joakim Frostegård
|
7c833958d8
|
aquatic_ws: add serde-rename for ErrorResponse.failure_reason
|
2021-10-16 01:20:09 +02:00 |
|
Joakim Frostegård
|
1d5eb0dff9
|
aquatic_ws: add ErrorResponse, send it when info hash is not allowed
|
2021-10-16 01:18:23 +02:00 |
|
Joakim Frostegård
|
28cc6c261a
|
aquatic_ws: almost finish implementing access list support
|
2021-10-16 01:08:59 +02:00 |
|
Joakim Frostegård
|
db596b5038
|
Update TODO
|
2021-10-16 00:29:19 +02:00 |
|
Joakim Frostegård
|
1b890e8321
|
aquatic_udp_protocol: run rustfmt
|
2021-10-16 00:29:01 +02:00 |
|
Joakim Frostegård
|
d1ee18394d
|
aquatic_ws: don't call unwrap on stream.get_peer_addr
|
2021-10-16 00:27:52 +02:00 |
|
Joakim Frostegård
|
2e68155bf4
|
aquatic_http: use Cow<_> for FailureResponse.failure_reason
|
2021-10-16 00:19:58 +02:00 |
|
Joakim Frostegård
|
31b88a5e9d
|
aquatic_udp: use Cow<'static, str> for ErrorResponse.message
|
2021-10-16 00:16:00 +02:00 |
|
Joakim Frostegård
|
881579435a
|
aquatic_udp: improve code for request connection validity checks
|
2021-10-15 23:59:16 +02:00 |
|
Joakim Frostegård
|
03c36f51c9
|
Update TODO
|
2021-10-15 23:48:57 +02:00 |
|
Joakim Frostegård
|
ff49022efe
|
aquatic_udp: split handlers.rs into submodules
|
2021-10-15 23:48:54 +02:00 |
|
Joakim Frostegård
|
f65bcd7f56
|
aquatic_udp: simplify access list handling in tasks, request workers
|
2021-10-15 23:35:05 +02:00 |
|
Joakim Frostegård
|
ddb1f394a1
|
aquatic_http: move torrent cleaning code to TorrentMaps impl
|
2021-10-15 23:13:26 +02:00 |
|
Joakim Frostegård
|
10fe014c03
|
aquatic_http access list: use in torrent cleaning, do periodic updates
|
2021-10-15 23:03:24 +02:00 |
|
Joakim Frostegård
|
7fec41099b
|
aquatic_http: check access list in announce request handler
|
2021-10-15 22:49:07 +02:00 |
|
Joakim Frostegård
|
4fa199a1e0
|
aquatic_http access list: add config, state field, initial load
|
2021-10-15 22:38:58 +02:00 |
|
Joakim Frostegård
|
b8b9a9839a
|
Run rustfmt
|
2021-10-15 22:09:45 +02:00 |
|
Joakim Frostegård
|
40b7bfe309
|
aquatic_common: make info hash parse test code look nicer
|
2021-10-15 22:09:20 +02:00 |
|
Joakim Frostegård
|
ba787c3361
|
aquatic_common: improve comments, run rustfmt
|
2021-10-15 22:07:29 +02:00 |
|
Joakim Frostegård
|
490c0b037d
|
AccessListMode: rename Allow to Require and Deny to Forbid
|
2021-10-15 21:59:46 +02:00 |
|
Joakim Frostegård
|
3a2e751668
|
AccessListConfig: put mode field first
|
2021-10-15 21:58:47 +02:00 |
|
Joakim Frostegård
|
b3d1bcb7f1
|
aquatic_udp: serde-rename AccessListMode variants to lowercase
|
2021-10-15 21:58:23 +02:00 |
|
Joakim Frostegård
|
f0846e3128
|
aquatic_common: rename AccessListType to AccessListMode
|
2021-10-15 21:55:01 +02:00 |
|