]>
git.ipfire.org Git - thirdparty/tor.git/log
Sebastian Hahn [Fri, 9 Mar 2012 14:40:44 +0000 (15:40 +0100)]
Fix month check in parse_http_time, add test
Nick Mathewson [Fri, 9 Mar 2012 15:24:40 +0000 (10:24 -0500)]
Remove more dubiosity in struct tm handling. related to bug5346
Nick Mathewson [Fri, 9 Mar 2012 02:26:48 +0000 (21:26 -0500)]
changes file for branch bug5346
Nick Mathewson [Fri, 9 Mar 2012 02:09:34 +0000 (21:09 -0500)]
Reject an additional type of bad date in parse_http_time
Esteban Manchado Velázquez [Mon, 20 Feb 2012 16:40:37 +0000 (17:40 +0100)]
Fix parse_http_time and add tests
* It seems parse_http_time wasn't parsing correctly any date with commas (RFCs
1123 and 850). Fix that.
* It seems parse_http_time was reporting the wrong month (they start at 0, not
1). Fix that.
* Add some tests for parse_http_time, covering all three formats.
Nick Mathewson [Wed, 16 May 2012 14:51:02 +0000 (10:51 -0400)]
Correct the bulletproofing of routerlist_insert()
The original code updated some variables, but forgot to remove a
replaced old-routerdesc from rl->old_routers.
Related to bug 1776.
Nick Mathewson [Tue, 15 May 2012 15:22:06 +0000 (11:22 -0400)]
Clarify MaxCircuitDirtiness behavior with hidden services. Bug 5259.
Nick Mathewson [Tue, 15 May 2012 14:04:49 +0000 (10:04 -0400)]
Merge branch 'bug5796_022_squashed' into maint-0.2.2
Nick Mathewson [Mon, 7 May 2012 19:22:17 +0000 (15:22 -0400)]
Fix a crash bug on SETCIRCUITPURPOSE.
Nick Mathewson [Tue, 15 May 2012 14:00:51 +0000 (10:00 -0400)]
Merge remote-tracking branch 'karsten/geoip-may2012' into maint-0.2.2
Roger Dingledine [Thu, 10 May 2012 21:46:19 +0000 (17:46 -0400)]
fix over-wide line from
f661747370
Nick Mathewson [Thu, 10 May 2012 19:38:57 +0000 (15:38 -0400)]
Merge branch 'bug5786_range_022' into maint-0.2.2
Ravi Chandra Padmala [Thu, 10 May 2012 07:23:16 +0000 (12:53 +0530)]
Add changes/bug5760
Ravi Chandra Padmala [Thu, 3 May 2012 21:04:26 +0000 (02:34 +0530)]
Add missing CRLFs to AUTHCHALLENGE failure replies
Fix #5760
Nick Mathewson [Mon, 7 May 2012 16:25:59 +0000 (12:25 -0400)]
Handle out-of-range values in tor_parse_* integer functions
The underlying strtoX functions handle overflow by saturating and
setting errno to ERANGE. If the min/max arguments to the
tor_parse_* functions are equal to the minimum/maximum of the
underlying type, then with the old approach, we wouldn't treat a
too-large value as genuinely broken.
Found this while looking at bug 5786; bugfix on
19da1f36 (in Tor
0.0.9), which introduced these functions.
Karsten Loesing [Mon, 7 May 2012 10:50:47 +0000 (12:50 +0200)]
Update to the May 2012 GeoIP database.
Nick Mathewson [Thu, 19 Apr 2012 03:02:09 +0000 (23:02 -0400)]
Fix a log-uninitialized-buffer bug.
Fix for 5647; bugfix on 0.2.1.5-alpha.
George Kadianakis [Wed, 18 Apr 2012 22:47:37 +0000 (00:47 +0200)]
rend_service_introduce(): do protocol violation check before anything else.
(Cherry-picked from
6ba13e4 by nickm)
Nick Mathewson [Wed, 11 Apr 2012 14:04:31 +0000 (10:04 -0400)]
Merge branch 'bug5593' into maint-0.2.2
Karsten Loesing [Wed, 11 Apr 2012 12:15:49 +0000 (14:15 +0200)]
Update to the April 2012 GeoIP database.
Nick Mathewson [Tue, 10 Apr 2012 16:00:20 +0000 (12:00 -0400)]
Include a Host: header with any HTTP/1.1 proxy request
Bugfix on 0.2.2.1-alpha, which added the orginal HTTP proxy
authentication code. Fix for bug 5593.
Nick Mathewson [Thu, 5 Apr 2012 01:05:19 +0000 (21:05 -0400)]
Wrap long line; strlen("ides")<strlen("turtles").
Sebastian Hahn [Wed, 4 Apr 2012 23:51:04 +0000 (01:51 +0200)]
ides has become turtles, and gotten a new IP address
As per ticket 5569
Roger Dingledine [Sun, 1 Apr 2012 19:59:38 +0000 (15:59 -0400)]
put a _ before or_options_t elements that aren't configurable
it's fine with me if we change the current convention, but we should
actually decide to change it if we want to.
Roger Dingledine [Sun, 1 Apr 2012 19:59:00 +0000 (15:59 -0400)]
BridgePassword was never for debugging
It is for the not-yet-implemented bridge community design.
Nick Mathewson [Sun, 1 Apr 2012 02:51:28 +0000 (22:51 -0400)]
Do not use strcmp() to compare an http authenticator to its expected value
This fixes a side-channel attack on the (fortunately unused!)
BridgePassword option for bridge authorities. Fix for bug 5543;
bugfix on 0.2.0.14-alpha.
Nick Mathewson [Mon, 26 Mar 2012 18:06:27 +0000 (14:06 -0400)]
Safe cookie authentication gets a changes file
Nick Mathewson [Mon, 26 Mar 2012 18:03:29 +0000 (14:03 -0400)]
Merge remote-tracking branch 'rransom-tor/safecookie-022-v3' into maint-0.2.2
Nick Mathewson [Mon, 26 Mar 2012 17:59:49 +0000 (13:59 -0400)]
Nick Mathewson [Fri, 9 Mar 2012 19:50:46 +0000 (14:50 -0500)]
Use a given name in the bug5090 message, at its holder's request.
Nick Mathewson [Fri, 9 Mar 2012 19:27:50 +0000 (14:27 -0500)]
Never choose a bridge as an exit. Bug 5342.
Nick Mathewson [Fri, 9 Mar 2012 19:23:23 +0000 (14:23 -0500)]
Revise "sufficient exit nodes" check to work with restrictive ExitNodes
If you set ExitNodes so that only 1 exit node is accepted, the
previous patch would have made you unable to build circuits.
Nick Mathewson [Fri, 9 Mar 2012 18:54:04 +0000 (13:54 -0500)]
Merge branch 'bug5343' into maint-0.2.2
Nick Mathewson [Fri, 9 Mar 2012 16:54:27 +0000 (11:54 -0500)]
Oops; credit bug5090 patch to flupzor. estebanm only found the bug.
Nick Mathewson [Fri, 9 Mar 2012 16:50:22 +0000 (11:50 -0500)]
Correctly handle broken escape sequences in torrc values
Previously, malformatted torrc values could crash us.
Patch by Esteban Manchado. Fixes bug 5090; fix on 0.2.0.16-alpha.
Nick Mathewson [Thu, 8 Mar 2012 20:42:54 +0000 (15:42 -0500)]
Require a threshold of exit nodes before building circuits
This mitigates an attack proposed by wanoskarnet, in which all of a
client's bridges collude to restrict the exit nodes that the client
knows about. Fixes bug 5343.
Sebastian Hahn [Thu, 8 Mar 2012 18:27:05 +0000 (19:27 +0100)]
Fix compile warnings in openbsd malloc
Nick Mathewson [Thu, 8 Mar 2012 15:50:03 +0000 (10:50 -0500)]
Merge remote-tracking branch 'karsten/geoip-march2012' into maint-0.2.2
Karsten Loesing [Thu, 8 Mar 2012 08:35:15 +0000 (09:35 +0100)]
Update to the March 2012 GeoIP database.
Roger Dingledine [Wed, 29 Feb 2012 18:22:41 +0000 (13:22 -0500)]
new ip address for maatuska
Robert Ransom [Mon, 6 Feb 2012 18:49:45 +0000 (10:49 -0800)]
Implement 'safe cookie authentication'
Nick Mathewson [Tue, 13 Sep 2011 15:38:13 +0000 (11:38 -0400)]
Add a sha256 hmac function, with tests
(cherry picked from commit
fdbb9cdf746bbf0c39c34188baa8872471183ff7 )
Sebastian Hahn [Thu, 9 Feb 2012 23:51:58 +0000 (00:51 +0100)]
Properly protect paths to sed, sha1sum, openssl
in Makefile.am, we used it without quoting it, causing build failure if
your openssl/sed/sha1sum happened to live in a directory with a space in
it (very common on windows)
Nick Mathewson [Fri, 10 Feb 2012 17:01:56 +0000 (12:01 -0500)]
Downgrade "missing a certificate" from notice to info
It was apparently getting mistaken for a problem, even though it was
at notice.
Fixes 5067; fix on 0.2.0.10-alpha.
Nick Mathewson [Fri, 10 Feb 2012 15:55:39 +0000 (10:55 -0500)]
Use correct CVE number for CVE-2011-4576. Found by fermenthor. bug 5066
Roger Dingledine [Thu, 9 Feb 2012 09:21:08 +0000 (04:21 -0500)]
Merge branch 'maint-0.2.1' into maint-0.2.2
Roger Dingledine [Thu, 9 Feb 2012 08:57:04 +0000 (03:57 -0500)]
Revert "add a "docs" to the manual URI as listed in torrc.sample.in"
This reverts commit
55e8cae81553678ec77ce6b8fb1bf2d5e483e0aa .
The conversation from irc:
> weasel: i had intended to leave torrc.sample.in alone in maint-0.2.2,
since i don't want to make all your stable users have to deal with
a torrc change. but nickm changed it. is it in fact the case that a
change in that file means a change in the deb?
<weasel> it means you'll prompt every single user who ever touched
their torrc
<weasel> and they will be asked if they like your new version better
than what they have right now
<weasel> so it's not great
Instead I changed the website to redirect requests for the tor-manual
URL listed in maint-0.2.2's torrc.sample.in so the link will still work.
Karsten Loesing [Thu, 9 Feb 2012 08:16:24 +0000 (09:16 +0100)]
Update to the February 2012 GeoIP database.
Nick Mathewson [Wed, 8 Feb 2012 15:52:05 +0000 (10:52 -0500)]
add a "docs" to the manual URI as listed in torrc.sample.in
Roger Dingledine [Thu, 2 Feb 2012 07:31:28 +0000 (02:31 -0500)]
Update "ClientOnly" man page entry
There isn't really any point to messing with it. Resolves ticket 5005.
Nick Mathewson [Wed, 18 Jan 2012 20:29:25 +0000 (15:29 -0500)]
Merge remote-tracking branch 'public/bug4533_part2' into maint-0.2.2
Nick Mathewson [Tue, 17 Jan 2012 20:28:23 +0000 (15:28 -0500)]
Documentation for GiveGuardFlagTo... option
Nick Mathewson [Wed, 18 Jan 2012 15:47:22 +0000 (10:47 -0500)]
Fix SOCKET_OK test on win64.
Bugfix on 0.2.2.29-beta; partial fix for 4533; found by wanoskarnet
Nick Mathewson [Wed, 11 Jan 2012 16:07:13 +0000 (11:07 -0500)]
Merge remote-tracking branch 'origin/maint-0.2.1' into maint-0.2.2
Nick Mathewson [Wed, 11 Jan 2012 16:06:31 +0000 (11:06 -0500)]
Fix a compilation warning for our bug4822 fix on 64-bit linux
Nick Mathewson [Mon, 9 Jan 2012 21:40:21 +0000 (16:40 -0500)]
Fix comment about TLSv1_method() per comments by wanoskarnet
Nick Mathewson [Mon, 9 Jan 2012 17:21:04 +0000 (12:21 -0500)]
Fix a trivial log message error in renservice.c
Fixes bug 4856; bugfix on 0.0.6
This bug was introduced in
79fc5217 , back in 2004.
Roger Dingledine [Sun, 8 Jan 2012 17:14:44 +0000 (12:14 -0500)]
when the consensus fails, list which dir auths were in or out
Roger Dingledine [Sun, 8 Jan 2012 17:09:01 +0000 (12:09 -0500)]
nickname, not identity fingerprint, will help more
Roger Dingledine [Sun, 8 Jan 2012 15:03:46 +0000 (10:03 -0500)]
tell me who votes are actually for, not just where they're from
Roger Dingledine [Sun, 8 Jan 2012 14:03:03 +0000 (09:03 -0500)]
add a note from wanoskarnet
he disagrees about what the code that we decided not to use would do
Nick Mathewson [Thu, 5 Jan 2012 19:16:30 +0000 (14:16 -0500)]
Merge remote-tracking branch 'origin/maint-0.2.1' into maint-0.2.2
Nick Mathewson [Thu, 5 Jan 2012 19:11:42 +0000 (14:11 -0500)]
Merge branch 'bug4822_021_v2_squashed' into maint-0.2.1
Robert Ransom [Thu, 5 Jan 2012 04:41:28 +0000 (20:41 -0800)]
Log at info level when disabling SSLv3
Nick Mathewson [Thu, 5 Jan 2012 02:17:52 +0000 (21:17 -0500)]
Add a changes file for bug4822
Nick Mathewson [Wed, 4 Jan 2012 22:15:50 +0000 (17:15 -0500)]
Disable SSLv3 when using a not-up-to-date openssl
This is to address bug 4822, and CVE-2011-4576.
Roger Dingledine [Thu, 5 Jan 2012 11:45:28 +0000 (06:45 -0500)]
Merge branch 'maint-0.2.1' into maint-0.2.2
Roger Dingledine [Thu, 5 Jan 2012 11:42:26 +0000 (06:42 -0500)]
add a changes file for ticket 4825
Karsten Loesing [Thu, 5 Jan 2012 10:10:57 +0000 (11:10 +0100)]
Update to the January 2012 GeoIP database.
Sebastian Hahn [Fri, 30 Dec 2011 17:06:41 +0000 (18:06 +0100)]
Fix spelling in a controlsocket log msg
Fixes bug 4803.
Nick Mathewson [Wed, 28 Dec 2011 21:50:45 +0000 (16:50 -0500)]
Merge remote-tracking branch 'public/bug4788' into maint-0.2.2
Nick Mathewson [Wed, 28 Dec 2011 20:56:37 +0000 (15:56 -0500)]
Merge remote-tracking branch 'origin/maint-0.2.1' into maint-0.2.2
Nick Mathewson [Tue, 27 Dec 2011 21:41:25 +0000 (16:41 -0500)]
Bug 4786 fix: don't convert EARLY to RELAY on v1 connections
We used to do this as a workaround for older Tors, but now it's never
the correct thing to do (especially since anything that didn't
understand RELAY_EARLY is now deprecated hard).
Nick Mathewson [Wed, 28 Dec 2011 02:47:04 +0000 (21:47 -0500)]
Authorities reject insecure Tors.
This patch should make us reject every Tor that was vulnerable to
CVE-2011-0427. Additionally, it makes us reject every Tor that couldn't
handle RELAY_EARLY cells, which helps with proposal 110 (#4339).
Sebastian Hahn [Sun, 25 Dec 2011 22:19:08 +0000 (23:19 +0100)]
Provide correct timeradd/timersup replacements
Bug caught and patch provided by Vektor. Fixes bug 4778.t
Nick Mathewson [Mon, 19 Dec 2011 19:37:52 +0000 (14:37 -0500)]
Do not even try to keep going on a socket with socklen==0
Back in #1240, r1eo linked to information about how this could happen
with older Linux kernels in response to nmap. Bugs #4545 and #4547
are about how our approach to trying to deal with this condition was
broken and stupid. Thanks to wanoskarnet for reminding us about #1240.
This is a fix for the abovementioned bugs, and is a bugfix on
0.1.0.3-rc.
Nick Mathewson [Fri, 16 Dec 2011 22:49:41 +0000 (17:49 -0500)]
Merge remote-tracking branch 'sebastian/clang-3.0-fixes_022' into maint-0.2.2
Nick Mathewson [Thu, 15 Dec 2011 16:28:44 +0000 (11:28 -0500)]
Merge remote-tracking branch 'origin/maint-0.2.1' into maint-0.2.2
Nick Mathewson [Wed, 14 Dec 2011 21:38:43 +0000 (16:38 -0500)]
Add a fix for the buf_pullup bug that Vektor reported
Sebastian Hahn [Mon, 12 Dec 2011 14:36:08 +0000 (15:36 +0100)]
Build with warnings and clang 3.0
--enable-gcc-warnings enables two warnings that clang doesn't support,
so the build fails. We had hoped clang 3.0 would add those, but it
didn't, so let's just always disable those warnings when building with
clang. We can still fix it later once they add support
Roger Dingledine [Thu, 8 Dec 2011 09:40:15 +0000 (04:40 -0500)]
Merge branch 'maint-0.2.1' into maint-0.2.2
Karsten Loesing [Thu, 8 Dec 2011 08:55:44 +0000 (09:55 +0100)]
Update to the December 2011 GeoIP database.
Nick Mathewson [Fri, 2 Dec 2011 21:15:52 +0000 (16:15 -0500)]
Don't call tor_tls_set_logged_address till after checking conn->tls
Fixes bug 4531; partial backport of
e27a26d5 .
Nick Mathewson [Fri, 2 Dec 2011 21:09:16 +0000 (16:09 -0500)]
tor_accept_socket() should take tor_addr_t for listener arg
Fixes bug 4535; bugfix on 0.2.2.28-beta; found by "troll_un"
Nick Mathewson [Fri, 2 Dec 2011 20:37:24 +0000 (15:37 -0500)]
Fix bug 4530; check return val of tor_addr_lookup correctly
Fix on 0.2.1.5-alpha; reported by troll_un
Nick Mathewson [Thu, 24 Nov 2011 04:04:10 +0000 (23:04 -0500)]
Detect tor_addr_to_str failure in tor_dup_addr.
This avoids a possible strdup of an uninitialized buffer.
Fixes 4529; fix on 0.2.1.3-alpha; reported by troll_un.
Nick Mathewson [Wed, 23 Nov 2011 21:22:26 +0000 (16:22 -0500)]
Merge remote-tracking branch 'public/bug4230' into maint-0.2.2
Sebastian Hahn [Wed, 23 Nov 2011 00:41:37 +0000 (01:41 +0100)]
Fix a compile warning on 64bit OS X
Backport of
68475fc5c5a806ebbb5657de1667dab2c3e09b7c which accidentally
only made it into master. Fixes bug 4547. Bug isn't in any released
version.
Roger Dingledine [Mon, 21 Nov 2011 23:32:32 +0000 (18:32 -0500)]
man page entries for AuthDir{Fast,GuardBW}Guarantee
Roger Dingledine [Thu, 17 Nov 2011 01:55:33 +0000 (20:55 -0500)]
parameterize bw cutoffs to guarantee Fast and Guard flags
Now it will be easier for researchers to simulate Tor networks with
different values. Resolves ticket 4484.
Nick Mathewson [Mon, 21 Nov 2011 22:25:51 +0000 (17:25 -0500)]
Merge branch 'bug4518' into maint-0.2.2
Nick Mathewson [Mon, 21 Nov 2011 15:52:15 +0000 (10:52 -0500)]
Merge remote-tracking branch 'public/bug3963' into maint-0.2.2
Nick Mathewson [Mon, 21 Nov 2011 01:15:13 +0000 (20:15 -0500)]
Changes file for bug4521 backports.
Sebastian Hahn [Tue, 9 Aug 2011 08:59:03 +0000 (10:59 +0200)]
Sockets are unsigned on windows
this gets rid of a warning about signed/unsigned comparison
This is a backport of
0a5338e03cdf14ef80584c6ff8adeb49200b8a76 that
accidentally only went into master
Sebastian Hahn [Tue, 9 Aug 2011 09:00:25 +0000 (11:00 +0200)]
Get rid of an unused parameter warning on win
This is a backport of
bed79c47f4ec0ee72b19e2b81c54131d516d07ef which
accidentally only went into master
Nick Mathewson [Sat, 19 Nov 2011 23:29:42 +0000 (18:29 -0500)]
Only call cull_wedged_cpuworkers once every 60 seconds.
The function is over 10 or 20% on some of Moritz's profiles, depending
on how you could.
Since it's checking for a multi-hour timeout, this is safe to do.
Fixes bug 4518.
Sebastian Hahn [Fri, 18 Nov 2011 23:50:03 +0000 (00:50 +0100)]
Don't log about stats when running as a client without geoip
Completely disable stats if we aren't running as a relay. We won't
collect any anyway, so setting up the infrastructure for them and
logging about them is wrong. This also removes a confusing log
message that clients without a geoip db would have seen.
Fixes bug 4353.
Nick Mathewson [Wed, 16 Nov 2011 21:22:47 +0000 (16:22 -0500)]
Merge branch 'bug4457_022' into maint-0.2.2
Nick Mathewson [Tue, 15 Nov 2011 03:42:10 +0000 (22:42 -0500)]
Use real_addr in send_netinfo
Reported by "troll_un"; bugfix on 0.2.0.10-alpha; fixes bug 4349.
Nick Mathewson [Mon, 14 Nov 2011 22:53:45 +0000 (17:53 -0500)]
Detect failure from event_init() or event_base_new_with_config()