| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
Move "sort a list of routerinfo_t" into its own function in routerlist.c
svn:r11903
|
|
|
|
|
|
|
| |
Note a way to make routerlist_remove_old_routrs get called way less.
svn:r11902
|
|
|
|
|
|
|
| |
Base vote timing only on a currently live consensus.
svn:r11896
|
|
|
|
|
|
|
| |
Add the routers in the latest consensus to the list of routers to retain when removing old ones.
svn:r11895
|
|
|
|
| |
svn:r11893
|
|
|
|
|
|
|
| |
the +POSTDESCRIPTOR command.
svn:r11892
|
|
|
|
| |
svn:r11891
|
|
|
|
| |
svn:r11890
|
|
|
|
| |
svn:r11889
|
|
|
|
|
|
|
| |
Fix for the reported case of bug 438: check families as well as identities in circuit_find_to_cannibalize(). Code audit still pending. ;)
svn:r11886
|
|
|
|
|
|
|
| |
Fix bug 451. This was a nasty bug, so let's fix it twice: first, by banning recursive calls to connection_handle_write from connection_flushed_some; and second, by not calling connection_finished_flushing() on a closed connection. Backport candidate.
svn:r11882
|
|
|
|
|
|
|
| |
Fix a bunch of XXX020s: treat some 403s as INFO severity; remove some dead code; share the retry path for consensus routerdescs that are also listed in the v2 networkstatus; check even more aspects of votes when parsing them.
svn:r11871
|
|
|
|
|
|
|
| |
Fix some XXX020s in dirserv.c
svn:r11870
|
|
|
|
|
|
|
| |
Move prototypes around in or.h so that the functions from routerlist.c which moved to networkstatus.c are all grouped in the right section.
svn:r11869
|
|
|
|
|
|
|
| |
Document minimal values for voting times. Use a macro instead of a magic number. Remove an "enforce this" xxxx020 that was already enforced.
svn:r11868
|
|
|
|
|
|
|
| |
More fixes for cacheing bridge descs:Remove obsolete EXTRAINFO_PURPOSE_GENERAL; remove purpose argument from signed_desc_append_to_journal.
svn:r11867
|
|
|
|
|
|
|
| |
Remove code to generate v1 directories.
svn:r11866
|
|
|
|
|
|
|
|
|
| |
Fix a minor memory leak whenever a controller sends the PROTOCOLINFO
command. Bugfix on 0.2.0.5-alpha.
Backport candidate.
svn:r11864
|
|
|
|
|
|
|
|
| |
Fix a minor memory leak whenever we parse guards from our state
file. Bugfix on 0.2.0.7-alpha.
svn:r11862
|
|
|
|
|
|
|
| |
Restore a removed assert.
svn:r11861
|
|
|
|
|
|
|
| |
Resolve some more voting-related XXXXs.
svn:r11860
|
|
|
|
|
|
|
| |
Removee a misleading log message.
svn:r11859
|
|
|
|
|
|
|
| |
Stop calling tor_strlower() on uninitialized memory in some cases.
svn:r11858
|
|
|
|
|
|
|
|
|
| |
cached-descriptors* files.
nick, did i get this right?
svn:r11855
|
|
|
|
|
|
|
| |
they happen whenever we fail to establish a connection.
svn:r11854
|
|
|
|
|
|
|
| |
Fix compilation on last patch.
svn:r11853
|
|
|
|
|
|
|
| |
Fix the implementation of if-modified-since for certificates so that it applies to all types of certificate requests. Note that the kind of consensus that matters already has a working if-modified-since.
svn:r11852
|
|
|
|
| |
svn:r11851
|
|
|
|
|
|
|
| |
Fix some memory leaks when serving v3 networkstatus documents and v3 certs. Generate 503 correctly when serving v3 networkstatus documents and v3 certs.
svn:r11850
|
|
|
|
|
|
|
|
| |
two Tor servers on the same IP address, except if it's the location
of a directory authority, in which case allow five.
svn:r11842
|
|
|
|
|
|
|
| |
Retry consensus and certificate downloads properly. Do not fail when there are no certificates to download. Do not download certificates we already have when retrying.
svn:r11841
|
|
|
|
|
|
|
| |
Remove extraneous whitespace
svn:r11840
|
|
|
|
|
|
|
| |
Resolve/ignore some XXXXs, and be even more careful about listing a server as a v3 authority.
svn:r11839
|
|
|
|
|
|
|
| |
Fix a spelling mistake.
svn:r11838
|
|
|
|
|
|
|
| |
Merge networkstatus_add_signatures_impl into the only function that calls it.
svn:r11837
|
|
|
|
|
|
|
| |
Save weighted-fractional-uptime to disk as well as MTBF. Bump the version on rouer-stability: downgrading to versions earlier than this one will lose your WFU data.
svn:r11835
|
|
|
|
|
|
| |
weasel less
svn:r11834
|
|
|
|
|
|
|
| |
Resolve bug 516: Never report our bandwidth-history as over RelayBandwidthRate*NUM_SECS_BW_SUM_INTERVAL.
svn:r11833
|
|
|
|
|
|
|
| |
Turns out, Bug 463 was just another "warn about something that is no big deal" thing. Downgrade, comment, and resolve.
svn:r11829
|
|
|
|
|
|
|
| |
Fix bug 483: downgrade a harmless "Hey your accept() implementation sucks" warning to an info.
svn:r11828
|
|
|
|
|
|
|
| |
Give better messages and return values from signature uploads and downlaods; also, log actual errors when we screw up.
svn:r11823
|
|
|
|
|
|
|
| |
some other behavior changes left in.
svn:r11821
|
|
|
|
| |
svn:r11820
|
|
|
|
|
|
|
| |
Fix the bug that was making moria1 set valid-after wrong in its votes: we were looking at the preferred timing when we should have been looking at the consensus timing.
svn:r11818
|
|
|
|
|
|
|
| |
Turn all "Is DirPort nonzero? Because if it is, we must be a directory" logic into calls to dirserver_mode().
svn:r11817
|
|
|
|
|
|
|
| |
Make authority_certs_fetch_missing only fetch certificates which we are not currently downloading; fix XXXX020s in networkstatus.c
svn:r11816
|
|
|
|
|
|
|
| |
Fix an infinite loop when parsing multiple votes.
svn:r11813
|
|
|
|
|
|
|
| |
Change dirvote_get_vote to take named flags rather than 3 boolean inputs. Fix a bug that was caused by the order of the boolean inputs in or.h not matching the order of boolean inputs in dirvote.c.
svn:r11812
|
|
|
|
|
|
|
| |
Fix dumb typo in vote retrieval: we want to check the pending votes to see what we are missing; not the previous period.
svn:r11811
|
|
|
|
|
|
|
| |
When parsing two concatenated networkstatuses (as we do when voting), detect the end of the first one properly.
svn:r11810
|