Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Misc small code cleanups; remove exit_server_mode(); change tor_tls_verify ↵ | Nick Mathewson | 2004-07-21 |
| | | | | | | behavior svn:r2073 | ||
* | Split uptime into separate field | Nick Mathewson | 2004-07-20 |
| | | | | svn:r2067 | ||
* | Remember list of digests for trusted dirservers; use this list to tell ↵ | Nick Mathewson | 2004-07-20 |
| | | | | | | whether you are a trusted dirserver svn:r2064 | ||
* | also don't hang up on him if we're an OR and he's an authdirserver | Roger Dingledine | 2004-07-20 |
| | | | | | | | otherwise we keep getting taken out of the running-routers list svn:r2063 | ||
* | a whole swath of fixes | Roger Dingledine | 2004-07-20 |
| | | | | | | | | | | | | | | | | | | | introduce an authdir_mode() macro to match the others. don't initialize uptime to the number of seconds since 1970. non-authoritative dirservers don't cache their directory on disk. make only authdirservers use clique_mode. only read approved-routers file if you're an authdirserver. even authdirservers fetch a new directory in do_hup. retry_all_connections() is now called retry_all_listeners(). router_parse_list_from_string() correctly reports the router number it's working on. only call dirserv_add_own_fingerprint() and dirserv_add_descriptor() on startup if we're an authdirserver. if AuthDir and !ORPort then fail. if AuthDir and ClientOnly then fail. svn:r2061 | ||
* | abstract ORPort/SocksPort checks into server_mode(), proxy_mode(), ↵ | Nick Mathewson | 2004-07-18 |
| | | | | | | clique_mode(), etc. Dont change underlying comments. svn:r2054 | ||
* | Finish most pre2 items: make running-routers list work right; rename secret ↵ | Nick Mathewson | 2004-07-13 |
| | | | | | | key files; make even more lookup-by-nickname use lookup-by-id; default nicknames to hostname. svn:r2043 | ||
* | add 'advertisedbandwidth' to router descriptor | Roger Dingledine | 2004-07-12 |
| | | | | svn:r2028 | ||
* | Remove spurious assert | Nick Mathewson | 2004-07-07 |
| | | | | svn:r2018 | ||
* | Fix the router_compare_to_my_exit_policy assertion failure once-and-for-all, ↵ | Nick Mathewson | 2004-07-07 |
| | | | | | | by declaring 0.0.0.0 always denied. svn:r2017 | ||
* | touchups all over | Roger Dingledine | 2004-07-04 |
| | | | | | | | put uptime in descriptor svn:r2011 | ||
* | More digest/nickname fixes | Nick Mathewson | 2004-07-02 |
| | | | | svn:r2000 | ||
* | some of the infrastructure to let ORs connect on demand | Roger Dingledine | 2004-07-02 |
| | | | | svn:r1998 | ||
* | Switch most uses of *_by_addr_port to *_by_identity_digest | Nick Mathewson | 2004-07-01 |
| | | | | svn:r1997 | ||
* | running-routers now lists down routers too (with a ! before their name) | Roger Dingledine | 2004-07-01 |
| | | | | svn:r1996 | ||
* | Track routers by hash of identity key; use hex hash of identity key in place ↵ | Nick Mathewson | 2004-07-01 |
| | | | | | | of nickname; accept (and use) hash of identity key in EXTEND cells. svn:r1994 | ||
* | cleanups on 008pre1 items | Roger Dingledine | 2004-06-30 |
| | | | | svn:r1993 | ||
* | Always use get_data_directory() instead of options.DataDirectory; fix a ↵ | Nick Mathewson | 2004-06-30 |
| | | | | | | memory leak in router.c svn:r1991 | ||
* | Remaining 008pre1 items done; deferred where more design is needed. | Nick Mathewson | 2004-06-25 |
| | | | | | | | | | | | | | More docs and (way more!) testing needed. Done: - Authdirservers down directories from others. - Generate and use running-routers lists - Cache directories; store across reboots. - Refactor directory parsing a bit; note potential trouble spots. svn:r1985 | ||
* | Terminate comment | Nick Mathewson | 2004-06-21 |
| | | | | svn:r1982 | ||
* | Implement several 008pre1 items: needs more testing | Nick Mathewson | 2004-06-21 |
| | | | | svn:r1981 | ||
* | router->is_trusted_dir implies router->dir_port>0 | Roger Dingledine | 2004-06-16 |
| | | | | | | | and add some infrastructure for fetching running-routers list svn:r1973 | ||
* | Unbork windows whitespace | Nick Mathewson | 2004-06-05 |
| | | | | svn:r1949 | ||
* | Make tor build on win32 again; handle locking for server | Nick Mathewson | 2004-06-05 |
| | | | | svn:r1948 | ||
* | If we are a directory, we should trust ourself. | Nick Mathewson | 2004-06-02 |
| | | | | svn:r1943 | ||
* | Allow multiple exit policy lines; mostly add support for AP policies | Nick Mathewson | 2004-05-20 |
| | | | | svn:r1905 | ||
* | clean up directory.c API | Roger Dingledine | 2004-05-12 |
| | | | | svn:r1860 | ||
* | Split directory/router parsing functionality into separate file from ↵ | Nick Mathewson | 2004-05-10 |
| | | | | | | routerlist.c svn:r1846 | ||
* | it's amazing what a bit of punctuation can do for appearances | Roger Dingledine | 2004-05-10 |
| | | | | svn:r1843 | ||
* | More doxygenation. | Nick Mathewson | 2004-05-10 |
| | | | | svn:r1832 | ||
* | more doxygen markup | Roger Dingledine | 2004-05-09 |
| | | | | | | | plenty more remains svn:r1824 | ||
* | bugfix: add a circ->resolving_streams field, and make dns resolving ↵ | Roger Dingledine | 2004-05-06 |
| | | | | | | | | | | | | streams not actually in the connection_array until they're done resolving. bugfix: actually complain if we duplicate mark-for-close a circuit add more logging for relay ends that claim dns resolve failed, so we can find out why they're not being retried. svn:r1798 | ||
* | More documentation | Nick Mathewson | 2004-05-05 |
| | | | | svn:r1785 | ||
* | accept port 81 by default also, since people have been asking for it | Roger Dingledine | 2004-05-04 |
| | | | | svn:r1784 | ||
* | Comment router*.c | Nick Mathewson | 2004-05-04 |
| | | | | svn:r1783 | ||
* | clean some dead code (right?) | Roger Dingledine | 2004-04-28 |
| | | | | svn:r1733 | ||
* | Refactor crypto error handling to be more like TLS error handling: | Nick Mathewson | 2004-04-26 |
| | | | | | | | | | | | | | crypto_perror is a no-no, since an operation can set more than one error. Also, fix a bug in the unix crypto_seed_rng: mixing stdio with /dev/urandom is a bad idea, since fopen can make all kinds of weird extraneous syscalls (mmap, fcntl, stat64, etc.) and since fread tends to buffer data in big chunks, thus depleting the entropy pool. svn:r1717 | ||
* | use tor_assert | Roger Dingledine | 2004-04-25 |
| | | | | | | | remove obsolete BUF_OK macro svn:r1697 | ||
* | Remove onion_pkey from connection, since onion keys can change more often ↵ | Nick Mathewson | 2004-04-25 |
| | | | | | | than connections. Also add more log messages svn:r1693 | ||
* | don't build and upload a new desc twice in a row | Roger Dingledine | 2004-04-25 |
| | | | | svn:r1691 | ||
* | bugfix: when rotating onion key, do it (more) correctly | Roger Dingledine | 2004-04-25 |
| | | | | svn:r1688 | ||
* | more touch-ups | Roger Dingledine | 2004-04-24 |
| | | | | svn:r1687 | ||
* | Merge flagday into main branch. | Nick Mathewson | 2004-04-24 |
| | | | | svn:r1683 | ||
* | Fix unit tests (now that platform code works differently) | Nick Mathewson | 2004-04-08 |
| | | | | svn:r1573 | ||
* | Don't use Tor version 0.0.5 for intro/rendezvous points. (We don't need | Nick Mathewson | 2004-04-07 |
| | | | | | | | to worry about 0.0.4 or earlier, because nobody is running them any more.) svn:r1533 | ||
* | Put ourself in router list; act accordingly. | Nick Mathewson | 2004-04-07 |
| | | | | svn:r1521 | ||
* | routerinfo->addr is host order | Roger Dingledine | 2004-04-07 |
| | | | | svn:r1515 | ||
* | Set routerinfo->addr properly for own routerinfo; do casei routerinfo compare | Nick Mathewson | 2004-04-06 |
| | | | | svn:r1514 | ||
* | make router_get_by_nickname consider this router. | Nick Mathewson | 2004-04-05 |
| | | | | svn:r1497 | ||
* | Refactor the heck out of crypto interface: admit that we will stick with one ↵ | Nick Mathewson | 2004-04-03 |
| | | | | | | ciphersuite at a time, make const things const, and stop putting openssl in the headers. svn:r1458 |