Andrew Lewman
3f0e4622b6
Grammar fixes for clarity.
...
svn:r6797
2006-07-21 04:30:19 +00:00
Roger Dingledine
237c7ecbfd
tweak
...
svn:r6796
2006-07-20 23:45:26 +00:00
Roger Dingledine
97a14b2018
tweak
...
svn:r6795
2006-07-20 23:33:11 +00:00
Nick Mathewson
8930468582
Document HELLO cells and proposed connection protocol versioning scheme. NOTE: This will not work as documented; see notes.
...
svn:r6794
2006-07-20 17:35:54 +00:00
Nick Mathewson
0c3ca41d3c
Add a few more paragraphs to path-spec.txt
...
svn:r6793
2006-07-20 16:48:02 +00:00
Nick Mathewson
ee32b06897
Fork off v0 of the protocol spec; we are going to add versioning soon so we can make backward-incompatible changes without breaking the whole network. Also, fork the v0 directory protocol into its own document, and turn dir-spec.txt into the present tense.
...
svn:r6792
2006-07-20 16:47:35 +00:00
Roger Dingledine
db657ea0af
don't squeal if the first few retries fail.
...
svn:r6791
2006-07-18 04:48:59 +00:00
Roger Dingledine
892f671f59
Define a schedule for how long to wait between retrying
...
application connections. Rather than waiting a fixed amount of
time between each retry, we wait only 5 seconds for the first,
10 seconds for the second, and 15 seconds for each retry after
that. Hopefully this will improve the expected experience.
Addresses bug 297.
svn:r6790
2006-07-18 04:42:32 +00:00
Andrew Lewman
1d02d24afa
Load and start tor in launchd at end of installation
...
svn:r6789
2006-07-18 04:40:02 +00:00
Andrew Lewman
cb32336e19
Add the output of OSX arch into the package name in preparation for ppc
...
vs x86 packages.
svn:r6788
2006-07-18 04:37:43 +00:00
Roger Dingledine
e1f30a5f21
when we find our dirport to be reachable, mark our descriptor
...
dirty so we'll tell the world. (fixes bug 306 reported by pnx)
svn:r6787
2006-07-18 03:06:55 +00:00
Roger Dingledine
ac258d2cc8
Start publishing one minute or so after we find our ORPort
...
to be reachable. This will help reduce the number of descriptors
we have for ourselves floating around, since it's quite likely
other things (e.g. DirPort) will change during that minute too.
svn:r6786
2006-07-18 03:06:12 +00:00
Nick Mathewson
7fcb267e24
Oh. And apparently, msvc6 doesnt think very much of doing u64-and-double arithmetic either.
...
svn:r6785
2006-07-18 02:24:01 +00:00
Nick Mathewson
77c28d112b
Hm. We probably should define INT64_MAX if we really want it. (Especially since we only want it on one platform, where, coincidentally, it is not defined.)
...
svn:r6784
2006-07-18 02:01:32 +00:00
Roger Dingledine
388ac4126a
If we are using an exit enclave and we can't connect, e.g. because
...
its webserver is misconfigured to not listen on localhost, then back
off and try connecting from somewhere else before we fail.
svn:r6783
2006-07-18 00:59:46 +00:00
Roger Dingledine
a8444c6f53
pick a log domain; resolve an xxxx
...
svn:r6782
2006-07-18 00:01:12 +00:00
Roger Dingledine
84a246e534
shuffle todo items
...
svn:r6781
2006-07-17 19:42:22 +00:00
Roger Dingledine
c85745cfe2
parameterize the loudness of log_addr_has_changed(), since it's the
...
only place where we inform the user of a new IP address, if we're
guessing it from external sources.
svn:r6780
2006-07-17 19:33:54 +00:00
Roger Dingledine
542adb88d7
Make a louder statement the first time we learn a guessed
...
IP address.
svn:r6779
2006-07-17 08:17:51 +00:00
Roger Dingledine
c055a34cdb
huge bugfix: we weren't ever writing an http header when sending
...
out network statuses! so clients were downloading the whole thing,
and then discarding them because they're malformed.
svn:r6778
2006-07-17 08:11:27 +00:00
Roger Dingledine
a2a89da693
and don't try to build the descriptor every second, if it's dirty
...
but we don't have a known address.
svn:r6777
2006-07-17 06:59:56 +00:00
Roger Dingledine
42e2057d67
fix some more places where we shouldn't crash if we can't build
...
our own descriptor yet.
svn:r6775
2006-07-17 06:54:28 +00:00
Roger Dingledine
9db7b2c068
Allow servers with no hostname or IP address to learn their IP address
...
by asking the directory authorities. This code only kicks in when you
would normally have exited with a "no address" error.
This design is flawed, though, since the X-Your-Address-Is header is not
authenticated, and doing it this way introduces too many new attacks. The
right answer is to give IP address hints inside the HELLO cell; much of
this code can be reused when we switch.
svn:r6774
2006-07-17 06:35:06 +00:00
Roger Dingledine
8868830ac5
we are constrained more than we realized, on what g^x values we can
...
accept or refuse.
svn:r6773
2006-07-17 06:26:19 +00:00
Roger Dingledine
fc7c32da8a
fix wordo
...
svn:r6772
2006-07-17 06:20:09 +00:00
Roger Dingledine
48ea06ea02
nick suggests that the hello cell should have both server IP and
...
client IP. he's right.
svn:r6771
2006-07-17 05:12:54 +00:00
Andrew Lewman
b4433c674d
Minor fixed for launchd xml plist
...
svn:r6770
2006-07-17 04:31:22 +00:00
Andrew Lewman
47bf7abc1a
Added net.freehaven.tor.plist to AC_OUTPUT
...
svn:r6769
2006-07-17 03:57:21 +00:00
Nick Mathewson
e572d5990c
MSVC6 is apparently terrified of unnatural cross-breeding between uint64_t and double, and needs more persuasion than usual to cast one to the other. Issue identified by Frediano Ziglio; patch revised for minimal impact on non-MSVC6 compilers.
...
svn:r6768
2006-07-17 00:39:05 +00:00
Andrew Lewman
169d6c4aca
Remove a merged if-then from line 85
...
svn:r6767
2006-07-16 18:18:40 +00:00
Andrew Lewman
1478636f54
Change the way Tor starts on OSX 10.4 vs pre-10.4. 10.4 Tor now uses
...
launchd for current and forward compatibility.
svn:r6766
2006-07-16 13:58:10 +00:00
Roger Dingledine
886b10bbe2
whitespace/etc cleanups
...
svn:r6765
2006-07-16 05:57:11 +00:00
Roger Dingledine
ee5f512e13
parameterize the loudness of resolve_my_address(), and call things
...
IP addresses, not IPs.
svn:r6764
2006-07-15 20:26:05 +00:00
Roger Dingledine
3d79eb52ab
stick to nick's nul/null convention
...
svn:r6763
2006-07-15 19:21:30 +00:00
Roger Dingledine
0ada963ef6
add a whole lot more work to the todo.
...
svn:r6762
2006-07-15 05:53:41 +00:00
Roger Dingledine
1c23ae80b7
mention the existence of dir-spec in tor-spec, and note that we need
...
to update it.
svn:r6761
2006-07-15 05:50:22 +00:00
Roger Dingledine
182589dae6
minor tweak on the dir spec
...
svn:r6760
2006-07-15 05:49:57 +00:00
Roger Dingledine
c4411841d2
Avoid an integer underflow when the dir authority decides whether a
...
router is stable: we might wrongly label it stable, and compute a slightly
wrong median stability, when a descriptor is published later than now.
Inspired by Matt's Vidalia checkin:
http://trac.vidalia-project.net/changeset/1074
svn:r6758
2006-07-14 03:14:02 +00:00
Andrew Lewman
2c20882f02
Update config to redirect output to the tor log file for now.
...
svn:r6757
2006-07-12 22:09:21 +00:00
Nick Mathewson
a0cf95e1c9
Add some debugging asserts to dns.c; these are too expensive to leave in permanently.
...
svn:r6756
2006-07-11 20:51:58 +00:00
Andrew Lewman
3388722c28
Move cmd line parameters into the config file, remove chroot, and
...
satisfy the requirement of a ProgramArgument array
svn:r6755
2006-07-11 20:51:06 +00:00
Andrew Lewman
4f6cd129c9
Add in start parameters. Perhaps we should ship these set correct in
...
the default torrc.
svn:r6754
2006-07-11 04:37:05 +00:00
Andrew Lewman
546d07bc67
First crack at launchd plist for Tor
...
svn:r6753
2006-07-11 04:27:12 +00:00
Nick Mathewson
c32e19b4ed
OR_CONN_EVENT_NEW: we should probably handle that , should we not? Especially since 23:26 < phobos> nickm: grep -c "Unrecognized status code 4" tor.log
...
svn:r6752
2006-07-11 03:33:16 +00:00
Nick Mathewson
39344fc301
Add a const; fix a (probably harmless) bug when storing a resolve we forgot we asked for.
...
svn:r6751
2006-07-10 18:38:57 +00:00
Nick Mathewson
d5d7f8e62c
Fix project file for MSVC6 (!). Patch from Frediano Ziglio.
...
svn:r6750
2006-07-09 22:33:21 +00:00
Nick Mathewson
28a7c8a64c
Make compilation work on old MSVCs without GetVertsionEx magic. Patch from Frediano Ziglio.
...
svn:r6749
2006-07-09 22:29:12 +00:00
Nick Mathewson
a7a1d4e3d3
First part of making mmap-based stuff work on win32: save descriptors as "binary" (no LF->CRLF tanslation) so that we can mmap them properly later. Patch from Frediano Ziglio.
...
svn:r6748
2006-07-09 22:28:12 +00:00
Roger Dingledine
51454157a0
Fix a crash if you enable FascistFirewall but not FirewallPorts.
...
Reported by Frediano Ziglio.
svn:r6746
2006-07-08 17:38:46 +00:00
Nick Mathewson
0bbc4aca9b
Spellcheck and remove spurious include in eventdns.c
...
svn:r6745
2006-07-07 19:08:44 +00:00