aboutsummaryrefslogtreecommitdiff
path: root/src/or/routers.c
Commit message (Expand)AuthorAge
* wrap strdup; prefer time() to gettimeofday()•••svn:r538 Roger Dingledine2003-10-04
* Make testcases run again; more sanity checking to descriptor generation.•••svn:r532 Nick Mathewson2003-10-01
* my_routerinfo, router_is_me, and learn_my_address are obsolete•••ACIs are decided now by strcmp'ing nicknames, rather than comparing addr:port svn:r529 Roger Dingledine2003-10-01
* rebuild directory before uploading•••svn:r528 Nick Mathewson2003-10-01
* Move dirserv/routers code out of main.c•••svn:r527 Nick Mathewson2003-10-01
* Add "platform" to router descriptors.•••svn:r522 Nick Mathewson2003-09-30
* mark all dirservers up at boot; mark a dirserver down if dir fetch fails•••svn:r519 Roger Dingledine2003-09-30
* fix the SSL_read() bug again. this time for sure!•••svn:r518 Roger Dingledine2003-09-30
* Check router signatures again; debug signature checking•••svn:r517 Nick Mathewson2003-09-30
* Bugfixes in directory code:•••Improve debugging output on fingerprint checking. Make sure to add our own fingerprint to the fingerprint list _before_ adding our own descriptor, or else we'll reject ourself. Don't call a directory invalid just because we have a newer descriptor for some router. Use router_get_dir_hash to generate hashes for signed directories. Make sure we add our own descriptor successfully. Don't fall-through on failed base64-endode. svn:r514 Nick Mathewson2003-09-30
* patch strptime warning -- reduce portability!•••svn:r511 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
* expand the scheduler to address SSL_read()'s pending bytes•••svn:r505 Roger Dingledine2003-09-28
* Write necessary backends for online directory generation. I think.•••svn:r503 Nick Mathewson2003-09-27
* Add code to parse fingerprint files and compare routers against fingerprint f...•••svn:r490 Nick Mathewson2003-09-26
* Refactor common file code into util.c; add published to descriptors•••svn:r487 Nick Mathewson2003-09-26
* 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
* 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
* clean up exported api's•••svn:r461 Roger Dingledine2003-09-16
* fix two more bugs•••svn:r452 Roger Dingledine2003-09-13
* Add router_get_by_pk function; use in connection_tls_finish_handshake.•••svn:r441 Nick Mathewson2003-09-11
* point out why router_forget_router probably doesn't work•••svn:r422 Roger Dingledine2003-08-29
* Fix memory leaks in directory parsing•••svn:r421 Nick Mathewson2003-08-28
* remove last vestiges of op_port•••svn:r418 Roger Dingledine2003-08-27
* start honoring the recommended_versions string•••your client exits if you're running a version not in the directory's list of acceptable versions (unless you have a config variable set to override). svn:r408 Roger Dingledine2003-08-23
* start refactoring dnsworker so testing won't be so darn hard•••add NumCpus config variable in preparation for cpuworkers hardcode /etc/torrc path for config (simplifies win32 port) improve exit policy debugging during router entry parsing svn:r397 Roger Dingledine2003-08-14
* Make windows happier still•••svn:r392 Nick Mathewson2003-08-12
* src/or•••svn:r371 Nick Mathewson2003-07-30
* Change many files to new log_fn format•••svn:r333 Nick Mathewson2003-06-17
* Make log_fn work on apples with no workarounds needed in main code•••svn:r330 Nick Mathewson2003-06-17
* Fix MacOS build•••svn:r320 Nick Mathewson2003-06-14
* 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
* Routerinfos are no longer linked•••svn:r283 Nick Mathewson2003-05-09
* We cant recognize ourself until we resolve all the routers.•••svn:r282 Nick Mathewson2003-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
* (possibly incorrect) code to make routers get resolved when they're•••inserted into the directory. Roger: If you can answer the question with your name on it, you may prevent a segfault before it happens. :) svn:r277 Nick Mathewson2003-05-08
* Do not replace old directory if new one is invalid•••svn:r272 Nick Mathewson2003-05-07
* Tested backends for directory signing and checking. Directory parser complet...•••svn:r271 Nick Mathewson2003-05-07
* More work on directories. Signed directories not yet tested. No support for ...•••svn:r268 Nick Mathewson2003-05-07
* Refactor directories; add unit tests; add router keyword•••svn:r266 Nick Mathewson2003-05-06
* incremental path building in; uses ephemeral DH; onions are gone•••still need to change circuit-level sendmes svn:r264 Roger Dingledine2003-05-05
* put most of the remaining exit policy stuff in•••route selection still doesn't pay attention to exit policies though svn:r227 Roger Dingledine2003-04-08
* parse exit policy lines•••svn:r225 Roger Dingledine2003-04-07