summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2004-07-21oh, and it should compile tooRoger Dingledine
svn:r2088
2004-07-21make base16_encode() fail more obviously when it failsRoger Dingledine
svn:r2087
2004-07-21fix our tls handshake chain cert bugRoger Dingledine
svn:r2086
2004-07-21solve the authdirserver initialization precedence problemRoger Dingledine
svn:r2085
2004-07-21bugfix: only require the correct key if the nickname is forRoger Dingledine
a verified router svn:r2084
2004-07-21Log certificate lifetime on failure.Nick Mathewson
svn:r2083
2004-07-21disallow picking unverified routers in circuitsRoger Dingledine
(for now) svn:r2082
2004-07-21authdirservers accept the uploading of unverified descriptors.Roger Dingledine
fix a bunch of bugs in router_update_status_from_smartlist() (Nick, did I get them all, or was there a trickier one still hiding?) svn:r2081
2004-07-21caching dirservers don't handle posts, running-routers, or rend descsRoger Dingledine
svn:r2080
2004-07-21rearrange to prepare to solve the authdirserver initializationRoger Dingledine
precedence problem. doesn't actually solve it yet. svn:r2079
2004-07-21Log number of certs in wrong-length chainsNick Mathewson
svn:r2078
2004-07-21we were counting incorrectly when trying to figure out whetherRoger Dingledine
a given AP stream was being handled or not. (how did this work?) svn:r2077
2004-07-21clients exit immediately on interrupt; they don't waitRoger Dingledine
svn:r2076
2004-07-21fix some bool logicRoger Dingledine
svn:r2075
2004-07-21make connection_tls_finish_handshake() more plausible.Roger Dingledine
now we accept connections from unknown routers. svn:r2074
2004-07-21Misc small code cleanups; remove exit_server_mode(); change tor_tls_verify ↵Nick Mathewson
behavior svn:r2073
2004-07-21get the function prototype rightRoger Dingledine
svn:r2072
2004-07-21add a new advertised_server_mode() to distinguish ORs thatRoger Dingledine
are willing to become servers from ones that really are servers. svn:r2071
2004-07-20when we get a sigint, don't accept new connections/circuits,Roger Dingledine
but delay 30 seconds until exiting. if we get a second sigint, exit immediately. svn:r2070
2004-07-20Correct "advance-time" logicNick Mathewson
svn:r2069
2004-07-20When faking gettimeofday with ftime, do it right.Nick Mathewson
svn:r2068
2004-07-20Split uptime into separate fieldNick Mathewson
svn:r2067
2004-07-20Track bandwidth usage to estimate capacityNick Mathewson
svn:r2065
2004-07-20Remember list of digests for trusted dirservers; use this list to tell ↵Nick Mathewson
whether you are a trusted dirserver svn:r2064
2004-07-20also don't hang up on him if we're an OR and he's an authdirserverRoger Dingledine
otherwise we keep getting taken out of the running-routers list svn:r2063
2004-07-20if you're an OR and he's an OR and he's running 0.0.7,Roger Dingledine
don't expire your connections to him. svn:r2062
2004-07-20a whole swath of fixesRoger Dingledine
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
2004-07-20clients can now pick non-authdirservers for fetching directories.Roger Dingledine
servers still pick authdirservers, but they never pick themselves. but picking themselves for fetching rend descs is ok. svn:r2059
2004-07-20break connection_dir_client_finished_reading() into its own functionRoger Dingledine
svn:r2058
2004-07-19it turns out we weren't looking at the result from getsockopt().Roger Dingledine
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
2004-07-19more useful warning messagesRoger Dingledine
(fixed because the old ones confused a user) svn:r2055
2004-07-18abstract ORPort/SocksPort checks into server_mode(), proxy_mode(), ↵Nick Mathewson
clique_mode(), etc. Dont change underlying comments. svn:r2054
2004-07-17bugfix: hidden services were broken in cvsRoger Dingledine
svn:r2053
2004-07-16Change rule from "reject non-recommended versions" to "reject obsolete ↵Nick Mathewson
versions". A version is "obsolete" if it is non-recommended, and at least one recommended version is newer than it. svn:r2052
2004-07-16Remove 1024-router limit in routerparse.c; unify handling of running-routers ↵Nick Mathewson
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
2004-07-16Resolve all DOCDOCs.Nick Mathewson
svn:r2050
2004-07-16Revert cpuworker to use addr/portNick Mathewson
svn:r2049
2004-07-16Look in .torrc if no CONFDIR "torrc" is found.Nick Mathewson
svn:r2048
2004-07-15Add generic expand_filename function to handle expanding ~/Nick Mathewson
svn:r2047
2004-07-15Fix warningNick Mathewson
svn:r2046
2004-07-13Code to parse tor version numbers so we can do an is-newer-than check.Nick Mathewson
svn:r2044
2004-07-13Finish most pre2 items: make running-routers list work right; rename secret ↵Nick Mathewson
key files; make even more lookup-by-nickname use lookup-by-id; default nicknames to hostname. svn:r2043
2004-07-13Bugfix: some things (like ctrl-z) can make a second take more than one secondNick Mathewson
svn:r2042
2004-07-13only count bytes transmitted to/from non-local IPsRoger Dingledine
svn:r2041
2004-07-13add is_local_IP() function to help distinguish which bandwidth "matters"Roger Dingledine
svn:r2040
2004-07-13checkpoint: start working on bandwidth tracking andRoger Dingledine
letting clients evaluate whether they're suitable servers svn:r2037
2004-07-13refuse to build a circuit before the directory has arrivedRoger Dingledine
this will prevent a few of the 'couldn't decrypt onionskin' errors, maybe svn:r2036
2004-07-13when you expire a wedged dir conn, conn_close_if_marked will takeRoger Dingledine
care of trying to flush before it closes svn:r2035
2004-07-12bugfix: tell circuits what id_digest to look for, soRoger Dingledine
n_conn_open() can find waiting circuits. svn:r2034
2004-07-12why does gcc not warn me about this at all? that's evil.Roger Dingledine
svn:r2032