]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
16 years agobump to 0.2.1.11-alpha, clean up changelog tor-0.2.1.11-alpha
Roger Dingledine [Tue, 20 Jan 2009 23:33:04 +0000 (23:33 +0000)] 
bump to 0.2.1.11-alpha, clean up changelog

svn:r18192

16 years agoremove some done items, clarify a few others
Roger Dingledine [Tue, 20 Jan 2009 22:55:23 +0000 (22:55 +0000)] 
remove some done items, clarify a few others

svn:r18190

16 years agoAdd a better (non-locale-having) ctypes implementation to avoid protocol and parsing...
Nick Mathewson [Tue, 20 Jan 2009 21:33:56 +0000 (21:33 +0000)] 
Add a better (non-locale-having) ctypes implementation to avoid protocol and parsing mismatches on different platforms.

svn:r18189

16 years agoDiscuss effect of adjusting node selection probability based on exit policy
Steven Murdoch [Tue, 20 Jan 2009 11:41:49 +0000 (11:41 +0000)] 
Discuss effect of adjusting node selection probability based on exit policy

svn:r18188

16 years agomark off some done items
Roger Dingledine [Sun, 18 Jan 2009 20:48:43 +0000 (20:48 +0000)] 
mark off some done items

svn:r18173

16 years agomove my microdescriptors proposal into slot 158
Roger Dingledine [Sun, 18 Jan 2009 18:57:20 +0000 (18:57 +0000)] 
move my microdescriptors proposal into slot 158

svn:r18172

16 years agoclean up my microdescriptors proposals now that i've slept on it
Roger Dingledine [Sun, 18 Jan 2009 18:56:28 +0000 (18:56 +0000)] 
clean up my microdescriptors proposals now that i've slept on it

svn:r18171

16 years agomake it work with base64
Peter Palfrader [Sun, 18 Jan 2009 13:22:47 +0000 (13:22 +0000)] 
make it work with base64

base64 from coreutils is really picky about the number of equation
marks (=) that end a base64 encoded string.  Unfortunately Tor doesn't
believe they are important at all so it cuts them all off all the time.

For perl purposes we just added a good measure of = and were happy about
it.  For base64 we now need to add the proper number of equation marks.
It turns out that number is 1 for the length of strings we process.

svn:r18170

16 years agoAliases do not work so well in scripts
Peter Palfrader [Sun, 18 Jan 2009 13:22:45 +0000 (13:22 +0000)] 
Aliases do not work so well in scripts

svn:r18169

16 years agoAdd base64-decode as an alias or shell function. it was a proper binary in sarge
Peter Palfrader [Sun, 18 Jan 2009 13:12:47 +0000 (13:12 +0000)] 
Add base64-decode as an alias or shell function.  it was a proper binary in sarge

svn:r18168

16 years agoUpdate lists of directory authorities.
Karsten Loesing [Sun, 18 Jan 2009 13:03:44 +0000 (13:03 +0000)] 
Update lists of directory authorities.

svn:r18167

16 years agotouchups
Roger Dingledine [Sun, 18 Jan 2009 10:22:13 +0000 (10:22 +0000)] 
touchups

svn:r18165

16 years agothe rest of the propsets i noticed we were missing in the ideas/ dir
Roger Dingledine [Sun, 18 Jan 2009 09:51:23 +0000 (09:51 +0000)] 
the rest of the propsets i noticed we were missing in the ideas/ dir

svn:r18164

16 years agosome notes on how exactly to do this microdescriptor thing.
Roger Dingledine [Sun, 18 Jan 2009 09:51:09 +0000 (09:51 +0000)] 
some notes on how exactly to do this microdescriptor thing.

svn:r18163

16 years agoMention tor-resolve also
Peter Palfrader [Sun, 18 Jan 2009 01:08:48 +0000 (01:08 +0000)] 
Mention tor-resolve also

svn:r18162

16 years agoDebian changelog for upcoming upstream version fixing #495829
Peter Palfrader [Sun, 18 Jan 2009 01:08:45 +0000 (01:08 +0000)] 
Debian changelog for upcoming upstream version fixing #495829

svn:r18161

16 years agomention that tsocks only socksifies TCP
Peter Palfrader [Sun, 18 Jan 2009 01:05:17 +0000 (01:05 +0000)] 
mention that tsocks only socksifies TCP

In the torify(1) manpage explain that tsocks will only socksify
TCP connections, and that therefore it will most likely leak DNS
requests.

svn:r18160

16 years agoREADME.Debian: No longer claim we change the default 'Group' setting when run
Peter Palfrader [Sun, 18 Jan 2009 00:50:31 +0000 (00:50 +0000)] 
README.Debian: No longer claim we change the default 'Group' setting when run
as debian-user.  That setting no longer exists.

svn:r18159

16 years agoAdd the front end installer exe NSIS scripts for the bundle and net installer package...
Martin Peck [Fri, 16 Jan 2009 00:00:53 +0000 (00:00 +0000)] 
Add the front end installer exe NSIS scripts for the bundle and net installer packages.  And icon used for them.

svn:r18123

16 years agoThis patch changes the default location where config and data files
Nick Mathewson [Thu, 15 Jan 2009 23:07:11 +0000 (23:07 +0000)] 
This patch changes the default location where config and data files
are stored when the --enable-local-appdata option is configured.  This
changes the Windows path from %APPDATA% to a host local
%USERPROFILE%\Local Settings\Application Data\ path (aka,
LOCAL_APPDATA).

Patch from coderman.

svn:r18122

16 years agoTwo simple gradiant place holder graphics referenced in the wxs files would be useful.
Martin Peck [Thu, 15 Jan 2009 21:08:19 +0000 (21:08 +0000)] 
Two simple gradiant place holder graphics referenced in the wxs files would be useful.

svn:r18120

16 years agoAdd initial wxs MSI installer specs for Thandy, TorButton, and Polipo packages.
Martin Peck [Thu, 15 Jan 2009 20:13:47 +0000 (20:13 +0000)] 
Add initial wxs MSI installer specs for Thandy, TorButton, and Polipo packages.

svn:r18119

16 years agoBump openssl version.
Andrew Lewman [Thu, 15 Jan 2009 05:50:57 +0000 (05:50 +0000)] 
Bump openssl version.

svn:r18112

16 years agomake an assert tighter and replace another with an if.
Nick Mathewson [Wed, 14 Jan 2009 06:36:33 +0000 (06:36 +0000)] 
make an assert tighter and replace another with an if.

svn:r18102

16 years agoNow that we can hit the end of router_rebuild_store before chunk_list is set, we...
Nick Mathewson [Wed, 14 Jan 2009 06:36:30 +0000 (06:36 +0000)] 
Now that we can hit the end of router_rebuild_store before chunk_list is set, we need to test it before freeing it.

svn:r18101

16 years agoRefactor MIN_IPS_TO_NOTE_* macros in geoip.c: simplify code.
Nick Mathewson [Wed, 14 Jan 2009 06:20:57 +0000 (06:20 +0000)] 
Refactor MIN_IPS_TO_NOTE_* macros in geoip.c: simplify code.

It was dumb to have an "announce the value if it's over 0" version of
the code coexisting with an "announce the value if it's at least N"
version.  Retain the latter only, with N set to 1.

Incidentally, this should fix a Coverity REVERSE_INULL warning.

svn:r18100

16 years agoFix a compile warning on win32.
Nick Mathewson [Wed, 14 Jan 2009 04:03:24 +0000 (04:03 +0000)] 
Fix a compile warning on win32.

svn:r18099

16 years agoTrue, 17 is greater than 0. But this applies to 4111 as well.
Karsten Loesing [Tue, 13 Jan 2009 15:02:32 +0000 (15:02 +0000)] 
True, 17 is greater than 0. But this applies to 4111 as well.

svn:r18097

16 years agoFix up (I hope) most ot the things that coverity suddenly claimed were REVERSE_INULL...
Nick Mathewson [Tue, 13 Jan 2009 14:43:51 +0000 (14:43 +0000)] 
Fix up (I hope) most ot the things that coverity suddenly claimed were REVERSE_INULL.  This is what we get for bragging about being down to 0 issues.

svn:r18096

16 years agoDo the tor_assert hack everywhere in test_crypto_aes_iv.
Nick Mathewson [Tue, 13 Jan 2009 14:43:46 +0000 (14:43 +0000)] 
Do the tor_assert hack everywhere in test_crypto_aes_iv.

svn:r18095

16 years agoFix a leak memory on the failing case of test_memeq_hex
Nick Mathewson [Tue, 13 Jan 2009 14:43:43 +0000 (14:43 +0000)] 
Fix a leak memory on the failing case of test_memeq_hex

svn:r18094

16 years agoForward port 03_tor_manpage_in_section_8.dpatch
Peter Palfrader [Sun, 11 Jan 2009 11:12:04 +0000 (11:12 +0000)] 
Forward port 03_tor_manpage_in_section_8.dpatch

svn:r18074

16 years agoNew alpha release
Peter Palfrader [Sun, 11 Jan 2009 11:11:47 +0000 (11:11 +0000)] 
New alpha release

svn:r18073

16 years agoFix a harmless-to-us bug in ht.h.
Nick Mathewson [Sat, 10 Jan 2009 14:40:43 +0000 (14:40 +0000)] 
Fix a harmless-to-us bug in ht.h.
There was a field that _HT_FOI_INSERT was never setting. Everything that calls _HT_FOI_INSERT was setting it via tor_malloc_zero, but that's fragile.

svn:r18064

16 years agoFix ServerDNSRandomizeCase so that setting it to 0 works.
Nick Mathewson [Sat, 10 Jan 2009 14:38:14 +0000 (14:38 +0000)] 
Fix ServerDNSRandomizeCase so that setting it to 0 works.
Bugfix on 0.2.1.7-alpha.  Backport candidate. Fixes bug 905.

svn:r18063

16 years agoAUTHENTICATE is really mandatory. No authentication is not quite the default.
Nick Mathewson [Thu, 8 Jan 2009 14:07:05 +0000 (14:07 +0000)] 
AUTHENTICATE is really mandatory.  No authentication is not quite the default.

svn:r18024

16 years agoUpdate wix installer ids for 0.2.1.10-alpha MSI package.
Martin Peck [Thu, 8 Jan 2009 11:25:30 +0000 (11:25 +0000)] 
Update wix installer ids for 0.2.1.10-alpha MSI package.

svn:r18019

16 years agoMake the last bunch of libevent version detection silliness work on macosx.
Nick Mathewson [Wed, 7 Jan 2009 21:13:02 +0000 (21:13 +0000)] 
Make the last bunch of libevent version detection silliness work on macosx.

svn:r18015

16 years agoCheck that Libevent header version matches Libevent library version.
Nick Mathewson [Wed, 7 Jan 2009 21:05:02 +0000 (21:05 +0000)] 
Check that Libevent header version matches Libevent library version.
Unfortunately, old Libevents don't _put_ a version in their headers, so
this can get a little tricky.  Fortunately, the only binary-compatibility
issue we care about is the size of struct event.  Even more fortunately,
Libevent 2.0 will let us keep binary compatiblity forever by letting us
decouple ourselves from the structs, if we like.

svn:r18014

16 years agoDiscard router descriptors as we load them if they are more than
Roger Dingledine [Wed, 7 Jan 2009 02:13:42 +0000 (02:13 +0000)] 
Discard router descriptors as we load them if they are more than
five days old. Otherwise if Tor is off for a long time and then
starts with cached descriptors, it will try to use the onion
keys in those obsolete descriptors when building circuits. Bugfix
on 0.2.0.x. Fixes bug 887.

svn:r17993

16 years agoactually find the right identity_digest to blame when we get
Roger Dingledine [Wed, 7 Jan 2009 00:30:12 +0000 (00:30 +0000)] 
actually find the right identity_digest to blame when we get
a destroy cell from our first hop.

svn:r17991

16 years agowell, that was a disaster. this time for sure.
Roger Dingledine [Tue, 6 Jan 2009 22:20:31 +0000 (22:20 +0000)] 
well, that was a disaster. this time for sure.

svn:r17989

16 years agono actual changes besides a seg fault on startup, i meant
Roger Dingledine [Tue, 6 Jan 2009 21:42:05 +0000 (21:42 +0000)] 
no actual changes besides a seg fault on startup, i meant

svn:r17986

16 years agosimplify. no actual changes i think. ;)
Roger Dingledine [Tue, 6 Jan 2009 21:31:46 +0000 (21:31 +0000)] 
simplify. no actual changes i think. ;)

svn:r17985

16 years agoWhen our circuit fails at the first hop (e.g. we get a destroy
Roger Dingledine [Tue, 6 Jan 2009 21:28:48 +0000 (21:28 +0000)] 
When our circuit fails at the first hop (e.g. we get a destroy
cell back), avoid using that OR connection anymore, and also
tell all the one-hop directory requests waiting for it that they
should fail. Bugfix on 0.2.1.3-alpha.

svn:r17984

16 years agoMake outgoing DNS requests respect OutboundBindAddress.
Nick Mathewson [Tue, 6 Jan 2009 20:50:55 +0000 (20:50 +0000)] 
Make outgoing DNS requests respect OutboundBindAddress.
Fixes the bug part of bug 789.

svn:r17983

16 years agoNote a problem in the interface tor_addr_to_sockaddr.
Nick Mathewson [Tue, 6 Jan 2009 20:50:51 +0000 (20:50 +0000)] 
Note a problem in the interface tor_addr_to_sockaddr.

svn:r17982

16 years agook, all set to destabilize it again
Roger Dingledine [Tue, 6 Jan 2009 20:38:05 +0000 (20:38 +0000)] 
ok, all set to destabilize it again

svn:r17980

16 years agobump to 0.2.1.10-alpha, reorganize the changelog tor-0.2.1.10-alpha
Roger Dingledine [Tue, 6 Jan 2009 20:11:47 +0000 (20:11 +0000)] 
bump to 0.2.1.10-alpha, reorganize the changelog

svn:r17974

16 years agoclarify which relay gave us the good netinfo cell
Roger Dingledine [Tue, 6 Jan 2009 19:21:47 +0000 (19:21 +0000)] 
clarify which relay gave us the good netinfo cell

svn:r17973

16 years agoand mention the bug # in the changelog
Roger Dingledine [Tue, 6 Jan 2009 19:07:21 +0000 (19:07 +0000)] 
and mention the bug # in the changelog

svn:r17971

16 years agoWhen a relay gets a create cell it can't decrypt (e.g. because it's
Roger Dingledine [Tue, 6 Jan 2009 19:03:15 +0000 (19:03 +0000)] 
When a relay gets a create cell it can't decrypt (e.g. because it's
using the wrong onion key), we were dropping it and letting the
client time out. Now actually answer with a destroy cell. Bugfix
on 0.0.2pre8.

svn:r17970

16 years agoJan 06 13:03:57.309 [info] networkstatus_set_current_consensus(): Loaded an obsolete...
Roger Dingledine [Tue, 6 Jan 2009 18:06:49 +0000 (18:06 +0000)] 
Jan 06 13:03:57.309 [info] networkstatus_set_current_consensus(): Loaded an obsolete consensus. Discarding.
Jan 06 13:03:57.309 [warn] Couldn't load consensus networkstatus from "bridge/cached-consensus"

doesn't need a real warn.

svn:r17969

16 years agoUpdate to the "December 19 2008" ip-to-country file
Roger Dingledine [Tue, 6 Jan 2009 18:03:01 +0000 (18:03 +0000)] 
Update to the "December 19 2008" ip-to-country file

svn:r17968

16 years agoClean up (and mark for 0.2.2.) comments relating to non-beauty of current bug-743...
Nick Mathewson [Tue, 6 Jan 2009 17:37:22 +0000 (17:37 +0000)] 
Clean up (and mark for 0.2.2.) comments relating to non-beauty of current bug-743 fix.

svn:r17966

16 years agoSlightly better messages on ControlListenAddress 0.0.0.0
Nick Mathewson [Tue, 6 Jan 2009 16:57:42 +0000 (16:57 +0000)] 
Slightly better messages on ControlListenAddress 0.0.0.0

svn:r17963

16 years agospecify it was a bugfix on something from 2007
Roger Dingledine [Tue, 6 Jan 2009 16:11:10 +0000 (16:11 +0000)] 
specify it was a bugfix on something from 2007

svn:r17960

16 years agoPrevent bridge relays from serving their 'extrainfo' document
Roger Dingledine [Tue, 6 Jan 2009 16:03:38 +0000 (16:03 +0000)] 
Prevent bridge relays from serving their 'extrainfo' document
to anybody who asks, now that extrainfo docs include potentially
sensitive aggregated client geoip summaries.

svn:r17958

16 years agoMake dirserv_get_routerdesc_fingerprints() treat extrainfos with send_unencrypted...
Nick Mathewson [Tue, 6 Jan 2009 15:37:51 +0000 (15:37 +0000)] 
Make dirserv_get_routerdesc_fingerprints() treat extrainfos with send_unencrypted==0 correctly.  Irrelevant, since we will soon never send them at all.

svn:r17953

16 years agoBugfix on r13098. Backport candidate.
Roger Dingledine [Tue, 6 Jan 2009 07:13:24 +0000 (07:13 +0000)] 
Bugfix on r13098. Backport candidate.
When we made bridge authorities stop serving bridge descriptors over
unencrypted links, we also broke DirPort reachability testing for
bridges. So bridges with a non-zero DirPort were printing spurious
warns to their logs. Bugfix on 0.2.0.16-alpha. Fixes bug 709.

svn:r17945

16 years agothe new alpha release is coming out this week sometime. too many
Roger Dingledine [Tue, 6 Jan 2009 03:57:06 +0000 (03:57 +0000)] 
the new alpha release is coming out this week sometime. too many
bugs fixed to keep waiting. i still need to track down bug 709
first though, since i am increasingly thinking it's a real bug.

svn:r17944

16 years agoapply a variant of rovv's bug 872 patch, and document that we want a better solution...
Nick Mathewson [Mon, 5 Jan 2009 20:52:14 +0000 (20:52 +0000)] 
apply a variant of rovv's bug 872 patch, and document that we want a better solution for 0.2.2.x.

svn:r17924

16 years agoBridge relays that had DirPort set to 0 would stop fetching
Roger Dingledine [Mon, 5 Jan 2009 18:54:11 +0000 (18:54 +0000)] 
Bridge relays that had DirPort set to 0 would stop fetching
descriptors shortly after startup, and then briefly resume
after a new bandwidth test and/or after publishing a new bridge
descriptor. Bridge users that try to bootstrap from them would
get a recent networkstatus but would get descriptors from up to
18 hours earlier, meaning most of the descriptors were obsolete
already. Reported by Tas; bugfix on 0.2.0.13-alpha.

svn:r17920

16 years agoIf the cached networkstatus consensus is more than five days old,
Roger Dingledine [Mon, 5 Jan 2009 16:56:11 +0000 (16:56 +0000)] 
If the cached networkstatus consensus is more than five days old,
discard it rather than trying to use it. In theory it could
be useful because it lists alternate directory mirrors, but in
practice it just means we spend many minutes trying directory
mirrors that are long gone from the network. Helps bug 887 a bit;
bugfix on 0.2.0.x.

svn:r17917

16 years agomark what version of tor mike's bug was in
Roger Dingledine [Mon, 5 Jan 2009 14:32:58 +0000 (14:32 +0000)] 
mark what version of tor mike's bug was in

svn:r17912

16 years agoPreserve reporting of stream end reasons to the local control
Mike Perry [Mon, 5 Jan 2009 14:14:57 +0000 (14:14 +0000)] 
Preserve reporting of stream end reasons to the local control
port.  They were lost in the changes for Proposal 148.

svn:r17911

16 years agoBetter explain the PublishServerDescriptor option in the manpage
Sebastian Hahn [Mon, 5 Jan 2009 13:50:02 +0000 (13:50 +0000)] 
Better explain the PublishServerDescriptor option in the manpage

PublishServerDescriptor 1 means "publish to the relevant authority", not "publish to v2,v3 authorities". Also adjust the time in the manpage to January 2009

svn:r17909

16 years agoUse doxygen-style comments instead of C-style comments.
Karsten Loesing [Sun, 4 Jan 2009 23:44:43 +0000 (23:44 +0000)] 
Use doxygen-style comments instead of C-style comments.

svn:r17893

16 years agoAnother fun openbsd warning fix. On ioerror's computer at least, they redefined...
Nick Mathewson [Sun, 4 Jan 2009 23:15:42 +0000 (23:15 +0000)] 
Another fun openbsd warning fix.  On ioerror's computer at least, they redefined an unsigned field in zlib.h to be signed.  I am quite sure this makes me more secure somehow.

svn:r17892

16 years agoOpenBSD malloc.h believes that you should be able to detect headers with autoconf...
Nick Mathewson [Sun, 4 Jan 2009 22:47:42 +0000 (22:47 +0000)] 
OpenBSD malloc.h believes that you should be able to detect headers with autoconf, or build without warnings, but not both.  So never include malloc.h on OpenBSD.  Backport candidate.

svn:r17891

16 years agoDocument some variables used for generating statistics on usage of V0 hidden service...
Karsten Loesing [Sun, 4 Jan 2009 19:59:35 +0000 (19:59 +0000)] 
Document some variables used for generating statistics on usage of V0 hidden service directory authorities.

svn:r17890

16 years agoAnother round of downgrading removing or postponing XXXX021 issues. Some remain...
Nick Mathewson [Sun, 4 Jan 2009 19:47:21 +0000 (19:47 +0000)] 
Another round of downgrading removing or postponing XXXX021 issues.  Some remain, though.

svn:r17888

16 years agoFix the oldest bug in a while: stop accepting 1.2.3 as a valid IPv4 address on any...
Nick Mathewson [Sun, 4 Jan 2009 19:47:17 +0000 (19:47 +0000)] 
Fix the oldest bug in a while: stop accepting 1.2.3 as a valid IPv4 address on any platform.

svn:r17887

16 years agoFix an xxx021: do not remove routerinfos as too old and unlisted unless we have a...
Nick Mathewson [Sun, 4 Jan 2009 19:47:12 +0000 (19:47 +0000)] 
Fix an xxx021: do not remove routerinfos as too old and unlisted unless we have a consensus.  Backport candidate.

svn:r17886

16 years agoCommit changelog from last year (0.2.1.9-alpha-1)
Peter Palfrader [Sun, 4 Jan 2009 19:30:04 +0000 (19:30 +0000)] 
Commit changelog from last year (0.2.1.9-alpha-1)

svn:r17884

16 years agoRemove svn $Id$s from our source, and remove tor --version --version.
Nick Mathewson [Sun, 4 Jan 2009 00:35:51 +0000 (00:35 +0000)] 
Remove svn $Id$s from our source, and remove tor --version --version.
The subversion $Id$ fields made every commit force a rebuild of
whatever file got committed.  They were not actually useful for
telling the version of Tor files in the wild.

svn:r17867

16 years agoList places where the hidden service protocol uses SHA-1.
Karsten Loesing [Sun, 4 Jan 2009 00:21:28 +0000 (00:21 +0000)] 
List places where the hidden service protocol uses SHA-1.

svn:r17866

16 years agoAnother attempt at fixing coverity scan CID 361.
Nick Mathewson [Sat, 3 Jan 2009 23:06:12 +0000 (23:06 +0000)] 
Another attempt at fixing coverity scan CID 361.

svn:r17863

16 years agoMention that our documentation is better in 0.2.1.10-x.
Nick Mathewson [Sat, 3 Jan 2009 23:06:08 +0000 (23:06 +0000)] 
Mention that our documentation is better in 0.2.1.10-x.

svn:r17862

16 years agoOnly set sin_len/sin6_len when they exist.
Nick Mathewson [Fri, 2 Jan 2009 20:57:10 +0000 (20:57 +0000)] 
Only set sin_len/sin6_len when they exist.

svn:r17851

16 years agotake out my IMPOSSIBLE_TO_DOWNLOAD+1 hack
Roger Dingledine [Fri, 2 Jan 2009 20:46:32 +0000 (20:46 +0000)] 
take out my IMPOSSIBLE_TO_DOWNLOAD+1 hack

svn:r17850

16 years agoTry harder to make sure we zero-out the extraneous sockaddr fields and that we set...
Nick Mathewson [Fri, 2 Jan 2009 20:39:38 +0000 (20:39 +0000)] 
Try harder to make sure we zero-out the extraneous sockaddr fields and that we set sockaddr_len.  Conceivably a backport candidate, though nothing has yet been sen to break.

svn:r17849

16 years agoNote another place we use sha1
Nick Mathewson [Wed, 31 Dec 2008 18:25:30 +0000 (18:25 +0000)] 
Note another place we use sha1

svn:r17836

16 years agoIncrement n_download_failures up to IMPOSSIBLE_TO_DOWNLOAD-1, not up to IMPOSSIBLE_TO...
Nick Mathewson [Wed, 31 Dec 2008 17:22:18 +0000 (17:22 +0000)] 
Increment n_download_failures up to IMPOSSIBLE_TO_DOWNLOAD-1, not up to IMPOSSIBLE_TO_DOWNLOAD.

svn:r17835

16 years agoswitch over the bridge descriptor download mechanism to
Roger Dingledine [Wed, 31 Dec 2008 14:19:57 +0000 (14:19 +0000)] 
switch over the bridge descriptor download mechanism to
use the same download mechanism as other places.

i had to make an ugly hack around "IMPOSSIBLE_TO_DOWNLOAD+1".
we should unhack that sometime.

svn:r17834

16 years agofix a bug in download failure logging; don't do this "stop
Roger Dingledine [Wed, 31 Dec 2008 14:11:46 +0000 (14:11 +0000)] 
fix a bug in download failure logging; don't do this "stop
downloading forever" thing with bridge descriptor downloads.

svn:r17833

16 years agoNew proposal "idea" listing all the places I could think of that we use SHA-1.
Nick Mathewson [Tue, 30 Dec 2008 17:15:27 +0000 (17:15 +0000)] 
New proposal "idea" listing all the places I could think of that we use SHA-1.

svn:r17831

16 years agoDebug code for task 878.
Karsten Loesing [Tue, 30 Dec 2008 11:43:50 +0000 (11:43 +0000)] 
Debug code for task 878.

svn:r17828

16 years agoRemove some code that is #ifdefed out, and that we no longer seem to use, if we ever...
Nick Mathewson [Tue, 30 Dec 2008 04:16:49 +0000 (04:16 +0000)] 
Remove some code that is #ifdefed out, and that we no longer seem to use, if we ever did.

svn:r17827

16 years agoIndeed, arma was right. There was one ntohl too many in debug_ntop in eventdns.c
Nick Mathewson [Tue, 30 Dec 2008 04:08:45 +0000 (04:08 +0000)] 
Indeed, arma was right.  There was one ntohl too many in debug_ntop in eventdns.c

svn:r17826

16 years agopoint out the bug location to nick. unless i'm wrong.
Roger Dingledine [Tue, 30 Dec 2008 02:36:11 +0000 (02:36 +0000)] 
point out the bug location to nick. unless i'm wrong.

svn:r17825

16 years agofor some reason nickm removed this major feature from
Roger Dingledine [Tue, 30 Dec 2008 02:03:23 +0000 (02:03 +0000)] 
for some reason nickm removed this major feature from
the 0.2.1.3-alpha changelog. put it back.

svn:r17824

16 years agoDowngrade some xxx021s, comment more on others, etc
Nick Mathewson [Mon, 29 Dec 2008 20:17:24 +0000 (20:17 +0000)] 
Downgrade some xxx021s, comment more on others, etc

svn:r17823

16 years agoActually log reasons on unusable guards again.
Nick Mathewson [Mon, 29 Dec 2008 20:17:20 +0000 (20:17 +0000)] 
Actually log reasons on unusable guards again.

svn:r17822

16 years agoSpec compliance: if weighted MTBF of a router is at least 5 days, always vote it...
Nick Mathewson [Mon, 29 Dec 2008 20:17:18 +0000 (20:17 +0000)] 
Spec compliance: if weighted MTBF of a router is at least 5 days, always vote it as Stable.

svn:r17821

16 years agoRefactor sockaddr family match check into a new function
Nick Mathewson [Mon, 29 Dec 2008 19:57:17 +0000 (19:57 +0000)] 
Refactor sockaddr family match check into a new function

svn:r17820

16 years agoExplain why the XXXX021 in connection_or.c was there, and explain why it doesn' actua...
Nick Mathewson [Mon, 29 Dec 2008 19:57:13 +0000 (19:57 +0000)] 
Explain why the XXXX021 in connection_or.c was there, and explain why it doesn' actually need to get fixed in 0.2.1, I think.

svn:r17819

16 years agoReplace kludgy assert with something a little less awful, and avoid needless strlcpy...
Nick Mathewson [Mon, 29 Dec 2008 19:57:08 +0000 (19:57 +0000)] 
Replace kludgy assert with something a little less awful, and avoid needless strlcpy in rend descriptor encoding.

svn:r17818

16 years agoDowngrade the last xxx021 in routerparse. The duplicate code stands for now.
Nick Mathewson [Mon, 29 Dec 2008 19:57:04 +0000 (19:57 +0000)] 
Downgrade the last xxx021 in routerparse.  The duplicate code stands for now.

svn:r17817

16 years agoDocument RELAY_EARLY cells in tor-spec.txt: proposal 110 is mostly implemented, and...
Nick Mathewson [Mon, 29 Dec 2008 19:55:23 +0000 (19:55 +0000)] 
Document RELAY_EARLY cells in tor-spec.txt: proposal 110 is mostly implemented, and the rest of it will need to wait until all current Tor 0.2.0.x clients are obsolete to close.

svn:r17816