George Thessalonikefs
d68ece28c4
- Downgrade compat/getentropy_solaris.c to version 1.4 from OpenBSD.
...
The dl_iterate_phdr() function introduced in newer versions raises
compilation errors on solaris 10.
2020-01-07 15:06:14 +02:00
W.C.A. Wijngaards
453c84b237
- Fix #140 : Document slave not downloading new zonefile upon update.
2020-01-06 16:36:44 +01:00
W.C.A. Wijngaards
20a3d3be5f
(Changelog note for #135 ).
...
- Merge #135 from Florian Obser: Use passed in neg and key cache
if non-NULL.
2020-01-06 16:18:46 +01:00
Wouter Wijngaards
d982dff464
Merge pull request #135 from fobser/pass-in-neg-key-cache
...
Use passed in neg and key cache if non-NULL.
2020-01-06 16:17:16 +01:00
Florian Obser
da6ac0c4ff
Use passed in neg and key cache if non-NULL.
...
With this the neg and key caches can be shared between multiple
libunbound contexts.
The msg and rrset caches already allowed this since context_finalize()
did not touch those if they are already available and have the correct
size.
Care must be taken to properly unhook the caches from the validator
environment before calling ub_ctx_delete() otherwise one risks double
free or use after free bugs.
2019-12-19 13:20:34 +01:00
George Thessalonikefs
1d45b4a1e0
- Update mailing list URL.
2019-12-16 16:03:31 +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
90b42b56b6
- Fix typo to let serve-expired-ttl work with ub_ctx_set_option(), by
...
Florian Obser
2019-12-12 13:05:09 +01:00
Ralph Dolmans
13a76ba0a6
Merge pull request #129 from fobser/serve-expired-ttl-typo
...
Fix typo to let serve-expired-ttl work with ub_ctx_set_option().
2019-12-12 12:59:28 +01:00
Ralph Dolmans
f1d5d5d682
Make master 1.9.7 in development.
2019-12-12 12:48:29 +01:00
Florian Obser
0a499ec2ee
Fix typo to let serve-expired-ttl work with ub_ctx_set_option().
2019-12-10 18:03:24 +01:00
W.C.A. Wijngaards
41d3e2027c
- Fix to make auth zone IXFR to fallback to AXFR if a single
...
response RR is received over TCP with the SOA in it.
2019-12-10 13:09:50 +01:00
W.C.A. Wijngaards
e828d678ba
- Fix Makefile.in for ipset module compile, from Adi Prasaja.
2019-12-06 11:31:34 +01:00
W.C.A. Wijngaards
f3c2d05728
- Fix ipsecmod compile.
2019-12-06 07:59:55 +01:00
W.C.A. Wijngaards
4b73b5f299
- tag for 1.9.6rc1.
2019-12-05 11:21:46 +01:00
W.C.A. Wijngaards
ff7d68ca53
- unbound-fuzzers.tar.bz2: three programs for fuzzing, that are 1:1
...
replacements for unbound-fuzzme.c that gets created after applying
the contrib/unbound-fuzzme.patch. They are contributed by
Eric Sesterhenn from X41 D-Sec.
2019-12-05 09:10:49 +01:00
W.C.A. Wijngaards
3fb98a72d2
- Fix Make Test Fails when Configured With --enable-alloc-nonregional,
...
reported by X41 D-Sec.
2019-12-04 16:23:52 +01:00
W.C.A. Wijngaards
6e8b4a7796
- update contrib/fastrpz.patch to apply more cleanly.
2019-12-04 11:41:13 +01:00
W.C.A. Wijngaards
6f7eb3ea9f
- Fix testbound for alloccheck runs, memory purify and lock checks.
2019-12-04 11:37:24 +01:00
W.C.A. Wijngaards
216747bb17
- Fix lock type for memory purify log lock deletion.
2019-12-04 09:44:31 +01:00
W.C.A. Wijngaards
8f79119826
- make depend
2019-12-03 17:28:51 +01:00
W.C.A. Wijngaards
4106308bd5
- Fix Hardcoded Constant, reported by X41 D-Sec.
2019-12-03 17:23:38 +01:00
W.C.A. Wijngaards
c4c1f9e5ef
- Fix _vfixed not Used, removed from sbuffer code,
...
reported by X41 D-Sec.
2019-12-03 17:07:35 +01:00
W.C.A. Wijngaards
b6f0b1af86
- Fix compile error in dnscrypt.
2019-12-03 16:44:24 +01:00
W.C.A. Wijngaards
68027ab145
- Fix Client NONCE Generation used for Server NONCE,
...
reported by X41 D-Sec.
2019-12-03 16:42:14 +01:00
W.C.A. Wijngaards
4a7ebfabcf
- Fix Bad Indentation, in dnscrypt.c,
...
reported by X41 D-Sec.
2019-12-03 16:34:53 +01:00
W.C.A. Wijngaards
9ce6119513
- Fix snprintf() supports the n-specifier,
...
reported by X41 D-Sec.
2019-12-03 16:29:18 +01:00
W.C.A. Wijngaards
534eac6ae5
Note what it did, lower to 256 max count.
2019-12-03 16:21:04 +01:00
W.C.A. Wijngaards
d3ff930b06
- Fix Hang in sldns_wire2str_pkt_scan(),
...
reported by X41 D-Sec.
2019-12-03 16:20:24 +01:00
W.C.A. Wijngaards
6c3a0b54ed
- Fix Out of Bound Write Compressed Names in rdata_copy(),
...
reported by X41 D-Sec.
2019-12-03 16:18:47 +01:00
W.C.A. Wijngaards
2d444a5037
- Fix Insufficient Handling of Compressed Names in dname_pkt_copy(),
...
reported by X41 D-Sec.
2019-12-03 16:17:03 +01:00
W.C.A. Wijngaards
c99438c6a1
- Fix Out of Bounds Write in sldns_b64_pton(),
...
fixed by check in sldns_str2wire_int16_data_buf(),
reported by X41 D-Sec.
2019-12-03 16:10:34 +01:00
W.C.A. Wijngaards
3f3cadd416
- Fix Out of Bounds Write in sldns_str2wire_str_buf(),
...
reported by X41 D-Sec.
2019-12-03 16:01:31 +01:00
W.C.A. Wijngaards
e183a66d60
- Fix OOB Read in sldns_wire2str_dname_scan(),
...
reported by X41 D-Sec.
2019-12-03 15:42:34 +01:00
W.C.A. Wijngaards
d2eb78e871
- Fix Assert Causing DoS in dname_pkt_copy(),
...
reported by X41 D-Sec.
2019-12-03 15:20:48 +01:00
W.C.A. Wijngaards
5a66aecef9
- Fix similar code in auth_zone synth cname to add the extra checks.
2019-12-03 15:11:22 +01:00
W.C.A. Wijngaards
f5e06689d1
- Fix Assert Causing DoS in synth_cname(),
...
reported by X41 D-Sec.
2019-12-03 15:10:36 +01:00
W.C.A. Wijngaards
5a00b31f86
- Fix text around serial arithmatic used for RRSIG times to refer
...
to correct RFC number.
2019-12-03 12:58:09 +01:00
W.C.A. Wijngaards
cdbf091c0d
Changelog entry for merge of #124 .
...
- Merge pull request #124 from rmetrich: Changed log lock
from 'quick' to 'basic' because this is an I/O lock.
2019-12-03 10:03:44 +01:00
Wouter Wijngaards
4edb16296b
Merge pull request #124 from rmetrich/basic_loglock
...
Changed log lock from 'quick' to 'basic' because this is an I/O lock.
2019-12-03 10:03:24 +01:00
W.C.A. Wijngaards
aa64c58368
Changelog entry for #122 .
...
- Merge pull request #122 from he32: In tcp_callback_writer(),
don't disable time-out when changing to read.
2019-12-02 13:59:43 +01:00
Wouter Wijngaards
b4a01d6096
Merge pull request #122 from he32/timeout-fix
...
In tcp_callback_writer(), don't disable time-out when changing to read.
2019-12-02 13:59:13 +01:00
Renaud Métrich
d63cb99649
Changed log lock from 'quick' to 'basic' because this is an I/O lock.
...
We cannot use a 'quick' lock (i.e. lock spinning on the CPU) for the log
lock because it can wait a lot on I/Os. Using a 'quick' lock leads to
eating the CPU for no good reason.
Example of 'pidstat' output when using various locks for log_lock:
- 'quick' lock and slow log file system (tail -f on the log file on XFS on RHEL 8)
04:15:11 PM UID TGID TID %usr %system %CPU CPU Command
04:15:21 PM 998 16431 - 100.00 4.20 100.00 2 unbound
04:15:21 PM 998 - 16431 31.00 1.00 32.00 2 |__unbound
04:15:21 PM 998 - 16432 31.30 0.80 32.10 0 |__unbound
04:15:21 PM 998 - 16433 30.20 1.40 31.60 1 |__unbound
04:15:21 PM 998 - 16434 30.70 1.00 31.70 3 |__unbound
- 'quick' lock and log file system being fast
04:15:40 PM UID TGID TID %usr %system %CPU CPU Command
04:15:50 PM 998 16431 - 10.00 1.60 11.60 1 unbound
04:15:50 PM 998 - 16431 2.50 0.50 3.00 1 |__unbound
04:15:50 PM 998 - 16432 2.30 0.40 2.70 3 |__unbound
04:15:50 PM 998 - 16433 2.70 0.30 3.00 0 |__unbound
04:15:50 PM 998 - 16434 2.60 0.40 3.00 2 |__unbound
- 'basic' lock (this commit) and slow log file system (tail -f on the log file on XFS on RHEL 8)
04:29:48 PM UID TGID TID %usr %system %CPU CPU Command
04:29:58 PM 998 11632 - 7.10 14.10 21.20 3 unbound
04:29:58 PM 998 - 11632 1.70 3.20 4.90 3 |__unbound
04:29:58 PM 998 - 11633 1.60 3.30 4.90 1 |__unbound
04:29:58 PM 998 - 11634 2.00 4.10 6.10 1 |__unbound
04:29:58 PM 998 - 11635 1.90 3.50 5.40 1 |__unbound
We can see in the above example, when 'basic' lock is used, that CPU
isn't consumed when log file system is slow.
Another reproducer scenario: put the log file on a NFS share with 'sync'
option.
2019-11-26 16:32:07 +01:00
Havard Eidnes
dc0b1699e5
In tcp_callback_writer(), don't disable time-out when changing to read.
2019-11-26 00:02:34 +01:00
W.C.A. Wijngaards
f82f971997
- Add make distclean that removes everything configure produced,
...
and make maintainer-clean that removes bison and flex output.
2019-11-22 15:10:02 +01:00
George Thessalonikefs
30b0fa1e8e
Fix compiler warnings.
2019-11-22 14:30:56 +01:00
W.C.A. Wijngaards
1718a8e6b5
- Fix dname loop maximum, reported by Eric Sesterhenn from X41 D-Sec.
2019-11-22 14:23:00 +01:00
W.C.A. Wijngaards
ebad5416d7
- Fix comments for doxygen in dns64.
2019-11-20 15:22:20 +01:00
W.C.A. Wijngaards
8833d44d01
- Fix python examples/calc.py for eval, reported by X41 D-Sec.
2019-11-20 15:07:09 +01:00
W.C.A. Wijngaards
da4d6ffee3
- Fix Bad Randomness in Seed, reported by X41 D-Sec.
2019-11-20 14:40:50 +01:00