Commit Graph

21110 Commits

Author SHA1 Message Date
Arlo Breault 5138f5ca69 Ensure node is a guard candidate when picking a directory guard 2015-12-08 09:49:01 -05:00
Nick Mathewson eeb9751ead Merge branch 'maint-0.2.6' into maint-0.2.7 2015-12-08 09:43:42 -05:00
Nick Mathewson b53ff86067 Merge branch 'maint-0.2.5' into maint-0.2.6 2015-12-08 09:43:25 -05:00
Nick Mathewson 4328525770 Merge branch 'maint-0.2.4' into maint-0.2.5 2015-12-08 09:38:48 -05:00
Nick Mathewson b0867fec96 Fix a compilation warning introduced by clang 3.6
There was a dead check when we made sure that an array member of a
struct was non-NULL.  Tor has been doing this check since at least
0.2.3, maybe earlier.

Fixes bug 17781.
2015-12-08 09:37:05 -05:00
Nick Mathewson e9bf584694 Format IPv6 policies correctly.
Previously we'd suppressed the mask-bits field in the output when
formatting a policy if it was >=32.  But that should be a >=128 if
we're talking about IPv6.

Since we didn't put these in descriptors, this bug affects only log
messages and controller outputs.

Fix for bug 16056.  The code in question was new in 0.2.0, but the
bug was introduced in 0.2.4 when we started supporting IPv6 exits.
2015-12-08 08:44:58 -05:00
Nick Mathewson 9c66afe772 Merge branch 'maint-0.2.6' into maint-0.2.7 2015-12-07 10:11:21 -05:00
Nick Mathewson 089ee13534 Merge branch 'maint-0.2.5' into maint-0.2.6 2015-12-07 10:10:44 -05:00
Nick Mathewson e8e89fd7a1 Merge branch 'maint-0.2.4' into maint-0.2.5 2015-12-07 10:10:21 -05:00
Karsten Loesing dbb919cf94 Update geoip and geoip6 to the December 1 2015 database. 2015-12-05 17:02:59 +01:00
cypherpunks e408aa3b24 Add changes file for 17722 2015-11-30 22:02:50 -05:00
cypherpunks be0891667e Fix undefined behavior caused by memory overlap
The tor_cert_get_checkable_sig function uses the signing key included in
the certificate (if available) when a separate public key is not given.

When the signature is valid, the tor_cert_checksig function copies the
public key from the checkable structure to the public key field of the
certificate signing key.

In situations where the separate public key is not given but the
certificate includes a signing key, the source and destination pointers
in the copy operation are equal and invoke undefined behavior.

Undefined behaviour is avoided by ensuring both pointers are different.
2015-11-30 22:02:22 -05:00
Nick Mathewson 232ccc18c4 Include netinet/in.h (if detected) in check for net/pfvar.h
Patch from rubiate; fixes bug 17551.
2015-11-25 09:27:52 -05:00
David Goulet 273b267fa2 Fix: use the right list in find_expiring_intro_point()
The wrong list was used when looking up expired intro points in a rend
service object causing what we think could be reachability issues and
triggering a BUG log.

Fixes #16702

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
2015-11-23 09:02:54 -05:00
Nick Mathewson e0fa07c06f Merge branch 'maint-0.2.7' into release-0.2.7 2015-11-20 10:27:51 -05:00
Nick Mathewson 18ee193ad1 bump version to 0.2.7-dev 2015-11-20 10:27:35 -05:00
Nick Mathewson b6024ec149 prepare for a release. 2015-11-20 08:48:08 -05:00
Nick Mathewson 0549c01967 add a dedication paragraph; reflow another. 2015-11-13 08:58:18 -05:00
Nick Mathewson e46ea4a75d Merge branch 'maint-0.2.7' into release-0.2.7 2015-11-13 08:41:42 -05:00
Nick Mathewson 741d2dc685 Bump to 0.2.7.5 2015-11-13 08:41:30 -05:00
Nick Mathewson 4dd7a55cf2 start trying to write a blurb 2015-11-10 09:13:58 -05:00
Nick Mathewson 99d39e937e Re-order and condense some ReleaseNotes items 2015-11-05 09:39:44 -05:00
Nick Mathewson 6292a3fcf4 Remove all bugfix-on-0.2.7.x items from ReleaseNotes 2015-11-05 09:29:27 -05:00
Nick Mathewson 7bce3efb9e Start the ReleaseNotes for 0.2.7.5.
This is just the changelogs for 0.2.7.[1234]-{alpha,rc} passed through
sortChanges.pl.
2015-11-05 09:24:33 -05:00
Nick Mathewson f55d23e1e6 remove a comma that coderman didn't like 2015-10-21 15:13:31 -04:00
Nick Mathewson 5f60216b3b Reflow changelog 2015-10-21 15:10:21 -04:00
Nick Mathewson 08b96160fc Edit more changelog text (thanks to rl1987 for noticing) 2015-10-21 14:42:47 -04:00
Nick Mathewson 1512e7e539 Edit some changelog text 2015-10-21 14:34:48 -04:00
Nick Mathewson 89a9d8c8d7 More 0274-rc changelog updating 2015-10-21 13:37:06 -04:00
Nick Mathewson cd8a62a60c Merge branch 'maint-0.2.7' into release-0.2.7 2015-10-21 13:35:04 -04:00
Nick Mathewson 7b859fd8c5 Note that you can use a unix domain socket for hsport 2015-10-21 12:22:05 -04:00
Nick Mathewson 4fb4906975 Merge remote-tracking branch 'public/bug17404_024' into maint-0.2.7 2015-10-21 12:02:42 -04:00
Nick Mathewson 9459ae260e Fix the return value 2015-10-21 12:01:05 -04:00
Nick Mathewson b809c265e7 Merge remote-tracking branch 'public/bug17404_024' into maint-0.2.7 2015-10-21 11:51:03 -04:00
Nick Mathewson 35bf07b8d6 Check for len < 4 in dn_indicates_v3_cert
Without this check, we potentially look up to 3 characters before
the start of a malloc'd segment, which could provoke a crash under
certain (weird afaik) circumstances.

Fixes 17404; bugfix on 0.2.6.3-alpha.
2015-10-21 11:44:43 -04:00
Nick Mathewson 9c4a0aef0c Fix a memory leak in reading an expired ed signing key.
Closes 17403.
2015-10-21 11:16:28 -04:00
Nick Mathewson 3f3a753e36 Reflow changelog 2015-10-21 11:09:41 -04:00
Nick Mathewson cc3ce68548 Fold new entries into ChangeLog for 0.2.7.4-rc 2015-10-21 11:09:16 -04:00
Nick Mathewson ff174995f0 Merge branch 'maint-0.2.7' into release-0.2.7 2015-10-21 11:06:47 -04:00
Nick Mathewson 5d45a26f39 Whoops; infinite recursion 2015-10-21 10:56:27 -04:00
Nick Mathewson aa96abe66b Fix memory leak in rend_cache_failure_entry_free()
Bug 17402.
2015-10-21 10:52:57 -04:00
Nick Mathewson 03eb999d42 Fix an (unreachable) memory leak in rendcache.c
The 0.2.8 unit tests provoke this leak, though I don't think it can
happen IRL.
2015-10-21 10:27:19 -04:00
Nick Mathewson 5b2070198a Fix a use-after-free in validate_intro_point_failure. Bug 17401. Found w valgrind 2015-10-21 09:59:19 -04:00
Nick Mathewson 542cc8a5ff Fix a memory leak; bug 17398. 2015-10-21 08:17:07 -04:00
Nick Mathewson fbaee1bf40 tomorrow, not tonight. 2015-10-20 20:21:23 -04:00
Nick Mathewson 47649a558d missing parenthesis 2015-10-20 16:41:28 -04:00
Nick Mathewson 67f0b51c92 Merge branch 'maint-0.2.7' into release-0.2.7 2015-10-19 11:20:03 -04:00
Nick Mathewson 8378a3310a Bump version to 0.2.7.4-rc 2015-10-19 11:19:51 -04:00
Nick Mathewson 976f392f13 Changelog for 0.2.7.4-rc (plan to release tomorrow) 2015-10-19 11:15:45 -04:00
Nick Mathewson 551af4f97d tweak some changes files 2015-10-19 11:12:43 -04:00