W.C.A. Wijngaards
bd5dc855af
- Fix rpz tcp-only action with rpz triggers nsdname and nsip.
2023-09-18 09:55:39 +02:00
George Thessalonikefs
15b8d8b96a
Merge branch 'master' into features/ede-caching
2023-07-13 11:25:59 +02:00
W.C.A. Wijngaards
da78c42f88
- Fix RPZ removal of client-ip, nsip, nsdname triggers from IXFR.
2023-05-19 14:38:41 +02:00
TCY16
8b4a8493d0
Merge branch 'master' of github.com:NLnetLabs/unbound into features/ede-caching
2022-11-21 11:34:36 +01:00
W.C.A. Wijngaards
bf7a2884fb
- Fix static analysis report to remove dead code from the
...
rpz_callback_from_iterator_module function.
2022-10-04 09:08:11 +02:00
Yorgos Thessalonikefs
c4e51a4cfe
PROXYv2 downstream support ( #760 )
2022-10-03 15:29:47 +02:00
TCY16
5f309d0018
Add caching EDEs
2022-09-01 14:10:14 +02:00
W.C.A. Wijngaards
11d077c826
- Fix some lint type warnings.
2022-05-20 15:32:27 +02:00
gthess
6e79237dc8
Merge pull request #623 from rex4539/typos
...
Fix typos
2022-02-28 12:36:11 +01:00
George Thessalonikefs
82adcfb971
- Fix #630 : Unify the RPZ log messages.
2022-02-28 12:07:25 +01:00
Dimitris Apostolou
c7be51a11b
Fix typos
2022-02-18 15:51:03 +02:00
W.C.A. Wijngaards
6de5310728
- Fix for #628 : fix rpz-passthru for qname trigger by localzone type.
2022-02-16 09:51:25 +01:00
W.C.A. Wijngaards
2b90181d3a
- Fix #628 : A rpz-passthru action is not ending RPZ zone processing.
2022-02-15 16:20:12 +01:00
W.C.A. Wijngaards
33ef79d433
- Fix for #596 : Fix rpz-signal-nxdomain-ra to work for clientip
...
triggered operation.
2022-01-05 16:48:35 +01:00
W.C.A. Wijngaards
ceef84e022
- Fix that RPZ does not set RD flag on replies, it should be copied
...
from the query.
2022-01-04 13:49:31 +01:00
W.C.A. Wijngaards
95644c9309
- Fix #596 : only unset RA when NXDOMAIN is signalled.
2022-01-04 13:48:29 +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
Florian Obser
ef076c0e15
Fix -Wshadow
2021-12-03 18:30:08 +01:00
Florian Obser
56cf526c68
Fix -Wmissing-prototypes by declaring functions static.
2021-12-03 18:29:04 +01:00
Dimitris Apostolou
c21d6af617
Fix typos
2021-11-13 16:56:15 +02:00
W.C.A. Wijngaards
738c7db9ab
- Fix to remove unused code from rpz resolve client and action
...
function.
2021-11-05 12:13:38 +01:00
W.C.A. Wijngaards
0006c08f15
- Fix analyzer review failure in rpz action override code to not
...
crash on unlocking the local zone lock.
2021-11-05 12:02:50 +01:00
W.C.A. Wijngaards
7d70e3c861
- Fix initialisation errors reported by gcc sanitizer.
2021-09-10 14:30:57 +02:00
W.C.A. Wijngaards
9fa1ae1340
- Fix RPZ locks. Do not unlock zones lock if requested and rpz find
...
zone does not find the zone. Readlock the clientip that is found
for ipbased triggers. Unlock the nsdname zone lock when done.
Unlock zone and ip in rpz nsip and nsdname callback. Unlock
authzone and localzone if clientip found in rpz worker call.
2021-08-25 14:18:29 +02:00
W.C.A. Wijngaards
76532f7447
- rpz-triggers, silence qname trigger explanation in rpz-log, this is
...
backwards compatible.
2021-05-21 14:56:38 +02:00
W.C.A. Wijngaards
0a6b22dc55
- rpz-triggers, rpz log and stats for nsip and clientip and nsdname.
2021-05-21 14:05:19 +02:00
W.C.A. Wijngaards
ddec5aa559
- rpz-triggers, spelling fix in comment.
2021-05-19 11:40:31 +02:00
W.C.A. Wijngaards
44f5d27683
- rpz-triggers, check for alloc failure and zone for add rpz soa.
2021-05-14 17:27:15 +02:00
W.C.A. Wijngaards
568aab1b67
- rpz-triggers, in callback from iterator, if rpz is disabled, skip.
2021-05-14 16:41:54 +02:00
W.C.A. Wijngaards
355526da7d
- rpz-triggers, the added soa for client ip modified answers is affected
...
by the minimal-responses config option.
2021-05-14 16:34:38 +02:00
W.C.A. Wijngaards
2094763beb
- rpz-triggers, add rpz SOA when minimal responses is not set.
2021-05-14 16:28:55 +02:00
W.C.A. Wijngaards
50dcadd495
- rpz-triggers, for clientip modified answers the rpz SOA is added to the
...
additional section with the serial number and name of the rpz zone that
was applied.
2021-05-14 15:34:48 +02:00
W.C.A. Wijngaards
ad08971b7a
- rpz-triggers, use zone for local data zone based answer if available.
2021-05-14 14:04:42 +02:00
W.C.A. Wijngaards
e7f476d5c3
- rpz-triggers, fix comments, log no zone answers.
2021-05-14 13:57:04 +02:00
W.C.A. Wijngaards
193e37d6e8
- rpz-triggers, call module local callback for rpz local encode replies.
2021-05-14 13:42:54 +02:00
W.C.A. Wijngaards
a9df16cf9b
- rpz-triggers, fix memory allocation trouble on allocation error path.
2021-05-14 13:35:24 +02:00
W.C.A. Wijngaards
9f40e93fe6
- rpz-triggers, use sec_status_insecure like respip, AA flag on RPZ responses.
2021-05-14 13:28:10 +02:00
W.C.A. Wijngaards
69349c7c24
- rpz-triggers, nicer logging for response IP triggers.
2021-04-14 16:35:39 +02:00
W.C.A. Wijngaards
a23efc70ee
- rpz-triggers, nicer logging for qname and clientip triggers.
2021-04-14 13:54:27 +02:00
W.C.A. Wijngaards
ab94ca9684
- rpz-triggers, nicer logging for nsdname and nsip triggers, one line and
...
only when it applies to the delegation point.
2021-04-14 12:11:11 +02:00
W.C.A. Wijngaards
0491176315
- rpz-triggers, spelling
2021-04-09 08:38:18 +02:00
W.C.A. Wijngaards
473f0cc44b
- rpz-triggers, precedence fix for nsdname and nsip triggers.
2021-04-08 14:39:48 +02:00
W.C.A. Wijngaards
a2ea701f31
- rpz-triggers, fix what domain name to match for nsdname.
2021-04-01 13:11:51 +02:00
W.C.A. Wijngaards
1c75e62804
- rpz-triggers, separate cache storage of RPZ records from network records.
2021-04-01 12:06:14 +02:00
W.C.A. Wijngaards
49d9e91492
Merge branch 'master' into rpz-triggers
2021-03-25 17:28:53 +01:00
W.C.A. Wijngaards
6289806f41
- Fix memory leak reported by asan in rpz SOA record query name.
2021-03-22 15:29:34 +01:00
W.C.A. Wijngaards
a8e0de95b8
- rpz-triggers, remove unused variable warning.
2021-03-22 09:52:00 +01:00
W.C.A. Wijngaards
3dd804755b
- rpz-triggers, function documentation comments for iterator callback
...
functions.
2021-03-22 09:49:22 +01:00
W.C.A. Wijngaards
5a23c84951
- rpz triggers, fix query name on trigger after cname.
2021-03-19 17:36:09 +01:00
W.C.A. Wijngaards
7f39003c04
- rpz triggers, implement qname trigger after cname.
2021-03-19 17:31:44 +01:00