Joakim Frostegård
|
903010dbe1
|
udp: use action 1 for IPv6 announce responses; refactor protocol code
According to BEP015, action 1 is to be used.
|
2022-02-20 01:35:24 +01:00 |
|
Joakim Frostegård
|
f0dc7c19f3
|
udp: show separate statistics for all response types
|
2022-01-13 19:16:25 +01:00 |
|
Joakim Frostegård
|
700dd68d2c
|
udp scrape improvements (#43)
* udp_protocol: forbid full scrapes
* udp: improve PendingScrapeResponseMap logging
* udp: PendingScrapeResponseMap: store less data, improve logging
* udp: PendingScrapeResponseMap: log if replacing entry on insert
* udp: PendingScrapeResponseMap: use remote addr in key
* Run cargo fmt
* README: update copyright end year
* udp: move scrape request splitting logic into PendingScrapeResponseMap
* udp: add quickcheck test test_pending_scrape_response_map
* udp protocol: fix failing test_scrape_request_convert_identity
|
2022-01-06 11:48:16 +01:00 |
|
Joakim Frostegård
|
6bd63c2f5d
|
udp: clean up
|
2021-11-18 22:42:36 +01:00 |
|
Joakim Frostegård
|
f3e41148fe
|
udp: split AnnounceResponse into V4 and V6 versions
|
2021-11-18 22:42:36 +01:00 |
|
Joakim Frostegård
|
f0a15e9b6f
|
aquatic_udp: improve request parse errors, send less error responses
|
2021-10-18 02:10:39 +02:00 |
|
Joakim Frostegård
|
1b890e8321
|
aquatic_udp_protocol: run rustfmt
|
2021-10-16 00:29:01 +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
|
d0e716f80b
|
Run rustfmt, clean up aquatic_http_protocol/Cargo.toml
|
2021-08-15 22:26:11 +02:00 |
|
Joakim Frostegård
|
f9626ade57
|
Upgrade quickcheck to 1.0, adjust code, optimizing a slow test
|
2021-02-10 18:36:23 +01:00 |
|
Joakim Frostegård
|
ea6a4c2635
|
refactor aquatic_udp_protocol, notably make converters trait fns
|
2020-08-02 01:23:11 +02:00 |
|
Joakim Frostegård
|
4067e420c3
|
udp: response parsing: parse ipv6 peers on action 4
|
2020-07-31 06:27:05 +02:00 |
|
Joakim Frostegård
|
a3a1d1606b
|
WIP: udp: add ipv6 support
Returning IPv6 peers doesn't really work with UDP. It is not supported by
https://libtorrent.org/udp_tracker_protocol.html. There is a suggestion in
https://web.archive.org/web/20170503181830/http://opentracker.blog.h3q.com/2007/12/28/the-ipv6-situation/
of using action number 4 and returning IPv6 octets just like for IPv4
addresses. Clients seem not to support it very well, but due to a lack of
alternative solutions, it is implemented here
|
2020-07-31 05:37:58 +02:00 |
|
Joakim Frostegård
|
bc4ada104d
|
rename crate "bittorrent_udp" to "aquatic_udp_protocol"
|
2020-05-25 19:21:52 +02:00 |
|