aboutsummaryrefslogtreecommitdiff
path: root/src/or/dirserv.c
Commit message (Expand)AuthorAge
...
* 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
* Fix bug in last commit. Also, fix bug 231: authorities should never treat the...•••svn:r5755 Nick Mathewson2006-01-08
* Fix bug 236: caches should cache up to 16 unrecognized network-status docs.•••svn:r5754 Nick Mathewson2006-01-08
* cleanups, and remove some unreachable code.•••svn:r5727 Roger Dingledine2006-01-04
* authdirs now stop whining so loudly about bad descriptors that they fetch•••from other dirservers. now when there's a log complaint, it's for sure from a freshly uploaded descriptor. svn:r5726 Roger Dingledine2006-01-04
* when we choose not to use a server descriptor from our cache, don't•••log it so loudly. svn:r5713 Roger Dingledine2006-01-03
* make the "stable" flag in network-status be the median of the uptimes•••of running valid servers. that way the cutoff adapts to the stability of the network as a whole. svn:r5693 Roger Dingledine2006-01-02
* Add "panic" option to reject all servers not in fingerprint list.•••svn:r5601 Nick Mathewson2005-12-15
* Make clients look at the fast and stable flags in networkstatus, not at the b...•••svn:r5599 Nick Mathewson2005-12-15
* Whitespace fixes; comments.•••svn:r5596 Nick Mathewson2005-12-15
* Bite the bullet and limit all our source lines to 80 characters, the way IBM ...•••svn:r5582 Nick Mathewson2005-12-14
* Have dirctory authorites note which servers make good V2 directory caches in ...•••svn:r5574 Nick Mathewson2005-12-12
* when we changed from log_fn to debug/info/notice/warn/err,•••we screwed up the formatting in wild and unpredictable ways. fix it before it becomes convention to format logs in wild and unpredictable ways. still need to do src/common/ someday. svn:r5551 Roger Dingledine2005-12-10
* crank the max line limit down to 150 chars.•••svn:r5550 Roger Dingledine2005-12-10
* In my private little universe, terminals are still 80 columns. Impose a 160-...•••svn:r5548 Nick Mathewson2005-12-09
* let the user configure a sockslistenaddress on other private IPs•••besides 127.x.y.z without complaining. and give a better message in the log. svn:r5544 Roger Dingledine2005-12-09
* Fix bug 212: Directory authorities should not try to download server descript...•••svn:r5514 Nick Mathewson2005-12-06
* Rename connection_get_by_identity_digest to reflect that it is OR-only. Make...•••svn:r5469 Nick Mathewson2005-11-30
* Funny. I could have sworn that it compiled.•••svn:r5467 Nick Mathewson2005-11-29
* Fix a bug weasel found: when we are an authority and somebody requests "all" ...•••svn:r5466 Nick Mathewson2005-11-29
* Ancient gcc does not like you when you declare variables in the middle of a b...•••svn:r5437 Peter Palfrader2005-11-20
* Add a new controller event type that allows controllers to get all•••server descriptors that were uploaded to a router in its role as authoritative dirserver. svn:r5436 Peter Palfrader2005-11-19
* Recover better from TCP connections to Tor servers that are broken but•••don't tell you (it happens!); and rotate TLS connections once a week. 1) If an OR conn becomes more than a week old, make it obsolete. 2) If it's obsolete and empty, kill it. 3) When an OR makes a second connection to you, allow it. 4) If we want to send a new create cell, but the best conn we've got is obsolete, and the router is 0.1.1.9-alpha-cvs or later, ask for a new conn instead. 5) When we time out on circuit building on the first hop, make that connection obsolete. svn:r5429 Roger Dingledine2005-11-19
* On directory servers, old_routers was wasting hundreds of bytes per supersede...•••svn:r5349 Nick Mathewson2005-11-05
* more doc cleanups and reorganizing•••svn:r5336 Roger Dingledine2005-11-01
* Free the v2 directory networkstatus on exit. (Not a leak.)•••svn:r5330 Nick Mathewson2005-10-29
* aaand another leak. Oops, I guess I lied to weasel when I told him there was...•••svn:r5329 Nick Mathewson2005-10-28
* Start making directory caches retain old routerinfo_t. The code to remove ol...•••svn:r5323 Nick Mathewson2005-10-27
* fix a nasty corruption bug•••svn:r5319 Nick Mathewson2005-10-25
* Remove last vestiges of old logging interface.•••svn:r5317 Nick Mathewson2005-10-25
* Switch remaining files to new log interface.•••svn:r5315 Nick Mathewson2005-10-25