aboutsummaryrefslogtreecommitdiff
path: root/src/or/directory.c
Commit message (Expand)AuthorAge
* 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
* Add magic to end of C files to make emacs happy; split test invocation into s...•••svn:r224 Nick Mathewson2003-04-07
* greatly simplify this notion of 'roles':•••if your ORPort is non-zero then you must connect to all nodes if your DirPort is non-zero then you must act like a directory server svn:r192 Roger Dingledine2003-03-18
* lazy (just in time) directory rebuilding•••svn:r174 Roger Dingledine2003-03-11
* fix subtle race condition•••If you weren't connected to a given router, and you made a directory request to it simultaneously with a new web query that caused you to want to connect to that OR... it would think you're already connected. svn:r135 Roger Dingledine2002-10-14
* cleanup and a variety of bugfixes•••svn:r132 Roger Dingledine2002-10-02
* more robust http(ish) handling•••svn:r123 Roger Dingledine2002-09-28
* cleanup•••prkey is only fetched when it's needed tor nodes who aren't dirservers now fetch directories and autoconnect to new nodes listed in the directory default role is a non-dirserver node svn:r120 Roger Dingledine2002-09-28
* dirserver should include itself in the directory•••if connecting to a dirserver fails, remove it from the router array svn:r113 Roger Dingledine2002-09-26
* directory servers in and functional•••proxies now periodically pull down an hourly-updated directory, and replace their router list with it if it parses correctly. svn:r112 Roger Dingledine2002-09-26