"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/core/or/connection_edge.c" between
tor-0.4.5.7.tar.gz and tor-0.4.5.8.tar.gz

About: Tor is an anonymous Internet communication system - a network of virtual tunnels that allows people and groups to improve their privacy and security on the Internet.

connection_edge.c  (tor-0.4.5.7):connection_edge.c  (tor-0.4.5.8)
skipping to change at line 2585 skipping to change at line 2585
connection_mark_unattached_ap(conn, END_STREAM_REASON_CANT_ATTACH); connection_mark_unattached_ap(conn, END_STREAM_REASON_CANT_ATTACH);
return -1; return -1;
} }
return 0; return 0;
} else { } else {
/* If we get here, it's a request for a .onion address! */ /* If we get here, it's a request for a .onion address! */
tor_assert(addresstype == ONION_V2_HOSTNAME || tor_assert(addresstype == ONION_V2_HOSTNAME ||
addresstype == ONION_V3_HOSTNAME); addresstype == ONION_V3_HOSTNAME);
tor_assert(!automap); tor_assert(!automap);
if (addresstype == ONION_V2_HOSTNAME) {
log_warn(LD_PROTOCOL,
"Warning! You've just connected to a v2 onion address. These "
"addresses are deprecated for security reasons, and are no "
"longer supported in Tor. Please encourage the site operator "
"to upgrade. For more information see "
"https://blog.torproject.org/v2-deprecation-timeline");
}
return connection_ap_handle_onion(conn, socks, circ, addresstype); return connection_ap_handle_onion(conn, socks, circ, addresstype);
} }
return 0; /* unreached but keeps the compiler happy */ return 0; /* unreached but keeps the compiler happy */
} }
#ifdef TRANS_PF #ifdef TRANS_PF
static int pf_socket = -1; static int pf_socket = -1;
int int
get_pf_socket(void) get_pf_socket(void)
 End of changes. 1 change blocks. 
0 lines changed or deleted 10 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)