]>
git.ipfire.org Git - thirdparty/tor.git/log
Nick Mathewson [Mon, 10 Aug 2015 18:27:23 +0000 (14:27 -0400)]
Remove a 9-function strongly connected component of tor's callgraph.
microdesc_free_() called get_microdesc_cache(), which had the fun
side-effect of potentially reloading the whole cache from disk.
Replace it with a variant that doesn't.
Nick Mathewson [Mon, 10 Aug 2015 16:11:34 +0000 (12:11 -0400)]
Update callgraph code to find and output strongly connected components
Nick Mathewson [Mon, 10 Aug 2015 15:49:04 +0000 (11:49 -0400)]
Merge remote-tracking branch 'dgoulet/bug16274_027_02'
Nick Mathewson [Thu, 6 Aug 2015 16:58:18 +0000 (12:58 -0400)]
Merge remote-tracking branch 'public/decouple-write'
Nick Mathewson [Thu, 6 Aug 2015 16:44:13 +0000 (12:44 -0400)]
Merge remote-tracking branch 'public/bug16286'
Nick Mathewson [Thu, 6 Aug 2015 01:41:31 +0000 (21:41 -0400)]
add dSYM files to gitignore (they are an osx thing)
Nick Mathewson [Wed, 5 Aug 2015 19:07:13 +0000 (15:07 -0400)]
Update tor-fw-helper URL
David Goulet [Tue, 2 Jun 2015 20:37:11 +0000 (16:37 -0400)]
Set the open file limit to the current value before changing it
If setrlimit() failed, max_out wasn't set in set_max_file_descriptors()
ending in a state where we don't use ULIMIT_BUFFER for things like tor
private key files.
Also fix the set_max_file_descriptors() documentation.
Fixes #16274
Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Nick Mathewson [Wed, 5 Aug 2015 15:47:38 +0000 (11:47 -0400)]
Write a bunch more test for doc/WritingTests
Nick Mathewson [Wed, 5 Aug 2015 15:06:41 +0000 (11:06 -0400)]
Allow cov-display to take directories as arguments
Nick Mathewson [Wed, 5 Aug 2015 14:34:46 +0000 (10:34 -0400)]
Let's try to get test_workqueue working on windows
Nick Mathewson [Tue, 4 Aug 2015 18:00:58 +0000 (14:00 -0400)]
Merge remote-tracking branch 'public/bug13338'
cypherpunks [Thu, 23 Jul 2015 09:28:31 +0000 (11:28 +0200)]
Switch order of unblocking threads and releasing the mutex.
According to POSIX, the mutex must be locked by the thread calling the signal
functions to ensure predictable scheduling behavior.
Found the issue using Helgrind which gave the warning `dubious: associated lock
is not held by any thread`.
Nick Mathewson [Mon, 3 Aug 2015 17:30:25 +0000 (13:30 -0400)]
Update doc/HACKING with more coverage instructions
Nick Mathewson [Mon, 3 Aug 2015 17:23:58 +0000 (13:23 -0400)]
When building with coverage, run chutney with coverage
Previously, this required me to do stuff like
'cp src/or/tor-cov src/or/tor' ,
which is pretty embarrassing.
Nick Mathewson [Mon, 3 Aug 2015 17:03:58 +0000 (13:03 -0400)]
Improved targets for "run all the tests, no, all of them."
Nick Mathewson [Fri, 31 Jul 2015 15:21:34 +0000 (11:21 -0400)]
Move formatting functions around.
The base64 and base32 functions used to be in crypto.c;
crypto_format.h had no header; some general-purpose functions were in
crypto_curve25519.c.
This patch makes a {crypto,util}_format.[ch], and puts more functions
there. Small modules are beautiful!
Nick Mathewson [Fri, 31 Jul 2015 14:47:39 +0000 (10:47 -0400)]
Improve log messages for problems about
ed25519 keypinning
Fixes 16286; bugfix on 0.2.7.2-alpha.
David Goulet [Thu, 30 Jul 2015 18:43:15 +0000 (14:43 -0400)]
Add get_max_sockets() and remove dead code
The control port was using set_max_file_descriptors() with a limit set to 0
to query the number of maximum socket Tor can use. With the recent changes
to that function, a check was introduced to make sure a user can not set a
value below the amount we reserved for non socket.
This commit adds get_max_sockets() that returns the value of max_sockets so
we can stop using that "setter" function to get the current value.
Finally, the dead code is removed that is the code that checked for limit
equal to 0. From now on, set_max_file_descriptors() should never be used
with a limit set to 0 for a valid use case.
Fixes #16697
Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Nick Mathewson [Thu, 30 Jul 2015 17:31:27 +0000 (13:31 -0400)]
Do not autoflush control connections as their outbufs get big
Doing this is no longer necessary, and it leads to weird recursions in
our call graph. Closes ticket 16480.
Nick Mathewson [Thu, 30 Jul 2015 17:17:08 +0000 (13:17 -0400)]
whitespace fix
Nick Mathewson [Thu, 30 Jul 2015 16:35:52 +0000 (12:35 -0400)]
changes file for callgraph scripts
Nick Mathewson [Thu, 30 Jul 2015 16:23:28 +0000 (12:23 -0400)]
Check in some scripts I use for callgraph analysis.
Nick Mathewson [Thu, 30 Jul 2015 15:14:15 +0000 (11:14 -0400)]
Wrap windows-only C files in #ifdef _WIN32
This should make some scripts and IDEs happier.
Nick Mathewson [Wed, 29 Jul 2015 14:48:29 +0000 (10:48 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.6'
Nick Mathewson [Wed, 29 Jul 2015 14:48:13 +0000 (10:48 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.5' into maint-0.2.6
Nick Mathewson [Wed, 29 Jul 2015 14:47:07 +0000 (10:47 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4' into maint-0.2.5
Nick Mathewson [Wed, 29 Jul 2015 14:36:23 +0000 (10:36 -0400)]
Merge remote-tracking branch 'teor/feature14175-chutney-performance-v2'
Karsten Loesing [Wed, 29 Jul 2015 13:49:04 +0000 (15:49 +0200)]
Update geoip and geoip6 to the July 8 2015 database.
Nick Mathewson [Tue, 28 Jul 2015 18:38:52 +0000 (14:38 -0400)]
Merge remote-tracking branch 'linus/bug_11061'
Nick Mathewson [Mon, 27 Jul 2015 17:59:49 +0000 (13:59 -0400)]
Bump version to 0.2.7.2-alpha-dev
Nick Mathewson [Mon, 27 Jul 2015 14:53:09 +0000 (10:53 -0400)]
Fold final entries into changelog
Nick Mathewson [Mon, 27 Jul 2015 13:40:40 +0000 (09:40 -0400)]
tighten and tidy the changelog; pick a date
Nick Mathewson [Mon, 27 Jul 2015 13:15:52 +0000 (09:15 -0400)]
Merge remote-tracking branch 'yawning/bug16674'
Yawning Angel [Mon, 27 Jul 2015 12:58:40 +0000 (12:58 +0000)]
Allow a single trailing `.` when validating FQDNs from SOCKS.
URI syntax (and DNS syntax) allows for a single trailing `.` to
explicitly distinguish between a relative and absolute
(fully-qualified) domain name. While this is redundant in that RFC 1928
DOMAINNAME addresses are *always* fully-qualified, certain clients
blindly pass the trailing `.` along in the request.
Fixes bug 16674; bugfix on 0.2.6.2-alpha.
Yawning Angel [Mon, 27 Jul 2015 00:49:11 +0000 (00:49 +0000)]
Fix
ed25519 -donna with SSP on non-x86.
The only reason 16 byte alignment is required is for SSE2 load and
store operations, so only align datastructures to 16 byte boundaries
when building with SSE2 support.
This fixes builds with GCC SSP on platforms that don't have special
case code to do dynamic stack re-alignment (everything not x86/x86_64).
Fixes bug #16666.
Linus Nordberg [Fri, 24 Jul 2015 08:11:38 +0000 (10:11 +0200)]
Move the note about non-localhost SOCKSPort usage up to where it belongs.
I think this section slipped downwards when flags where added.
Nick Mathewson [Thu, 23 Jul 2015 17:48:13 +0000 (13:48 -0400)]
Bump version (and explain how)
Nick Mathewson [Thu, 23 Jul 2015 16:05:06 +0000 (12:05 -0400)]
Re-run trunnel to capture change for msvc.
Nick Mathewson [Thu, 23 Jul 2015 16:01:57 +0000 (12:01 -0400)]
Fix a couple more msvc issues, reported by gisle vanem
Nick Mathewson [Thu, 23 Jul 2015 15:41:54 +0000 (11:41 -0400)]
A nit found by qwerty1
Nick Mathewson [Thu, 23 Jul 2015 15:29:40 +0000 (11:29 -0400)]
Changelog tweaks from harmony
George Kadianakis [Thu, 23 Jul 2015 14:43:42 +0000 (17:43 +0300)]
Minor changelog tweaks
Nick Mathewson [Wed, 22 Jul 2015 17:53:51 +0000 (13:53 -0400)]
Edit changelog entries
Nick Mathewson [Wed, 22 Jul 2015 17:34:54 +0000 (13:34 -0400)]
Move around and reformat items in 0.2.7.2-alpha changelog
Nick Mathewson [Wed, 22 Jul 2015 16:24:21 +0000 (12:24 -0400)]
Merge branch 'ticket2325_squashed'
Nick Mathewson [Tue, 21 Jul 2015 18:40:22 +0000 (14:40 -0400)]
Actually, write the torrc format in ABNF
This should make it more clear what I meant, if you know how to read ABNF.
(Thanks to rl1987 for correcting numerous issues here)
cypherpunks [Thu, 2 Jul 2015 07:43:20 +0000 (09:43 +0200)]
Remove casting of void pointers when handling signals.
cypherpunks [Tue, 21 Jul 2015 10:45:47 +0000 (12:45 +0200)]
Improve the workqueue test help message.
The workqueue test help message has two issues. First, the message uses 4 space
indentation when 2 space indentation seems more common. Second, the help
message misses some options.
This commit fixes both issues.
cypherpunks [Tue, 21 Jul 2015 10:43:03 +0000 (12:43 +0200)]
Limit the number of inflight items to the number of items.
Nick Mathewson [Tue, 21 Jul 2015 17:59:25 +0000 (13:59 -0400)]
changes file for bug16631
cypherpunks [Tue, 7 Jul 2015 08:17:32 +0000 (10:17 +0200)]
Fix some potential memory leaks in the thread pool code.
Nick Mathewson [Mon, 20 Jul 2015 17:02:21 +0000 (13:02 -0400)]
typo fix; spotted by arma
Nick Mathewson [Mon, 20 Jul 2015 16:05:44 +0000 (12:05 -0400)]
Document the torrc format as thoroughly as possible
Closes ticket 2325
Nick Mathewson [Mon, 20 Jul 2015 15:01:58 +0000 (11:01 -0400)]
Merge remote-tracking branch 'public/bug16162_026'
Nick Mathewson [Mon, 20 Jul 2015 15:00:23 +0000 (11:00 -0400)]
Use a more recommended syntax for the systemd unit file
closes 16162.
rl1987 [Mon, 20 Jul 2015 09:58:03 +0000 (12:58 +0300)]
Fix testcases where scrypt APIs are used wrong.
Nick Mathewson [Thu, 16 Jul 2015 20:06:25 +0000 (16:06 -0400)]
Add the remaining changes items to ChangeLog for 0.2.7.2-alpha
Nick Mathewson [Thu, 16 Jul 2015 20:04:56 +0000 (16:04 -0400)]
Make all changes files work with lintChanges
Nick Mathewson [Thu, 16 Jul 2015 19:55:54 +0000 (15:55 -0400)]
Start changelog sections that are straight copies from 0.2.6
Nick Mathewson [Thu, 16 Jul 2015 19:48:41 +0000 (15:48 -0400)]
Merge remote-tracking branch 'public/feature_16580'
Nick Mathewson [Thu, 16 Jul 2015 19:47:00 +0000 (15:47 -0400)]
Merge remote-tracking branch 'public/ticket16543'
Nick Mathewson [Thu, 16 Jul 2015 19:38:08 +0000 (15:38 -0400)]
Merge remote-tracking branch 'sysrqb/bug15220_026_sysrqb'
Nick Mathewson [Thu, 16 Jul 2015 15:55:44 +0000 (11:55 -0400)]
Add my script to dump per-file or per-function coverage
Nick Mathewson [Thu, 16 Jul 2015 15:11:21 +0000 (11:11 -0400)]
Break some wide lines
Nick Mathewson [Thu, 16 Jul 2015 15:10:14 +0000 (11:10 -0400)]
Fix most check-spaces issues
Nick Mathewson [Wed, 15 Jul 2015 18:43:35 +0000 (14:43 -0400)]
Use C99 variadic macros when not on GCC.
1) We already require C99.
2) This allows us to support MSVC again (thanks to Gisle Vanem for
this part)
3) This change allows us to dump some rotten old compatibility code
from log.c
Nick Mathewson [Wed, 15 Jul 2015 15:05:33 +0000 (11:05 -0400)]
Merge branches 'feature_16582' and 'feature_16581'
Nick Mathewson [Wed, 15 Jul 2015 14:45:40 +0000 (10:45 -0400)]
Don't allow INIT_ED_KEY_{NO_REPAIR,NEEDCERT} to be used together.
We haven't implemented NO_REPAIR for NEEDCERT, and we don't need it:
but it's safest to stop any attempt to use it that way.
Nick Mathewson [Wed, 15 Jul 2015 14:35:29 +0000 (10:35 -0400)]
Add more EINVAL errno setting on key read failures
Teor found these. This is for part of #16582.
Nick Mathewson [Tue, 14 Jul 2015 18:48:22 +0000 (14:48 -0400)]
Remove tor-fw-helper code
It did a good idea, but the code-quality of libupnpc and libnatpnp
is so dodgy that I'm not really comfortable including them alongside
Tor proper. Instead, we'll recommend that people do the pure-go
reimplementation instead. Closes ticket 13338.
Nick Mathewson [Tue, 14 Jul 2015 18:03:30 +0000 (14:03 -0400)]
Add changes file for 8712; apply it to HSDir flag as well.
Peter Retzlaff [Sun, 3 May 2015 17:38:13 +0000 (19:38 +0200)]
Vote for relays to be fast and stable even when they aren't currently active.
Nick Mathewson [Tue, 14 Jul 2015 15:33:35 +0000 (11:33 -0400)]
Change the name for the keypinning file; delete the old one if found
This is a brute-force fix for #16580, wherein #16530 caused some
routers to do bad things with the old keypinning journal.
Nick Mathewson [Tue, 14 Jul 2015 15:27:49 +0000 (11:27 -0400)]
Add more consistency checks in load_ed_keys
Make sure that signing certs are signed by the right identity key,
to prevent a recurrence of #16530. Also make sure that the master
identity key we find on disk matches the one we have in RAM, if we
have one.
This is for #16581.
Nick Mathewson [Tue, 14 Jul 2015 15:10:13 +0000 (11:10 -0400)]
Do more consistency checks in ed_key_init_from_file()
When there is a signing key and the certificate lists a key, make
sure that the certificate lists the same signing key.
When there are public key and secret key stored in separate files,
make sure they match.
Use the right file name when we load an encrypted secret key and
then find a problem with it.
This is part of 16581.
Nick Mathewson [Tue, 14 Jul 2015 14:36:39 +0000 (10:36 -0400)]
If loading an
ed25519 master key fails with errno != ENOENT, give up.
This implements feature 16582: if we get EMFILE or something when
loading our master key, we should not at that point attempt to
overwrite it.
Nick Mathewson [Tue, 14 Jul 2015 14:23:07 +0000 (10:23 -0400)]
Preserve errno when loading encrypted
ed25519 keys.
Nick Mathewson [Tue, 14 Jul 2015 14:18:52 +0000 (10:18 -0400)]
Make file-reading and key-reading preserve errno
This is an important part of #16582.
John Brooks [Tue, 14 Jul 2015 06:28:25 +0000 (02:28 -0400)]
Remove empty rend_service_validate_intro_early function
John Brooks [Tue, 14 Jul 2015 06:22:23 +0000 (02:22 -0400)]
Rename ambiguous introduction point functions
Task #15824
Nick Mathewson [Sun, 12 Jul 2015 21:01:17 +0000 (17:01 -0400)]
Try to convince coverity not to worry about this loop either
Nick Mathewson [Sun, 12 Jul 2015 21:00:45 +0000 (17:00 -0400)]
Try to convince coverity not to worryh about this loop
Nick Mathewson [Sun, 12 Jul 2015 20:59:37 +0000 (16:59 -0400)]
Tell coverity to tolerate ed25519_verify
Nick Mathewson [Sun, 12 Jul 2015 20:37:59 +0000 (16:37 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.6'
This is an 'ours' merge, to avoid taking the bump to 0.2.6.10-dev
Nick Mathewson [Sun, 12 Jul 2015 20:37:20 +0000 (16:37 -0400)]
Bump maint-0.2.6 to 0.2.6.10-dev
Nick Mathewson [Sun, 12 Jul 2015 20:34:30 +0000 (16:34 -0400)]
Forward-port the changelog and releasenotes
Nick Mathewson [Sun, 12 Jul 2015 19:44:43 +0000 (15:44 -0400)]
Okay, this time it was my fault
Nick Mathewson [Sun, 12 Jul 2015 19:30:35 +0000 (15:30 -0400)]
Fine, mingw! fine! are you happy now??
Nick Mathewson [Sun, 12 Jul 2015 19:14:43 +0000 (15:14 -0400)]
This should be the last SecureZeroMemory fix
Nick Mathewson [Sun, 12 Jul 2015 19:02:43 +0000 (15:02 -0400)]
Dammit, autoconf!
Nick Mathewson [Sun, 12 Jul 2015 18:48:48 +0000 (14:48 -0400)]
Disable -Wstack-protector diagnostics in curve25519-donna-helpers.h
This was causing a false positive on our arm builders.
Nick Mathewson [Sun, 12 Jul 2015 18:34:11 +0000 (14:34 -0400)]
Nth time is maybe the charm for fixing windows readpassword build errors
Nick Mathewson [Sun, 12 Jul 2015 17:34:22 +0000 (13:34 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.6'
This is an "ours" merge to avoid bumping the version number in master.
Nick Mathewson [Sun, 12 Jul 2015 17:33:47 +0000 (13:33 -0400)]
Bump maint-0.2.6 to 0.2.6.10
Nick Mathewson [Sat, 11 Jul 2015 20:53:32 +0000 (16:53 -0400)]
note some dead code in set_max_file_descriptors
Nick Mathewson [Sat, 11 Jul 2015 20:47:21 +0000 (16:47 -0400)]
Fix a leak in test_microdesc (CID
1311631 )
Nick Mathewson [Fri, 10 Jul 2015 13:57:22 +0000 (09:57 -0400)]
Try one more one more time to get tor-ci-windows working
Apparently its mingw headers are missing some stuff.
Nick Mathewson [Fri, 10 Jul 2015 13:16:32 +0000 (09:16 -0400)]
Attempt yet again to make the tor-ci-windows builder happy
Nick Mathewson [Fri, 10 Jul 2015 13:03:56 +0000 (09:03 -0400)]
Remove the HidServDirV2 and VoteOnHidServDirectoriesV2 options
(Mark them as obsolete)
Closes 16543.