mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-03 00:53:32 +01:00
b560f852f2
Add experimental OnionServiceSingleHopMode and OnionServiceNonAnonymousMode options. When both are set to 1, every hidden service on a tor instance becomes a non-anonymous Single Onion Service. Single Onions make one-hop (direct) connections to their introduction and renzedvous points. One-hop circuits make Single Onion servers easily locatable, but clients remain location-anonymous. This is compatible with the existing hidden service implementation, and works on the current tor network without any changes to older relays or clients. Implements proposal #260, completes ticket #17178. Patch by teor & asn. squash! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Implement Prop #260: Single Onion Services Redesign single onion service poisoning. When in OnionServiceSingleHopMode, each hidden service key is poisoned (marked as non-anonymous) on creation by creating a poison file in the hidden service directory. Existing keys are considered non-anonymous if this file exists, and anonymous if it does not. Tor refuses to launch in OnionServiceSingleHopMode if any existing keys are anonymous. Similarly, it refuses to launch in anonymous client mode if any existing keys are non-anonymous. Rewrite the unit tests to match and be more comprehensive. Adds a bonus unit test for rend_service_load_all_keys().
16 lines
906 B
Plaintext
16 lines
906 B
Plaintext
o Major features (onion services):
|
|
- Add experimental OnionServiceSingleHopMode and
|
|
OnionServiceNonAnonymousMode options. When both are set to 1, every
|
|
hidden service on a tor instance becomes a non-anonymous Single Onion
|
|
Service. Single Onions make one-hop (direct) connections to their
|
|
introduction and renzedvous points. One-hop circuits make Single Onion
|
|
servers easily locatable, but clients remain location-anonymous.
|
|
This is compatible with the existing hidden service implementation, and
|
|
works on the current tor network without any changes to older relays or
|
|
clients.
|
|
Implements proposal #260, completes ticket #17178. Patch by teor & asn.
|
|
o Minor bug fixes (Tor2web):
|
|
- Prevent Tor2web clients running hidden services, these services are
|
|
not anonymous due to the one-hop client paths.
|
|
Fixes bug #19678. Patch by teor.
|