]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
7 years agoavoid calling format_iso_time() with TIME_MAX
Roger Dingledine [Sun, 7 Jan 2018 07:15:18 +0000 (02:15 -0500)] 
avoid calling format_iso_time() with TIME_MAX

If we tried to move a descriptor from routerlist->old_routers
back into the current routerlist, we were preparing a buffer with
format_iso_time() on ri->cert_expiration_time, and doing it preemptively
since router_add_to_routerlist() might free ri so we wouldn't be able
to get at it later in the function.

But if the descriptor we're moving doesn't have any ed signature, then
its cert will be marked to expire at TIME_MAX, and handing TIME_MAX
to format_iso_time() generates this log warning:

correct_tm(): Bug: gmtime(9223372036854775807) failed with error Value too large for defined data type: Rounding down to 2037

The fix is to preemptively remember the expiry time, but only prepare
the buffer if we know we're going to need it.

Bugfix on commit a1b0a0b9, which came about as part of a fix for bug
20020, and which is not yet in any released version of Tor (hence no
changes file).

7 years agomake a comment a bit more useful
Roger Dingledine [Sat, 6 Jan 2018 20:03:35 +0000 (15:03 -0500)] 
make a comment a bit more useful

7 years agowhitespace and typo fixes
Roger Dingledine [Sat, 6 Jan 2018 20:02:12 +0000 (15:02 -0500)] 
whitespace and typo fixes

7 years agoMerge branch 'maint-0.3.2'
Roger Dingledine [Fri, 5 Jan 2018 23:44:08 +0000 (18:44 -0500)] 
Merge branch 'maint-0.3.2'

7 years agoremove redundant "implement this" from log message
Roger Dingledine [Fri, 5 Jan 2018 23:23:07 +0000 (18:23 -0500)] 
remove redundant "implement this" from log message

7 years agoMerge remote-tracking branch 'teor/fallback-code-2018-01'
Nick Mathewson [Fri, 5 Jan 2018 21:47:28 +0000 (16:47 -0500)] 
Merge remote-tracking branch 'teor/fallback-code-2018-01'

7 years agoMerge branch 'maint-0.3.2'
Nick Mathewson [Fri, 5 Jan 2018 21:41:35 +0000 (16:41 -0500)] 
Merge branch 'maint-0.3.2'

7 years agoMerge branch 'maint-0.3.1' into maint-0.3.2
Nick Mathewson [Fri, 5 Jan 2018 21:41:34 +0000 (16:41 -0500)] 
Merge branch 'maint-0.3.1' into maint-0.3.2

7 years agoMerge branch 'maint-0.3.0' into maint-0.3.1
Nick Mathewson [Fri, 5 Jan 2018 21:41:34 +0000 (16:41 -0500)] 
Merge branch 'maint-0.3.0' into maint-0.3.1

7 years agoMerge branch 'maint-0.2.9' into maint-0.3.0
Nick Mathewson [Fri, 5 Jan 2018 21:41:34 +0000 (16:41 -0500)] 
Merge branch 'maint-0.2.9' into maint-0.3.0

7 years agoMerge branch 'teor_ticket24681_028' into maint-0.2.9
Nick Mathewson [Fri, 5 Jan 2018 21:41:31 +0000 (16:41 -0500)] 
Merge branch 'teor_ticket24681_028' into maint-0.2.9

7 years agofix a wide line
Nick Mathewson [Fri, 5 Jan 2018 16:28:23 +0000 (11:28 -0500)] 
fix a wide line

7 years agoDon't keep options in a local in run_main_loop_once.
Nick Mathewson [Fri, 5 Jan 2018 14:24:34 +0000 (09:24 -0500)] 
Don't keep options in a local in run_main_loop_once.

The options value can change between the get_options() and its
second use, based on setconf callbacks in the event loop.

7 years agoStop logging excessive information about fallback netblocks
teor [Thu, 4 Jan 2018 13:23:52 +0000 (00:23 +1100)] 
Stop logging excessive information about fallback netblocks

Implements ticket 24791

7 years agoAdjust fallback selection parameters
teor [Thu, 4 Jan 2018 13:08:11 +0000 (00:08 +1100)] 
Adjust fallback selection parameters

Avoid selecting fallbacks that change their IP addresses too often.

Select more fallbacks by ignoring the Guard flag, and allowing lower
cutoffs for the Running and V2Dir flags. Also allow a lower bandwidth,
and a higher number of fallbacks per operator (5% of the list).

Implements ticket 24785.

7 years agoUpdate dependency list for the fallback script
teor [Fri, 22 Dec 2017 12:38:37 +0000 (23:38 +1100)] 
Update dependency list for the fallback script

Comment-only change.

Implements #24711.

7 years agoMake updateFallbackDirs.py search harder for python
teor [Fri, 22 Dec 2017 10:42:59 +0000 (21:42 +1100)] 
Make updateFallbackDirs.py search harder for python

(Some OSs don't put it in /usr/bin.)

Fixes bug 24708; bugfix on 0.2.8.1-alpha.

7 years agoRevise the generateFallbackDirLine.py script to use descriptors
teor [Wed, 27 Dec 2017 02:18:05 +0000 (13:18 +1100)] 
Revise the generateFallbackDirLine.py script to use descriptors

Patch by atagar, part of #24706.

7 years agoAdd fallback directory mirror helper scripts
teor [Fri, 22 Dec 2017 10:38:12 +0000 (21:38 +1100)] 
Add fallback directory mirror helper scripts

Add the generateFallbackDirLine.py script for automatically generating
fallback directory mirror lines from relay fingerprints. No more typos!

Add the lookupFallbackDirContact.py script for automatically looking up
operator contact info from relay fingerprints.

Implements ticket 24706.

7 years agoAdd a timestamp to the header of the current fallback list
teor [Wed, 27 Dec 2017 10:13:21 +0000 (21:13 +1100)] 
Add a timestamp to the header of the current fallback list

This timestamp is based on the time that list was first committed.

Part of 24725.

7 years agoAdd a generated timestamp to the fallback directory header
teor [Wed, 27 Dec 2017 10:10:46 +0000 (21:10 +1100)] 
Add a generated timestamp to the fallback directory header

This can act as a revision counter, as requested by atagar in 24742.

Part of 24725.

7 years agoRemove an incorrect C comment in the current fallback list
teor [Tue, 26 Dec 2017 07:26:27 +0000 (18:26 +1100)] 
Remove an incorrect C comment in the current fallback list

Follow-up to #24725

7 years agoRemove an incorrect C comment from updateFallbackDirs.py's list generation code
teor [Tue, 26 Dec 2017 07:23:11 +0000 (18:23 +1100)] 
Remove an incorrect C comment from updateFallbackDirs.py's list generation code

Part of #24725.

7 years agoAdd delimiters at the end of every fallback entry in the current list
teor [Sun, 24 Dec 2017 01:54:13 +0000 (12:54 +1100)] 
Add delimiters at the end of every fallback entry in the current list

Using this script:
sed -i.bak $'s|^,$|/* ===== */\\\n,|' src/or/fallback_dirs.inc
(Due to embedded newlines, this script only works in bash.)

And manually add a delimiter to the end of the header, and the start of
the fallback list.

This allows us to check that the code compiles, and the unit tests pass.
And it allows downstream users stem and atlas to adapt to the new format.

The upcoming fallback rebuild will automatically generate this new format.

Follow-up to 24725.

7 years agoAdd a delimiter to the end of each fallback entry
teor [Sun, 24 Dec 2017 01:50:42 +0000 (12:50 +1100)] 
Add a delimiter to the end of each fallback entry

This helps external parsers.

Also, add comments indicating where to add new fields in the fallback
format.

Part of 24725.

7 years agoUpdate the version header in the current fallback file to 2.0.0
teor [Sun, 24 Dec 2017 00:41:41 +0000 (11:41 +1100)] 
Update the version header in the current fallback file to 2.0.0

The upcoming fallback rebuild will automatically generate this new format.

Follow-up to 24725, due to breaking changes in 24679, 24600, and 22759.

7 years agoRemove commas and equals signs from external string inputs to the fallback list
teor [Sun, 24 Dec 2017 00:24:29 +0000 (11:24 +1100)] 
Remove commas and equals signs from external string inputs to the fallback list

This makes sure that list parsers only see one comma per fallback entry,
and only see one equals sign per field.

Implements ticket 24726.

7 years agoAdd all-zero extrainfo cache flags to the current fallback file
teor [Fri, 22 Dec 2017 14:24:48 +0000 (01:24 +1100)] 
Add all-zero extrainfo cache flags to the current fallback file

Using this script:
sed -i.bak $'s|^,$|/* extrainfo=0 */\\\n,|' src/or/fallback_dirs.inc
(Due to embedded newlines, this script only works in bash.)

This allows us to check that the code compiles, and the unit tests pass.
And it allows downstream users stem and atlas to adapt to the new format.

The upcoming fallback rebuild will automatically generate this new format,
with actual relay extrainfo cache flags.

Follow-up to 22759.

7 years agoAdd an extrainfo cache flag for each fallback in a C comment
teor [Fri, 22 Dec 2017 14:21:49 +0000 (01:21 +1100)] 
Add an extrainfo cache flag for each fallback in a C comment

This allows stem to use fallbacks to fetch extra-info documents,
rather than using authorities.

Implements ticket 22759.

7 years agoAdd blank nicknames to the current fallback file
teor [Fri, 22 Dec 2017 13:34:52 +0000 (00:34 +1100)] 
Add blank nicknames to the current fallback file

Using this script:
sed -i.bak $'s|^,$|/* nickname= */\\\n,|' src/or/fallback_dirs.inc
(Due to embedded newlines, this script only works in bash.)

This allows us to check that the code compiles, and the unit tests pass.
And it allows downstream users stem and atlas to adapt to the new format.

The upcoming fallback rebuild will automatically generate this new format,
with actual relay nicknames.

Follow-up to 24600.

7 years agoAdd a nickname to each fallback in a C comment
teor [Fri, 22 Dec 2017 13:23:12 +0000 (00:23 +1100)] 
Add a nickname to each fallback in a C comment

This makes it easier for operators to find their relays, and allows stem to
use nicknames to identify fallbacks.

Implements ticket 24600.

7 years agoRemove weights from the current fallback file
teor [Fri, 22 Dec 2017 12:26:14 +0000 (23:26 +1100)] 
Remove weights from the current fallback file

Using this script:
sed -i.bak 's/" weight=10",/,/' src/or/fallback_dirs.inc

This allows us to check that the code compiles, and the unit tests pass.
And it allows downstream users stem and atlas to adapt to the new format.

The upcoming fallback rebuild will automatically generate this new format.

Follow-up to 24679.

7 years agoRemove the "weight=10" line from fallback directory mirror entries
teor [Fri, 22 Dec 2017 12:05:45 +0000 (23:05 +1100)] 
Remove the "weight=10" line from fallback directory mirror entries

This removes some redundant repeated lines.

Ticket 24681 will maintain the current fallback weights by changing
Tor's default fallback weight to 10.

Implements ticket 24679.

7 years agoAdd a version 1.0.0 header to the current fallback file
teor [Sun, 24 Dec 2017 00:38:41 +0000 (11:38 +1100)] 
Add a version 1.0.0 header to the current fallback file

The upcoming fallback rebuild will automatically generate this new format,
with version 2.0.0.

Follow-up to 24725.

7 years agoAdd a type and version header to the fallback directory mirror file
teor [Sun, 24 Dec 2017 00:36:45 +0000 (11:36 +1100)] 
Add a type and version header to the fallback directory mirror file

This helps external parsers like stem and Relay Search.

Implements ticket 24725.

7 years agoAdd a changes file for 22321, that mentions all its children and 24678
teor [Fri, 29 Dec 2017 09:22:46 +0000 (20:22 +1100)] 
Add a changes file for 22321, that mentions all its children and 24678

7 years agoStop refusing fallbacks on the same machine
teor [Thu, 4 Jan 2018 13:01:15 +0000 (00:01 +1100)] 
Stop refusing fallbacks on the same machine

We only occasionally checked for fallbacks on the same machine.
And I'm not convinced it makes much of a difference with ~150 fallbacks.

Part of #22321.

7 years agoForgive fallback operators that were blacklisted due to a details change
teor [Thu, 4 Jan 2018 12:42:28 +0000 (23:42 +1100)] 
Forgive fallback operators that were blacklisted due to a details change

(But have since run a stable relay.)

Part of #22321.

7 years agoSome fallbacks changed their details: assume the changes are permanent
teor [Wed, 3 Jan 2018 22:42:31 +0000 (09:42 +1100)] 
Some fallbacks changed their details: assume the changes are permanent

We have already updated the details for operators who replied to:
https://lists.torproject.org/pipermail/tor-relays/2017-December/013988.html

Closes #24678.

7 years agoUpdate fallback directory mirror details based on opt-ins and opt-outs
teor [Fri, 22 Dec 2017 02:44:07 +0000 (13:44 +1100)] 
Update fallback directory mirror details based on opt-ins and opt-outs

https://lists.torproject.org/pipermail/tor-relays/2017-December/013898.html

Part of 22321.

7 years agoUpdate fallback whitelist and blacklist based on 2017 changes
Matt Traudt [Tue, 19 Dec 2017 23:27:25 +0000 (18:27 -0500)] 
Update fallback whitelist and blacklist based on 2017 changes

This covers #22321 comments 3-14, including some child tickets.

Part of #22321. Patch by pastly.

7 years agoUpdate comment and add changes file for 20942
teor [Fri, 22 Dec 2017 10:49:28 +0000 (21:49 +1100)] 
Update comment and add changes file for 20942

7 years agoSet CONSENSUS_EXPIRY_TOLERANCE to 0
Dominique Ingoglia [Tue, 19 Dec 2017 23:48:59 +0000 (16:48 -0700)] 
Set CONSENSUS_EXPIRY_TOLERANCE to 0

7 years agosmartlist.rs: The libc::c_char type is not the same as i8.
Nick Mathewson [Thu, 4 Jan 2018 17:20:54 +0000 (12:20 -0500)] 
smartlist.rs: The libc::c_char type is not the same as i8.

The code had been using c_char and i8 interchangeably, but it turns
out that c_char is only i8 on platforms where "char" is signed. On
other platforms, c_char is u8.

Fixes bug 24794; bug not on any released Tor.

7 years agoMerge remote-tracking branch 'frewsxcv/frewsxcv-protover-heap'
Nick Mathewson [Thu, 4 Jan 2018 16:05:53 +0000 (11:05 -0500)] 
Merge remote-tracking branch 'frewsxcv/frewsxcv-protover-heap'

7 years agoMerge remote-tracking branch 'pastly2/ticket24531_033_01'
Nick Mathewson [Wed, 3 Jan 2018 16:56:35 +0000 (11:56 -0500)] 
Merge remote-tracking branch 'pastly2/ticket24531_033_01'

7 years agoIn networkstatus_consensus_has_ipv6 test, use approx_time()
Nick Mathewson [Wed, 3 Jan 2018 15:57:44 +0000 (10:57 -0500)] 
In networkstatus_consensus_has_ipv6 test, use approx_time()

This may (or may not) fix up some reliability issues we've been
seeing with this test on windows.

7 years agoMerge branch 'maint-0.3.2'
Nick Mathewson [Wed, 3 Jan 2018 15:09:20 +0000 (10:09 -0500)] 
Merge branch 'maint-0.3.2'

7 years agoMerge branch 'bug24634' into maint-0.3.2
Nick Mathewson [Wed, 3 Jan 2018 15:08:36 +0000 (10:08 -0500)] 
Merge branch 'bug24634' into maint-0.3.2

7 years agoFix some shadowed-global warnings.
Nick Mathewson [Wed, 3 Jan 2018 14:13:00 +0000 (09:13 -0500)] 
Fix some shadowed-global warnings.

These are all about local variables shadowing global
functions. That isn't normally a problem, but at least one
compiler we care about seems to treat this as a case of -Wshadow
violation, so let's fix it.

Fixes bug 24634; bugfix on 0.3.2.1-alpha.

7 years agoMerge branch 'maint-0.3.2'
Nick Mathewson [Wed, 3 Jan 2018 14:00:00 +0000 (09:00 -0500)] 
Merge branch 'maint-0.3.2'

7 years agoMerge branch 'maint-0.3.1' into maint-0.3.2
Nick Mathewson [Wed, 3 Jan 2018 14:00:00 +0000 (09:00 -0500)] 
Merge branch 'maint-0.3.1' into maint-0.3.2

7 years agoMerge branch 'maint-0.3.0' into maint-0.3.1
Nick Mathewson [Wed, 3 Jan 2018 13:59:59 +0000 (08:59 -0500)] 
Merge branch 'maint-0.3.0' into maint-0.3.1

7 years agoMerge branch 'maint-0.2.9' into maint-0.3.0
Nick Mathewson [Wed, 3 Jan 2018 13:59:59 +0000 (08:59 -0500)] 
Merge branch 'maint-0.2.9' into maint-0.3.0

7 years agoMerge branch 'bug24633_029' into maint-0.2.9
Nick Mathewson [Wed, 3 Jan 2018 13:59:52 +0000 (08:59 -0500)] 
Merge branch 'bug24633_029' into maint-0.2.9

7 years agoMerge branch 'maint-0.3.2'
Nick Mathewson [Tue, 2 Jan 2018 19:42:31 +0000 (14:42 -0500)] 
Merge branch 'maint-0.3.2'

7 years agoMerge remote-tracking branch 'teor/bug24703_032' into maint-0.3.2
Nick Mathewson [Tue, 2 Jan 2018 19:42:27 +0000 (14:42 -0500)] 
Merge remote-tracking branch 'teor/bug24703_032' into maint-0.3.2

7 years agoMerge branch 'maint-0.3.0' into maint-0.3.1
Nick Mathewson [Tue, 2 Jan 2018 15:10:28 +0000 (10:10 -0500)] 
Merge branch 'maint-0.3.0' into maint-0.3.1

7 years agoMerge branch 'maint-0.2.9' into maint-0.3.0
Nick Mathewson [Tue, 2 Jan 2018 15:10:28 +0000 (10:10 -0500)] 
Merge branch 'maint-0.2.9' into maint-0.3.0

7 years agoMerge branch 'maint-0.3.2'
Nick Mathewson [Tue, 2 Jan 2018 15:10:28 +0000 (10:10 -0500)] 
Merge branch 'maint-0.3.2'

7 years agoMerge branch 'maint-0.3.1' into maint-0.3.2
Nick Mathewson [Tue, 2 Jan 2018 15:10:28 +0000 (10:10 -0500)] 
Merge branch 'maint-0.3.1' into maint-0.3.2

7 years agoMerge remote-tracking branch 'teor/bug24736_028' into maint-0.2.9
Nick Mathewson [Tue, 2 Jan 2018 15:09:44 +0000 (10:09 -0500)] 
Merge remote-tracking branch 'teor/bug24736_028' into maint-0.2.9

7 years agoMerge remote-tracking branch 'teor/ticket24001'
Nick Mathewson [Tue, 2 Jan 2018 15:07:13 +0000 (10:07 -0500)] 
Merge remote-tracking branch 'teor/ticket24001'

7 years agoRemove changes file for 24762
Nick Mathewson [Tue, 2 Jan 2018 14:55:29 +0000 (09:55 -0500)] 
Remove changes file for 24762

(Bugfixes for bugs not in any released Tor don't get listed in the
changelog, and therefore don't need changes files.)

7 years agoMerge remote-tracking branch 'teor/bug24762'
Nick Mathewson [Tue, 2 Jan 2018 14:54:56 +0000 (09:54 -0500)] 
Merge remote-tracking branch 'teor/bug24762'

7 years agoMerge remote-tracking branch 'ffmancera/github/bug24677'
Nick Mathewson [Tue, 2 Jan 2018 14:37:23 +0000 (09:37 -0500)] 
Merge remote-tracking branch 'ffmancera/github/bug24677'

7 years agoUse ping -6 ::1 on Linux when ping6 ::1 fails on tests.
Fernando Fernandez Mancera [Tue, 2 Jan 2018 14:18:36 +0000 (15:18 +0100)] 
Use ping -6 ::1 on Linux when ping6 ::1 fails on tests.

Tor test now checks if "ping -6 -c 1 -W 1 ::1" works when "ping6 -c 1 -W 1 ::1"
fails on tests.

Fixes #24677; bugfix in 0.2.9.3-alpha.

Signed-off-by: Fernando Fernandez Mancera <ffernandezmancera@gmail.com>
7 years agoStop trying to remove NULL filenames on shutdown
teor [Fri, 29 Dec 2017 12:00:57 +0000 (23:00 +1100)] 
Stop trying to remove NULL filenames on shutdown

Fixes bug 24762; bugfix on master.
(Not in any released version of Tor.)

7 years ago[fixup] this might be an improvement?
Corey Farwell [Fri, 29 Dec 2017 02:17:45 +0000 (18:17 -0800)] 
[fixup] this might be an improvement?

7 years agoRemove unneeded heap allocations in protover.rs.
Corey Farwell [Thu, 28 Dec 2017 06:05:06 +0000 (22:05 -0800)] 
Remove unneeded heap allocations in protover.rs.

7 years agoClear the address when we can't choose a reachable address
teor [Sun, 24 Dec 2017 14:53:14 +0000 (01:53 +1100)] 
Clear the address when we can't choose a reachable address

When the fascist_firewall_choose_address_ functions don't find a
reachable address, set the returned address to the null address and port.

This is a precautionary measure, because some callers do not check the
return value.

Fixes bug 24736; bugfix on 0.2.8.2-alpha.

7 years agoExpand comments in node_get_ed25519_id() and put them near the relevant code
teor [Sun, 24 Dec 2017 08:47:42 +0000 (19:47 +1100)] 
Expand comments in node_get_ed25519_id() and put them near the relevant code

And add a changes file.

Follow-up to 24001.

7 years agoConditional check added
ArunaMaurya221B [Fri, 22 Dec 2017 10:45:42 +0000 (16:15 +0530)] 
Conditional check added

7 years agoMake the default DirAuthorityFallbackRate 0.1
teor [Fri, 22 Dec 2017 13:00:18 +0000 (00:00 +1100)] 
Make the default DirAuthorityFallbackRate 0.1

This makes clients on the public tor network prefer to bootstrap off fallback
directory mirrors.

This is a follow-up to 24679, which removed weights from the default fallbacks.

Implements ticket 24681.

7 years agoBump the dates and Tor versions on the sample torrcs
teor [Fri, 22 Dec 2017 00:22:48 +0000 (11:22 +1100)] 
Bump the dates and Tor versions on the sample torrcs

7 years agoClarify the OutboundBindAddressOR documentation in the sample torrc
teor [Fri, 22 Dec 2017 00:22:10 +0000 (11:22 +1100)] 
Clarify the OutboundBindAddressOR documentation in the sample torrc

Part of 22145

7 years agoDocument IPv6Exit in the sample torrcs
teor [Fri, 22 Dec 2017 00:10:30 +0000 (11:10 +1100)] 
Document IPv6Exit in the sample torrcs

Sample config-only change.

Implements 24703.

7 years agoMerge branch 'maint-0.3.2'
Nick Mathewson [Thu, 21 Dec 2017 19:22:58 +0000 (14:22 -0500)] 
Merge branch 'maint-0.3.2'

"ours" to avoid version bump.

7 years agoIncrement version to 0.3.2.8-rc-dev
Nick Mathewson [Thu, 21 Dec 2017 19:22:54 +0000 (14:22 -0500)] 
Increment version to 0.3.2.8-rc-dev

7 years agoforward-port the 0.3.2.8-rc changelog
Nick Mathewson [Thu, 21 Dec 2017 19:22:30 +0000 (14:22 -0500)] 
forward-port the 0.3.2.8-rc changelog

7 years agoscan-build: Replace some test-assertions with fatal assertions
Nick Mathewson [Thu, 21 Dec 2017 18:26:57 +0000 (13:26 -0500)] 
scan-build: Replace some test-assertions with fatal assertions

Using tt_assert in these helpers was implying to scan-build that our
'new' functions might be returning NULL, which in turn would make it
warn about null-pointer use.

7 years agoMerge branch 'maint-0.3.2'
Nick Mathewson [Thu, 21 Dec 2017 17:42:11 +0000 (12:42 -0500)] 
Merge branch 'maint-0.3.2'

"ours" merge to avoid version bump.

7 years agoIncrement version to 0.3.2.8-rc
Nick Mathewson [Thu, 21 Dec 2017 17:42:00 +0000 (12:42 -0500)] 
Increment version to 0.3.2.8-rc

7 years agoremove changes files that appear in 0.3.2.8-rc
Nick Mathewson [Thu, 21 Dec 2017 17:41:25 +0000 (12:41 -0500)] 
remove changes files that appear in 0.3.2.8-rc

7 years agoMerge branch 'maint-0.3.2'
Nick Mathewson [Thu, 21 Dec 2017 16:16:00 +0000 (11:16 -0500)] 
Merge branch 'maint-0.3.2'

7 years agoMerge remote-tracking branch 'dgoulet/bug24671_032_01' into maint-0.3.2
Nick Mathewson [Thu, 21 Dec 2017 16:13:33 +0000 (11:13 -0500)] 
Merge remote-tracking branch 'dgoulet/bug24671_032_01' into maint-0.3.2

7 years agoFix a compilation error in the channel tests.
Nick Mathewson [Thu, 21 Dec 2017 16:10:30 +0000 (11:10 -0500)] 
Fix a compilation error in the channel tests.

This would only show up on systems like windows where monotime_t and
monotime_coarse_t are different types.

7 years agoIn 0.3.3, we use timestamps, not absolute milliseconds.
Nick Mathewson [Thu, 21 Dec 2017 15:57:45 +0000 (10:57 -0500)] 
In 0.3.3, we use timestamps, not absolute milliseconds.

7 years agoMerge branch 'maint-0.3.2'
Nick Mathewson [Thu, 21 Dec 2017 15:54:05 +0000 (10:54 -0500)] 
Merge branch 'maint-0.3.2'

7 years agoMerge branch 'maint-0.3.1' into maint-0.3.2
Nick Mathewson [Thu, 21 Dec 2017 15:50:33 +0000 (10:50 -0500)] 
Merge branch 'maint-0.3.1' into maint-0.3.2

7 years agoMerge branch 'maint-0.3.0' into maint-0.3.1
Nick Mathewson [Thu, 21 Dec 2017 15:50:06 +0000 (10:50 -0500)] 
Merge branch 'maint-0.3.0' into maint-0.3.1

7 years agoMerge branch 'maint-0.2.9' into maint-0.3.0
Nick Mathewson [Thu, 21 Dec 2017 15:49:40 +0000 (10:49 -0500)] 
Merge branch 'maint-0.2.9' into maint-0.3.0

7 years agoUse monotime_coarse_absolute_msec() in destroy queue
Nick Mathewson [Thu, 21 Dec 2017 15:48:37 +0000 (10:48 -0500)] 
Use monotime_coarse_absolute_msec() in destroy queue

This way it will match the insert queue in 029 and later.

7 years agoMerge branch 'maint-0.2.8' into maint-0.2.9
Nick Mathewson [Thu, 21 Dec 2017 15:43:12 +0000 (10:43 -0500)] 
Merge branch 'maint-0.2.8' into maint-0.2.9

7 years agoMerge branch 'maint-0.2.5' into maint-0.2.8 maint-0.2.8
Nick Mathewson [Thu, 21 Dec 2017 15:43:06 +0000 (10:43 -0500)] 
Merge branch 'maint-0.2.5' into maint-0.2.8

7 years agoMerge branch 'bug24666_squashed_025' into maint-0.2.5
Nick Mathewson [Thu, 21 Dec 2017 15:40:10 +0000 (10:40 -0500)] 
Merge branch 'bug24666_squashed_025' into maint-0.2.5

7 years agoMove free to end of test function so coverity won't complain.
Nick Mathewson [Thu, 21 Dec 2017 15:39:29 +0000 (10:39 -0500)] 
Move free to end of test function so coverity won't complain.

7 years agoMove destroy cells into a separate queue type of their own, to save RAM
Nick Mathewson [Tue, 19 Dec 2017 18:53:52 +0000 (13:53 -0500)] 
Move destroy cells into a separate queue type of their own, to save RAM

We've been seeing problems with destroy cells queues taking up a
huge amount of RAM.  We can mitigate this, since while a full packed
destroy cell takes 514 bytes, we only need 5 bytes to remember a
circuit ID and a reason.

Fixes bug 24666. Bugfix on 0.2.5.1-alpha, when destroy cell queues
were introduced.

7 years agoMerge branch 'maint-0.3.2'
Nick Mathewson [Thu, 21 Dec 2017 15:27:39 +0000 (10:27 -0500)] 
Merge branch 'maint-0.3.2'

7 years agoclarify a comment
Nick Mathewson [Thu, 21 Dec 2017 15:27:37 +0000 (10:27 -0500)] 
clarify a comment