]>
git.ipfire.org Git - thirdparty/tor.git/log
Nick Mathewson [Thu, 20 Mar 2014 17:55:55 +0000 (13:55 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4'
This is an "ours" merge, taking nothing, since we already had the
changes that were in
a83abcf5ee5cb8fe245bc97e0
Nick Mathewson [Thu, 20 Mar 2014 17:52:50 +0000 (13:52 -0400)]
Fix unittest compilation with --disable-curve25519
This is a fix for 9700, which we already fixed in 0.2.5.x, but which
got left in 0.2.4.x.
This is a partial backport of
a0a855d586d99540277014ccd3
Nick Mathewson [Thu, 20 Mar 2014 00:28:10 +0000 (20:28 -0400)]
Merge remaining changes/* items into ChangeLog
(Not taking bug11235 since it's a whitespace fix)
Nick Mathewson [Thu, 20 Mar 2014 00:24:15 +0000 (20:24 -0400)]
extract some changelog principles into doc/HACKING
Roger Dingledine [Wed, 19 Mar 2014 23:11:25 +0000 (19:11 -0400)]
sort stanzas by interest, and sort by version within stanzas
(users want to know about client fixes before they want to know about
unit test fixes.)
Roger Dingledine [Wed, 19 Mar 2014 23:05:42 +0000 (19:05 -0400)]
missing colon
Roger Dingledine [Wed, 19 Mar 2014 23:04:35 +0000 (19:04 -0400)]
use the formatting from 0.2.4.21 for the 0.2.4.21 changelog stanza
Roger Dingledine [Wed, 19 Mar 2014 23:03:21 +0000 (19:03 -0400)]
fix a few grammar things, and deprecate 'servers' and 'nodes'
also clarify a few explanations. so far so good!
Nick Mathewson [Wed, 19 Mar 2014 02:52:09 +0000 (22:52 -0400)]
copy-edit the 0.2.5.3-alpha changelog even more
Nick Mathewson [Wed, 19 Mar 2014 02:29:56 +0000 (22:29 -0400)]
Work on the changelog for 0.2.5.3-alpha some more
Andrea Shepard [Tue, 18 Mar 2014 17:28:25 +0000 (10:28 -0700)]
Add changes file for bug #11235
Andrea Shepard [Tue, 18 Mar 2014 17:26:44 +0000 (10:26 -0700)]
Appease make check-spaces
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.)
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 .
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.
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.
Nick Mathewson [Wed, 12 Mar 2014 19:58:18 +0000 (15:58 -0400)]
Sort the 0.2.5.3-alpha changelog a little
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.
Nick Mathewson [Wed, 12 Mar 2014 15:11:26 +0000 (11:11 -0400)]
bugfix-on for 5018_notice
Nick Mathewson [Wed, 12 Mar 2014 15:10:51 +0000 (11:10 -0400)]
Merge remote-tracking branch 'asn/bug5018_notice'
Nick Mathewson [Tue, 11 Mar 2014 15:23:46 +0000 (11:23 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4'
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.
Nick Mathewson [Tue, 11 Mar 2014 15:04:47 +0000 (11:04 -0400)]
Merge remote-tracking branch 'asn/bug11069_take2'
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.
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.
Nick Mathewson [Mon, 10 Mar 2014 18:08:38 +0000 (14:08 -0400)]
Merge branch 'bug11156_squashed'
Nick Mathewson [Mon, 10 Mar 2014 18:08:29 +0000 (14:08 -0400)]
Merge branch 'bug11043_take2_squashed'
George Kadianakis [Sat, 8 Mar 2014 13:13:12 +0000 (13:13 +0000)]
Don't do directory fetches before all PTs have been configured.
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.
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.
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.
Nick Mathewson [Thu, 6 Mar 2014 16:52:22 +0000 (11:52 -0500)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Thu, 6 Mar 2014 15:22:40 +0000 (10:22 -0500)]
Merge branch 'bug11108'
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.
Nick Mathewson [Thu, 6 Mar 2014 15:03:24 +0000 (10:03 -0500)]
Give the HTTPS url for jenkins in doc/HACKING
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.
Nick Mathewson [Wed, 5 Mar 2014 19:36:32 +0000 (14:36 -0500)]
Fix whitespace errors, all of them mine.
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.
Nick Mathewson [Wed, 5 Mar 2014 19:32:05 +0000 (14:32 -0500)]
Merge branch 'ticket9176_squashed'
Conflicts:
doc/tor.1.txt
Nick Mathewson [Wed, 5 Mar 2014 19:27:07 +0000 (14:27 -0500)]
Fix wide lines.
Nick Mathewson [Wed, 5 Mar 2014 19:25:38 +0000 (14:25 -0500)]
Lower the maximum for PrecictedCircsRelevanceTime to one hour
unixninja92 [Wed, 25 Sep 2013 00:05:25 +0000 (02:05 +0200)]
Fixed spacing.
unixninja92 [Fri, 20 Sep 2013 12:31:10 +0000 (08:31 -0400)]
More correctly documented PredictedCircsRelevanceTime in tor.1.txt
unixninja92 [Tue, 24 Sep 2013 23:45:00 +0000 (01:45 +0200)]
Added max value to PredictedCircsRelevanceTime.
unixninja92 [Sat, 14 Sep 2013 20:32:59 +0000 (22:32 +0200)]
Added Documentation for PredictedCircsRelevanceTime config file argument.
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
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
Nick Mathewson [Wed, 5 Mar 2014 17:17:31 +0000 (12:17 -0500)]
Merge remote-tracking branch 'public/bug8788'
Nick Mathewson [Tue, 4 Mar 2014 17:10:42 +0000 (12:10 -0500)]
Document alternate bandwidth/memory unit spellings
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.
Nick Mathewson [Tue, 4 Mar 2014 16:03:30 +0000 (11:03 -0500)]
Merge branch 'bug10169_025_v2'
Conflicts:
src/test/test.c
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
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
Nick Mathewson [Tue, 4 Mar 2014 15:34:25 +0000 (10:34 -0500)]
Mention doc/HACKING in the readme
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.
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.
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.
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>
Nick Mathewson [Mon, 3 Mar 2014 14:56:17 +0000 (09:56 -0500)]
tweak changes file.
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.
Roger Dingledine [Mon, 3 Mar 2014 11:53:08 +0000 (06:53 -0500)]
trivial whitespace fixes
Roger Dingledine [Sat, 1 Mar 2014 09:09:34 +0000 (04:09 -0500)]
forward-port the 0.2.4.21 release notes
Nick Mathewson [Fri, 28 Feb 2014 13:57:29 +0000 (08:57 -0500)]
whitespace fix
Nick Mathewson [Fri, 28 Feb 2014 13:54:50 +0000 (08:54 -0500)]
Merge branch 'bug10884_squashed'
Nick Mathewson [Wed, 26 Feb 2014 18:42:21 +0000 (13:42 -0500)]
Unit tests for test_routerkeys_write_fingerprint
Nick Mathewson [Wed, 26 Feb 2014 16:15:43 +0000 (11:15 -0500)]
Unit tests for pk fingerprint functions
Nick Mathewson [Wed, 26 Feb 2014 15:52:20 +0000 (10:52 -0500)]
Tighten router_write_fingerprint impl
Karsten Loesing [Wed, 26 Feb 2014 09:44:55 +0000 (10:44 +0100)]
Write hashed bridge fingerprint to logs and to disk.
Implements #10884.
Nick Mathewson [Fri, 28 Feb 2014 13:32:13 +0000 (08:32 -0500)]
Merge remote-tracking branch 'karsten/task-5824'
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.
Nick Mathewson [Tue, 25 Feb 2014 21:09:15 +0000 (16:09 -0500)]
Merge remote-tracking branch 'public/bug10449'
Nick Mathewson [Tue, 25 Feb 2014 20:59:43 +0000 (15:59 -0500)]
Merge remote-tracking branch 'origin/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
Nick Mathewson [Tue, 25 Feb 2014 15:23:38 +0000 (10:23 -0500)]
Trivial comment fix.
Nick Mathewson [Tue, 25 Feb 2014 15:23:09 +0000 (10:23 -0500)]
Merge remote-tracking branch 'public/bug11048'
Nick Mathewson [Tue, 25 Feb 2014 15:04:37 +0000 (10:04 -0500)]
Merge remote-tracking branch 'karsten/geoip2regcountry'
Nick Mathewson [Tue, 25 Feb 2014 15:04:10 +0000 (10:04 -0500)]
Merge remote-tracking branch 'origin/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
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.
"""
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.
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.
Nick Mathewson [Mon, 24 Feb 2014 18:06:55 +0000 (13:06 -0500)]
Merge branch 'bug11047'
Nick Mathewson [Mon, 24 Feb 2014 18:06:40 +0000 (13:06 -0500)]
Merge remote-tracking branch 'origin/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
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".
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.
Karsten Loesing [Fri, 21 Feb 2014 19:13:33 +0000 (19:13 +0000)]
Include instructions on generating geoip files.
Implements #10924.
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.
Nick Mathewson [Fri, 21 Feb 2014 17:29:48 +0000 (17:29 +0000)]
Merge remote-tracking branch 'public/bug10987_024'
Nick Mathewson [Fri, 21 Feb 2014 17:27:35 +0000 (17:27 +0000)]
Style tweaks on code, changes file for 10987
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>
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.
Nick Hopper [Thu, 20 Feb 2014 11:48:47 +0000 (05:48 -0600)]
fixed long -> int implicit cast warning line 3453
Nick Mathewson [Tue, 18 Feb 2014 01:16:22 +0000 (01:16 +0000)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Tue, 18 Feb 2014 01:15:59 +0000 (01:15 +0000)]
whoops; mistaek in
a496010642c2 . so many comma
Nick Mathewson [Mon, 17 Feb 2014 23:06:34 +0000 (23:06 +0000)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Mon, 17 Feb 2014 23:06:18 +0000 (23:06 +0000)]
add changes file for bug 10929
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.
Nick Mathewson [Mon, 17 Feb 2014 23:00:55 +0000 (23:00 +0000)]
changes file for 10928
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.