mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
Do not log a notice on every socks connection
This commit is contained in:
parent
220f419da1
commit
518b0b3c5f
@ -1500,8 +1500,8 @@ connection_handle_listener_read(connection_t *conn, int new_type)
|
|||||||
newconn->address = tor_dup_addr(&addr);
|
newconn->address = tor_dup_addr(&addr);
|
||||||
|
|
||||||
if (new_type == CONN_TYPE_AP && conn->socket_family != AF_UNIX) {
|
if (new_type == CONN_TYPE_AP && conn->socket_family != AF_UNIX) {
|
||||||
log_notice(LD_NET, "New SOCKS connection opened from %s.",
|
log_info(LD_NET, "New SOCKS connection opened from %s.",
|
||||||
fmt_and_decorate_addr(&addr));
|
fmt_and_decorate_addr(&addr));
|
||||||
TO_ENTRY_CONN(newconn)->socks_request->socks_prefer_no_auth =
|
TO_ENTRY_CONN(newconn)->socks_request->socks_prefer_no_auth =
|
||||||
TO_LISTENER_CONN(conn)->socks_prefer_no_auth;
|
TO_LISTENER_CONN(conn)->socks_prefer_no_auth;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user