Skip to content
  • Roger Dingledine's avatar
    Allow servers with no hostname or IP address to learn their IP address · 9db7b2c0
    Roger Dingledine authored
    by asking the directory authorities. This code only kicks in when you
    would normally have exited with a "no address" error.
    
    This design is flawed, though, since the X-Your-Address-Is header is not
    authenticated, and doing it this way introduces too many new attacks. The
    right answer is to give IP address hints inside the HELLO cell; much of
    this code can be reused when we switch.
    
    
    svn:r6774
    9db7b2c0