-
Notifications
You must be signed in to change notification settings - Fork 48
Overhaul core Tracker: move authentication to http-tracker-core
and udp-tracker-core
#1275
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Closed
Tracked by
#1181
Labels
Code Cleanup / Refactoring
Tidying and Making Neat
Comments
josecelano
added a commit
to josecelano/torrust-tracker
that referenced
this issue
Feb 17, 2025
4 tasks
josecelano
added a commit
to josecelano/torrust-tracker
that referenced
this issue
Feb 17, 2025
josecelano
added a commit
to josecelano/torrust-tracker
that referenced
this issue
Feb 18, 2025
josecelano
added a commit
to josecelano/torrust-tracker
that referenced
this issue
Feb 18, 2025
josecelano
added a commit
to josecelano/torrust-tracker
that referenced
this issue
Feb 18, 2025
josecelano
added a commit
that referenced
this issue
Feb 18, 2025
…ker-core` and `udp-tracker-core` fdc2543 refactor: extract UDP connect service (Jose Celano) 4618f70 refactor: exatract response builders for UDP handlers (Jose Celano) 91525af refactor: [#1275] move authentication in udp tracker to core (Jose Celano) 4fd79b7 refactor: [#1275] move conenction cookie to udp_tracker_core package (Jose Celano) 694621b refactor: [#1275] extract ConnectionCookieError enum (Jose Celano) ecc093f refactor: [#1275] move scrape authentication in http tracker to core (Jose Celano) f6bf070 refactor: [#1275] move announce authentication in http tracker to core (Jose Celano) Pull request description: Overhaul core Tracker: move authentication to `http-tracker-core` and `udp-tracker-core`. HTTP Tracker: - [x] Announce - [x] Scrape UDP Tracker: - [x] Announce - [x] Scrape ACKs for top commit: josecelano: ACK fdc2543 Tree-SHA512: aad933f02307f6abb0a0afc9629f4b7282b2e57d2842f637f92310e28e3a82a53ffecc50ad46ba1f63b1660279c69e2b6af1b664218ab93f3cd7dce0e40ca339
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Parent issue: #1270
In the HTTP and UDP trackers authentication is done at the delivery layer. Since it's not handled by external frameworks we can move it to the
http-tracker-core
andudp-tracker-core
. That way that code can be decoupled from the framework. For example, if we migrate the HTTP tracker from Axum web framework to ActixWeb we don't need to implement authentication again for ActixcWeb.NOTICE: The UDP tracker is always public. "Authentication" is the validation of the connection cookie.
There are some comment with the prefix
// todo: move authentication
indicating where to make the refactor.HTTP Tracker
Announce
Scrape
UDP Tracker
Announce
Scrape
The text was updated successfully, but these errors were encountered: