aboutsummaryrefslogtreecommitdiff
path: root/src/or/dirserv.c
Commit message (Expand)AuthorAge
* r14422@tombo: nickm | 2008-02-24 17:09:56 -0500••• Whitespace fixes svn:r13700 Nick Mathewson2008-02-24
* r14421@tombo: nickm | 2008-02-24 17:05:18 -0500••• Patch from mwenge: always willingly serve our own extrainfo from the controlport svn:r13699 Nick Mathewson2008-02-24
* Servers that don't know their own IP address should go to the•••authorities for their first directory fetch, even if their DirPort is off or if they don't know they're reachable yet. This will help them bootstrap better. Bugfix on 0.2.0.18-alpha; fixes bug 609. svn:r13688 Roger Dingledine2008-02-23
* r14399@tombo: nickm | 2008-02-22 14:09:38 -0500••• More 64-to-32 fixes. Partial backport candidate. still not done. svn:r13680 Nick Mathewson2008-02-22
* r18291@catbus: nickm | 2008-02-20 22:35:32 -0500••• Resolve all DOCDOC issues, and document some other undocumented code, and fix a changelog entry. svn:r13638 Nick Mathewson2008-02-21
* r14182@tombo: nickm | 2008-02-15 17:20:51 -0500••• Defer, downgrade, or address more XXX020s. The remaining ones are all ones we should deal with before release. svn:r13530 Nick Mathewson2008-02-15
* Update some copyright notices: it is now 2008.•••svn:r13412 Nick Mathewson2008-02-07
* r17947@catbus: nickm | 2008-02-06 11:57:53 -0500••• Fix a bunch of DOCDOC items; document the --quiet flag; refactor a couple of XXXX020 items. svn:r13405 Nick Mathewson2008-02-06
* misc small fixes•••svn:r13403 Roger Dingledine2008-02-06
* r17911@catbus: nickm | 2008-02-05 15:53:22 -0500••• Fix a potential bug that would make authorities fail to vote under bizarre circumstances that probably never happened. svn:r13385 Nick Mathewson2008-02-05
* r17909@catbus: nickm | 2008-02-05 14:48:22 -0500••• As planned, rename networkstatus_vote_t to networkstatus_t, now that v3 networkstatuses are working and standard and v2 networkstatuses are obsolete. svn:r13383 Nick Mathewson2008-02-05
* r17898@catbus: nickm | 2008-02-05 14:01:35 -0500••• Add (and use) a MAP_DEL_CURRENT macro to augment a non-const variant of MAP_FOREACH. svn:r13379 Nick Mathewson2008-02-05
* Avoid going directly to the directory authorities even if you're a •••relay, if you haven't found yourself reachable yet or if you've decided not to advertise your dirport yet. Addresses bug 556. svn:r13172 Roger Dingledine2008-01-18
* r17554@catbus: nickm | 2008-01-10 12:48:29 -0500••• Do not send bridge descriptors over unencrypted connections. svn:r13094 Nick Mathewson2008-01-10
* r17548@catbus: nickm | 2008-01-10 11:08:12 -0500••• Make proposal-109 behavior optional. svn:r13090 Nick Mathewson2008-01-10
* r17467@catbus: nickm | 2008-01-05 19:54:20 -0500••• fix whitespace svn:r13035 Nick Mathewson2008-01-06
* Fix several remotely triggerable asserts based on DirPort requests•••for a v2 or v3 networkstatus object before we were prepared. This was particularly bad for 0.2.0.13 and later bridge relays, who would never have a v2 networkstatus and would thus always crash when used. Bugfixes on 0.2.0.x. Estimate the v3 networkstatus size more accurately, rather than estimating it at zero bytes and giving it artificially high priority compared to other directory requests. Bugfix on 0.2.0.x. svn:r12952 Roger Dingledine2007-12-24
* new config option FetchDirInfoEarly for tup/ioerror and the tordnsel•••svn:r12896 Roger Dingledine2007-12-21
* Only Tors that want to mirror the v2 directory info should•••create the "cached-status" directory in their datadir. All Tors used to create it. Bugfix on 0.1.2.x. Bridge relays with DirPort set to 0 no longer cache v1 or v2 directory information; there's no point. Bugfix on trunk. svn:r12887 Roger Dingledine2007-12-20
* answer getinfo ns/purpose/bridge queries•••svn:r12860 Roger Dingledine2007-12-18
* Make bridge authorities test reachability of bridges.•••Added two XXX020's that we need to think harder about. svn:r12859 Roger Dingledine2007-12-18
* clean up copyrights, and assign 2007 copyrights to The Tor Project, Inc•••svn:r12786 Roger Dingledine2007-12-12
* New config options AuthDirBadDir and AuthDirListBadDirs for•••authorities to mark certain relays as "bad directories" in the networkstatus documents. Also supports the "!baddir" directive in the approved-routers file. svn:r12754 Roger Dingledine2007-12-10
* also clear the hsdir status flag in routerinfo_t when the relay is no•••longer listed in the relevant networkstatus document. svn:r12752 Roger Dingledine2007-12-10
* Bridges now behave like clients with respect to time intervals for•••downloading new consensus documents. Bridge users now wait until the end of the interval, so their bridge will be sure to have a new consensus document. svn:r12696 Roger Dingledine2007-12-06
* Stop being so aggressive about fetching dir info if your DirPort is•••on but your ORPort is off. Add a new config option BridgeRelay that specifies you want to be a bridge relay. Right now the only difference is that it makes you answer begin_dir requests, and it makes you cache dir info, even if your DirPort isn't on. Refactor directory_caches_dir_info() into some more functions. svn:r12668 Roger Dingledine2007-12-04
* minor touchups•••svn:r12657 Roger Dingledine2007-12-03
* Reject uploaded descriptors and extrainfo documents if they're•••huge. Otherwise we'll cache them all over the network and it'll clog everything up. svn:r12633 Roger Dingledine2007-12-02
* minor cleanups•••svn:r12631 Roger Dingledine2007-12-02
* clean up the dirserv_add_multiple_descriptors() api•••svn:r12630 Roger Dingledine2007-12-02
* start to refactor dirserver_mode()•••svn:r12621 Roger Dingledine2007-12-01
* karsten's second refactoring patch•••svn:r12607 Roger Dingledine2007-11-29
* get rid of the __ConsiderAllRoutersAsHidServDirectories config option•••svn:r12528 Roger Dingledine2007-11-17
* get rid of the separate reachability window for the hsdir flag.•••svn:r12527 Roger Dingledine2007-11-17
* The fix in 0.2.0.12-alpha cleared the "hsdir" flag in v3 network•••consensus documents when there are too many relays at a single IP address. Now clear it in v2 network status documents too. svn:r12522 Roger Dingledine2007-11-17
* back out r12509 and fix a better bug instead:•••When authorities detected more than two relays running on the same IP address, they were clearing all the status flags but forgetting to clear the "hsdir" flag. So clients were being told that a given relay was the right choice for a v2 hsdir lookup, yet they never had its descriptor because it was marked as 'not running' in the consensus. svn:r12515 Roger Dingledine2007-11-17
* r16582@catbus: nickm | 2007-11-08 13:14:16 -0500••• Try to bulletproof the parse logic for router-stability. svn:r12441 Nick Mathewson2007-11-08
* r16573@catbus: nickm | 2007-11-08 11:57:16 -0500••• Mess with the formula for the Guard flag again. Now it requires that you be in the most familiar 7/8 of nodes, and have above median wfu for that 7/8th. See spec for details. Also, log thresholds better. svn:r12440 Nick Mathewson2007-11-08
* r16262@catbus: nickm | 2007-10-29 13:21:35 -0400••• Patch from Karsten: Code to act as (and use) v2 hidden service directories. svn:r12272 Nick Mathewson2007-10-29
* Downgrade the mismatched fpr warning to info•••svn:r12257 Peter Palfrader2007-10-28
* r16238@catbus: nickm | 2007-10-28 15:46:10 -0400••• Whitespace fix. svn:r12256 Nick Mathewson2007-10-28
* r16195@catbus: nickm | 2007-10-26 18:48:52 -0400••• base "Guard" flag on WFU rather than MTBF. Note an issue in the TODO. Roger: thoughts? svn:r12219 Nick Mathewson2007-10-26
* r16154@catbus: nickm | 2007-10-25 10:29:47 -0400••• Fix more memory leaks, with help from dmalloc. svn:r12188 Nick Mathewson2007-10-25
* Authorities no longer send back "400 you're unreachable please fix•••it" errors to Tor servers that aren't online all the time. We're supposed to tolerate these servers now. svn:r12136 Roger Dingledine2007-10-24
* When there's no concensus, we were forming a vote every 30•••minutes, but writing the "valid-after" line in our vote based on our configured V3AuthVotingInterval: so unless the intervals matched up, we immediately rejected our own vote because it didn't start at the voting interval that caused us to construct a vote. This caused log entries like: Oct 23 01:16:16.303 [notice] Choosing expected valid-after time as 2007-10-23 05:30:00: consensus_set=0, interval=1800 ... Oct 23 01:20:01.203 [notice] Choosing valid-after time in vote as 2007-10-23 06:00:00: consensus_set=0, interval=3600 Oct 23 01:20:01.290 [warn] Rejecting vote with valid-after time of 2007-10-23 06:00:00; we were expecting 2007-10-23 05:30:00 Oct 23 01:20:01.291 [warn] Couldn't store my own vote! (I told myself, 'Bad valid-after time'.) Nick, you should look at this, as it's your design. :) svn:r12129 Roger Dingledine2007-10-23
* r16042@catbus: nickm | 2007-10-22 13:30:49 -0400••• Move functions into and out of dirvote.c so that it contains all the v3 authority functionality, and no non-authority functionality. svn:r12107 Nick Mathewson2007-10-22
* r15991@catbus: nickm | 2007-10-20 20:08:29 -0400••• Fix a nasty bug in DownloadExtraInfo implementation where we would discard, download, discard, download ad infinitum. svn:r12069 Nick Mathewson2007-10-21
* r15966@catbus: nickm | 2007-10-19 13:56:28 -0400••• Voting side of proposal 122 svn:r12052 Nick Mathewson2007-10-19
* r15957@catbus: nickm | 2007-10-19 12:22:18 -0400••• Report our IP address in our vote if it turns out that our hostname isn't a fqdn. svn:r12047 Nick Mathewson2007-10-19
* r15877@catbus: nickm | 2007-10-17 12:54:56 -0400••• Make unverified-consensus get removed when it is accepted or rejected. Make a new get_datadir_fname*() set of functions to eliminate the common code of "get the options, get the datadir, append some stuff". svn:r12000 Nick Mathewson2007-10-17