Commit Graph

947 Commits

Author SHA1 Message Date
Roger Dingledine bd8084c37a end-to-end integrity checking now works
initialize digests from shared secrets at handshake
make circuit_send_next_onion_skin use connection_edge_send_command


svn:r948
2003-12-17 05:58:30 +00:00
Roger Dingledine 7ceb487667 document an openssl gotcha
svn:r947
2003-12-17 05:31:52 +00:00
Roger Dingledine 501aee1d2b infrastructure for integrity-checks in relay cells
make circuit_consider_sending_sendme use connection_edge_send_command
fix endian bug in relay length handling (maybe)


svn:r946
2003-12-16 22:56:50 +00:00
Roger Dingledine 704826239c bump cvs version to pre17, so people using cvs tor are denied from
the (incompatible) pre16 network


svn:r945
2003-12-16 22:22:11 +00:00
Roger Dingledine 55ba0aa4ad resolve an edge case in get_unique_circ_id_by_conn
svn:r944
2003-12-16 20:45:10 +00:00
Roger Dingledine a8355d0468 some todo updates before i lose track of them
svn:r943
2003-12-16 09:52:31 +00:00
Roger Dingledine a55379fb96 move cell size to 512 bytes
move length to 2 bytes, put it in the relay header
remove 4 reserved bytes in cell
add 4 bytes to relay header for the integrity check


svn:r942
2003-12-16 09:48:17 +00:00
Roger Dingledine dc5421f83f add H(K|1) to the onionskin reply
verify it at the client end
abstract the onionskin handshake lengths

breaks backward compatibility (again)


svn:r941
2003-12-16 08:21:58 +00:00
Roger Dingledine bb5a329ef7 change crypto_digest_new_env to crypto_new_digest_env
(and same with _free_)
to match our conventions
i think our conventions may be getting too ad hoc


svn:r940
2003-12-16 08:13:26 +00:00
Roger Dingledine d153aff9c7 rename digest_copy to digest_dup, make it return, make gcc happier
svn:r939
2003-12-16 05:47:21 +00:00
Nick Mathewson 5943001d22 Resolve format warnings on MacOS X 10.3
svn:r938
2003-12-16 05:33:11 +00:00
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
(no author) 01a72eb663 This commit was manufactured by cvs2svn to create tag
'tor-0_0_2pre16'.

svn:r934
2003-12-14 08:45: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