
I have a noobish question.
I am experimenting with tor and would like to offer a relay service without exit node.
My relay goes into hibernation surprisingly fast (inspite of setting AccountingMax and AccountingStart, RelayBandwidthRate...etc).
For this reason I would like to know if there is some tor command / option that will display the remaining or already used quota for the given period).
I tried to google the solution but without luck... I can't believe the tor daemon cannot display this information.
Thank you very much
(PS I am using Debian Squeeze with Tor v0.2.2.39 installed via apt-get directly from the repository)
Antwort1
Sie können den Kontrollport zum Verwalten von Protokollen verwenden:
Bearbeiten Sie /etc/tor/torrc und entfernen Sie das Kommentarzeichen aus der Zeile ControlPort 9051
Öffnen Sie dann Telnet auf diesem Kontrollport.
telnet localhost 9051
AUTHENTICATE
setevents STATUS_SERVER
QUIT
Verwenden Sie den folgenden Befehl, um eine vollständige Liste der Ereignistypen zu erhalten:
getinfo events/names