Nick Mathewson
2700e5a1ab
Oops. When we dont get a TTL, we should default to the default, not to the minimum.
...
svn:r6527
2006-06-03 21:47:26 +00:00
Nick Mathewson
c660a0f6a2
More DNS fixes. Send meaningful TTLs back to the client when
...
possible. Cache at the server side independently from the TTL, to
prevent attackers from probing the server to see who has been asking
for what hostnames. (Hi, Dan Kaminski!)
Also, clean some whitespace.
svn:r6526
2006-06-03 21:41:14 +00:00
Nick Mathewson
85a25c8a29
Make dns.c use eventdns.c -- but only when you pass the --enable-eventdns argument to configure.in. This will *so* not work on Windows yet.
...
svn:r6525
2006-06-03 20:52:24 +00:00
Nick Mathewson
7cb3232ade
Add async dns code from Adam Langley, tweaked to build on OSX. Long-term, we may want to switch to libevnet/c-ares, if they ever handle 10k fd situations properly. This one still needs work too, but at least it is small. This code is disabled by default, and not integrated with dns.c.
...
svn:r6524
2006-06-03 19:49:42 +00:00
Nick Mathewson
86da3e0a0a
Patch based on post by Mike C to or-dev; special-case based on use of MSVC, rather than on MS_WINDOWS, so that mingw builds.
...
svn:r6523
2006-06-03 18:52:31 +00:00
Roger Dingledine
8f902e4b58
don't stop fetching server descriptors if we're a server and
...
haven't found ourselves reachable yet.
svn:r6522
2006-06-03 02:56:44 +00:00
Roger Dingledine
2431b2d8b0
update the explanation for deprecating v0 control spec.
...
svn:r6521
2006-06-01 08:43:56 +00:00
Nick Mathewson
bbe3f587aa
Rearrange TODO.
...
svn:r6520
2006-05-30 20:41:22 +00:00
Roger Dingledine
4d76b4351e
mark off a todo item. i'll put it back if it turns out it
...
doesn't work.
svn:r6519
2006-05-30 06:36:32 +00:00
Roger Dingledine
1bf0f99b66
connection_t kept the identity_pkey but all it did was store it and
...
free it. perhaps we don't need it after all?
svn:r6518
2006-05-30 06:23:44 +00:00
Roger Dingledine
9000a5aff1
and get grammar right
...
svn:r6517
2006-05-30 06:19:48 +00:00
Roger Dingledine
ae2648fb1c
stop fetching descriptors if we're not a dir mirror and we
...
haven't tried to establish any circuits lately.
svn:r6516
2006-05-30 06:19:06 +00:00
Roger Dingledine
1f0e20806b
END_CIRC_REASON_OR_IDENTITY apparently means that we were told to
...
connect to a different OR than lives on the addr:port we connected
to. we don't actually remember whether that was the case, currently.
so call it END_CIRC_REASON_OR_CONN_CLOSED as a compromise.
svn:r6515
2006-05-30 06:17:28 +00:00
Roger Dingledine
64b1f2fc75
and clarify the spec to say this too.
...
svn:r6514
2006-05-30 06:11:46 +00:00
Roger Dingledine
60abe23158
tentative change: if you have your dirport set, you are a directory
...
mirror, whether or not your orport is set.
svn:r6513
2006-05-30 06:11:36 +00:00
Roger Dingledine
1e4923652b
simplify a log message
...
svn:r6512
2006-05-30 05:29:03 +00:00
Roger Dingledine
cf58781de1
remove a few things from the 0.1.2 todo, and add one
...
svn:r6511
2006-05-30 05:05:50 +00:00
Nick Mathewson
64d487a2d6
Add a basic mmap function, with a "fake-it" wrapper to do read_file_from_str instead. Based on code from Michael Mohr.
...
svn:r6510
2006-05-28 16:54:39 +00:00
Roger Dingledine
f6ff3e6f0e
directory authorities should be more tolerant of failed reachability
...
tests before crying foul to the server operator.
svn:r6509
2006-05-28 16:14:26 +00:00
Roger Dingledine
48be472e4f
clean up a comment
...
svn:r6508
2006-05-28 16:07:44 +00:00
Roger Dingledine
7f611f4732
if we're a server and some peer has a broken tls certificate, don't
...
shout about it unless we want to hear about protocol violations.
svn:r6507
2006-05-26 16:32:16 +00:00
Roger Dingledine
82ae38f649
be more verbose about testing reachability of our ORPort.
...
svn:r6506
2006-05-26 16:29:33 +00:00
Roger Dingledine
f579478687
correct a false log message, since we actually reset all our
...
downloading stats every hour, and sometimes more often.
svn:r6505
2006-05-26 16:29:20 +00:00
Roger Dingledine
731f4086c0
resolve an unused variable
...
svn:r6503
2006-05-26 13:51:45 +00:00
Roger Dingledine
9f005ae66b
build the Makefile in contrib/suse/ too
...
svn:r6502
2006-05-26 13:51:20 +00:00
Andrew Lewman
0cdba91de5
Let AC_OUTPUT know about contrib/suse/tor.sh and we only need tor.sh
...
from contrib/suse
svn:r6501
2006-05-26 13:42:28 +00:00
Andrew Lewman
f9e3b5f24c
Use macros in place of details.
...
svn:r6500
2006-05-26 13:32:56 +00:00
Andrew Lewman
63c1395509
SUSEisms to enable "make dist-rpm" functionality in SuSe
...
svn:r6499
2006-05-26 13:22:20 +00:00
Roger Dingledine
a4cdb834b9
Stop being picky about what the arguments to mapaddress look like.
...
we were refusing names that had $ in them, which people who specify
$key.exit will be sad about. There are likely other examples.
If people can think of reasons why we should be picky, let me know.
svn:r6496
2006-05-25 20:06:09 +00:00
Roger Dingledine
3cd01ca9a1
make cookie authentication for the controller work again, maybe.
...
it sure doesn't now.
svn:r6494
2006-05-24 23:03:28 +00:00
Roger Dingledine
6066d68ac3
make options->RedirectExit work again; resolve bug 293.
...
svn:r6492
2006-05-24 11:13:03 +00:00
Andrew Lewman
8c49a46eee
Add in the key CFBundleIdentifier required by XCode 2.x and beyond.
...
svn:r6491
2006-05-24 05:01:29 +00:00
Roger Dingledine
36712a443b
Stop initializing the hardware accelerator engines simply because
...
we overloaded the meaning of the argument to crypto_global_init().
svn:r6490
2006-05-24 00:37:38 +00:00
Roger Dingledine
67a885ecac
Claim a commonname of Tor, rather than TOR, in tls handshakes.
...
Maybe this will help us win the war of names.
svn:r6489
2006-05-24 00:21:55 +00:00
Roger Dingledine
be2833e929
fix spelling of VirtualAddrNetwork in man page (thanks tup)
...
svn:r6487
2006-05-23 20:15:51 +00:00
Peter Palfrader
346cc24f40
Forward port changelog
...
svn:r6486
2006-05-23 18:19:36 +00:00
Roger Dingledine
614bb7d7b5
final changelog for 0.1.1.20. it is done.
...
svn:r6479
2006-05-23 17:00:49 +00:00
Roger Dingledine
c1c53a0f67
another todo item that will make goodell happy
...
svn:r6478
2006-05-23 15:26:51 +00:00
Roger Dingledine
b65c43939e
trim out the parts of cross.sh that don't make sense now that we've
...
applied cross-path directly.
also, now we can run cross.sh from the tarball, not just from cvs.
svn:r6477
2006-05-23 15:06:05 +00:00
Nick Mathewson
21a05b3ba5
Mark cross-compilation as solved in TODO.
...
svn:r6476
2006-05-23 08:54:26 +00:00
Nick Mathewson
820a7a2c24
Add cross.sh cross-compilation script from Michael Mohr. Trivial backport candidate, since adding a new script cannot possibly break anything.
...
svn:r6475
2006-05-23 08:50:39 +00:00
Nick Mathewson
c1054ffe92
Patch from Michael Mohr to fix cross-compilation. Backport candidate. Tweaked to use sensible defaults for NULL_REP_IS_ZERO_BYTES and TIME_T_IS_SIGNED.
...
svn:r6474
2006-05-23 08:38:18 +00:00
Nick Mathewson
89a8411ace
Throw out this UNALIGNED_INT_ACCESS_OK nonsense. Even where it works, it is often way way slower than doing the right thing. Backport candidate.
...
svn:r6473
2006-05-23 08:23:03 +00:00
Roger Dingledine
13c4590dd1
ignore RunAsDaemon more thoroughly when we're running on windows.
...
svn:r6471
2006-05-23 07:04:55 +00:00
Roger Dingledine
a16bd23ad9
document that runasdaemon has no effect on windows.
...
svn:r6469
2006-05-23 07:03:30 +00:00
Roger Dingledine
3ff02556fc
continue messing with the changelog. it's getting better now.
...
svn:r6468
2006-05-23 06:20:35 +00:00
Roger Dingledine
339237d1d9
claim a few of the todo items.
...
i guess that means i'm hoping nick does the rest. ;)
svn:r6467
2006-05-23 04:05:45 +00:00
Roger Dingledine
bd165ccccd
two more todo items that need to be solved during the wsaenobufs quest.
...
svn:r6466
2006-05-23 03:27:39 +00:00
Roger Dingledine
6b058bd563
add a few more debugging lines to help mikec track down his
...
11 minute jump into the future.
svn:r6465
2006-05-23 03:08:30 +00:00
Nick Mathewson
55c38f88b9
Remove string size limit on NEWDESC messages; solve bug 291.
...
svn:r6463
2006-05-22 23:24:06 +00:00