Wouter Wijngaards
e4e00db42e
Merge pull request #151 from Maryse47/systemd_fix
...
Fixes for systemd units
2020-01-30 14:09:29 +01:00
W.C.A. Wijngaards
079de39b46
- Fix #157 : undefined reference to `htobe64'.
2020-01-29 11:56:29 +01:00
Ralph Dolmans
7e200ce90e
Merge branch 'master' into edmonds/libbsd-support
2020-01-27 15:37:33 +01:00
Maryse47
72bfa5a48c
Move unbound_nochroot.service to unbound_portable.service
...
The real purpose of this service is to make it work with
https://systemd.io/PORTABLE_SERVICES/ which are incompatible with
chroot workarounds from original unbound.service.
The service content is identical to unbound.service with exception
for chroot related rules which were modified as needed.
2020-01-27 13:44:47 +01:00
W.C.A. Wijngaards
68ff1730ac
- Fix #153 : Disable validation for DSA algorithms. RFC 8624
...
compliance.
2020-01-27 09:40:18 +01:00
Robert Edmonds
394f9403df
contrib/libunbound.pc.in: Embed the correct crypto dependencies
...
This commit removes the hardcoded dependency in the libunbound
pkg-config .pc file on the libcrypto and libssl modules and instead
populates the .pc file based on which crypto library was selected at
configure time.
Note that the .pc file specifies pkg-config module names for the
"Requires" line and this can vary from the library filename (e.g. "nss"
is the pkg-config module name vs. "nss3" being the library name).
2020-01-26 22:30:31 -05:00
Steven Chamberlain
f6b4f2a149
Allow use of libbsd functions with configure option --with-libbsd
...
Add a new configure option `--with-libbsd', which allows to use libbsd's
portable implementations of:
strlcpy strlcat arc4random arc4random_uniform reallocarray
instead of the embedded code copies in contrib/, which will be
difficult to maintain in the long term.
Also patch util/random.c so that, when building with libbsd and without
OpenSSL, arc4random can still be used as the PRNG. Otherwise, building
with libnettle would need a kernel-specific getentropy implementation,
and libbsd does not export one.
[edmonds@debian.org: Imported patch description from BTS, refreshed
patch against Unbound 1.9.6.]
2020-01-26 19:09:43 -05:00
François KUBLER
c3f6f0a332
Patch configure.ac file to take the new contrib/unbound_nochroot.service unit file in consideration.
...
All props to Wouter Wijngaards for this work.
2020-01-23 15:51:07 +01:00
W.C.A. Wijngaards
40787a06d8
Fixup 1.9.7 version commit in configure.ac.
2019-12-12 15:52:21 +01:00
Ralph Dolmans
f1d5d5d682
Make master 1.9.7 in development.
2019-12-12 12:48:29 +01:00
W.C.A. Wijngaards
6139943428
- Fix compile with --enable-alloc-checks, reported by X41 D-Sec.
2019-11-20 13:51:10 +01:00
W.C.A. Wijngaards
226298bbd3
- Fix Integer Overflow in Regional Allocator,
...
reported by X41 D-Sec.
2019-11-19 15:38:05 +01:00
W.C.A. Wijngaards
d8090b8cae
- 1.9.5 is 1.9.4 with bugfix, trunk is 1.9.6 in development.
2019-11-19 10:06:12 +01:00
W.C.A. Wijngaards
442e95620e
- Portable grep usage for reuseport configure test.
...
- Check return type of HMAC_Init_ex for openssl 0.9.8.
2019-11-18 15:53:47 +01:00
James Clarke
9b310f4084
Add getentropy emulation for FreeBSD
2019-11-02 18:08:23 +00:00
George Thessalonikefs
941b324187
Add new configure option --enable-fully-static to enable full static build if
...
requested; in relation to #91 .
2019-10-23 16:10:07 +02:00
W.C.A. Wijngaards
facc6c6541
- Merge 1.9.4 release with fix for vulnerability CVE-2019-16866.
...
- Continue with development of 1.9.5.
2019-10-03 11:40:13 +02:00
W.C.A. Wijngaards
380b87e21a
Merge remote-tracking branch 'origin/branch-1.9.4'
2019-10-03 11:37:22 +02:00
W.C.A. Wijngaards
b60c4a472c
Branch 1.9.4 prepares for 1.9.4 release from 1.9.3
2019-10-03 10:34:40 +02:00
W.C.A. Wijngaards
ab53baa6f5
- Fix for oss-fuzz build warning.
2019-09-19 10:09:49 +02:00
W.C.A. Wijngaards
e45e9f1ce0
- Fix #72 : configure --with-syslog-facility=LOCAL0-7 with default
...
LOG_DAEMON (as before) can set the syslog facility that the server
uses to log messages.
2019-09-09 14:27:55 +02:00
W.C.A. Wijngaards
cd0a2b1af1
- Master is 1.9.4 in development.
2019-08-27 09:56:20 +02:00
W.C.A. Wijngaards
06847ff3be
- Fix that pkg-config is setup before --enable-systemd needs it.
2019-08-22 12:22:25 +02:00
W.C.A. Wijngaards
06a58ca248
- escape commandline contents for -V.
2019-08-15 15:05:02 +02:00
George Thessalonikefs
008813f0a2
- Introduce -V option to print the version number and build options.
...
Previously reported build options like linked libs and linked modules
are now moved from `-h` to `-V` as well for consistency.
- PACKAGE_BUGREPORT now also includes link to GitHub issues.
2019-08-12 17:52:43 +02:00
W.C.A. Wijngaards
ed95b07764
Merge branch 'master' of git://github.com/k9982874/unbound into k9982874-master
2019-06-18 13:52:52 +02:00
W.C.A. Wijngaards
3499d3c647
- Master contains version 1.9.3 in development.
2019-06-17 11:42:19 +02:00
W.C.A. Wijngaards
a4f4d7b6ba
- Fix to guard _OPENBSD_SOURCE from redefinition.
2019-05-29 13:28:03 +02:00
W.C.A. Wijngaards
14b11384a4
- Fix to define _OPENBSD_SOURCE to get reallocarray on NetBSD.
2019-05-28 11:12:05 +02:00
W.C.A. Wijngaards
a922a19d70
- Revert fix for oss-fuzz, error is in that build script that
...
unconditionally includes .o files detected by configure, also
when the machine architecture uses different LIBOBJS files.
2019-05-09 17:07:01 +02:00
W.C.A. Wijngaards
a8d0177b36
- Attempt to fix build failure in oss-fuzz
...
because of reallocarray.
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=14648 .
Does not omit compile flags from commandline.
2019-05-08 14:43:56 +02:00
Kevin Chu
1a48bdebb5
Add support for ipset
2019-05-02 19:43:30 +08:00
Wouter Wijngaards
2b47ca080e
- Fix to use event_assign with libevent for thread-safety.
...
git-svn-id: file:///svn/unbound/trunk@5149 be551aaa-1e26-0410-a405-d3ace91eadb9
2019-04-08 11:02:34 +00:00
Wouter Wijngaards
bfd0c5ec85
1.9.1 on 12 March 2019. Trunk has 1.9.2 in development.
...
git-svn-id: file:///svn/unbound/trunk@5135 be551aaa-1e26-0410-a405-d3ace91eadb9
2019-03-12 09:33:18 +00:00
Wouter Wijngaards
8092cd6331
- Fix for #4233 : guard use of NDEBUG, so that it can be passed in
...
CFLAGS into configure.
git-svn-id: file:///svn/unbound/trunk@5133 be551aaa-1e26-0410-a405-d3ace91eadb9
2019-03-07 08:34:00 +00:00
Wouter Wijngaards
e43c3daec2
Trunk has 1.9.1 in development.
...
git-svn-id: file:///svn/unbound/trunk@5105 be551aaa-1e26-0410-a405-d3ace91eadb9
2019-02-05 09:26:39 +00:00
Wouter Wijngaards
df8f236b62
- For openssl 1.0.2 use the CRYPTO_THREADID locking callbacks,
...
still supports the set_id_callback previous API. And for 1.1.0
no locking callbacks are needed.
git-svn-id: file:///svn/unbound/trunk@5094 be551aaa-1e26-0410-a405-d3ace91eadb9
2019-01-31 11:31:55 +00:00
Wouter Wijngaards
273ff1201b
- fixed pkg-config operations, PKG_PROG_PKG_CONFIG moved out of
...
conditional section, fixes systemd builds, from Enrico Scholz.
git-svn-id: file:///svn/unbound/trunk@5093 be551aaa-1e26-0410-a405-d3ace91eadb9
2019-01-31 10:21:54 +00:00
Wouter Wijngaards
dfe8e0dfa2
- set version to 1.9.0 for release.
...
git-svn-id: file:///svn/unbound/trunk@5084 be551aaa-1e26-0410-a405-d3ace91eadb9
2019-01-29 08:07:50 +00:00
Wouter Wijngaards
71744b8bb2
- Set build system for added call in the libunbound API.
...
git-svn-id: file:///svn/unbound/trunk@5081 be551aaa-1e26-0410-a405-d3ace91eadb9
2019-01-28 08:26:10 +00:00
Wouter Wijngaards
510606dd1c
- Patch for TLS session resumption from Manabu Sonoda,
...
enable with tls-session-ticket-keys in unbound.conf.
git-svn-id: file:///svn/unbound/trunk@5059 be551aaa-1e26-0410-a405-d3ace91eadb9
2019-01-23 09:35:52 +00:00
Wouter Wijngaards
4e59c8344f
- Fix configure to detect SSL_CTX_set_ciphersuites, for better
...
library compatibility when compiling.
git-svn-id: file:///svn/unbound/trunk@5058 be551aaa-1e26-0410-a405-d3ace91eadb9
2019-01-23 08:57:49 +00:00
Wouter Wijngaards
a97bfa08ec
trunk had 1.8.2, Which became 1.8.3 on 11 december with only the dns64 fix of 6 dec.
...
Trunk then became 1.8.4 in development.
git-svn-id: file:///svn/unbound/trunk@5024 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-12-11 11:08:57 +00:00
Wouter Wijngaards
71b078611f
- Fix #4206 : support openssl 1.0.2 for TLS hostname verification,
...
alongside the 1.1.0 and later support that is already there.
git-svn-id: file:///svn/unbound/trunk@5018 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-12-10 14:27:24 +00:00
Wouter Wijngaards
2981adac66
trunk has 1.8.3 in development.
...
git-svn-id: file:///svn/unbound/trunk@5012 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-12-04 09:30:03 +00:00
Wouter Wijngaards
19aed2dcb1
Trunk has 1.8.2 in development.
...
git-svn-id: file:///svn/unbound/trunk@4936 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-10-08 12:09:44 +00:00
Wouter Wijngaards
fece182cf5
- Set default for so-reuseport to no for FreeBSD. It is enabled
...
by default for Linux and DragonFlyBSD. The setting can
be configured in unbound.conf to override the default.
git-svn-id: file:///svn/unbound/trunk@4932 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-10-05 15:07:19 +00:00
Wouter Wijngaards
8e20d628e8
- Fix compile on Mac for unbound, provide explicit_bzero when libc
...
does not have it.
git-svn-id: file:///svn/unbound/trunk@4907 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-09-17 07:06:57 +00:00
Wouter Wijngaards
9a82526b91
- exit log routine is annotated as noreturn function.
...
- free memory leaks in config strlist and str2list insert functions.
- do not move unused argv variable after getopt.
- Remove unused if clause in testcode.
git-svn-id: file:///svn/unbound/trunk@4896 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-09-13 08:58:21 +00:00
Wouter Wijngaards
a58681a718
1.8.1 in svn trunk.
...
git-svn-id: file:///svn/unbound/trunk@4889 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-09-10 12:32:28 +00:00