log_fn(LOG_WARN,"Your application (using socks5 on port %d) is giving Tor only an IP address. Applications that do DNS resolves themselves may leak information. Consider using Socks4A (e.g. via privoxy or socat) instead. For more information, please see http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#SOCKSAndDNS",req->port);
warn(LD_APP,"Your application (using socks5 on port %d) is giving Tor only an IP address. Applications that do DNS resolves themselves may leak information. Consider using Socks4A (e.g. via privoxy or socat) instead. For more information, please see http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#SOCKSAndDNS",req->port);
// have_warned_about_unsafe_socks = 1; // (for now, warn every time)
}
return1;
case3:/* fqdn */
log_fn(LOG_DEBUG,"socks5: fqdn address type");
debug(LD_APP,"socks5: fqdn address type");
len=(unsignedchar)*(buf->cur+4);
if(buf->datalen<7u+len)/* addr/port there? */
return0;/* not yet */
if(len+1>MAX_SOCKS_ADDR_LEN){
log_fn(LOG_WARN,"socks5 hostname is %d bytes, which doesn't fit in %d. Rejecting.",
warn(LD_APP,"socks5 hostname is %d bytes, which doesn't fit in %d. Rejecting.",
log_fn(LOG_WARN,"Your application (using socks4 on port %d) is giving Tor only an IP address. Applications that do DNS resolves themselves may leak information. Consider using Socks4A (e.g. via privoxy or socat) instead.",req->port);
warn(LD_APP,"Your application (using socks4 on port %d) is giving Tor only an IP address. Applications that do DNS resolves themselves may leak information. Consider using Socks4A (e.g. via privoxy or socat) instead.",req->port);
// have_warned_about_unsafe_socks = 1; // (for now, warn every time)
}
if(socks4_prot==socks4a){
if(next+1==buf->cur+buf->datalen){
log_fn(LOG_DEBUG,"socks4: No part of destaddr here yet.");
debug(LD_APP,"socks4: No part of destaddr here yet.");