aboutsummaryrefslogtreecommitdiff
path: root/src/or/dirserv.c
Commit message (Collapse)AuthorAge
...
* 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
* Implement new version handling code.Nick Mathewson2005-09-21
| | | | svn:r5100
* make router_is_general_exit match its documentationRoger Dingledine2005-09-20
| | | | | | | but it's still wrong maybe svn:r5095
* Move to new base64 digest functions. Switch to new router digest ↵Nick Mathewson2005-09-18
| | | | | | calculation. Make sure there are no duplicates in router status lists. svn:r5088
* Unify our "figure out which fingerprints we were downloading" code.Nick Mathewson2005-09-16
| | | | svn:r5077
* fix braino in dirserv.Nick Mathewson2005-09-15
| | | | svn:r5075
* Make authdirs smarter. Reject/invalidate by key and IP. Remember that not ↵Nick Mathewson2005-09-15
| | | | | | every authdir has to be a naming authdir. svn:r5074
* And some documentation before bed.Nick Mathewson2005-09-15
| | | | svn:r5073
* Stop downloading directories and download routers instead. This still needs ↵Nick Mathewson2005-09-15
| | | | | | some work, but at last clients are finally on the new architecture. Next comes the tuning and bugfixing. svn:r5070
* separate validation from naming in authoritative directory servers; simplify ↵Nick Mathewson2005-09-15
| | | | | | some router-management code. svn:r5069
* Oops. directory_set_dirty() needs to mark networkstatus as dirty too.Nick Mathewson2005-09-14
| | | | svn:r5066
* Clean up a few warnings that make gcc twig out a bit.Nick Mathewson2005-09-14
| | | | svn:r5062
* add docs, fix whitespace, and make ANY rule in routerparse a little tighter.Nick Mathewson2005-09-13
| | | | svn:r5031
* fix a seg fault if we ask an authdirserver for a descriptor byRoger Dingledine2005-09-13
| | | | | | | fingerprint but he doesn't know about him. svn:r5023
* make the patch less likely to bite us laterRoger Dingledine2005-09-12
| | | | svn:r5021
* Maybe I should pay more attention to return values and less to clever ↵Nick Mathewson2005-09-12
| | | | | | comments. Fortunately, the aforementioned comments came out against smacking upside the head. svn:r5018
* Versions should be sorted by version. Lexical sorting should be used only as ↵Nick Mathewson2005-09-12
| | | | | | a last resort. svn:r5017
* when writing the recommended*versions lines, sort them first.Roger Dingledine2005-09-12
| | | | | | | | this is because weasel put his out of order and told me the code should take care of it. svn:r5016
* Numerous changes to move towards client-side v2 directories.Nick Mathewson2005-09-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | connection.c: - Add some more connection accessor functions to make directory download redundancy checking work. directory.c, or.h, router.c, routerlist.c: - Start on logic to note when networkstatus downloads fail. dirserv.c, routerlist.c, routerparse.c: - Start maintaining an is_named field in routerstatus_t. Don't actually look at it yet. dirserv.c, routerlist.c: - Remove expired networkstatus objects. or.h: - Make some booleans into bitfields - Add prototypes routerlist.c: - Sort networkstatus list by publication time - Function to remove old (older than 10 days) networkstatus objects. - Function to set a list of routerinfo_ts' status info from the current set of networkstatus objects. - Function to tell which routerinfos we need to download based no the current set of networkstatus objects. - Do not launch a networkstatus download if a redundant one is in progress. routerparse.c: - Keep router entries in networkstatus sorted by digest. svn:r5012
* downgrade warning to infoNick Mathewson2005-09-09
| | | | svn:r4967
* Warn in more detail when network-status serving and fetching fails. Also, ↵Nick Mathewson2005-09-09
| | | | | | fix a small leak. svn:r4963
* Iteration is happier when you stop.Nick Mathewson2005-09-08
| | | | svn:r4950
* Resolve some XXXs. Add some others.Nick Mathewson2005-09-08
| | | | svn:r4947
* Do not generate more than 2 of each directory type per minute.Nick Mathewson2005-09-08
| | | | svn:r4946
* Fix an assert in directory.c. Check received network-status objects against ↵Nick Mathewson2005-09-08
| | | | | | the list we expected to get. Do not let anyone else update our network-status object. svn:r4945
* Only caches download network-status for now, and they use a different ↵Nick Mathewson2005-09-08
| | | | | | strategy. Add an element to connection_t to remember what we are downloading, and a function to recognize our own fingerprint. svn:r4944
* Special-case for retrieving own networkstatus by fingerprint: regenerate if ↵Nick Mathewson2005-09-08
| | | | | | dirty! svn:r4943
* Ensure case match, not mismatch.Nick Mathewson2005-09-08
| | | | svn:r4935
* Avoid assertion failureNick Mathewson2005-09-08
| | | | svn:r4931
* and fix grammarRoger Dingledine2005-09-08
| | | | svn:r4925
* Make GCC v4 happy with heavy warnings enabled.Nick Mathewson2005-09-08
| | | | svn:r4922