aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* When faking gettimeofday with ftime, do it right.Nick Mathewson2004-07-20
| | | | svn:r2068
* Split uptime into separate fieldNick Mathewson2004-07-20
| | | | svn:r2067
* Track bandwidth usage to estimate capacityNick Mathewson2004-07-20
| | | | svn:r2065
* Remember list of digests for trusted dirservers; use this list to tell ↵Nick Mathewson2004-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 authdirserverRoger Dingledine2004-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 Dingledine2004-07-20
| | | | | | | don't expire your connections to him. svn:r2062
* a whole swath of fixesRoger Dingledine2004-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 Dingledine2004-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 functionRoger Dingledine2004-07-20
| | | | svn:r2058
* it turns out we weren't looking at the result from getsockopt().Roger Dingledine2004-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 messagesRoger Dingledine2004-07-19
| | | | | | | (fixed because the old ones confused a user) svn:r2055
* abstract ORPort/SocksPort checks into server_mode(), proxy_mode(), ↵Nick Mathewson2004-07-18
| | | | | | clique_mode(), etc. Dont change underlying comments. svn:r2054
* bugfix: hidden services were broken in cvsRoger Dingledine2004-07-17
| | | | svn:r2053
* Change rule from "reject non-recommended versions" to "reject obsolete ↵Nick Mathewson2004-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 Mathewson2004-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 Mathewson2004-07-16
| | | | svn:r2050
* Revert cpuworker to use addr/portNick Mathewson2004-07-16
| | | | svn:r2049
* Look in .torrc if no CONFDIR "torrc" is found.Nick Mathewson2004-07-16
| | | | svn:r2048
* Add generic expand_filename function to handle expanding ~/Nick Mathewson2004-07-15
| | | | svn:r2047
* Fix warningNick Mathewson2004-07-15
| | | | svn:r2046
* Code to parse tor version numbers so we can do an is-newer-than check.Nick Mathewson2004-07-13
| | | | svn:r2044
* Finish most pre2 items: make running-routers list work right; rename secret ↵Nick Mathewson2004-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 secondNick Mathewson2004-07-13
| | | | svn:r2042
* only count bytes transmitted to/from non-local IPsRoger Dingledine2004-07-13
| | | | svn:r2041
* add is_local_IP() function to help distinguish which bandwidth "matters"Roger Dingledine2004-07-13
| | | | svn:r2040
* checkpoint: start working on bandwidth tracking andRoger Dingledine2004-07-13
| | | | | | | letting clients evaluate whether they're suitable servers svn:r2037
* refuse to build a circuit before the directory has arrivedRoger Dingledine2004-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 takeRoger Dingledine2004-07-13
| | | | | | | care of trying to flush before it closes svn:r2035
* bugfix: tell circuits what id_digest to look for, soRoger Dingledine2004-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 Dingledine2004-07-12
| | | | svn:r2032
* tor now tolerates down dirservers betterRoger Dingledine2004-07-12
| | | | svn:r2031
* make unit tests pass againRoger Dingledine2004-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 downRoger Dingledine2004-07-12
| | | | svn:r2029
* add 'advertisedbandwidth' to router descriptorRoger Dingledine2004-07-12
| | | | svn:r2028
* trivial punctuation tweakRoger Dingledine2004-07-12
| | | | svn:r2027
* fix a bug related to reading usernames for socks4Roger Dingledine2004-07-12
| | | | | | | this hasn't bitten us yet, but hey. svn:r2026
* Remove spurious assertNick Mathewson2004-07-07
| | | | svn:r2018
* Fix the router_compare_to_my_exit_policy assertion failure once-and-for-all, ↵Nick Mathewson2004-07-07
| | | | | | by declaring 0.0.0.0 always denied. svn:r2017
* Yes, I did mean "else if".Nick Mathewson2004-07-06
| | | | svn:r2016
* Fix bug reported by peter palfrader: an empty address is unresolvable, but ↵Nick Mathewson2004-07-06
| | | | | | not an occasion for an assertion failure in a dnsworker. svn:r2015
* touchups all overRoger Dingledine2004-07-04
| | | | | | | put uptime in descriptor svn:r2011
* When tor_lookup_hostname says 0.0.0.0, treat it as an error.Nick Mathewson2004-07-04
| | | | svn:r2003
* fix a seg fault when you try to launch a circRoger Dingledine2004-07-03
| | | | svn:r2002
* populate circ->n_conn_id_digest when we set circ->n_connRoger Dingledine2004-07-03
| | | | svn:r2001
* More digest/nickname fixesNick Mathewson2004-07-02
| | | | svn:r2000
* another checkpoint toward letting ORs connect on demandRoger Dingledine2004-07-02
| | | | svn:r1999
* some of the infrastructure to let ORs connect on demandRoger Dingledine2004-07-02
| | | | svn:r1998
* Switch most uses of *_by_addr_port to *_by_identity_digestNick Mathewson2004-07-01
| | | | svn:r1997
* running-routers now lists down routers too (with a ! before their name)Roger Dingledine2004-07-01
| | | | svn:r1996
* Track routers by hash of identity key; use hex hash of identity key in place ↵Nick Mathewson2004-07-01
| | | | | | of nickname; accept (and use) hash of identity key in EXTEND cells. svn:r1994