Willem Toorop
9ae988cea6
Merge branch 'master' into review-rfc8914-ede
2022-01-11 09:26:49 +01:00
W.C.A. Wijngaards
392c1f0f54
- Fix #596 : unset the RA bit when a query is blocked by an unbound
...
RPZ nxdomain reply. The option rpz-signal-nxdomain-ra allows to
signal that a domain is externally blocked to clients when it
is blocked with NXDOMAIN by unsetting RA.
2022-01-04 13:40:07 +01:00
TCY16
fe8ef6e53d
add logic for per zone EDE for RPZ and configurable rpz-do-ede
2021-12-21 13:17:07 +01:00
tcarpay
df229db074
Merge branch 'master' into features/rfc8914-ede
2021-12-15 13:07:01 +01:00
TCY16
65ee2f2c39
finish up adding validator EDEs and other TODOs and fix tests with more specific EDE codes
2021-12-06 14:19:28 +01:00
W.C.A. Wijngaards
4efbee08b5
- Fix compile warning for if_nametoindex on windows 64bit.
2021-12-03 10:44:47 +01:00
gthess
43615e98b5
Merge pull request #522 from sibeream/net_help_RESOURCE_LEAK
...
- memory management violations fixed
2021-12-01 03:59:32 +01:00
gthess
806a75808d
Merge pull request #562 from NLnetLabs/bugfix/reset-keepalive-per-tcp-session
...
Reset keepalive per new tcp session
2021-12-01 03:57:04 +01:00
gthess
ba9356af99
Merge pull request #555 from fobser/if_nametoindex
...
Allow interface names as scope-id in IPv6 link-local addresses.
2021-12-01 03:54:45 +01:00
W.C.A. Wijngaards
88da8ce174
- iana portlist update.
2021-11-30 15:05:27 +01:00
TCY16
db98a8b825
add ede-local-zones in the manpage and update the iana_ports.inc for some reason
2021-11-30 12:12:57 +01:00
TCY16
3ccb4c6c26
change local-zone-default-ede keywords to '-', add missing {}, and add manpage entry for local-zone-do-ede, local-zone-default-ede, and ede-local-zones
2021-11-30 11:32:01 +01:00
Wouter Wijngaards
9645228f03
Merge pull request #570 from rex4539/typos
...
Fix typos
2021-11-29 11:39:48 +01:00
TCY16
7926874669
add config option for global EDE flag, local-zone specific EDE flag and default EDE code for a zone
2021-11-26 15:12:56 +01:00
TCY16
575a6865be
add forgotten autogenerated files
2021-11-19 11:55:13 +01:00
TCY16
0572870592
change do_ede to be local-zone specific and add places for more EDE codes
2021-11-19 11:27:13 +01:00
Tom Carpay
0747d016e4
add missing parsing
2021-11-16 13:21:03 +00:00
TCY16
4a43aee99e
setup for configurable EDEs for local-zone
2021-11-16 11:25:58 +01:00
Tom Carpay
f22e42f554
Fix merge bugs
2021-11-15 15:00:35 +00:00
Tom Carpay
787d7a5952
Merge branch 'master' into features/rfc8914-ede
2021-11-15 14:48:35 +00:00
tcarpay
c47e98a659
Merge pull request #563 from NLnetLabs/bugfix/general-edns-options3
...
Better positioning of general EDNS option handling: revisited V2
2021-11-15 15:14:51 +01:00
Tom Carpay
ff030fa332
Clarify KEEPALIVE EDNS0 option operation
2021-11-15 14:00:31 +00:00
Tom Carpay
e899b4cefe
Make explicit whether edns options are parsed from queries or responses
2021-11-15 13:40:51 +00:00
Tom Carpay
b47dc528aa
add missing return code
2021-11-15 12:33:08 +00:00
Dimitris Apostolou
c21d6af617
Fix typos
2021-11-13 16:56:15 +02:00
TCY16
0eba781ed3
make local_data ede inclusion configurable, rewrite local_error_encode to include this logic, and remove superfluous msgparse_check_edns_in_packet function
2021-11-10 16:58:54 +01:00
tcarpay
a0df340b1e
Update util/data/msgparse.c
...
Co-authored-by: gthess <george@nlnetlabs.nl>
2021-11-08 12:28:03 +01:00
TCY16
8205c87a96
complete renaming of the modules edns list
2021-11-08 11:50:29 +01:00
tcarpay
fa73142b79
Apply suggestions from code review
...
Co-authored-by: Willem Toorop <willem@nlnetlabs.nl>
2021-11-08 11:02:54 +01:00
George Thessalonikefs
24eded6ef9
- Fix for #558 : clear the UB_EV_TIMEOUT bit before adding an event.
2021-11-05 11:21:30 +01:00
George Thessalonikefs
431b749d7a
- Fix for #558 : fix loop in comm_point->tcp_free when a comm_point is reclaimed
...
more than once during callbacks.
2021-11-05 11:19:08 +01:00
Willem Toorop
53a1677828
Reset keepalive per new tcp session
2021-11-01 21:06:07 +01:00
Tom Carpay
cb48d9e4a1
Fix keepalive logic
2021-11-01 15:01:07 +00:00
Tom Carpay
5f8447830a
Move option handling to parse-time
2021-11-01 13:48:31 +00:00
Tom Carpay
89d7476539
split edns_data.opt_list in opt_list_in and opt_list_out
...
opt_list_in for parsed (incoming) edns options, and
opt_list_out for outgoing (to be encoded) edns options
2021-11-01 12:48:40 +00:00
Tom Carpay
3ebfa9fc97
Outgoing module options go to opt_list_modules_out
...
And opt_list_modules_out is reset in case of failure
BEWARE! No options from modules will be encoded in the responses now!
2021-10-27 14:01:56 +00:00
Tom Carpay
3e6eeb504d
Modules have their own outgoing ends options list
...
But nothing happens with it yet
2021-10-27 13:48:49 +00:00
Florian Obser
8756f1e4c7
Allow interface names as scope-id in IPv6 link-local addresses.
...
For example, this makes
forward-zone:
name: "."
forward-addr: fe80::20d:b9ff:fe46:c7f4%vio0
forward-first: yes
work instead of fe80::20d:b9ff:fe46:c7f4%1.
2021-10-24 16:06:55 +02:00
W.C.A. Wijngaards
ecb0b44ba8
- Fix to protect custom regional create against small values.
2021-10-11 17:23:30 +02:00
TCY16
8a6b3f088b
add DNSKEY EDE code
2021-10-08 15:54:10 +02:00
TCY16
84da2409b3
change strncpy to memmove at @wcawijngaards' suggestion
2021-09-28 10:05:47 +02:00
Tom Carpay
0b376cc42f
add routine to add EDE to ACL:refused at correct location
2021-09-27 14:17:21 +00:00
W.C.A. Wijngaards
9f26f397a9
- Fix crosscompile windows to use libssp when it exists.
...
- For the windows compile script disable gost.
- Fix that on windows, use BIO_set_callback_ex instead of deprecated
2021-09-21 13:51:34 +02:00
TCY16
4df2965459
add forgotten compile error fixes from previous commit
2021-09-20 11:42:39 +02:00
TCY16
4d15603a8c
add routine to do EDE on ACL blocked messages
2021-09-20 11:35:00 +02:00
W.C.A. Wijngaards
829f3c932e
- Fix for #41 : change outbound retry to int to fix signed comparison
...
warnings.
2021-09-08 15:07:11 +02:00
W.C.A. Wijngaards
750f46d1aa
- Small fixes for #41 : changelog, conflicts resolved,
...
processQueryResponse takes an iterator env argument like other
functions in the iterator, no colon in string for set_option,
and some whitespace style, to make it similar to the rest.
2021-09-08 14:52:56 +02:00
W.C.A. Wijngaards
204edd229e
Merge branch 'feature/configure-outbound_msg_retry' of git://github.com/countsudoku/unbound into countsudoku-feature/configure-outbound_msg_retry
2021-09-08 14:38:36 +02:00
Thomas du Boÿs
ebb4987146
Fix subnetcache statistics
2021-09-03 10:37:07 +02:00
W.C.A. Wijngaards
520fa84265
- Fix tcp fastopen failure when disabled, try normal connect instead.
2021-09-01 16:21:10 +02:00