Commit Graph

5202 Commits

Author SHA1 Message Date
Roger Dingledine
2904c6f024 log how big the failed rend descriptor is, and if it's small, log
a base16 of the whole thing.


svn:r5678
2005-12-29 04:57:19 +00:00
Roger Dingledine
14ea2e0b56 when we reject a rend descriptor, tell us where it came from.
svn:r5677
2005-12-29 04:43:24 +00:00
Roger Dingledine
01d71c709b mark off a few TODO items
svn:r5676
2005-12-28 09:14:06 +00:00
Roger Dingledine
316f241585 and update the man page
svn:r5675
2005-12-28 09:13:02 +00:00
Roger Dingledine
6efda1073d update the control spec to deprecate getinfo helper-nodes
svn:r5674
2005-12-28 09:11:14 +00:00
Roger Dingledine
dbd7b97eff helper nodes are dead. long live entry nodes.
(config options EntryNodes and StrictEntryNodes still not
implemented.)


svn:r5673
2005-12-28 09:07:31 +00:00
Roger Dingledine
5d9256a367 but only close the new conn if one of the earlier helper nodes
that we mark up is actually reachable, fast enough, etc to use.


svn:r5672
2005-12-28 07:27:41 +00:00
Roger Dingledine
c1145138ea but only close it if we have marked an earlier helper as up.
that way we don't close it too needlessly.


svn:r5671
2005-12-28 07:20:33 +00:00
Roger Dingledine
60cd03069a when we connect to a helper node for the first time, close
that connection and its circuits. this lets us go back to
using the old helper nodes rather than immediately using
the last one in the list.


svn:r5670
2005-12-28 07:19:55 +00:00
Roger Dingledine
bbc4c8cef8 fix a spacing problem introduced by our 80-column requirement
svn:r5669
2005-12-27 10:11:29 +00:00
Roger Dingledine
d2171cb7a4 if the network is down, and we try to connect to a conn because we
have a circuit in mind, and we timeout (30 seconds) because the
network never answers, we were expiring the circuit, but we weren't
obsoleting the connection or telling the helper functions. now do that.


svn:r5668
2005-12-27 09:25:50 +00:00
Roger Dingledine
4088f7dfd1 fix typo
svn:r5667
2005-12-27 09:04:36 +00:00
Roger Dingledine
f46c135fac when we succeed at connecting to a helper that we've never connected
to before, mark all the previous helpers as up. This is handy if the
network went away and then returned.


svn:r5666
2005-12-27 08:54:37 +00:00
Roger Dingledine
25fcb5fa9c helpful log
svn:r5665
2005-12-27 08:38:22 +00:00
Roger Dingledine
976bf06463 slightly more accurate log messages
svn:r5664
2005-12-27 07:37:21 +00:00
Roger Dingledine
25052c6f4b first cut of the new helper stuff. seems to work in the normal
case, but many edge cases still need testing.


svn:r5663
2005-12-27 07:23:52 +00:00
Nick Mathewson
9ef54a3d0c Make directory caches a little less chatty when logging
svn:r5662
2005-12-27 06:05:54 +00:00
Nick Mathewson
fa0d5aa894 Make insert_old try hard to never add a duplicate.
svn:r5661
2005-12-27 05:58:12 +00:00
Nick Mathewson
ece9865020 Implement new directory logic: download by descriptor digest, not by key digest. Caches try to download all listed digests from authorities; clients try to download "best" digests from caches.
svn:r5659
2005-12-27 05:26:03 +00:00
Nick Mathewson
d94b9fd7d2 normalize spaces
svn:r5658
2005-12-27 04:52:34 +00:00
Roger Dingledine
94bff33357 and compiling would be good too
svn:r5657
2005-12-27 02:48:35 +00:00
Roger Dingledine
370dcbc7ba and some comments
svn:r5656
2005-12-27 02:48:02 +00:00
Roger Dingledine
5807bd0635 make it clearer in the auto-generated config file that you
probably shouldn't be editing this one yourself.


svn:r5655
2005-12-27 02:46:53 +00:00
Roger Dingledine
b038dc9ecc disambiguate some debug entries
svn:r5654
2005-12-26 22:42:22 +00:00
Roger Dingledine
df14fdfb8b <b>You need the experimental bundle if you want to run a Tor server
and configure it via TorCP.</b>


svn:r5653
2005-12-26 22:25:38 +00:00
Roger Dingledine
815df977cf comments? i'll show you comments.
svn:r5652
2005-12-26 05:52:44 +00:00
Roger Dingledine
92a4b6e370 those are separate statements
svn:r5651
2005-12-26 04:41:56 +00:00
Nick Mathewson
726f43bdc0 suse tor.spec patch from Stefan Nordhausen
svn:r5650
2005-12-25 16:24:42 +00:00
Roger Dingledine
e1dd63b43e fix almost-ambiguity
svn:r5649
2005-12-25 05:44:39 +00:00
Roger Dingledine
782efd9e93 mention that getinfo helper-nodes can return status "never-connected".
also, make explicit that there's a space between status and isotime.


svn:r5648
2005-12-25 05:44:30 +00:00
Roger Dingledine
40c267a89f prevent a rare infinite loop on two-byte architectures,
and be more thorough and starting over when the clock jumps.


svn:r5647
2005-12-25 04:37:33 +00:00
Roger Dingledine
7e0d62b14a stop being sneaky, especially if we're being incorrectly sneaky
svn:r5646
2005-12-24 23:39:20 +00:00
Roger Dingledine
b0144276db more comments, and start to use the made_contact entry.
svn:r5645
2005-12-24 23:32:35 +00:00
Roger Dingledine
7cc53c2281 clean up some comments
svn:r5644
2005-12-24 23:32:15 +00:00
Roger Dingledine
35986a2374 simplify because we weren't using those return values anyway
svn:r5643
2005-12-24 22:48:12 +00:00
Roger Dingledine
3a2ce447b4 start to document the helper node functions
svn:r5642
2005-12-24 20:07:19 +00:00
Roger Dingledine
c3d3e130c4 fix typo
svn:r5641
2005-12-24 20:04:36 +00:00
Nick Mathewson
ad55cb36c3 Add missing file from last commit. Can the debian package use any of these recent changes?
svn:r5640
2005-12-24 17:59:33 +00:00
Nick Mathewson
221fc8d709 Apply RPM-related cleanups from John Bashinski
svn:r5639
2005-12-24 04:03:39 +00:00
Roger Dingledine
7db5ae23f5 a few non-coding todo items
svn:r5638
2005-12-24 04:02:29 +00:00
Peter Palfrader
4bd65f0f98 Keep bandwidth history accross restarts/crashes
svn:r5637
2005-12-23 23:56:42 +00:00
Nick Mathewson
f7e82babcb Note some more issues we could/should fix with dirctories.
svn:r5636
2005-12-23 19:26:30 +00:00
Nick Mathewson
4417017197 Comments from cat: "space" should include or exclude tabs. We include tabs, so specify that.
svn:r5635
2005-12-23 15:47:15 +00:00
Nick Mathewson
9afeacac3b Note that you should not download by ID fingerprint.
svn:r5634
2005-12-22 19:29:31 +00:00
Geoff Goodell
341ff5be94 separate address and port with a space in REDIRECTSTREAM command
svn:r5633
2005-12-22 03:27:37 +00:00
Roger Dingledine
2578bb60d8 point to the new name for the 0.1.1.10 torcp bundle
svn:r5632
2005-12-21 14:09:04 +00:00
Roger Dingledine
2849bc2ab0 re-enable the tor 0.1.0.15 bundle package
svn:r5631
2005-12-21 02:57:24 +00:00
Roger Dingledine
ff0a234cd4 point people to the experimental tor win32 bundle until matt
can fix the stable one.
("stable? i do not think it means what you think it means."


svn:r5630
2005-12-20 22:17:42 +00:00
Roger Dingledine
fbaa196dc6 and bump tree.h from the LICENSE too.
svn:r5629
2005-12-20 07:18:11 +00:00
Roger Dingledine
eecb835527 stop shipping tree.h, since we don't use anymore. (woo.)
svn:r5628
2005-12-20 07:17:42 +00:00