Commit ed00aa41 authored by George Kadianakis's avatar George Kadianakis
Browse files

fixup! Add warning when trying to connect to deprecated v2 onions.

parent b5cbc065
Pipeline #5897 passed with stage
in 18 minutes and 25 seconds
......@@ -2534,6 +2534,9 @@ connection_ap_handshake_rewrite_and_attach(entry_connection_t *conn,
"version of Tor no longer supports them. Please encourage the "
"site operator to upgrade. For more information see "
"https://blog.torproject.org/v2-deprecation-timeline.");
control_event_client_status(LOG_WARN, "SOCKS_BAD_HOSTNAME HOSTNAME=%s",
escaped(socks->address));
connection_mark_unattached_ap(conn, END_STREAM_REASON_TORPROTOCOL);
return -1;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment