]>
git.ipfire.org Git - thirdparty/tor.git/log
Roger Dingledine [Mon, 2 Jan 2006 04:40:18 +0000 (04:40 +0000)]
check for integer overflows in more places, when adding elements to
smartlists. this could possibly prevent a buffer overflow on malicious
huge inputs. i don't see any, but i haven't looked carefully.
svn:r5695
Roger Dingledine [Mon, 2 Jan 2006 04:14:52 +0000 (04:14 +0000)]
save and validate TorVersion in the state file.
svn:r5694
Roger Dingledine [Mon, 2 Jan 2006 03:32:55 +0000 (03:32 +0000)]
make the "stable" flag in network-status be the median of the uptimes
of running valid servers. that way the cutoff adapts to the stability
of the network as a whole.
svn:r5693
Nick Mathewson [Mon, 2 Jan 2006 00:42:19 +0000 (00:42 +0000)]
Possible fix to state-load bug reported by weasel.
svn:r5692
Nick Mathewson [Sun, 1 Jan 2006 23:13:19 +0000 (23:13 +0000)]
Clearner fix for timegm assert problem.
svn:r5690
Nick Mathewson [Sun, 1 Jan 2006 23:09:19 +0000 (23:09 +0000)]
Fix assertion-trigger bug found by sjmurdoch
svn:r5689
Peter Palfrader [Sat, 31 Dec 2005 11:52:13 +0000 (11:52 +0000)]
Make tor compile again
svn:r5688
Roger Dingledine [Sat, 31 Dec 2005 08:16:07 +0000 (08:16 +0000)]
add a TorVersion state string.
not yet set to anything.
svn:r5687
Roger Dingledine [Sat, 31 Dec 2005 08:09:26 +0000 (08:09 +0000)]
Some tor servers process billions of cells in a matter of days.
These statistics need to be uint64_t's.
svn:r5686
Roger Dingledine [Sat, 31 Dec 2005 07:39:47 +0000 (07:39 +0000)]
the last entrynodes item is done
svn:r5685
Roger Dingledine [Sat, 31 Dec 2005 06:37:34 +0000 (06:37 +0000)]
get rid of the special case for 'testing' circuits
svn:r5684
Roger Dingledine [Sat, 31 Dec 2005 06:32:57 +0000 (06:32 +0000)]
Finish implementing config's EntryNodes and StrictEntryNodes option.
The logging is way verbose for now.
svn:r5683
Roger Dingledine [Sat, 31 Dec 2005 06:26:10 +0000 (06:26 +0000)]
whitespace fixes
svn:r5682
Roger Dingledine [Fri, 30 Dec 2005 04:46:43 +0000 (04:46 +0000)]
load balance a bit better by taking some load off the really
fast servers.
this might slow things down more, or it might not. hm.
svn:r5681
Roger Dingledine [Fri, 30 Dec 2005 04:44:10 +0000 (04:44 +0000)]
fix a typo
svn:r5680
Nick Mathewson [Thu, 29 Dec 2005 20:25:53 +0000 (20:25 +0000)]
Appease some verbose GCC warnings.
svn:r5679
Roger Dingledine [Thu, 29 Dec 2005 04:57:19 +0000 (04:57 +0000)]
log how big the failed rend descriptor is, and if it's small, log
a base16 of the whole thing.
svn:r5678
Roger Dingledine [Thu, 29 Dec 2005 04:43:24 +0000 (04:43 +0000)]
when we reject a rend descriptor, tell us where it came from.
svn:r5677
Roger Dingledine [Wed, 28 Dec 2005 09:14:06 +0000 (09:14 +0000)]
mark off a few TODO items
svn:r5676
Roger Dingledine [Wed, 28 Dec 2005 09:13:02 +0000 (09:13 +0000)]
and update the man page
svn:r5675
Roger Dingledine [Wed, 28 Dec 2005 09:11:14 +0000 (09:11 +0000)]
update the control spec to deprecate getinfo helper-nodes
svn:r5674
Roger Dingledine [Wed, 28 Dec 2005 09:07:31 +0000 (09:07 +0000)]
helper nodes are dead. long live entry nodes.
(config options EntryNodes and StrictEntryNodes still not
implemented.)
svn:r5673
Roger Dingledine [Wed, 28 Dec 2005 07:27:41 +0000 (07:27 +0000)]
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
Roger Dingledine [Wed, 28 Dec 2005 07:20:33 +0000 (07:20 +0000)]
but only close it if we have marked an earlier helper as up.
that way we don't close it too needlessly.
svn:r5671
Roger Dingledine [Wed, 28 Dec 2005 07:19:55 +0000 (07:19 +0000)]
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
Roger Dingledine [Tue, 27 Dec 2005 10:11:29 +0000 (10:11 +0000)]
fix a spacing problem introduced by our 80-column requirement
svn:r5669
Roger Dingledine [Tue, 27 Dec 2005 09:25:50 +0000 (09:25 +0000)]
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
Roger Dingledine [Tue, 27 Dec 2005 09:04:36 +0000 (09:04 +0000)]
fix typo
svn:r5667
Roger Dingledine [Tue, 27 Dec 2005 08:54:37 +0000 (08:54 +0000)]
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
Roger Dingledine [Tue, 27 Dec 2005 08:38:22 +0000 (08:38 +0000)]
helpful log
svn:r5665
Roger Dingledine [Tue, 27 Dec 2005 07:37:21 +0000 (07:37 +0000)]
slightly more accurate log messages
svn:r5664
Roger Dingledine [Tue, 27 Dec 2005 07:23:52 +0000 (07:23 +0000)]
first cut of the new helper stuff. seems to work in the normal
case, but many edge cases still need testing.
svn:r5663
Nick Mathewson [Tue, 27 Dec 2005 06:05:54 +0000 (06:05 +0000)]
Make directory caches a little less chatty when logging
svn:r5662
Nick Mathewson [Tue, 27 Dec 2005 05:58:12 +0000 (05:58 +0000)]
Make insert_old try hard to never add a duplicate.
svn:r5661
Nick Mathewson [Tue, 27 Dec 2005 05:26:03 +0000 (05:26 +0000)]
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
Nick Mathewson [Tue, 27 Dec 2005 04:52:34 +0000 (04:52 +0000)]
normalize spaces
svn:r5658
Roger Dingledine [Tue, 27 Dec 2005 02:48:35 +0000 (02:48 +0000)]
and compiling would be good too
svn:r5657
Roger Dingledine [Tue, 27 Dec 2005 02:48:02 +0000 (02:48 +0000)]
and some comments
svn:r5656
Roger Dingledine [Tue, 27 Dec 2005 02:46:53 +0000 (02:46 +0000)]
make it clearer in the auto-generated config file that you
probably shouldn't be editing this one yourself.
svn:r5655
Roger Dingledine [Mon, 26 Dec 2005 22:42:22 +0000 (22:42 +0000)]
disambiguate some debug entries
svn:r5654
Roger Dingledine [Mon, 26 Dec 2005 22:25:38 +0000 (22:25 +0000)]
<b>You need the experimental bundle if you want to run a Tor server
and configure it via TorCP.</b>
svn:r5653
Roger Dingledine [Mon, 26 Dec 2005 05:52:44 +0000 (05:52 +0000)]
comments? i'll show you comments.
svn:r5652
Roger Dingledine [Mon, 26 Dec 2005 04:41:56 +0000 (04:41 +0000)]
those are separate statements
svn:r5651
Nick Mathewson [Sun, 25 Dec 2005 16:24:42 +0000 (16:24 +0000)]
suse tor.spec patch from Stefan Nordhausen
svn:r5650
Roger Dingledine [Sun, 25 Dec 2005 05:44:39 +0000 (05:44 +0000)]
fix almost-ambiguity
svn:r5649
Roger Dingledine [Sun, 25 Dec 2005 05:44:30 +0000 (05:44 +0000)]
mention that getinfo helper-nodes can return status "never-connected".
also, make explicit that there's a space between status and isotime.
svn:r5648
Roger Dingledine [Sun, 25 Dec 2005 04:37:33 +0000 (04:37 +0000)]
prevent a rare infinite loop on two-byte architectures,
and be more thorough and starting over when the clock jumps.
svn:r5647
Roger Dingledine [Sat, 24 Dec 2005 23:39:20 +0000 (23:39 +0000)]
stop being sneaky, especially if we're being incorrectly sneaky
svn:r5646
Roger Dingledine [Sat, 24 Dec 2005 23:32:35 +0000 (23:32 +0000)]
more comments, and start to use the made_contact entry.
svn:r5645
Roger Dingledine [Sat, 24 Dec 2005 23:32:15 +0000 (23:32 +0000)]
clean up some comments
svn:r5644
Roger Dingledine [Sat, 24 Dec 2005 22:48:12 +0000 (22:48 +0000)]
simplify because we weren't using those return values anyway
svn:r5643
Roger Dingledine [Sat, 24 Dec 2005 20:07:19 +0000 (20:07 +0000)]
start to document the helper node functions
svn:r5642
Roger Dingledine [Sat, 24 Dec 2005 20:04:36 +0000 (20:04 +0000)]
fix typo
svn:r5641
Nick Mathewson [Sat, 24 Dec 2005 17:59:33 +0000 (17:59 +0000)]
Add missing file from last commit. Can the debian package use any of these recent changes?
svn:r5640
Nick Mathewson [Sat, 24 Dec 2005 04:03:39 +0000 (04:03 +0000)]
Apply RPM-related cleanups from John Bashinski
svn:r5639
Roger Dingledine [Sat, 24 Dec 2005 04:02:29 +0000 (04:02 +0000)]
a few non-coding todo items
svn:r5638
Peter Palfrader [Fri, 23 Dec 2005 23:56:42 +0000 (23:56 +0000)]
Keep bandwidth history accross restarts/crashes
svn:r5637
Nick Mathewson [Fri, 23 Dec 2005 19:26:30 +0000 (19:26 +0000)]
Note some more issues we could/should fix with dirctories.
svn:r5636
Nick Mathewson [Fri, 23 Dec 2005 15:47:15 +0000 (15:47 +0000)]
Comments from cat: "space" should include or exclude tabs. We include tabs, so specify that.
svn:r5635
Nick Mathewson [Thu, 22 Dec 2005 19:29:31 +0000 (19:29 +0000)]
Note that you should not download by ID fingerprint.
svn:r5634
Geoff Goodell [Thu, 22 Dec 2005 03:27:37 +0000 (03:27 +0000)]
separate address and port with a space in REDIRECTSTREAM command
svn:r5633
Roger Dingledine [Wed, 21 Dec 2005 14:09:04 +0000 (14:09 +0000)]
point to the new name for the 0.1.1.10 torcp bundle
svn:r5632
Roger Dingledine [Wed, 21 Dec 2005 02:57:24 +0000 (02:57 +0000)]
re-enable the tor 0.1.0.15 bundle package
svn:r5631
Roger Dingledine [Tue, 20 Dec 2005 22:17:42 +0000 (22:17 +0000)]
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
Roger Dingledine [Tue, 20 Dec 2005 07:18:11 +0000 (07:18 +0000)]
and bump tree.h from the LICENSE too.
svn:r5629
Roger Dingledine [Tue, 20 Dec 2005 07:17:42 +0000 (07:17 +0000)]
stop shipping tree.h, since we don't use anymore. (woo.)
svn:r5628
Roger Dingledine [Tue, 20 Dec 2005 04:33:25 +0000 (04:33 +0000)]
hey, matt made a bundle for 0.1.1.10-alpha too
svn:r5627
Roger Dingledine [Tue, 20 Dec 2005 04:10:23 +0000 (04:10 +0000)]
explain the bundle thing better.
svn:r5626
Roger Dingledine [Tue, 20 Dec 2005 03:08:00 +0000 (03:08 +0000)]
add a translation in the 'make sure it's working' section
svn:r5625
Roger Dingledine [Tue, 20 Dec 2005 03:03:18 +0000 (03:03 +0000)]
make the ordering in the document match the ordering in the screenshots.
svn:r5624
Roger Dingledine [Tue, 20 Dec 2005 02:59:30 +0000 (02:59 +0000)]
introduce the links to privoxy and torcp in a more natural way
svn:r5623
Roger Dingledine [Tue, 20 Dec 2005 02:56:06 +0000 (02:56 +0000)]
the world is a happier place when you end your paragraphs.
svn:r5622
Roger Dingledine [Tue, 20 Dec 2005 02:52:19 +0000 (02:52 +0000)]
and update the tor win32 howto to tell people to fetch the bundle
and use torcp by default.
svn:r5621
Roger Dingledine [Mon, 19 Dec 2005 21:56:43 +0000 (21:56 +0000)]
when we fail three times to resolve or connect, we were telling the
user it was because we failed to resolve.
svn:r5620
Peter Palfrader [Mon, 19 Dec 2005 11:10:47 +0000 (11:10 +0000)]
Tell people about MyFamily in tor-doc-server
svn:r5619
Roger Dingledine [Mon, 19 Dec 2005 08:08:57 +0000 (08:08 +0000)]
minor cleanups to the dir-spec
svn:r5618
Nick Mathewson [Mon, 19 Dec 2005 02:52:09 +0000 (02:52 +0000)]
Try to document our current directory thoughts in the spec before I build them: how novel!
svn:r5617
Roger Dingledine [Mon, 19 Dec 2005 00:35:18 +0000 (00:35 +0000)]
more asserts in case weasel can trigger them
svn:r5616
Roger Dingledine [Sun, 18 Dec 2005 22:59:47 +0000 (22:59 +0000)]
fix a seg fault when you finish connecting to a server but
at that moment you dump his server descriptor, and you also
happen to be logging at loglevel info.
(found by weasel)
svn:r5615
Roger Dingledine [Sun, 18 Dec 2005 22:45:27 +0000 (22:45 +0000)]
fix segfault when specifying DirServer without nickname
(reported by weasel)
svn:r5614
Roger Dingledine [Sun, 18 Dec 2005 22:40:34 +0000 (22:40 +0000)]
actually, don't specify local as the whole of net 127, for
torify, because Tor's MAPADDRESS virtual IP space is part of it,
and we want to torify that part.
svn:r5613
Roger Dingledine [Sun, 18 Dec 2005 22:34:24 +0000 (22:34 +0000)]
fix a ! that got left out
svn:r5612
Roger Dingledine [Sun, 18 Dec 2005 21:58:36 +0000 (21:58 +0000)]
the torify config file should not use tor for local (127.x.y.z) addresses.
svn:r5611
Roger Dingledine [Fri, 16 Dec 2005 00:14:33 +0000 (00:14 +0000)]
another todo item we want to do
svn:r5610
Nick Mathewson [Thu, 15 Dec 2005 23:10:40 +0000 (23:10 +0000)]
Describe router download implementation in more detail, so I can do it
svn:r5609
Roger Dingledine [Thu, 15 Dec 2005 22:15:48 +0000 (22:15 +0000)]
remove some finished items from the todo
svn:r5608
Nick Mathewson [Thu, 15 Dec 2005 22:10:03 +0000 (22:10 +0000)]
Instead of "Network down", say "Is your network connection down?"
svn:r5607
Roger Dingledine [Thu, 15 Dec 2005 22:00:07 +0000 (22:00 +0000)]
revise the spec to remove the "Ports" line of the descriptor, to indicate
that putting ports on the "router" line is no longer deprecated, and
to say that SocksPort is deprecated and should always be 0.
svn:r5606
Roger Dingledine [Thu, 15 Dec 2005 21:51:12 +0000 (21:51 +0000)]
nother typo
svn:r5605
Roger Dingledine [Thu, 15 Dec 2005 21:44:23 +0000 (21:44 +0000)]
ah ha, that variable was static. not useless after all.
svn:r5604
Roger Dingledine [Thu, 15 Dec 2005 21:41:27 +0000 (21:41 +0000)]
clean up a lot message, and remove a line that does nothing.
svn:r5603
Nick Mathewson [Thu, 15 Dec 2005 21:39:49 +0000 (21:39 +0000)]
update completed items
svn:r5602
Nick Mathewson [Thu, 15 Dec 2005 21:39:38 +0000 (21:39 +0000)]
Add "panic" option to reject all servers not in fingerprint list.
svn:r5601
Nick Mathewson [Thu, 15 Dec 2005 21:38:59 +0000 (21:38 +0000)]
fix compile
svn:r5600
Nick Mathewson [Thu, 15 Dec 2005 21:30:57 +0000 (21:30 +0000)]
Make clients look at the fast and stable flags in networkstatus, not at the bandwidth and uptime declared in the router descriptors.
svn:r5599
Roger Dingledine [Thu, 15 Dec 2005 21:26:52 +0000 (21:26 +0000)]
put back in a todo comment, so we don't forget.
svn:r5598
Roger Dingledine [Thu, 15 Dec 2005 21:26:39 +0000 (21:26 +0000)]
fix typo
svn:r5597
Nick Mathewson [Thu, 15 Dec 2005 21:17:40 +0000 (21:17 +0000)]
Whitespace fixes; comments.
svn:r5596
Nick Mathewson [Thu, 15 Dec 2005 21:15:16 +0000 (21:15 +0000)]
Do not mark directories as down simply because they dont have the router descs we want.
svn:r5595
Nick Mathewson [Thu, 15 Dec 2005 20:58:51 +0000 (20:58 +0000)]
Remove some redundant and obsolete code from routerparse
svn:r5594