aboutsummaryrefslogtreecommitdiff
path: root/src/or/dirserv.c
Commit message (Collapse)AuthorAge
...
* Fix bug in last commit. Also, fix bug 231: authorities should never treat ↵Nick Mathewson2006-01-08
| | | | | | their own descriptor changes as cosmetic. svn:r5755
* Fix bug 236: caches should cache up to 16 unrecognized network-status docs.Nick Mathewson2006-01-08
| | | | svn:r5754
* cleanups, and remove some unreachable code.Roger Dingledine2006-01-04
| | | | svn:r5727
* authdirs now stop whining so loudly about bad descriptors that they fetchRoger Dingledine2006-01-04
| | | | | | | | from other dirservers. now when there's a log complaint, it's for sure from a freshly uploaded descriptor. svn:r5726
* when we choose not to use a server descriptor from our cache, don'tRoger Dingledine2006-01-03
| | | | | | | log it so loudly. svn:r5713
* make the "stable" flag in network-status be the median of the uptimesRoger Dingledine2006-01-02
| | | | | | | | of running valid servers. that way the cutoff adapts to the stability of the network as a whole. svn:r5693
* Add "panic" option to reject all servers not in fingerprint list.Nick Mathewson2005-12-15
| | | | svn:r5601
* Make clients look at the fast and stable flags in networkstatus, not at the ↵Nick Mathewson2005-12-15
| | | | | | bandwidth and uptime declared in the router descriptors. svn:r5599
* Whitespace fixes; comments.Nick Mathewson2005-12-15
| | | | svn:r5596
* Bite the bullet and limit all our source lines to 80 characters, the way IBM ↵Nick Mathewson2005-12-14
| | | | | | intended. svn:r5582
* Have dirctory authorites note which servers make good V2 directory caches in ↵Nick Mathewson2005-12-12
| | | | | | publishe network-status. svn:r5574
* when we changed from log_fn to debug/info/notice/warn/err,Roger Dingledine2005-12-10
| | | | | | | | | | | | 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
* crank the max line limit down to 150 chars.Roger Dingledine2005-12-10
| | | | svn:r5550
* In my private little universe, terminals are still 80 columns. Impose a ↵Nick Mathewson2005-12-09
| | | | | | 160-character-per-line limit; this will creep down. svn:r5548
* let the user configure a sockslistenaddress on other private IPsRoger Dingledine2005-12-09
| | | | | | | | besides 127.x.y.z without complaining. and give a better message in the log. svn:r5544
* Fix bug 212: Directory authorities should not try to download server ↵Nick Mathewson2005-12-06
| | | | | | descriptors that they know they will reject. svn:r5514
* Rename connection_get_by_identity_digest to reflect that it is OR-only. ↵Nick Mathewson2005-11-30
| | | | | | Make it use a hashtable instead of a linear search. svn:r5469
* Funny. I could have sworn that it compiled.Nick Mathewson2005-11-29
| | | | svn:r5467
* Fix a bug weasel found: when we are an authority and somebody requests "all" ↵Nick Mathewson2005-11-29
| | | | | | statuses, cconsider regenerating our own. svn:r5466
* Ancient gcc does not like you when you declare variables in the middle of a ↵Peter Palfrader2005-11-20
| | | | | | block svn:r5437
* Add a new controller event type that allows controllers to get allPeter Palfrader2005-11-19
| | | | | | | | server descriptors that were uploaded to a router in its role as authoritative dirserver. svn:r5436
* Recover better from TCP connections to Tor servers that are broken butRoger Dingledine2005-11-19
| | | | | | | | | | | | | | | | 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
* On directory servers, old_routers was wasting hundreds of bytes per ↵Nick Mathewson2005-11-05
| | | | | | superseded router descriptor. Roll the signed descriptor info and identifying info into a cache_info struct, and use only that for old_routers. svn:r5349
* more doc cleanups and reorganizingRoger Dingledine2005-11-01
| | | | svn:r5336
* Free the v2 directory networkstatus on exit. (Not a leak.)Nick Mathewson2005-10-29
| | | | svn:r5330
* aaand another leak. Oops, I guess I lied to weasel when I told him there ↵Nick Mathewson2005-10-28
| | | | | | was no leak here. svn:r5329
* Start making directory caches retain old routerinfo_t. The code to remove ↵Nick Mathewson2005-10-27
| | | | | | old ones is definitely some textbook C problem. svn:r5323
* fix a nasty corruption bugNick Mathewson2005-10-25
| | | | svn:r5319
* Remove last vestiges of old logging interface.Nick Mathewson2005-10-25
| | | | svn:r5317
* Switch remaining files to new log interface.Nick Mathewson2005-10-25
| | | | svn:r5315
* When warning about a networkstatus fp, we need to put it in hex.Nick Mathewson2005-10-24
| | | | svn:r5293
* Use digestmap_t instead of strmap_t where appropriate. Do less hex en/decodingNick Mathewson2005-10-18
| | | | svn:r5279
* Refactor routerlist access slightly: always use router_get_by_routerlist(); ↵Nick Mathewson2005-10-18
| | | | | | change its interface; add modifier functions to add/remove elements from the current routerlist (so we can add indices). svn:r5276
* Make dirserv_get_routerdescs() return better http 404 error messages instead ↵Peter Palfrader2005-10-18
| | | | | | of a generic "Servers unavailable." svn:r5274
* Fix download by SD digestPeter Palfrader2005-10-18
| | | | svn:r5272
* I wonder what a stautus is.Peter Palfrader2005-10-18
| | | | svn:r5271
* And close the double quote tooPeter Palfrader2005-10-18
| | | | svn:r5269
* Fix documentation of dirserv_get_routerdescs:Peter Palfrader2005-10-18
| | | | | | | correct the path for queries by server key, add queries by SD digest svn:r5268
* Downgrade a few INFO level logs to DEBUG again. Also add two or three newPeter Palfrader2005-10-17
| | | | | | | | logs in cases where a calling function's log was downgraded and we wouldn't get any log message otherwise. svn:r5263
* Enable trivial "download by descriptor digest" functionality.Nick Mathewson2005-10-14
| | | | svn:r5250
* authorities do not replace server descriptors where nothing semantically ↵Nick Mathewson2005-10-12
| | | | | | relevant has changed since the last upload. svn:r5240
* Insert a newline between all router descriptors when generating (old style) ↵Nick Mathewson2005-10-08
| | | | | | signed directories, in case somebody was counting on that. svn:r5231
* Make doxygen marginally happierNick Mathewson2005-10-06
| | | | svn:r5208
* Check for named servers when looking them up by nickname;Nick Mathewson2005-10-04
| | | | | | | | | | | | | | | | | | | warn when we'recalling a non-named server by its nickname; don't warn twice about the same name. Fix a bug in routers_update_status_from_networkstatus that made nearly all clients never update routerinfo_t.is_named. Try to list MyFamily elements by key, not by nickname. Only warn about names that we generated ourself, or got from the local user. On TLS handshake, only check the other router's nickname against its expected nickname if is_named is set. svn:r5185
* switch semantics of authdirinvalid/rejectNick Mathewson2005-10-04
| | | | svn:r5182
* Reformat inconsistent function declarations.Nick Mathewson2005-09-30
| | | | svn:r5160
* Add a bunch more warnings to out warning suite; resolve them; pack structs a ↵Nick Mathewson2005-09-29
| | | | | | little better. svn:r5150
* Fix some compiler warningsNick Mathewson2005-09-23
| | | | svn:r5124
* I love the smell of C in the morning. Make router-download rules smarter ↵Nick Mathewson2005-09-22
| | | | | | (download more so long as we dont duplicate existing requests; relaunch at staggered intervals); relaunch one a minute or on failure; reset 60 minutes; always open 3 requests if we can; add authority opinion to networkstatus; make naming rule correct. There is a remaining bug where we retry servers too quickly; We need to look at that harder. svn:r5110
* clean up misleading comment on authdir_wants_to_reject_router()Roger Dingledine2005-09-21
| | | | svn:r5105