]>
git.ipfire.org Git - thirdparty/tor.git/log
Roger Dingledine [Mon, 23 Jan 2012 00:39:29 +0000 (19:39 -0500)]
update comment to reflect our TOR_INVALID_SOCKET convention
Roger Dingledine [Sun, 22 Jan 2012 07:52:38 +0000 (02:52 -0500)]
bump to 0.2.3.11-alpha
Roger Dingledine [Sun, 22 Jan 2012 05:49:29 +0000 (00:49 -0500)]
give it a blurb and a release date
Roger Dingledine [Sun, 22 Jan 2012 05:15:45 +0000 (00:15 -0500)]
fold in recent changelog entries
George Kadianakis [Sat, 21 Jan 2012 14:28:48 +0000 (16:28 +0200)]
Better documentation of transport-related torrc options.
Document ServerTransportPlugin and the managed proxy version of
ClientTransportPlugin.
Nick Mathewson [Wed, 18 Jan 2012 20:54:56 +0000 (15:54 -0500)]
Merge branch 'bug4893'
Nick Mathewson [Wed, 18 Jan 2012 20:53:30 +0000 (15:53 -0500)]
Rename nonconformant identifiers.
Fixes bug 4893.
These changes are pure mechanical, and were generated with this
perl script:
/usr/bin/perl -w -i.bak -p
s/crypto_pk_env_t/crypto_pk_t/g;
s/crypto_dh_env_t/crypto_dh_t/g;
s/crypto_cipher_env_t/crypto_cipher_t/g;
s/crypto_digest_env_t/crypto_digest_t/g;
s/aes_free_cipher/aes_cipher_free/g;
s/crypto_free_cipher_env/crypto_cipher_free/g;
s/crypto_free_digest_env/crypto_digest_free/g;
s/crypto_free_pk_env/crypto_pk_free/g;
s/_crypto_dh_env_get_dh/_crypto_dh_get_dh/g;
s/_crypto_new_pk_env_rsa/_crypto_new_pk_from_rsa/g;
s/_crypto_pk_env_get_evp_pkey/_crypto_pk_get_evp_pkey/g;
s/_crypto_pk_env_get_rsa/_crypto_pk_get_rsa/g;
s/crypto_new_cipher_env/crypto_cipher_new/g;
s/crypto_new_digest_env/crypto_digest_new/g;
s/crypto_new_digest256_env/crypto_digest256_new/g;
s/crypto_new_pk_env/crypto_pk_new/g;
s/crypto_create_crypto_env/crypto_cipher_new/g;
s/connection_create_listener/connection_listener_new/g;
s/smartlist_create/smartlist_new/g;
s/transport_create/transport_new/g;
Nick Mathewson [Wed, 18 Jan 2012 20:33:04 +0000 (15:33 -0500)]
Merge remote-tracking branch 'public/bug4533_part1'
Conflicts:
src/common/compat.h
Nick Mathewson [Wed, 18 Jan 2012 20:29:41 +0000 (15:29 -0500)]
Merge remote-tracking branch 'origin/maint-0.2.2'
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 [Wed, 18 Jan 2012 19:50:22 +0000 (14:50 -0500)]
Merge branch 'bug4012_023_squashed'
Nick Mathewson [Tue, 17 Jan 2012 20:51:32 +0000 (15:51 -0500)]
Add missing documentation for some options introduced in 0.2.3.x
Nick Mathewson [Wed, 18 Jan 2012 19:45:18 +0000 (14:45 -0500)]
Merge remote-tracking branch 'origin/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 18:14:44 +0000 (13:14 -0500)]
Use tor_socket_t, not unsigned, in tor-fw-helper-natmp.c
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 [Tue, 17 Jan 2012 21:38:47 +0000 (16:38 -0500)]
Warn if sizeof(tor_socket_t) != sizeof(SOCKET)
Nick Mathewson [Tue, 17 Jan 2012 21:35:07 +0000 (16:35 -0500)]
Use SOCKET_OK macros in even more places
Add a TOR_INVALID_SOCKET macro to wrap -1/INVALID_SOCKET.
Partial work for bug4533.
Roger Dingledine [Tue, 17 Jan 2012 02:20:46 +0000 (21:20 -0500)]
fix crash bug in original feature4207 branch
PLURAL() assumes that the plural is the canonical name for the option,
so now it is.
Nick Mathewson [Mon, 16 Jan 2012 20:16:41 +0000 (15:16 -0500)]
Merge remote-tracking branch 'asn-mytor/bug4751'
Nick Mathewson [Mon, 16 Jan 2012 20:10:38 +0000 (15:10 -0500)]
Merge remote-tracking branch 'public/bug3325'
Nick Mathewson [Mon, 16 Jan 2012 20:07:58 +0000 (15:07 -0500)]
Merge branch 'bug4889_v2'
Nick Mathewson [Wed, 11 Jan 2012 19:53:17 +0000 (14:53 -0500)]
whitespace fixes
Nick Mathewson [Wed, 11 Jan 2012 19:02:59 +0000 (14:02 -0500)]
Convert instances of tor_malloc+tor_snprintf into tor_asprintf
These were found by looking for tor_snprintf() instances that were
preceeded closely by tor_malloc(), though I probably converted some
more snprintfs as well.
(In every case, make sure that the length variable (if any) is
removed, renamed, or lowered, so that anything else that might have
assumed a longer buffer doesn't exist.)
Nick Mathewson [Wed, 11 Jan 2012 19:02:59 +0000 (14:02 -0500)]
Convert instances of tor_snprintf+strdup into tor_asprintf
These were found by looking for tor_snprintf() instances that were
followed closely by tor_strdup(), though I probably converted some
other snprintfs as well.
Nick Mathewson [Wed, 11 Jan 2012 18:44:10 +0000 (13:44 -0500)]
Try to use smartlist_add_asprintf consistently
(To ensure correctness, in every case, make sure that the temporary
variable is deleted, renamed, or lowered in scope, so we can't have
any bugs related to accidentally relying on the no-longer-filled
variable.)
Nick Mathewson [Wed, 11 Jan 2012 18:15:52 +0000 (13:15 -0500)]
Rename smartlist_{v,}asprintf_add to smartlist_add_{v,}asprintf
Nick Mathewson [Mon, 16 Jan 2012 19:50:22 +0000 (14:50 -0500)]
Merge branch 'feature3946_squashed'
Sebastian Hahn [Sat, 14 Jan 2012 02:58:11 +0000 (03:58 +0100)]
check-spaces fix
Nick Mathewson [Fri, 13 Jan 2012 17:05:08 +0000 (12:05 -0500)]
Provide consensus params to constrain the threshold for Fast
resolves ticket 3946
Nick Mathewson [Mon, 16 Jan 2012 19:45:12 +0000 (14:45 -0500)]
Comment fixups on 4207 suggested by arma
Nick Mathewson [Fri, 13 Jan 2012 17:28:32 +0000 (12:28 -0500)]
Allow authorities to baddir/badexit/invalid/reject nodes by cc
Implements ticket #4207
George Kadianakis [Fri, 13 Jan 2012 14:44:30 +0000 (16:44 +0200)]
Improve names of some pluggable transport-related functions.
Robert Ransom [Fri, 13 Jan 2012 03:20:52 +0000 (19:20 -0800)]
Don't crash when HS circs which have not yet found an OR conn time out
Fixes bug #4897, not yet in any release.
Using n_circ_id alone here (and below, when n_conn is NULL) really sucks,
but that's a separate bug which will need a changes/ file.
Nick Mathewson [Wed, 11 Jan 2012 20:55:21 +0000 (15:55 -0500)]
Move logging of bad hostnames into parse_extended_hostname
This fixes bug 3325, where a bad .exit would get logged as a bad .onion
Nick Mathewson [Wed, 11 Jan 2012 20:41:46 +0000 (15:41 -0500)]
Make openssl 0.9.8l log message accurate
fixes 4837
Nick Mathewson [Wed, 11 Jan 2012 17:34:28 +0000 (12:34 -0500)]
Do not pretend to allow PADDING as the first cell of a v3 handshake
Nick Mathewson [Wed, 11 Jan 2012 17:27:14 +0000 (12:27 -0500)]
Merge branch 'prop187_squashed'
Nick Mathewson [Wed, 11 Jan 2012 17:23:43 +0000 (12:23 -0500)]
Fix a missing iso_time_nospace_usec
Apparently I missed a case when converting sec,usec to
yyyy-mm-ddThh:mm:ss.uuuuuu .
Nick Mathewson [Wed, 11 Jan 2012 17:10:14 +0000 (12:10 -0500)]
Merge branch 'feature3457-v4-nm-squashed'
Conflicts:
src/or/rendclient.c
Nick Mathewson [Wed, 11 Jan 2012 15:48:05 +0000 (10:48 -0500)]
Use spaceless ISO8601 time format, not sec,usec.
Nick Mathewson [Thu, 27 Oct 2011 00:19:29 +0000 (20:19 -0400)]
Implement proposal 187: reserve a cell type for client authorization
This needs a changes file and more testing.
Nick Mathewson [Thu, 27 Oct 2011 00:19:25 +0000 (20:19 -0400)]
defensive programming to catch duplicate calls to connection_init_or_handshake_state
Nick Mathewson [Wed, 11 Jan 2012 16:07:37 +0000 (11:07 -0500)]
Merge remote-tracking branch 'origin/maint-0.2.2'
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 [Wed, 11 Jan 2012 15:28:20 +0000 (10:28 -0500)]
Add clarity/typesafety wrappers for control_event_circuit_status_minor
Nick Mathewson [Wed, 11 Jan 2012 15:19:24 +0000 (10:19 -0500)]
Rename CIRC2 to CIRC_MINOR
Also give the arguments to control_event_circuit_status_minor real
names.
Nick Mathewson [Wed, 11 Jan 2012 00:23:44 +0000 (19:23 -0500)]
Merge branch 'bug3825c_squashed'
Nick Mathewson [Tue, 10 Jan 2012 23:50:48 +0000 (18:50 -0500)]
Chop out the intro point calculation until it is simple enough for nickm to grok
Robert Ransom [Sun, 8 Jan 2012 09:48:39 +0000 (01:48 -0800)]
Use my original formula for number of replacements for an intro point
A fixup commit which was intended to make this formula easier to read
broke it instead.
Nick Mathewson [Tue, 10 Jan 2012 22:59:49 +0000 (17:59 -0500)]
Merge remote-tracking branch 'public/bug4650_nm_squashed'
Nick Mathewson [Tue, 10 Jan 2012 21:53:37 +0000 (16:53 -0500)]
whitespace and warning fixes for bug4746
Nick Mathewson [Tue, 10 Jan 2012 21:53:27 +0000 (16:53 -0500)]
changes file for bug4746
Nick Mathewson [Tue, 10 Jan 2012 21:44:03 +0000 (16:44 -0500)]
Merge remote-tracking branch 'asn-mytor/bug4746'
Nick Mathewson [Tue, 10 Jan 2012 20:00:02 +0000 (15:00 -0500)]
Merge branch 'absolute_cookie_file'
Nick Mathewson [Tue, 10 Jan 2012 19:59:49 +0000 (14:59 -0500)]
changes file for #4881
Nick Mathewson [Tue, 10 Jan 2012 16:13:45 +0000 (11:13 -0500)]
Add missing documentation for counter-mode checks
Nick Mathewson [Tue, 10 Jan 2012 15:07:33 +0000 (10:07 -0500)]
Clean up indentation in aes.c
Nick Mathewson [Mon, 9 Jan 2012 22:40:11 +0000 (17:40 -0500)]
Test for broken counter-mode at runtime
To solve bug 4779, we want to avoid OpenSSL 1.0.0's counter mode.
But Fedora (and maybe others) lie about the actual OpenSSL version,
so we can't trust the header to tell us if it's safe.
Instead, let's do a run-time test to see whether it's safe, and if
not, use our built-in version.
fermenthor contributed a pretty essential fixup to this patch. Thanks!
Nick Mathewson [Tue, 10 Jan 2012 15:41:03 +0000 (10:41 -0500)]
Merge branch 'openssl_versions_squashed'
Nick Mathewson [Thu, 5 Jan 2012 20:08:05 +0000 (15:08 -0500)]
We no longer need to detect openssl without RAND_poll()
We require openssl 0.9.7 or later, and RAND_poll() was first added in
openssl 0.9.6.
Nick Mathewson [Thu, 5 Jan 2012 20:05:17 +0000 (15:05 -0500)]
Add macros to construct openssl version numbers
It's a pain to convert 0x0090813f to and from 0.9.8s-release on the
fly, so these macros should help.
Sebastian Hahn [Tue, 10 Jan 2012 15:12:22 +0000 (16:12 +0100)]
Log which votes we still need to fetch
This might help us see which authorities are problematic in getting
their vote published the first time.
Sebastian Hahn [Tue, 25 Jan 2011 15:45:27 +0000 (16:45 +0100)]
Advertise dirport if accountingmax is large enough
When we have an effective bandwidthrate configured so that we cannot
exceed our bandwidth limit in one accounting interval, don't disable
advertising the dirport. Implements ticket 2434.
Nick Mathewson [Tue, 10 Jan 2012 14:33:55 +0000 (09:33 -0500)]
Merge remote-tracking branch 'rransom-tor/bug4883'
Robert Ransom [Tue, 10 Jan 2012 06:03:04 +0000 (22:03 -0800)]
Fix brown-paper-bag bug in #4759 fix
Fixes #4883, not yet in any release.
Sebastian Hahn [Tue, 10 Jan 2012 05:14:35 +0000 (06:14 +0100)]
Make sure MAX_DNS_LABEL_SIZE is defined
MAX_DNS_LABEL_SIZE was only defined for old versions of openssl, which
broke the build. Spotted by xiando. Fixes bug 4413; not in any released
version.
Nick Mathewson [Tue, 10 Jan 2012 00:18:48 +0000 (19:18 -0500)]
Revise bug4413 changes file
Nick Mathewson [Tue, 10 Jan 2012 00:14:51 +0000 (19:14 -0500)]
Tweaks for bug4413 fix
The thing that's limited to 63 bytes is a "label", not a hostname.
Docment input constraints and behavior on bogus inputs.
Generally it's better to check for overflow-like conditions before
than after. In this case, it's not a true overflow, so we're okay,
but let's be consistent.
pedantic less->fewer in the documentation
Stephen Palmateer [Wed, 21 Dec 2011 17:48:38 +0000 (12:48 -0500)]
Remove (untriggerable) overflow in crypto_random_hostname()
Fixes bug 4413; bugfix on xxxx.
Hostname components cannot be larger than 63 characters.
This simple check makes certain randlen cannot overflow rand_bytes_len.
Nick Mathewson [Mon, 9 Jan 2012 21:40:42 +0000 (16:40 -0500)]
Merge remote-tracking branch 'origin/maint-0.2.2'
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 18:20:48 +0000 (13:20 -0500)]
Report cookie file location as absolute in protocolinfo message
Nick Mathewson [Mon, 9 Jan 2012 17:22:29 +0000 (12:22 -0500)]
Merge remote-tracking branch 'origin/maint-0.2.2'
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.
Nick Mathewson [Mon, 9 Jan 2012 16:59:08 +0000 (11:59 -0500)]
Merge remote-tracking branch 'rransom-tor/bug4842'
Roger Dingledine [Sun, 8 Jan 2012 17:17:16 +0000 (12:17 -0500)]
Merge branch 'maint-0.2.2'
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
Roger Dingledine [Sun, 8 Jan 2012 00:50:20 +0000 (19:50 -0500)]
clarify version for bug 1297 fixes
Roger Dingledine [Sat, 7 Jan 2012 12:42:07 +0000 (07:42 -0500)]
fold in some new changelog stanzas
Roger Dingledine [Sat, 7 Jan 2012 12:41:46 +0000 (07:41 -0500)]
clean up a comment that confused arturo
Robert Ransom [Sat, 7 Jan 2012 06:44:20 +0000 (22:44 -0800)]
Don't remove rend cpath element from relaunched service-side rend circs
Fixes bug 4842, not in any release.
Nick Mathewson [Fri, 6 Jan 2012 16:42:00 +0000 (11:42 -0500)]
Add a changes file for bug4563
Emile Snyder [Fri, 6 Jan 2012 13:31:34 +0000 (05:31 -0800)]
Change to use SSL_state_string_long() instead of homebrew ssl_state_to_string() function.
Nick Mathewson [Thu, 5 Jan 2012 19:17:44 +0000 (14:17 -0500)]
Merge remote-tracking branch 'origin/maint-0.2.2'
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.
Nick Mathewson [Thu, 5 Jan 2012 17:25:31 +0000 (12:25 -0500)]
Remove extraneous incorrect check for net/if.h
Fixes bug 4829; bug not in any released tor.
Roger Dingledine [Thu, 5 Jan 2012 11:55:34 +0000 (06:55 -0500)]
Merge branch 'maint-0.2.2'
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
Roger Dingledine [Thu, 5 Jan 2012 10:37:06 +0000 (05:37 -0500)]
note some dead code. if i'm right, should this be removed?
Karsten Loesing [Thu, 5 Jan 2012 10:10:57 +0000 (11:10 +0100)]
Update to the January 2012 GeoIP database.