]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
14 years agoAdd GETINFO md/id/* and md/name/* items for relay microdescs
Robert Ransom [Mon, 7 Nov 2011 23:32:33 +0000 (15:32 -0800)] 
Add GETINFO md/id/* and md/name/* items for relay microdescs

14 years agofold in changes files
Roger Dingledine [Mon, 7 Nov 2011 20:22:23 +0000 (15:22 -0500)] 
fold in changes files

14 years agoMerge remote-tracking branch 'rransom-tor/bug4411'
Nick Mathewson [Mon, 7 Nov 2011 16:57:07 +0000 (11:57 -0500)] 
Merge remote-tracking branch 'rransom-tor/bug4411'

14 years agoMerge remote-tracking branch 'origin/maint-0.2.2'
Nick Mathewson [Mon, 7 Nov 2011 16:55:11 +0000 (11:55 -0500)] 
Merge remote-tracking branch 'origin/maint-0.2.2'

14 years agoRobert says that this bug was not in fact one of frosty's
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

14 years agoFix assert on clients of and authorities for v0 HS descs
Robert Ransom [Mon, 7 Nov 2011 16:48:23 +0000 (08:48 -0800)] 
Fix assert on clients of and authorities for v0 HS descs

14 years agoMerge remote-tracking branch 'origin/maint-0.2.2'
Nick Mathewson [Mon, 7 Nov 2011 16:48:02 +0000 (11:48 -0500)] 
Merge remote-tracking branch 'origin/maint-0.2.2'

14 years agoMerge branch 'bug4424' into 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

14 years agoRemove an extraneous "if" in the 4424 fix
Nick Mathewson [Mon, 7 Nov 2011 16:46:51 +0000 (11:46 -0500)] 
Remove an extraneous "if" in the 4424 fix

14 years agoMerge remote-tracking branch 'asn-mytor/bug4012_clienttransportplugin'
Nick Mathewson [Mon, 7 Nov 2011 16:37:29 +0000 (11:37 -0500)] 
Merge remote-tracking branch 'asn-mytor/bug4012_clienttransportplugin'

14 years agoDon't leak an extend_info_t in rend_client_any_intro_points_usable
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

14 years agoMerge remote-tracking branch 'origin/maint-0.2.2'
Nick Mathewson [Mon, 7 Nov 2011 15:44:02 +0000 (10:44 -0500)] 
Merge remote-tracking branch 'origin/maint-0.2.2'

14 years agoMerge remote-tracking branch 'origin/maint-0.2.1' into 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

14 years agoAdd a changes file for 4410
Sebastian Hahn [Sun, 6 Nov 2011 16:24:09 +0000 (17:24 +0100)] 
Add a changes file for 4410

14 years agoFix remotely triggerable assert during ip decryption
Dan Rosenberg [Sun, 6 Nov 2011 16:23:14 +0000 (17:23 +0100)] 
Fix remotely triggerable assert during ip decryption

Fixes bug 4410.

14 years agoAdded man entry for ClientTransportPlugin.
George Kadianakis [Sat, 5 Nov 2011 23:50:22 +0000 (00:50 +0100)] 
Added man entry for ClientTransportPlugin.

14 years agofix grammar in man page entries from proposal 171
Roger Dingledine [Thu, 3 Nov 2011 23:08:25 +0000 (19:08 -0400)] 
fix grammar in man page entries from proposal 171

14 years agoMerge remote-tracking branch 'origin/maint-0.2.2'
Nick Mathewson [Thu, 3 Nov 2011 17:24:46 +0000 (13:24 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.2'

14 years agoMerge branch 'bug4383_nm' into 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

14 years agoFix a memleak when fetching descriptors for bridges in ExcludeNodes.
George Kadianakis [Thu, 3 Nov 2011 16:16:31 +0000 (17:16 +0100)] 
Fix a memleak when fetching descriptors for bridges in ExcludeNodes.

14 years agochanges file for bug4366
Nick Mathewson [Thu, 3 Nov 2011 14:24:31 +0000 (10:24 -0400)] 
changes file for bug4366

14 years agoRemove some duplicate includes
Andrea Gelmini [Tue, 1 Nov 2011 14:00:37 +0000 (15:00 +0100)] 
Remove some duplicate includes

14 years agoFix a proposal number in the changelog.
Nick Mathewson [Thu, 3 Nov 2011 13:37:12 +0000 (09:37 -0400)] 
Fix a proposal number in the changelog.

14 years agoFix a check-spaces complaint
Sebastian Hahn [Wed, 2 Nov 2011 19:57:58 +0000 (20:57 +0100)] 
Fix a check-spaces complaint

14 years agoResolve a crash when running as dirauth
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.

14 years agoMerge remote-tracking branch 'origin/maint-0.2.2'
Nick Mathewson [Mon, 31 Oct 2011 01:28:36 +0000 (21:28 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.2'

14 years agoMerge remote-tracking branch 'erinn/win-bundle-fix' into 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

14 years agoremove absolute path from contrib/package_nsis-mingw.sh in order to make it easier...
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

14 years agoblurb and version bump for 0.2.3.7-alpha tor-0.2.3.7-alpha
Roger Dingledine [Sun, 30 Oct 2011 22:39:49 +0000 (18:39 -0400)] 
blurb and version bump for 0.2.3.7-alpha

14 years agothere will be a new alpha release today (oct 30)
Roger Dingledine [Sun, 30 Oct 2011 05:58:05 +0000 (01:58 -0400)] 
there will be a new alpha release today (oct 30)

14 years agobridges send netinfo cells like clients on outgoing conns
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

14 years agoamend the changelog entry for 4299
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.

14 years agofold in changes entries
Roger Dingledine [Sat, 29 Oct 2011 19:10:37 +0000 (15:10 -0400)] 
fold in changes entries

14 years agoMerge remote-tracking branch 'origin/maint-0.2.2'
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

14 years agoAdd a changes file for the 4340 fix
Sebastian Hahn [Sat, 29 Oct 2011 09:21:37 +0000 (11:21 +0200)] 
Add a changes file for the 4340 fix

14 years agoDisable stats requiring geoip info if we have none
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.

14 years agoMerge branch 'bug4343'
Nick Mathewson [Fri, 28 Oct 2011 22:05:25 +0000 (18:05 -0400)] 
Merge branch 'bug4343'

14 years agoBump version to 0.2.3.6-alpha-dev
Nick Mathewson [Fri, 28 Oct 2011 22:05:17 +0000 (18:05 -0400)] 
Bump version to 0.2.3.6-alpha-dev

14 years agoMerge remote-tracking branch 'origin/maint-0.2.2'
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

14 years agoDiscard all cells on a marked connection
Nick Mathewson [Fri, 28 Oct 2011 21:04:15 +0000 (17:04 -0400)] 
Discard all cells on a marked connection

Fix for bug 4299

14 years ago"Authetnicate" is not the usual spelling
Nick Mathewson [Fri, 28 Oct 2011 20:41:04 +0000 (16:41 -0400)] 
"Authetnicate" is not the usual spelling

14 years agoFix a double-free that would occur on an invalid cert in a CERTS cell
Nick Mathewson [Fri, 28 Oct 2011 20:38:56 +0000 (16:38 -0400)] 
Fix a double-free that would occur on an invalid cert in a CERTS cell

We would stash the certs in the handshake state before checking them
for validity... and then if they turned out to be invalid, we'd give
an error and free them.  Then, later, we'd free them again when we
tore down the connection.

Fixes bug 4343; fix on 0.2.3.6-alpha.

14 years agoFix a memory-poisoning memset in tortls.c
Nick Mathewson [Fri, 28 Oct 2011 20:37:42 +0000 (16:37 -0400)] 
Fix a memory-poisoning memset in tortls.c

14 years agoMerge remote-tracking branch 'origin/maint-0.2.2'
Nick Mathewson [Fri, 28 Oct 2011 13:53:23 +0000 (09:53 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.2'

14 years agoFix typo, spotted by tmpname0901. Thanks!
Sebastian Hahn [Fri, 28 Oct 2011 09:19:16 +0000 (11:19 +0200)] 
Fix typo, spotted by tmpname0901. Thanks!

14 years agoMerge branch 'maint-0.2.2'
Roger Dingledine [Fri, 28 Oct 2011 00:53:17 +0000 (20:53 -0400)] 
Merge branch 'maint-0.2.2'

14 years agobump maint-0.2.2 to 0.2.2.34-dev
Roger Dingledine [Fri, 28 Oct 2011 00:50:48 +0000 (20:50 -0400)] 
bump maint-0.2.2 to 0.2.2.34-dev

14 years agofind all those stanzas in master too
Roger Dingledine [Fri, 28 Oct 2011 00:15:50 +0000 (20:15 -0400)] 
find all those stanzas in master too

14 years agoMerge branch 'maint-0.2.2'
Roger Dingledine [Fri, 28 Oct 2011 00:04:51 +0000 (20:04 -0400)] 
Merge branch 'maint-0.2.2'

14 years agoMerge branch 'maint-0.2.1' into maint-0.2.2
Roger Dingledine [Fri, 28 Oct 2011 00:03:21 +0000 (20:03 -0400)] 
Merge branch 'maint-0.2.1' into maint-0.2.2

14 years agobump maint to 0.2.1.31
Roger Dingledine [Fri, 28 Oct 2011 00:01:58 +0000 (20:01 -0400)] 
bump maint to 0.2.1.31

14 years agoa little blurb for 0.2.3.6-alpha tor-0.2.3.6-alpha
Roger Dingledine [Thu, 27 Oct 2011 00:54:15 +0000 (20:54 -0400)] 
a little blurb for 0.2.3.6-alpha

14 years agoforward-port the stable releases notes
Roger Dingledine [Thu, 27 Oct 2011 00:41:51 +0000 (20:41 -0400)] 
forward-port the stable releases notes

14 years agobump to 0.2.3.6-alpha
Roger Dingledine [Thu, 27 Oct 2011 00:33:23 +0000 (20:33 -0400)] 
bump to 0.2.3.6-alpha

14 years agofold in changes entries
Roger Dingledine [Thu, 27 Oct 2011 00:31:49 +0000 (20:31 -0400)] 
fold in changes entries

14 years agoMerge branch 'maint-0.2.2_secfix' into master_secfix
Sebastian Hahn [Wed, 26 Oct 2011 22:15:25 +0000 (00:15 +0200)] 
Merge branch 'maint-0.2.2_secfix' into master_secfix

Conflicts:
src/common/tortls.c
src/or/connection_or.c
src/or/dirserv.c
src/or/or.h

14 years agoAdd option to give guard flag to relays without the CVE-2011-2768 fix
Robert Ransom [Tue, 25 Oct 2011 19:33:21 +0000 (12:33 -0700)] 
Add option to give guard flag to relays without the CVE-2011-2768 fix

This way, all of the DA operators can upgrade immediately, without nuking
every client's set of entry guards as soon as a majority of them upgrade.

Until enough guards have upgraded, a majority of dirauths should set this
config option so that there are still enough guards in the network. After
a few days pass, all dirauths should use the default.

14 years agoDon't give the Guard flag to relays without the CVE-2011-2768 fix
Robert Ransom [Tue, 25 Oct 2011 07:24:15 +0000 (00:24 -0700)] 
Don't give the Guard flag to relays without the CVE-2011-2768 fix

14 years agoMake tor_version_same_series non-static
Robert Ransom [Tue, 25 Oct 2011 06:36:57 +0000 (23:36 -0700)] 
Make tor_version_same_series non-static

14 years agoMerge branch 'maint-0.2.1_secfix' into maint-0.2.2_secfix
Sebastian Hahn [Wed, 26 Oct 2011 21:30:27 +0000 (23:30 +0200)] 
Merge branch 'maint-0.2.1_secfix' into maint-0.2.2_secfix

Conflicts:
src/or/connection_or.c

14 years agoReject create cells on outgoing OR connections from bridges
Robert Ransom [Sun, 23 Oct 2011 22:21:49 +0000 (15:21 -0700)] 
Reject create cells on outgoing OR connections from bridges

14 years agoMark which OR connections are outgoing
Robert Ransom [Sun, 23 Oct 2011 21:58:00 +0000 (14:58 -0700)] 
Mark which OR connections are outgoing

14 years agoDon't use any OR connection which sent us a CREATE_FAST cell for an EXTEND
Robert Ransom [Sun, 23 Oct 2011 21:27:56 +0000 (14:27 -0700)] 
Don't use any OR connection which sent us a CREATE_FAST cell for an EXTEND

Fix suggested by Nick Mathewson.

14 years agoDon't send a certificate chain on outgoing TLS connections from non-relays
Nick Mathewson [Sun, 23 Oct 2011 16:06:06 +0000 (16:06 +0000)] 
Don't send a certificate chain on outgoing TLS connections from non-relays

14 years agoMerge branch 'maint-0.2.2'
Roger Dingledine [Wed, 26 Oct 2011 21:15:09 +0000 (17:15 -0400)] 
Merge branch 'maint-0.2.2'

14 years agoMerge branch 'maint-0.2.1' into maint-0.2.2
Roger Dingledine [Wed, 26 Oct 2011 21:14:39 +0000 (17:14 -0400)] 
Merge branch 'maint-0.2.1' into maint-0.2.2

14 years agoRemove the -F option from tor-resolve.
Nick Mathewson [Mon, 23 May 2011 20:59:41 +0000 (16:59 -0400)] 
Remove the -F option from tor-resolve.

It used to mean "Force": it would tell tor-resolve to ask tor to
resolve an address even if it ended with .onion.  But when
AutomapHostsOnResolve was added, automatically refusing to resolve
.onion hosts stopped making sense.  So in 0.2.1.16-rc (commit
298dc95dfd8), we made tor-resolve happy to resolve anything.

The -F option stayed in, though, even though it didn't do anything.
Oddly, it never got documented.

Found while fixing GCC 4.6 "set, unused variable" warnings.

14 years agomanually backport a5232e0c4c
Roger Dingledine [Wed, 26 Oct 2011 21:11:52 +0000 (17:11 -0400)] 
manually backport a5232e0c4c

14 years agoMerge branch 'maint-0.2.2'
Roger Dingledine [Wed, 26 Oct 2011 20:36:59 +0000 (16:36 -0400)] 
Merge branch 'maint-0.2.2'

14 years agoMerge branch 'maint-0.2.1' into maint-0.2.2
Roger Dingledine [Wed, 26 Oct 2011 20:34:45 +0000 (16:34 -0400)] 
Merge branch 'maint-0.2.1' into maint-0.2.2

14 years agocloser to a changelog for the next alpha
Roger Dingledine [Wed, 26 Oct 2011 20:13:53 +0000 (16:13 -0400)] 
closer to a changelog for the next alpha

14 years agostop asserting at boot
Roger Dingledine [Tue, 31 May 2011 03:50:37 +0000 (23:50 -0400)] 
stop asserting at boot

The patch for 3228 made us try to run init_keys() before we had loaded
our state file, resulting in an assert inside init_keys. We had moved
it too early in the function.

Now it's later in the function, but still above the accounting calls.

14 years agoReinit keys at the start of options_act().
Nick Mathewson [Mon, 23 May 2011 20:38:35 +0000 (16:38 -0400)] 
Reinit keys at the start of options_act().

Previously we did this nearer to the end (in the old_options &&
transition_affects_workers() block).  But other stuff cares about
keys being consistent with options... particularly anything which
tries to access a key, which can die in assert_identity_keys_ok().

Fixes bug 3228; bugfix on 0.2.2.18-alpha.

Conflicts:

src/or/config.c

14 years agoDon't crash a bridge authority on SIGHUP if it's not in the consensus
Robert Ransom [Wed, 16 Feb 2011 12:12:37 +0000 (04:12 -0800)] 
Don't crash a bridge authority on SIGHUP if it's not in the consensus

Fixes bug 2572.

14 years agoFix assert for relay/bridge state change
Sebastian Hahn [Tue, 25 Jan 2011 14:28:58 +0000 (15:28 +0100)] 
Fix assert for relay/bridge state change

When we added support for separate client tls certs on bridges in
a2bb0bfdd5 we forgot to correctly initialize this when changing
from relay to bridge or vice versa while Tor is running. Fix that
by always initializing keys when the state changes.

Fixes bug 2433.

Conflicts:

src/or/config.c

14 years agoMerge branch 'cov_run224_squashed'
Nick Mathewson [Wed, 26 Oct 2011 17:22:51 +0000 (13:22 -0400)] 
Merge branch 'cov_run224_squashed'

14 years agoChangelog for recent coverity issues
Nick Mathewson [Thu, 6 Oct 2011 18:08:07 +0000 (14:08 -0400)] 
Changelog for recent coverity issues

14 years agoFix memory leak in retry_all_listeners: Coverity CID 485
Nick Mathewson [Thu, 6 Oct 2011 16:57:07 +0000 (12:57 -0400)] 
Fix memory leak in retry_all_listeners: Coverity CID 485

14 years agoFix memory leak in options_act_reversible: fix Coverity CID 486,487
Nick Mathewson [Thu, 6 Oct 2011 16:54:34 +0000 (12:54 -0400)] 
Fix memory leak in options_act_reversible: fix Coverity CID 486,487

14 years agoDo not tread vpadding cell as versions cell. Not in any released version.
Nick Mathewson [Wed, 26 Oct 2011 15:50:50 +0000 (11:50 -0400)] 
Do not tread vpadding cell as versions cell.  Not in any released version.

14 years agoFix a NULL pointer dereference in parse_server_transport_line().
George Kadianakis [Wed, 26 Oct 2011 15:13:56 +0000 (17:13 +0200)] 
Fix a NULL pointer dereference in parse_server_transport_line().

14 years agoMerge remote-tracking branch 'origin/maint-0.2.2'
Nick Mathewson [Wed, 26 Oct 2011 15:08:19 +0000 (11:08 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.2'

14 years agoMerge remote-tracking branch 'public/cov_run224_022' into maint-0.2.2
Nick Mathewson [Wed, 26 Oct 2011 15:07:28 +0000 (11:07 -0400)] 
Merge remote-tracking branch 'public/cov_run224_022' into maint-0.2.2

14 years agoFix a couple of pluggable transport bugs
Sebastian Hahn [Wed, 26 Oct 2011 14:49:24 +0000 (16:49 +0200)] 
Fix a couple of pluggable transport bugs

Fix coverity complaints 490, 491 and 492. Especially the one in
parse_client_transport_line() could've been a remotely triggerable
segfault, I think.

14 years agoDon't crash when accountingmax is set in non-server Tors
Nick Mathewson [Fri, 3 Dec 2010 18:37:13 +0000 (13:37 -0500)] 
Don't crash when accountingmax is set in non-server Tors

We use a hash of the identity key to seed a prng to tell when an
accounting period should end.  But thanks to the bug998 changes,
clients no longer have server-identity keys to use as a long-term seed
in accounting calculations.  In any case, their identity keys (as used
in TLS) were never never fixed.  So we can just set the wakeup time
from a random seed instead there.  Still open is whether everybody
should be random.

This patch fixes bug 2235, which was introduced in 0.2.2.18-alpha.

Diagnosed with help from boboper on irc.

14 years agoProperly refcount client_identity_key
Sebastian Hahn [Tue, 26 Oct 2010 16:22:04 +0000 (18:22 +0200)] 
Properly refcount client_identity_key

In a2bb0bf we started using a separate client identity key. When we are
in "public server mode" (that means not a bridge) we will use the same
key. Reusing the key without doing the proper refcounting leads to a
segfault on cleanup during shutdown. Fix that.

Also introduce an assert that triggers if our refcount falls below 0.
That should never happen.

14 years agoAdd some asserts to get_{tlsclient|server}_identity_key
Nick Mathewson [Thu, 21 Oct 2010 17:54:12 +0000 (13:54 -0400)] 
Add some asserts to get_{tlsclient|server}_identity_key

We now require that:
  - Only actual servers should ever call get_server_identity_key
  - If you're being a client or bridge, the client and server keys should
    differ.
  - If you're being a public relay, the client and server keys
    should be the same.

14 years agoRename get_client_identity_key to get_tlsclient_identity_key
Nick Mathewson [Thu, 21 Oct 2010 17:53:31 +0000 (13:53 -0400)] 
Rename get_client_identity_key to get_tlsclient_identity_key

14 years agoMaintain separate server and client identity keys when appropriate.
Robert Ransom [Mon, 4 Oct 2010 05:38:53 +0000 (22:38 -0700)] 
Maintain separate server and client identity keys when appropriate.

Fixes a bug described in ticket #988.

Conflicts:

src/or/main.c
src/or/router.c

14 years agoMake crypto_free_pk_env tolerate NULL arg in 0.2.1. Error-proofing against bug 988...
Nick Mathewson [Sat, 13 Nov 2010 01:21:50 +0000 (20:21 -0500)] 
Make crypto_free_pk_env tolerate NULL arg in 0.2.1.  Error-proofing against bug 988 backport

14 years agoMaintain separate server and client TLS contexts.
Robert Ransom [Mon, 4 Oct 2010 01:14:08 +0000 (18:14 -0700)] 
Maintain separate server and client TLS contexts.

Fixes bug #988.

Conflicts:

src/or/main.c
src/or/router.c

14 years agoRefactor tor_tls_context_new:
Robert Ransom [Fri, 1 Oct 2010 21:06:57 +0000 (14:06 -0700)] 
Refactor tor_tls_context_new:

* Make tor_tls_context_new internal to tortls.c, and return the new
  tor_tls_context_t from it.

* Add a public tor_tls_context_init wrapper function to replace it.

Conflicts:

src/or/main.c
src/or/router.c

14 years agoAdd public_server_mode function.
Robert Ransom [Fri, 1 Oct 2010 07:07:10 +0000 (00:07 -0700)] 
Add public_server_mode function.

14 years agoMerge branch 'maint-0.2.2'
Roger Dingledine [Wed, 26 Oct 2011 11:53:49 +0000 (07:53 -0400)] 
Merge branch 'maint-0.2.2'

14 years agoMerge branch 'maint-0.2.1' into maint-0.2.2
Roger Dingledine [Wed, 26 Oct 2011 11:47:42 +0000 (07:47 -0400)] 
Merge branch 'maint-0.2.1' into maint-0.2.2

14 years agoFix zlib macro brokenness on osx with zlib 1.2.4 and higher.
Nick Mathewson [Tue, 8 Jun 2010 22:10:20 +0000 (18:10 -0400)] 
Fix zlib macro brokenness on osx with zlib 1.2.4 and higher.

From the code:
   zlib 1.2.4 and 1.2.5 do some "clever" things with macros.  Instead of
   saying "(defined(FOO) ? FOO : 0)" they like to say "FOO-0", on the theory
   that nobody will care if the compile outputs a no-such-identifier warning.

   Sorry, but we like -Werror over here, so I guess we need to define these.
   I hope that zlib 1.2.6 doesn't break these too.

Possible fix for bug 1526.

14 years agoMerge branch 'maint-0.2.2'
Roger Dingledine [Tue, 25 Oct 2011 23:34:42 +0000 (19:34 -0400)] 
Merge branch 'maint-0.2.2'

14 years agounmangle the fingerprint example in the man page
Roger Dingledine [Tue, 25 Oct 2011 22:24:37 +0000 (18:24 -0400)] 
unmangle the fingerprint example in the man page

Remove a confusing dollar sign from the example fingerprint in the
man page, and also make example fingerprint a valid one.

14 years agoMerge branch 'ticket4294'
Nick Mathewson [Tue, 25 Oct 2011 21:53:55 +0000 (17:53 -0400)] 
Merge branch 'ticket4294'

14 years agoAvoid likely memory fragmentation from rep_hist_note_descs_served
Nick Mathewson [Tue, 25 Oct 2011 19:32:26 +0000 (15:32 -0400)] 
Avoid likely memory fragmentation from rep_hist_note_descs_served

When you're doing malloc(sizeof(int)), something may well have gone
wrong.

This technique is a bit abusive, but we're already relying on it
working correctly in geoip.c.