Commit Graph

  • 9e3608ce7b more friendly warning when a connection buffer overflows Roger Dingledine 2003-12-14 04:18:43 +00:00
  • 95894a27e6 more friendly warning when a connection buffer overflows Roger Dingledine 2003-12-14 04:18:43 +00:00
  • a1745b6895 slightly different default default exit policy. Roger Dingledine 2003-12-14 00:18:57 +00:00
  • 0d19ebe1c2 slightly different default default exit policy. Roger Dingledine 2003-12-14 00:18:57 +00:00
  • 55d3ec028d reject 0.0.0.0/8,reject 169.254.0.0/16 Roger Dingledine 2003-12-14 00:17:44 +00:00
  • be38b844d7 reject 0.0.0.0/8,reject 169.254.0.0/16 Roger Dingledine 2003-12-14 00:17:44 +00:00
  • 29adf04683 more general cleanup Roger Dingledine 2003-12-14 00:12:02 +00:00
  • d6ba73e5f9 more general cleanup Roger Dingledine 2003-12-14 00:12:02 +00:00
  • 444798dfb9 remove obsolete code Roger Dingledine 2003-12-14 00:11:48 +00:00
  • 1019210322 remove obsolete code Roger Dingledine 2003-12-14 00:11:48 +00:00
  • 867c38311c Fix broken line wraps Peter Palfrader 2003-12-14 00:06:30 +00:00
  • f0c487ae51 Fix broken line wraps Peter Palfrader 2003-12-14 00:06:30 +00:00
  • fb95d99f79 Accept 1.2.3.4/x as a synonym for 1.2.3.4/x:* . Nick Mathewson 2003-12-14 00:04:29 +00:00
  • e2036e4ce3 Accept 1.2.3.4/x as a synonym for 1.2.3.4/x:* . Nick Mathewson 2003-12-14 00:04:29 +00:00
  • 78a7de300c make options.ExitNodes work if your best choices happen to include any of your preferred exit nodes, you choose among just those preferred exit nodes. Roger Dingledine 2003-12-13 23:32:57 +00:00
  • b59e8d9b07 make options.ExitNodes work if your best choices happen to include any of your preferred exit nodes, you choose among just those preferred exit nodes. Roger Dingledine 2003-12-13 23:32:57 +00:00
  • 4d3d99fa0c extend smartlist with a few smarter operations Roger Dingledine 2003-12-13 23:32:03 +00:00
  • 238d091697 extend smartlist with a few smarter operations Roger Dingledine 2003-12-13 23:32:03 +00:00
  • 325935b1c6 doc patches submitted by jason holt Roger Dingledine 2003-12-13 22:56:32 +00:00
  • 0c882c4c1f doc patches submitted by jason holt Roger Dingledine 2003-12-13 22:56:32 +00:00
  • 10548ae9ec a few minor updates to hacking Roger Dingledine 2003-12-13 22:55:12 +00:00
  • 5ab9fbeafe a few minor updates to hacking Roger Dingledine 2003-12-13 22:55:12 +00:00
  • 8222fe8e4f clean up some copyrights Roger Dingledine 2003-12-13 22:53:17 +00:00
  • 3ffaaedb20 clean up some copyrights Roger Dingledine 2003-12-13 22:53:17 +00:00
  • 03616803e6 bughunt: start tracking the bug mutiny found Roger Dingledine 2003-12-13 08:06:03 +00:00
  • 3bdf53b4e4 bughunt: start tracking the bug mutiny found Roger Dingledine 2003-12-13 08:06:03 +00:00
  • 7a3a3ae1df bugfix: a circuit that immediately failed still counts as a failed circuit Roger Dingledine 2003-12-13 07:42:18 +00:00
  • be1eae1d5f bugfix: a circuit that immediately failed still counts as a failed circuit Roger Dingledine 2003-12-13 07:42:18 +00:00
  • 9e6f4a3029 revamp circuit node selection to use smartlists: * now we know for sure if an acceptable node is available; we don't have to keep guessing and checking * we try options.EntryNodes first for picking the first node Roger Dingledine 2003-12-13 07:01:46 +00:00
  • 9bbcdbb125 revamp circuit node selection to use smartlists: * now we know for sure if an acceptable node is available; we don't have to keep guessing and checking * we try options.EntryNodes first for picking the first node Roger Dingledine 2003-12-13 07:01:46 +00:00
  • 5458ca39e8 minor tweaks to the smartlist operations Roger Dingledine 2003-12-13 06:56:21 +00:00
  • 66b73b459a minor tweaks to the smartlist operations Roger Dingledine 2003-12-13 06:56:21 +00:00
  • 911f155f94 Make default exit policy reject 127.*:* Nick Mathewson 2003-12-13 03:37:25 +00:00
  • afeb0495c3 Make default exit policy reject 127.*:* Nick Mathewson 2003-12-13 03:37:25 +00:00
  • 41bb717241 reasonably permissive exit policy if you don't set one Roger Dingledine 2003-12-13 02:53:35 +00:00
  • 286e0f7d2e reasonably permissive exit policy if you don't set one Roger Dingledine 2003-12-13 02:53:35 +00:00
  • 865173d7a1 put the default exit policy in place Roger Dingledine 2003-12-13 02:52:54 +00:00
  • eeac50913b put the default exit policy in place Roger Dingledine 2003-12-13 02:52:54 +00:00
  • f37f7daa2f Add port ranges to exit policies Nick Mathewson 2003-12-13 02:44:02 +00:00
  • 3fc70ad316 Add port ranges to exit policies Nick Mathewson 2003-12-13 02:44:02 +00:00
  • c425f2e0ec use the smartlist to pick random routers, rather than our own idiom Roger Dingledine 2003-12-13 01:43:21 +00:00
  • c8ad5e09a0 use the smartlist to pick random routers, rather than our own idiom Roger Dingledine 2003-12-13 01:43:21 +00:00
  • 1ae84fcbc1 add a 'smartlist' building block that picks random elements from a list Roger Dingledine 2003-12-13 01:42:44 +00:00
  • 62346e64fa add a 'smartlist' building block that picks random elements from a list Roger Dingledine 2003-12-13 01:42:44 +00:00
  • 9c66e2bf9a if >=2 circs are being built that handle a given stream, no need to have new circs handle it too. Roger Dingledine 2003-12-12 23:03:25 +00:00
  • f5a7def901 if >=2 circs are being built that handle a given stream, no need to have new circs handle it too. Roger Dingledine 2003-12-12 23:03:25 +00:00
  • d23c66b041 make the license explicit on fakepoll.[ch] Roger Dingledine 2003-12-09 21:37:26 +00:00
  • 6aae24153f make the license explicit on fakepoll.[ch] Roger Dingledine 2003-12-09 21:37:26 +00:00
  • 17269eff3c Document parsing functions in routerlist.c, and separate parsing from non-parsing functions. Nick Mathewson 2003-12-09 04:29:52 +00:00
  • a2ad522876 Document parsing functions in routerlist.c, and separate parsing from non-parsing functions. Nick Mathewson 2003-12-09 04:29:52 +00:00
  • 38ce03d0e7 close the circuit when we get a truncated cell Roger Dingledine 2003-12-09 02:06:58 +00:00
  • fe47552fff close the circuit when we get a truncated cell Roger Dingledine 2003-12-09 02:06:58 +00:00
  • ea6c4f6348 our circuit symmetric key (for aes) is 127 bits, not 128 bits. we accept that. Roger Dingledine 2003-12-09 01:04:40 +00:00
  • e21fc213ef our circuit symmetric key (for aes) is 127 bits, not 128 bits. we accept that. Roger Dingledine 2003-12-09 01:04:40 +00:00
  • 48e42e9346 back out the broken change from yesterday Roger Dingledine 2003-12-09 01:04:11 +00:00
  • 2eca35e52b back out the broken change from yesterday Roger Dingledine 2003-12-09 01:04:11 +00:00
  • ac552573dd Make router/directory parsing nondestructive and more const-friendly Nick Mathewson 2003-12-08 23:45:37 +00:00
  • cea439988a Make router/directory parsing nondestructive and more const-friendly Nick Mathewson 2003-12-08 23:45:37 +00:00
  • 8bd7c94bf6 general cleanups Roger Dingledine 2003-12-07 22:03:47 +00:00
  • 59fa7d8f9b general cleanups Roger Dingledine 2003-12-07 22:03:47 +00:00
  • 6a968495b1 declare the prototypes better Roger Dingledine 2003-12-06 06:01:42 +00:00
  • 42d18c3d36 declare the prototypes better Roger Dingledine 2003-12-06 06:01:42 +00:00
  • c25fbd2676 break routers.c into router.c for stuff the router does, and routerlist.c for handling routerlist. Roger Dingledine 2003-12-06 05:54:04 +00:00
  • 79dc5ab0ea break routers.c into router.c for stuff the router does, and routerlist.c for handling routerlist. Roger Dingledine 2003-12-06 05:54:04 +00:00
  • e0952d0773 terminology shift: directory is the string that dirserv.c and directory.c deal with routerlist is routerinfo's that are bundled together in routers.c Roger Dingledine 2003-12-05 09:51:49 +00:00
  • ef10ea41af terminology shift: directory is the string that dirserv.c and directory.c deal with routerlist is routerinfo's that are bundled together in routers.c Roger Dingledine 2003-12-05 09:51:49 +00:00
  • 727a260a81 prevent assert failure on -HUP when options->PidFile==NULL Roger Dingledine 2003-12-03 22:00:20 +00:00
  • ca879f5ae1 prevent assert failure on -HUP when options->PidFile==NULL Roger Dingledine 2003-12-03 22:00:20 +00:00
  • 4d9eabfed9 we are pre15 Roger Dingledine 2003-12-03 21:05:15 +00:00
  • d4b217e633 we are pre15 Roger Dingledine 2003-12-03 21:05:15 +00:00
  • c183789c96 OnionRouter config option is obsolete Roger Dingledine 2003-12-03 20:21:03 +00:00
  • 89a0ef5184 OnionRouter config option is obsolete Roger Dingledine 2003-12-03 20:21:03 +00:00
  • 3865a8a888 update the TODO to reflect recent commits Roger Dingledine 2003-12-03 10:44:11 +00:00
  • 46f6c59f1c update the TODO to reflect recent commits Roger Dingledine 2003-12-03 10:44:11 +00:00
  • 4f2d556508 choose randomly from running dirservers, not always the first one Roger Dingledine 2003-12-03 10:39:27 +00:00
  • 5fc49c0d68 choose randomly from running dirservers, not always the first one Roger Dingledine 2003-12-03 10:39:27 +00:00
  • 63f81bddae pick nodes for a circuit only from those the directory says are up Roger Dingledine 2003-12-03 10:28:51 +00:00
  • a8df101b1f pick nodes for a circuit only from those the directory says are up Roger Dingledine 2003-12-03 10:28:51 +00:00
  • 99db996aef stop segfault when choose_good_exit_server returns NULL Roger Dingledine 2003-12-03 10:04:44 +00:00
  • d23f2e5fe4 stop segfault when choose_good_exit_server returns NULL Roger Dingledine 2003-12-03 10:04:44 +00:00
  • 5a894a1595 switch "-lcrypto -lssl" to "-lssl -lcrypto" for broken distributions enforce -g on compile always. we're an alpha release after all. Roger Dingledine 2003-12-03 09:55:16 +00:00
  • c1bc760007 switch "-lcrypto -lssl" to "-lssl -lcrypto" for broken distributions enforce -g on compile always. we're an alpha release after all. Roger Dingledine 2003-12-03 09:55:16 +00:00
  • 01cf9c2dd8 don't --enable-debug by default on ./configure Roger Dingledine 2003-12-03 09:53:46 +00:00
  • 7199581af8 don't --enable-debug by default on ./configure Roger Dingledine 2003-12-03 09:53:46 +00:00
  • d172fdd300 fix vicious bug in connection_ap_attach_pending that caused it to never work. fix vicious bug in choose_good_exit_server that caused it to *skip over* pending circuits, and look only at *non-pending circuits*, when choosing a good exit node for the new circuit. bugfix: remove incorrect asserts in circuit_get_newest() Roger Dingledine 2003-12-03 09:50:02 +00:00
  • e6a96256fd fix vicious bug in connection_ap_attach_pending that caused it to never work. fix vicious bug in choose_good_exit_server that caused it to *skip over* pending circuits, and look only at *non-pending circuits*, when choosing a good exit node for the new circuit. bugfix: remove incorrect asserts in circuit_get_newest() Roger Dingledine 2003-12-03 09:50:02 +00:00
  • 05b9c35173 assert that nobody asks for a random number between 0 and -1 Roger Dingledine 2003-12-03 08:08:07 +00:00
  • a2bc60ce70 assert that nobody asks for a random number between 0 and -1 Roger Dingledine 2003-12-03 08:08:07 +00:00
  • f65e871bfd bugfix in exit node choice: we used to find the perfect exit node but then use the wrong one. bugfix in connection_ap_can_use_exit: it was using the wrong port bugfix: the OP now handles a port of '*' correctly when the IP is not yet known and it's trying to guess whether a router's exit policy might accept it. we now don't ever pick exit routers which will reject *:* attach_circuit now fails a new stream outright if it will never work. when you get an 'end' cell that resolves an IP, now it will fail the circuit outright if no safe exit nodes exist for that IP. don't try building a new circuit after an 'end' if a suitable one is already on the way. Roger Dingledine 2003-12-03 08:06:55 +00:00
  • 94899b7416 bugfix in exit node choice: we used to find the perfect exit node but then use the wrong one. bugfix in connection_ap_can_use_exit: it was using the wrong port bugfix: the OP now handles a port of '*' correctly when the IP is not yet known and it's trying to guess whether a router's exit policy might accept it. we now don't ever pick exit routers which will reject *:* attach_circuit now fails a new stream outright if it will never work. when you get an 'end' cell that resolves an IP, now it will fail the circuit outright if no safe exit nodes exist for that IP. don't try building a new circuit after an 'end' if a suitable one is already on the way. Roger Dingledine 2003-12-03 08:06:55 +00:00
  • fc98ca1a2d stop expecting sample-server-torrc to be there Roger Dingledine 2003-12-02 22:43:23 +00:00
  • 03142f337d stop expecting sample-server-torrc to be there Roger Dingledine 2003-12-02 22:43:23 +00:00
  • 7207627703 install that man page Steven Hazel 2003-12-02 21:21:21 +00:00
  • b5ebf16e73 install that man page Steven Hazel 2003-12-02 21:21:21 +00:00
  • 63dadc0298 update TODO with remaining pre15 tasks Roger Dingledine 2003-12-02 18:20:31 +00:00
  • fb9cc9b73e update TODO with remaining pre15 tasks Roger Dingledine 2003-12-02 18:20:31 +00:00
  • af4192b172 start tracking a rare bug: package_raw_inbuf gets called with package_window 0 Roger Dingledine 2003-11-30 10:10:29 +00:00
  • b69fedc5b6 start tracking a rare bug: package_raw_inbuf gets called with package_window 0 Roger Dingledine 2003-11-30 10:10:29 +00:00
  • 3d37291e02 stop complaining as loudly when a dns resolve fails Roger Dingledine 2003-11-30 09:57:00 +00:00
  • 3e3e0b6430 stop complaining as loudly when a dns resolve fails Roger Dingledine 2003-11-30 09:57:00 +00:00