Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | o Handle servers with dynamic IP addresses: don't replace | Roger Dingledine | 2004-08-16 |
| | | | | | | | | | | | options->Address with the resolved one at startup. o detect our address right before we make a routerinfo each time. o external IP vs bind-IP. Already done, just use options->Address. o OutboundBindAddress config option, to bind to a specific IP address for outgoing connect()s. svn:r2241 | ||
* | o clients choose nodes proportional to advertised bandwidth | Roger Dingledine | 2004-08-15 |
| | | | | | | | | | | o and/or while avoiding unreliable nodes, depending on goals o 'fascistfirewall' option to pick dirservers on port 80 and ORs on port 443. o if a begin failed due to exit policy, but we believe the IP should have been allowed, switch that router to exitpolicy reject *:* until we get our next directory. svn:r2231 | ||
* | Fix bug in saving onion keys to disk when rotating; also survive short-term ↵ | Nick Mathewson | 2004-08-09 |
| | | | | | | shutdowns better svn:r2206 | ||
* | reject the default edonkey, kazaa, gnutella ports | Roger Dingledine | 2004-08-08 |
| | | | | | | | to slow the coming flood svn:r2195 | ||
* | Fix a leak | Nick Mathewson | 2004-08-07 |
| | | | | svn:r2183 | ||
* | Refactor ISO-style (yyyy-mm-dd hh:mm:ss) time parsing into util.c; rename ↵ | Nick Mathewson | 2004-08-07 |
| | | | | | | format/parse_rfc1123_time; make rephist remember used bandwidth; published used bandwidth in descriptors in 15-minute chunks. Breaks unittests. svn:r2182 | ||
* | commit some odds and ends, so my tree is clean | Roger Dingledine | 2004-08-04 |
| | | | | svn:r2137 | ||
* | make router_is_me() compare identity, not nickname | Roger Dingledine | 2004-07-22 |
| | | | | svn:r2102 | ||
* | put our fingerprint into the descriptor, so we can match a | Roger Dingledine | 2004-07-22 |
| | | | | | | | desc to a running-routers entry svn:r2100 | ||
* | allow OPs to set a DirPort and cache/serve directories | Roger Dingledine | 2004-07-22 |
| | | | | | | | (hey, why not, it works) svn:r2099 | ||
* | populate router_get_my_routerinfo()->is_verified | Roger Dingledine | 2004-07-22 |
| | | | | svn:r2097 | ||
* | publish advertised_bandwidth in descriptor | Roger Dingledine | 2004-07-22 |
| | | | | svn:r2095 | ||
* | 0.0.8 ORs should autoconnect to authdirservers and 0.0.7 servers | Roger Dingledine | 2004-07-21 |
| | | | | svn:r2091 | ||
* | solve the authdirserver initialization precedence problem | Roger Dingledine | 2004-07-21 |
| | | | | svn:r2085 | ||
* | rearrange to prepare to solve the authdirserver initialization | Roger Dingledine | 2004-07-21 |
| | | | | | | | precedence problem. doesn't actually solve it yet. svn:r2079 | ||
* | 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 |