default value (after reboot ) of controller.get_server_descriptor.uptime changed ?

I do wonder, why a python script [1], lines 22 and 113, nowadays returns "00:00:00" for the uptime of my exit relay, when the system was rebooted, whereas in former times '00:01:01' (= 61 sec) was returned. FWIW the only local change before reboot here was to switch from Gentoo hardened kernel 4.0.6 to 4.0.6-r1. [1] http://www.zwiebeltoralf.de/pub/info.py -- Toralf pgp key: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 0076 E94E

Hi Toralf. In that script you're getting your own server descriptor from the control port. Your relay publishes the descriptor periodically, and the 'uptime' is an integer in it... https://gitweb.torproject.org/torspec.git/tree/dir-spec.txt#n430 So for a new relay like yours it's essentially "how long was it between when the tor process started and we published our descriptor". Seems it's right away now, whereas it took around a minute previously. Regardless, it's not something that seems like a problem. Cheers! -Damian On Sun, Jun 28, 2015 at 2:39 AM, Toralf Förster <toralf.foerster@gmx.de> wrote:
I do wonder, why a python script [1], lines 22 and 113, nowadays returns "00:00:00" for the uptime of my exit relay, when the system was rebooted, whereas in former times '00:01:01' (= 61 sec) was returned. FWIW the only local change before reboot here was to switch from Gentoo hardened kernel 4.0.6 to 4.0.6-r1.
[1] http://www.zwiebeltoralf.de/pub/info.py
-- Toralf pgp key: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 0076 E94E _______________________________________________ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
participants (2)
-
Damian Johnson
-
Toralf Förster