]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
13 years agoChange an assertion into a warning in connection_or_handle_event_cb()
Nick Mathewson [Thu, 24 May 2012 15:14:28 +0000 (11:14 -0400)] 
Change an assertion into a warning in connection_or_handle_event_cb()

Possibly addresses bug 4873, though IMO that's likely not a real
bug: it seems likely to have been an ssl version mismatch.

13 years agoMerge remote-tracking branch 'asn/bug5602'
Nick Mathewson [Fri, 18 May 2012 16:36:04 +0000 (12:36 -0400)] 
Merge remote-tracking branch 'asn/bug5602'

13 years agoMerge remote-tracking branch 'asn/bug5646'
Nick Mathewson [Fri, 18 May 2012 16:10:40 +0000 (12:10 -0400)] 
Merge remote-tracking branch 'asn/bug5646'

13 years agoExtract data from DESTROY cell _after_ protocol violation checks.
George Kadianakis [Fri, 18 May 2012 12:22:03 +0000 (15:22 +0300)] 
Extract data from DESTROY cell _after_ protocol violation checks.

13 years agoIgnore unknown lines from managed proxies.
George Kadianakis [Fri, 18 May 2012 12:04:48 +0000 (15:04 +0300)] 
Ignore unknown lines from managed proxies.

13 years agoUse a more helpful log message when we can't find a proxy.
George Kadianakis [Fri, 18 May 2012 00:07:46 +0000 (03:07 +0300)] 
Use a more helpful log message when we can't find a proxy.

13 years agoAnother dirport/orport correction; this one from "cypherpunks"
Nick Mathewson [Wed, 16 May 2012 19:45:20 +0000 (15:45 -0400)] 
Another dirport/orport correction; this one from "cypherpunks"

13 years agoDocument that the ORPort flags apply to DirPort too. (thanks, Roger.)
Nick Mathewson [Wed, 16 May 2012 19:07:54 +0000 (15:07 -0400)] 
Document that the ORPort flags apply to DirPort too. (thanks, Roger.)

13 years ago5597: document new ORPort options
Nick Mathewson [Wed, 16 May 2012 18:54:16 +0000 (14:54 -0400)] 
5597: document new ORPort options

13 years agoClarify SessionGroup documentation. Bug 5437.
Nick Mathewson [Wed, 16 May 2012 18:43:11 +0000 (14:43 -0400)] 
Clarify SessionGroup documentation. Bug 5437.

13 years agoMerge remote-tracking branch 'origin/maint-0.2.2'
Nick Mathewson [Wed, 16 May 2012 16:20:56 +0000 (12:20 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.2'

13 years agoMake the succeeding parse_http_time tests more obviously right
Nick Mathewson [Wed, 16 May 2012 16:19:56 +0000 (12:19 -0400)] 
Make the succeeding parse_http_time tests more obviously right

(When the correct answer is given in terms of seconds since the
epoch, it's hard to be sure that it really is the right answer
just by reading the code.)

13 years agoMerge branch 'bug5346_squashed' into maint-0.2.2
Nick Mathewson [Wed, 16 May 2012 16:15:35 +0000 (12:15 -0400)] 
Merge branch 'bug5346_squashed' into maint-0.2.2

13 years agoFix month check in parse_http_time, add test
Sebastian Hahn [Fri, 9 Mar 2012 14:40:44 +0000 (15:40 +0100)] 
Fix month check in parse_http_time, add test

13 years agoRemove more dubiosity in struct tm handling. related to bug5346
Nick Mathewson [Fri, 9 Mar 2012 15:24:40 +0000 (10:24 -0500)] 
Remove more dubiosity in struct tm handling. related to bug5346

13 years agochanges file for branch bug5346
Nick Mathewson [Fri, 9 Mar 2012 02:26:48 +0000 (21:26 -0500)] 
changes file for branch bug5346

13 years agoReject an additional type of bad date in parse_http_time
Nick Mathewson [Fri, 9 Mar 2012 02:09:34 +0000 (21:09 -0500)] 
Reject an additional type of bad date in parse_http_time

13 years agoFix parse_http_time and add tests
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.

13 years agoMerge remote-tracking branch 'public/bug5139'
Nick Mathewson [Wed, 16 May 2012 15:47:13 +0000 (11:47 -0400)] 
Merge remote-tracking branch 'public/bug5139'

13 years agoAdd changes file for bug 4108
Nick Mathewson [Wed, 16 May 2012 15:44:12 +0000 (11:44 -0400)] 
Add changes file for bug 4108

13 years agoIn connection_ap_handshake_process_socks(), mark the socks request as finished if...
Fabian Keil [Sun, 25 Sep 2011 14:32:43 +0000 (16:32 +0200)] 
In connection_ap_handshake_process_socks(), mark the socks request as finished if a reply is send after a parse error

Silences the log message:
[warn] {BUG} _connection_mark_unattached_ap(): Bug: stream (marked at connection_edge.c:2224) sending two socks replies?
after the client triggered the "Tor is not an HTTP Proxy" response.

No additional socks reply was sent, though.

13 years agoMerge remote-tracking branch 'public/bug3964'
Nick Mathewson [Wed, 16 May 2012 15:33:52 +0000 (11:33 -0400)] 
Merge remote-tracking branch 'public/bug3964'

13 years agoMerge branch 'bug5380'
Nick Mathewson [Wed, 16 May 2012 15:31:40 +0000 (11:31 -0400)] 
Merge branch 'bug5380'

13 years agoRemove over-two-months-old entry guards even while running.
Roger Dingledine [Wed, 16 May 2012 15:28:36 +0000 (11:28 -0400)] 
Remove over-two-months-old entry guards even while running.

Previously, we only did this check at startup, which could lead to
us holding a guard indefinitely, and give weird results.  Fixes bug
5380; bugfix on 0.2.1.14-rc.

(Patch by Roger; changes file and commit message by Nick)

13 years agoCorrect documentation for remove_obsolete_entry_guards.
Nick Mathewson [Wed, 16 May 2012 15:18:21 +0000 (11:18 -0400)] 
Correct documentation for remove_obsolete_entry_guards.

13 years agoMerge remote-tracking branch 'public/bug2297'
Nick Mathewson [Wed, 16 May 2012 15:14:00 +0000 (11:14 -0400)] 
Merge remote-tracking branch 'public/bug2297'

13 years agoMerge remote-tracking branch 'public/bug2822'
Nick Mathewson [Wed, 16 May 2012 15:10:09 +0000 (11:10 -0400)] 
Merge remote-tracking branch 'public/bug2822'

13 years agoMerge remote-tracking branch 'origin/maint-0.2.2'
Nick Mathewson [Wed, 16 May 2012 14:57:08 +0000 (10:57 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.2'

13 years agoCorrect the bulletproofing of routerlist_insert()
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.

13 years agoMerge remote-tracking branch 'public/bug3296'
Nick Mathewson [Wed, 16 May 2012 14:40:21 +0000 (10:40 -0400)] 
Merge remote-tracking branch 'public/bug3296'

13 years agoMerge branch 'bug5095_squashed'
Nick Mathewson [Wed, 16 May 2012 14:36:30 +0000 (10:36 -0400)] 
Merge branch 'bug5095_squashed'

13 years agoWhen ReloadTorrcOnSIGHUP=1, do non-reload activities anyway
Nick Mathewson [Wed, 11 Apr 2012 18:47:42 +0000 (14:47 -0400)] 
When ReloadTorrcOnSIGHUP=1, do non-reload activities anyway

Previously, we skipped everything that got invoked from
options_init_from_torrc.  But some of the stuff in
options_act_reversible and options_act is actually important, like
reopening the logs.

Now, a SIGHUP always makes the effects of an options_set() happen,
even though the options haven't changed.

Fix for bug 5095; bugfix on 0.2.1.9-alpha, which introduced
__ReloadTorrcOnSIGHUP.

13 years agoFix some remaining nmake/msvc build issues
Nick Mathewson [Wed, 16 May 2012 14:08:24 +0000 (10:08 -0400)] 
Fix some remaining nmake/msvc build issues

13 years agoMerge branch 'win32_winnt'
Nick Mathewson [Wed, 16 May 2012 13:56:49 +0000 (09:56 -0400)] 
Merge branch 'win32_winnt'

13 years agoMerge remote-tracking branch 'origin/maint-0.2.2'
Nick Mathewson [Tue, 15 May 2012 15:23:06 +0000 (11:23 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.2'

13 years agoClarify MaxCircuitDirtiness behavior with hidden services. Bug 5259.
Nick Mathewson [Tue, 15 May 2012 15:22:06 +0000 (11:22 -0400)] 
Clarify MaxCircuitDirtiness behavior with hidden services. Bug 5259.

13 years agoMerge remote-tracking branch 'origin/maint-0.2.2'
Nick Mathewson [Tue, 15 May 2012 14:05:19 +0000 (10:05 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.2'

13 years agoMerge branch 'bug5796_022_squashed' into maint-0.2.2
Nick Mathewson [Tue, 15 May 2012 14:04:49 +0000 (10:04 -0400)] 
Merge branch 'bug5796_022_squashed' into maint-0.2.2

13 years agoFix a crash bug on SETCIRCUITPURPOSE.
Nick Mathewson [Mon, 7 May 2012 19:22:17 +0000 (15:22 -0400)] 
Fix a crash bug on SETCIRCUITPURPOSE.

13 years agoMerge remote-tracking branch 'origin/maint-0.2.2'
Nick Mathewson [Tue, 15 May 2012 14:01:12 +0000 (10:01 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.2'

13 years agoMerge remote-tracking branch 'karsten/geoip-may2012' into maint-0.2.2
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

13 years agoMerge remote-tracking branch 'linus/task-5891'
Nick Mathewson [Tue, 15 May 2012 12:33:08 +0000 (08:33 -0400)] 
Merge remote-tracking branch 'linus/task-5891'

13 years agoClarify changes file regarding which bugs get fixed.
Linus Nordberg [Tue, 15 May 2012 09:07:01 +0000 (11:07 +0200)] 
Clarify changes file regarding which bugs get fixed.

13 years agoRename changes file.
Linus Nordberg [Tue, 15 May 2012 09:07:01 +0000 (11:07 +0200)] 
Rename changes file.

13 years agoAssert that rep_hist_format_desc_stats() returns !NULL.
Linus Nordberg [Tue, 15 May 2012 09:07:01 +0000 (11:07 +0200)] 
Assert that rep_hist_format_desc_stats() returns !NULL.

The guard against this is the test for
start_of_served_descs_stats_interval != 0 done earlier.

13 years agoFix desc stats on bridge authorities that didn't serve anything.
Karsten Loesing [Tue, 15 May 2012 10:39:08 +0000 (12:39 +0200)] 
Fix desc stats on bridge authorities that didn't serve anything.

13 years agoBump _WIN32_WINNT to 0x0501 throughout the code
Nick Mathewson [Mon, 14 May 2012 17:46:37 +0000 (13:46 -0400)] 
Bump _WIN32_WINNT to 0x0501 throughout the code

This tells the windows headers to give us definitions that didn't
exist before XP -- like the ones that we need for IPv6 support.

See bug #5861.  We didn't run into this issue with mingw, since
mingw doesn't respect _WIN32_WINNT as well as it should for some of
its definitions.

13 years agoRemove all instances of WIN32_WINNT (without leading _)
Nick Mathewson [Mon, 14 May 2012 17:36:52 +0000 (13:36 -0400)] 
Remove all instances of WIN32_WINNT (without leading _)

We started adding it in 59e2c77824840f back in 2004, 8 years and 3
days ago.  It's time to deprogram ourselves from this cargo cult.

13 years agoAdd a changes file for the misc bug5859 build issues
Nick Mathewson [Mon, 14 May 2012 17:07:47 +0000 (13:07 -0400)] 
Add a changes file for the misc bug5859 build issues

13 years agoMSVC build issue: it can't tell that tor_assert(0) aborts.
Nick Mathewson [Mon, 14 May 2012 17:07:27 +0000 (13:07 -0400)] 
MSVC build issue: it can't tell that tor_assert(0) aborts.

13 years agoMSVC build issue: make 'const' in declaration match 'const' in definition
Nick Mathewson [Mon, 14 May 2012 17:05:00 +0000 (13:05 -0400)] 
MSVC build issue: make 'const' in declaration match 'const' in definition

MSVC warns if you declare a function as having a "int foo" argument
and then implement it with a "const int foo" argument, even though
the latter "const" is not a part of the function's interface.

13 years agoMSVC build issue: we use INLINE as the one that will magically work
Nick Mathewson [Mon, 14 May 2012 17:04:37 +0000 (13:04 -0400)] 
MSVC build issue: we use INLINE as the one that will magically work

13 years agoMSVC build issue: add magic to make openssl headers in aes.c work
Nick Mathewson [Mon, 14 May 2012 17:04:13 +0000 (13:04 -0400)] 
MSVC build issue: add magic to make openssl headers in aes.c work

13 years agoBe a good git person: store nmakefiles in correct text fmt
Nick Mathewson [Mon, 14 May 2012 17:01:05 +0000 (13:01 -0400)] 
Be a good git person: store nmakefiles in correct text fmt

13 years agoRemove the unused torrc.bridge.in. Bug 5622.
Nick Mathewson [Mon, 14 May 2012 16:37:39 +0000 (12:37 -0400)] 
Remove the unused torrc.bridge.in. Bug 5622.

13 years agoAdd some MSVC stuff to gitignore
Nick Mathewson [Mon, 14 May 2012 16:35:10 +0000 (12:35 -0400)] 
Add some MSVC stuff to gitignore

13 years agoWe do not need to define _WIN32 by hand; MSVC does that for us
Nick Mathewson [Mon, 14 May 2012 16:22:51 +0000 (12:22 -0400)] 
We do not need to define _WIN32 by hand; MSVC does that for us

Bug 5858; fix on 0.2.3.12-alpha

13 years agoFix win32 compilation of 31eb73f88e8
Nick Mathewson [Mon, 14 May 2012 16:08:05 +0000 (12:08 -0400)] 
Fix win32 compilation of 31eb73f88e8

13 years agoDo not publish the "git-XXX" tag in server descriptors
Nick Mathewson [Fri, 11 May 2012 22:06:12 +0000 (18:06 -0400)] 
Do not publish the "git-XXX" tag in server descriptors

Instead, allow packagers to put a 'TOR_BUILD_TAG' field in the
server descriptor to indicate a platform-specific value, if they
need to.  (According to weasel, this was his use for the git- tag
previously.)

This is part of 2988

13 years agoCut down on the OS information we give.
Nick Mathewson [Fri, 11 May 2012 21:50:30 +0000 (17:50 -0400)] 
Cut down on the OS information we give.

For uname-based detection, we now give only the OS name (e.g.,
"Darwin", "Linux".)  For Windows, we give only the Operating System
name as inferred from dw(Major|Minor)version, (e.g., "Windows XP",
"Windows 7"), and whether the VER_NT_SERVER flag is set.

For ticket 2988.

13 years agoFix a couple of wide lines
Nick Mathewson [Fri, 11 May 2012 17:01:07 +0000 (13:01 -0400)] 
Fix a couple of wide lines

13 years agoWhen no usable exit satisfies a predicted port, stop predicting it.
Nick Mathewson [Fri, 11 May 2012 16:52:21 +0000 (12:52 -0400)] 
When no usable exit satisfies a predicted port, stop predicting it.

Fix for bug 3296.

13 years agoMerge remote-tracking branch 'asn/bug4865_take2'
Nick Mathewson [Fri, 11 May 2012 15:52:51 +0000 (11:52 -0400)] 
Merge remote-tracking branch 'asn/bug4865_take2'

13 years agoMerge remote-tracking branch 'public/bug5091'
Nick Mathewson [Fri, 11 May 2012 15:45:40 +0000 (11:45 -0400)] 
Merge remote-tracking branch 'public/bug5091'

13 years agoMerge branch 'maint-0.2.2'
Roger Dingledine [Thu, 10 May 2012 21:57:31 +0000 (17:57 -0400)] 
Merge branch 'maint-0.2.2'

13 years agofix over-wide line from f661747370
Roger Dingledine [Thu, 10 May 2012 21:46:19 +0000 (17:46 -0400)] 
fix over-wide line from f661747370

13 years agoFix O(n^2) performance when parsing a big pile of extrainfos
Nick Mathewson [Thu, 10 May 2012 21:27:16 +0000 (17:27 -0400)] 
Fix O(n^2) performance when parsing a big pile of extrainfos

We were doing an O(n) strlen in router_get_extrainfo_hash() for
every one we tried to parse.  Instead, have
router_get_extrainfo_hash() take the length of the extrainfo as an
argument, so that when it's called from
extrainfo_parse_from_string(), it doesn't do a strlen() over the
whole pile of extrainfos.

13 years agoMerge remote-tracking branch 'public/bug4591'
Nick Mathewson [Thu, 10 May 2012 19:55:12 +0000 (15:55 -0400)] 
Merge remote-tracking branch 'public/bug4591'

13 years agoMerge branch 'bug5786'
Nick Mathewson [Thu, 10 May 2012 19:44:41 +0000 (15:44 -0400)] 
Merge branch 'bug5786'

13 years agoMerge remote-tracking branch 'origin/maint-0.2.2'
Nick Mathewson [Thu, 10 May 2012 19:41:04 +0000 (15:41 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.2'

Conflicts:
src/common/util.c
src/test/test_util.c

13 years agoMerge branch 'bug5786_range_022' into maint-0.2.2
Nick Mathewson [Thu, 10 May 2012 19:38:57 +0000 (15:38 -0400)] 
Merge branch 'bug5786_range_022' into maint-0.2.2

13 years agoMerge remote-tracking branch 'asn/bug5540'
Nick Mathewson [Thu, 10 May 2012 18:24:17 +0000 (14:24 -0400)] 
Merge remote-tracking branch 'asn/bug5540'

13 years agoMerge remote-tracking branch 'linus/bug5146'
Nick Mathewson [Thu, 10 May 2012 18:07:23 +0000 (14:07 -0400)] 
Merge remote-tracking branch 'linus/bug5146'

13 years agoMerge remote-tracking branch 'origin/maint-0.2.2'
Nick Mathewson [Thu, 10 May 2012 15:50:14 +0000 (11:50 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.2'

13 years agoAdd changes/bug5760
Ravi Chandra Padmala [Thu, 10 May 2012 07:23:16 +0000 (12:53 +0530)] 
Add changes/bug5760

13 years agoAdd missing CRLFs to AUTHCHALLENGE failure replies
Ravi Chandra Padmala [Thu, 3 May 2012 21:04:26 +0000 (02:34 +0530)] 
Add missing CRLFs to AUTHCHALLENGE failure replies
Fix #5760

13 years agoFix a segfault in pt/protocol test
Nick Mathewson [Tue, 8 May 2012 13:37:43 +0000 (09:37 -0400)] 
Fix a segfault in pt/protocol test

Now that the pt code logs mp->argv[0] all over the place, we need to
be sure to set up mp->argv in our tests.

Bugfix on e603692adcd, not in any released version.

13 years agoDetect out-of-bounds bwweightscale values early in the voting process
Nick Mathewson [Mon, 7 May 2012 16:44:34 +0000 (12:44 -0400)] 
Detect out-of-bounds bwweightscale values early in the voting process

If the authorities agreed on a sufficiently bad bwweightscale value
(<=0 or == INT32_MAX), the bandwidth algorithm could make the voters
assert while computing the consensus.

Fix for bug5786; bugfix on 0.2.2.17-alpha

13 years agoCheck more thoroughly for dups when parsing networkstatus parameters
Nick Mathewson [Mon, 7 May 2012 16:38:28 +0000 (12:38 -0400)] 
Check more thoroughly for dups when parsing networkstatus parameters

See changes file for details.

Partial fix for bug 5786; fix on 0.2.2.2-alpha.

13 years agoHandle out-of-range values in tor_parse_* integer functions
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.

13 years agoApply a patch from Gisle Vanem to make tor-gencert build under MSVC
Nick Mathewson [Mon, 7 May 2012 15:31:08 +0000 (11:31 -0400)] 
Apply a patch from Gisle Vanem to make tor-gencert build under MSVC

(Note: It makes sense to use tor-gencert on Windows for testing
purposes only.  If you are a directory authority operator, and you
are contemplating running tor-gencert on a Windows box in an actual
production environment, you are probably making a mistake.)

13 years agoMerge branch 'bug5645_take2'
Nick Mathewson [Mon, 7 May 2012 15:09:50 +0000 (11:09 -0400)] 
Merge branch 'bug5645_take2'

13 years agoMake a cast less const-violating; make a field size explicit.
Nick Mathewson [Mon, 7 May 2012 15:09:02 +0000 (11:09 -0400)] 
Make a cast less const-violating; make a field size explicit.

13 years agoReorder rend_mid_rendezvous() to do protocol violation checks on top.
George Kadianakis [Mon, 7 May 2012 15:05:54 +0000 (18:05 +0300)] 
Reorder rend_mid_rendezvous() to do protocol violation checks on top.

13 years agoMerge branch 'bug5070_take2'
Nick Mathewson [Mon, 7 May 2012 15:03:33 +0000 (11:03 -0400)] 
Merge branch 'bug5070_take2'

13 years agoUsing %d to printf an enum may not be by-the-standard okay.
Nick Mathewson [Mon, 7 May 2012 15:02:17 +0000 (11:02 -0400)] 
Using %d to printf an enum may not be by-the-standard okay.

13 years agoFix an overwide line
Nick Mathewson [Mon, 7 May 2012 14:59:23 +0000 (10:59 -0400)] 
Fix an overwide line

13 years agoFix comments: There is no such thing as a NUL pointer
Nick Mathewson [Mon, 7 May 2012 14:57:59 +0000 (10:57 -0400)] 
Fix comments: There is no such thing as a NUL pointer

13 years agoChanges file for bug 5070
Nick Mathewson [Mon, 7 May 2012 13:56:12 +0000 (09:56 -0400)] 
Changes file for bug 5070

13 years agoDocument some transports.c behaviors and assumptions
Nick Mathewson [Mon, 7 May 2012 13:55:14 +0000 (09:55 -0400)] 
Document some transports.c behaviors and assumptions

13 years agoUpdate to the May 2012 GeoIP database.
Karsten Loesing [Mon, 7 May 2012 10:50:47 +0000 (12:50 +0200)] 
Update to the May 2012 GeoIP database.

13 years agofix quad typo in comments
Roger Dingledine [Mon, 7 May 2012 05:54:53 +0000 (01:54 -0400)] 
fix quad typo in comments

i assume if nickm maintained "libeven" this would never have been
introduced. :)

13 years agoFix bug 5762: detect missing accept4 that gives ENOSYS
Nick Mathewson [Fri, 4 May 2012 17:17:20 +0000 (13:17 -0400)] 
Fix bug 5762: detect missing accept4 that gives ENOSYS

We had been checking for EINVAL, but that means that SOCK_* isn't
supported, not that the syscall itself is missing.

Bugfix on 0.2.3.1-alpha, which started to use accept4.

13 years agoIgnore [::] when building descriptors.
Linus Nordberg [Thu, 3 May 2012 20:19:38 +0000 (22:19 +0200)] 
Ignore [::] when building descriptors.

This is how IPv6 says "0.0.0.0" and something we will have to
translate into a globally reachable address before putting it in a
descriptor.

The fix is a short term solution until a real one is implemented.

Closes #5146.

13 years agoMake transports.c logs a bit more helpful.
George Kadianakis [Thu, 3 May 2012 01:38:53 +0000 (04:38 +0300)] 
Make transports.c logs a bit more helpful.

13 years agoAdd a missing ntohl to tell_controller_about_resolve_result
Nick Mathewson [Tue, 1 May 2012 20:39:49 +0000 (16:39 -0400)] 
Add a missing ntohl to tell_controller_about_resolve_result

Fix for bug 5723; bugfix on 0.2.3.1-alpha (commit 22f723e4)

13 years agobump to 0.2.3.15-alpha-dev
Roger Dingledine [Mon, 30 Apr 2012 20:43:08 +0000 (16:43 -0400)] 
bump to 0.2.3.15-alpha-dev

13 years agobump to 0.2.3.15-alpha tor-0.2.3.15-alpha
Roger Dingledine [Mon, 30 Apr 2012 20:16:30 +0000 (16:16 -0400)] 
bump to 0.2.3.15-alpha

13 years agofold in new changes entries
Roger Dingledine [Mon, 30 Apr 2012 20:14:20 +0000 (16:14 -0400)] 
fold in new changes entries

13 years agoRemove __ from HAVE_EXTERN_ENVIRON_DECLARED__
Nick Mathewson [Mon, 30 Apr 2012 16:52:16 +0000 (12:52 -0400)] 
Remove __ from HAVE_EXTERN_ENVIRON_DECLARED__

I think that the trailing __ got added in false analogy to
HAVE_MACRO__func__, HAVE_MACRO__FUNC__, and HAVE_MACRO__FUNCTION__.
But those macros actually indicate the presence of __func__,
__FUNC__, and __FUNCTION__ respectively.  The __ at the end of
HAVE_EXTERN_ENVIRON_DECLARED would only be appropriate if the
environ were declared__, whatever that means.

(As a side-note, HAVE_MACRO__func__ and so on should probably be
renamed HAVE_MACRO___func__ and so on.  But that can wait.)

This is an identifier renaming only.