Browse Source

Document that .onion subdomains are ignored by clients

addr-spec.txt also explains this, but we should get it into the
manpage too.

Closes ticket #18736.
Nick Mathewson 6 years ago
parent
commit
b74a1c77a4
2 changed files with 8 additions and 0 deletions
  1. 3 0
      changes/18736
  2. 5 0
      doc/tor.1.txt

+ 3 - 0
changes/18736

@@ -0,0 +1,3 @@
+  o Documentation:
+    - Document that onion service subdomains are allowed, and ignored.
+      Closes ticket 18736.

+ 5 - 0
doc/tor.1.txt

@@ -2989,6 +2989,11 @@ __HiddenServiceDirectory__**/hostname**::
     The <base32-encoded-fingerprint>.onion domain name for this hidden service.
     The <base32-encoded-fingerprint>.onion domain name for this hidden service.
     If the hidden service is restricted to authorized clients only, this file
     If the hidden service is restricted to authorized clients only, this file
     also contains authorization data for all clients.
     also contains authorization data for all clients.
+ +
+    Note that clients will ignore any extra subdomains prepended to a hidden
+    service hostname. So if you have "xyz.onion" as your hostname, you
+    can tell clients to connect to "www.xyz.onion" or "irc.xyz.onion"
+    for virtual-hosting purposes.
 
 
 __HiddenServiceDirectory__**/private_key**::
 __HiddenServiceDirectory__**/private_key**::
     The private key for this hidden service.
     The private key for this hidden service.