]>
git.ipfire.org Git - thirdparty/tor.git/log
Marek Majkowski [Thu, 6 Jun 2013 11:45:25 +0000 (12:45 +0100)]
Bug #5170 - simplify i2d_X509
Marek Majkowski [Thu, 6 Jun 2013 11:13:24 +0000 (12:13 +0100)]
Bug #5170 - also simplify i2d_DHparams
Marek Majkowski [Thu, 6 Jun 2013 10:45:35 +0000 (11:45 +0100)]
Bug #5170 - i2d_RSAPublicKey supports allocating its own output buffer
Marek Majkowski [Thu, 6 Jun 2013 10:45:03 +0000 (11:45 +0100)]
Bug #5170 - remove id_to_fp.c as it's not used anywhere
Nick Mathewson [Wed, 5 Jun 2013 15:22:48 +0000 (11:22 -0400)]
Merge remote-tracking branch 'karsten/geoip-manual-update-jun2013'
Nick Mathewson [Wed, 5 Jun 2013 15:22:36 +0000 (11:22 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Wed, 5 Jun 2013 15:22:19 +0000 (11:22 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4
Nick Mathewson [Wed, 5 Jun 2013 15:22:02 +0000 (11:22 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.2' into maint-0.2.3
Nick Mathewson [Wed, 5 Jun 2013 15:20:45 +0000 (11:20 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Linus Nordberg [Wed, 5 Jun 2013 13:48:57 +0000 (15:48 +0200)]
Fix two cut'n'paste docu bugs.
Karsten Loesing [Wed, 5 Jun 2013 06:43:03 +0000 (08:43 +0200)]
Update to the June 2013 GeoIP database.
Karsten Loesing [Wed, 5 Jun 2013 06:40:39 +0000 (08:40 +0200)]
Remove 9 now unused manual A1 substitutions.
Nick Mathewson [Wed, 29 May 2013 16:08:28 +0000 (12:08 -0400)]
Fix windows compilation warning in test_config.c
bugfix on
78cc5833a1da038331186ddf07f4add7f8f1094b ; bug not in any
released Tor.
Spotted by weasel using Jenkins.
Nick Mathewson [Tue, 28 May 2013 20:13:06 +0000 (16:13 -0400)]
Start correctly when not in testing mode.
You can't use != to compare arbitary members of or_options_t.
(Also, generate a better error message to say which Testing* option
was set.)
Fix for bug 8992. Bugfix on
b0d4ca49 . Bug not in any released Tor.
Nick Mathewson [Tue, 28 May 2013 14:59:35 +0000 (10:59 -0400)]
Merge remote-tracking branch 'karsten/task-6752-3'
Karsten Loesing [Sat, 25 May 2013 05:33:37 +0000 (07:33 +0200)]
Try harder to document default_options correctly.
Nick Mathewson [Fri, 24 May 2013 18:43:57 +0000 (14:43 -0400)]
double-quotes and changes file for 6506.
Arlo Breault [Fri, 17 May 2013 19:25:42 +0000 (12:25 -0700)]
Fix out-of-tree builds.
See #6506
Arlo Breault [Tue, 14 May 2013 17:18:28 +0000 (10:18 -0700)]
Config check for asciidoc and generated manpages.
If USE_ASCIIDOC is enabled but asciidoc isn't present and manpages
aren't already generated, it'll throw a warning during configure.
Works with the current git / tarball split.
Caveat: regular_mans are listed in the configure.ac
See #6506
Nick Mathewson [Fri, 24 May 2013 17:39:37 +0000 (13:39 -0400)]
Merge branch 'bug4282_rebased'
Nick Mathewson [Fri, 24 May 2013 17:39:21 +0000 (13:39 -0400)]
changes file for 4282
Nick Mathewson [Fri, 24 May 2013 17:37:14 +0000 (13:37 -0400)]
Reformat 4282 fixes a little
Nick Mathewson [Fri, 24 May 2013 17:36:15 +0000 (13:36 -0400)]
Fix a logic error in 4282 fixes
check_or_create_data_subdir has succeeded when it returns 0, not
when it returns negative.
Nick Mathewson [Fri, 24 May 2013 17:31:10 +0000 (13:31 -0400)]
Tweak 4282 unit tests for style, safety, correctness.
We do our filesystem wrangling relative to get_fname() results, so
that if we fail or crash, we can always clean up.
Peter Retzlaff [Sat, 2 Feb 2013 00:40:41 +0000 (01:40 +0100)]
Unit tests for check_or_create_data_subdir and write_to_data_subdir.
Peter Retzlaff [Fri, 25 Jan 2013 10:49:33 +0000 (11:49 +0100)]
Extract duplicate code in geoip and rephist.
Create new methods check_or_create_data_subdir() and
write_to_data_subdir() in config.c and use them throughout
rephist.c and geoip.c.
This should solve ticket #4282.
Nick Mathewson [Fri, 24 May 2013 16:23:21 +0000 (12:23 -0400)]
Tweak fix for #8789 a bit; avoid double-close and add changes file
Arlo Breault [Mon, 20 May 2013 21:22:57 +0000 (14:22 -0700)]
Close socket at err target.
In connection_listener_new().
See #8789.
Karsten Loesing [Fri, 24 May 2013 07:48:15 +0000 (09:48 +0200)]
Tweak #6752 patch based on comments by nickm.
Nick Mathewson [Tue, 21 May 2013 18:00:30 +0000 (14:00 -0400)]
Restore 8093 log messages to WARN severity, but rate limit
See #8093 for discussion
Nick Mathewson [Tue, 21 May 2013 17:46:28 +0000 (13:46 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Tue, 21 May 2013 17:45:21 +0000 (13:45 -0400)]
Downgrade the unexpected sendme cell warnings for 0.2.4
See discussion on #8093
Nick Mathewson [Mon, 20 May 2013 19:59:08 +0000 (15:59 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Andrea Shepard [Mon, 20 May 2013 19:46:00 +0000 (12:46 -0700)]
Copy-paste description of PathBias params from man page to or.h comment
Nick Mathewson [Mon, 20 May 2013 16:42:36 +0000 (12:42 -0400)]
Merge remote-tracking branch 'karsten/geoip-manual-update-may2013'
Nick Mathewson [Mon, 20 May 2013 16:37:58 +0000 (12:37 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Mon, 20 May 2013 16:37:21 +0000 (12:37 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4
Nick Mathewson [Mon, 20 May 2013 16:34:59 +0000 (12:34 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.2' into maint-0.2.3
Roger Dingledine [Sat, 18 May 2013 21:50:34 +0000 (17:50 -0400)]
retroactively fix grammar
Nick Mathewson [Fri, 17 May 2013 18:54:19 +0000 (14:54 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Fri, 17 May 2013 18:50:45 +0000 (14:50 -0400)]
Fix bug 8846: better log message on IP version confusion
Nick Mathewson [Fri, 17 May 2013 14:14:06 +0000 (10:14 -0400)]
Changes file for 8792
Arlo Breault [Thu, 16 May 2013 19:05:50 +0000 (12:05 -0700)]
Remove PK_PKCS1_PADDING
See #8792
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
Karsten Loesing [Mon, 13 May 2013 13:37:43 +0000 (15:37 +0200)]
Update to the May 2013 GeoIP database.
Karsten Loesing [Mon, 13 May 2013 13:32:58 +0000 (15:32 +0200)]
Update GeoIP file script and manual substitutions.
Script changes now catch more cases when our manual substitutions need to
be updated.
Manual substitutions are updated to May 2013 database.
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.