aboutsummaryrefslogtreecommitdiff
path: root/src/or/networkstatus.c
Commit message (Collapse)AuthorAge
* Create control.hSebastian Hahn2010-07-27
|
* Create connection.hSebastian Hahn2010-07-27
|
* Create config.hSebastian Hahn2010-07-27
|
* Create circuitbuild.hSebastian Hahn2010-07-27
|
* Create routerlist.hSebastian Hahn2010-07-27
|
* Create router.hSebastian Hahn2010-07-27
|
* Fix getinfo_helper_networkstatus to return 0 on question-not-knownNick Mathewson2010-07-18
| | | | | It erroneously returned -1 instead, which made it say "Internal error" rather than "Unrecognized key."
* Make the controller act more usefully when GETINFO failsNick Mathewson2010-07-18
| | | | | | | | | | | Right now it says "552 internal error" because there's no way for getinfo_helper_*() countries to specify an error message. This patch changes the getinfo_helper_*() interface, and makes most of the getinfo helpers give useful error messages in response to failures. This should prevent recurrences of bug 1699, where a missing GeoIPFile line in the torrc made GETINFO ip-to-county/* fail in a "not obvious how to fix" way.
* Alter how guard flags are chosen.Mike Perry2010-07-14
| | | | | | | | V3 authorities no longer decide not to vote on Guard+Exit. The bandwidth weights should take care of this now. Also, lower the max threshold for WFU to 0.98, to allow more nodes to become guards.
* simplify a path in networkstatusRoger Dingledine2010-04-15
|
* 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
| |
| * read the "circwindow" parameter from the consensusRoger Dingledine2009-10-14
| | | | | | | | | | backport of c43859c5c12361fad505 backport of 0d13e0ed145f4c1b5bd1
| * Code to parse and access network parameters.Nick Mathewson2009-10-14
| | | | | | | | | | Partial backport of 381766ce4b1145460. Partial backport of 56c6d78520a98fb64.
* | Remove misc unnecessary newlines found by new check.Mike Perry2010-02-22
| |
* | Add parsing+verification for bw weight values.Mike Perry2010-02-22
| |
* | Perform calculation of consensus bandwidth weights.Mike Perry2010-02-22
| | | | | | | | | | Also add bwweightscale consensus param. Use it as our fixed-point calculation width.
* | Move CBT params into consensus.Mike Perry2010-02-18
| |
* | Merge branch 'ewma'Nick Mathewson2009-12-18
|\ \
| * | Change interface for configuring cell ewma algorithm.Nick Mathewson2009-12-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The rule is now: take the value from the CircuitPriorityHalflife config option if it is set. If it zero, disable the cell_ewma algorithm. If it is set, use it to calculate the scaling factor. If it is not set, look for a CircPriorityHalflifeMsec parameter in the consensus networkstatus. If *that* is zero, then disable the cell_ewma algorithm; if it is set, use it to calculate the scaling factor. If it is not set at all, disable the algorithm.
* | | Fix compile warning on Panther.Sebastian Hahn2009-12-14
| | | | | | | | | | | | Apparently Panther doesn't like comparing ints and enums
* | | New controller command "getinfo config-text"Roger Dingledine2009-12-13
|/ / | | | | | | | | It returns the contents that Tor would write if you send it a SAVECONF command, so the controller can write the file to disk itself.
* | 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.
* | Document the microdescriptor code better.Nick Mathewson2009-10-18
| |
* | Fix various bugs in microdescriptor caching.Nick Mathewson2009-10-18
| |
* | Actually remember all the consensus types when we are done generating them.Nick Mathewson2009-10-15
| |
* | Parse detached signatures and microdesc networkstatuses correctly.Nick Mathewson2009-10-15
| |
* | 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.
* | Be more robust to bad circwindow valuesRoger Dingledine2009-09-22
| | | | | | | | | | | | | | | | | | If the networkstatus consensus tells us that we should use a negative circuit package window, ignore it. Otherwise we'll believe it and then trigger an assert. Also, change the interface for networkstatus_get_param() so we don't have to lookup the consensus beforehand.
* | some cleanups:Sebastian Hahn2009-09-15
| | | | | | | | | | | | documentation fix for get_uint64 remove extra "." from a log line fix a long line
* | Parameter access function, with unit tests.Nick Mathewson2009-09-14
| |
* | Implement proposal 167: Authorities vote on network parameters.Nick Mathewson2009-09-14
| | | | | | | | | | | | | | | | This code adds a new field to vote on: "params". It consists of a list of sorted key=int pairs. The output is computed as the median of all the integers for any key on which anybody voted. Improved with input from Roger.
* | Implement measured bw parsing + unit tests.Mike Perry2009-08-06
| |
* | Merge commit 'ioerror/DirFetchInfoExtraEarly'Nick Mathewson2009-07-25
|\ \ | | | | | | | | | | | | Conflicts: ChangeLog
| * | Add support for a new option: FetchDirInfoExtraEarlyJacob Appelbaum2009-07-13
| |/ | | | | | | | | | | | | This new option will allow clients to download the newest fresh consensus much sooner than they normally would do so, even if they previously set FetchDirInfoEarly. This includes a proper ChangeLog entry and an updated man page.
* / fix comments and other typosRoger Dingledine2009-07-13
|/
* Spell-check Tor.Nick Mathewson2009-05-27
|
* Update copyright to 2009.Karsten Loesing2009-05-04
|
* send the newconsensus event if the controller has asked for newconsensusRoger Dingledine2009-02-20
| | | | | | | events, not if he's asked for ns events svn:r18656
* docdoc and changelog for r18556Roger Dingledine2009-02-16
| | | | svn:r18566
* new controller event NEWCONSENSUS that lists the networkstatusRoger Dingledine2009-02-16
| | | | | | | | | lines for every recommended relay. still needs docdoc and changelog entry. svn:r18556
* Jan 06 13:03:57.309 [info] networkstatus_set_current_consensus(): Loaded an ↵Roger Dingledine2009-01-06
| | | | | | | | | | | obsolete consensus. Discarding. Jan 06 13:03:57.309 [warn] Couldn't load consensus networkstatus from "bridge/cached-consensus" doesn't need a real warn. svn:r17969
* If the cached networkstatus consensus is more than five days old,Roger Dingledine2009-01-05
| | | | | | | | | | | discard it rather than trying to use it. In theory it could be useful because it lists alternate directory mirrors, but in practice it just means we spend many minutes trying directory mirrors that are long gone from the network. Helps bug 887 a bit; bugfix on 0.2.0.x. svn:r17917
* 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
* 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
* Add DOCDOC entries for undocumented static and global variables.Nick Mathewson2008-12-22
| | | | svn:r17739
* Add DOCDOC comments for all undocumented functions. Add missing *s to other ↵Nick Mathewson2008-12-22
| | | | | | comments so that they will get recognized as doxygen. svn:r17729