]>
git.ipfire.org Git - thirdparty/tor.git/log
Karsten Loesing [Fri, 24 May 2013 07:48:15 +0000 (09:48 +0200)]
Tweak #6752 patch based on comments by nickm.
Karsten Loesing [Thu, 16 May 2013 10:08:48 +0000 (12:08 +0200)]
Lower dir fetch retry schedules in testing networks.
Also lower maximum interval without directory requests, and raise
maximum download tries.
Implements #6752.
Nick Mathewson [Wed, 15 May 2013 18:35:37 +0000 (14:35 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Wed, 15 May 2013 18:34:59 +0000 (14:34 -0400)]
Fix unit tests to pass after fix for #8879
Nick Mathewson [Wed, 15 May 2013 14:44:17 +0000 (10:44 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Roger Dingledine [Wed, 15 May 2013 07:34:37 +0000 (03:34 -0400)]
Fix socks5 handshake for username/password auth
The fix for bug 8117 exposed this bug, and it turns out real-world
applications like Pidgin do care. Bugfix on 0.2.3.2-alpha; fixes bug 8879.
Nick Mathewson [Tue, 14 May 2013 16:26:26 +0000 (12:26 -0400)]
Changes file for bug8791
Arlo Breault [Mon, 13 May 2013 19:32:01 +0000 (12:32 -0700)]
Check the return value of memchr().
For quality-of-implementation in munge_extrainfo_into_routerinfo().
See #8791
Nick Mathewson [Sun, 12 May 2013 03:46:07 +0000 (23:46 -0400)]
Add a changes file for bug 8790
Arlo Breault [Sat, 11 May 2013 21:06:22 +0000 (14:06 -0700)]
Remove strcpy from unit tests.
See #8790.
Andrea Shepard [Sat, 11 May 2013 04:05:34 +0000 (21:05 -0700)]
Merge branch 'maint-0.2.4'
Andrea Shepard [Sat, 11 May 2013 02:39:48 +0000 (19:39 -0700)]
Merge bug5595-v2-squashed into maint-0.2.4
Andrea Shepard [Thu, 9 May 2013 17:51:48 +0000 (10:51 -0700)]
Add some unit tests for fp_pair_map_t to test/containers.c based on the strmap tests
Andrea Shepard [Thu, 9 May 2013 16:41:50 +0000 (09:41 -0700)]
Rephrase comment in trusted_dirs_load_certs_from_string() to reflect 5595 fix
Andrea Shepard [Thu, 9 May 2013 16:33:32 +0000 (09:33 -0700)]
Make warning in authority_cert_dl_failed() LD_BUG per NickM code review
Andrea Shepard [Thu, 9 May 2013 16:31:39 +0000 (09:31 -0700)]
Use tor_asprintf() and clean up string handling in authority_certs_fetch_missing()
Andrea Shepard [Thu, 9 May 2013 15:23:53 +0000 (08:23 -0700)]
Clean up ugly constants in connection_dir_download_cert_failed(), and fix a broken one
Andrea Shepard [Thu, 9 May 2013 15:19:48 +0000 (08:19 -0700)]
Avoid duplicate downloads by (fp,sk) and by fp for authority certs when bootstrapping
Andrea Shepard [Thu, 9 May 2013 11:56:54 +0000 (04:56 -0700)]
When downloading certificates, distinguish requesting by identity digest from requesting by ID digest, signing key pair; fixes bug 5595
Andrea Shepard [Fri, 22 Mar 2013 19:13:25 +0000 (12:13 -0700)]
Implement fp_pair_map_t
Nick Mathewson [Thu, 9 May 2013 17:20:01 +0000 (13:20 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Thu, 9 May 2013 17:14:53 +0000 (13:14 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4
Nick Mathewson [Thu, 9 May 2013 17:14:22 +0000 (13:14 -0400)]
Merge branch 'bug8844_v2' into maint-0.2.3
Nick Mathewson [Wed, 8 May 2013 16:04:18 +0000 (12:04 -0400)]
Don't run off the end of the array-of-freelists
This is a fix for bug 8844, where eugenis correctly notes that there's
a sentinel value at the end of the list-of-freelists that's never
actually checked. It's a bug since the first version of the chunked
buffer code back in 0.2.0.16-alpha.
This would probably be a crash bug if it ever happens, but nobody's
ever reported something like this, so I'm unsure whether it can occur.
It would require write_to_buf, write_to_buf_zlib, read_to_buf, or
read_to_buf_tls to get an input size of more than 32K. Still, it's a
good idea to fix this kind of thing!
Nick Mathewson [Wed, 8 May 2013 17:01:58 +0000 (13:01 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Wed, 8 May 2013 16:59:08 +0000 (12:59 -0400)]
Fix bug 8845: check the right length of memory in aes unit tests
This couldn't actually be a buffer overrun unless AES somehow turned
into memcpy, but still it's good to fix it.
Andrea Shepard [Tue, 7 May 2013 09:24:08 +0000 (02:24 -0700)]
Merge branch 'maint-0.2.4' into master
Nick Mathewson [Sun, 5 May 2013 22:55:19 +0000 (18:55 -0400)]
Use a clearer idiom for node identity in router_counts_toward_thresholds
Nick Mathewson [Sun, 5 May 2013 22:52:53 +0000 (18:52 -0400)]
Fix 8833: crash bug from using NULL node->ri in dirserv.c
It appears that moria1 crashed because of one instance of this (the
one in router_counts_toward_thresholds). The other instance I fixed
won't actually have broken anything, but I think it's more clear this
way.
Fixes bug 8833; bugfix on 0.2.4.12-alpha.
Nick Mathewson [Thu, 25 Apr 2013 02:16:07 +0000 (22:16 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Thu, 25 Apr 2013 02:15:47 +0000 (22:15 -0400)]
Merge remote-tracking branch 'public/bug6026' into maint-0.2.4
Nick Mathewson [Thu, 25 Apr 2013 02:05:41 +0000 (22:05 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Thu, 25 Apr 2013 02:04:15 +0000 (22:04 -0400)]
Merge branch 'bug8235-fix-rebased' into maint-0.2.4
Mike Perry [Wed, 24 Apr 2013 00:53:53 +0000 (17:53 -0700)]
Increase the pathbias state file miscounting version check.
We now know the bug is present in 0.2.4.12-alpha too. It should be fixed in
0.2.4.13-alpha, though.
Mike Perry [Tue, 23 Apr 2013 21:44:40 +0000 (14:44 -0700)]
Changes file for 8235.
Mike Perry [Tue, 23 Apr 2013 21:43:38 +0000 (14:43 -0700)]
Bug 8235: Fix scaling adjustments.
We need to subtract both the current built circuits *and* the attempted
circuits from the attempt count during scaling, since *both* have already been
counted there.
Nick Mathewson [Fri, 19 Apr 2013 15:14:06 +0000 (11:14 -0400)]
Change dflt branch to inspect in findMergedChanges.pl
Nick Mathewson [Fri, 19 Apr 2013 15:12:59 +0000 (11:12 -0400)]
Remove changes files which were merged in release-0.2.4
Nick Mathewson [Fri, 19 Apr 2013 02:45:12 +0000 (22:45 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Fri, 19 Apr 2013 02:43:52 +0000 (22:43 -0400)]
Add a boolean to flag-thresholds for "we have enough measured bandwidth"
Implements #8711.
Nick Mathewson [Fri, 19 Apr 2013 02:35:15 +0000 (22:35 -0400)]
Turn on ntor by default client-side
Implements #8561.
Nick Mathewson [Fri, 19 Apr 2013 01:42:39 +0000 (21:42 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Fri, 19 Apr 2013 01:33:53 +0000 (21:33 -0400)]
Merge remote-tracking branch 'public/bug8716_023' into maint-0.2.4
Nick Mathewson [Thu, 18 Apr 2013 15:28:11 +0000 (11:28 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Thu, 18 Apr 2013 15:26:54 +0000 (11:26 -0400)]
Merge remote-tracking branch 'public/bug8719' into maint-0.2.4
Nick Mathewson [Thu, 18 Apr 2013 15:16:05 +0000 (11:16 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Conflicts:
src/common/crypto.c
Nick Mathewson [Thu, 18 Apr 2013 15:14:05 +0000 (11:14 -0400)]
Remove a double-newline
Nick Mathewson [Thu, 18 Apr 2013 15:13:36 +0000 (11:13 -0400)]
Merge branch 'less_charbuf_rebased' into maint-0.2.4
Conflicts:
src/or/dirserv.c
src/or/dirserv.h
src/test/test_dir.c
Nick Mathewson [Tue, 2 Apr 2013 18:54:54 +0000 (14:54 -0400)]
Add unit test for encoding ntor key in routerinfo
Nick Mathewson [Tue, 2 Apr 2013 18:54:32 +0000 (14:54 -0400)]
Remove the unused pk3 variable from test_dir_formats
Nick Mathewson [Tue, 2 Apr 2013 18:45:13 +0000 (14:45 -0400)]
Re-enable test for parsing and generating descriptor with exit policy
Looks like I turned this off in
6ac42f5e back in 2003 and never got
around to making it work again. There has been no small amount of
code drift.
Nick Mathewson [Tue, 2 Apr 2013 17:59:53 +0000 (13:59 -0400)]
Test networkstatus_getinfo_helper_single
Nick Mathewson [Tue, 2 Apr 2013 16:45:12 +0000 (12:45 -0400)]
Add a quick-and-dirty-test for generate_v2_networkstatus.
It sure is a good thing we can run each test in its own process, or
else the amount of setup I needed to do to make this thing work
would have broken all the other tests.
Test mocking would have made this easier to write too.
Nick Mathewson [Tue, 2 Apr 2013 15:58:29 +0000 (11:58 -0400)]
Remove the now-unused router_get_networkstatus_v3_hash
Nick Mathewson [Tue, 2 Apr 2013 15:49:30 +0000 (11:49 -0400)]
Test improvement: include microdesc lines in our synthetic microdesc consensuses.
Nick Mathewson [Mon, 18 Mar 2013 19:00:52 +0000 (15:00 -0400)]
Fix a couple of documentation issues.
Nick Mathewson [Sun, 24 Feb 2013 03:37:39 +0000 (22:37 -0500)]
Remove some now-needless length defines
Nick Mathewson [Sat, 23 Feb 2013 07:46:40 +0000 (02:46 -0500)]
Remove RS_ENTRY_LEN
Nothing uses it any longer now that we use smartlists of strings for
stuff that manipulates iles of formatted routerstatuses.
Nick Mathewson [Fri, 22 Feb 2013 17:56:25 +0000 (12:56 -0500)]
Initial changelog for less_charbuf
Nick Mathewson [Fri, 22 Feb 2013 17:53:45 +0000 (12:53 -0500)]
Refactor dirobj signature generation
Now we can compute the hash and signature of a dirobj before
concatenating the smartlist, and we don't need to play silly games
with sigbuf and realloc any more.
Nick Mathewson [Fri, 22 Feb 2013 17:17:23 +0000 (12:17 -0500)]
Use chunks, not buffers, for router descriptors
Nick Mathewson [Wed, 20 Feb 2013 06:05:51 +0000 (01:05 -0500)]
Refactor v2 networkstatus generation to avoid buffer-style
Nick Mathewson [Wed, 20 Feb 2013 05:55:34 +0000 (00:55 -0500)]
Refactor routerstatus_format_entry to avoid character-buffers
Nick Mathewson [Thu, 18 Apr 2013 14:30:14 +0000 (10:30 -0400)]
Fix some wide lines
Roger Dingledine [Thu, 18 Apr 2013 09:48:25 +0000 (05:48 -0400)]
forward-port 0.2.4.1[12] changelogs
Nick Mathewson [Wed, 17 Apr 2013 15:53:52 +0000 (11:53 -0400)]
Don't leak a waiting-for-certs consensus when accepting it.
I believe this was introduced in
6bc071f765d2829249db52 , which makes
this a fix on 0.2.0.10-alpha. But my code archeology has not extended
to actually testing that theory.
Nick Mathewson [Wed, 17 Apr 2013 15:34:15 +0000 (11:34 -0400)]
Fix memory leak when sending configuration-changed event
Fix for bug #8718; bugfix on 0.2.3.3-alpha.
Nick Mathewson [Wed, 17 Apr 2013 14:50:58 +0000 (10:50 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Wed, 17 Apr 2013 14:49:59 +0000 (10:49 -0400)]
Merge remote-tracking branch 'public/bug7143_v2' into maint-0.2.4
Nick Mathewson [Wed, 17 Apr 2013 14:48:39 +0000 (10:48 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Wed, 17 Apr 2013 14:45:45 +0000 (10:45 -0400)]
Merge branch 'bug8037_squashed' into maint-0.2.4
Nick Mathewson [Fri, 15 Mar 2013 17:49:04 +0000 (13:49 -0400)]
Reject most directory documents with an internal NUL.
(Specifically, we reject all the ones that aren't NUL-terminated,
since a NUL-terminated thing can't have a NUL in the middle.)
Another fix for #8037.
Nick Mathewson [Mon, 15 Apr 2013 01:57:56 +0000 (21:57 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Conflicts:
src/or/dirserv.c
Nick Mathewson [Mon, 15 Apr 2013 01:48:44 +0000 (21:48 -0400)]
Merge branch 'bug8683_rebased' into maint-0.2.4
Nick Mathewson [Thu, 11 Apr 2013 19:11:46 +0000 (15:11 -0400)]
Remove a now-empty if body; invert the sense of its condition
Nick Mathewson [Thu, 11 Apr 2013 19:10:35 +0000 (15:10 -0400)]
Remvoe total_bandwidth and total_exit_bandwidth as unused.
Nick Mathewson [Thu, 11 Apr 2013 15:43:40 +0000 (11:43 -0400)]
Rename all fields which measure bw in kb to end with _kb
Nick Mathewson [Thu, 11 Apr 2013 14:36:53 +0000 (10:36 -0400)]
Fix some KB/B confusion in flag threshold minima.
Nick Mathewson [Sat, 13 Apr 2013 22:29:25 +0000 (18:29 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Sat, 13 Apr 2013 22:27:08 +0000 (18:27 -0400)]
Manpage: refer to ExcludeExitNodes, not the nonexistent ExcludeEntryNodes
Spotted on tor-talk by "hamahangi".
Roger Dingledine [Fri, 12 Apr 2013 08:27:10 +0000 (04:27 -0400)]
fix trivial typo
Nick Mathewson [Fri, 12 Apr 2013 05:14:32 +0000 (01:14 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Fri, 12 Apr 2013 05:13:22 +0000 (01:13 -0400)]
Merge remote-tracking branch 'public/bug5650_squashed' into maint-0.2.4
Nick Mathewson [Wed, 10 Apr 2013 23:30:41 +0000 (19:30 -0400)]
Avoid busy-looping on WANTREAD within connection_handle_write
Fix for bug 5650. Also, if we get a WANTREAD while reading while
writing, make sure we're reading.
Nick Mathewson [Thu, 11 Apr 2013 22:13:45 +0000 (18:13 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Thu, 11 Apr 2013 22:12:44 +0000 (18:12 -0400)]
Merge branch 'bug8587_v3' into maint-0.2.4
Nick Mathewson [Thu, 11 Apr 2013 21:52:26 +0000 (17:52 -0400)]
Better test program for 128-bit math support
Clang 3.2 does constant-folding and variable substitution to determine
that the program is equivalent to "return 1". Splitting the 128-bit
math into a new function seems sufficient to fix this.
Roger Dingledine [Thu, 11 Apr 2013 14:40:06 +0000 (10:40 -0400)]
Merge branch 'maint-0.2.4'
Roger Dingledine [Thu, 11 Apr 2013 06:53:26 +0000 (02:53 -0400)]
socks5 will ask for username/password if we offer it
Commit
a264c4fe made the socks5 server prefer auth 2 if it's offered,
but it didn't update the unit test to expect it.
Nick Mathewson [Thu, 11 Apr 2013 14:26:31 +0000 (10:26 -0400)]
Use credible_bandwidth uniformly in setting/using fast_bandwidth
We were using credible_bandwidth to build the fast_bandwidth
threshold, but comparing it to bandwidth_for_router.
Nick Mathewson [Thu, 11 Apr 2013 14:24:11 +0000 (10:24 -0400)]
Use correct units for dirserv_get_{credible_bandwidth,bandwidth_for_router}
We were mixing bandwidth file entries (which are in kilobytes) with
router_get_advertised_bw() entries, which were in bytes.
Also, use router_get_advertised_bandwidth_capped() for credible_bandwidth.
Roger Dingledine [Thu, 11 Apr 2013 06:53:26 +0000 (02:53 -0400)]
socks5 will ask for username/password if we offer it
Commit
a264c4fe made the socks5 server prefer auth 2 if it's offered,
but it didn't update the unit test to expect it.
Nick Mathewson [Thu, 11 Apr 2013 05:47:10 +0000 (01:47 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Thu, 11 Apr 2013 05:46:28 +0000 (01:46 -0400)]
Merge remote-tracking branch 'public/bug8185_diagnostic' into maint-0.2.4
Nick Mathewson [Thu, 11 Apr 2013 05:43:14 +0000 (01:43 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Thu, 11 Apr 2013 05:42:54 +0000 (01:42 -0400)]
Merge remote-tracking branch 'public/bug7302' into maint-0.2.4
Conflicts:
src/or/status.c
Nick Mathewson [Thu, 11 Apr 2013 05:40:31 +0000 (01:40 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Thu, 11 Apr 2013 05:39:26 +0000 (01:39 -0400)]
Merge remote-tracking branch 'public/bug8117_023' into maint-0.2.4
Conflicts:
doc/tor.1.txt
src/or/config.c
src/or/connection.c
Roger Dingledine [Thu, 11 Apr 2013 05:11:25 +0000 (01:11 -0400)]
fix text in function comment
(now that we moved to libevent)
Nick Mathewson [Mon, 8 Apr 2013 15:10:37 +0000 (11:10 -0400)]
Merge remote-tracking branch 'karsten/geoip-manual-update-apr2013'