Re: [tor-relays] Any tor relay watchdog services? - self made alternatives
Hi Layer13 Am 13.03.2020 um 09:51 schrieb Paul Geurts: > it would send me an automated email telling me that my relay is down I apologize to not answer to what you ask for. > A little bit of backstory on why I need this: > so a couple of days ago (13 to be exact) my server had an > issue and rebooted, since that reboot I didn't start my relay > node and it was down for 13 days until I noticed it today. But let me propose some alternatives: 1) Make the tor instance start after a server reboot On super old Debian it worked for me like: # crontab -e @reboot tor -f /etc/tor/torrc >/dev/null 2>&1 On Freebsd it works like: echo tor_enable="YES" > /etc/rc.conf 2) Run a tor client (only) on any other pc, pi or server if you have one and grep its consensus file hourly for the fingerprint of your relay. The computer could send out emails etc. The consensus file is found in the tor client tor data directory: %DataDirectory%/cached-microdesc-consensus The tor client receives documents from the network hourly or so. If the network does not see your relay for a certain periode it gets kicked from the consensus list until it's back and running well enough. Btw the flags and the consensus value can be found there as well. 3) Edit the tor servers torrc file and include the directive: DirPortFrontPage /somewhere/mypage.html Write a simple html file and give tor the rights to read it: # nano /somewhere/mypage.html TorServerNonExit my fingerprint You need to have the DirPort active. If the DirPort is on a browser readable port (ie 80) you can browse, wget or curl the relay_address:port and see if the daemon runs. Have fun with your relays and stay healthy! -- Cheers, Felix ___ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
Re: [tor-relays] tor relay
On Fri, 13 Mar 2020 13:53:25 +0300 armik...@gmail.com wrote: > С уважением, > Станислав I'm not sure if trailing dot is allowed in the "search" directive. Can you try removing the dot after "lan"? Or just remove the "search" line entirely. -- With respect, Roman ___ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
Re: [tor-relays] tor relay
13.03.2020, 14:55, "teor" :Hi, Post the entire file without shortening or removing any line. If it complainsabout parse error, there must be something wrong in it, but you don't noticeor don't think it is wrong. People on the mailing list can check if it's ok,but again only if you post the entire file (copy-paste or attach). С уважением,Станислав There could be a few things wrong here. Try setting ServerDNSResolvConfFile to /dev/null,or a world-readable empty file, and see if your problem goes away. If it does, here are some common issues to check: What are the permissions on /etc.resolv.conf ?Can the tor user read the file? Is the file a symlink?(macOS does this, not sure if some Linux distros do as well) Are there any hidden characters in the file?Does it use Unix newlines? Tor uses libevent's evdns_base_resolv_conf_parse() to parse the file.https://libevent.org/doc/dns_8h.html#a7e3a053e25ae7c045944a5db0947babb How old is your version of libevent? T -- teor-- ,___tor-relays mailing listtor-relays@lists.torproject.orghttps://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays С уважением,Станислав What are the permissions on /etc.resolv.conf ?read and write Is the file a symlink?I do not know Are there any hidden characters in the file?no Does it use Unix newlines?I do not know How old is your version of libevent?libevent 2.1.11 I deleted this file and managed to start, but such entries appeared: Mar 09 22:32:18.000 [notice] Received reload signal (hup). Reloading config and resetting internal state.Mar 09 22:32:18.000 [notice] Read configuration file "/etc/tor/torrc1".Mar 09 22:32:18.000 [notice] Your ContactInfo config option is not set. Please consider setting it, so we can contact you if your server is misconfigured or something else goes wrong.Mar 09 22:32:18.000 [warn] MyFamily is set but ContactInfo is not configured. ContactInfo should always be set when MyFamily option is too.Mar 09 22:32:18.000 [notice] Tor 0.4.2.5 opening log file.Mar 09 22:32:18.000 [warn] Unable to stat resolver configuration in '/etc/resolv.conf': No such file or directoryMar 09 22:32:18.000 [warn] Could not read your DNS config from '/etc/resolv.conf' - please investigate your DNS configuration. This is possibly a problem. Meanwhile, falling back to local DNS at 127.0.0.1.Mar 09 22:32:18.000 [warn] Unable to stat resolver configuration in '/etc/resolv.conf': No such file or directoryMar 09 22:32:18.000 [warn] Could not read your DNS config from '/etc/resolv.conf' - please investigate your DNS configuration. This is possibly a problem. Meanwhile, falling back to local DNS at 127.0.0.1. ___ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
Re: [tor-relays] tor relay
Hi, >> Post the entire file without shortening or removing any line. If it complains >> about parse error, there must be something wrong in it, but you don't notice >> or don't think it is wrong. People on the mailing list can check if it's ok, >> but again only if you post the entire file (copy-paste or attach). > > С уважением, > Станислав > > There could be a few things wrong here. Try setting ServerDNSResolvConfFile to /dev/null, or a world-readable empty file, and see if your problem goes away. If it does, here are some common issues to check: What are the permissions on /etc.resolv.conf ? Can the tor user read the file? Is the file a symlink? (macOS does this, not sure if some Linux distros do as well) Are there any hidden characters in the file? Does it use Unix newlines? Tor uses libevent's evdns_base_resolv_conf_parse() to parse the file. https://libevent.org/doc/dns_8h.html#a7e3a053e25ae7c045944a5db0947babb How old is your version of libevent? T -- teor -- ___ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
Re: [tor-relays] tor relay
13.03.2020, 13:23, "Roman Mamedov" : > On Fri, 13 Mar 2020 13:17:48 +0300 > Станислав wrote: > >> 12.03.2020, 23:36, "Sean Greenslade" : >> >>> What are the contents of /etc/resolv.conf ? >> >> >> >> 127.0.0.1 >> >> ::1 >> > >> > That's the problem. The format of resolv.conf requires the string >> "nameserver" before each ip. Try something like this: >> > >> > # Up to three nameserver lines are allowed. >> > nameserver 127.0.0.1 >> > nameserver ::1 >> > #nameserver >> > >> > --Sean >> > >> > ___ >> > tor-relays mailing list >> > tor-relays@lists.torproject.org >> > https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays >> >> С уважением, >> Станислав >> >> that’s exactly what it says, I simply shortened and did not write the word >> nameserver >> ___ >> tor-relays mailing list >> tor-relays@lists.torproject.org >> https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays > > Post the entire file without shortening or removing any line. If it complains > about parse error, there must be something wrong in it, but you don't notice > or don't think it is wrong. People on the mailing list can check if it's ok, > but again only if you post the entire file (copy-paste or attach). > > -- > With respect, > Roman С уважением, Станислав # /tmp/resolv.conf generated by Unbound UCI 2020-03-09T22:01:11+0300 nameserver 127.0.0.1 nameserver ::1 search lan. ___ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
Re: [tor-relays] tor relay
On Fri, 13 Mar 2020 13:17:48 +0300 Станислав wrote: > > > 12.03.2020, 23:36, "Sean Greenslade" : > >>> What are the contents of /etc/resolv.conf ? > >> > >> 127.0.0.1 > >> ::1 > > > > That's the problem. The format of resolv.conf requires the string > > "nameserver" before each ip. Try something like this: > > > > # Up to three nameserver lines are allowed. > > nameserver 127.0.0.1 > > nameserver ::1 > > #nameserver > > > > --Sean > > > > ___ > > tor-relays mailing list > > tor-relays@lists.torproject.org > > https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays > > С уважением, > Станислав > > > that’s exactly what it says, I simply shortened and did not write the word > nameserver > ___ > tor-relays mailing list > tor-relays@lists.torproject.org > https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays Post the entire file without shortening or removing any line. If it complains about parse error, there must be something wrong in it, but you don't notice or don't think it is wrong. People on the mailing list can check if it's ok, but again only if you post the entire file (copy-paste or attach). -- With respect, Roman ___ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
Re: [tor-relays] tor relay
12.03.2020, 23:36, "Sean Greenslade" : >>> What are the contents of /etc/resolv.conf ? >> >> 127.0.0.1 >> ::1 > > That's the problem. The format of resolv.conf requires the string > "nameserver" before each ip. Try something like this: > > # Up to three nameserver lines are allowed. > nameserver 127.0.0.1 > nameserver ::1 > #nameserver > > --Sean > > ___ > tor-relays mailing list > tor-relays@lists.torproject.org > https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays С уважением, Станислав that’s exactly what it says, I simply shortened and did not write the word nameserver ___ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
Re: [tor-relays] website support
Hi, There are a few different tools that are publicly available. Here are the ones that most relay operators use: > On 12 Mar 2020, at 18:17, potlatch wrote: > > I have a few exit relays on the Tor network but generally I'm flying blind. > Why isn't there an index of tor relays that can be accessed? Relay search is a general tool that lists relays and bridges: https://metrics.torproject.org/rs.html Consensus health is a diagnostic tool that lists detailed relay vote info: https://consensus-health.torproject.org/#relayinfo > Why isn't the tor access via it's website able to deliver me to the software > pages? I'm not sure what you mean here, can you tell us what you've tried? I just accessed the tor download page over tor, with 2 clicks from the www page: https://www.torproject.org/download/tor/ > Why is the graphic display of tor connections over 5-years old? I thought > tor was expert in data delivery and security. There are a bunch of connection statistics that update every day: https://metrics.torproject.org/connbidirect.html https://metrics.torproject.org/torperf.html Maybe you're talking about these charts? Country Cartogram, Oxford Institute, 2012-2013 https://metrics.torproject.org/oxford-anonymous-internet.html Data Flow, Uncharted, 2007-2016 https://metrics.torproject.org/uncharted-data-flow.html I'm not sure if we have the tools to update them ourselves. Have you tried contacting the authors? T ___ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
Re: [tor-relays] Any tor relay watchdog services?
I use uptime robot, but there are probably lots of others to do it. On Fri, Mar 13, 2020, 09:44 Layer13 wrote: > Hello, > > I'm writing to query about tor relay watchdogs and ask if there are any > services to check if tor reachable from the internet and if not it would > send me an automated email telling me that my relay is down. > > A little bit of backstory on why I need this: so a couple of days ago > (13 to be exact) my server had an issue and rebooted, since that reboot > I didn't start my relay node and it was down for 13 days until I noticed > it today. > > ___ > tor-relays mailing list > tor-relays@lists.torproject.org > https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays > ___ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
[tor-relays] Any tor relay watchdog services?
Hello, I'm writing to query about tor relay watchdogs and ask if there are any services to check if tor reachable from the internet and if not it would send me an automated email telling me that my relay is down. A little bit of backstory on why I need this: so a couple of days ago (13 to be exact) my server had an issue and rebooted, since that reboot I didn't start my relay node and it was down for 13 days until I noticed it today. ___ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
Re: [tor-relays] tor relay
>> What are the contents of /etc/resolv.conf ? > >127.0.0.1 >::1 That's the problem. The format of resolv.conf requires the string "nameserver" before each ip. Try something like this: # Up to three nameserver lines are allowed. nameserver 127.0.0.1 nameserver ::1 #nameserver --Sean ___ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
Re: [tor-relays] tor relay
On 12.03.2020 08:14, Станислав wrote: 11.03.2020, 22:57, "Sean Greenslade" : On March 9, 2020 3:55:38 AM PDT, "Станислав" wrote: hi.I start second instance of tor, but for some reason it stopped working.after updating the firmware on board pc engines apu2 Mar 09 13:48:46.000 [notice] Bootstrapped 0% (starting): Starting Mar 09 13:49:03.000 [notice] Starting with guard context "default" Mar 09 13:49:03.000 [warn] Unable to parse '/etc/resolv.conf', or no nameservers in '/etc/resolv.conf' (1) Mar 09 13:49:03.000 [warn] Couldn't set up any working nameservers. Network not up yet? Will try again soon. Mar 09 13:49:03.000 [notice] Self-testing indicates your ORPort is reachable from the outside. Excellent. Mar 09 13:49:04.000 [notice] Bootstrapped 5% (conn): Connecting to a relay Mar 09 13:49:04.000 [warn] Unable to parse '/etc/resolv.conf', or no nameservers in '/etc/resolv.conf' (1) Mar 09 13:49:04.000 [notice] Bootstrapped 10% (conn_done): Connected to a relay Mar 09 13:49:04.000 [notice] Bootstrapped 14% (handshake): Handshaking with a relay Mar 09 13:49:05.000 [notice] Bootstrapped 15% (handshake_done): Handshake with a relay done Mar 09 13:49:05.000 [notice] Bootstrapped 75% (enough_dirinfo): Loaded enough directory info to build circuits Mar 09 13:49:05.000 [notice] Bootstrapped 90% (ap_handshake_done): Handshake finished with a relay to build circuits Mar 09 13:49:05.000 [notice] Bootstrapped 95% (circuit_create): Establishing a Tor circuit Mar 09 13:49:06.000 [notice] Bootstrapped 100% (done): Done Mar 09 13:50:05.000 [notice] Self-testing indicates your DirPort is reachable from the outside. Excellent. Publishing server descriptor. Mar 09 13:50:08.000 [notice] Performing bandwidth self-test...done. Mar 09 13:51:32.000 [notice] Received reload signal (hup). Reloading config and resetting internal state. Mar 09 13:51:32.000 [notice] Read configuration file "/etc/tor/torrc1". Mar 09 13:51:32.000 [notice] Your ContactInfo config option is not set. Please consider setting it, so we can contact you if your server is misconfigured or something else goes wrong. Mar 09 13:51:32.000 [warn] MyFamily is set but ContactInfo is not configured. ContactInfo should always be set when MyFamily option is too. Mar 09 13:51:32.000 [notice] Tor 0.4.2.5 opening log file. Mar 09 13:51:32.000 [warn] Unable to parse '/etc/resolv.conf', or no nameservers in '/etc/resolv.conf' (1) Mar 09 13:51:32.000 [err] set_options(): Bug: Acting on config options left us in a broken state. Dying. (on Tor 0.4.2.5 ) Mar 09 13:51:32.000 [err] Reading config failed--see warnings above. For usage, try -h. Mar 09 13:51:32.000 [warn] Restart failed (config error?). Exiting. Well, these lines look like a good place to start: Mar 09 13:49:03.000 [warn] Unable to parse '/etc/resolv.conf', or no nameservers in '/etc/resolv.conf' (1) Mar 09 13:49:03.000 [warn] Couldn't set up any working nameservers. Network not up yet? Will try again soon. What are the contents of /etc/resolv.conf ? --Sean ___ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays С уважением, Станислав 127.0.0.1 ::1 but the errors continue.I run of odhcpd+unbound.on a unbound works dns-over-tls in log torrc these errors.are what could be the problem? Mar 09 15:13:37.000 [warn] Unable to parse '/etc/resolv.conf', or no nameservers in '/etc/resolv.conf' (1) Mar 09 15:23:37.000 [warn] Unable to parse '/etc/resolv.conf', or no nameservers in '/etc/resolv.conf' (1) Mar 09 15:33:37.000 [warn] Unable to parse '/etc/resolv.conf', or no nameservers in '/etc/resolv.conf' (1) Hi, /etc/resolv.conf needs to be formatted like this: nameserver 1.2.3.4 nameserver 4.3.2.1 All the best Sebastian ___ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
Re: [tor-relays] website support
metrics.torproject.org -Original Message-From: volker.m...@gmx.deSent: Thu, 12 Mar 2020 10:10:35 +0100To: tor-relays@lists.torproject.orgSubject: Re: [tor-relays] website supportHi. Can be privacy reasons to hide the relay operators. But - do you know TOR metrics? Exonera, Atlas, ... ? Gesendet: Donnerstag, 12. März 2020 um 04:53 Uhr Von: "potlatch" An: "tor-relays@lists.torproject.org" Betreff: [tor-relays] website support Hello Tor, I have a few exit relays on the Tor network but generally I'm flying blind. Why isn't there an index of tor relays that can be accessed? Why isn't the tor access via it's website able to deliver me to the software pages? Why is the graphic display of tor connections over 5-years old? I thought tor was expert in data delivery and security. potla...@protonmail.com Sent with ProtonMail Secure Email. ___ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays ___ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays