aboutsummaryrefslogtreecommitdiff
path: root/src/or/networkstatus.c
Commit message (Expand)AuthorAge
* Create routerparse.hSebastian Hahn2010-07-27
* Create relay.hSebastian Hahn2010-07-27
* Create networkstatus.hSebastian Hahn2010-07-27
* Create dirvote.hSebastian Hahn2010-07-27
* Create dirserv.hSebastian Hahn2010-07-27
* Create directory.hSebastian Hahn2010-07-27
* 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-known•••It erroneously returned -1 instead, which made it say "Internal error" rather than "Unrecognized key." Nick Mathewson2010-07-18
* Make the controller act more usefully when GETINFO fails•••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. Nick Mathewson2010-07-18
* Alter how guard flags are chosen.•••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. Mike Perry2010-07-14
* simplify a path in networkstatusRoger Dingledine2010-04-15
* Merge remote branch 'origin/maint-0.2.1'•••Conflicts: src/common/test.h src/or/test.c Nick Mathewson2010-02-27
|\
| * Update Tor Project copyright yearsNick Mathewson2010-02-27
| * read the "circwindow" parameter from the consensus•••backport of c43859c5c12361fad505 backport of 0d13e0ed145f4c1b5bd1 Roger Dingledine2009-10-14
| * Code to parse and access network parameters.•••Partial backport of 381766ce4b1145460. Partial backport of 56c6d78520a98fb64. Nick Mathewson2009-10-14
* | 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.•••Also add bwweightscale consensus param. Use it as our fixed-point calculation width. Mike Perry2010-02-22
* | Move CBT params into consensus.Mike Perry2010-02-18
* | Merge branch 'ewma'Nick Mathewson2009-12-18
|\ \
| * | Change interface for configuring cell ewma algorithm.•••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. Nick Mathewson2009-12-15
* | | Fix compile warning on Panther.•••Apparently Panther doesn't like comparing ints and enums Sebastian Hahn2009-12-14
* | | New controller command "getinfo config-text"•••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. Roger Dingledine2009-12-13
|/ /
* | Now that FOO_free(NULL) always works, remove checks before calling it.Nick Mathewson2009-12-12
* | *_free functions now accept NULL•••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. Sebastian Hahn2009-12-12
* | 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.•••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>. Nick Mathewson2009-10-15
* | Code to generate, store, and parse microdescriptors and consensuses.•••The consensus documents are not signed properly, not served, and not exchanged yet. Nick Mathewson2009-10-15
* | Be more robust to bad circwindow values•••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. Roger Dingledine2009-09-22
* | some cleanups:•••documentation fix for get_uint64 remove extra "." from a log line fix a long line Sebastian Hahn2009-09-15
* | Parameter access function, with unit tests.Nick Mathewson2009-09-14
* | Implement proposal 167: Authorities vote on network parameters.•••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. Nick Mathewson2009-09-14
* | Implement measured bw parsing + unit tests.Mike Perry2009-08-06
* | Merge commit 'ioerror/DirFetchInfoExtraEarly'•••Conflicts: ChangeLog Nick Mathewson2009-07-25
|\ \
| * | Add support for a new option: FetchDirInfoExtraEarly•••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. Jacob Appelbaum2009-07-13
| |/
* / 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 newconsensus•••events, not if he's asked for ns events svn:r18656 Roger Dingledine2009-02-20
* docdoc and changelog for r18556•••svn:r18566 Roger Dingledine2009-02-16
* new controller event NEWCONSENSUS that lists the networkstatus•••lines for every recommended relay. still needs docdoc and changelog entry. svn:r18556 Roger Dingledine2009-02-16
* Jan 06 13:03:57.309 [info] networkstatus_set_current_consensus(): Loaded an o...•••Jan 06 13:03:57.309 [warn] Couldn't load consensus networkstatus from "bridge/cached-consensus" doesn't need a real warn. svn:r17969 Roger Dingledine2009-01-06