Commit Graph

  • 99926813b1 get the function prototype right Roger Dingledine 2004-07-21 00:21:26 +00:00
  • 1a23825b42 get the function prototype right Roger Dingledine 2004-07-21 00:21:26 +00:00
  • 73ffcc5cef add a new advertised_server_mode() to distinguish ORs that are willing to become servers from ones that really are servers. Roger Dingledine 2004-07-21 00:12:42 +00:00
  • eb9fd33de7 add a new advertised_server_mode() to distinguish ORs that are willing to become servers from ones that really are servers. Roger Dingledine 2004-07-21 00:12:42 +00:00
  • 0da256ef97 when we get a sigint, don't accept new connections/circuits, but delay 30 seconds until exiting. if we get a second sigint, exit immediately. Roger Dingledine 2004-07-20 23:31:00 +00:00
  • 7cc085787d when we get a sigint, don't accept new connections/circuits, but delay 30 seconds until exiting. if we get a second sigint, exit immediately. Roger Dingledine 2004-07-20 23:31:00 +00:00
  • 18d752e518 Correct "advance-time" logic Nick Mathewson 2004-07-20 23:25:00 +00:00
  • 185acb19cb Correct "advance-time" logic Nick Mathewson 2004-07-20 23:25:00 +00:00
  • 06c11a61ce When faking gettimeofday with ftime, do it right. Nick Mathewson 2004-07-20 21:23:50 +00:00
  • 82f57cfea6 When faking gettimeofday with ftime, do it right. Nick Mathewson 2004-07-20 21:23:50 +00:00
  • 2a339b7627 Split uptime into separate field Nick Mathewson 2004-07-20 21:13:11 +00:00
  • 3c5244c431 Split uptime into separate field Nick Mathewson 2004-07-20 21:13:11 +00:00
  • 6d53717215 Handle closed connection properly on tor_resolve Nick Mathewson 2004-07-20 21:05:05 +00:00
  • 250015850e Handle closed connection properly on tor_resolve Nick Mathewson 2004-07-20 21:05:05 +00:00
  • e57698cc6e Track bandwidth usage to estimate capacity Nick Mathewson 2004-07-20 20:57:46 +00:00
  • 3ff5be767a Track bandwidth usage to estimate capacity Nick Mathewson 2004-07-20 20:57:46 +00:00
  • d858a9e990 Remember list of digests for trusted dirservers; use this list to tell whether you are a trusted dirserver Nick Mathewson 2004-07-20 20:09:59 +00:00
  • a30bac3a6b Remember list of digests for trusted dirservers; use this list to tell whether you are a trusted dirserver Nick Mathewson 2004-07-20 20:09:59 +00:00
  • d5999a24af also don't hang up on him if we're an OR and he's an authdirserver otherwise we keep getting taken out of the running-routers list Roger Dingledine 2004-07-20 19:45:29 +00:00
  • 85099bfec2 also don't hang up on him if we're an OR and he's an authdirserver otherwise we keep getting taken out of the running-routers list Roger Dingledine 2004-07-20 19:45:29 +00:00
  • 66fc6cf04a if you're an OR and he's an OR and he's running 0.0.7, don't expire your connections to him. Roger Dingledine 2004-07-20 19:28:02 +00:00
  • aca795b05d if you're an OR and he's an OR and he's running 0.0.7, don't expire your connections to him. Roger Dingledine 2004-07-20 19:28:02 +00:00
  • dc7951a5a7 a whole swath of fixes Roger Dingledine 2004-07-20 10:17:43 +00:00
  • 9c4ad066d0 a whole swath of fixes Roger Dingledine 2004-07-20 10:17:43 +00:00
  • 63b476a63c ship and install tor_resolve script too Roger Dingledine 2004-07-20 06:59:22 +00:00
  • 8daadba0c6 ship and install tor_resolve script too Roger Dingledine 2004-07-20 06:59:22 +00:00
  • f54224ab35 clients can now pick non-authdirservers for fetching directories. servers still pick authdirservers, but they never pick themselves. Roger Dingledine 2004-07-20 06:44:16 +00:00
  • a4c60e4253 clients can now pick non-authdirservers for fetching directories. servers still pick authdirservers, but they never pick themselves. Roger Dingledine 2004-07-20 06:44:16 +00:00
  • b4d4a961b1 break connection_dir_client_finished_reading() into its own function Roger Dingledine 2004-07-20 02:44:26 +00:00
  • 1f1be1d4be break connection_dir_client_finished_reading() into its own function Roger Dingledine 2004-07-20 02:44:26 +00:00
  • a5ff0527e6 it turns out we weren't looking at the result from getsockopt(). 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. Roger Dingledine 2004-07-19 23:26:21 +00:00
  • 47efcccdea it turns out we weren't looking at the result from getsockopt(). 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. Roger Dingledine 2004-07-19 23:26:21 +00:00
  • f9a0409714 mention that you should proxy your SSL traffic too Roger Dingledine 2004-07-19 22:30:18 +00:00
  • 7597ca3137 mention that you should proxy your SSL traffic too Roger Dingledine 2004-07-19 22:30:18 +00:00
  • 19deb93c29 more useful warning messages (fixed because the old ones confused a user) Roger Dingledine 2004-07-19 19:49:03 +00:00
  • 979429b42b more useful warning messages (fixed because the old ones confused a user) Roger Dingledine 2004-07-19 19:49:03 +00:00
  • 54c129d8dc abstract ORPort/SocksPort checks into server_mode(), proxy_mode(), clique_mode(), etc. Dont change underlying comments. Nick Mathewson 2004-07-18 21:47:04 +00:00
  • 65e94fb000 abstract ORPort/SocksPort checks into server_mode(), proxy_mode(), clique_mode(), etc. Dont change underlying comments. Nick Mathewson 2004-07-18 21:47:04 +00:00
  • 87d0948903 bugfix: hidden services were broken in cvs Roger Dingledine 2004-07-17 19:50:29 +00:00
  • 505b9061da bugfix: hidden services were broken in cvs Roger Dingledine 2004-07-17 19:50:29 +00:00
  • df3544422c Change rule from "reject non-recommended versions" to "reject obsolete versions". A version is "obsolete" if it is non-recommended, and at least one recommended version is newer than it. Nick Mathewson 2004-07-16 23:33:42 +00:00
  • 4a2aa1f46d Change rule from "reject non-recommended versions" to "reject obsolete versions". A version is "obsolete" if it is non-recommended, and at least one recommended version is newer than it. Nick Mathewson 2004-07-16 23:33:42 +00:00
  • 1040762531 Remove 1024-router limit in routerparse.c; unify handling of running-routers 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. Nick Mathewson 2004-07-16 23:05:40 +00:00
  • 7f8bb5cab1 Remove 1024-router limit in routerparse.c; unify handling of running-routers 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. Nick Mathewson 2004-07-16 23:05:40 +00:00
  • bc36db351f Resolve all DOCDOCs. Nick Mathewson 2004-07-16 22:23:18 +00:00
  • 9a9aae6d72 Resolve all DOCDOCs. Nick Mathewson 2004-07-16 22:23:18 +00:00
  • 656a664334 Revert cpuworker to use addr/port Nick Mathewson 2004-07-16 21:47:18 +00:00
  • dd3dc2b27f Revert cpuworker to use addr/port Nick Mathewson 2004-07-16 21:47:18 +00:00
  • 0b3357d573 Look in .torrc if no CONFDIR "torrc" is found. Nick Mathewson 2004-07-16 19:43:58 +00:00
  • 1669023d3c Look in .torrc if no CONFDIR "torrc" is found. Nick Mathewson 2004-07-16 19:43:58 +00:00
  • 9364c40afd Add generic expand_filename function to handle expanding ~/ Nick Mathewson 2004-07-15 02:00:43 +00:00
  • 9a6eaa604d Add generic expand_filename function to handle expanding ~/ Nick Mathewson 2004-07-15 02:00:43 +00:00
  • c458f33ef1 Fix warning Nick Mathewson 2004-07-15 01:59:18 +00:00
  • c6d72ea4ef Fix warning Nick Mathewson 2004-07-15 01:59:18 +00:00
  • 254355e6d3 give nick enough to keep him busy for a while more Roger Dingledine 2004-07-15 01:31:11 +00:00
  • 541b9e0b41 give nick enough to keep him busy for a while more Roger Dingledine 2004-07-15 01:31:11 +00:00
  • 5f7738d4cc Code to parse tor version numbers so we can do an is-newer-than check. Nick Mathewson 2004-07-13 19:16:49 +00:00
  • 0e44568659 Code to parse tor version numbers so we can do an is-newer-than check. Nick Mathewson 2004-07-13 19:16:49 +00:00
  • c2103eb63a Finish most pre2 items: make running-routers list work right; rename secret key files; make even more lookup-by-nickname use lookup-by-id; default nicknames to hostname. Nick Mathewson 2004-07-13 18:23:40 +00:00
  • 73ca6a9960 Finish most pre2 items: make running-routers list work right; rename secret key files; make even more lookup-by-nickname use lookup-by-id; default nicknames to hostname. Nick Mathewson 2004-07-13 18:23:40 +00:00
  • e9365f9ed5 Bugfix: some things (like ctrl-z) can make a second take more than one second Nick Mathewson 2004-07-13 18:07:57 +00:00
  • c573b4acaa Bugfix: some things (like ctrl-z) can make a second take more than one second Nick Mathewson 2004-07-13 18:07:57 +00:00
  • d37850bb98 only count bytes transmitted to/from non-local IPs Roger Dingledine 2004-07-13 16:58:01 +00:00
  • 832c076e0d only count bytes transmitted to/from non-local IPs Roger Dingledine 2004-07-13 16:58:01 +00:00
  • 7e344f191a add is_local_IP() function to help distinguish which bandwidth "matters" Roger Dingledine 2004-07-13 16:57:37 +00:00
  • 15474d2efd add is_local_IP() function to help distinguish which bandwidth "matters" Roger Dingledine 2004-07-13 16:57:37 +00:00
  • 0fbe75ed1e include a css file for tor-doc.html (also include it in the tarball) Roger Dingledine 2004-07-13 16:03:46 +00:00
  • 6a162ad9ec include a css file for tor-doc.html (also include it in the tarball) Roger Dingledine 2004-07-13 16:03:46 +00:00
  • 5942281007 ship doc/tor-doc.html in the tarball Roger Dingledine 2004-07-13 15:59:08 +00:00
  • 219bfcbb46 ship doc/tor-doc.html in the tarball Roger Dingledine 2004-07-13 15:59:08 +00:00
  • 86e0ede07e checkpoint: start working on bandwidth tracking and letting clients evaluate whether they're suitable servers Roger Dingledine 2004-07-13 07:42:20 +00:00
  • 3e9f5a3f53 checkpoint: start working on bandwidth tracking and letting clients evaluate whether they're suitable servers Roger Dingledine 2004-07-13 07:42:20 +00:00
  • 017d7d1fb3 refuse to build a circuit before the directory has arrived this will prevent a few of the 'couldn't decrypt onionskin' errors, maybe Roger Dingledine 2004-07-13 01:25:39 +00:00
  • 766f225c03 refuse to build a circuit before the directory has arrived this will prevent a few of the 'couldn't decrypt onionskin' errors, maybe Roger Dingledine 2004-07-13 01:25:39 +00:00
  • 3294b514d3 when you expire a wedged dir conn, conn_close_if_marked will take care of trying to flush before it closes Roger Dingledine 2004-07-13 00:38:08 +00:00
  • 8f171d9bca when you expire a wedged dir conn, conn_close_if_marked will take care of trying to flush before it closes Roger Dingledine 2004-07-13 00:38:08 +00:00
  • 149115cc4e bugfix: tell circuits what id_digest to look for, so n_conn_open() can find waiting circuits. Roger Dingledine 2004-07-12 23:53:16 +00:00
  • f79e90752c bugfix: tell circuits what id_digest to look for, so n_conn_open() can find waiting circuits. Roger Dingledine 2004-07-12 23:53:16 +00:00
  • d1fe3c1711 update the todo list a bit Roger Dingledine 2004-07-12 21:18:45 +00:00
  • 653c260d2e update the todo list a bit Roger Dingledine 2004-07-12 21:18:45 +00:00
  • a3aaff34b7 why does gcc not warn me about this at all? that's evil. Roger Dingledine 2004-07-12 20:41:20 +00:00
  • 8bb4401b76 why does gcc not warn me about this at all? that's evil. Roger Dingledine 2004-07-12 20:41:20 +00:00
  • 2325050b1b tor now tolerates down dirservers better Roger Dingledine 2004-07-12 20:39:40 +00:00
  • ba8e65c362 tor now tolerates down dirservers better Roger Dingledine 2004-07-12 20:39:40 +00:00
  • 63256c9e7a make unit tests pass again but note a bug that i don't know how to address. nick? Roger Dingledine 2004-07-12 20:18:05 +00:00
  • 583afc0154 make unit tests pass again but note a bug that i don't know how to address. nick? Roger Dingledine 2004-07-12 20:18:05 +00:00
  • 538655cd80 if connecting to an OR fails immediately, mark it as down Roger Dingledine 2004-07-12 18:19:55 +00:00
  • 280e4dccb4 if connecting to an OR fails immediately, mark it as down Roger Dingledine 2004-07-12 18:19:55 +00:00
  • e167eeb18e add 'advertisedbandwidth' to router descriptor Roger Dingledine 2004-07-12 18:02:54 +00:00
  • d91765c599 add 'advertisedbandwidth' to router descriptor Roger Dingledine 2004-07-12 18:02:54 +00:00
  • 17e5f25214 trivial punctuation tweak Roger Dingledine 2004-07-12 16:51:28 +00:00
  • 8ebc24fdb2 trivial punctuation tweak Roger Dingledine 2004-07-12 16:51:28 +00:00
  • 379768290e fix a bug related to reading usernames for socks4 this hasn't bitten us yet, but hey. Roger Dingledine 2004-07-12 16:51:05 +00:00
  • d61a1a247e fix a bug related to reading usernames for socks4 this hasn't bitten us yet, but hey. Roger Dingledine 2004-07-12 16:51:05 +00:00
  • 3d63396d8d emphasize tor hidden services in the 'why should you use tor' section Roger Dingledine 2004-07-08 19:12:50 +00:00
  • b28c173b31 emphasize tor hidden services in the 'why should you use tor' section Roger Dingledine 2004-07-08 19:12:50 +00:00
  • faf63d82f8 changelog for 0.0.7.2 in the main branch Roger Dingledine 2004-07-08 02:20:25 +00:00
  • eff242ccc8 changelog for 0.0.7.2 in the main branch Roger Dingledine 2004-07-08 02:20:25 +00:00
  • 248786669b This commit was manufactured by cvs2svn to create tag 'tor-0_0_7_2'. (no author) 2004-07-08 02:17:40 +00:00
  • 04e42cf159 bump 0.0.7 branch version to 0.0.7.2 Roger Dingledine 2004-07-08 02:17:40 +00:00