Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | rearrange to prepare to solve the authdirserver initialization | Roger Dingledine | 2004-07-21 |
| | | | | | | | precedence problem. doesn't actually solve it yet. svn:r2079 | ||
* | Log number of certs in wrong-length chains | Nick Mathewson | 2004-07-21 |
| | | | | svn:r2078 | ||
* | we were counting incorrectly when trying to figure out whether | Roger Dingledine | 2004-07-21 |
| | | | | | | | | a given AP stream was being handled or not. (how did this work?) svn:r2077 | ||
* | clients exit immediately on interrupt; they don't wait | Roger Dingledine | 2004-07-21 |
| | | | | svn:r2076 | ||
* | fix some bool logic | Roger Dingledine | 2004-07-21 |
| | | | | svn:r2075 | ||
* | make connection_tls_finish_handshake() more plausible. | Roger Dingledine | 2004-07-21 |
| | | | | | | | now we accept connections from unknown routers. svn:r2074 | ||
* | Misc small code cleanups; remove exit_server_mode(); change tor_tls_verify ↵ | Nick Mathewson | 2004-07-21 |
| | | | | | | behavior svn:r2073 | ||
* | get the function prototype right | Roger Dingledine | 2004-07-21 |
| | | | | svn:r2072 | ||
* | add a new advertised_server_mode() to distinguish ORs that | Roger Dingledine | 2004-07-21 |
| | | | | | | | are willing to become servers from ones that really are servers. svn:r2071 | ||
* | when we get a sigint, don't accept new connections/circuits, | Roger Dingledine | 2004-07-20 |
| | | | | | | | | but delay 30 seconds until exiting. if we get a second sigint, exit immediately. svn:r2070 | ||
* | Correct "advance-time" logic | Nick Mathewson | 2004-07-20 |
| | | | | svn:r2069 | ||
* | When faking gettimeofday with ftime, do it right. | Nick Mathewson | 2004-07-20 |
| | | | | svn:r2068 | ||
* | Split uptime into separate field | Nick Mathewson | 2004-07-20 |
| | | | | svn:r2067 | ||
* | Track bandwidth usage to estimate capacity | Nick Mathewson | 2004-07-20 |
| | | | | svn:r2065 | ||
* | 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 | ||
* | if you're an OR and he's an OR and he's running 0.0.7, | Roger Dingledine | 2004-07-20 |
| | | | | | | | don't expire your connections to him. svn:r2062 | ||
* | 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 | ||
* | clients can now pick non-authdirservers for fetching directories. | Roger Dingledine | 2004-07-20 |
| | | | | | | | | | servers still pick authdirservers, but they never pick themselves. but picking themselves for fetching rend descs is ok. svn:r2059 | ||
* | break connection_dir_client_finished_reading() into its own function | Roger Dingledine | 2004-07-20 |
| | | | | svn:r2058 | ||
* | it turns out we weren't looking at the result from getsockopt(). | Roger Dingledine | 2004-07-19 |
| | | | | | | | | | | | | now we do. but i'm not sure it matters, since we also poll for reads, and if there's an error with the connecting socket, poll is supposed to return readable, so we should notice it then. who knows. svn:r2057 | ||
* | more useful warning messages | Roger Dingledine | 2004-07-19 |
| | | | | | | | (fixed because the old ones confused a user) svn:r2055 | ||
* | abstract ORPort/SocksPort checks into server_mode(), proxy_mode(), ↵ | Nick Mathewson | 2004-07-18 |
| | | | | | | clique_mode(), etc. Dont change underlying comments. svn:r2054 | ||
* | bugfix: hidden services were broken in cvs | Roger Dingledine | 2004-07-17 |
| | | | | svn:r2053 | ||
* | Change rule from "reject non-recommended versions" to "reject obsolete ↵ | Nick Mathewson | 2004-07-16 |
| | | | | | | versions". A version is "obsolete" if it is non-recommended, and at least one recommended version is newer than it. svn:r2052 | ||
* | Remove 1024-router limit in routerparse.c; unify handling of running-routers ↵ | Nick Mathewson | 2004-07-16 |
| | | | | | | lines in running-routers requests and in directories; set is_verified field of routerinfo_ts correctly; use most-recent-info rule to decide whether to change router-is-running status. svn:r2051 | ||
* | Resolve all DOCDOCs. | Nick Mathewson | 2004-07-16 |
| | | | | svn:r2050 | ||
* | Revert cpuworker to use addr/port | Nick Mathewson | 2004-07-16 |
| | | | | svn:r2049 | ||
* | Look in .torrc if no CONFDIR "torrc" is found. | Nick Mathewson | 2004-07-16 |
| | | | | svn:r2048 | ||
* | Add generic expand_filename function to handle expanding ~/ | Nick Mathewson | 2004-07-15 |
| | | | | svn:r2047 | ||
* | Fix warning | Nick Mathewson | 2004-07-15 |
| | | | | svn:r2046 | ||
* | Code to parse tor version numbers so we can do an is-newer-than check. | Nick Mathewson | 2004-07-13 |
| | | | | svn:r2044 | ||
* | 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 | ||
* | Bugfix: some things (like ctrl-z) can make a second take more than one second | Nick Mathewson | 2004-07-13 |
| | | | | svn:r2042 | ||
* | only count bytes transmitted to/from non-local IPs | Roger Dingledine | 2004-07-13 |
| | | | | svn:r2041 | ||
* | add is_local_IP() function to help distinguish which bandwidth "matters" | Roger Dingledine | 2004-07-13 |
| | | | | svn:r2040 | ||
* | checkpoint: start working on bandwidth tracking and | Roger Dingledine | 2004-07-13 |
| | | | | | | | letting clients evaluate whether they're suitable servers svn:r2037 | ||
* | refuse to build a circuit before the directory has arrived | Roger Dingledine | 2004-07-13 |
| | | | | | | | this will prevent a few of the 'couldn't decrypt onionskin' errors, maybe svn:r2036 | ||
* | when you expire a wedged dir conn, conn_close_if_marked will take | Roger Dingledine | 2004-07-13 |
| | | | | | | | care of trying to flush before it closes svn:r2035 | ||
* | bugfix: tell circuits what id_digest to look for, so | Roger Dingledine | 2004-07-12 |
| | | | | | | | n_conn_open() can find waiting circuits. svn:r2034 | ||
* | why does gcc not warn me about this at all? that's evil. | Roger Dingledine | 2004-07-12 |
| | | | | svn:r2032 | ||
* | tor now tolerates down dirservers better | Roger Dingledine | 2004-07-12 |
| | | | | svn:r2031 | ||
* | make unit tests pass again | Roger Dingledine | 2004-07-12 |
| | | | | | | | but note a bug that i don't know how to address. nick? svn:r2030 | ||
* | if connecting to an OR fails immediately, mark it as down | Roger Dingledine | 2004-07-12 |
| | | | | svn:r2029 | ||
* | add 'advertisedbandwidth' to router descriptor | Roger Dingledine | 2004-07-12 |
| | | | | svn:r2028 | ||
* | trivial punctuation tweak | Roger Dingledine | 2004-07-12 |
| | | | | svn:r2027 | ||
* | fix a bug related to reading usernames for socks4 | Roger Dingledine | 2004-07-12 |
| | | | | | | | this hasn't bitten us yet, but hey. svn:r2026 | ||
* | 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 | ||
* | Yes, I did mean "else if". | Nick Mathewson | 2004-07-06 |
| | | | | svn:r2016 |