Opened 12 years ago

Last modified 7 years ago

#448 closed defect (Fixed)

We discard old guards before getting new networkstatuses

Reported by: arma Owned by: nickm
Priority: Low Milestone: 0.2.0.x-final
Component: Core Tor/Tor Version: 0.2.0.2-alpha
Severity: Keywords:
Cc: arma, nickm Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Jun 09 01:23:05.146 [info] router_set_networkstatus(): Setting networkstatus cac

hed from directory server "moria1" at 128.31.0.34:9031 (published 2007-05-09 06:
29:03)
Jun 09 01:23:05.174 [info] networkstatus_list_update_recent(): Networkstatus fro
m directory server "moria1" at 128.31.0.34:9031 (published 2007-05-09 06:29:03)
is now "recent"
Jun 09 01:23:05.189 [info] router_set_networkstatus(): Setting networkstatus cac
hed from directory server "tor26" at 86.59.21.38:80 (published 2007-05-09 06:26:
56)
Jun 09 01:23:05.217 [info] networkstatus_list_update_recent(): Networkstatus fro
m directory server "tor26" at 86.59.21.38:80 (published 2007-05-09 06:26:56) is
now "recent"
Jun 09 01:23:05.232 [info] router_set_networkstatus(): Setting networkstatus cac
hed from directory server "dizum" at 194.109.206.212:80 (published 2007-05-09 06
:27:03)
Jun 09 01:23:05.261 [info] networkstatus_list_update_recent(): Networkstatus fro
m directory server "dizum" at 194.109.206.212:80 (published 2007-05-09 06:27:03)

is now "recent"

Jun 09 01:23:05.276 [info] router_set_networkstatus(): Setting networkstatus cac
hed from directory server "moria2" at 128.31.0.34:9032 (published 2007-05-09 06:
27:13)
Jun 09 01:23:05.304 [info] networkstatus_list_update_recent(): Networkstatus fro
m directory server "moria2" at 128.31.0.34:9032 (published 2007-05-09 06:27:13)
is now "recent"
Jun 09 01:23:05.304 [info] networkstatus_list_update_recent(): Networkstatus fro
m directory server "tor26" at 86.59.21.38:80 (published 2007-05-09 06:26:56) is
no longer "recent"
Jun 09 01:23:05.319 [info] router_set_networkstatus(): Setting networkstatus cac
hed from directory server "lefkada" at 140.247.60.64:80 (published 2007-05-09 06
:27:01)
Jun 09 01:23:05.348 [info] networkstatus_list_clean(): Removing too-old networks
tatus in moria5/cached-status/847B1F850344D7876491A54892F904934E4EB85D
Jun 09 01:23:05.348 [info] networkstatus_list_clean(): Removing too-old networks
tatus in moria5/cached-status/FFCB46DB1339DA84674C70D7CB586434C4370441
Jun 09 01:23:05.349 [info] networkstatus_list_clean(): Removing too-old networks
tatus in moria5/cached-status/719BE45DE224B607C53707D0E2143E2D423E74CF
Jun 09 01:23:05.349 [info] networkstatus_list_clean(): Removing too-old networks
tatus in moria5/cached-status/7EA6EAD6FD83083C538F44038BBFA077587DD755
Jun 09 01:23:05.349 [info] networkstatus_list_clean(): Removing too-old networks
tatus in moria5/cached-status/38D4F5FCF7B1023228B895EA56EDE7D5CCDCAF32
Jun 09 01:23:05.350 [info] routerstatus_list_update_from_networkstatus(): Not en
ough statuses to update router status list. (0/5)
Jun 09 01:23:05.350 [info] entry_guards_compute_status(): Summary: Entry 'h76066
2' is reachable, unusable and not live.
Jun 09 01:23:05.350 [info] remove_dead_entries(): Entry guard 'h760662' (554EC78
2556A47590FB5B4DEFF56A5B52DB9CD59) has been down or unlisted since 2007-05-08 05
:39:00 local time; removing.

The problem is that routers_update_all_from_networkstatus() calls
entry_guards_compute_status() even if there aren't enough statuses
around yet.

[Automatically added by flyspray2trac: Operating System: All]

Child Tickets

Change History (5)

comment:1 Changed 12 years ago by nickm

This should be easy to fix once we have the v3 dir client logic in. I'm going to hold off now,
since our current notion of "having the networkstatus" is weird and tricky.

comment:2 Changed 12 years ago by nickm

Hm, we're almost there.

Now, we only call entry_guards_compute_status() when there is a live networkstatus. The problem is that
instead of looking at the networkstatus, it looks at the router descriptors, which may or may not exist
still.

comment:3 Changed 11 years ago by arma

I think r12570 fixes this.

comment:4 Changed 11 years ago by arma

flyspray2trac: bug closed.

comment:5 Changed 7 years ago by nickm

Component: Tor ClientTor
Note: See TracTickets for help on using tickets.