]>
git.ipfire.org Git - thirdparty/tor.git/log
Nick Mathewson [Wed, 1 Apr 2015 17:34:14 +0000 (13:34 -0400)]
Merge remote-tracking branch 'yawning/feature15435'
Nick Mathewson [Wed, 1 Apr 2015 16:59:19 +0000 (12:59 -0400)]
Merge remote-tracking branch 'public/bug15515_025'
George Kadianakis [Wed, 1 Apr 2015 13:33:09 +0000 (14:33 +0100)]
Block multiple introductions on the same intro circuit.
Nick Mathewson [Wed, 1 Apr 2015 16:52:00 +0000 (12:52 -0400)]
add changes file for 15296.
Nick Mathewson [Wed, 1 Apr 2015 16:50:36 +0000 (12:50 -0400)]
Merge remote-tracking branch 'dgoulet/bug15296_027_01'
Nick Mathewson [Wed, 1 Apr 2015 16:47:16 +0000 (12:47 -0400)]
Merge remote-tracking branch 'yawning/feature15471'
rl1987 [Tue, 31 Mar 2015 18:19:26 +0000 (21:19 +0300)]
Fix ReleaseNotes so that entries about docs are in Documentation section.
Nick Mathewson [Tue, 31 Mar 2015 19:56:52 +0000 (15:56 -0400)]
work around lack of AF_CCITT
Nick Mathewson [Tue, 31 Mar 2015 18:57:04 +0000 (14:57 -0400)]
Merge remote-tracking branch 'teor/ticket15431-event-mask-tests'
Nick Mathewson [Tue, 31 Mar 2015 18:42:01 +0000 (14:42 -0400)]
fix some compilation warnings
Nick Mathewson [Tue, 31 Mar 2015 18:37:09 +0000 (14:37 -0400)]
Merge branch 'ticket14710_squashed'
rl1987 [Sun, 22 Mar 2015 14:04:46 +0000 (16:04 +0200)]
Changes file for 14710.
rl1987 [Sun, 22 Mar 2015 13:22:02 +0000 (15:22 +0200)]
Use tor_inet_pton() (not inet_pton()) in testcases.
rl1987 [Tue, 17 Mar 2015 19:23:12 +0000 (21:23 +0200)]
Remove unused function.
rl1987 [Sun, 15 Mar 2015 13:32:16 +0000 (15:32 +0200)]
IPv6 case for whitebox test.
rl1987 [Sat, 14 Mar 2015 18:20:50 +0000 (20:20 +0200)]
Whitebox test for get_interface_address6_via_udp_socket_hack().
Also, fix some whitespace mishaps.
rl1987 [Tue, 24 Feb 2015 19:17:37 +0000 (21:17 +0200)]
Skipping the AF_INET6 case because bug #12377 makes it fail.
rl1987 [Sun, 22 Feb 2015 15:34:00 +0000 (17:34 +0200)]
Bugfix: we don't want loopback/multicastaddress from _hack().
rl1987 [Sun, 22 Feb 2015 15:04:22 +0000 (17:04 +0200)]
Rework the black box test, like Yawning and nickm suggested.
rl1987 [Sun, 25 Jan 2015 11:58:21 +0000 (13:58 +0200)]
Black box test for get_interface_address6_via_udp_socket_hack().
rl1987 [Mon, 5 Jan 2015 20:12:46 +0000 (22:12 +0200)]
Moving the hacky part of get_interface_address6() into separate function.
Yawning Angel [Thu, 26 Mar 2015 14:56:14 +0000 (14:56 +0000)]
Use prctl() to have the kernel SIGTERM background processes on exit.
This uses a Linux-ism to attempt to always clean up background processes
if possible. Note that it is not a catch-all, in that executables with
suid/sgid or elevated capabilities will have the prctl() attribute
stripped as part of the execve().
Resolves ticket 15471.
Yawning Angel [Thu, 26 Mar 2015 12:55:12 +0000 (12:55 +0000)]
Implement "TOR_PT_EXIT_ON_STDIN_CLOSE".
Background processes spawned by Tor now will have a valid stdin.
Pluggable transports can detect this behavior with the aformentioned
enviornment variable, and exit if stdin ever gets closed.
Nick Mathewson [Wed, 25 Mar 2015 18:13:52 +0000 (14:13 -0400)]
Forward-port changelog and release notes for 0.2.6.6
Nick Mathewson [Wed, 25 Mar 2015 18:10:37 +0000 (14:10 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.6'
Nick Mathewson [Wed, 25 Mar 2015 18:09:23 +0000 (14:09 -0400)]
Bump to 0.2.6.6-dev
Nick Mathewson [Wed, 25 Mar 2015 13:16:42 +0000 (09:16 -0400)]
More addrs in HACKING
Nick Mathewson [Wed, 25 Mar 2015 13:16:04 +0000 (09:16 -0400)]
clean up list of paths that cannot be relative
Nick Mathewson [Tue, 24 Mar 2015 20:27:27 +0000 (16:27 -0400)]
Merge remote-tracking branch 'dgoulet/bug15377_027_01'
David Goulet [Tue, 24 Mar 2015 20:04:28 +0000 (16:04 -0400)]
Test: add missing libor.a in include.am
Also add test-memwipe to .gitignore file.
Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Nick Mathewson [Tue, 24 Mar 2015 19:16:49 +0000 (15:16 -0400)]
Merge remote-tracking branch 'sebastian/coverage_builds'
Nick Mathewson [Tue, 24 Mar 2015 18:59:09 +0000 (14:59 -0400)]
Merge remote-tracking branch 'public/bug15269'
Nick Mathewson [Tue, 24 Mar 2015 18:36:23 +0000 (14:36 -0400)]
Merge branch 'bug14018'
rl1987 [Sun, 22 Mar 2015 18:07:59 +0000 (20:07 +0200)]
Complain if relative paths are used in configuration
When we validate torrc options, print warning(s) when relative
path(s) been found.
Nick Mathewson [Tue, 24 Mar 2015 15:55:35 +0000 (11:55 -0400)]
spelling fix
Nick Mathewson [Tue, 24 Mar 2015 14:49:29 +0000 (10:49 -0400)]
Put an upper bound on test_workqueue -I argument
This makes coverity happy, since it doesn't like us looping against
a value which might be INT_MAX.
This is CID
1268069
Nick Mathewson [Tue, 24 Mar 2015 14:46:39 +0000 (10:46 -0400)]
Check return values for tor_addr_parse(default) in config.c
In these cases, the address is always a constant "default", so
should always succeed. But coverity can't tell that.
Fixes CID
1291645
Nick Mathewson [Tue, 24 Mar 2015 14:24:53 +0000 (10:24 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.6'
Nick Mathewson [Tue, 24 Mar 2015 14:23:34 +0000 (10:23 -0400)]
bump to 0.2.6.6
Nick Mathewson [Tue, 24 Mar 2015 13:38:46 +0000 (09:38 -0400)]
Remove changes files for patches in 0.2.6.6 or earlier.
Nick Mathewson [Tue, 24 Mar 2015 13:29:28 +0000 (09:29 -0400)]
Start adding people to the packager list in doc/HACKING
Nick Mathewson [Mon, 23 Mar 2015 13:25:35 +0000 (09:25 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.6'
Nick Mathewson [Mon, 23 Mar 2015 13:25:15 +0000 (09:25 -0400)]
Merge remote-tracking branch 'public/bug15436_025' into maint-0.2.6
Yawning Angel [Sun, 22 Mar 2015 22:31:08 +0000 (22:31 +0000)]
Fix unaligned access in SipHash-2-4.
The compiler is allowed to assume that a "uint64_t *" is aligned
correctly, and will inline a version of memcpy that acts as such.
Use "uint8_t *", so the compiler does the right thing.
Sebastian Hahn [Sun, 22 Mar 2015 08:41:05 +0000 (09:41 +0100)]
Fix test-network.sh argument parsing
The bash on one of my machines didn't understand the question mark
correctly, it didn't end up accepting flavor. We can spell it out
explicitly.
Sebastian Hahn [Sun, 22 Mar 2015 03:22:04 +0000 (04:22 +0100)]
Add call to chutney to coverage-html-full target
Now make coverage-html-full should be a pretty good approximation of our
actual coverage
teor [Sun, 22 Mar 2015 03:25:42 +0000 (14:25 +1100)]
Compile-time check that control_event_t.event_mask is big enough
Add a compile-time check that the number of events doesn't exceed
the capacity of control_event_t.event_mask.
teor [Sun, 22 Mar 2015 03:22:56 +0000 (14:22 +1100)]
Add unit tests for control_event_is_interesting()
Part of ticket 15431, checks for bugs similar to 13085.
Sebastian Hahn [Sun, 22 Mar 2015 03:21:08 +0000 (04:21 +0100)]
build tor-cov-{resolve,gencert}
This allows us to run tor-cov-gencert from chutney for coverage builds.
Sebastian Hahn [Fri, 20 Mar 2015 12:12:09 +0000 (13:12 +0100)]
Disable assertions during coverage builds
This removes roughly 5000 branches in my testing. We never want to
trigger assertions even during tests, so this is sane. Implements #15400.
Sebastian Hahn [Sat, 21 Mar 2015 00:59:05 +0000 (01:59 +0100)]
Initialize two variables
This is a trivial change to get around two compiler warnings when
assertions are removed during coverage builds.
Nick Mathewson [Thu, 19 Mar 2015 19:28:22 +0000 (15:28 -0400)]
Here is a test for memwipe.
It invokes undefined behavior, I'm afraid, since there's no other
c-legal way to test whether memwipe() works when we're not allowed to
look at it.
Closes ticket 15377.
Nick Mathewson [Wed, 18 Mar 2015 20:33:11 +0000 (16:33 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.6'
Nick Mathewson [Wed, 18 Mar 2015 20:32:13 +0000 (16:32 -0400)]
bump to 0.2.6.5-rc.dev
Nick Mathewson [Wed, 18 Mar 2015 20:30:08 +0000 (16:30 -0400)]
forward-port 0.2.6.5-rc changelog.
Nick Mathewson [Wed, 18 Mar 2015 18:27:00 +0000 (14:27 -0400)]
Merge remote-tracking branch 'public/feature15053'
Nick Mathewson [Wed, 18 Mar 2015 13:11:34 +0000 (09:11 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.6'
Nick Mathewson [Wed, 18 Mar 2015 13:10:48 +0000 (09:10 -0400)]
bump to 0.2.6.5-rc
Nick Mathewson [Wed, 18 Mar 2015 12:58:15 +0000 (08:58 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.6'
Nick Mathewson [Tue, 17 Mar 2015 14:54:38 +0000 (10:54 -0400)]
Forward-port changelog and releasenotes
David Goulet [Mon, 16 Mar 2015 13:04:51 +0000 (09:04 -0400)]
Remove extra newline at the end of HS descriptor
The rend-spec.txt document doesn't specify this extra newline. Furthermore,
this is the only descryptor type that contains one. Client and HSDir without
this patch still work perfectly since the HS descriptor parsing doesn't
expect a newline at the end.
Fixes #15296
Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Nick Mathewson [Sun, 15 Mar 2015 21:09:58 +0000 (17:09 -0400)]
Make log.o depend on micro-revision.i
Otherwise micro-revision.i might not get built on time.
Nick Mathewson [Sun, 15 Mar 2015 12:26:43 +0000 (08:26 -0400)]
changes file for 15024
cypherpunks [Thu, 19 Feb 2015 08:34:14 +0000 (09:34 +0100)]
Be consistent with capitalization, quoting, and spacing of help strings.
Nick Mathewson [Sat, 14 Mar 2015 18:30:08 +0000 (14:30 -0400)]
Simplify the loop.
Nick Mathewson [Sat, 14 Mar 2015 18:27:33 +0000 (14:27 -0400)]
Add comments for new functions
Nick Mathewson [Sat, 14 Mar 2015 18:25:37 +0000 (14:25 -0400)]
remove a needless "if (1)" that was there for indentation; fix indentation.
Nick Mathewson [Sat, 14 Mar 2015 18:24:18 +0000 (14:24 -0400)]
Extract main part of main loop into a separate function
For 15176; Shadow would like this.
Based on a patch by Rob Jansen, but revised to have a minimal-sized diff.
Nick Mathewson [Sat, 14 Mar 2015 18:12:03 +0000 (14:12 -0400)]
Avoid double-parens in log_fn() messages on clang.
On clang (and elsewhere?) __PRETTY_FUNCTION__ includes parenthesized
argument lists. This is clever, but it makes our old "%s(): " format
look funny.
This is a fix on
0957ffeb , aka svn:r288. Fixes bug 15269.
Nick Mathewson [Wed, 25 Feb 2015 15:29:52 +0000 (10:29 -0500)]
Log version when LD_BUG is logged.
Closes ticket 15026.
Nick Mathewson [Sat, 14 Mar 2015 17:04:03 +0000 (13:04 -0400)]
add newly generated files to .gitignore
cypherpunks [Thu, 12 Mar 2015 08:28:41 +0000 (09:28 +0100)]
Revive updateVersions.pl with `make update-versions`.
cypherpunks [Thu, 12 Mar 2015 08:04:28 +0000 (09:04 +0100)]
Do not distribute common_sha1.i and or_sha1.i.
These files get generated automatically so there is need to include them in the
distribution.
cypherpunks [Wed, 11 Mar 2015 09:47:13 +0000 (10:47 +0100)]
Make `check-docs` work from out-of-tree builds.
cypherpunks [Tue, 10 Mar 2015 13:30:17 +0000 (14:30 +0100)]
Add changes file for 15053.
cypherpunks [Thu, 5 Mar 2015 14:48:47 +0000 (15:48 +0100)]
Warn users trying to generate a coverage report when not configured as such.
cypherpunks [Fri, 27 Feb 2015 15:03:43 +0000 (16:03 +0100)]
Stop updating versions on every execution of `./configure`.
cypherpunks [Fri, 27 Feb 2015 14:24:21 +0000 (15:24 +0100)]
Remove relative paths to header files.
The paths are already in the directory search path of the compiler therefore no
need to include them in the source code.
cypherpunks [Wed, 25 Feb 2015 15:04:02 +0000 (16:04 +0100)]
Clean up generated files.
Remove src/or/or_sha1.i and src/common/common_sha1.i on `make clean` and remove
the temporary micro-revision file when its no longer needed.
Additional changes;
- show a message when generating the micro-revision file.
- add the temporary micro revision file to the list of files to be removed on
`make clean` just in case.
- fix indentation of the make rule to improve readability.
cypherpunks [Tue, 17 Feb 2015 14:36:10 +0000 (15:36 +0100)]
Use output variables instead of relative paths.
Fixes the following rules in out-of-tree builds;
- check-spaces
- check-docs
- check-logs
- Doxygen
- coverage-html
And cleans up additional directories;
- coverage_html
- doc/doxygen
Nick Mathewson [Sat, 14 Mar 2015 16:14:32 +0000 (12:14 -0400)]
ug. test, _then_ commit, nick.
Nick Mathewson [Sat, 14 Mar 2015 16:12:53 +0000 (12:12 -0400)]
Do not printf success messages when we are --quieted or --hushed.
Fixes 14994. Calling this a bug on when --quiet and --hush began to have
their current behavior.
Nick Mathewson [Fri, 13 Mar 2015 13:41:49 +0000 (09:41 -0400)]
const-ify the new failure vars, and one old one
Nick Mathewson [Fri, 13 Mar 2015 13:39:04 +0000 (09:39 -0400)]
Merge remote-tracking branch 'sebastian/bug15211'
Sebastian Hahn [Thu, 12 Mar 2015 17:59:46 +0000 (18:59 +0100)]
Don't init hs intro key as side effect of an assert
Sebastian Hahn [Thu, 12 Mar 2015 17:56:48 +0000 (18:56 +0100)]
Don't init control authchallenge nonce as assert side effect
Fixes part of bug 15211.
Nick Mathewson [Thu, 12 Mar 2015 17:16:22 +0000 (13:16 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.6'
Nick Mathewson [Thu, 12 Mar 2015 17:15:08 +0000 (13:15 -0400)]
Merge remote-tracking branch 'public/feature15212_026' into maint-0.2.6
Nick Mathewson [Thu, 12 Mar 2015 17:13:06 +0000 (13:13 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.6'
Yawning Angel [Thu, 12 Mar 2015 15:37:48 +0000 (15:37 +0000)]
Initialize the extorport auth cookie before launching PTs.
PTs expect the auth cookie to be available immedieately after launch,
leading to a race condition when PTs opt to cache the extorport cookie
once immediately after startup.
Fixes #15240.
Nick Mathewson [Thu, 12 Mar 2015 17:11:53 +0000 (13:11 -0400)]
Added a comment to tor.service.in
This explains that if you change your torrc to do more, you might
need to change tor.service.in to allow it. See #15195.
Nick Mathewson [Thu, 12 Mar 2015 16:53:31 +0000 (12:53 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.6'
Sebastian Hahn [Thu, 12 Mar 2015 16:52:37 +0000 (17:52 +0100)]
don't init threads as side effect of assertion
Fixes part of bug 15211.
Nick Mathewson [Thu, 12 Mar 2015 16:50:41 +0000 (12:50 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.5' into maint-0.2.6
("-s ours" merge to avoid taking reversion of #15064)
Nick Mathewson [Thu, 12 Mar 2015 16:49:08 +0000 (12:49 -0400)]
Revert "Make TransProxyType ipfw work correctly"
This reverts commit
681802817deb6fb93b95f8284856fd42f3556600 .
(I didn't mean to backport this, but somehow I had based my branch
for #15205 on it.)
Nick Mathewson [Thu, 12 Mar 2015 16:27:54 +0000 (12:27 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.6'
Nick Mathewson [Thu, 12 Mar 2015 16:27:42 +0000 (12:27 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.5' into maint-0.2.6
Nick Mathewson [Thu, 12 Mar 2015 16:27:25 +0000 (12:27 -0400)]
Merge remote-tracking branch 'public/bug15205_025' into maint-0.2.5
Nick Mathewson [Thu, 12 Mar 2015 15:37:56 +0000 (11:37 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.6'
Nick Mathewson [Thu, 12 Mar 2015 15:37:02 +0000 (11:37 -0400)]
Merge branch 'bug15245_026' into maint-0.2.6