瀏覽代碼

add some notes to proposal 117

svn:r14783
Nick Mathewson 17 年之前
父節點
當前提交
6985ad9603
共有 1 個文件被更改,包括 18 次插入3 次删除
  1. 18 3
      doc/spec/proposals/117-ipv6-exits.txt

+ 18 - 3
doc/spec/proposals/117-ipv6-exits.txt

@@ -1,5 +1,5 @@
-Filename: 117-ipv6-exits.txt
+Filename: 117-ipv6-exits.txtT
-Title: IPv6 exits
+itle: IPv6 exits
 Version: $Revision$
 Version: $Revision$
 Last-Modified: $Date$
 Last-Modified: $Date$
 Author: coderman
 Author: coderman
@@ -86,7 +86,9 @@ Contents
    (RELAY_RESOLVE) should perform and respond with both A and AAAA
    (RELAY_RESOLVE) should perform and respond with both A and AAAA
    resources.
    resources.
 
 
-   [NOTE: In a future version, it may make sense to .]
+   [NOTE: In a future version, when we extend the behavior of RESOLVE to
+    encapsulate more of real DNS, it will make sense to allow more
+    flexibility here. -nickm]
 
 
 1.4. Client interaction with IPv6 exit capability
 1.4. Client interaction with IPv6 exit capability
 
 
@@ -115,6 +117,11 @@ Contents
    connection will return IPv6 addresses when available, and fall back
    connection will return IPv6 addresses when available, and fall back
    to IPv4 addresses if not.
    to IPv4 addresses if not.
 
 
+   [NOTE: This means that SocksListenAddress and DNSListenAddress should
+    support IPv6 addresses.  Perhaps there should also be a general option
+    to have listeners that default to 127.0.0.1 and 0.0.0.0 listen
+    additionally or instead on ::1 and :: -nickm]
+
 1.4.3. MAPADDRESS behavior
 1.4.3. MAPADDRESS behavior
 
 
    The MAPADDRESS capability supports clients that may not be able to
    The MAPADDRESS capability supports clients that may not be able to
@@ -202,6 +209,12 @@ Contents
 
 
       "The current codebase has no IPv6 support at all."
       "The current codebase has no IPv6 support at all."
 
 
+   [NOTE: the EXITPOLICY end-cell reason says that it can hold an ipv4 or an
+    ipv6 address, but doesn't say how.  We may want a separate EXITPOLICY2
+    type that can hold an ipv6 address, since the way we encode ipv6
+    addresses elsewhere ("0.0.0.0 indicates that the next 16 bytes are ipv6")
+    is a bit dumb. -nickm]
+
 2.2. Directory specification
 2.2. Directory specification
 
 
    In '2.1. Router descriptor format' a new set of directives is needed
    In '2.1. Router descriptor format' a new set of directives is needed
@@ -268,6 +281,8 @@ Contents
    the protocol and resolvers make this unappealing.  Is there a
    the protocol and resolvers make this unappealing.  Is there a
    compelling reason to consider A6 as part of IPv6 exit support?
    compelling reason to consider A6 as part of IPv6 exit support?
 
 
+   [IMO not till anybody needs it. -nickm]
+
 3.2. IPv4 and IPv6 preference
 3.2. IPv4 and IPv6 preference
 
 
    The design above tries to infer a preference for IPv4 or IPv6
    The design above tries to infer a preference for IPv4 or IPv6