summaryrefslogtreecommitdiff
path: root/src/or
AgeCommit message (Collapse)Author
2007-10-11 r14885@Kushana: nickm | 2007-10-11 10:36:16 -0400Nick Mathewson
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
2007-10-11 r14884@Kushana: nickm | 2007-10-11 10:30:58 -0400Nick Mathewson
More fixes for cacheing bridge descs:Remove obsolete EXTRAINFO_PURPOSE_GENERAL; remove purpose argument from signed_desc_append_to_journal. svn:r11867
2007-10-11 r15679@catbus: nickm | 2007-10-11 09:51:33 -0400Nick Mathewson
Remove code to generate v1 directories. svn:r11866
2007-10-11Bugfix on r11138:Roger Dingledine
Fix a minor memory leak whenever a controller sends the PROTOCOLINFO command. Bugfix on 0.2.0.5-alpha. Backport candidate. svn:r11864
2007-10-11bugfix on r11298:Roger Dingledine
Fix a minor memory leak whenever we parse guards from our state file. Bugfix on 0.2.0.7-alpha. svn:r11862
2007-10-11 r15670@catbus: nickm | 2007-10-10 20:08:14 -0400Nick Mathewson
Restore a removed assert. svn:r11861
2007-10-11 r15663@catbus: nickm | 2007-10-10 16:35:58 -0400Nick Mathewson
Resolve some more voting-related XXXXs. svn:r11860
2007-10-11 r15662@catbus: nickm | 2007-10-10 16:27:58 -0400Nick Mathewson
Removee a misleading log message. svn:r11859
2007-10-10bugfix on r11480:Roger Dingledine
Stop calling tor_strlower() on uninitialized memory in some cases. svn:r11858
2007-10-10let bridge authorities write bridge descriptors to theirRoger Dingledine
cached-descriptors* files. nick, did i get this right? svn:r11855
2007-10-10get rid of the spurious "Freeing linked %s connection" complaints.Roger Dingledine
they happen whenever we fail to establish a connection. svn:r11854
2007-10-10 r15660@catbus: nickm | 2007-10-10 16:25:09 -0400Nick Mathewson
Fix compilation on last patch. svn:r11853
2007-10-10 r15656@catbus: nickm | 2007-10-10 16:23:18 -0400Nick Mathewson
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
2007-10-10get r11842 closer to what i wantRoger Dingledine
svn:r11851
2007-10-10 r15646@catbus: nickm | 2007-10-10 16:01:54 -0400Nick Mathewson
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
2007-10-10Tweak the implementation of proposal 109 slightly: allow at mostRoger Dingledine
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
2007-10-10 r15636@catbus: nickm | 2007-10-10 15:28:12 -0400Nick Mathewson
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
2007-10-10 r15635@catbus: nickm | 2007-10-10 15:27:07 -0400Nick Mathewson
Remove extraneous whitespace svn:r11840
2007-10-10 r15634@catbus: nickm | 2007-10-10 14:26:49 -0400Nick Mathewson
Resolve/ignore some XXXXs, and be even more careful about listing a server as a v3 authority. svn:r11839
2007-10-10 r15633@catbus: nickm | 2007-10-10 14:16:54 -0400Nick Mathewson
Fix a spelling mistake. svn:r11838
2007-10-10 r15632@catbus: nickm | 2007-10-10 13:48:44 -0400Nick Mathewson
Merge networkstatus_add_signatures_impl into the only function that calls it. svn:r11837
2007-10-10 r15630@catbus: nickm | 2007-10-10 13:39:44 -0400Nick Mathewson
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
2007-10-10Say "using socksX _to_ port y" instead of "socksX _on_ port y". it confuses ↵Peter Palfrader
weasel less svn:r11834
2007-10-10 r15626@catbus: nickm | 2007-10-10 11:02:32 -0400Nick Mathewson
Resolve bug 516: Never report our bandwidth-history as over RelayBandwidthRate*NUM_SECS_BW_SUM_INTERVAL. svn:r11833
2007-10-10 r15621@catbus: nickm | 2007-10-10 00:37:25 -0400Nick Mathewson
Turns out, Bug 463 was just another "warn about something that is no big deal" thing. Downgrade, comment, and resolve. svn:r11829
2007-10-10 r15619@catbus: nickm | 2007-10-10 00:23:45 -0400Nick Mathewson
Fix bug 483: downgrade a harmless "Hey your accept() implementation sucks" warning to an info. svn:r11828
2007-10-09 r15608@catbus: nickm | 2007-10-09 19:01:50 -0400Nick Mathewson
Give better messages and return values from signature uploads and downlaods; also, log actual errors when we screw up. svn:r11823
2007-10-09back out a little bit of r11817 to preserve current behavior.Roger Dingledine
some other behavior changes left in. svn:r11821
2007-10-09i heard that users know the phrase 'system clock' better than 'clock'. hm.Roger Dingledine
svn:r11820
2007-10-09 r15599@catbus: nickm | 2007-10-09 16:44:36 -0400Nick Mathewson
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
2007-10-09 r15598@catbus: nickm | 2007-10-09 16:37:35 -0400Nick Mathewson
Turn all "Is DirPort nonzero? Because if it is, we must be a directory" logic into calls to dirserver_mode(). svn:r11817
2007-10-09 r15597@catbus: nickm | 2007-10-09 16:17:42 -0400Nick Mathewson
Make authority_certs_fetch_missing only fetch certificates which we are not currently downloading; fix XXXX020s in networkstatus.c svn:r11816
2007-10-09 r15593@catbus: nickm | 2007-10-09 15:31:10 -0400Nick Mathewson
Fix an infinite loop when parsing multiple votes. svn:r11813
2007-10-09 r15590@catbus: nickm | 2007-10-09 15:14:42 -0400Nick Mathewson
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
2007-10-09 r15589@catbus: nickm | 2007-10-09 15:08:00 -0400Nick Mathewson
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
2007-10-09 r15587@catbus: nickm | 2007-10-09 15:05:27 -0400Nick Mathewson
When parsing two concatenated networkstatuses (as we do when voting), detect the end of the first one properly. svn:r11810
2007-10-09make r11808 build on my 64-bitRoger Dingledine
svn:r11809
2007-10-09 r15581@catbus: nickm | 2007-10-09 14:36:47 -0400Nick Mathewson
Recompute voting schedule whenever a consensus is set. svn:r11808
2007-10-09Bugfixes in fetching certificates for a consensus: fetch tor/keys/fp/X, not ↵Nick Mathewson
tor/keys/X. Also, count signatures where no certificate is known as "missing a certificate" not as "unknown authority." svn:r11805
2007-10-09 r15574@catbus: nickm | 2007-10-09 13:01:53 -0400Nick Mathewson
Fix the "400 OK" issue when replying to a vote. svn:r11801
2007-10-09 r14813@Kushana: nickm | 2007-10-09 11:10:48 -0400Nick Mathewson
Use download_status_t for v2 networkstatuses and certs as well as for routers. Make functions to manipulate it. Next steps: use it for consensus networkstatuses, and get consensus download rescheduling working. svn:r11800
2007-10-09 r14812@Kushana: nickm | 2007-10-09 10:22:00 -0400Nick Mathewson
Merge extra fields in local_routerstatus_t back into routerstatus_t. See changelog for rationale. svn:r11799
2007-10-08for once, it was "no-tab man" that struck again.Roger Dingledine
svn:r11793
2007-10-08 r14802@Kushana: nickm | 2007-10-08 17:21:30 -0400Nick Mathewson
Refactor out about a third of routerlist.c into a new networkstatus.c. I\m not sure that I got everything that needed to move, but so far so good. svn:r11791
2007-10-08 r14799@Kushana: nickm | 2007-10-08 15:55:18 -0400Nick Mathewson
Add code to download router descriptors listed in a v3 networkstatus consensus. svn:r11790
2007-10-08 r14770@Kushana: nickm | 2007-10-08 11:43:02 -0400Nick Mathewson
Make router_digest_is_trusted_dir able to check for type. When looking for a V3 directory, only assume that the V3 authorities and caches have it: previous code assumed that all authorities had it. svn:r11789
2007-10-08 r14769@Kushana: nickm | 2007-10-07 14:00:17 -0400Nick Mathewson
Fetch networkstatus consensus documents as needed. Disabled for clients until more caches support it. svn:r11788
2007-10-04 r15530@catbus: nickm | 2007-10-04 12:16:27 -0400Nick Mathewson
Add a bunch of function documentation; clean up a little code; fix some XXXXs; tag the nonsensical EXTRAINFO_PURPOSE_GENERAL as nonsesnse; note another bit of "do not cache special routers" code to nuke. svn:r11761
2007-10-02 r15512@catbus: nickm | 2007-10-02 16:27:43 -0400Nick Mathewson
Make some functions static; remove some dead code. svn:r11750
2007-10-02 r15510@catbus: nickm | 2007-10-02 16:14:42 -0400Nick Mathewson
Add support for more vote URLs that weasel wanted. Weasel: please test this before I inflict it on anybody else. :) svn:r11749