W.C.A. Wijngaards
752aea8407
Changelog note for #395
...
- Merge PR #395 from mptre: add missing null check.
2021-01-06 13:19:46 +01:00
Wouter Wijngaards
d188096a01
Merge pull request #395 from mptre/log-addr-null
...
add missing null check
2021-01-06 13:19:30 +01:00
Anton Lindqvist
422213c171
add missing null check
...
I have a unbound forward zone configured on my router for my $DAYJOB.
The address associated with the zone is only accessible when the router
is connected to a VPN. If the VPN connection is absent, trying to
resolve any domain that must be handled by the zone crashes unbound.
Turns out there's a missing NULL check in `comm_point_send_udp_msg()`.
The same routine already has `if (addr) {} else {}` branches so I guess
protecting the call to `log_addr()` using the same conditional is
reasonable
I have also committed the same fix to unbound shipped with OpenBSD[1].
[1] https://marc.info/?l=openbsd-cvs&m=160993335615698&w=2
2021-01-06 12:44:26 +01:00
W.C.A. Wijngaards
44075a06a5
- Fix #379 : zone loading over HTTP appears to have buffer issues.
2021-01-06 10:36:23 +01:00
W.C.A. Wijngaards
c357e0fea4
Changelog note for #375 and -h output.
...
- Merge PR #375 by fhriley: Add rpz_enable and rpz_disable commands
to unbound-control.
2021-01-05 13:43:53 +01:00
Wouter Wijngaards
2c1ecb2231
Merge pull request #375 from fhriley/disable-rpz
...
Add rpz_enable and rpz_disable commands to unbound-control
2021-01-05 13:40:32 +01:00
W.C.A. Wijngaards
b788e29265
Fix acx_nlnetlabs.m4 for aclocal
2021-01-05 12:48:27 +01:00
W.C.A. Wijngaards
4c4ca2433c
- Fix #385 : autoconf 2.70 impacts unbound build
2021-01-05 10:27:13 +01:00
W.C.A. Wijngaards
64cccdb8d5
- iana portlist updated.
2021-01-04 14:18:24 +01:00
W.C.A. Wijngaards
4d51c6b86e
- For #376 : Fix that comm point event is not double removed or double
...
added to event map.
2021-01-04 14:05:50 +01:00
George Thessalonikefs
08968baec1
- Fix error cases when udp-connect is set and send() returns an error
...
(modified patch from Xin Li @delphij).
2020-12-16 17:11:41 +01:00
Frank Riley
42d764eeda
Add rpz_enable and rpz_disable commands to unbound-control.
2020-12-13 12:35:11 -07:00
W.C.A. Wijngaards
811cf6db0c
- Fix missing prototypes in the code.
2020-12-11 14:34:39 +01:00
W.C.A. Wijngaards
e1c678864d
Changelog note for #373
...
- Merge PR #373 from fobser: Warning: arithmetic on a pointer to void
is a GNU extension.
2020-12-11 14:07:42 +01:00
Wouter Wijngaards
48c038391a
Merge pull request #373 from fobser/void-arithmetic
...
Warning: arithmetic on a pointer to void is a GNU extension.
2020-12-11 14:07:30 +01:00
W.C.A. Wijngaards
f09b058776
Changelog note for #335
...
- Merge PR #335 from fobser: Sprinkle in some static to prevent
missing prototype warnings.
2020-12-11 14:04:01 +01:00
Wouter Wijngaards
29b5b25852
Merge pull request #335 from fobser/static
...
Sprinkle in some static to prevent missing prototype warnings.
2020-12-11 14:03:46 +01:00
Florian Obser
15e1b16da0
Warning: arithmetic on a pointer to void is a GNU extension.
2020-12-11 14:00:20 +01:00
W.C.A. Wijngaards
7077660932
- Fix to squelch permission denied and other errors from remote host,
...
they are logged at higher verbosity but not on low verbosity.
2020-12-11 10:30:54 +01:00
W.C.A. Wijngaards
a4fc32809c
- Fix #371 : unbound-control timeout when Unbound is not running.
2020-12-11 09:33:56 +01:00
W.C.A. Wijngaards
b49cc2e667
- iana portlist updated.
2020-12-03 10:27:19 +01:00
W.C.A. Wijngaards
e21d38dcb9
- make depend.
2020-12-03 10:26:37 +01:00
W.C.A. Wijngaards
37d751e135
Code repo continues for 1.13.1 in development.
2020-12-03 10:14:14 +01:00
W.C.A. Wijngaards
9eeb95a960
- Fix update, with write event check with streamreuse and fastopen.
2020-12-02 16:17:26 +01:00
W.C.A. Wijngaards
0502ab3026
- Fix for #283 : fix stream reuse and tcp fast open.
2020-12-02 15:42:24 +01:00
W.C.A. Wijngaards
e049fb303c
- Fix on windows to ignore connection failure on UDP, unless verbose.
2020-12-02 11:58:24 +01:00
W.C.A. Wijngaards
eb052e1543
- Fix unbound-dnstap-socket to not use log routine from interrupt
...
handler and not print so frequently when invoked in sequence.
2020-12-02 11:51:54 +01:00
W.C.A. Wijngaards
16c496bff6
- Fix #356 : deadlock when listening tcp.
2020-12-02 10:10:27 +01:00
W.C.A. Wijngaards
1ebf851bf0
- Fix #360 : for the additionally reported TCP Fast Open makes TCP
...
connections fail, in that case we print a hint that this is
happening with the error in the logs.
2020-12-02 09:51:26 +01:00
W.C.A. Wijngaards
5906811ff1
- Fix #358 : Squelch udp connect 'no route to host' errors on low
...
verbosity.
2020-12-01 09:09:13 +01:00
W.C.A. Wijngaards
174bb48ae8
Changelog entry for rc tags 1.13.0rc3 and rc4.
2020-11-30 12:52:04 +01:00
W.C.A. Wijngaards
e4bdc527ba
- Fix assertion failure on double callback when iterator loses
...
interest in query at head of line that then has the tcp stream
not kept for reuse.
2020-11-30 09:41:33 +01:00
W.C.A. Wijngaards
56a80fbbf4
- Fix contrib/metrics.awk for FreeBSD awk compatibility.
2020-11-27 15:08:31 +01:00
W.C.A. Wijngaards
b2894e23a9
- Fix compile warnings in rpz initialization.
2020-11-27 10:11:14 +01:00
W.C.A. Wijngaards
67d541d690
- Fix compile warnings for windows.
2020-11-27 10:01:55 +01:00
W.C.A. Wijngaards
8ffdbc2714
- Fix when use free buffer to initialize rbtree for stream reuse.
2020-11-27 09:57:08 +01:00
W.C.A. Wijngaards
11139c1b4e
- Fix compile warning for type cast in http2_submit_dns_response.
2020-11-27 09:08:48 +01:00
W.C.A. Wijngaards
3fb0493d3f
- Clear readagain upon decommission of pending tcp structure.
2020-11-26 12:23:18 +01:00
W.C.A. Wijngaards
67a0614db7
- Fix that after failed read, the readagain cannot activate.
2020-11-26 12:12:52 +01:00
W.C.A. Wijngaards
e9810e1154
- For #352 : contrib/metrics.awk for Prometheus style metrics output.
2020-11-26 11:00:48 +01:00
W.C.A. Wijngaards
4a8669612a
- Fix to omit UDP receive errors from log, if verbosity low.
...
These happen because of udp-connect.
2020-11-26 09:39:54 +01:00
W.C.A. Wijngaards
f6bf015f90
- tag for the 1.13.0rc2 release.
2020-11-25 14:03:32 +01:00
W.C.A. Wijngaards
e50152aa1f
- Fix readagain and writeagain callback functions for comm point
...
cleanup.
2020-11-25 13:46:28 +01:00
W.C.A. Wijngaards
d05c259458
- Attempt fix for libevent state in tcp reuse cases after a packet
...
is written.
2020-11-25 12:12:35 +01:00
W.C.A. Wijngaards
a5167e495f
- Fix memory leak for edns client tag opcode config element.
2020-11-25 12:04:38 +01:00
W.C.A. Wijngaards
3c2b1fa801
- Remove debug commands from reuse tests.
2020-11-25 12:02:51 +01:00
W.C.A. Wijngaards
4b644b7965
- Better fix for reuse tree comparison for is-tls sockets. Where
...
the tree key identity is preserved after cleanup of the TLS state.
2020-11-25 10:22:11 +01:00
W.C.A. Wijngaards
15e8f5c6d4
- Fix udp-connect on FreeBSD, do send calls on connected UDP socket.
2020-11-25 09:55:01 +01:00
W.C.A. Wijngaards
5924a591be
- with udp-connect ignore connection refused with UDP timeouts.
2020-11-25 09:41:06 +01:00
W.C.A. Wijngaards
4e8a1ede3b
- Fix padding of struct regional for 32bit systems.
2020-11-24 17:06:54 +01:00