aboutsummaryrefslogtreecommitdiff
path: root/src/or/directory.c
Commit message (Expand)AuthorAge
...
* alice can intercept y.onion requests, do a lookup on them via tor,•••and receive a 404 svn:r1455 Roger Dingledine2004-04-03
* break out circ->rend_service•••(this breaks the compile; must fix things) let alice react when she learns a new rendezvous descriptor let alice launch intro and rend circuits and mark them with her query svn:r1446 Roger Dingledine2004-04-02
* now circuit_get_newest returns an appropriate circ for your purpose•••connection_ap_handshake_attach_circuit attaches to a circ of the right purpose add a skeletal rendclient.c svn:r1441 Roger Dingledine2004-04-02
* teach directory servers to handle renddesc responses•••svn:r1434 Roger Dingledine2004-04-01
* Add an ap_bridge function to do a socketpair and skip socks.•••This allows us to do a directory connection *through* tor just as if we're doing it as an application. Make ap_conns tolerate it when the application sends stuff before The socks handshake is done (it just buffers it). Tell directory_initiate_command the length of the payload (because it might include nuls). Add a directory_has_arrived function to, for example, start building the rendezvous service descriptor. svn:r1412 Roger Dingledine2004-03-31
* Fix warning•••svn:r1409 Nick Mathewson2004-03-31
* better way: always nul-terminate. then sometimes use it, sometimes not.•••svn:r1408 Roger Dingledine2004-03-31
* let fetch_from_buf_http tolerate nuls in the http body•••teach directory.c about which places it needs to nul-terminate body before it uses it, and which places it must not svn:r1407 Roger Dingledine2004-03-31
* rename hidserv_xx•••svn:r1406 Nick Mathewson2004-03-31
* Implement hidserv_XX functions; there is still an XXX in directory_handle_com...•••svn:r1404 Nick Mathewson2004-03-31
* add and use stubs for hidserv lookup and store•••svn:r1402 Roger Dingledine2004-03-30
* Refactor directory servers•••* read all the time (before we would ignore eof sometimes, oops) * we can handle different urls now * send back 404 for an un-handled url * commands initiated by the client can handle payloads now * introduce conn->purpose to avoid exponential state-space explosion svn:r1400 Roger Dingledine2004-03-30
* old or skewed descriptor doesn't mean we failed to parse it•••svn:r1373 Roger Dingledine2004-03-29
* refactor directories a smidgen•••svn:r1371 Roger Dingledine2004-03-29
* oops, 0.0.4 is more broken than 0.0.3•••maybe this will fix it svn:r1347 Roger Dingledine2004-03-26
* fix two assert triggers (darn it, I hate releasing software)•••when connecting to a dirserver or OR and the network is down, we would crash. svn:r1340 Roger Dingledine2004-03-26
* Replace all connection_removes outsice of main.c with connection_mark_for_close•••svn:r1328 Nick Mathewson2004-03-21
* isspace and friends take an int. solaris cares.•••svn:r1303 Roger Dingledine2004-03-19
* inform unapproved servers when we reject their descriptors•••svn:r1263 Roger Dingledine2004-03-12
* if the directory client hangs up before getting the directory,•••then give up on him svn:r1238 Roger Dingledine2004-03-06
* bugfix: only warn about an unrouter router after we've fetched a directory•••svn:r1178 Roger Dingledine2004-02-29
* make code more readable; arrbitrarily change a -1 to a 0.•••svn:r1151 Nick Mathewson2004-02-28
* Push responsibility for connection marking down as far as possible; have only...•••svn:r1149 Nick Mathewson2004-02-28
* last minute fix: don't early-flush non-tls streams•••e.g., this breaks directory service svn:r1033 Roger Dingledine2004-01-31
* remove trailing whitespace•••svn:r951 Roger Dingledine2003-12-17
* make fetch_from_buf_http malloc its strings rather•••than use fixed-size strings reorganize directory_handle_command so it'll be easier to do more with our directory servers svn:r950 Roger Dingledine2003-12-17
* Resolve format warnings on MacOS X 10.3•••svn:r938 Nick Mathewson2003-12-16
* clean up some file-scope-global directory variables•••svn:r925 Roger Dingledine2003-12-14
* clean up some copyrights•••svn:r907 Roger Dingledine2003-12-13
* terminology shift:•••directory is the string that dirserv.c and directory.c deal with routerlist is routerinfo's that are bundled together in routers.c rename some of the get_routerlist functions to set_routerlist preparing to break into router.c for stuff the router does, and routerlist.c for handling routerlist. svn:r886 Roger Dingledine2003-12-05
* bump up header length when the dirserv reads http commands•••Nov 23 12:10:26.556 [warn] fetch_from_buf_http(): headerlen 1487 larger than 1023. Failing. Nov 23 12:10:26.556 [warn] directory_handle_command(): input too large. Failing. svn:r867 Roger Dingledine2003-11-30
* simplify: options.OnionRouter==1 iff options.ORPort>0•••svn:r857 Roger Dingledine2003-11-20
* more cleanups and bugfix•••svn:r790 Roger Dingledine2003-11-11
* client now survives going offline better•••fix badness in usage() if neither socksport nor orrport is defined, quit obsolete connection_flush_buf() svn:r780 Roger Dingledine2003-11-10
* fix segfault (connecting to dirserver when network is down)•••svn:r580 Roger Dingledine2003-10-13
* change WARNING to WARN•••and fix a few typos svn:r571 Roger Dingledine2003-10-10
* Update LICENSE and copyright dates.•••svn:r560 Nick Mathewson2003-10-08
* wrap strdup; prefer time() to gettimeofday()•••svn:r538 Roger Dingledine2003-10-04
* refactor so connection_write_to_buf() never fails•••svn:r537 Roger Dingledine2003-10-04
* mark all dirservers up at boot; mark a dirserver down if dir fetch fails•••svn:r519 Roger Dingledine2003-09-30
* getting closer to having dirserv working•••we now add our own descriptor to the descriptor list and we rebuild the directory (and dump to disk) after receiving a POST svn:r509 Roger Dingledine2003-09-30
* bugfixes and features: closer to making dirserv work•••fix a variety of seg faults don't try to list OPs in running-routers write cached-directory to disk when rebuilding the dir on boot, dirservers load approved-routers file on boot, dirservers load cached directory file svn:r508 Roger Dingledine2003-09-29
* more cleanup and rearranging•••still not finished integrating new dirserv stuff svn:r507 Roger Dingledine2003-09-29
* fix two new segfaults•••svn:r506 Roger Dingledine2003-09-28
* Write necessary backends for online directory generation. I think.•••svn:r503 Nick Mathewson2003-09-27
* clean up receiver buckets; prepare for payloads in relay_end; note a few bugs•••svn:r502 Roger Dingledine2003-09-27
* connection_new() can't ever fail•••svn:r497 Roger Dingledine2003-09-27
* first pass: obey log convention•••ERR is if something fatal just happened WARNING is something bad happened, but we're still running. The bad thing is either a bug in the code, an attack or buggy protocol/implementation of the remote peer, etc. The operator should examine the bad thing and try to correct it. (No error or warning messages should be expected. I expect most people to run on -l warning eventually.) NOTICE is never ever used. INFO means something happened (maybe bad, maybe ok), but there's nothing you need to (or can) do about it. DEBUG is for everything louder than INFO. svn:r486 Roger Dingledine2003-09-26
* various bugfixes and updates•••redo all the config files for the new format (we'll redo them again soon) fix (another! yuck) segfault in log_fn when input is too large tor_tls_context_new() returns -1 for error, not NULL fix segfault in check_conn_marked() on conn's that die during tls handshake make ORs also initialize conn from router when we're the receiving node make non-dirserver ORs upload descriptor to every dirserver on startup add our local address to the descriptor add Content-Length field to POST command revert the Content-Length search in fetch_from_buf_http() to previous code fix segfault in memmove in fetch_from_buf_http() raise maximum allowed headers/body size in directory.c svn:r484 Roger Dingledine2003-09-25
* Refactor buffers; implement descriptors.•••'buf_t' is now an opaque type defined in buffers.c . Router descriptors now include all keys; routers generate keys as needed on startup (in a newly defined "data directory"), and generate their own descriptors. Descriptors are now self-signed. Implementation is not complete: descriptors are never published; and upon receiving a descriptor, the directory doesn't do anything with it. At least "routers.or" and orkeygen are now obsolete, BTW. svn:r483 Nick Mathewson2003-09-25