Commit Graph

433 Commits

Author SHA1 Message Date
Roger Dingledine b3343385bb tls infrastructure now in place, give or take
svn:r434
2003-09-08 10:59:00 +00:00
Roger Dingledine 7438e169f4 another wishlist function for the tls interface
svn:r433
2003-09-08 10:46:19 +00:00
Roger Dingledine 2dc14afe8a add CertFile, Nickname
write new certfile if you don't have one already
set up a tls context on startup


svn:r432
2003-09-08 06:26:38 +00:00
Roger Dingledine 5367c2ee09 hide the global tls context inside tortls.c
svn:r431
2003-09-08 06:22:19 +00:00
Roger Dingledine 697905858d clean up config.c so it doesn't expose as much
svn:r430
2003-09-08 05:16:18 +00:00
Roger Dingledine 310ce8bd70 more futzing towards tls
not there yet


svn:r429
2003-09-07 10:24:40 +00:00
Roger Dingledine 637c9f993e clean read_to_buf more
svn:r428
2003-09-05 11:25:24 +00:00
Roger Dingledine 4d01191f5f fill in a gap in the spec
svn:r427
2003-09-05 06:46:39 +00:00
Roger Dingledine b36aa75feb general cleanup and reabstraction, to prepare for tls
svn:r426
2003-09-05 06:04:03 +00:00
Roger Dingledine b7b76c84da move variable declarations to top of function
svn:r425
2003-09-05 05:58:21 +00:00
Nick Mathewson d5cc410e32 Add initial interfaces and code for TLS support. Interfaces are right; code needs work and testing.
svn:r424
2003-09-04 16:05:08 +00:00
Roger Dingledine 6a664d81eb update the TODO
svn:r423
2003-08-31 00:11:01 +00:00
Roger Dingledine 8b499c83bd point out why router_forget_router probably doesn't work
svn:r422
2003-08-29 21:50:53 +00:00
Nick Mathewson c4e3e30112 Fix memory leaks in directory parsing
svn:r421
2003-08-28 04:21:57 +00:00
Roger Dingledine f89ea2641f remove op_port from the spec also
svn:r420
2003-08-27 22:45:10 +00:00
Roger Dingledine 970f7d462f router formats don't include op_port now either
svn:r419
2003-08-27 22:42:39 +00:00
Roger Dingledine 0e30000908 remove last vestiges of op_port
svn:r418
2003-08-27 22:42:10 +00:00
Roger Dingledine ed7833e827 note an assert bug that's still around
svn:r417
2003-08-25 22:02:42 +00:00
Roger Dingledine 1766f04f0e make the conn->package_window bug go away.
not resolved, but at least the servers will stop crashing.


svn:r416
2003-08-25 21:43:51 +00:00
Nick Mathewson 69a450f8d5 Attempt to track down bug in conn->package_window
svn:r415
2003-08-25 20:57:23 +00:00
Nick Mathewson 76974b732f Correct description of extracting Kf and Kb from g^xy.
svn:r414
2003-08-25 18:50:29 +00:00
Roger Dingledine e37153b17e remove bandwidth negotation from the code
we still use bandwidth on a per-connection basis for rate
limiting. but it's unclear if we need this infrastructure in
addition to the total-bandwidth rate limiting that we also do.

i'll leave both infrastructures in, and we'll remove the
per-connection one if it starts rotting too much.


svn:r413
2003-08-25 08:28:34 +00:00
Roger Dingledine f9e1e9a017 remove bandwidth from handshake negotiations
replace too-prescriptive link throttling spec with handwavy one


svn:r412
2003-08-25 08:26:34 +00:00
Roger Dingledine b6470939cd fix formatting in crypto.c for my sanity
svn:r411
2003-08-25 07:06:12 +00:00
Roger Dingledine 253b2763ad fix a mild memory leak (10 bytes each time an OR connected to an OR)
svn:r410
2003-08-25 06:24:17 +00:00
Roger Dingledine f05a40266c add router twins to the spec
svn:r409
2003-08-25 03:00:31 +00:00
Roger Dingledine 108e06fef1 start honoring the recommended_versions string
your client exits if you're running a version not in the
directory's list of acceptable versions (unless you have a
config variable set to override).


svn:r408
2003-08-23 10:09:25 +00:00
Roger Dingledine afb34bb4e0 remove duplicate packagewindow-checking code,
see if we can induce that segfault i just saw more often


svn:r407
2003-08-23 10:06:46 +00:00
Roger Dingledine 5b8ed3b357 patch the spec somewhat. it's still quite stale.
svn:r406
2003-08-22 03:34:51 +00:00
Roger Dingledine c71d6d173e move finished todo entries to bottom of list
svn:r405
2003-08-22 03:21:51 +00:00
Roger Dingledine 3ad2cd276b update TODO to reflect current reality
svn:r404
2003-08-22 03:17:14 +00:00
Roger Dingledine 4c63f888f0 Is there a backdoor in tor?
svn:r403
2003-08-21 17:59:06 +00:00
Roger Dingledine c8d378d334 implemented cpuworkers
please poke at it and report bugs

still needs polishing, and only handles onions now (should handle
OR handshakes too)


svn:r402
2003-08-20 23:05:22 +00:00
Roger Dingledine 3e95d527b3 include torint.h in 'make dist'
svn:r401
2003-08-14 21:46:24 +00:00
Nick Mathewson 60615e1765 Tor now builds on win32.
svn:r400
2003-08-14 17:51:36 +00:00
Nick Mathewson af2ac39865 Add empty statement to suppress gcc warning about label at end of compount statement
svn:r399
2003-08-14 17:16:05 +00:00
Nick Mathewson 228c945637 Attempt to make sockets code work right on windows.
svn:r398
2003-08-14 17:13:52 +00:00
Roger Dingledine 3085e4e33a start refactoring dnsworker so testing won't be so darn hard
add NumCpus config variable in preparation for cpuworkers
hardcode /etc/torrc path for config (simplifies win32 port)
improve exit policy debugging during router entry parsing


svn:r397
2003-08-14 03:52:51 +00:00
Roger Dingledine b5fe15b2d6 bugfix: if a dnsworker dies, remember that.
svn:r396
2003-08-13 22:38:46 +00:00
Nick Mathewson 19e8cc9f86 oops - or/or.plg is not needed
svn:r395
2003-08-12 15:34:50 +00:00
Nick Mathewson db13e53fb4 Adding project/workspace/build files for Visual Studio 6
svn:r394
2003-08-12 15:32:46 +00:00
Nick Mathewson be16d395c5 Misc patches to make windows build work. Now everything is done except the sockets stuff
svn:r393
2003-08-12 15:08:51 +00:00
Nick Mathewson 0f27cb11d4 Make windows happier still
svn:r392
2003-08-12 08:18:13 +00:00
Roger Dingledine aa23b8c50c don't mess with signals on windows until we know how
svn:r391
2003-08-12 08:04:31 +00:00
Nick Mathewson 713d20d47c Stop trying to #include the world in util.c
svn:r390
2003-08-12 07:49:29 +00:00
Nick Mathewson 914699a71d Adopt socketpair implementation from perl. For now, always use it.
svn:r389
2003-08-12 07:43:15 +00:00
Roger Dingledine 2efeeb0c67 use the spawn_func / spawn_exit abstraction for dnsworkers
svn:r388
2003-08-12 07:35:17 +00:00
Nick Mathewson ebbd09aef4 Add abstraction for fork vs thread.
svn:r387
2003-08-12 07:01:20 +00:00
Nick Mathewson 7e02f67952 Dont use explicit paths for orconfig.h -- it messes up the windows build
svn:r386
2003-08-12 06:45:03 +00:00
Roger Dingledine 0052f84204 reap exited dns/cpuworkers
svn:r385
2003-08-12 06:41:53 +00:00