<div dir="ltr">Well so the bridge now jumped to being online for 18 days. But despite the torrc it is now saying it's still no distribution mechanism?? <div><br></div><div>Thanks.<br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">--Keifer</div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 14, 2023 at 10:23 AM Keifer Bly <<a href="mailto:keifer.bly@gmail.com">keifer.bly@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Ok, so when this happens, what would be the best command to use for reading the newest tor log?<div><br></div><div>I am also needing this for another relay, my middle relay at <a href="https://metrics.torproject.org/rs.html#search/udeserveprivacy" target="_blank">https://metrics.torproject.org/rs.html#search/udeserveprivacy</a> also keeps going offline with no warning and nothing written to the log file. Thanks.<br clear="all"><div><div dir="ltr"><div dir="ltr">--Keifer</div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Mar 12, 2023 at 3:39 PM <<a href="mailto:lists@for-privacy.net" target="_blank">lists@for-privacy.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Sonntag, 12. März 2023 04:45:21 CET Keifer Bly wrote:<br>
> I do not use any scripts to start tor, I just type tor to start the process<br>
> on debian.<br>
That's where your problems begin. You start a 2nd tor process as root that <br>
doesn't take the default configs from:<br>
/usr/share/tor/tor-service-defaults-torrc & /etc/tor/torrc<br>
<br>
You have a systemd system & tor.service is activated by default. You don't <br>
have to do anything, tor runs automatically after a reboot|server start.<br>
<br>
The systemd services are controlled with the following commands:<br>
systemctl start tor.service<br>
systemctl stop tor.service<br>
systemctl restart tor.service<br>
systemctl reload tor.service<br>
systemctl status tor.service<br>
<br>
> And yes the datacenter I run in has an external firewall which<br>
> requires setting up port forwarding.<br>
Ok, anything in the customer interface for the datacenter router.<br>
<br>
> The result of running ls -A /var/log/tor<br>
> <br>
> root@instance-1:/home/keifer_bly# ls -A /var/log/tor<br>
> notices.log  notices.log.1  notices.log.2.gz  notices.log.3.gz<br>
>  notices.log.4.gz  notices.log.5.gz<br>
There are 6 log files of one of the tor processes. Both write to syslog.<br>
<br>
> <br>
> So it's creating separate .gz files for some reason. I don't know why that<br>
> is or what to do from here. Thanks.<br>
I wrote, learn what _logrotate_ does. Hint: without that, the hd fills up.<br>
man logrotate<br>
<br>
> <br>
> <br>
> <br>
> --Keifer<br>
> <br>
> On Fri, Mar 10, 2023 at 8:15 AM <<a href="mailto:lists@for-privacy.net" target="_blank">lists@for-privacy.net</a>> wrote:<br>
> > On Mittwoch, 8. März 2023 18:13:01 CET Keifer Bly wrote:<br>
> > > Strangely, nothing whatsoever is being written to the notices.log file,<br>
> > > upon checking it it is completely empty, nothing there.<br>
> > <br>
> > That can't be, please post:<br>
> > ~# ls -A /var/log/tor<br>
> > <br>
> > In general, everything is always written to /var/log/syslog &<br>
> > systemd-journald<br>
> > to /var/log/journal (binaries).<br>
> > ~$ man journalctl<br>
> > <br>
> > > I wonder why that<br>
> > <br>
> > Read what _logrotate_ does. Every tor restart creates a new empty log<br>
> > file.<br>
> > <br>
> > > would happen and how else to tell what's going on? Tor is running as<br>
> > > root<br>
> > <br>
> > Why do you change security-related default settings? Default tor user is:<br>
> > debian-tor. (On Debian and Ubuntu systems)<br>
> > <br>
> > > so it's not a permission issue, and I also set up a port forwarding rule<br>
> > <br>
> > Why? You have a server in the data center. You only need forwarding on a<br>
> > router! Packet forwarding is also disabled in /etc/sysctl.conf per<br>
> > default.<br>
> > <br>
> > Your iptables must start like this.<br>
> > *filter<br>
> > <br>
> > :INPUT DROP [0:0]<br>
> > :FORWARD DROP [0:0]<br>
> > :OUTPUT ACCEPT [0:0]<br>
> > <br>
> > ...<br>
> > -A INPUT -p tcp --dport  <Your-Tor-ORPort> -j ACCEPT<br>
> > ...<br>
> > <br>
> > No FORWARD, no  OUTPUT rules.<br>
> > <br>
> > --<br>
> > ╰_╯ Ciao Marco!<br>
> > <br>
> > Debian GNU/Linux<br>
> > <br>
> > It's free software and it gives you<br>
> > freedom!_______________________________________________<br>
> > tor-relays mailing list<br>
> > <a href="mailto:tor-relays@lists.torproject.org" target="_blank">tor-relays@lists.torproject.org</a><br>
> > <a href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays" rel="noreferrer" target="_blank">https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays</a><br>
<br>
<br>
-- <br>
╰_╯ Ciao Marco!<br>
<br>
Debian GNU/Linux<br>
<br>
It's free software and it gives you freedom!_______________________________________________<br>
tor-relays mailing list<br>
<a href="mailto:tor-relays@lists.torproject.org" target="_blank">tor-relays@lists.torproject.org</a><br>
<a href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays" rel="noreferrer" target="_blank">https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays</a><br>
</blockquote></div>
</blockquote></div>