hi Torix,
The logs are indeed meaningful, I am confident my bridge is used :
Dec 11 23:23:13.000 [notice] Heartbeat: In the last 6 hours, I have seen 5 unique clients. Dec 12 05:23:13.000 [notice] Heartbeat: In the last 6 hours, I have seen 3 unique clients.
There is a bridge tester page at: https://bridges.torproject.org/scan/
This one only validate the ports are open.
As for finding out if anyone is using it or not, I use: netstat -n |grep ESTA|wc -l
This one does not limit to tor bridge
On Sat Dec 11, 2021 at 7:32 PM CET, torix wrote:
Dear Natus,
So glad to hear you put up a bridge -
I'm writing you directly because I seem to have encrypted myself out of being able to write to the list; they can't unencrypt what I write any more to check if it's okay to put on the list.
There is a bridge tester page at: https://bridges.torproject.org/scan/ To test your ipv4 orport, put in your ipv4 address of your bridge. For the obfs4 port, be sure to put in the orport number from this line in your torrc: https://bridges.torproject.org/scan/ ServerTransportListenAddr obfs4 0.0.0.0:<your port number> Resulting page will tell you if the bridge is working or not.
As for finding out if anyone is using it or not, I use: netstat -n |grep ESTA|wc -l to find the number of current connections. Or, for more modern linuxes which stopped having netstat installed: ss -t|grep ESTAB |wc -l Or, if you are using FreeBSD: sockstat -c |grep _tor| wc -l
Going back to the log file: There is a heartbeat message that gives you the number of users every 6 hours. Here's 2 examples from mine:
Dec 11 14:16:03.000 [notice] Heartbeat: In the last 6 hours, I have seen 20 unique clients.
Dec 11 20:16:03.000 [notice] Heartbeat: In the last 6 hours, I have seen 17 unique clients.
HTH,
--Torix
Sent with ProtonMail Secure Email.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Saturday, December 11th, 2021 at 5:47 PM, Natus natus@riseup.net wrote:
hi
just setup a tor bridge. how can I validate it is up and running ?
logs look fine:
[notice] You can check the status of your bridge relay at https://bridges.torproject.org/status?id=<a key>
[notice] Unable to find IPv4 address for ORPort <port>. You might want to specify IPv6Only to it or set an explicit address or set Address.
[notice] your ORPort <ip>:<port> is reachable from the outside. Excellent. Publishing server descriptor.
When going on the link above I get :
Bridge <a key> advertises:
- obfs4: functional
Last tested: 2021-12-11 17:38:47.790513642 +0000 UTC (3m11.984999137s ago)
Then any way to monitor how useful running this is ?
THanks
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays