aboutsummaryrefslogtreecommitdiff
path: root/src/or/dirserv.c
Commit message (Collapse)AuthorAge
* Don't crash when reading cached*consensus files on startupSebastian Hahn2010-06-10
| | | | Fixes bug 1352
* stop authority reachability check on startupRoger Dingledine2010-04-21
|
* immediate reachability check for new relaysRoger Dingledine2010-04-21
|
* In the glorious future, all relays cache dir info.Roger Dingledine2010-03-16
| | | | | | | | | Now if you're a published relay and you set RefuseUnknownExits, even if your dirport is off, you'll fetch dir info from the authorities, fetch it early, and cache it. In the future, RefuseUnknownExits (or something like it) will be on by default.
* Merge remote branch 'origin/maint-0.2.1'Nick Mathewson2010-02-27
|\ | | | | | | | | | | Conflicts: src/common/test.h src/or/test.c
| * Update Tor Project copyright yearsNick Mathewson2010-02-27
| |
* | Call exit_policy_is_general_exit lessSebastian Hahn2010-02-04
| | | | | | | | | | | | | | When calculating the is_exit flag for a routerinfo_t, we don't need to call exit_policy_is_general_exit() if router_exit_policy_rejects_all() tells us it definitely is an exit. This check is much cheaper than running exit_policy_is_general_exit().
* | trivial cleanupsRoger Dingledine2010-01-15
| |
* | Now that FOO_free(NULL) always works, remove checks before calling it.Nick Mathewson2009-12-12
| |
* | *_free functions now accept NULLSebastian Hahn2009-12-12
| | | | | | | | | | | | | | | | Some *_free functions threw asserts when passed NULL. Now all of them accept NULL as input and perform no action when called that way. This gains us consistence for our free functions, and allows some code simplifications where an explicit null check is no longer necessary.
* | only complain when rejecting a descriptor if it has contact infoRoger Dingledine2009-11-17
| |
* | Fix dead code found by Coverity (CID 419).Nick Mathewson2009-10-26
| | | | | | | | | | | | This was left over from an early draft of the microdescriptor code; it began to populate the signatures array of a networkstatus vote, even though there's no actual need to do that for a vote.
* | Add functions to serve microdescs and flavored consensuses.Nick Mathewson2009-10-18
| |
* | Document the microdescriptor code better.Nick Mathewson2009-10-18
| |
* | Actually remember all the consensus types when we are done generating them.Nick Mathewson2009-10-15
| |
* | Implement signatures for microdesc consensuses right.Nick Mathewson2009-10-15
| | | | | | | | | | This means we need to handle the existence of multiple flavors of signature in a detached signatures document, generate them correctly, and so on.
* | Refactor consensus signature storage for multiple digests and flavors.Nick Mathewson2009-10-15
| | | | | | | | | | | | | | | | This patch introduces a new type called document_signature_t to represent the signature of a consensus document. Now, each consensus document can have up to one document signature per voter per digest algorithm. Also, each detached-signatures document can have up to one signature per <voter, algorithm, flavor>.
* | Code to generate, store, and parse microdescriptors and consensuses.Nick Mathewson2009-10-15
| | | | | | | | | | The consensus documents are not signed properly, not served, and not exchanged yet.
* | Make signature-generation code handle different key and digest lengths.Nick Mathewson2009-10-15
| |
* | Don't set unreachable from dirvote unless we've been running a while.Nick Mathewson2009-10-10
| | | | | | | | | | | | | | This is a possible fix for bug 1023, where if we vote (or make a v2 consensus networkstatus) right after we come online, we can call rep_hist_note_router_unreachable() on every router we haven't connected to yet, and thereby make all their uptime values reset.
* | Dir auths reject relays running < Tor 0.1.2.14Roger Dingledine2009-09-30
| | | | | | | | | | | | Directory authorities now reject Tor relays with versions less than 0.1.2.14. This step cuts out four relays from the current network, none of which are very big.
* | downgrade a log notice at startupRoger Dingledine2009-09-23
| | | | | | | | | | | | This was the only log notice that happened during other tor invocations, like --verify-config and --list-fingerprint. Plus, now we think it works, so no need to hear about it.
* | some cleanups:Sebastian Hahn2009-09-15
| | | | | | | | | | | | documentation fix for get_uint64 remove extra "." from a log line fix a long line
* | ConsensusParams config option lists key=value paramsRoger Dingledine2009-09-15
| | | | | | | | finishes the authority-operator interface side of proposal 167.
* | Fix compile warnings on Snow LeopardSebastian Hahn2009-09-01
| | | | | | | | Big thanks to nickm and arma for helping me with this!
* | Merge commit 'mikeperry/bandwidth-voting-final'Nick Mathewson2009-08-14
|\ \
| * | Switch over to tor_strtok_r instead of strtok_r.Mike Perry2009-08-09
| | |
| * | Fix issues found by Nick in code review.Mike Perry2009-08-09
| | |
| * | Display consensus bandwidth to the control port.Mike Perry2009-08-06
| | | | | | | | | | | | Also div vote and other bandwidth by 1000, not 1024.
| * | Implement measured bw parsing + unit tests.Mike Perry2009-08-06
| | |
* | | Merge commit 'origin/maint-0.2.1'Nick Mathewson2009-08-12
|\ \ \ | |/ / |/| / | |/
| * Fix possible segmentation fault on directory authorities.Karsten Loesing2009-08-11
| | | | | | | | | | | | The more verbose logs that were added in ee58153 also include a string that might not have been initialized. This can lead to segfaults, e.g., when setting up private Tor networks. Initialize this string with NULL.
* | remove experimental 'getinfo unregistered-servers-'Roger Dingledine2009-07-13
| | | | | | | | it never really worked, and hasn't been used for years.
* | Merge commit 'origin/maint-0.2.1'Nick Mathewson2009-06-30
|\|
| * the second piece of bug 969 fixingRoger Dingledine2009-06-30
| | | | | | | | | | whenever we remove a relay from the main routerlist, tell the rephist module that it's no longer running.
| * the first piece of bug 969 fixingRoger Dingledine2009-06-30
| | | | | | | | | | | | tell the rephist module that a given relay is down whenever we determine that it's down, not just when we thought it used to be up.
* | Merge commit 'origin/maint-0.2.1'Nick Mathewson2009-05-27
|\|
| * Spell-check Tor.Nick Mathewson2009-05-27
| |
| * Update copyright to 2009.Karsten Loesing2009-05-04
| |
* | Remove support for events without the extended format or long names.Nick Mathewson2009-05-25
| | | | | | | | | | Supporting the old formats made our code complex; running without them has been discouraged since 0.2.1.x.
* | Update copyright to 2009.Karsten Loesing2009-05-02
|/
* Raise the minimum bandwidth to be a relay from 20000 bytes to 20480Roger Dingledine2009-04-12
| | | | | | | | | | | bytes (aka 20KB/s), to match our documentation. Also update directory authorities so they always assign the Fast flag to relays with 20KB/s of capacity. Now people running relays won't suddenly find themselves not seeing any use, if the network gets faster on average. svn:r19305
* log more verbosely when we accept or decline a router descriptor,Roger Dingledine2009-04-01
| | | | | | | | to help track whether we received them when a relay operator claims they got sent. svn:r19213
* Make dirserv_get_routerdesc_fingerprints() treat extrainfos with ↵Nick Mathewson2009-01-06
| | | | | | send_unencrypted==0 correctly. Irrelevant, since we will soon never send them at all. svn:r17953
* Bridge relays that had DirPort set to 0 would stop fetchingRoger Dingledine2009-01-05
| | | | | | | | | | | | descriptors shortly after startup, and then briefly resume after a new bandwidth test and/or after publishing a new bridge descriptor. Bridge users that try to bootstrap from them would get a recent networkstatus but would get descriptors from up to 18 hours earlier, meaning most of the descriptors were obsolete already. Reported by Tas; bugfix on 0.2.0.13-alpha. svn:r17920
* Another round of downgrading removing or postponing XXXX021 issues. Some ↵Nick Mathewson2009-01-04
| | | | | | remain, though. svn:r17888
* Remove svn $Id$s from our source, and remove tor --version --version.Nick Mathewson2009-01-04
| | | | | | | | The subversion $Id$ fields made every commit force a rebuild of whatever file got committed. They were not actually useful for telling the version of Tor files in the wild. svn:r17867
* Spec compliance: if weighted MTBF of a router is at least 5 days, always ↵Nick Mathewson2008-12-29
| | | | | | vote it as Stable. svn:r17821
* Add more missing documentation, and correct an error in container.c ↵Nick Mathewson2008-12-26
| | | | | | documentation: Don't introduce two parameters called n when you're calling an algorithm O(n). svn:r17783
* Document most undocumented variables.Nick Mathewson2008-12-23
| | | | svn:r17754