]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
11 years agoHandle tor_munmap_file(NULL) consistently
Nick Mathewson [Mon, 31 Mar 2014 15:35:39 +0000 (11:35 -0400)] 
Handle tor_munmap_file(NULL) consistently

11 years agoCheck strftime() return in tortls.c
Andrea Shepard [Wed, 19 Mar 2014 18:22:11 +0000 (11:22 -0700)] 
Check strftime() return in tortls.c

11 years agoEliminate lseek() with unchecked return in tor_mmap_file()
Andrea Shepard [Wed, 19 Mar 2014 18:17:55 +0000 (11:17 -0700)] 
Eliminate lseek() with unchecked return in tor_mmap_file()

11 years agoAlways check returns from unlink()
Andrea Shepard [Wed, 19 Mar 2014 00:52:31 +0000 (17:52 -0700)] 
Always check returns from unlink()

11 years agoAlways check returns from tor_munmap_file() in microdesc.c
Andrea Shepard [Tue, 18 Mar 2014 19:39:02 +0000 (12:39 -0700)] 
Always check returns from tor_munmap_file() in microdesc.c

11 years agoAlways check returns from tor_munmap_file() in routerlist.c
Andrea Shepard [Tue, 18 Mar 2014 18:04:20 +0000 (11:04 -0700)] 
Always check returns from tor_munmap_file() in routerlist.c

11 years agoAdd return value and assert for null parameter to tor_munmap_file()
Andrea Shepard [Tue, 18 Mar 2014 17:47:17 +0000 (10:47 -0700)] 
Add return value and assert for null parameter to tor_munmap_file()

11 years agoUpdate to latest tinytest
Nick Mathewson [Fri, 14 Mar 2014 14:09:04 +0000 (10:09 -0400)] 
Update to latest tinytest

(This pulls in some fixes to tinytest_demo.c, which Tor doesn't build.)

11 years agoSort the 0.2.5.3-alpha changelog entries a little better.
Nick Mathewson [Thu, 13 Mar 2014 15:34:51 +0000 (11:34 -0400)] 
Sort the 0.2.5.3-alpha changelog entries a little better.

Still haven't edited any.

Also, remove all the changes/* entries that got merged back in
6b5ef3889d83c715973d.

11 years agoClarify ClientOnly documentation
Nick Mathewson [Thu, 13 Mar 2014 14:35:52 +0000 (10:35 -0400)] 
Clarify ClientOnly documentation

The option is unneeded, not meaningless, so explain what it does.

Patch from Matt Pagan; fixes 9059.

11 years agoFix some leaks/missed checks in the unit tests
Nick Mathewson [Thu, 13 Mar 2014 14:07:10 +0000 (10:07 -0400)] 
Fix some leaks/missed checks in the unit tests

Coverity spotted these.

11 years agoSort the 0.2.5.3-alpha changelog a little
Nick Mathewson [Wed, 12 Mar 2014 19:58:18 +0000 (15:58 -0400)] 
Sort the 0.2.5.3-alpha changelog a little

11 years agoStart work on an 0.2.5.3-alpha changelog.
Nick Mathewson [Wed, 12 Mar 2014 19:53:58 +0000 (15:53 -0400)] 
Start work on an 0.2.5.3-alpha changelog.

This collects all the changes file, and find the stuff that also
appeared new in 0.2.4.21.

11 years agobugfix-on for 5018_notice
Nick Mathewson [Wed, 12 Mar 2014 15:11:26 +0000 (11:11 -0400)] 
bugfix-on for 5018_notice

11 years agoMerge remote-tracking branch 'asn/bug5018_notice'
Nick Mathewson [Wed, 12 Mar 2014 15:10:51 +0000 (11:10 -0400)] 
Merge remote-tracking branch 'asn/bug5018_notice'

11 years agoMerge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Tue, 11 Mar 2014 15:23:46 +0000 (11:23 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.4'

11 years agoRemove the unused router_hex_digest_matches
Nick Mathewson [Tue, 11 Mar 2014 15:17:46 +0000 (11:17 -0400)] 
Remove the unused router_hex_digest_matches

When I removed some unused functions in 5bfa373eeeb, this became
unused as well.

11 years agoMerge remote-tracking branch 'asn/bug11069_take2'
Nick Mathewson [Tue, 11 Mar 2014 15:04:47 +0000 (11:04 -0400)] 
Merge remote-tracking branch 'asn/bug11069_take2'

11 years agoThrow control port warning if we failed to connect to all our bridges.
George Kadianakis [Mon, 10 Mar 2014 22:52:07 +0000 (22:52 +0000)] 
Throw control port warning if we failed to connect to all our bridges.

11 years ago Tone down the log message for when we don't need a PT proxy.
George Kadianakis [Mon, 10 Mar 2014 22:05:31 +0000 (22:05 +0000)] 
 Tone down the log message for when we don't need a PT proxy.

11 years agoMerge branch 'bug11156_squashed'
Nick Mathewson [Mon, 10 Mar 2014 18:08:38 +0000 (14:08 -0400)] 
Merge branch 'bug11156_squashed'

11 years agoMerge branch 'bug11043_take2_squashed'
Nick Mathewson [Mon, 10 Mar 2014 18:08:29 +0000 (14:08 -0400)] 
Merge branch 'bug11043_take2_squashed'

11 years agoDon't do directory fetches before all PTs have been configured.
George Kadianakis [Sat, 8 Mar 2014 13:13:12 +0000 (13:13 +0000)] 
Don't do directory fetches before all PTs have been configured.

11 years agoImprove the log message for when the Extended ORPort is not enabled.
George Kadianakis [Sat, 8 Mar 2014 12:22:47 +0000 (12:22 +0000)] 
Improve the log message for when the Extended ORPort is not enabled.

11 years agoUpgrade to the latest version of tinytest.
Nick Mathewson [Thu, 6 Mar 2014 23:06:08 +0000 (18:06 -0500)] 
Upgrade to the latest version of tinytest.

This brings us to tinytest commit 709a36ba63ff16d8.

The only big change tor-side is that we don't need our own test_mem_op
operation any longer.

11 years agotinytest tt_{mem,str}_op now handle NULLs better
Nick Mathewson [Thu, 6 Mar 2014 17:12:13 +0000 (12:12 -0500)] 
tinytest tt_{mem,str}_op now handle NULLs better

Now a NULL argument to either makes it fail, not crash.

Fies bug 9004; bugfix on 0.2.2.4-alpha.

11 years agoMerge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Thu, 6 Mar 2014 16:52:22 +0000 (11:52 -0500)] 
Merge remote-tracking branch 'origin/maint-0.2.4'

11 years agoMerge branch 'bug11108'
Nick Mathewson [Thu, 6 Mar 2014 15:22:40 +0000 (10:22 -0500)] 
Merge branch 'bug11108'

11 years agoClarify default behavior of {SOCKS,Dir}Policy harder
Nick Mathewson [Thu, 6 Mar 2014 15:21:59 +0000 (10:21 -0500)] 
Clarify default behavior of {SOCKS,Dir}Policy harder

Improvement on 11108 fix; suggested by cypherpunks.

11 years agoGive the HTTPS url for jenkins in doc/HACKING
Nick Mathewson [Thu, 6 Mar 2014 15:03:24 +0000 (10:03 -0500)] 
Give the HTTPS url for jenkins in doc/HACKING

11 years agoCorrect the URL in the "a relay on win95???" message
Nick Mathewson [Thu, 6 Mar 2014 14:57:42 +0000 (09:57 -0500)] 
Correct the URL in the "a relay on win95???" message

This is a fix for 9393; it's not a bugfix on any Tor version per se,
but rather on whatever Tor version was current when we reorganized the
wiki.

11 years agoFix whitespace errors, all of them mine.
Nick Mathewson [Wed, 5 Mar 2014 19:36:32 +0000 (14:36 -0500)] 
Fix whitespace errors, all of them mine.

11 years agoRename PredictedCircsRelevanceTime->PredictedPortsRelevanceTime
Nick Mathewson [Wed, 5 Mar 2014 19:35:07 +0000 (14:35 -0500)] 
Rename PredictedCircsRelevanceTime->PredictedPortsRelevanceTime

All circuits are predictive; it's the ports that are expiring here.

11 years agoMerge branch 'ticket9176_squashed'
Nick Mathewson [Wed, 5 Mar 2014 19:32:05 +0000 (14:32 -0500)] 
Merge branch 'ticket9176_squashed'

Conflicts:
doc/tor.1.txt

11 years agoFix wide lines.
Nick Mathewson [Wed, 5 Mar 2014 19:27:07 +0000 (14:27 -0500)] 
Fix wide lines.

11 years agoLower the maximum for PrecictedCircsRelevanceTime to one hour
Nick Mathewson [Wed, 5 Mar 2014 19:25:38 +0000 (14:25 -0500)] 
Lower the maximum for PrecictedCircsRelevanceTime to one hour

11 years agoFixed spacing.
unixninja92 [Wed, 25 Sep 2013 00:05:25 +0000 (02:05 +0200)] 
Fixed spacing.

11 years agoMore correctly documented PredictedCircsRelevanceTime in tor.1.txt
unixninja92 [Fri, 20 Sep 2013 12:31:10 +0000 (08:31 -0400)] 
More correctly documented PredictedCircsRelevanceTime in tor.1.txt

11 years agoAdded max value to PredictedCircsRelevanceTime.
unixninja92 [Tue, 24 Sep 2013 23:45:00 +0000 (01:45 +0200)] 
Added max value to PredictedCircsRelevanceTime.

11 years agoAdded Documentation for PredictedCircsRelevanceTime config file argument.
unixninja92 [Sat, 14 Sep 2013 20:32:59 +0000 (22:32 +0200)] 
Added Documentation for PredictedCircsRelevanceTime config file argument.

11 years agoPredictedCircsRelevanceTime: limit how long we predict a port will be used
unixninja92 [Sat, 14 Sep 2013 19:40:19 +0000 (21:40 +0200)] 
PredictedCircsRelevanceTime: limit how long we predict a port will be used

By default, after you've made a connection to port XYZ, we assume
you might still want to have an exit ready to connect to XYZ for one
hour. This patch lets you lower that interval.

Implements ticket 91

11 years agoMerge remote-tracking branch 'arma/ticket5528'
Nick Mathewson [Wed, 5 Mar 2014 17:44:40 +0000 (12:44 -0500)] 
Merge remote-tracking branch 'arma/ticket5528'

Conflicts:
src/or/router.c
src/test/test_dir.c

11 years agoMerge remote-tracking branch 'public/bug8788'
Nick Mathewson [Wed, 5 Mar 2014 17:17:31 +0000 (12:17 -0500)] 
Merge remote-tracking branch 'public/bug8788'

11 years agoDocument alternate bandwidth/memory unit spellings
Nick Mathewson [Tue, 4 Mar 2014 17:10:42 +0000 (12:10 -0500)] 
Document alternate bandwidth/memory unit spellings

11 years agoInclude v3 in documented 'protocols' in rend_service_descriptor_t
Nick Mathewson [Tue, 4 Mar 2014 17:03:18 +0000 (12:03 -0500)] 
Include v3 in documented 'protocols' in rend_service_descriptor_t

Also make it unsigned and document that it's for INTRODUCE cell versions.

Fixes 9099; bugfix on 0.2.1.5-alpha, which introduced the v3 protocol.

11 years agoMerge branch 'bug10169_025_v2'
Nick Mathewson [Tue, 4 Mar 2014 16:03:30 +0000 (11:03 -0500)] 
Merge branch 'bug10169_025_v2'

Conflicts:
src/test/test.c

11 years agoMerge remote-tracking branch 'public/bug10169_024' into bug10169_025_v2
Nick Mathewson [Tue, 4 Mar 2014 16:00:02 +0000 (11:00 -0500)] 
Merge remote-tracking branch 'public/bug10169_024' into bug10169_025_v2

Conflicts:
src/common/compat_libevent.h
src/or/relay.c

11 years agoMerge remote-tracking branch 'public/bug10169_023' into bug10169_024
Nick Mathewson [Tue, 4 Mar 2014 15:54:54 +0000 (10:54 -0500)] 
Merge remote-tracking branch 'public/bug10169_023' into bug10169_024

Conflicts:
src/or/relay.c

11 years agoMention doc/HACKING in the readme
Nick Mathewson [Tue, 4 Mar 2014 15:34:25 +0000 (10:34 -0500)] 
Mention doc/HACKING in the readme

11 years agoATTR_NORETURN is needed on lost_owning_controller now
Nick Mathewson [Mon, 3 Mar 2014 15:54:20 +0000 (10:54 -0500)] 
ATTR_NORETURN is needed on lost_owning_controller now

This should fixes some "hey, that function could have
__attribute__((noreturn))" warnings  introduced by f96400d9.

Bug not in any released version of Tor.

11 years agoWarn if ports are specified in {Socks,Dir}Policy
Nick Mathewson [Mon, 3 Mar 2014 15:45:39 +0000 (10:45 -0500)] 
Warn if ports are specified in {Socks,Dir}Policy

We have ignored any ports listed here since 80365b989 (0.0.7rc1),
but we didn't warn the user that we were ignoring them.  This patch
adds a warning if you put explicit ports in any of the options
{Socks,Dir}Policy or AuthDir{Reject,Invalid,BadDir,BadExit}.  It
also adjusts the manpage to say that ports are ignored.

Fixes ticket 11108.

11 years agoFix compilation warnings in tor_addr_make_null patch
Nick Mathewson [Mon, 3 Mar 2014 15:00:37 +0000 (10:00 -0500)] 
Fix compilation warnings in tor_addr_make_null patch

There was one "missing prototype" warning because the test function
wasn't static, and one "unused parameter" warning about the "data"
parameter.

Also, I added a couple of tests to make sure that the "make_null"
addresses really were the addresses we expected, by formatting them
as strings.

11 years agoadd test for tor_addr_make_null
Kevin Murray [Mon, 3 Mar 2014 01:16:36 +0000 (12:16 +1100)] 
add test for tor_addr_make_null

Signed-off-by: Kevin Murray <spam@kdmurray.id.au>
11 years agotweak changes file.
Nick Mathewson [Mon, 3 Mar 2014 14:56:17 +0000 (09:56 -0500)] 
tweak changes file.

11 years agoFix max client name length in HiddenServiceAuthorizeClient description
Lunar [Mon, 3 Mar 2014 12:31:45 +0000 (13:31 +0100)] 
Fix max client name length in HiddenServiceAuthorizeClient description

REND_CLIENTNAME_MAX_LEN is set to 16, not 19.

11 years agotrivial whitespace fixes
Roger Dingledine [Mon, 3 Mar 2014 11:53:08 +0000 (06:53 -0500)] 
trivial whitespace fixes

11 years agoforward-port the 0.2.4.21 release notes
Roger Dingledine [Sat, 1 Mar 2014 09:09:34 +0000 (04:09 -0500)] 
forward-port the 0.2.4.21 release notes

11 years agowhitespace fix
Nick Mathewson [Fri, 28 Feb 2014 13:57:29 +0000 (08:57 -0500)] 
whitespace fix

11 years agoMerge branch 'bug10884_squashed'
Nick Mathewson [Fri, 28 Feb 2014 13:54:50 +0000 (08:54 -0500)] 
Merge branch 'bug10884_squashed'

11 years agoUnit tests for test_routerkeys_write_fingerprint
Nick Mathewson [Wed, 26 Feb 2014 18:42:21 +0000 (13:42 -0500)] 
Unit tests for test_routerkeys_write_fingerprint

11 years agoUnit tests for pk fingerprint functions
Nick Mathewson [Wed, 26 Feb 2014 16:15:43 +0000 (11:15 -0500)] 
Unit tests for pk fingerprint functions

11 years agoTighten router_write_fingerprint impl
Nick Mathewson [Wed, 26 Feb 2014 15:52:20 +0000 (10:52 -0500)] 
Tighten router_write_fingerprint impl

11 years agoWrite hashed bridge fingerprint to logs and to disk.
Karsten Loesing [Wed, 26 Feb 2014 09:44:55 +0000 (10:44 +0100)] 
Write hashed bridge fingerprint to logs and to disk.

Implements #10884.

11 years agoMerge remote-tracking branch 'karsten/task-5824'
Nick Mathewson [Fri, 28 Feb 2014 13:32:13 +0000 (08:32 -0500)] 
Merge remote-tracking branch 'karsten/task-5824'

11 years agoMonotonize the OOM-killer data timers
Nick Mathewson [Wed, 26 Feb 2014 14:51:30 +0000 (09:51 -0500)] 
Monotonize the OOM-killer data timers

In a couple of places, to implement the OOM-circuit-killer defense
against sniper attacks, we have counters to remember the age of
cells or data chunks.  These timers were based on wall clock time,
which can move backwards, thus giving roll-over results for our age
calculation.  This commit creates a low-budget monotonic time, based
on ratcheting gettimeofday(), so that even in the event of a time
rollback, we don't do anything _really_ stupid.

A future version of Tor should update this function to do something
even less stupid here, like employ clock_gettime() or its kin.

11 years agoMerge remote-tracking branch 'public/bug10449'
Nick Mathewson [Tue, 25 Feb 2014 21:09:15 +0000 (16:09 -0500)] 
Merge remote-tracking branch 'public/bug10449'

11 years agoMerge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Tue, 25 Feb 2014 20:59:43 +0000 (15:59 -0500)] 
Merge remote-tracking branch 'origin/maint-0.2.4'

11 years agoMerge remote-tracking branch 'public/no_itime_queue' into maint-0.2.4
Nick Mathewson [Tue, 25 Feb 2014 20:58:53 +0000 (15:58 -0500)] 
Merge remote-tracking branch 'public/no_itime_queue' into maint-0.2.4

11 years agoTrivial comment fix.
Nick Mathewson [Tue, 25 Feb 2014 15:23:38 +0000 (10:23 -0500)] 
Trivial comment fix.

11 years agoMerge remote-tracking branch 'public/bug11048'
Nick Mathewson [Tue, 25 Feb 2014 15:23:09 +0000 (10:23 -0500)] 
Merge remote-tracking branch 'public/bug11048'

11 years agoMerge remote-tracking branch 'karsten/geoip2regcountry'
Nick Mathewson [Tue, 25 Feb 2014 15:04:37 +0000 (10:04 -0500)] 
Merge remote-tracking branch 'karsten/geoip2regcountry'

11 years agoMerge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Tue, 25 Feb 2014 15:04:10 +0000 (10:04 -0500)] 
Merge remote-tracking branch 'origin/maint-0.2.4'

11 years agoMerge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4
Nick Mathewson [Tue, 25 Feb 2014 15:02:14 +0000 (10:02 -0500)] 
Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4

11 years agoFix geoip by falling back to registered countries.
Karsten Loesing [Tue, 25 Feb 2014 12:28:34 +0000 (13:28 +0100)] 
Fix geoip by falling back to registered countries.

See 1d2179bc900f1646a5491b65294e78b175e70056 in master for details.

"""
Fall back to registered country if necessary.

When extracting geoip and geoip6 files from MaxMind's GeoLite2 Country
database, we only look at country->iso_code which is the two-character ISO
3166-1 country code of the country where MaxMind believes the end user is
located.

But if MaxMind thinks a range belongs to anonymous proxies, they don't put
anything there.  Hence, we omit those ranges and resolve them all to '??'.
That's not what we want.

What we should do is first try country->iso_code, and if there's no such
key, try registered_country->iso_code which is the country in which the
ISP has registered the IP address.

In short: let's fill all A1 entries with what ARIN et. al think.
"""

11 years agoFall back to registered country if necessary.
Karsten Loesing [Tue, 25 Feb 2014 12:20:04 +0000 (13:20 +0100)] 
Fall back to registered country if necessary.

When extracting geoip and geoip6 files from MaxMind's GeoLite2 Country
database, we only look at country->iso_code which is the two-character ISO
3166-1 country code of the country where MaxMind believes the end user is
located.

But if MaxMind thinks a range belongs to anonymous proxies, they don't put
anything there.  Hence, we omit those ranges and resolve them all to '??'.
That's not what we want.

What we should do is first try country->iso_code, and if there's no such
key, try registered_country->iso_code which is the country in which the
ISP has registered the IP address.

In short: let's fill all A1 entries with what ARIN et. al think.

11 years agoDownload MaxMind's geoip file over https.
Karsten Loesing [Tue, 25 Feb 2014 10:26:27 +0000 (11:26 +0100)] 
Download MaxMind's geoip file over https.

If the cert turns out to be invalid or if wget is otherwise unable to
verify it, it's going to return an error and not download the file for us.

Spotted by nickm.

11 years agoMerge branch 'bug11047'
Nick Mathewson [Mon, 24 Feb 2014 18:06:55 +0000 (13:06 -0500)] 
Merge branch 'bug11047'

11 years agoMerge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Mon, 24 Feb 2014 18:06:40 +0000 (13:06 -0500)] 
Merge remote-tracking branch 'origin/maint-0.2.4'

11 years agoMerge remote-tracking branch 'public/feature9777_024_squashed' into maint-0.2.4
Nick Mathewson [Mon, 24 Feb 2014 18:05:25 +0000 (13:05 -0500)] 
Merge remote-tracking branch 'public/feature9777_024_squashed' into maint-0.2.4

11 years agoThreadproof our log_backtrace implementation
Nick Mathewson [Mon, 24 Feb 2014 17:15:32 +0000 (12:15 -0500)] 
Threadproof our log_backtrace implementation

It's possible for two threads to hit assertion failures at the same
time.  If that happens, let's keep them from stomping on the same
cb_buf field.

Fixes bug 11048; bugfix on 0.2.5.2-alpha. Reported by "cypherpunks".

11 years agopass our compiler -fasynchronous-unwind-tables by default
Nick Mathewson [Mon, 24 Feb 2014 16:41:53 +0000 (11:41 -0500)] 
pass our compiler -fasynchronous-unwind-tables by default

This should make more platforms (in particular, ones with compilers
where -fomit-frame-pointer is on by default but table generation
isn't) support backtrace generation.  Thanks to cypherpunks for this
one.

Fixes bug 11047; bugfix on 0.2.5.2-alpha.

11 years agoInclude instructions on generating geoip files.
Karsten Loesing [Fri, 21 Feb 2014 19:13:33 +0000 (19:13 +0000)] 
Include instructions on generating geoip files.

Implements #10924.

11 years agoWhen not an exit node, don't test for DNS hijacking.
Nick Mathewson [Fri, 21 Feb 2014 18:04:48 +0000 (18:04 +0000)] 
When not an exit node, don't test for DNS hijacking.

Back in 5e762e6a5c0e6729bb7dbb586af2690c087d9ba8, non-exit servers
stopped launching DNS requests for users.  So there's no need for them
to see if their DNS answers are hijacked.

Patch from Matt Pagan.  I think this is a 965 fix.

11 years agoMerge remote-tracking branch 'public/bug10987_024'
Nick Mathewson [Fri, 21 Feb 2014 17:29:48 +0000 (17:29 +0000)] 
Merge remote-tracking branch 'public/bug10987_024'

11 years agoStyle tweaks on code, changes file for 10987
Nick Mathewson [Fri, 21 Feb 2014 17:27:35 +0000 (17:27 +0000)] 
Style tweaks on code, changes file for 10987

11 years agoFix: send back correct IPv6 SOCKS5 connect reply
David Goulet [Fri, 21 Feb 2014 10:14:33 +0000 (10:14 +0000)] 
Fix: send back correct IPv6 SOCKS5 connect reply

For a client using a SocksPort connection and IPv6, the connect reply
from tor daemon did not handle AF_INET6 thus sending back the wrong
payload to the client.

A changes file is provided and this fixes #10987

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
11 years agoChanges file for b063ebbc60a1fce9
Nick Mathewson [Thu, 20 Feb 2014 11:55:38 +0000 (11:55 +0000)] 
Changes file for b063ebbc60a1fce9

This bugfix didn't get a trac ticket because the internet in this
room is an exercise in futility.

11 years agofixed long -> int implicit cast warning line 3453
Nick Hopper [Thu, 20 Feb 2014 11:48:47 +0000 (05:48 -0600)] 
fixed long -> int implicit cast warning line 3453

11 years agoMerge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Tue, 18 Feb 2014 01:16:22 +0000 (01:16 +0000)] 
Merge remote-tracking branch 'origin/maint-0.2.4'

11 years agowhoops; mistaek in a496010642c2. so many comma
Nick Mathewson [Tue, 18 Feb 2014 01:15:59 +0000 (01:15 +0000)] 
whoops; mistaek in a496010642c2. so many comma

11 years agoMerge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Mon, 17 Feb 2014 23:06:34 +0000 (23:06 +0000)] 
Merge remote-tracking branch 'origin/maint-0.2.4'

11 years agoadd changes file for bug 10929
Nick Mathewson [Mon, 17 Feb 2014 23:06:18 +0000 (23:06 +0000)] 
add changes file for bug 10929

11 years agoEnveigle configure to look for a2x.py as well as a2x.
dana koch [Sat, 15 Feb 2014 10:46:55 +0000 (21:46 +1100)] 
Enveigle configure to look for a2x.py as well as a2x.

It's not guaranteed that every package symlinks a2x to a2x.py; OpenBSD
does not do this, so let's just look for a2x.py as well.

11 years agochanges file for 10928
Nick Mathewson [Mon, 17 Feb 2014 23:00:55 +0000 (23:00 +0000)] 
changes file for 10928

11 years agoRestitute a successful stat call to this test case.
dana koch [Sat, 15 Feb 2014 10:48:58 +0000 (21:48 +1100)] 
Restitute a successful stat call to this test case.

Since the first stat call is made for it to deliberately fail, and we
reference st.st_mode without st having valid data, st.st_mode can contain
garbage and cause chmod to fail with EINVAL. We rerun stat and ensure it
succeeded.

Also make use of tt_abort_perror, to properly convey failure reasons to
the user.

11 years agoAppropriately condition the _le64toh macro definition for OpenBSD.
dana koch [Sun, 16 Feb 2014 05:12:50 +0000 (16:12 +1100)] 
Appropriately condition the _le64toh macro definition for OpenBSD.

This corrects a linker error on OpenBSD, where the function is called letoh64. See also http://git.kernel.org/cgit/docs/man-pages/man-pages.git/tree/man3/endian.3#n84.

11 years agomingw fix: Rename a variable in the unit tests
Nick Mathewson [Sun, 16 Feb 2014 17:51:35 +0000 (12:51 -0500)] 
mingw fix: Rename a variable in the unit tests

Apparently, MS C is #defining "IN" on us, so we can't name a
variable IN.  Delightful!

11 years agoMerge remote-tracking branch 'public/bug10722'
Nick Mathewson [Sun, 16 Feb 2014 17:13:12 +0000 (12:13 -0500)] 
Merge remote-tracking branch 'public/bug10722'

11 years agoWarning message when bug 10722 would trigger
Nick Mathewson [Sun, 16 Feb 2014 17:11:07 +0000 (12:11 -0500)] 
Warning message when bug 10722 would trigger

If somebody's excludenodes settings are keeping their hidden service
connections from working, they should probably get notified about it.

11 years agoMerge branch 'bug4900_siphash_v2'
Nick Mathewson [Sat, 15 Feb 2014 20:59:10 +0000 (15:59 -0500)] 
Merge branch 'bug4900_siphash_v2'