| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
are for you.
svn:r11960
|
|
|
|
|
|
|
| |
Do not call the more interesting parts of routers_update_all_from_networkstatus if there is no live networkstatus.
svn:r11958
|
|
|
|
|
|
|
| |
Implement v3 networkstatus client code. Remove v2 networkstatus client code, except as needed for caches to fetch and serve v2 networkstatues and the routers they list.
svn:r11957
|
|
|
|
| |
svn:r11953
|
|
|
|
| |
svn:r11952
|
|
|
|
|
|
|
| |
Do not set "have published consensus" to 1 after we recalculate timing.
svn:r11951
|
|
|
|
|
|
|
| |
Fix bug 528: fix memory leak in base32_decode(). While there, also make base32_decode() accept upper-case inputs.
svn:r11946
|
|
|
|
|
|
|
| |
Make discard_old_votes part of the consensus publishing process, so we conform to spec, and so we avoid a weird bugs where publishing sets the consensus, setting the consensus makes us reschedule, and rescheduling makes us delay vote-discarding.
svn:r11944
|
|
|
|
|
|
|
| |
Fix the implementation of "download votes by digest".
svn:r11943
|
|
|
|
|
|
|
| |
Eventually delete the obsolete cached-routers and cached-routers.new files, so they don't sit around on disk forever.
svn:r11918
|
|
|
|
|
|
|
| |
Remove support for long-obsolete bw_accounting file.
svn:r11917
|
|
|
|
|
|
|
|
|
| |
when we find our DirPort to be reachable but won't actually publish
it. Extra descriptors without any real changes are dropped by the
authorities, and can screw up our "publish every 18 hours" schedule.
svn:r11915
|
|
|
|
|
|
|
| |
out by weasel
svn:r11914
|
|
|
|
|
|
|
| |
haven't issued those in years.
svn:r11913
|
|
|
|
|
|
|
| |
Start roughing out the functions that we'll use to replace the old ugly v2 networkstatus manipulation code".
svn:r11904
|
|
|
|
|
|
|
| |
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
|