]>
git.ipfire.org Git - thirdparty/tor.git/log
Nick Mathewson [Fri, 18 Nov 2011 23:42:49 +0000 (18:42 -0500)]
Merge remote-tracking branch 'public/benchmark'
Nick Mathewson [Thu, 17 Nov 2011 22:14:49 +0000 (17:14 -0500)]
Fix a couple of memory leaks in rend_add_service spotted by coverity
Roger Dingledine [Wed, 16 Nov 2011 23:59:20 +0000 (18:59 -0500)]
trivial code cleanup in generate_v2_networkstatus_opinion()
Roger Dingledine [Wed, 16 Nov 2011 23:10:13 +0000 (18:10 -0500)]
fix trivial typo
somebody should s/authoritative directory server/directory authority/g
at some point
Nick Mathewson [Wed, 16 Nov 2011 22:30:24 +0000 (17:30 -0500)]
Merge remote-tracking branch 'sebastian/bug2893'
Nick Mathewson [Wed, 16 Nov 2011 21:23:24 +0000 (16:23 -0500)]
Merge remote-tracking branch 'origin/maint-0.2.2'
Nick Mathewson [Wed, 16 Nov 2011 21:23:15 +0000 (16:23 -0500)]
Merge branch 'bug4457_master'
Nick Mathewson [Wed, 16 Nov 2011 21:22:47 +0000 (16:22 -0500)]
Merge branch 'bug4457_022' into maint-0.2.2
Sebastian Hahn [Wed, 16 Nov 2011 16:44:20 +0000 (17:44 +0100)]
Eat all whitespace after a control command
Roger Dingledine [Mon, 11 Apr 2011 20:51:10 +0000 (16:51 -0400)]
allow manual control port authenticate via netcat
Sebastian Hahn [Wed, 16 Nov 2011 15:40:56 +0000 (16:40 +0100)]
Fix a check-spaces complaint
Sebastian Hahn [Wed, 16 Nov 2011 15:39:04 +0000 (16:39 +0100)]
Don't allow building on platforms where AF_UNSPEC != 0
Sebastian Hahn [Wed, 16 Nov 2011 13:07:10 +0000 (14:07 +0100)]
Don't fail to send netinfo if real_addr is unset
If we haven't set real_addr on a connection, we also now that _base.addr
hasn't been tampered with. So we can use that.
Nick Mathewson [Tue, 15 Nov 2011 20:58:00 +0000 (15:58 -0500)]
Merge branch 'bug4371_squashed'
Nick Mathewson [Tue, 15 Nov 2011 16:56:21 +0000 (11:56 -0500)]
Make certificate skew into a protocol warning
Nick Mathewson [Tue, 15 Nov 2011 03:21:45 +0000 (22:21 -0500)]
Allow up to a 30 days future skew, 48 hours past skew in certs.
Nick Mathewson [Tue, 15 Nov 2011 16:59:37 +0000 (11:59 -0500)]
Merge remote-tracking branch 'sebastian/bug4469'
Nick Mathewson [Tue, 15 Nov 2011 16:42:38 +0000 (11:42 -0500)]
Merge remote-tracking branch 'origin/maint-0.2.2'
Sebastian Hahn [Tue, 15 Nov 2011 12:29:32 +0000 (13:29 +0100)]
Fix compile warnings on windows
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 [Tue, 15 Nov 2011 03:35:49 +0000 (22:35 -0500)]
Merge remote-tracking branch 'public/bug4367'
Nick Mathewson [Mon, 14 Nov 2011 23:12:29 +0000 (18:12 -0500)]
Disable IOCP and retry event_base_new_with_config once on failure
This is a fancier bug4457 workaround for 0.2.3. In 0.2.2, we could
just tell Libevent "Don't enable locking!" so it wouldn't try to make
the event_base notifiable. But for IOCP, we need a notifiable base.
(Eventually, we'll want a notifiable base for other stuff, like
multithreaded crypto.) So the solution is to try a full-featured
initialization, and then retry with all the options turned off if that
fails.
Nick Mathewson [Mon, 14 Nov 2011 22:59:42 +0000 (17:59 -0500)]
Merge remote-tracking branch 'public/bug4457_022' into bug4457_master
Conflicts:
src/common/compat_libevent.c
Resolving conflict by not taking
7363eae13cb8 ("Use the
EVENT_BASE_FLAG_NOLOCK flag to prevent socketpair() invocation"): in
Tor 0.2.3.x, we _do_ sometimes use notifiable event bases.
Nick Mathewson [Mon, 14 Nov 2011 22:53:45 +0000 (17:53 -0500)]
Detect failure from event_init() or event_base_new_with_config()
Nick Mathewson [Mon, 14 Nov 2011 22:46:43 +0000 (17:46 -0500)]
Use the EVENT_BASE_FLAG_NOLOCK flag to prevent socketpair() invocation
In Tor 0.2.2, we never need the event base to be notifiable, since we
don't call it from other threads. This is a workaround for bug 4457,
which is not actually a Tor bug IMO.
Nick Mathewson [Mon, 14 Nov 2011 17:53:34 +0000 (12:53 -0500)]
Merge remote-tracking branch '4ZM/topic/test/4433_address'
Nick Mathewson [Mon, 14 Nov 2011 16:10:45 +0000 (11:10 -0500)]
Merge remote-tracking branch 'origin/maint-0.2.2'
Nick Mathewson [Mon, 14 Nov 2011 16:10:27 +0000 (11:10 -0500)]
Merge remote-tracking branch 'origin/maint-0.2.1' into maint-0.2.2
Nick Mathewson [Mon, 14 Nov 2011 16:10:10 +0000 (11:10 -0500)]
Merge remote-tracking branch 'karsten/geoip-november2011' into maint-0.2.1
Gisle Vanem [Sat, 12 Nov 2011 04:49:02 +0000 (23:49 -0500)]
Fix test_util.c compilation on MSVC
"Those '{}' constructs are not well liked by MSVC (cl v.16.xx)."
Received on tor-dev; fixes bug on 0.2.3.3-alpha.
Nick Mathewson [Fri, 11 Nov 2011 18:06:17 +0000 (13:06 -0500)]
All-in-one benchmark test for cell crypto
Nick Mathewson [Fri, 11 Nov 2011 17:46:22 +0000 (12:46 -0500)]
Convert bench_dmap to produce reasonable output.
Nick Mathewson [Fri, 11 Nov 2011 17:34:03 +0000 (12:34 -0500)]
New src/test/bench.c to allow us to actually _run_ benchmark code
Yes, the timing functions are suboptimal. Please improve!
Sebastian Hahn [Wed, 9 Nov 2011 10:06:37 +0000 (11:06 +0100)]
Remove the torint.h include from aes.h
This hasn't been needed for a while, there's nothing in aes.h now that
would need uint* stuff.
Sebastian Hahn [Wed, 9 Nov 2011 09:54:00 +0000 (10:54 +0100)]
Fix the bench_{aes,dmap} test functions to work with TT
TT expects them to be named test_bench_{aes,dmap}. Also change the
DISABLED macro to reflect that.
Nick Mathewson [Wed, 9 Nov 2011 03:57:15 +0000 (22:57 -0500)]
Remove vestiges of RIJNDAEL_COUNTER_OPTIMIZATION
Nick Mathewson [Wed, 9 Nov 2011 03:54:52 +0000 (22:54 -0500)]
Stop using "u32" and "u8" in aes.c
Nick Mathewson [Wed, 9 Nov 2011 03:51:59 +0000 (22:51 -0500)]
Dump our internal AES implementation
This thing was pretty pointless on versions of OpenSSL 0.9.8 and later,
and almost totally pointless on OpenSSL 1.0.0.
Also, favor EVP by default, since it lets us get hardware acceleration
where present. (See issue 4442)
Nick Mathewson [Fri, 11 Nov 2011 16:11:15 +0000 (11:11 -0500)]
Changes file for patches from 4ZM
Nick Mathewson [Fri, 11 Nov 2011 16:07:29 +0000 (11:07 -0500)]
Merge remote-tracking branch '4ZM/topic/test/4434_address'
Anders Sundman [Fri, 11 Nov 2011 06:55:20 +0000 (07:55 +0100)]
Unit tests for tor_addr_to_str
Anders Sundman [Fri, 11 Nov 2011 07:05:50 +0000 (08:05 +0100)]
Unit tests for tor_addr_to_PTR_name
Anders Sundman [Fri, 11 Nov 2011 07:04:05 +0000 (08:04 +0100)]
Return value bugfix of tor_addr_to_PTR_name
Returns value semantics was inconsitent between IPv4 and IPv6
Anders Sundman [Fri, 11 Nov 2011 06:53:58 +0000 (07:53 +0100)]
Fixed buffer bounds check bug in tor_addr_to_str
Anders Sundman [Fri, 11 Nov 2011 06:49:41 +0000 (07:49 +0100)]
Unit tests for tor_inet_ntop
Anders Sundman [Fri, 11 Nov 2011 06:47:00 +0000 (07:47 +0100)]
Fixed of-by-one error in tor_inet_ntop
The of-by-one error could lead to 1 byte buffer over runs IPv6 for addresses.
Anders Sundman [Mon, 31 Oct 2011 22:48:29 +0000 (23:48 +0100)]
Unit tests for eat_whitespace functions
Anders Sundman [Mon, 31 Oct 2011 22:47:11 +0000 (23:47 +0100)]
Unit test for n_bits_set func
Anders Sundman [Mon, 31 Oct 2011 22:36:35 +0000 (23:36 +0100)]
Unit test for hex_str func
Note: Too long input is undefined by contract. That behaviour should not be asserted in test.
Nick Mathewson [Wed, 9 Nov 2011 16:04:40 +0000 (11:04 -0500)]
Merge remote-tracking branch 'origin/maint-0.2.2'
Nick Mathewson [Wed, 9 Nov 2011 16:03:20 +0000 (11:03 -0500)]
Merge remote-tracking branch 'rransom-tor/bug4426' into maint-0.2.2
Nick Mathewson [Wed, 9 Nov 2011 15:28:43 +0000 (10:28 -0500)]
Merge remote-tracking branch 'origin/maint-0.2.2'
Sebastian Hahn [Tue, 8 Nov 2011 07:09:40 +0000 (08:09 +0100)]
Don't warn when compiling with --disable-threads
STMT_VOID semantics suggested by nick, thanks!
Nick Mathewson [Wed, 9 Nov 2011 05:23:44 +0000 (00:23 -0500)]
Rewrite comment at head of eventdns.c
Let's make it more obvious to the everyday reader that eventdns.c is
a) Based on Libevent's evdns.c
b) Slated for demolition
c) Supposed to keep API-compatibility with Libevent.
d) Not worth tweaking unless there's a bug.
Robert Ransom [Tue, 8 Nov 2011 01:02:50 +0000 (17:02 -0800)]
Include HiddenServiceDir in some warning messages
Robert Ransom [Mon, 7 Nov 2011 23:32:43 +0000 (15:32 -0800)]
Add some XXXes
Robert Ransom [Mon, 7 Nov 2011 23:32:33 +0000 (15:32 -0800)]
Add GETINFO md/id/* and md/name/* items for relay microdescs
Roger Dingledine [Mon, 7 Nov 2011 20:22:23 +0000 (15:22 -0500)]
fold in changes files
Nick Mathewson [Mon, 7 Nov 2011 16:57:07 +0000 (11:57 -0500)]
Merge remote-tracking branch 'rransom-tor/bug4411'
Nick Mathewson [Mon, 7 Nov 2011 16:55:11 +0000 (11:55 -0500)]
Merge remote-tracking branch 'origin/maint-0.2.2'
Nick Mathewson [Mon, 7 Nov 2011 16:54:54 +0000 (11:54 -0500)]
Robert says that this bug was not in fact one of frosty's
Robert Ransom [Mon, 7 Nov 2011 16:48:23 +0000 (08:48 -0800)]
Fix assert on clients of and authorities for v0 HS descs
Nick Mathewson [Mon, 7 Nov 2011 16:48:02 +0000 (11:48 -0500)]
Merge remote-tracking branch 'origin/maint-0.2.2'
Nick Mathewson [Mon, 7 Nov 2011 16:47:28 +0000 (11:47 -0500)]
Merge branch 'bug4424' into maint-0.2.2
Nick Mathewson [Mon, 7 Nov 2011 16:46:51 +0000 (11:46 -0500)]
Remove an extraneous "if" in the 4424 fix
Nick Mathewson [Mon, 7 Nov 2011 16:37:29 +0000 (11:37 -0500)]
Merge remote-tracking branch 'asn-mytor/bug4012_clienttransportplugin'
Robert Ransom [Mon, 7 Nov 2011 16:35:51 +0000 (08:35 -0800)]
Don't leak an extend_info_t in rend_client_any_intro_points_usable
Nick Mathewson [Mon, 7 Nov 2011 15:44:02 +0000 (10:44 -0500)]
Merge remote-tracking branch 'origin/maint-0.2.2'
Nick Mathewson [Mon, 7 Nov 2011 15:42:34 +0000 (10:42 -0500)]
Merge remote-tracking branch 'origin/maint-0.2.1' into maint-0.2.2
Karsten Loesing [Mon, 7 Nov 2011 13:23:48 +0000 (14:23 +0100)]
Update to the November 2011 GeoIP database.
Sebastian Hahn [Sun, 6 Nov 2011 16:24:09 +0000 (17:24 +0100)]
Add a changes file for 4410
Dan Rosenberg [Sun, 6 Nov 2011 16:23:14 +0000 (17:23 +0100)]
Fix remotely triggerable assert during ip decryption
Fixes bug 4410.
George Kadianakis [Sat, 5 Nov 2011 23:50:22 +0000 (00:50 +0100)]
Added man entry for ClientTransportPlugin.
Roger Dingledine [Thu, 3 Nov 2011 23:08:25 +0000 (19:08 -0400)]
fix grammar in man page entries from proposal 171
Nick Mathewson [Thu, 3 Nov 2011 17:24:46 +0000 (13:24 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.2'
Nick Mathewson [Thu, 3 Nov 2011 17:23:59 +0000 (13:23 -0400)]
Merge branch 'bug4383_nm' into maint-0.2.2
George Kadianakis [Thu, 3 Nov 2011 16:16:31 +0000 (17:16 +0100)]
Fix a memleak when fetching descriptors for bridges in ExcludeNodes.
Nick Mathewson [Thu, 3 Nov 2011 16:40:02 +0000 (12:40 -0400)]
Even when we can't answer an AUTH_CHALLENGE, send NETINFO.
Fixes bug 4368; fix on 0.2.3.6-alpha; bug found by "frosty".
Nick Mathewson [Thu, 3 Nov 2011 15:52:35 +0000 (11:52 -0400)]
Fix bug 4367: correctly detect auth_challenge cells we can't use
Found by frosty_un, bugfix on 0.2.3.6-alpha, fix suggested by arma.
Nick Mathewson [Thu, 3 Nov 2011 14:24:31 +0000 (10:24 -0400)]
changes file for bug4366
Andrea Gelmini [Tue, 1 Nov 2011 14:00:37 +0000 (15:00 +0100)]
Remove some duplicate includes
Nick Mathewson [Thu, 3 Nov 2011 13:37:12 +0000 (09:37 -0400)]
Fix a proposal number in the changelog.
Sebastian Hahn [Wed, 2 Nov 2011 19:57:58 +0000 (20:57 +0100)]
Fix a check-spaces complaint
Sebastian Hahn [Wed, 2 Nov 2011 19:57:23 +0000 (20:57 +0100)]
Resolve a crash when running as dirauth
When we're asked for our own descriptor, don't crash.
Nick Mathewson [Mon, 31 Oct 2011 01:28:36 +0000 (21:28 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.2'
Nick Mathewson [Mon, 31 Oct 2011 01:28:19 +0000 (21:28 -0400)]
Merge remote-tracking branch 'erinn/win-bundle-fix' into maint-0.2.2
Erinn Clark [Mon, 31 Oct 2011 00:52:52 +0000 (00:52 +0000)]
remove absolute path from contrib/package_nsis-mingw.sh in order to make it easier to automatically build tor expert bundle
Roger Dingledine [Sun, 30 Oct 2011 22:39:49 +0000 (18:39 -0400)]
blurb and version bump for 0.2.3.7-alpha
Roger Dingledine [Sun, 30 Oct 2011 05:58:05 +0000 (01:58 -0400)]
there will be a new alpha release today (oct 30)
Roger Dingledine [Sun, 30 Oct 2011 01:43:23 +0000 (21:43 -0400)]
bridges send netinfo cells like clients on outgoing conns
fixes bug 4348
Roger Dingledine [Sat, 29 Oct 2011 20:24:59 +0000 (16:24 -0400)]
amend the changelog entry for 4299
it doesn't have to do with small cells. rather, it has to do with
using cells to decide whether to mark the connection for close.
Roger Dingledine [Sat, 29 Oct 2011 19:10:37 +0000 (15:10 -0400)]
fold in changes entries
Nick Mathewson [Sat, 29 Oct 2011 13:22:58 +0000 (09:22 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.2'
Conflicts:
src/or/config.c
Sebastian Hahn [Sat, 29 Oct 2011 09:21:37 +0000 (11:21 +0200)]
Add a changes file for the 4340 fix
Sebastian Hahn [Wed, 22 Dec 2010 07:34:41 +0000 (08:34 +0100)]
Disable stats requiring geoip info if we have none
In other parts of the code we will otherwise attempt to collect these
statistics, and that will lead to crashes.
Nick Mathewson [Fri, 28 Oct 2011 22:05:25 +0000 (18:05 -0400)]
Merge branch 'bug4343'
Nick Mathewson [Fri, 28 Oct 2011 22:05:17 +0000 (18:05 -0400)]
Bump version to 0.2.3.6-alpha-dev
Nick Mathewson [Fri, 28 Oct 2011 22:02:57 +0000 (18:02 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.2'
Conflicts:
src/or/command.c
Nick Mathewson [Fri, 28 Oct 2011 21:04:15 +0000 (17:04 -0400)]
Discard all cells on a marked connection
Fix for bug 4299
Nick Mathewson [Fri, 28 Oct 2011 20:41:04 +0000 (16:41 -0400)]
"Authetnicate" is not the usual spelling