Opened 19 months ago

Last modified 12 months ago

#24897 needs_information defect

Tor seems to malfunction on FreeBSD

Reported by: yurivict271 Owned by:
Priority: Medium Milestone: Tor: unspecified
Component: Core Tor/Tor Version:
Severity: Normal Keywords: tor-httptunnel, 033-triage-20180320, 033-removed-20180320
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

I am a maintainer of the Tor port.

Sometimes, when I try to use it, it doesn't work. I can't connect to any onion sites. The log looks like below, and I also see the tor process consuming a lot of CPU. Restarting tor restores its function.

torrc has these lines

Log notice file /var/log/tor/notices.log
ControlPort 9051

and two hidden services.

FreeBSD 11.1 amd64
tor-0.3.2.9 with port options:

Options        :
	DOCS           : off
	LZMA           : on
	MANPAGES       : on
	STATIC_TOR     : off
	TCMALLOC       : on
	TOR2WEB        : off
	ZSTD           : on
Jan 14 22:10:41.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:10:43.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:10:43.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:11:27.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:11:29.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:11:30.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:11:35.000 [notice] We'd like to launch a circuit to handle a connection, but we already have 32 general-purpose client circuits pending. Waiting until some finish. [1312433 similar message(s) suppressed in last 600 seconds]
Jan 14 22:11:54.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:11:56.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:11:57.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:11:58.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:11:58.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:12:46.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:13:11.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:13:40.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:13:43.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:13:43.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:14:31.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:14:31.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:14:32.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:14:32.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:14:57.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:15:40.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:15:40.000 [warn] Fetching socks handshake failed. Closing.
Jan 14 22:15:57.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:16:10.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:16:10.000 [warn] Fetching socks handshake failed. Closing.
Jan 14 22:16:40.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:16:56.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:17:15.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:17:15.000 [warn] Fetching socks handshake failed. Closing.
Jan 14 22:17:17.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:18:11.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:18:12.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:18:12.000 [warn] Fetching socks handshake failed. Closing.
Jan 14 22:18:58.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:18:58.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:19:00.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:19:46.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:19:48.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:19:56.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:19:58.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:20:01.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:20:43.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:20:44.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:20:46.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:20:46.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:20:48.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:20:50.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:20:51.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:21:35.000 [notice] We'd like to launch a circuit to handle a connection, but we already have 32 general-purpose client circuits pending. Waiting until some finish. [1248353 similar message(s) suppressed in last 600 seconds]
Jan 14 22:21:42.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:22:58.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:24:12.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:24:12.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:24:12.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:24:13.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:24:42.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:24:42.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:24:43.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:24:43.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:24:56.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:24:57.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:25:29.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:25:30.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:25:30.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:25:56.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:25:56.000 [warn] Fetching socks handshake failed. Closing.
Jan 14 22:26:13.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:26:13.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:26:25.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:26:44.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:26:44.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:26:45.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:27:31.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:27:58.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:27:58.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:28:26.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:28:31.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:28:32.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:29:14.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:29:16.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:29:18.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:29:41.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:29:59.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:29:59.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:30:56.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:30:56.000 [warn] Fetching socks handshake failed. Closing.
Jan 14 22:31:35.000 [notice] We'd like to launch a circuit to handle a connection, but we already have 32 general-purpose client circuits pending. Waiting until some finish. [1394999 similar message(s) suppressed in last 600 seconds]
Jan 14 22:31:41.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:31:43.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:31:44.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:31:45.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:31:45.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:31:45.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:31:45.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:31:45.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:31:45.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:33:26.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:33:28.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:33:30.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:33:31.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:33:31.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:34:11.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:34:13.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:34:13.000 [warn] Fetching socks handshake failed. Closing.
Jan 14 22:34:30.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:34:56.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:35:13.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:35:13.000 [warn] Fetching socks handshake failed. Closing.
Jan 14 22:35:16.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:36:13.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:36:13.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:36:13.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:36:13.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:36:59.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:37:00.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:37:00.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:37:00.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:37:01.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:37:47.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:37:47.000 [warn] Fetching socks handshake failed. Closing.
Jan 14 22:37:47.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:38:29.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:38:29.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:38:29.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:38:30.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:38:30.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:40:12.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:40:30.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:40:31.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:40:32.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:40:32.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:40:32.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:41:14.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:41:14.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:41:35.000 [notice] We'd like to launch a circuit to handle a connection, but we already have 32 general-purpose client circuits pending. Waiting until some finish. [1343295 similar message(s) suppressed in last 600 seconds]
Jan 14 22:42:00.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:42:01.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:42:02.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:42:12.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:42:13.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:42:56.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:42:59.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:42:59.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:43:01.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:43:01.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:43:01.000 [warn] Fetching socks handshake failed. Closing.
Jan 14 22:43:01.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:43:01.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:43:56.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:44:30.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:44:30.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:44:31.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:45:28.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:45:59.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:45:59.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:46:01.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:46:02.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:46:17.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:46:18.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:46:47.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:47:12.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:47:29.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:47:30.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:47:43.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:47:43.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:47:45.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:48:16.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:48:17.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:49:12.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:49:13.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:49:14.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:49:16.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:49:28.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:49:29.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:49:29.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:49:29.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:49:58.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:49:58.000 [warn] Fetching socks handshake failed. Closing.
Jan 14 22:49:59.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:50:17.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:50:47.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:50:48.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:50:48.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:51:13.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:51:14.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:51:16.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:51:35.000 [notice] We'd like to launch a circuit to handle a connection, but we already have 32 general-purpose client circuits pending. Waiting until some finish. [1360399 similar message(s) suppressed in last 600 seconds]
Jan 14 22:51:43.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:51:45.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:51:48.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:52:29.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:52:57.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:53:15.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:53:16.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:54:02.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:54:13.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:54:14.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:54:14.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:54:14.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:54:57.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:55:01.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:55:01.000 [warn] Fetching socks handshake failed. Closing.
Jan 14 22:55:14.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:55:14.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:55:44.000 [warn] Rejecting SOCKS request for anonymous connection to private address [scrubbed].
Jan 14 22:55:59.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:55:59.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:56:45.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:57:00.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:57:46.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:58:44.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:58:45.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:58:46.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:59:15.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 22:59:16.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 23:00:13.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 23:00:16.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 23:00:28.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 23:00:28.000 [warn] Fetching socks handshake failed. Closing.
Jan 14 23:00:58.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 23:00:59.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 23:01:13.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 23:01:35.000 [notice] We'd like to launch a circuit to handle a connection, but we already have 32 general-purpose client circuits pending. Waiting until some finish. [1352979 similar message(s) suppressed in last 600 seconds]
Jan 14 23:01:42.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 23:01:59.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 23:01:59.000 [warn] Fetching socks handshake failed. Closing.
Jan 14 23:01:59.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 23:02:00.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 23:02:02.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 23:02:46.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 23:02:47.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 23:02:52.000 [warn] Requested exit point '$53B68AE38217CA86E590592775FC86D948F61C94' is not known. Closing.
Jan 14 23:02:52.000 [warn] Requested exit point '$E43A346CB81DDF364B6FF68235AFADBA0E8692B8' is not known. Closing.
Jan 14 23:02:52.000 [warn] Requested exit point '$CCA02D02E37DE7D11AA5AF700B6F4EDFAAC4BBFD' is not known. Closing.
Jan 14 23:02:52.000 [warn] Requested exit point '$6E6047726C2CBF66D2C2C39CBB60DFC8585804DD' is not known. Closing.
Jan 14 23:02:52.000 [warn] Requested exit point '$53B68AE38217CA86E590592775FC86D948F61C94' is not known. Closing.
Jan 14 23:02:52.000 [warn] Requested exit point '$35D4C9F5DAEF4E066B70B2B02BDAABFE80553588' is not known. Closing.
Jan 14 23:02:52.000 [warn] Requested exit point '$91ADCDFCA830A1BBAD3A10377B25D695A92BF251' is not known. Closing.
Jan 14 23:02:52.000 [warn] Requested exit point '$53B68AE38217CA86E590592775FC86D948F61C94' is not known. Closing.
Jan 14 23:02:52.000 [warn] Requested exit point '$53B68AE38217CA86E590592775FC86D948F61C94' is not known. Closing.
Jan 14 23:02:52.000 [warn] Requested exit point '$53B68AE38217CA86E590592775FC86D948F61C94' is not known. Closing.
Jan 14 23:02:52.000 [warn] Requested exit point '$53B68AE38217CA86E590592775FC86D948F61C94' is not known. Closing.
Jan 14 23:02:59.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 23:03:02.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 23:03:04.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 23:03:16.000 [notice] Catching signal TERM, exiting cleanly.

Child Tickets

TicketStatusOwnerSummaryComponent
#24899new[feature request] Increase the limit on pending client circuits with the number of onion servicesCore Tor/Tor

Change History (19)

comment:1 Changed 19 months ago by arma

Component: - Select a componentCore Tor/Tor

comment:2 in reply to:  description Changed 19 months ago by arma

Replying to yurivict271:

Jan 14 22:10:41.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)

You should figure out what you have bombing your socksport with non-socks requests.

comment:3 Changed 19 months ago by yurivict271

You should figure out what you have bombing your socksport with non-socks requests.

Yes, I will try to figure this out.

But it bombs it once in every several seconds. This shouldn't cause service interruption.

comment:4 in reply to:  description Changed 19 months ago by arma

Replying to yurivict271:

Jan 14 22:11:35.000 [notice] We'd like to launch a circuit to handle a connection, but we already have 32 general-purpose client circuits pending. Waiting until some finish. [1312433 similar message(s) suppressed in last 600 seconds]

This one looks like #14006, and looks related to a "Tor can't reach anything" behavior.

Trying to narrow down some variables would be smart here. Does it happen with only one onion service? Does it happen on Linux or some other OS too? Is your network failing at the time? How loaded are the onion services? What other things is the client being asked to do at the same time?

comment:5 Changed 19 months ago by yurivict271

Does it happen with only one onion service?

Will see.

How loaded are the onion services?

Supposed to be totally idle. The names weren't advertised, and only exist for experimental purposes.

Does it happen on Linux or some other OS too?

I only have FreeBSD.

Is your network failing at the time?

Network functions very well, is never interrupted.

What other things is the client being asked to do at the same time?

ZeroNet runs in tor=always mode. It creates some temporary onions via the control port, so that other peers can connect.


What is also interesting is that this "bombing" stopped after tor restart. Now, after a while, I only see one such line again:

Jan 14 23:26:36.000 [notice] Have tried resolving or connecting to address '[scrubbed]' at 3 different places. Giving up.
Jan 14 23:27:54.000 [notice] Have tried resolving or connecting to address '[scrubbed]' at 3 different places. Giving up.
Jan 14 23:28:20.000 [notice] Have tried resolving or connecting to address '[scrubbed]' at 3 different places. Giving up.
Jan 14 23:28:40.000 [notice] We tried for 15 seconds to connect to '[scrubbed]' using exit $BC630CBBB518BE7E9F4E09712AB0269E9DC7D626~IPredator at 197.231.221.211. Retrying on a new circuit.
Jan 14 23:29:00.000 [notice] We tried for 15 seconds to connect to '[scrubbed]' using exit $379FB450010D17078B3766C2273303C358C3A442~aurora at 176.126.252.12. Retrying on a new circuit.
Jan 14 23:29:21.000 [notice] We tried for 15 seconds to connect to '[scrubbed]' using exit $30C19B81981F450C402306E2E7CFB6C3F79CB6B2~Libero at 64.113.32.29. Retrying on a new circuit.
Jan 14 23:29:27.000 [warn] Missing mapping for virtual address '[scrubbed]'. Refusing.
Jan 14 23:33:43.000 [warn] Socks version -125 not recognized. (This port is not an HTTP proxy; did you want to use HTTPTunnelPort?)
Jan 14 23:33:43.000 [warn] Fetching socks handshake failed. Closing.
Jan 14 23:34:43.000 [warn] Rejecting SOCKS request for anonymous connection to private address [scrubbed].
Jan 14 23:36:40.000 [notice] Have tried resolving or connecting to address '[scrubbed]' at 3 different places. Giving up.

comment:6 Changed 19 months ago by yurivict271

These ZeroNet hidden services might be very busy.

comment:7 Changed 19 months ago by yurivict271

More than likely, the non-SOCKS requests are sent by ZeroNet. Here is the bug report: https://github.com/HelloZeroNet/ZeroNet/issues/1243

But service interruption, and the messages

[notice] We'd like to launch a circuit to handle a connection, but we already have 32 general-purpose client circuits pending. Waiting until some finish.

are probably caused by busy temporary ZeroNet onion services.

No matter how busy they get, this shouldn't block access for other users, IMO.

comment:8 Changed 19 months ago by yawning

I don't think this is a bug. There is a upper limit on how many outgoing circuits are being constructed at any given time, the majority of the user base does not bump into the limit, and for those that do, there is a knob that can be used to increase said limit. And your tor instance is logging that it is hitting the limit whenever the delays occur.

       MaxClientCircuitsPending NUM
           Do not allow more than NUM circuits to be pending at a time for handling client streams. A circuit is pending if we have begun constructing it,
           but it has not yet been completely constructed. (Default: 32)

There may be a case for having an additional separate limits for restricting pending circuits by purpose, but that should probably be a separate ticket.

comment:9 Changed 19 months ago by yurivict271

I think the default limit of 32 is also very low. It is maybe okay for browsing. But if people have ZeroNet with several sites, the reasonable upper limit is even hard to determine. There can be a lot of peers requesting/syncing content, depending on situation.

comment:10 Changed 19 months ago by yurivict271

This feature suggestion might help in this situation: https://trac.torproject.org/projects/tor/ticket/24899

comment:11 Changed 19 months ago by dgoulet

Milestone: Tor: 0.3.3.x-final

comment:12 Changed 19 months ago by yurivict271

The milestones on this one and on #24899 don't match. :-)

comment:13 Changed 19 months ago by yurivict271

After increasing the limit to MaxClientCircuitsPending 128, I still see the problem. The log ended with

Jan 20 16:33:30.000 [notice] We'd like to launch a circuit to handle a connection, but we already have 128 general-purpose client circuits pending. Waiting until some finish. [1808313 similar message(s) suppressed in last 600 seconds]

ZeroNet has been stopped at about the same time.

The tor process was at 100% CPU for at least 10 minutes after ZeroNet was stopped. Only after ~15 minutes it became usable again.

The problem seems to be deeper than just running out of circuits. It persists for many minutes after all temporary ZeroNet onions have been shut down.

Once the user-process is shut down, all its onions and circuits should shut down promptly. It looks like this doesn't happen.

Somebody should re-create the setup I have (Tor+ZeroNet with tor=always and a lot of zero sites on FreeBSD 11.1), and see what the problem is.

Last edited 19 months ago by yurivict271 (previous) (diff)

comment:14 Changed 19 months ago by yurivict271

So, this problem will still likely persist once #24899 will be fixed.

Last edited 19 months ago by yurivict271 (previous) (diff)

comment:15 Changed 19 months ago by dgoulet

Status: newneeds_information

Once the ZeroNet process has stopped, you still have Tor at 100% CPU? In other words, do you still see many many SOCKS request coming in after?

What probably we need now is debug logs by adding this to your torrc:

Log debug file /tmp/tor-debug.log.

This might be very very load but the idea is to catch what tor is doing _after_ ZeroNet has stopped spamming tor in circuit requests.

comment:16 Changed 17 months ago by nickm

Keywords: 033-triage-20180320 added

Marking all tickets reached by current round of 033 triage.

comment:17 Changed 17 months ago by nickm

Keywords: 033-removed-20180320 added

Mark all not-already-included tickets as pending review for removal from 0.3.3 milestone.

comment:18 Changed 17 months ago by nickm

Milestone: Tor: 0.3.3.x-finalTor: unspecified

comment:19 Changed 12 months ago by traumschule

Keywords: tor-httptunnel added
Note: See TracTickets for help on using tickets.