[tor-relays] tor bridge on FreeBSD silently stops working

torbridge at wp1180731.server-he.de torbridge at wp1180731.server-he.de
Wed Apr 28 19:00:16 UTC 2021


Hi,

I am trying to run a bridge with 0.4.5.7 on FreeBSD since a couple of 
weeks. Everything seems fine for a few days and then my bridge is 
reported offline on metrics.torproject.org. There are only notice 
messages in the logs and after a restart everything seems fine again 
(for a few days). Attached are the complete logs for a full cycle. Any 
ideas? Thanks!

BR, CoS

Apr 23 17:55:02.000 [notice] Tor 0.4.5.7 opening log file.
Apr 23 17:55:02.841 [notice] We compiled with OpenSSL 1010108f: OpenSSL 
1.1.1h-freebsd  22 Sep 2020 and we are running with OpenSSL 1010108f: 
1.1.1h-freebsd. These two versions sh>
Apr 23 17:55:02.846 [notice] Tor 0.4.5.7 running on FreeBSD with 
Libevent 2.1.12-stable, OpenSSL 1.1.1h-freebsd, Zlib 1.2.11, Liblzma 
5.2.5, Libzstd 1.4.8 and Unknown N/A as libc.
Apr 23 17:55:02.846 [notice] Tor can't help you if you use it wrong! 
Learn how to be safe at https://www.torproject.org/download/download#warning
Apr 23 17:55:02.846 [notice] Read configuration file 
"/usr/local/etc/tor/torrc".
Apr 23 17:55:02.847 [notice] Based on detected system memory, 
MaxMemInQueues is set to 8192 MB. You can override this by setting 
MaxMemInQueues by hand.
Apr 23 17:55:02.849 [notice] Opening Socks listener on 127.0.0.1:9050
Apr 23 17:55:02.849 [notice] Opened Socks listener connection (ready) on 
127.0.0.1:9050
Apr 23 17:55:02.849 [notice] Opening OR listener on 0.0.0.0:59001
Apr 23 17:55:02.849 [notice] Opened OR listener connection (ready) on 
0.0.0.0:59001
Apr 23 17:55:02.849 [notice] Opening Extended OR listener on 127.0.0.1:0
Apr 23 17:55:02.849 [notice] Extended OR listener listening on port 12450.
Apr 23 17:55:02.849 [notice] Opened Extended OR listener connection 
(ready) on 127.0.0.1:12450
Apr 23 17:55:08.000 [notice] Parsing GEOIP IPv4 file 
/usr/local/share/tor/geoip.
Apr 23 17:55:08.000 [notice] Parsing GEOIP IPv6 file 
/usr/local/share/tor/geoip6.
Apr 23 17:55:08.000 [notice] Configured to measure statistics. Look for 
the *-stats files that will first be written to the data directory in 24 
hours from now.
Apr 23 17:55:08.000 [notice] Your Tor server's identity key fingerprint 
is '...'
Apr 23 17:55:08.000 [notice] Your Tor bridge's hashed identity key  
fingerprint is '...'
Apr 23 17:55:08.000 [notice] Your Tor server's identity key ed25519 
fingerprint is '...'
Apr 23 17:55:08.000 [notice] Bootstrapped 0% (starting): Starting
Apr 23 17:55:13.000 [notice] Starting with guard context "default"
Apr 23 17:55:14.000 [notice] Registered server transport 'obfs4' at 
'[::]:59002'
Apr 23 17:55:15.000 [notice] Bootstrapped 5% (conn): Connecting to a relay
Apr 23 17:55:15.000 [notice] Bootstrapped 10% (conn_done): Connected to 
a relay
Apr 23 17:55:15.000 [notice] Bootstrapped 14% (handshake): Handshaking 
with a relay
Apr 23 17:55:15.000 [notice] Bootstrapped 15% (handshake_done): 
Handshake with a relay done
Apr 23 17:55:15.000 [notice] Bootstrapped 75% (enough_dirinfo): Loaded 
enough directory info to build circuits
Apr 23 17:55:15.000 [notice] Bootstrapped 90% (ap_handshake_done): 
Handshake finished with a relay to build circuits
Apr 23 17:55:15.000 [notice] Bootstrapped 95% (circuit_create): 
Establishing a Tor circuit
Apr 23 17:55:15.000 [notice] Bootstrapped 100% (done): Done
Apr 23 17:55:15.000 [notice] Now checking whether IPv4 ORPort <IP>:59001 
is reachable... (this may take up to 20 minutes -- look for log messages 
indicating success)
Apr 23 17:55:15.000 [notice] Self-testing indicates your ORPort 
<IP>:59001 is reachable from the outside. Excellent. Publishing server 
descriptor.
Apr 23 17:57:15.000 [notice] Performing bandwidth self-test...done.
Apr 23 23:55:15.000 [notice] Heartbeat: Tor's uptime is 6:00 hours, with 
14 circuits open. I've sent 2.44 MB and received 5.56 MB. I've received 
29 connections on IPv4 and 0 on IPv6. I've made 21 connections with IPv4 
and 0 with IPv6.
Apr 23 23:55:15.000 [notice] While bootstrapping, fetched this many 
bytes: 14229 (microdescriptor fetch)
Apr 23 23:55:15.000 [notice] While not bootstrapping, fetched this many 
bytes: 3325179 (server descriptor fetch); 416 (server descriptor 
upload); 424669 (consensus network-status fetch); 47935 (microdescriptor 
fetch)
Apr 23 23:55:15.000 [notice] Heartbeat: In the last 6 hours, I have seen 
0 unique clients.
Apr 24 05:55:15.000 [notice] Heartbeat: Tor's uptime is 12:00 hours, 
with 17 circuits open. I've sent 3.55 MB and received 10.47 MB. I've 
received 48 connections on IPv4 and 0 on IPv6. I've made 47 connections 
with IPv4 and 0 with IPv6.
Apr 24 05:55:15.000 [notice] While bootstrapping, fetched this many 
bytes: 14229 (microdescriptor fetch)
Apr 24 05:55:15.000 [notice] While not bootstrapping, fetched this many 
bytes: 6803210 (server descriptor fetch); 777 (server descriptor 
upload); 831617 (consensus network-status fetch); 75237 (microdescriptor 
fetch)
Apr 24 05:55:15.000 [notice] Heartbeat: In the last 6 hours, I have seen 
0 unique clients.
Apr 24 11:55:15.000 [notice] Heartbeat: Tor's uptime is 18:00 hours, 
with 14 circuits open. I've sent 4.61 MB and received 15.12 MB. I've 
received 72 connections on IPv4 and 0 on IPv6. I've made 71 connections 
with IPv4 and 0 with IPv6.
Apr 24 11:55:15.000 [notice] While bootstrapping, fetched this many 
bytes: 14229 (microdescriptor fetch)
Apr 24 11:55:15.000 [notice] While not bootstrapping, fetched this many 
bytes: 10069221 (server descriptor fetch); 1133 (server descriptor 
upload); 1260752 (consensus network-status fetch); 94285 
(microdescriptor fetch)
Apr 24 11:55:15.000 [notice] Heartbeat: In the last 6 hours, I have seen 
1 unique clients.
Apr 24 17:55:15.000 [notice] Heartbeat: Tor's uptime is 1 day 0:00 
hours, with 15 circuits open. I've sent 5.66 MB and received 19.68 MB. 
I've received 92 connections on IPv4 and 0 on IPv6. I've made 96 
connections with IPv4 and 0 with IPv6.
Apr 24 17:55:15.000 [notice] While bootstrapping, fetched this many 
bytes: 14229 (microdescriptor fetch)
Apr 24 17:55:15.000 [notice] While not bootstrapping, fetched this many 
bytes: 13235338 (server descriptor fetch); 1513 (server descriptor 
upload); 1651560 (consensus network-status fetch); 118649 
(microdescriptor fetch)
Apr 24 17:55:15.000 [notice] Heartbeat: In the last 6 hours, I have seen 
0 unique clients.
Apr 24 23:55:15.000 [notice] Heartbeat: Tor's uptime is 1 day 6:00 
hours, with 14 circuits open. I've sent 6.63 MB and received 24.43 MB. 
I've received 113 connections on IPv4 and 0 on IPv6. I've made 126 
connections with IPv4 and 0 with IPv6.
Apr 24 23:55:15.000 [notice] While bootstrapping, fetched this many 
bytes: 14229 (microdescriptor fetch)
Apr 24 23:55:15.000 [notice] While not bootstrapping, fetched this many 
bytes: 16522259 (server descriptor fetch); 1869 (server descriptor 
upload); 2065095 (consensus network-status fetch); 151982 
(microdescriptor fetch)
Apr 24 23:55:15.000 [notice] Heartbeat: In the last 6 hours, I have seen 
0 unique clients.
Apr 25 05:55:15.000 [notice] Heartbeat: Tor's uptime is 1 day 12:00 
hours, with 14 circuits open. I've sent 7.61 MB and received 29.17 MB. 
I've received 128 connections on IPv4 and 0 on IPv6. I've made 151 
connections with IPv4 and 0 with IPv6.
Apr 25 05:55:15.000 [notice] While bootstrapping, fetched this many 
bytes: 14229 (microdescriptor fetch)
Apr 25 05:55:15.000 [notice] While not bootstrapping, fetched this many 
bytes: 19898717 (server descriptor fetch); 2224 (server descriptor 
upload); 2522039 (consensus network-status fetch); 180939 
(microdescriptor fetch)
Apr 25 05:55:15.000 [notice] Heartbeat: In the last 6 hours, I have seen 
0 unique clients.
Apr 25 11:55:15.000 [notice] Heartbeat: Tor's uptime is 1 day 18:00 
hours, with 14 circuits open. I've sent 8.70 MB and received 33.86 MB. 
I've received 144 connections on IPv4 and 0 on IPv6. I've made 176 
connections with IPv4 and 0 with IPv6.
Apr 25 11:55:15.000 [notice] While bootstrapping, fetched this many 
bytes: 14229 (microdescriptor fetch)
Apr 25 11:55:15.000 [notice] While not bootstrapping, fetched this many 
bytes: 23131099 (server descriptor fetch); 2581 (server descriptor 
upload); 2941913 (consensus network-status fetch); 204489 
(microdescriptor fetch)
Apr 25 11:55:15.000 [notice] Heartbeat: In the last 6 hours, I have seen 
0 unique clients.
Apr 25 17:55:15.000 [notice] Heartbeat: Tor's uptime is 2 days 0:00 
hours, with 14 circuits open. I've sent 9.66 MB and received 38.30 MB. 
I've received 150 connections on IPv4 and 0 on IPv6. I've made 197 
connections with IPv4 and 0 with IPv6.
Apr 25 17:55:15.000 [notice] While bootstrapping, fetched this many 
bytes: 14229 (microdescriptor fetch)
Apr 25 17:55:15.000 [notice] While not bootstrapping, fetched this many 
bytes: 26278426 (server descriptor fetch); 2934 (server descriptor 
upload); 3313112 (consensus network-status fetch); 221134 
(microdescriptor fetch)
Apr 25 17:55:15.000 [notice] Heartbeat: In the last 6 hours, I have seen 
0 unique clients.
Apr 25 23:55:15.000 [notice] Heartbeat: Tor's uptime is 2 days 6:00 
hours, with 14 circuits open. I've sent 11.02 MB and received 43.50 MB. 
I've received 164 connections on IPv4 and 0 on IPv6. I've made 219 
connections with IPv4 and 0 with IPv6.
Apr 25 23:55:15.000 [notice] While bootstrapping, fetched this many 
bytes: 14229 (microdescriptor fetch)
Apr 25 23:55:15.000 [notice] While not bootstrapping, fetched this many 
bytes: 29698140 (server descriptor fetch); 3289 (server descriptor 
upload); 3770948 (consensus network-status fetch); 270111 
(microdescriptor fetch)
Apr 25 23:55:15.000 [notice] Heartbeat: In the last 6 hours, I have seen 
0 unique clients.
Apr 26 05:55:15.000 [notice] Heartbeat: Tor's uptime is 2 days 12:00 
hours, with 14 circuits open. I've sent 12.06 MB and received 48.23 MB. 
I've received 175 connections on IPv4 and 0 on IPv6. I've made 238 
connections with IPv4 and 0 with IPv6.
Apr 26 05:55:15.000 [notice] While bootstrapping, fetched this many 
bytes: 14229 (microdescriptor fetch)
Apr 26 05:55:15.000 [notice] While not bootstrapping, fetched this many 
bytes: 33051667 (server descriptor fetch); 3644 (server descriptor 
upload); 4182922 (consensus network-status fetch); 297329 
(microdescriptor fetch)
Apr 26 05:55:15.000 [notice] Heartbeat: In the last 6 hours, I have seen 
0 unique clients.
Apr 26 11:55:15.000 [notice] Heartbeat: Tor's uptime is 2 days 18:00 
hours, with 14 circuits open. I've sent 13.03 MB and received 52.52 MB. 
I've received 183 connections on IPv4 and 0 on IPv6. I've made 259 
connections with IPv4 and 0 with IPv6.
Apr 26 11:55:15.000 [notice] While bootstrapping, fetched this many 
bytes: 14229 (microdescriptor fetch)
Apr 26 11:55:15.000 [notice] While not bootstrapping, fetched this many 
bytes: 35924906 (server descriptor fetch); 3997 (server descriptor 
upload); 4585809 (consensus network-status fetch); 320634 
(microdescriptor fetch)
Apr 26 11:55:15.000 [notice] Heartbeat: In the last 6 hours, I have seen 
0 unique clients.
Apr 26 17:55:15.000 [notice] Heartbeat: Tor's uptime is 3 days 0:00 
hours, with 14 circuits open. I've sent 14.14 MB and received 57.94 MB. 
I've received 227 connections on IPv4 and 0 on IPv6. I've made 286 
connections with IPv4 and 0 with IPv6.
Apr 26 17:55:15.000 [notice] While bootstrapping, fetched this many 
bytes: 14229 (microdescriptor fetch)
Apr 26 17:55:15.000 [notice] While not bootstrapping, fetched this many 
bytes: 39868200 (server descriptor fetch); 4349 (server descriptor 
upload); 5011550 (consensus network-status fetch); 338988 
(microdescriptor fetch)
Apr 26 17:55:15.000 [notice] Heartbeat: In the last 6 hours, I have seen 
0 unique clients.
Apr 26 23:55:15.000 [notice] Heartbeat: Tor's uptime is 3 days 6:00 
hours, with 14 circuits open. I've sent 15.33 MB and received 62.14 MB. 
I've received 263 connections on IPv4 and 0 on IPv6. I've made 315 
connections with IPv4 and 0 with IPv6.
Apr 26 23:55:15.000 [notice] While bootstrapping, fetched this many 
bytes: 14229 (microdescriptor fetch)
Apr 26 23:55:15.000 [notice] While not bootstrapping, fetched this many 
bytes: 42672022 (server descriptor fetch); 4710 (server descriptor 
upload); 5409619 (consensus network-status fetch); 364853 
(microdescriptor fetch)
Apr 26 23:55:15.000 [notice] Heartbeat: In the last 6 hours, I have seen 
0 unique clients.
Apr 27 05:55:15.000 [notice] Heartbeat: Tor's uptime is 3 days 12:00 
hours, with 14 circuits open. I've sent 16.46 MB and received 67.59 MB. 
I've received 294 connections on IPv4 and 0 on IPv6. I've made 339 
connections with IPv4 and 0 with IPv6.
Apr 27 05:55:15.000 [notice] While bootstrapping, fetched this many 
bytes: 14229 (microdescriptor fetch)
Apr 27 05:55:15.000 [notice] While not bootstrapping, fetched this many 
bytes: 46581059 (server descriptor fetch); 5072 (server descriptor 
upload); 5916758 (consensus network-status fetch); 396506 
(microdescriptor fetch)
Apr 27 05:55:15.000 [notice] Heartbeat: In the last 6 hours, I have seen 
0 unique clients.
Apr 27 11:55:15.000 [notice] Heartbeat: Tor's uptime is 3 days 18:00 
hours, with 14 circuits open. I've sent 17.40 MB and received 71.76 MB. 
I've received 327 connections on IPv4 and 0 on IPv6. I've made 361 
connections with IPv4 and 0 with IPv6.
Apr 27 11:55:15.000 [notice] While bootstrapping, fetched this many 
bytes: 14229 (microdescriptor fetch)
Apr 27 11:55:15.000 [notice] While not bootstrapping, fetched this many 
bytes: 49399742 (server descriptor fetch); 5428 (server descriptor 
upload); 6306806 (consensus network-status fetch); 434479 
(microdescriptor fetch)
Apr 27 11:55:15.000 [notice] Heartbeat: In the last 6 hours, I have seen 
0 unique clients.
Apr 27 17:55:15.000 [notice] Heartbeat: Tor's uptime is 4 days 0:00 
hours, with 14 circuits open. I've sent 18.48 MB and received 76.37 MB. 
I've received 363 connections on IPv4 and 0 on IPv6. I've made 389 
connections with IPv4 and 0 with IPv6.
Apr 27 17:55:15.000 [notice] While bootstrapping, fetched this many 
bytes: 14229 (microdescriptor fetch)
Apr 27 17:55:15.000 [notice] While not bootstrapping, fetched this many 
bytes: 52642829 (server descriptor fetch); 5783 (server descriptor 
upload); 6694956 (consensus network-status fetch); 449421 
(microdescriptor fetch)
Apr 27 17:55:15.000 [notice] Heartbeat: In the last 6 hours, I have seen 
0 unique clients.
Apr 27 23:55:15.000 [notice] Heartbeat: Tor's uptime is 4 days 6:00 
hours, with 14 circuits open. I've sent 19.58 MB and received 81.07 MB. 
I've received 398 connections on IPv4 and 0 on IPv6. I've made 415 
connections with IPv4 and 0 with IPv6.
Apr 27 23:55:15.000 [notice] While bootstrapping, fetched this many 
bytes: 14229 (microdescriptor fetch)
Apr 27 23:55:15.000 [notice] While not bootstrapping, fetched this many 
bytes: 55871065 (server descriptor fetch); 6139 (server descriptor 
upload); 7099861 (consensus network-status fetch); 472115 
(microdescriptor fetch)
Apr 27 23:55:15.000 [notice] Heartbeat: In the last 6 hours, I have seen 
0 unique clients.
Apr 28 05:55:15.000 [notice] Heartbeat: Tor's uptime is 4 days 12:00 
hours, with 14 circuits open. I've sent 20.86 MB and received 86.85 MB. 
I've received 437 connections on IPv4 and 0 on IPv6. I've made 453 
connections with IPv4 and 0 with IPv6.
Apr 28 05:55:15.000 [notice] While bootstrapping, fetched this many 
bytes: 14229 (microdescriptor fetch)
Apr 28 05:55:15.000 [notice] While not bootstrapping, fetched this many 
bytes: 59923952 (server descriptor fetch); 6493 (server descriptor 
upload); 7569990 (consensus network-status fetch); 498710 
(microdescriptor fetch)
Apr 28 05:55:15.000 [notice] Heartbeat: In the last 6 hours, I have seen 
0 unique clients.
Apr 28 11:55:15.000 [notice] Heartbeat: Tor's uptime is 4 days 18:00 
hours, with 14 circuits open. I've sent 21.84 MB and received 91.12 MB. 
I've received 461 connections on IPv4 and 0 on IPv6. I've made 473 
connections with IPv4 and 0 with IPv6.
Apr 28 11:55:15.000 [notice] While bootstrapping, fetched this many 
bytes: 14229 (microdescriptor fetch)
Apr 28 11:55:15.000 [notice] While not bootstrapping, fetched this many 
bytes: 62804633 (server descriptor fetch); 6847 (server descriptor 
upload); 7979620 (consensus network-status fetch); 518735 
(microdescriptor fetch)
Apr 28 11:55:15.000 [notice] Heartbeat: In the last 6 hours, I have seen 
0 unique clients.
Apr 28 12:58:12.000 [notice] Catching signal TERM, exiting cleanly.



More information about the tor-relays mailing list