aboutsummaryrefslogtreecommitdiff
path: root/src/or/dirserv.c
Commit message (Collapse)AuthorAge
* Change end-of-file NLNL convention. It turns out arma I and I agree.Nick Mathewson2005-06-09
| | | | svn:r4382
* when a dirserver gets a mismatched fingerprint, log the expectedRoger Dingledine2005-06-09
| | | | | | | fp and the received fp svn:r4372
* also print the platform string for rejected descriptorsRoger Dingledine2005-05-02
| | | | svn:r4160
* don't print nullsRoger Dingledine2005-05-02
| | | | svn:r4159
* when we refuse a router descriptor, log contactinfo and source address.Roger Dingledine2005-05-02
| | | | svn:r4156
* Remove support for looking at old directory/routerdesc elements; mark ↵Nick Mathewson2005-05-02
| | | | | | 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
* stop re-reading and re-parsing the directory as soon as we make it.Roger Dingledine2005-04-27
| | | | | | | | | | 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
* those should be notices, not warnsRoger Dingledine2005-04-12
| | | | svn:r4079
* Improve conn_*_to_string; add circuit_state_to_string; make ↵Nick Mathewson2005-04-07
| | | | | | skewed-descriptor messages better. svn:r4047
* allow servers to publish descriptors from 12 hours in the future.Roger Dingledine2005-04-07
| | | | | | | | hopefully this will allow more slack and let crummier servers help out too. svn:r4046
* When we connect and finish TLS negotiation with address:port, it is obvious ↵Nick Mathewson2005-04-06
| | | | | | that any other key or nickname we might know about (as an authdirserver) does not actually exist at address:port. svn:r4036
* Add missing comma. OopsNick Mathewson2005-04-06
| | | | svn:r4017
* Handle changed router status correctly when reloading fingerprint fileNick Mathewson2005-04-06
| | | | svn:r4016
* Log msg spelling fixNick Mathewson2005-04-06
| | | | svn:r4015
* Change replacement semantics for directory entries: fix bug 121.Nick Mathewson2005-04-06
| | | | svn:r4012
* automatically approve nodes running 0.1.0.2-rc or laterRoger Dingledine2005-04-03
| | | | svn:r4001
* update copyright notices.Nick Mathewson2005-04-01
| | | | svn:r3982
* Make GETINFO for "network-status" work on non-authdirsNick Mathewson2005-03-23
| | | | svn:r3837
* Fix several bugs (including some crashes) related to control interface; ↵Nick Mathewson2005-03-23
| | | | | | implement missing desc/name functionality. svn:r3836
* Be willing to cache directories from up to ROUTER_MAX_AGE seconds into the ↵Nick Mathewson2005-03-23
| | | | | | future, now that we are more tolerant of skew. svn:r3832
* Fix a few more instances of memory not freed on exit (found by weasel).Nick Mathewson2005-03-23
| | | | svn:r3830
* Remove controller getinfo support for "desc/all-ids".Roger Dingledine2005-03-22
| | | | | | | | | 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
* Implement more control spec functionalityNick Mathewson2005-02-25
| | | | | | | | | | | | | | | | | | - 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
* Add more functions to free things to help dmalloc allong.Nick Mathewson2005-02-10
| | | | svn:r3613
* Fix arma's fix for my leakPeter Palfrader2005-01-31
| | | | svn:r3485
* fix a minor memory leak found by weaselRoger Dingledine2005-01-31
| | | | svn:r3484
* distinguish between "well-formed and rejected" and "not wellRoger Dingledine2005-01-29
| | | | | | | formed", when parsing server descriptors. svn:r3458
* accept LDAP (389/tcp) and LDAPS (636/tcp) in default exit policyRoger Dingledine2005-01-29
| | | | svn:r3457
* clean a couple of messagesNick Mathewson2005-01-21
| | | | svn:r3401
* Have reason string for serverdesc post requests contain actual serverdesc ↵Nick Mathewson2005-01-20
| | | | | | status. Also fix return values of dirserv_add_descriptor to work as advertised. svn:r3391
* new config option DirAllowPrivateAddresses for authdirservers.Roger Dingledine2005-01-06
| | | | | | | | now by default they refuse router descriptors that have non-IP or private-IP addresses. svn:r3321
* Fix a fun bug: do not rewrite a cached directory back to the cache; ↵Nick Mathewson2005-01-06
| | | | | | otherwise we will think it is recent and not fetch a newer one. svn:r3319
* bugfix: if a server uploads a descriptor that's unapproved, actuallyRoger Dingledine2005-01-03
| | | | | | | tell him so. svn:r3243
* remove sentence-fragment comment refering to a design that never happened.Nick Mathewson2004-12-24
| | | | svn:r3220
* Remove length restriction when generating directories.Nick Mathewson2004-12-24
| | | | svn:r3218
* Fix for running-routers length bugNick Mathewson2004-12-24
| | | | svn:r3216
* clean up logging,Roger Dingledine2004-12-13
| | | | | | | | | 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
* Spell-check strings and commentsNick Mathewson2004-12-01
| | | | svn:r3052
* Suggestion from weasel: Make tor --version --version dump the cvs Id of ↵Nick Mathewson2004-11-29
| | | | | | every file. svn:r3019
* wrong is ok, and right is fine, but in between is apparentlyRoger Dingledine2004-11-28
| | | | | | | totally unacceptable to me. svn:r3005
* Normalize space: add one between every control keyword and control clause.Nick Mathewson2004-11-28
| | | | svn:r3003
* remove emacs droppings, since nick says he doesn't need them anymoreRoger Dingledine2004-11-26
| | | | svn:r2989
* Clarify a bunch of log messagesNick Mathewson2004-11-25
| | | | svn:r2983
* Normalize a few more kinds of whitespace. We now dislike:Nick Mathewson2004-11-22
| | | | | | | | | - func (args) - if (x){ This doesn't normalize if(x), for(x); while(x), and friends. svn:r2943
* Tweak on patch to make authoritative directory servers cacheNick Mathewson2004-11-15
| | | | | | | | | | | | 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
* Authoritative dirservers now also cache the directory, sinceRoger Dingledine2004-11-15
| | | | | | | | | 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
* Cache running-routers; compress running-routers; serve compressed ↵Nick Mathewson2004-11-15
| | | | | | running-routers.z svn:r2883
* Normalize whitespace; add a "tell me about all the unnormalized whitespace" ↵Nick Mathewson2004-11-09
| | | | | | target; fix a braino in dirserv.c svn:r2758
* Resolve many XXXs and all DOCDOCsNick Mathewson2004-11-09
| | | | svn:r2755
* When listing router status, include ourself if we are awakeNick Mathewson2004-11-09
| | | | svn:r2752