소스 검색

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 8 년 전
부모
커밋
b74a1c77a4
2개의 변경된 파일8개의 추가작업 그리고 0개의 파일을 삭제
  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.