Commit Graph

6165 Commits

Author SHA1 Message Date
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
Nick Mathewson
a40ad152b1 When using eventdns: suppress logging of addresses when SafeLogging is active, and make set of nameservers configurable from torrc.
svn:r6744
2006-07-07 17:33:30 +00:00
Nick Mathewson
f33c4f9781 eventdns: check for malloc() failures.
svn:r6743
2006-07-07 17:31:56 +00:00
Andrew Lewman
0c0aadae92 Updated OSX binary un-installer for testing.
svn:r6742
2006-07-07 00:55:12 +00:00
Andrew Lewman
f52bcc908d Binary OSX un-installer tarball
svn:r6741
2006-07-07 00:54:39 +00:00
Andrew Lewman
4d5cbe006b Remove osx binary uninstaller changes. Tiger and Panther won't play
nice in the same way.


svn:r6739
2006-07-06 16:28:19 +00:00
Roger Dingledine
dad1e27440 forward-port the 0.1.1.22 changelog, minus the line about
the osx uninstaller.


svn:r6738
2006-07-06 16:19:00 +00:00
Andrew Lewman
d25a823818 Update osx binary un-installer naming, remove invalid osx binary
un-installer app


svn:r6736
2006-07-06 15:51:07 +00:00
Roger Dingledine
85fd582192 rename X-You-Are to something slightly better.
svn:r6735
2006-07-06 03:05:01 +00:00
Roger Dingledine
7f01dc9c1c whitespace/tab fixes
svn:r6734
2006-07-06 02:45:46 +00:00
Roger Dingledine
fad85f173a when an exit node gets a malformed begin cell, don't complain to
the node operator, since he can't do anything about it.


svn:r6733
2006-07-06 02:44:07 +00:00
Nick Mathewson
3c4205c872 Clean up eventdns messages.
svn:r6730
2006-07-05 21:42:18 +00:00
Nick Mathewson
54779025e2 Spelling fix.
svn:r6729
2006-07-05 21:33:46 +00:00
Nick Mathewson
42ef3bd90c Add plausile logging support to eventdns; stop putting stuff onto stdout.
svn:r6728
2006-07-05 21:28:37 +00:00
Roger Dingledine
0ec293b189 actually, that excludenodes fix was redundant. take it out.
svn:r6727
2006-07-05 18:19:42 +00:00
Roger Dingledine
98c6bf6192 oops, we were ignoring options->ExcludeNodes when picking entry guards.
it is still the case that we ignore it with respect to entry guards
that we've already picked.


svn:r6726
2006-07-04 20:25:17 +00:00
Roger Dingledine
4fc7426b93 Make the X-You-Are header more accurate when there's a proxy in the middle.
svn:r6722
2006-07-04 18:18:08 +00:00