Hacker News new | ask | show | jobs
by dogben 978 days ago

  if(!socks5_resolve_local && hostname_len > 255) {
    socks5_resolve_local = TRUE;
  }
This is really a bad idea. For people who use anti-censorship tool to protect privacy, this can leak their identity through DNS.
1 comments

> I think it was downright wrong to switch mode like this, since the user asked for remote resolve curl should stick to that or fail. It is not even likely to work to just switch, even in “good” situations.

Yes, the author shares your opinion.