aboutsummaryrefslogtreecommitdiff
path: root/src/or/directory.c
Commit message (Expand)AuthorAge
...
* 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
* it's safe to do parallel directory fetches/uploads•••svn:r477 Roger Dingledine2003-09-22
* bugfixes and note missing features•••deal with content-length headers better when reading http don't assume struct socks4_info is a packed struct fail the socks handshake if destip is zero flesh out conn_state_to_string() for dir conn fix typo (bug) in connection_handle_read() directory get is now called fetch, post is now upload reopen logs on sighup svn:r475 Roger Dingledine2003-09-21
* leave the socks handshake on the inbuf until it's complete•••this paves the way for supporting socks5 and other handshakes it also removes those pesky AP-only variables from connection_t also hacked a fix for a bug where some streams weren't ending properly -- maybe because marked connections weren't flushing properly? svn:r472 Roger Dingledine2003-09-18
* add in directory 'post' support•••svn:r471 Roger Dingledine2003-09-17
* bugfixes and refactorings•••svn:r468 Roger Dingledine2003-09-16
* clean up exported api's•••svn:r461 Roger Dingledine2003-09-16
* refactor connects into connection_connect()•••svn:r460 Roger Dingledine2003-09-16
* tls infrastructure now in place, give or take•••svn:r434 Roger Dingledine2003-09-08
* Attempt to make sockets code work right on windows.•••svn:r398 Nick Mathewson2003-08-14
* Misc patches to make windows build work. Now everything is done except the s...•••svn:r393 Nick Mathewson2003-08-12
* Start of port to win32. Missing are:••• - signal support - forking for DNS farm - changes for async IO - daemonizing In other words, some files still don't build, and the ones that do build, do nonblocking IO incorrectly. I'm also not checking in the project files till I have a good place for them. svn:r380 Nick Mathewson2003-08-12
* simplify fetch_from_buf; cull idle dnsworkers.•••svn:r354 Roger Dingledine2003-06-25
* Change many files to new log_fn format•••svn:r333 Nick Mathewson2003-06-17
* OPport is gone. So is conn type OP.•••svn:r298 Roger Dingledine2003-05-28
* add circuit-level sendme relay cells•••remove sendme cells replace malloc with tor_malloc patch (but not track down) bug in onion pending list streamline connection_ap handshake svn:r293 Roger Dingledine2003-05-20
* work on versioning; new log_fn function•••svn:r288 Nick Mathewson2003-05-09
* make router_dump_token only for debugging; clean backslashes•••svn:r287 Roger Dingledine2003-05-09
* Get directories working.•••Or at least, directories get generated, signed, download, and checked, with nobody seeming to crash. In config/*, added 'signing-key' blocks to dirservers and routers.or, so that everyone will know about the directories' signing keys. In or/directory.c, refrained from using a dirserver's signing key when no such key is known; added more debugging output. In or/main.c, added debugging output and fixed a few logic errors. In or/routers.c, added debugging output and prevented a segfault on routers_resolve_directory. The interleaving of arrays and lists on routerinfo_t is still messy, but at least it seems to work again. svn:r278 Nick Mathewson2003-05-08
* Call the right signed-directory functions; try to describe the difference bet...•••svn:r276 Nick Mathewson2003-05-08
* hints for nick on where to integrate•••svn:r273 Roger Dingledine2003-05-07