aboutsummaryrefslogtreecommitdiff
path: root/src/or/networkstatus.c
Commit message (Collapse)AuthorAge
* 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
* I bet I screwed up while merging in the changes from the feature branch into ↵Peter Palfrader2008-04-24
| | | | | | my git-svn repository. Undo r14451 svn:r14452
* Merge conditional consensus downloadingPeter Palfrader2008-04-24
| | | | svn:r14451
* and the client part of the consensus-by-authority-fpr proposal (ifdef'ed out)Peter Palfrader2008-04-24
| | | | svn:r14446
* forward-port the severity fixesRoger Dingledine2008-04-24
| | | | svn:r14442
* minor fixes that have been accumulatingRoger Dingledine2008-04-16
| | | | svn:r14378
* r19231@catbus: nickm | 2008-04-07 12:45:58 -0400Nick Mathewson2008-04-08
| | | | | | | Update last_listed_as_valid_until for new routers based on v2 networkstatus as well as consensus networkstatus. svn:r14317
* r19229@catbus: nickm | 2008-04-07 12:28:22 -0400Nick Mathewson2008-04-07
| | | | | | | Add a new SMARTLIST_FOREACH_JOIN macro to iterate through two sorted lists in lockstep. This happens at least 3 times in the code so far, and is likely to happen more in the future. Previous attempts to do so proved touchy, tricky, and error-prone: now, we only need to get it right in one place. svn:r14309
* r19202@catbus: nickm | 2008-04-04 17:18:47 -0400Nick Mathewson2008-04-04
| | | | | | | Make last_served_at optional; make last_listed_as_valid_until take account (partially) of v2 statuses. svn:r14299
* r14422@tombo: nickm | 2008-02-24 17:09:56 -0500Nick Mathewson2008-02-24
| | | | | | | Whitespace fixes svn:r13700
* r14399@tombo: nickm | 2008-02-22 14:09:38 -0500Nick Mathewson2008-02-22
| | | | | | | More 64-to-32 fixes. Partial backport candidate. still not done. svn:r13680
* r14170@tombo: nickm | 2008-02-15 11:50:38 -0500Nick Mathewson2008-02-15
| | | | | | | Fix or downgrade a bunch of xxx020 items. svn:r13527
* r18051@catbus: nickm | 2008-02-12 15:20:43 -0500Nick Mathewson2008-02-12
| | | | | | | Re-tune mempool parametes based on testing on peacetime: use smaller chuncks, free them a little more aggressively, and try very hard to concentrate allocations on fuller chunks. Also, lots of new documentation. svn:r13484
* doxygen and other cleanupsRoger Dingledine2008-02-09
| | | | svn:r13440
* r14063@tombo: nickm | 2008-02-08 15:48:32 -0500Nick Mathewson2008-02-08
| | | | | | | Add a bunch more code documentation; change the interface of fetch_var_cell_from_buf() so it takes the current link protocol into account and can't get confused by weird command bytes on v1 connections. svn:r13430
* Update some copyright notices: it is now 2008.Nick Mathewson2008-02-07
| | | | svn:r13412
* r17947@catbus: nickm | 2008-02-06 11:57:53 -0500Nick Mathewson2008-02-06
| | | | | | | Fix a bunch of DOCDOC items; document the --quiet flag; refactor a couple of XXXX020 items. svn:r13405
* If the networkstatus consensus lists no recommended versions, don'tRoger Dingledine2008-02-06
| | | | | | | complain to the user and demand that they upgrade to one of "". svn:r13401
* r17929@catbus: nickm | 2008-02-05 17:10:26 -0500Nick Mathewson2008-02-05
| | | | | | | Fix or downgrade a few XXX020 items. svn:r13393
* r17909@catbus: nickm | 2008-02-05 14:48:22 -0500Nick Mathewson2008-02-05
| | | | | | | As planned, rename networkstatus_vote_t to networkstatus_t, now that v3 networkstatuses are working and standard and v2 networkstatuses are obsolete. svn:r13383
* suggest a better fix for bug 597Roger Dingledine2008-01-30
| | | | svn:r13340
* r17844@catbus: nickm | 2008-01-30 13:31:37 -0500Nick Mathewson2008-01-30
| | | | | | | Fix bug 597: stop telling people to email Tor-ops. Also give a better suggestion when some other identity has been assigned the nickname we are using. svn:r13337
* When we get a consensus that's been signed by more people thanRoger Dingledine2008-01-24
| | | | | | | we expect, don't log about it; it's not a big deal. svn:r13249
* r17639@catbus: nickm | 2008-01-15 19:09:21 -0500Nick Mathewson2008-01-16
| | | | | | | Fix some hard to trigger but nonetheless real memory leaks spotted by an anonymous contributor. Needs review. Partial backport candidate. svn:r13147
* r17558@catbus: nickm | 2008-01-10 13:07:41 -0500Nick Mathewson2008-01-10
| | | | | | | If we do not serve v2 directory info, and our cached v2 networkstatus files are very old, remove them. If the directory is old, remove that too. (We already did this for obsolete routers files.) svn:r13096
* minor cleanupsRoger Dingledine2008-01-10
| | | | svn:r13095
* r17503@catbus: nickm | 2008-01-07 14:15:30 -0500Nick Mathewson2008-01-07
| | | | | | | Change set_current_consensus interface to take a flags variable. Do not try to fetch certificates until after we have tried loading the fallback consensus. Should fix bug 583. svn:r13058
* hack at networkstatus.c until we actually try to load ourRoger Dingledine2008-01-07
| | | | | | | | fallback consensus. nick, can you take a closer look at this, and add a changelog entry if it's a valid fix? svn:r13050
* r15768@tombo: nickm | 2007-12-31 16:12:09 -0500Nick Mathewson2007-12-31
| | | | | | | Patch from Tup: make NS events work again. svn:r13009
* tweaksRoger Dingledine2007-12-24
| | | | svn:r12959
* Fix a crash on startup if you install Tor 0.2.0.13-alpha fresh Roger Dingledine2007-12-22
| | | | | | | | without a datadirectory from a previous Tor install. Reported by Zax. svn:r12928
* new config option FetchDirInfoEarly for tup/ioerror and the tordnselRoger Dingledine2007-12-21
| | | | svn:r12896
* Only Tors that want to mirror the v2 directory info shouldRoger Dingledine2007-12-20
| | | | | | | | | | | 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
* r17268@catbus: nickm | 2007-12-19 23:53:53 -0500Nick Mathewson2007-12-20
| | | | | | | Initialize [un]named_server_map to empty strmaps when router_reload_consensus_networkstatus fails completely. Resolves bug 538. svn:r12881