Kris Katterjohn
c13a81f7f9
Fix (and make consistent) the use of OpenBSD preprocessor macro tests
...
Prior to this commit, the testsuite was failing on OpenBSD. After
this commit the testsuite runs fine on OpenBSD.
It was previously decided to test for the OpenBSD macro (rather than
__OpenBSD__, etc.) because OpenBSD forks seem to have the former
macro defined. sys/param.h must be included for the OpenBSD macro
definition; however, many files tested for the OpenBSD macro without
having this header included.
This commit includes sys/param.h in the files where the OpenBSD macro
is used (and sys/param.h is not already included), and it also
changes some instances of the __OpenBSD__ macro to OpenBSD.
See commit 27df23abb6
which changed
everything to use OpenBSD instead of __OpenBSD__ or OPENBSD. See
also tickets #6982 and #20980 (the latter ticket is where it was
decided to use the OpenBSD macro).
Signed-off-by: Kris Katterjohn <katterjohn@gmail.com>
2019-01-09 08:51:57 -05:00
Nick Mathewson
a891d81c5f
Changes file for 28856
2019-01-09 08:48:11 -05:00
Nick Mathewson
f9a7701ff1
Merge branch 'ticket28856_v2'
2019-01-09 08:46:40 -05:00
teor
85c598cbc2
stats: Make PaddingStatistics depend on ExtraInfoStatistics
...
When ExtraInfoStatistics is 0, stop including PaddingStatistics in
relay and bridge extra-info documents.
Fixes bug 29017; bugfix on 0.3.1.1-alpha.
2019-01-08 18:21:10 +10:00
teor
671c34d9b4
lib/net: improve the docs for tor_{ersatz_,}socketpair()
...
Add some details about IP family support, and point to
tor_socketpair() from tor_ersatz_socketpair().
Closes ticket 29015.
2019-01-08 14:45:17 +10:00
Nick Mathewson
ae578981b6
Merge branch 'maint-0.3.5'
...
"ours" to avoid version bump
2019-01-07 21:18:33 -05:00
Nick Mathewson
44edfa7adc
Update to 0.3.5.7-dev
2019-01-07 21:18:25 -05:00
Nick Mathewson
971f4bf139
Merge branch 'maint-0.3.4' into maint-0.3.5
...
"ours" to avoid version bump
2019-01-07 21:17:46 -05:00
Nick Mathewson
41bb778227
Update to 0.3.4.10-dev
2019-01-07 21:17:34 -05:00
Nick Mathewson
50a686e586
Merge branch 'maint-0.3.3' into maint-0.3.4
...
"Ours" to avoid version bump.
2019-01-07 21:16:56 -05:00
Nick Mathewson
b5fdb91ada
Update to 0.3.3.3.11-dev
2019-01-07 21:16:40 -05:00
Kris Katterjohn
c59b572e93
Fix tor_ersatz_socketpair on IPv6-only systems
...
In get_local_listener used by tor_ersatz_socketpair, the address
family used when binding the IPv6 socket was AF_INET instead of
AF_INET6.
Fixes bug 28995; bugfix on 0.3.5.1-alpha.
Signed-off-by: Kris Katterjohn <katterjohn@gmail.com>
2019-01-07 17:28:21 -06:00
Nick Mathewson
d199519706
Merge branch 'maint-0.3.5'
...
"ours" to avoid version bump.
2019-01-07 10:23:30 -05:00
Nick Mathewson
52b508735f
Bump version to 0.3.5.7
2019-01-07 10:23:21 -05:00
Nick Mathewson
d51595ec57
Merge branch 'maint-0.3.4' into maint-0.3.5
...
"ours" to avoid version bump.
2019-01-07 10:22:47 -05:00
Nick Mathewson
ea47563dd7
Bump to 0.3.4.10
2019-01-07 10:22:42 -05:00
Nick Mathewson
d8196dc200
Merge branch 'maint-0.3.3' into maint-0.3.4
...
"ours" merge to avoid version bump.
2019-01-07 10:22:13 -05:00
Nick Mathewson
63eed6edff
Bump to 0.3.3.11
2019-01-07 10:21:59 -05:00
Nick Mathewson
0402746a99
Merge remote-tracking branch 'rl1987/doc28805'
2019-01-07 08:51:37 -05:00
Nick Mathewson
7a7685955e
Merge remote-tracking branch 'tlyu-github/bug28929'
2019-01-07 08:46:27 -05:00
Nick Mathewson
85c5f58509
Merge branch 'maint-0.3.4' into maint-0.3.5
2019-01-07 08:43:46 -05:00
Nick Mathewson
fe26e1f1c8
Merge branch 'maint-0.3.5'
2019-01-07 08:43:46 -05:00
Nick Mathewson
3d18903f53
Merge branch 'maint-0.3.3' into maint-0.3.4
2019-01-07 08:43:45 -05:00
Nick Mathewson
ba71b17865
Merge branch 'maint-0.2.9' into maint-0.3.3
2019-01-07 08:43:45 -05:00
Karsten Loesing
445d6750f7
Update geoip and geoip6 to the January 3 2019 database.
2019-01-07 09:00:29 +01:00
Nick Mathewson
41e3c760a4
Fix a warning in test_process.c on 32-bit platforms with clang.
...
Bug not in any released Tor.
2019-01-04 18:39:22 -05:00
Taylor Yu
7e75311714
Fix typo in bootstrap message
...
The message for the "ap_conn_proxy" bootstrap status tag was missing
some text. Fixes bug 28929. Bug not in any released Tor.
2019-01-04 17:27:28 -06:00
Nick Mathewson
74bda3079c
Merge branch 'maint-0.3.4' into maint-0.3.5
2019-01-04 15:04:58 -05:00
Nick Mathewson
d7259b64d4
Merge branch 'maint-0.3.3' into maint-0.3.4
2019-01-04 15:04:58 -05:00
Nick Mathewson
fee2eaf2d4
Merge branch 'maint-0.2.9' into maint-0.3.3
2019-01-04 15:04:58 -05:00
Nick Mathewson
c5a216fe1b
Merge branch 'maint-0.3.5'
2019-01-04 15:04:58 -05:00
Nick Mathewson
73de7b4bcb
Merge branch 'bug21394_029_redux' into maint-0.2.9
2019-01-04 15:04:54 -05:00
Nick Mathewson
af85a0f28f
Remove from master those changes files that will appear in 0.3.5.7 or earlier.
2019-01-04 15:04:00 -05:00
Nick Mathewson
16deb1f5f2
Merge branch 'maint-0.3.4' into maint-0.3.5
2019-01-04 14:57:06 -05:00
Nick Mathewson
fe3331b845
Merge branch 'maint-0.3.3' into maint-0.3.4
2019-01-04 14:57:06 -05:00
Nick Mathewson
a9c7830982
Merge branch 'maint-0.3.5'
2019-01-04 14:57:06 -05:00
Nick Mathewson
bf8bb9c526
Merge remote-tracking branch 'dgoulet/ticket28619_033_01' into maint-0.3.3
2019-01-04 14:49:16 -05:00
Nick Mathewson
fa05efdf8b
Merge branch 'maint-0.3.4' into maint-0.3.5
2019-01-04 14:36:02 -05:00
Nick Mathewson
94cab0d0bb
Merge branch 'maint-0.3.5'
2019-01-04 14:36:02 -05:00
Nick Mathewson
d47c9276de
Merge branch 'ticket27750_034_01_squashed' into maint-0.3.4
2019-01-04 14:34:38 -05:00
Nick Mathewson
98a1b8770c
Merge branch 'maint-0.3.5'
2019-01-03 21:34:43 -05:00
Nick Mathewson
c75cf802d3
Merge branch 'ticket28879' into maint-0.3.5
2019-01-03 21:34:35 -05:00
Nick Mathewson
7232f04939
Merge branch 'ticket28880'
2019-01-03 21:33:40 -05:00
Nick Mathewson
a7cbbf279e
Merge branch 'ticket28852'
2019-01-03 21:31:08 -05:00
Nick Mathewson
4e4f93d364
Add a #ifdef HAVE_UNISTD_H check to buffers.c
...
Reported on tor-dev by Gisle Vanem. Bug not in any released Tor
(The suggested patch used _MSC_VER, but that's not how we do stuff
with autoconf. With autoconf, you detect the feature you want,
rather than trying to list all the systems that do or do not have
it.)
2019-01-03 09:52:19 -05:00
Nick Mathewson
9ba690e33f
Merge branch 'maint-0.3.5'
2019-01-03 09:45:56 -05:00
Nick Mathewson
abdc6aede2
Merge branch 'ticket28851_035_squashed' into maint-0.3.5
2019-01-03 09:45:53 -05:00
Nick Mathewson
b82717b273
Stop re-checking our hardcoded dh parameters on every startup
...
Closes ticket 28851.
2019-01-03 09:45:43 -05:00
Nick Mathewson
47176eb678
Merge branch 'maint-0.3.5'
2019-01-03 09:44:15 -05:00
Nick Mathewson
98736cf36a
Merge remote-tracking branch 'public/ticket28838_035' into maint-0.3.5
2019-01-03 09:44:10 -05:00