aboutsummaryrefslogtreecommitdiff
path: root/src/or/networkstatus.c
Commit message (Collapse)AuthorAge
...
* | 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
* Downlgrade tweak, and answer lots of XXX021s. No actual code fixes in this ↵Nick Mathewson2008-12-18
| | | | | | patch. svn:r17686
* Remove fixed xxx020s; downgrade unfixed ones.Nick Mathewson2008-12-18
| | | | | | (The unfixed ones are being downgraded to regular XXXs mainly on the rationale that they don't seem to be exploding Tor, and they were apparently not showstoppers for 0.2.0.x-final.) svn:r17682
* fix a minor memory leak if we start up as a relay but don'tRoger Dingledine2008-12-18
| | | | | | | have any files in the cached-status/ directory svn:r17671
* Rename a couple of v2-networkstatus-only fields so that it is clear they are ↵Nick Mathewson2008-12-17
| | | | | | v2-networkstatus-only. svn:r17652
* Change directory_get_from_dirserver to take a set of flags to be passed to ↵Nick Mathewson2008-12-11
| | | | | | pick_(trusted_)dirserver. This lets us make its interface smarter, and makes code that calls it a little more readable. svn:r17592
* Add a new status event for consensus arrivalNick Mathewson2008-12-09
| | | | svn:r17535
* fix up signs in r17208Nick Mathewson2008-11-07
| | | | svn:r17211
* patch from karsten to not use or accept expired certs. fixes bug 851. Nick Mathewson2008-11-07
| | | | svn:r17208
* Fix a memory leak when freeing routerstatuses with exit policy summaries. ↵Nick Mathewson2008-08-25
| | | | | | Patch from mwenge. svn:r16659
* All the controller things want their stuff in v2 format. Well then, maybe ↵Peter Palfrader2008-08-17
| | | | | | that's already sufficient svn:r16578
* Do not show policy and bw in v2 statusesPeter Palfrader2008-08-14
| | | | svn:r16537
* r17641@31-33-44: nickm | 2008-08-05 16:07:53 -0400Nick Mathewson2008-08-05
| | | | | | | Initial conversion of uint32_t addr to tor_addr_t addr in connection_t and related types. Most of the Tor wire formats using these new types are in, but the code to generate and use it is not. This is a big patch. Let me know what it breaks for you. svn:r16435
* r17337@aud-055: nickm | 2008-07-24 10:17:43 +0200Nick Mathewson2008-07-24
| | | | | | | Refactor the is_vote field of networkstatus_t to add a third possibility ("opinion") in addition to vote and opinion. First part of implementing proposal 147. svn:r16166
* infrastructure for the 'bootstrap status event' feature, so we canRoger Dingledine2008-06-07
| | | | | | | | tell the controller how we're doing at bootstrapping, and it can tell the user. svn:r15008
* changing v2 network status doesn't require us to recomputeRoger Dingledine2008-06-05
| | | | | | | anything about whether enough v3 dir info is here. svn:r14969
* remove some networkstatus consensus warnings for unnamed / invalidRoger Dingledine2008-06-05
| | | | | | | | relays. they weren't very specific, and were confusing people before we reduced their log severity. now nobody even knows they exist. svn:r14968
* r19714@catbus: nickm | 2008-05-12 17:11:47 -0400Nick Mathewson2008-05-12
| | | | | | | Fwdport Bugfix: an authority signature is "unrecognized" if we lack a dirserver entry for it, even if we have an older cached certificate that says it is recognized. This affects clients who remove entries from their dirserver list without clearing their certificate cache. svn:r14597