aboutsummaryrefslogtreecommitdiff
path: root/src/or/dirserv.c
Commit message (Expand)AuthorAge
* write_to_buf != connection_write_to_buf. Also, add a connection_write_to_buf...•••svn:r6650 Nick Mathewson2006-06-18
* Stop trying to refresh when we are out of data.•••svn:r6647 Nick Mathewson2006-06-18
* Fix a couple of bugs in last patch.•••svn:r6644 Nick Mathewson2006-06-18
* add coverage for a default case•••svn:r6643 Nick Mathewson2006-06-18
* Oops. conn->requested_resource is client only.•••svn:r6642 Nick Mathewson2006-06-18
* Instead of adding servers and v1 directories to buffers en masse, directory s...•••svn:r6641 Nick Mathewson2006-06-18
* now we can tell dirserv_dump_directory_to_string() whether we want•••it to include down/invalid descriptors or not. svn:r6618 Roger Dingledine2006-06-13
* Add a new warning to our "warn a lot" list: unused parameters. This means we...•••svn:r6532 Nick Mathewson2006-06-04
* directory authorities should be more tolerant of failed reachability•••tests before crying foul to the server operator. svn:r6509 Roger Dingledine2006-05-28
* if the bottom eighth of the servers by bandwidth is really crummy,•••try the bottom quartile instead. svn:r6387 Roger Dingledine2006-04-15
* Change a dumb interface. Also, increment trusted_dir_server_t.n_networkstatu...•••svn:r6345 Nick Mathewson2006-04-10
* Remove about 30% of the v1 directory bulk by not including down or•••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 Roger Dingledine2006-04-09
* If you're not a versioning dirserver, don't put the string•••"client-versions \nserver-versions \n" in your network status. svn:r6329 Roger Dingledine2006-04-08
* clean up the log lines more, and note a future work.•••svn:r6324 Roger Dingledine2006-04-08
* when we do reachability testing and the tls cert at the other•••end disagrees with a descriptor we already have, be more useful at explaining it. svn:r6322 Roger Dingledine2006-04-08
* Fix a couple of things that make GCC complain with verbose warnings on. Also...•••svn:r6317 Nick Mathewson2006-04-08
* fix some xxxs.•••svn:r6307 Nick Mathewson2006-04-03
* Versions that drop connections for having used idle circs are as bad for stab...•••svn:r6296 Nick Mathewson2006-04-02
* Fix dirserv_get_networkstatus_v2's api: its function comments•••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 Roger Dingledine2006-04-01
* We can remove about 30% of the v1 directory bulk by taking•••out down or invalid nodes. We should do this once we're ready. svn:r6273 Roger Dingledine2006-03-29
* Refactor the decision of whether to include a router's descriptor•••in the v1 directory. No actual changes yet. svn:r6272 Roger Dingledine2006-03-29
* When deciding whether a router is Fast or Guard-worthy, consider•••his advertised BandwidthRate and not just the BandwidthCapacity. This is a bug in 0.1.0.x as well, but let's not bother backporting. svn:r6266 Roger Dingledine2006-03-28
* Refactor and consolidate addr/exit policies into a new policies.c.•••Fix some minor bugs and memory leaks along the way. svn:r6246 Roger Dingledine2006-03-27
* bump up the magic number for how quickly we start notifying•••a server that it's unreachable. svn:r6234 Roger Dingledine2006-03-24
* Resolve problem found by weasel: the v1 directory was including•••servers as much as 48 hours old, because that's how the new routerlist->routers works. Now only include them if they're 20 hours old or less. svn:r6230 Roger Dingledine2006-03-22
* Maybe it compiles for devilproxy now•••svn:r6229 Peter Palfrader2006-03-22
* and dirservers don't call you a guard if you're running a•••buggy version either. svn:r6216 Roger Dingledine2006-03-21
* Make guard bandwidth threshold higher than fast bandwidth threshold.•••svn:r6204 Nick Mathewson2006-03-20
* Make "Fast" based on median capacity, just like "Stable" is based on median ...•••svn:r6203 Nick Mathewson2006-03-20
* Finish the transition from the word 'verified' to the words•••'named' and 'valid'. svn:r6188 Roger Dingledine2006-03-19
* let an authdir that's not a naming authdir start even•••if it doesn't have an approved-routers file. if it does, read it and parse it as usual. svn:r6182 Roger Dingledine2006-03-18
* Implement GETINFO(dir/server/foo); status will be harder.•••svn:r6165 Nick Mathewson2006-03-15
* change INET_NTOA_BUF_LEN+1 to INET_NTOA_BUF_LEN•••add a comment in a few places where we add weird numbers to buffer lengths svn:r6161 Peter Palfrader2006-03-14
* Fix an off-by-one buffer size in dirserv.c that magically never hit our•••three authorities but broke sjmurdoch's own tor network. svn:r6157 Peter Palfrader2006-03-14
* Cleanup on time-relaqted constants. New conventions:••• 1) Surround all constants by (parens), whether we'll be using them in a denominator or not. 2) Express all time periods as products (24*60*60), not as multiplied-out constants (86400). 3) Comments like "(60*60) /* one hour */" are as pointless as comments like "c = a + b; /* set c to the sum of a and b */". Remove them. 4) All time periods should be #defined constants, not given inline. 5) All time periods should have doxygen comments. 6) All time periods, unless specified, are in seconds. It's not necessary to say so. To summarize, the old (lack of) style would allow: #define FOO_RETRY_INTERVAL 60*60 /* one hour (seconds) */ next_try = now + 3600; The new style is: /** How often do we reattempt foo? */ #define FOO_RETRY_INTERVAL (60*60) next_try = now + RETRY_INTERVAL; svn:r6142 Nick Mathewson2006-03-12
* lower the reachability timeout, so we're more likely to act•••quickly if a server stops being reachable. svn:r6141 Roger Dingledine2006-03-12
* We screwed up in anticipating how to add new dirservers:•••Old servers won't realize they're supposed to stay connected to the new dirservers, so they'll expire connections to them, but that means the dirservers will list them as unreachable. So the fix is to stop requiring an open connection when deciding if a server is reachable. This makes us slightly less accurate, but at least it will work. svn:r6140 Roger Dingledine2006-03-12
* Use escaped() for remaining cases.•••svn:r6117 Nick Mathewson2006-03-11
* Possible bug 265 fix: authorities must be more strict than clients about age ...•••svn:r6095 Nick Mathewson2006-03-08
* Add some functions to escape values from the network before sending them to t...•••svn:r6087 Nick Mathewson2006-03-05
* the things we do for our windows users.•••i hope they appreciate it. svn:r6004 Roger Dingledine2006-02-13
* Happy new year!•••svn:r5949 Roger Dingledine2006-02-09
* Move "sort list of versions" logic into routerparse.c; make version-checking ...•••svn:r5927 Nick Mathewson2006-02-06
* when building v2 statuses or v1 running-routers, don't admit the•••existence of descriptors older than a day. we still cache them in case anybody asks, but we don't actively mention them. svn:r5913 Roger Dingledine2006-02-05
* Add a missing printf arg•••svn:r5861 Nick Mathewson2006-01-24
* Make dirservers generate a separate "guard" flag to mean, "would make a good ...•••svn:r5856 Nick Mathewson2006-01-24
* Indirect access to the signed_descriptor field to make it easier to keep them...•••svn:r5827 Nick Mathewson2006-01-12
* Appease verbose gcc warning: make dirserv_compute_stable_uptime() static.•••svn:r5792 Nick Mathewson2006-01-11
* balance the reachability testing so a smidgen of it happens•••every 10 seconds. this way we don't try to do 500 tls's at once every 20 minutes. svn:r5763 Roger Dingledine2006-01-10
* Be more aggressive about throwing away expired router descriptors: they are o...•••svn:r5762 Nick Mathewson2006-01-10