aboutsummaryrefslogtreecommitdiff
path: root/src/or/dirserv.c
AgeCommit message (Collapse)Author
2005-05-02also print the platform string for rejected descriptorsRoger Dingledine
svn:r4160
2005-05-02don't print nullsRoger Dingledine
svn:r4159
2005-05-02when we refuse a router descriptor, log contactinfo and source address.Roger Dingledine
svn:r4156
2005-05-02Remove support for looking at old directory/routerdesc elements; mark ↵Nick Mathewson
non-new elements optional; switch to new format for dir-signing-key; start accepting newer elements so we can mark them as non-opt later; make tor-spec say the right stuff. svn:r4154
2005-04-27stop re-reading and re-parsing the directory as soon as we make it.Roger Dingledine
it was nice for checking if we've got bugs, but it's really quite expensive too. it was also nice for updating our routerinfo's immediately, but we'll update them like everybody else when we fetch a new dir from somebody else. svn:r4128
2005-04-12those should be notices, not warnsRoger Dingledine
svn:r4079
2005-04-07Improve conn_*_to_string; add circuit_state_to_string; make ↵Nick Mathewson
skewed-descriptor messages better. svn:r4047
2005-04-07allow servers to publish descriptors from 12 hours in the future.Roger Dingledine
hopefully this will allow more slack and let crummier servers help out too. svn:r4046
2005-04-06When we connect and finish TLS negotiation with address:port, it is obvious ↵Nick Mathewson
that any other key or nickname we might know about (as an authdirserver) does not actually exist at address:port. svn:r4036
2005-04-06Add missing comma. OopsNick Mathewson
svn:r4017
2005-04-06Handle changed router status correctly when reloading fingerprint fileNick Mathewson
svn:r4016
2005-04-06Log msg spelling fixNick Mathewson
svn:r4015
2005-04-06Change replacement semantics for directory entries: fix bug 121.Nick Mathewson
svn:r4012
2005-04-03automatically approve nodes running 0.1.0.2-rc or laterRoger Dingledine
svn:r4001
2005-04-01update copyright notices.Nick Mathewson
svn:r3982
2005-03-23Make GETINFO for "network-status" work on non-authdirsNick Mathewson
svn:r3837
2005-03-23Fix several bugs (including some crashes) related to control interface; ↵Nick Mathewson
implement missing desc/name functionality. svn:r3836
2005-03-23Be willing to cache directories from up to ROUTER_MAX_AGE seconds into the ↵Nick Mathewson
future, now that we are more tolerant of skew. svn:r3832
2005-03-23Fix a few more instances of memory not freed on exit (found by weasel).Nick Mathewson
svn:r3830
2005-03-22Remove controller getinfo support for "desc/all-ids".Roger Dingledine
Replace it with getinfo "network-status" just like in directories. This way the controller can learn which servers are running, which are verified, etc. svn:r3801
2005-02-25Implement more control spec functionalityNick Mathewson
- Mapaddress - Postdescriptor - GetInfo on descriptors Required changes elsewhere: - Keep the most recent running_routers_t in the routerlist_t. That way we can learn about new routers and remember whether we were last told that they were up or down. Also enables more simplifications. - Keep the signed descriptor inside routerinfo_t. This makes descriptor_entry_t in dirservers.c unneeded. - Rename AddressMap (the verb) to MapAddress. Keep AddressMap as a noun. - Check addresses for plausibility before mapping them. svn:r3696
2005-02-10Add more functions to free things to help dmalloc allong.Nick Mathewson
svn:r3613
2005-01-31Fix arma's fix for my leakPeter Palfrader
svn:r3485
2005-01-31fix a minor memory leak found by weaselRoger Dingledine
svn:r3484
2005-01-29distinguish between "well-formed and rejected" and "not wellRoger Dingledine
formed", when parsing server descriptors. svn:r3458
2005-01-29accept LDAP (389/tcp) and LDAPS (636/tcp) in default exit policyRoger Dingledine
svn:r3457
2005-01-21clean a couple of messagesNick Mathewson
svn:r3401
2005-01-20Have reason string for serverdesc post requests contain actual serverdesc ↵Nick Mathewson
status. Also fix return values of dirserv_add_descriptor to work as advertised. svn:r3391
2005-01-06new config option DirAllowPrivateAddresses for authdirservers.Roger Dingledine
now by default they refuse router descriptors that have non-IP or private-IP addresses. svn:r3321
2005-01-06Fix a fun bug: do not rewrite a cached directory back to the cache; ↵Nick Mathewson
otherwise we will think it is recent and not fetch a newer one. svn:r3319
2005-01-03bugfix: if a server uploads a descriptor that's unapproved, actuallyRoger Dingledine
tell him so. svn:r3243
2004-12-24remove sentence-fragment comment refering to a design that never happened.Nick Mathewson
svn:r3220
2004-12-24Remove length restriction when generating directories.Nick Mathewson
svn:r3218
2004-12-24Fix for running-routers length bugNick Mathewson
svn:r3216
2004-12-13clean up logging,Roger Dingledine
make it clearer which warns are bugs, make the control log event match its specification, point out a bug in how we deal with failure when renewing the tls context. svn:r3138
2004-12-01Spell-check strings and commentsNick Mathewson
svn:r3052
2004-11-29Suggestion from weasel: Make tor --version --version dump the cvs Id of ↵Nick Mathewson
every file. svn:r3019
2004-11-28wrong is ok, and right is fine, but in between is apparentlyRoger Dingledine
totally unacceptable to me. svn:r3005
2004-11-28Normalize space: add one between every control keyword and control clause.Nick Mathewson
svn:r3003
2004-11-26remove emacs droppings, since nick says he doesn't need them anymoreRoger Dingledine
svn:r2989
2004-11-25Clarify a bunch of log messagesNick Mathewson
svn:r2983
2004-11-22Normalize a few more kinds of whitespace. We now dislike:Nick Mathewson
- func (args) - if (x){ This doesn't normalize if(x), for(x); while(x), and friends. svn:r2943
2004-11-15Tweak on patch to make authoritative directory servers cacheNick Mathewson
directories on disk. Make authdirservers cache *their own* directories instead of the ones they download. This gives better liveness, and marginally better resistance to broken authdirservers. Authdirservers don't cache running-routers at all: r-r isn't stored to disk, so there's no point right now. svn:r2893
2004-11-15Authoritative dirservers now also cache the directory, sinceRoger Dingledine
they weren't writing anything into their datadirectory, so when they stop and start, they would know nothing until they fetched a directory from another authdirserver. svn:r2891
2004-11-15Cache running-routers; compress running-routers; serve compressed ↵Nick Mathewson
running-routers.z svn:r2883
2004-11-09Normalize whitespace; add a "tell me about all the unnormalized whitespace" ↵Nick Mathewson
target; fix a braino in dirserv.c svn:r2758
2004-11-09Resolve many XXXs and all DOCDOCsNick Mathewson
svn:r2755
2004-11-09When listing router status, include ourself if we are awakeNick Mathewson
svn:r2752
2004-11-09only non-authdirservers cache the dir they just fetchedRoger Dingledine
svn:r2747
2004-11-09once normalized, DataDirectory is always definedRoger Dingledine
svn:r2734