Hi guys,
I recently set up a tor relay on Centos7.But when I check the node at https://metrics.torproject.org/, i see that the relay is offline.Even though it is online.I looked tor log file. There was two common warning.
May 15 14:42:13.000 [warn] Unable to stat resolver configuration in '/etc/resolv.conf': Permission denied May 15 14:49:13.000 [warn] HTTP status 307 ("Temporary Redirect") was unexpected while uploading descriptor to server '86.59.21.38:80'. Possibly the server is misconfigured?
I try to chmod 777 /etc/resolv.conf for this warning " /etc/resolv.conf': Permission denied".But it didnt work it.And then i searched it on google for "HTTP status 307 ("Temporary Redirect")" .But i didn't find solution.Any suggestions?
/etc/tor/torrc => https://paste.ubuntu.com/p/tD6zg2mwZy/ /var/log/tor/notices.log => https://paste.ubuntu.com/p/JsPGdgFJyT/ systemctl statust tor -l => https://paste.ubuntu.com/p/qpppzVK8qR/
Sent with [ProtonMail](https://protonmail.com) Secure Email.
On Thu, May 16, 2019 at 06:56:10PM +0000, findmei wrote:
May 15 14:42:13.000 [warn] Unable to stat resolver configuration in '/etc/resolv.conf': Permission denied
This one is weird and unexpected. Your relay can't do any dns resolves of its own if it can't read that file. For a non-exit relay (which you appear to be), that's not so bad.
As for why that might happen, my first thought is some sort of apparmor permissions that intercept the file access attempt and block it.
May 15 14:49:13.000 [warn] HTTP status 307 ("Temporary Redirect") was unexpected while uploading descriptor to server '86.59.21.38:80'. Possibly the server is misconfigured?
This one is most likely something on your network trying to attack or censor or intercept your outgoing traffic. Maybe there is something that calls itself antivirus, or firewall, or web cleaner, or something like that? Or maybe your ISP or your country does something like that 'for' you automatically?
I try to chmod 777 /etc/resolv.conf for this warning " /etc/resolv.conf': Permission denied".But it didnt work it.And then i searched it on google for "HTTP status 307 ("Temporary Redirect")" .But i didn't find solution.Any suggestions?
/var/log/tor/notices.log => https://paste.ubuntu.com/p/JsPGdgFJyT/
A possible reason why the relay wasn't listed as Running was that there were three different relays running at that IP address in the past day, and Tor tries to limit to at most two relays per IP address.
Anyway, it looks like it is now listed.
--Roger
Quoting Roger Dingledine (2019-05-16 22:24:47)
On Thu, May 16, 2019 at 06:56:10PM +0000, findmei wrote:
May 15 14:42:13.000 [warn] Unable to stat resolver configuration in '/etc/resolv.conf': Permission denied
This one is weird and unexpected. Your relay can't do any dns resolves of its own if it can't read that file. For a non-exit relay (which you appear to be), that's not so bad.
As for why that might happen, my first thought is some sort of apparmor permissions that intercept the file access attempt and block it.
five bucks says /etc/resolv.conf is a symbolic link
I try to chmod 777 /etc/resolv.conf for this warning " /etc/resolv.conf': Permission denied".But it didnt work it.And then i searched it on google for "HTTP status 307 ("Temporary Redirect")" .But i didn't find solution.Any suggestions?
never chmod 777
Thank you for replying to my mail.
Damn it. My isp is blocking me. Is it possible to run this node in some way?
Sent from ProtonMail mobile
-------- Original Message -------- On May 17, 2019, 01:24, Roger Dingledine wrote:
On Thu, May 16, 2019 at 06:56:10PM +0000, findmei wrote:
May 15 14:42:13.000 [warn] Unable to stat resolver configuration in '/etc/resolv.conf': Permission denied
This one is weird and unexpected. Your relay can't do any dns resolves of its own if it can't read that file. For a non-exit relay (which you appear to be), that's not so bad.
As for why that might happen, my first thought is some sort of apparmor permissions that intercept the file access attempt and block it.
May 15 14:49:13.000 [warn] HTTP status 307 ("Temporary Redirect") was unexpected while uploading descriptor to server '86.59.21.38:80'. Possibly the server is misconfigured?
This one is most likely something on your network trying to attack or censor or intercept your outgoing traffic. Maybe there is something that calls itself antivirus, or firewall, or web cleaner, or something like that? Or maybe your ISP or your country does something like that 'for' you automatically?
I try to chmod 777 /etc/resolv.conf for this warning " /etc/resolv.conf': Permission denied".But it didnt work it.And then i searched it on google for "HTTP status 307 ("Temporary Redirect")" .But i didn't find solution.Any suggestions?
/var/log/tor/notices.log => https://paste.ubuntu.com/p/JsPGdgFJyT/
A possible reason why the relay wasn't listed as Running was that there were three different relays running at that IP address in the past day, and Tor tries to limit to at most two relays per IP address.
Anyway, it looks like it is now listed.
--Roger
tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
On May 17, 2019, at 6:16 PM, findmei findmei@protonmail.com wrote:
Thank you for replying to my mail.
Damn it. My isp is blocking me. Is it possible to run this node in some way?
Do you happen to know if you have a transparent proxy in your path to the internet from your box? Run “curl ifconfig.me” does that return the IP address of your box or a different IP address altogether?
Sent from ProtonMail mobile
-------- Original Message -------- On May 17, 2019, 01:24, Roger Dingledine < arma@torproject.org> wrote:
On Thu, May 16, 2019 at 06:56:10PM +0000, findmei wrote:
May 15 14:42:13.000 [warn] Unable to stat resolver configuration in '/etc/resolv.conf': Permission denied
This one is weird and unexpected. Your relay can't do any dns resolves of its own if it can't read that file. For a non-exit relay (which you appear to be), that's not so bad.
As for why that might happen, my first thought is some sort of apparmor permissions that intercept the file access attempt and block it.
May 15 14:49:13.000 [warn] HTTP status 307 ("Temporary Redirect") was unexpected while uploading descriptor to server '86.59.21.38:80'. Possibly the server is misconfigured?
This one is most likely something on your network trying to attack or censor or intercept your outgoing traffic. Maybe there is something that calls itself antivirus, or firewall, or web cleaner, or something like that? Or maybe your ISP or your country does something like that 'for' you automatically?
I try to chmod 777 /etc/resolv.conf for this warning " /etc/resolv.conf': Permission denied".But it didnt work it.And then i searched it on google for "HTTP status 307 ("Temporary Redirect")" .But i didn't find solution.Any suggestions?
/var/log/tor/notices.log => https://paste.ubuntu.com/p/JsPGdgFJyT/
A possible reason why the relay wasn't listed as Running was that there were three different relays running at that IP address in the past day, and Tor tries to limit to at most two relays per IP address.
Anyway, it looks like it is now listed.
--Roger
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@lists.torproject.org