Commit Graph

928 Commits

Author SHA1 Message Date
Nick Mathewson 0d46a40a00 Add more fine-grained SHA1 functionality.
svn:r937
2003-12-16 05:29:04 +00:00
Nick Mathewson 82c7177c8c Make compile warning-free on cygwin
svn:r936
2003-12-15 21:35:52 +00:00
Roger Dingledine fb0b2b2280 make --debuglogfile (or any second log file) work
svn:r935
2003-12-14 09:58:43 +00:00
Roger Dingledine 57795e5155 we are pre16
svn:r933
2003-12-14 08:45:43 +00:00
Roger Dingledine 55837db65f start tracking the 'It appears I've already sent the end' warning
svn:r932
2003-12-14 08:32:14 +00:00
Roger Dingledine 8687af5b0e oops, i broke buffers. fixed.
svn:r931
2003-12-14 08:15:41 +00:00
Roger Dingledine 9812ec95a2 document aborted attempt to merge client dns cache with server dns cache
svn:r930
2003-12-14 07:50:45 +00:00
Roger Dingledine 0aba551857 change dns notation from question/answer to address/addr
svn:r929
2003-12-14 07:40:47 +00:00
Roger Dingledine bf6c921a20 start to track the 'unexpected relay cell' warning
svn:r928
2003-12-14 06:50:44 +00:00
Roger Dingledine a95473217c update the TODO to reflect the done things
svn:r927
2003-12-14 06:34:40 +00:00
Roger Dingledine c40d0977b4 on hup, close and rebind listener ports too (in case their config has changed)
svn:r926
2003-12-14 06:03:46 +00:00
Roger Dingledine 2b5add28f1 clean up some file-scope-global directory variables
svn:r925
2003-12-14 05:25:23 +00:00
Roger Dingledine 9f2d34b815 add options.ExcludedNodes -- nodes that are never picked in path building
svn:r924
2003-12-14 05:08:28 +00:00
Roger Dingledine 71ebf79ea8 make it compile
svn:r923
2003-12-14 05:00:09 +00:00
Roger Dingledine 2c6fcb0cb2 extend smartlist with _remove() and _subtract()
svn:r922
2003-12-14 04:57:47 +00:00
Roger Dingledine a07806ec3c warn if you're running tor as root
svn:r921
2003-12-14 04:39:23 +00:00
Roger Dingledine f2ae48d83f on HUP, retry OR connections, and stop clobbering the dirserver's routerlist
svn:r920
2003-12-14 04:33:18 +00:00
Roger Dingledine b7c29ef266 more friendly warning when there are too many dns workers
svn:r919
2003-12-14 04:19:12 +00:00
Roger Dingledine 95894a27e6 more friendly warning when a connection buffer overflows
svn:r918
2003-12-14 04:18:43 +00:00
Roger Dingledine 0d19ebe1c2 slightly different default default exit policy.
svn:r917
2003-12-14 00:18:57 +00:00
Roger Dingledine be38b844d7 reject 0.0.0.0/8,reject 169.254.0.0/16
svn:r916
2003-12-14 00:17:44 +00:00
Roger Dingledine d6ba73e5f9 more general cleanup
svn:r915
2003-12-14 00:12:02 +00:00
Roger Dingledine 1019210322 remove obsolete code
svn:r914
2003-12-14 00:11:48 +00:00
Peter Palfrader f0c487ae51 Fix broken line wraps
svn:r913
2003-12-14 00:06:30 +00:00
Nick Mathewson e2036e4ce3 Accept 1.2.3.4/x as a synonym for 1.2.3.4/x:* .
svn:r912
2003-12-14 00:04:29 +00:00
Roger Dingledine 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.


svn:r911
2003-12-13 23:32:57 +00:00
Roger Dingledine 238d091697 extend smartlist with a few smarter operations
svn:r910
2003-12-13 23:32:03 +00:00
Roger Dingledine 0c882c4c1f doc patches submitted by jason holt
svn:r909
2003-12-13 22:56:32 +00:00
Roger Dingledine 5ab9fbeafe a few minor updates to hacking
svn:r908
2003-12-13 22:55:12 +00:00
Roger Dingledine 3ffaaedb20 clean up some copyrights
svn:r907
2003-12-13 22:53:17 +00:00
Roger Dingledine 3bdf53b4e4 bughunt: start tracking the bug mutiny found
svn:r906
2003-12-13 08:06:03 +00:00
Roger Dingledine be1eae1d5f bugfix: a circuit that immediately failed still counts as a failed circuit
svn:r905
2003-12-13 07:42:18 +00:00
Roger Dingledine 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


svn:r904
2003-12-13 07:01:46 +00:00
Roger Dingledine 66b73b459a minor tweaks to the smartlist operations
svn:r903
2003-12-13 06:56:21 +00:00
Nick Mathewson afeb0495c3 Make default exit policy reject 127.*:*
svn:r902
2003-12-13 03:37:25 +00:00
Roger Dingledine 286e0f7d2e reasonably permissive exit policy if you don't set one
svn:r901
2003-12-13 02:53:35 +00:00
Roger Dingledine eeac50913b put the default exit policy in place
svn:r900
2003-12-13 02:52:54 +00:00
Nick Mathewson 3fc70ad316 Add port ranges to exit policies
svn:r899
2003-12-13 02:44:02 +00:00
Roger Dingledine c8ad5e09a0 use the smartlist to pick random routers, rather than our own idiom
svn:r898
2003-12-13 01:43:21 +00:00
Roger Dingledine 62346e64fa add a 'smartlist' building block that picks random elements from a list
svn:r897
2003-12-13 01:42:44 +00:00
Roger Dingledine f5a7def901 if >=2 circs are being built that handle a given stream,
no need to have new circs handle it too.


svn:r896
2003-12-12 23:03:25 +00:00
Roger Dingledine 6aae24153f make the license explicit on fakepoll.[ch]
svn:r895
2003-12-09 21:37:26 +00:00
Nick Mathewson a2ad522876 Document parsing functions in routerlist.c, and separate parsing from non-parsing functions.
svn:r894
2003-12-09 04:29:52 +00:00
Roger Dingledine fe47552fff close the circuit when we get a truncated cell
svn:r893
2003-12-09 02:06:58 +00:00
Roger Dingledine e21fc213ef our circuit symmetric key (for aes) is 127 bits, not 128 bits.
we accept that.


svn:r892
2003-12-09 01:04:40 +00:00
Roger Dingledine 2eca35e52b back out the broken change from yesterday
svn:r891
2003-12-09 01:04:11 +00:00
Nick Mathewson cea439988a Make router/directory parsing nondestructive and more const-friendly
svn:r890
2003-12-08 23:45:37 +00:00
Roger Dingledine 59fa7d8f9b general cleanups
svn:r889
2003-12-07 22:03:47 +00:00
Roger Dingledine 42d18c3d36 declare the prototypes better
svn:r888
2003-12-06 06:01:42 +00:00
Roger Dingledine 79dc5ab0ea break routers.c into router.c for stuff the router does,
and routerlist.c for handling routerlist.


svn:r887
2003-12-06 05:54:04 +00:00