aboutsummaryrefslogtreecommitdiff
path: root/src/or/dirserv.c
Commit message (Collapse)AuthorAge
* r8776@totoro: nickm | 2006-09-29 00:50:46 -0400Nick Mathewson2006-09-29
| | | | | | | | | | | Reserve the nickname "Unnamed" for routers that can't pick a hostname; any router can call itself Unnamed; directory servers will never allocate Unnamed to any particular router; clients won't believe that any router is the canonical Unnamed. svn:r8529
* combine the cutoff log entriesRoger Dingledine2006-09-29
| | | | svn:r8524
* r8977@Kushana: nickm | 2006-09-28 19:56:41 -0400Nick Mathewson2006-09-28
| | | | | | | Make "is a v1 authority", "is a v2 authority", and "is a hidden service authority" into separate flags so we can eventually migrate more trust away from moria. svn:r8523
* r9889@danube: weasel | 2006-09-29 00:57:42 +0200Peter Palfrader2006-09-28
| | | | | | | bandwidth is not measured in bytes svn:r8515
* r9888@danube: weasel | 2006-09-29 00:57:02 +0200Peter Palfrader2006-09-28
| | | | | | | Also log guard bandwidth cutoff svn:r8514
* r8817@Kushana: nickm | 2006-09-14 18:31:29 -0400Nick Mathewson2006-09-14
| | | | | | | Patch from steve hildrey: Generate network status correctly on non-versioning dirservers svn:r8395
* r8808@senior-two-eighty: nickm | 2006-09-14 00:59:54 -0400Nick Mathewson2006-09-14
| | | | | | | House style for no-args functions is old-style C, not C++ svn:r8388
* r9736@danube: weasel | 2006-09-14 05:53:06 +0200Peter Palfrader2006-09-14
| | | | | | | | Refactor dirserv_parse_fingerprint_file(fname) into dirserv_load_fingerprint_file(): There is not need to put together the path to the approved-routers file in more than one place. svn:r8386
* simplify the connection_write_to_buf_zlib() wrapper.Roger Dingledine2006-08-13
| | | | svn:r7042
* r7324@Kushana: nickm | 2006-08-10 23:23:15 -0700Nick Mathewson2006-08-11
| | | | | | | Add more warnings to the list of those we tolerate. Start using GCC attributes more, for better error checking and better code generation. svn:r7020
* r6908@Kushana: nickm | 2006-07-26 12:38:52 -0400Nick Mathewson2006-07-26
| | | | | | | Refactor connection_t into edge, or, dir, control, and base subtypes. This might save some RAM on busy exit servers, but really matters most in terms of correctness. svn:r6906
* tweakRoger Dingledine2006-07-21
| | | | svn:r6799
* parameterize the loudness of resolve_my_address(), and call thingsRoger Dingledine2006-07-15
| | | | | | | IP addresses, not IPs. svn:r6764
* Avoid an integer underflow when the dir authority decides whether aRoger Dingledine2006-07-14
| | | | | | | | | | | router is stable: we might wrongly label it stable, and compute a slightly wrong median stability, when a descriptor is published later than now. Inspired by Matt's Vidalia checkin: http://trac.vidalia-project.net/changeset/1074 svn:r6758
* whitespace/tab fixesRoger Dingledine2006-07-06
| | | | svn:r6734
* Get rid of the router_retry_connections notion. Now routers no longerRoger Dingledine2006-07-04
| | | | | | | | | | | | | try to rebuild long-term connections to directory authorities, and directory authorities no longer try to rebuild long-term connections to all servers. We still don't hang up connections in these two cases though -- we need to look at it more carefully to avoid flapping, and we likely need to wait til 0.1.1.x is obsolete. svn:r6712
* Apparent 311 fix: apparently passing Z_FINISH an empty string is problematic.Nick Mathewson2006-06-29
| | | | svn:r6702
* Make some more verbose gcc warnings go away.Nick Mathewson2006-06-22
| | | | svn:r6680
* Fix a bunch of spaces.Nick Mathewson2006-06-22
| | | | svn:r6678
* Next batch of memory miserdom: mmap cached-routers file. This is sure to ↵Nick Mathewson2006-06-22
| | | | | | break somewhere. svn:r6675
* When requesting or serving resources via fingerprint/digest, request and ↵Nick Mathewson2006-06-21
| | | | | | respond in-order, removing duplicates. svn:r6673
* <nickm> ooh, that log shouldn't be there. can you take it out?Peter Palfrader2006-06-20
| | | | svn:r6671
* Fix bug in networkstatus spooling: spool more than the first networkstatus.Nick Mathewson2006-06-20
| | | | svn:r6670
* Fishy, but harmless.Nick Mathewson2006-06-20
| | | | svn:r6669
* add a note for nick to fixRoger Dingledine2006-06-20
| | | | svn:r6668
* Ah. We need a new zlib_state for each networkstatus we spool out.Nick Mathewson2006-06-20
| | | | svn:r6667
* Start spooling v2 networkstatus docs as well.Nick Mathewson2006-06-20
| | | | svn:r6664
* Fix a tricky crash: making the_directory heap-allocated (so we could ↵Nick Mathewson2006-06-18
| | | | | | refcount it and have multiple instances as neeeded) means that calls to dirserv_regenerate_directory could invalidate the auth_dir value passed to dirserv_pick_cached_dir_obj. Big fun. svn:r6663
* Fix an assert that still isnt the assert we are hunting.Nick Mathewson2006-06-18
| | | | svn:r6662
* Become capable of noticing that we are done sending a directory.Nick Mathewson2006-06-18
| | | | svn:r6659
* write_to_buf != connection_write_to_buf. Also, add a ↵Nick Mathewson2006-06-18
| | | | | | connection_write_to_buf_zlib wrapper that sucks. svn:r6650
* Stop trying to refresh when we are out of data.Nick Mathewson2006-06-18
| | | | svn:r6647
* Fix a couple of bugs in last patch.Nick Mathewson2006-06-18
| | | | svn:r6644
* add coverage for a default caseNick Mathewson2006-06-18
| | | | svn:r6643
* Oops. conn->requested_resource is client only.Nick Mathewson2006-06-18
| | | | svn:r6642
* Instead of adding servers and v1 directories to buffers en masse, directory ↵Nick Mathewson2006-06-18
| | | | | | servers add them on the fly as their outbufs are depleted. This will save ram on busy dirservers. svn:r6641
* now we can tell dirserv_dump_directory_to_string() whether we wantRoger Dingledine2006-06-13
| | | | | | | it to include down/invalid descriptors or not. svn:r6618
* Add a new warning to our "warn a lot" list: unused parameters. This means ↵Nick Mathewson2006-06-04
| | | | | | we have to explicitly "use" unuseds, but it can catch bugs. (It caught two coding mistakes so far.) svn:r6532
* directory authorities should be more tolerant of failed reachabilityRoger Dingledine2006-05-28
| | | | | | | tests before crying foul to the server operator. svn:r6509
* if the bottom eighth of the servers by bandwidth is really crummy,Roger Dingledine2006-04-15
| | | | | | | try the bottom quartile instead. svn:r6387
* Change a dumb interface. Also, increment ↵Nick Mathewson2006-04-10
| | | | | | trusted_dir_server_t.n_networkstatus_failures when an all.z download fails entirely or partially. svn:r6345
* Remove about 30% of the v1 directory bulk by not including down orRoger Dingledine2006-04-09
| | | | | | | | | | invalid nodes. This will make exitlist's running on v1 not very good. I feel sorry for them, but not as sorry as I feel for the directory mirrors. svn:r6332
* If you're not a versioning dirserver, don't put the stringRoger Dingledine2006-04-08
| | | | | | | "client-versions \nserver-versions \n" in your network status. svn:r6329
* clean up the log lines more, and note a future work.Roger Dingledine2006-04-08
| | | | svn:r6324
* when we do reachability testing and the tls cert at the otherRoger Dingledine2006-04-08
| | | | | | | | end disagrees with a descriptor we already have, be more useful at explaining it. svn:r6322
* Fix a couple of things that make GCC complain with verbose warnings on. ↵Nick Mathewson2006-04-08
| | | | | | Also, fix some whitespace. svn:r6317
* fix some xxxs.Nick Mathewson2006-04-03
| | | | svn:r6307
* Versions that drop connections for having used idle circs are as bad for ↵Nick Mathewson2006-04-02
| | | | | | stable as for guard svn:r6296
* Fix dirserv_get_networkstatus_v2's api: its function commentsRoger Dingledine2006-04-01
| | | | | | | | | | did not at all match its behavior, and I can't think of a case when it should return anything other than 0. This fix may allow getinfo dir/status/foo to work. svn:r6285
* We can remove about 30% of the v1 directory bulk by takingRoger Dingledine2006-03-29
| | | | | | | out down or invalid nodes. We should do this once we're ready. svn:r6273