aboutsummaryrefslogtreecommitdiff
path: root/src/or/networkstatus.c
Commit message (Collapse)AuthorAge
* 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
* Make getinfo ns/purpose/bridge actually workRoger Dingledine2007-12-19
| | | | | | | Also, dump our bridge router status entries to disk every 30 minutes. svn:r12871
* answer getinfo ns/purpose/bridge queriesRoger Dingledine2007-12-18
| | | | svn:r12860
* Make bridge authorities test reachability of bridges.Roger Dingledine2007-12-18
| | | | | | | Added two XXX020's that we need to think harder about. svn:r12859
* our unit tests leak memory like a sieve.Roger Dingledine2007-12-16
| | | | | | | fix two actual memory leaks found while cleaning up a bit. svn:r12829
* clean up copyrights, and assign 2007 copyrights to The Tor Project, IncRoger Dingledine2007-12-12
| | | | svn:r12786
* r17089@catbus: nickm | 2007-12-11 17:33:34 -0500Nick Mathewson2007-12-11
| | | | | | | Patch from mwenge: fix consensus status lookup by nickname when nickname is a hexdigest. svn:r12766
* New config options AuthDirBadDir and AuthDirListBadDirs forRoger Dingledine2007-12-10
| | | | | | | | | authorities to mark certain relays as "bad directories" in the networkstatus documents. Also supports the "!baddir" directive in the approved-routers file. svn:r12754
* also clear the hsdir status flag in routerinfo_t when the relay is noRoger Dingledine2007-12-10
| | | | | | | longer listed in the relevant networkstatus document. svn:r12752
* Bridges now behave like clients with respect to time intervals forRoger Dingledine2007-12-06
| | | | | | | | | downloading new consensus documents. Bridge users now wait until the end of the interval, so their bridge will be sure to have a new consensus document. svn:r12696
* When the DANGEROUS_VERSION controller status event told us we'reRoger Dingledine2007-12-05
| | | | | | | | | running an obsolete version, it used the string "OLD" to describe it. Yet the "getinfo" interface used the string "OBSOLETE". Now use "OBSOLETE" in both cases. svn:r12686
* update an XXX020 for nick laterRoger Dingledine2007-12-05
| | | | svn:r12684
* Stop being so aggressive about fetching dir info if your DirPort isRoger Dingledine2007-12-04
| | | | | | | | | | | | | | on but your ORPort is off. Add a new config option BridgeRelay that specifies you want to be a bridge relay. Right now the only difference is that it makes you answer begin_dir requests, and it makes you cache dir info, even if your DirPort isn't on. Refactor directory_caches_dir_info() into some more functions. svn:r12668
* Authorities and caches fetch the v2 networkstatus documentsRoger Dingledine2007-12-01
| | | | | | | less often, now that v3 is encouraged. svn:r12627