W.C.A. Wijngaards
72032a95bb
- Fix for python reply callback to see mesh state reply_list member,
...
it only removes it briefly for the commpoint call so that it does
not drop it and attempt to modify the reply list during reply.
2020-10-14 10:06:28 +02:00
W.C.A. Wijngaards
efc01c928c
Formatting.
2020-10-09 16:47:49 +02:00
W.C.A. Wijngaards
754e6f1349
zonemd, routine to check zonemd hash if present
2020-10-09 16:46:20 +02:00
W.C.A. Wijngaards
0af62aba53
zonemd, defines for scheme and algorithm.
2020-10-09 15:14:27 +02:00
W.C.A. Wijngaards
c49a4e60fe
zonemd, doxygen comment fix.
2020-10-09 15:05:46 +02:00
W.C.A. Wijngaards
cdf6544b46
zonemd, unit test, succeeds at verifying examples of zonemd draft-12.
2020-10-09 12:18:25 +02:00
W.C.A. Wijngaards
eb4932a463
zonemd, digest code calls, secalgo openssl sha384 and sha512.
2020-10-09 11:19:31 +02:00
W.C.A. Wijngaards
d7e4525829
Merge branch 'master' into zonemd
2020-10-09 09:01:52 +02:00
W.C.A. Wijngaards
a87f05be7b
- Fix #319 : potential memory leak on config failure, in rpz config.
2020-10-08 09:11:54 +02:00
W.C.A. Wijngaards
3163a93121
zonemd, loop over zone and canonicalize data, test call in unit test.
2020-10-06 17:07:24 +02:00
Ralph Dolmans
eb799026ff
Replace edns-client-tag with edns-client-string option
2020-09-30 23:17:53 +02:00
Ralph Dolmans
7da369e85a
- Add edns-client-tag-opcode option
2020-09-23 12:09:48 +02:00
Ralph Dolmans
4ae823fbc2
Merge branch 'master' into doh
2020-09-16 18:38:51 +02:00
Ralph Dolmans
42a35ac26e
- Final round of DoH review feedback processing.
2020-09-16 18:25:02 +02:00
W.C.A. Wijngaards
47a5dc8cae
- Refactor to use sock_strerr shorthand function.
2020-08-31 09:12:01 +02:00
W.C.A. Wijngaards
a6dc0743b4
- Merge PR #293 : Add missing prototype. Also refactor to use the new
...
shorthand function to clean up the code.
2020-08-31 08:41:34 +02:00
Florian Obser
2460737490
Add missing prototype.
2020-08-28 17:31:14 +02:00
W.C.A. Wijngaards
12c0cf7cee
- Review fix, doxygen and assign null in case of error free.
2020-08-27 15:27:05 +02:00
W.C.A. Wijngaards
b5a237424b
Please doxygen, quote the characters to stop it from parsing a doxygen command.
2020-08-27 15:12:46 +02:00
W.C.A. Wijngaards
f6a527c25a
- Similar to NSD PR#113, implement that interface names can be used,
...
eg. something like interface: eth0 is resolved at server start and
uses the IP addresses for that named interface.
2020-08-27 14:53:33 +02:00
Ralph Dolmans
f5d8861bbf
- process review feedback
2020-08-27 12:28:17 +02:00
W.C.A. Wijngaards
49019ba3a9
Review fix: defense check of qdcount in debug output.
2020-08-25 16:07:25 +02:00
W.C.A. Wijngaards
a83fc176cc
Review fix: remove unused variables.
2020-08-25 13:16:46 +02:00
W.C.A. Wijngaards
2fade6f970
Merge branch 'master' into dlv-removal
2020-08-06 14:20:42 +02:00
Ralph Dolmans
74ec8a758b
Merge pull request #272 from NLnetLabs/edns-client-tag
...
Add EDNS client tag functionality
2020-08-05 16:07:49 +02:00
George Thessalonikefs
764a0dc765
- Improve error log message when inserting rpz RR.
2020-08-04 12:49:43 +02:00
W.C.A. Wijngaards
c0c722cd97
DLV removal
2020-08-04 09:05:09 +02:00
W.C.A. Wijngaards
7a211e5a07
stream reuse, fix tls close by upstream after timeout write event handling.
2020-07-30 17:51:13 +02:00
Ubuntu
f95dce8e34
Rebase on master
2020-07-29 16:02:16 +00:00
W.C.A. Wijngaards
444681af9d
stream reuse, defensible wait add and debug log with details for requeue.
2020-07-27 17:12:23 +02:00
W.C.A. Wijngaards
2932d530c1
stream reuse, send queries one by one when upstream refuses multiple queries,
...
by closing the connection.
2020-07-27 16:59:46 +02:00
Ralph Dolmans
2fe398f4bf
EDNS client tags - insert configured tags into tree
2020-07-24 16:00:13 +02:00
Ralph Dolmans
16029281a8
Start of EDNS client tags implementation.
2020-07-23 17:17:44 +02:00
W.C.A. Wijngaards
f1c4a4d515
stream reuse, fix cleanup with streams in the connection table.
2020-07-22 15:20:58 +02:00
W.C.A. Wijngaards
2d20edb39f
stream reuse, free up elements that are connected in outside network delete.
2020-07-22 10:30:50 +02:00
W.C.A. Wijngaards
8b43b94b22
Merge branch 'master' into stream-reuse
2020-07-22 09:53:57 +02:00
W.C.A. Wijngaards
63b92ea1e8
Merge branch 'master' into infra-keep-probing
2020-07-22 09:53:30 +02:00
W.C.A. Wijngaards
b7b5952c3a
- Fix lock dependency cycle in rpz zone config setup.
2020-07-17 17:15:55 +02:00
Ubuntu
b5b79e3a36
Add feature to serve original TTLs rather than decrementing ones
2020-07-15 15:15:45 +00:00
W.C.A. Wijngaards
a7776a15e5
stream reuse, make reuse possible straight away after first query to address.
2020-07-13 16:11:52 +02:00
W.C.A. Wijngaards
b71695e8bb
stream reuse, update lru when reuse elements are used with lru touch routine.
2020-07-13 15:59:23 +02:00
W.C.A. Wijngaards
19a35fb839
stream reuse, write and read again if more data can go over the channel,
...
this amortizes the event loop mechanism for busy channels, for performance.
2020-07-13 15:16:59 +02:00
W.C.A. Wijngaards
7a69ff4182
fix that ssl_handle_it() uses tcp_is_reading in tcp_write_and_read mode.
...
fix that netevent tcp_write_and_read mode does not close due to error from
assert that not both write and read happen at the same time.
2020-07-10 15:37:30 +02:00
W.C.A. Wijngaards
e431676457
stream reuse, fix bad id in reply errors.
2020-07-10 15:13:16 +02:00
W.C.A. Wijngaards
46a364be8e
stream reuse, neater code for tree by id and use callback routine for timer.
2020-07-09 16:50:57 +02:00
W.C.A. Wijngaards
ad6fa1eb45
stream reuse, comment improved
2020-07-09 16:37:40 +02:00
W.C.A. Wijngaards
d87774c3c6
stream reuse, fix decommission to first remove from tree and then do the
...
callbacks and then delete the element.
2020-07-09 16:34:48 +02:00
W.C.A. Wijngaards
79f315f480
stream reuse, fix double callback and double delete, items are in the tree.
2020-07-09 15:47:24 +02:00
W.C.A. Wijngaards
8201d1422b
stream reuse, fix to put id number in waiting tcp packet.
2020-07-09 15:35:32 +02:00
W.C.A. Wijngaards
b1ea8273f0
stream reuse, fix to not keep stream when it is in error and closed.
...
stream reuse, fix to stop listening on the fd before rw mode change.
stream reuse, fix waiting tcp id value stored before tree insert.
stream reuse, fix to not double delete pend.query.
2020-07-09 14:29:56 +02:00
W.C.A. Wijngaards
4e44e8663d
stream reuse, fix to return key pointer from reuse_tcp_by_id_find.
2020-07-09 14:06:21 +02:00
W.C.A. Wijngaards
9b583d2331
stream reuse, the id for pending stored in waiting_tcp structure, because
...
there can be multiple messages waiting for reply.
2020-07-09 13:58:44 +02:00
W.C.A. Wijngaards
734a248284
stream reuse, check incoming messages from rbtree in outnet_tcp_cb when
...
read a reply, and call that callback and remove that entry.
2020-07-09 13:49:36 +02:00
W.C.A. Wijngaards
ccc9e0749c
stream reuse toggle write and read to only read mode when write is done.
...
tcp callback from stream read without entry linked.
2020-07-09 13:41:03 +02:00
W.C.A. Wijngaards
d89a45d1e1
in outnet_tcptimer: pick up callbacks and clean the struct pending for
...
use again in tcp_free list; then perform the callbacks in a cleaner state
for reentry into the outside network code. Delete callbacks afterwards.
2020-07-09 10:28:47 +02:00
W.C.A. Wijngaards
80f21f48c5
Merge branch 'master' into stream-reuse
2020-07-09 08:55:19 +02:00
W.C.A. Wijngaards
abe7a01bf5
Merge branch 'master' into infra-keep-probing
2020-07-09 08:55:01 +02:00
W.C.A. Wijngaards
06d33f61c1
- Fix tcp req info drop due to size call into mesh accounting
...
removal of mesh state during mesh send reply.
2020-06-30 17:22:43 +02:00
W.C.A. Wijngaards
52774b6b20
- Review fix for number of detached states due to use of variable
...
after end of loop.
2020-06-30 16:35:48 +02:00
W.C.A. Wijngaards
84b0207956
- Fix for mesh accounting when rpz decides to drop a reply with a
...
tcp stream waiting for it.
2020-06-30 16:20:09 +02:00
W.C.A. Wijngaards
6f0c2956ac
- Also move reply list clean for mesh callbacks to the scrip callback
...
can see the reply_info.
- Fix for mesh accounting if the reply list already empty to begin
with.
2020-06-30 15:48:11 +02:00
W.C.A. Wijngaards
8ac054733b
- Move reply list clean for serve expired mesh callback to after
...
the reply is sent, so that script callbacks have reply_info.
2020-06-30 13:41:26 +02:00
W.C.A. Wijngaards
64c8d18814
in tcp write callback routine dont reset read byte count if write and read.
...
in tcp write callback and write and read and write is done perform callback.
tcp connection is selected to not toggle readwrite and give closed callback.
2020-06-26 10:54:13 +02:00
W.C.A. Wijngaards
d033ce6c23
tcp callback function refactor, split read and timeout event setup, leave
...
unused queries that are already sent to track their reply on the query
pipeline, when serviced query is deleted deal with the write wait list,
2020-06-25 17:23:46 +02:00
W.C.A. Wijngaards
dfb6d32189
outnet_tcp_cb: add assertion and return when write packets done is handled.
2020-06-25 16:29:37 +02:00
W.C.A. Wijngaards
cbcbd5fa07
pending_tcp_query: cleaner comments.
2020-06-25 16:22:43 +02:00
W.C.A. Wijngaards
c32c43f9f2
for tcp use_free_buffer write straight away on reuse connection, if possible
2020-06-25 16:11:46 +02:00
W.C.A. Wijngaards
34c063701e
in outside_network.c: also log messages that end up on the waiting list.
...
with dnstap.
for tcp use_free_buffer reuse existing entry if second wait entry on the
same addr as the other waiting.
2020-06-25 16:05:25 +02:00
W.C.A. Wijngaards
39a50f30a3
tcp callback handle timeout event for read and reuse keepalive.
2020-06-25 14:26:29 +02:00
W.C.A. Wijngaards
75da272afe
reuse tcp id_cmp function. clear list and tree after delete. clear when
...
decommisioned. callbacks when closed for lru space, and when closed because
not kept open.
2020-06-24 16:28:42 +02:00
Ralph Dolmans
740da89578
Merge branch 'master' into doh
2020-06-24 14:18:47 +02:00
Ralph Dolmans
0fbfce4c99
- Add DoH tests
2020-06-24 14:04:34 +02:00
W.C.A. Wijngaards
4fe2122890
Merge branch 'master' into infra-keep-probing
...
Remade yacc and lex files.
2020-06-24 13:21:14 +02:00
W.C.A. Wijngaards
04d805b0eb
reuse tcp lookup with correct address as key.
2020-06-24 12:57:15 +02:00
W.C.A. Wijngaards
8ca34be36a
fix reuse tcp crash, use addr in reuse struct, free leaked tcp entries.
2020-06-24 10:09:49 +02:00
W.C.A. Wijngaards
6f9310173d
Fix grammar.
2020-06-23 17:32:33 +02:00
W.C.A. Wijngaards
c809bb9ece
tcp reuse timeout event cleanup and callbacks.
2020-06-23 15:29:40 +02:00
W.C.A. Wijngaards
d96e718f80
fix crash on cleanup.
2020-06-19 18:04:12 +02:00
W.C.A. Wijngaards
0e0c57734a
fix uninit after malloc for on_tcp_waiting_list.
2020-06-19 17:40:45 +02:00
W.C.A. Wijngaards
4b6e41e3de
fix documentation for waiting_tcp pkt NULL setting.
2020-06-19 17:37:23 +02:00
W.C.A. Wijngaards
a1babfff1e
add bool if on tcp waiting list, so that pkt can be stored.
...
remove pkt args from outnet_tcp_take_into_use, use w.pkt.
2020-06-19 17:31:36 +02:00
W.C.A. Wijngaards
a695ba447c
set timeout to wait for reuse
...
add comm_point indicator for write events for reuse stream writes.
2020-06-09 16:15:03 +02:00
W.C.A. Wijngaards
d8b7b5ee27
fix to set pending pointer in reuse tcp structure
...
fix debug output of reuse tcp and test leak of process
2020-06-09 09:14:01 +02:00
W.C.A. Wijngaards
fd723aed27
tcp connection is stored and picked up for reuse
...
fix that comm_point_start_listening does not close the same fd that is started.
2020-06-03 17:24:26 +02:00
W.C.A. Wijngaards
7cc6a89e21
fix spare id random selection.
2020-06-03 14:23:06 +02:00
W.C.A. Wijngaards
150e1b0491
spare id random selection better.
2020-06-03 14:03:34 +02:00
W.C.A. Wijngaards
0f3c638193
find reuse find tcp loop code for multiple connections to the same destination
...
find spare id value in reused connection.
2020-06-03 12:10:31 +02:00
W.C.A. Wijngaards
d9afcae346
add debug printout
2020-06-03 09:38:02 +02:00
W.C.A. Wijngaards
d1904bd509
tree key addr
2020-05-26 16:27:45 +02:00
W.C.A. Wijngaards
aad363ddd1
rename next,prev to lru_next,lru_prev for clarity.
2020-05-26 13:41:07 +02:00
W.C.A. Wijngaards
1a6cc6e5dc
fixup lru list presence boolean.
2020-05-26 08:46:36 +02:00
W.C.A. Wijngaards
a83f5d7260
Merge branch 'master' into stream-reuse
2020-05-20 15:39:50 +02:00
W.C.A. Wijngaards
711c0548f0
- For PR #93 : windows compile warnings removal
...
- windows compile warnings removal for ip dscp option code.
2020-05-19 14:36:57 +02:00
W.C.A. Wijngaards
ba0f382eee
- CVE-2020-12662 Unbound can be tricked into amplifying an incoming
...
query into a large number of queries directed to a target.
- CVE-2020-12663 Malformed answers from upstream name servers can be
used to make Unbound unresponsive.
2020-05-19 10:27:27 +02:00
W.C.A. Wijngaards
edcef18274
Merge branch 'master' of git://github.com/PMunch/unbound into PMunch-master
...
Fixed conflicts in Makefile.in and configparser.y
2020-05-15 14:52:53 +02:00
Ralph Dolmans
8fc2320b5c
- Add mem.http.query_buffer and mem.http.response_buffer stats
...
- Add configurable limits for http-query-buffer-size and
http-response-buffer-size
- Make http endpoint, max_streams, and TCP_NODELAY for HTTP sockets
configurable.
2020-05-12 18:12:19 +02:00
Ralph Dolmans
e7601870cc
Merge branch 'master' into doh
2020-05-07 17:12:26 +02:00
Ralph Dolmans
8dae5d9f81
- Add DNS-over-HTTPS support
2020-05-07 16:36:26 +02:00
W.C.A. Wijngaards
055f5e68a3
Add infra-keep-probing: yes option. Hosts that are down are probed more
...
frequently.
2020-04-22 16:29:06 +02:00
W.C.A. Wijngaards
cee3098e87
- Remove unneeded was_mesh_reply check.
2020-04-20 15:35:45 +02:00
W.C.A. Wijngaards
00323b71d7
- Fix for count of reply states in the mesh.
2020-04-20 14:24:05 +02:00
gthess
334498d9b9
Merge pull request #221 from NLnetLabs/more-SNI
...
More SNI support on TLS
2020-04-17 11:37:47 +02:00
George Thessalonikefs
e430e95d30
- Add SNI support on more TLS connections ( fixes #193 ).
...
- Add SNI support to unbound-anchor.
2020-04-16 14:39:05 +02:00
George Thessalonikefs
e18ab07c62
- Add doxygen documentation for DSCP.
2020-04-16 13:58:35 +02:00
George Thessalonikefs
8a87fc6ae7
- Fix #220 : auth-zone section in config may lead to segfault.
2020-04-15 17:57:02 +02:00
Willem Toorop
4f78b37c61
Down- and upstream padding a la RFC7830 & RFC8467
2020-04-02 18:34:03 +02:00
Ralph Dolmans
e4eb76a5f3
- Fix RPZ concurrency issue when using auth_zone_reload.
2020-03-26 19:11:57 +01:00
W.C.A. Wijngaards
bcdc13514a
- Fixes on #200 . and rerun autoconf.
2020-03-24 09:32:04 +01:00
Yaroslav K
cfddbcb5be
add setting IP DiffServ Codepoint (DSCP, previously TOS) on sockets
2020-03-23 19:37:43 +00:00
Florian Obser
1a81965748
Declare lz_enter_rr_into_zone() static, it's only used in this file.
...
Pointed out by clang with -Wmissing-prototypes
2020-03-20 11:53:13 +01:00
Ralph Dolmans
87474563ff
Merge branch 'kernel-random-port' of https://github.com/fobser/unbound into fobser-kernel-random-port
2020-03-19 15:48:12 +01:00
Ralph Dolmans
28e6c86e61
- Add check to make sure RPZ records are subdomain of configured zone origin.
2020-03-11 17:37:50 +01:00
W.C.A. Wijngaards
614ed2717b
Merge branch 'master' into framestreams
...
Fixed bison and flex conflicts by regenerating the files.
2020-02-28 14:31:24 +01:00
W.C.A. Wijngaards
6f4818ebcb
- Fix more undefined sanitizer issues, in respip copy_rrset null
...
dname, and in the client_info_compare routine for null memcmp.
2020-02-27 15:43:27 +01:00
Florian Obser
5aaa5e253d
Allow the kernel to provide random source ports.
...
On some operating systems, for example OpenBSD since some decades, the
kernel binds to a random source port if asked for any port (port
number 0). There is no need to replicate this functionality in
userland.
2020-02-20 14:54:06 +01:00
W.C.A. Wijngaards
184f26355a
Fix ifdef of X509_CHECK_FLAG_NO_PARTIAL_WILDCARDS, and
...
Merge branch 'master' into framestreams
2020-02-18 08:33:58 +01:00
W.C.A. Wijngaards
6accd3d681
- protect X509_CHECK_FLAG_NO_PARTIAL_WILDCARDS with ifdef for
...
different openssl versions.
2020-02-18 08:31:38 +01:00
W.C.A. Wijngaards
b4f055effc
Merge branch 'master' into framestreams
2020-02-17 15:25:47 +01:00
George Thessalonikefs
4b354d38c1
- Remove unused variable.
2020-02-17 12:56:20 +01:00
W.C.A. Wijngaards
465af58457
dnstap io, fix to compile without ssl.
2020-02-14 13:23:58 +01:00
W.C.A. Wijngaards
6c14c7520b
Merge branch 'master' into stream-reuse
2020-02-12 11:58:17 +01:00
W.C.A. Wijngaards
e5e72eb398
Merge branch 'master' into framestreams
2020-02-12 11:58:01 +01:00
George Thessalonikefs
5d6358b66d
- Cleaner code for mesh_serve_expired_lookup.
2020-02-06 14:38:01 +01:00
W.C.A. Wijngaards
4089147351
- Fix to lock and release once in mesh_serve_expired_lookup.
2020-02-06 14:01:45 +01:00
W.C.A. Wijngaards
18ea62e369
- Fix to lock zone before adding rpz qname trigger.
2020-02-06 12:22:15 +01:00
W.C.A. Wijngaards
d000523b00
- Fix to create and destroy rpz_lock in auth_zones structure.
2020-02-06 11:51:17 +01:00
George Thessalonikefs
0758d29324
- Fix num_reply_states and num_detached_states counting with
...
serve_expired_callback.
2020-02-06 11:44:48 +01:00
W.C.A. Wijngaards
af7abd4dfd
- Fix num_reply_addr counting in mesh and tcp drop due to size
...
after serve_stale commit.
2020-02-06 11:09:30 +01:00
W.C.A. Wijngaards
ad180402ea
dnstap io, set tls auth name in outgoing ssl
2020-02-05 16:17:21 +01:00
gthess
f7fe95ad7b
Serve stale ( #159 )
...
- Added serve-stale functionality as described in
draft-ietf-dnsop-serve-stale-10. `serve-expired-*` options can be used
to configure the behavior.
- Updated cachedb to honor `serve-expired-ttl`; Fixes #107 .
- Renamed statistic `num.zero_ttl` to `num.expired` as expired replies
come with a configurable TTL value (`serve-expired-reply-ttl`).
- Fixed stats when replying with cached, cname-aliased records.
- Added missing default values for redis cachedb backend.
2020-02-05 14:20:27 +01:00
Ralph Dolmans
4fc622031d
- Reformat rpz disabled stats counter
2020-02-03 16:52:25 +01:00
Ralph Dolmans
810862dc65
- Stop working on socket when socket() call returns an error.
...
- Check malloc return values in TLS session ticket code
2020-01-30 19:15:58 +01:00
Ralph Dolmans
056176ec9a
Merge branch 'master' into rpz
2020-01-30 15:57:34 +01:00
W.C.A. Wijngaards
3102fa5775
Merge branch 'master' into stream-reuse
2020-01-30 15:49:57 +01:00
Ralph Dolmans
4f5b934688
- Fix small memory leak in error condition remote.c
...
- Fix double free in error condition view.c
2020-01-30 14:56:48 +01:00
Ralph Dolmans
b9c9fc066f
- Fix RPZ locking issues on error conditions
2020-01-30 14:46:39 +01:00
W.C.A. Wijngaards
c79de51da8
Merge branch 'master' into stream-reuse
2020-01-30 14:25:00 +01:00
Ralph Dolmans
7da16febc4
- Use consistent dname buffer sizes for RPZ
2020-01-29 12:07:13 +01:00
Ralph Dolmans
ef120738c0
- Fix RPZ's get_tld_label maxdnamelen check
2020-01-29 10:57:29 +01:00
Ralph Dolmans
9df07b4036
- Address review feedback
2020-01-28 18:35:04 +01:00
PMunch
b7e8dc1182
Merge branch 'master' into master
2020-01-28 13:18:01 +01:00
Mikhail Nacharov
c3fac2550f
minor #1344 change rfc reference for reserved top level dns names
2020-01-27 22:04:09 +05:00
W.C.A. Wijngaards
57aefd102e
Stream reuse branch, for TCP and TLS stream reuse.
...
This is for upstream pipes and using them again for the next query.
Signposted code for reuse_tcp structure in outside_network.h
2020-01-16 17:12:32 +01:00
Ralph Dolmans
9877e52161
Merge branch 'master' of github.com:NLnetLabs/unbound into rpz
2020-01-15 23:44:10 +01:00
Ralph Dolmans
16543731f5
- Fix doxygen issue
2020-01-15 23:14:24 +01:00
Ralph Dolmans
344f12dd99
- fix compiler warnings
2020-01-15 23:03:44 +01:00
Ralph Dolmans
14913d75c0
- processed RPZ review feedback
...
- fix potential locking issue
- add extra out of bound checks
2020-01-15 22:45:29 +01:00
Ralph Dolmans
e098285892
- Implement RPZ CNAME target wildcard synthesis
2020-01-15 22:42:18 +01:00
W.C.A. Wijngaards
1e0c957dcd
- Fix auth zone support for NSEC3 records without salt.
2020-01-14 16:03:29 +01:00
Ralph Dolmans
ae4f6a259b
Proccess more review feedback
2019-12-23 16:02:43 +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
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
1718a8e6b5
- Fix dname loop maximum, reported by Eric Sesterhenn from X41 D-Sec.
2019-11-22 14:23:00 +01:00
Ralph Dolmans
bbb737ca5a
processing RPZ review feedback
2019-11-22 12:56:24 +08:00
W.C.A. Wijngaards
493921ef1f
Review fix of space.
2019-11-20 14:24:31 +01:00
W.C.A. Wijngaards
3a49e683ed
- Fix Enum Name not Used, reported by X41 D-Sec.
2019-11-20 14:22:06 +01:00
W.C.A. Wijngaards
16bbfc3461
- Fix authzone printout buffer length check.
2019-11-19 10:09:44 +01:00
W.C.A. Wijngaards
d05d6b959a
- fixes for splint cleanliness, long vs int in SSL set_mode.
2019-11-13 15:16:27 +01:00
PMunch
1762437121
Add dynamic library support
2019-10-21 09:34:51 +02:00
W.C.A. Wijngaards
554e4a939c
- Fix fix for #78 to also free service callback struct.
2019-09-19 10:03:47 +02:00
W.C.A. Wijngaards
1a4eaaabc5
- Fix #78 : Memory leak in outside_network.c.
2019-09-19 09:11:23 +02:00
Ralph Dolmans
4ac33aa104
- Merge clean up
...
- revert dname2str off by one fix
- fix str2dname off by one at right location
2019-09-09 17:13:08 +02:00
Ralph Dolmans
2b5cd8e9b4
Merge remote-tracking branch 'ralph/feature/rpz' into rpz
2019-09-09 17:11:26 +02:00
Ralph Dolmans
bc39217070
Don't pass along unused parameter
2019-08-23 12:45:34 +02:00
Ralph Dolmans
ccb576f95e
- add always_deny action, use this one for RPZ
...
- use localzone's memory layout when removing rr from rrset
2019-08-23 12:15:37 +02:00
Ralph Dolmans
a16111d471
Prevent potential double free
2019-08-16 12:13:30 +02:00
Ralph Dolmans
965f16cc89
- Add RPZ AXFR test
...
- Fix memory leak
2019-08-13 17:06:43 +02:00
Ralph Dolmans
88fce791df
- Add RPZ respip test
...
- Fix rpz memory leak
2019-08-12 16:06:15 +02:00
Ralph Dolmans
401fc15443
- Extend RPZ/QNAME trigger test
...
- Fix potential memory leak
2019-08-08 16:07:16 +02:00
Ralph Dolmans
0987a82877
Add statistics support for disabled (action override) response IP RPZ
...
triggers.
2019-08-07 14:09:48 +02:00
W.C.A. Wijngaards
df0c844eed
- Fix to timeval_add for remaining second in microseconds.
2019-08-01 16:48:41 +02:00
W.C.A. Wijngaards
199e6c586b
- Fix to return after failed auth zone http chunk write.
...
- Fix to remove unused test for task_probe existance.
2019-08-01 16:40:52 +02:00
Ralph Dolmans
1c5d081853
- Add RPZ response IP override option, logging, and statistics
2019-08-01 14:31:37 +02:00
W.C.A. Wijngaards
7d5ab2f4de
- Add verbose log message when auth zone file is written, at level 4.
2019-07-29 09:25:49 +02:00
W.C.A. Wijngaards
5f5c00203e
- Fix question section mismatch in local zone redirect.
2019-07-23 14:01:59 +02:00
Ralph Dolmans
9ce7045413
- Fix doxygen issue
...
- Fix memory leak
- IANA ports update
- merge littlehash ASAN changes
2019-07-16 19:45:49 +02:00
Ralph Dolmans
a8d6147ae4
- Added RPZ response IP support
2019-07-16 18:43:16 +02:00
Ralph Dolmans
395d83cfc8
Procedures to parse RPZ ip address notation.
2019-06-24 16:01:01 +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
bf2307ca97
- Fix for #24 : Fix abort due to scan of auth zone masters using old
...
address from previous scan.
2019-06-17 14:15:36 +02:00
W.C.A. Wijngaards
6067ce6d2b
- Fix that fixes the Fix that spoolbuf is not used to store tcp
...
pipelined response between mesh send and callback end, this fixes
error cases that did not use the correct spoolbuf.
2019-06-11 12:15:43 +02:00
Ralph Dolmans
3021e320dd
Only strdup rpz_log_name when configured
2019-06-05 14:26:57 +02:00
Ralph Dolmans
bc83e0b016
fix double free issue
2019-06-04 12:38:44 +02:00
Ralph Dolmans
268580f348
Added RPZ log name and stats
2019-06-03 15:46:39 +02:00
W.C.A. Wijngaards
a03f0a388e
- Fix double file close in tcp pipelined response code.
2019-05-27 11:23:41 +02:00
Wouter Wijngaards
0b77c9d676
- Fix that spoolbuf is not used to store tcp pipelined response
...
between mesh send and callback end.
2019-05-24 09:35:38 +02:00
Ralph Dolmans
b0b69321f9
- Added RPZ action overrides
...
- Added RPZ policy apply logging
2019-05-16 22:30:42 +02:00
W.C.A. Wijngaards
a08fe8ca60
- Attempt to fix malformed tcp response.
2019-05-13 15:39:59 +02:00
Kevin Chu
1a48bdebb5
Add support for ipset
2019-05-02 19:43:30 +08:00
Wouter Wijngaards
e60f92ea29
Update services/authzone.c
...
Co-Authored-By: wtoorop <willem@nlnetlabs.nl>
2019-04-29 11:41:56 +02:00
Wouter Wijngaards
46b5e96c54
Update services/authzone.c
...
Co-Authored-By: wtoorop <willem@nlnetlabs.nl>
2019-04-29 11:41:45 +02:00
Wouter Wijngaards
f5a197f96e
Update services/outside_network.c
...
Co-Authored-By: wtoorop <willem@nlnetlabs.nl>
2019-04-29 11:25:45 +02:00
Wouter Wijngaards
196654efec
Update services/authzone.c
...
Co-Authored-By: wtoorop <willem@nlnetlabs.nl>
2019-04-29 11:25:09 +02:00
Wouter Wijngaards
a9c8d00d63
Update services/outside_network.c
...
Co-Authored-By: wtoorop <willem@nlnetlabs.nl>
2019-04-29 11:25:04 +02:00
Wouter Wijngaards
5e4cfcc665
Update services/authzone.c
...
Co-Authored-By: wtoorop <willem@nlnetlabs.nl>
2019-04-29 11:24:45 +02:00
Wouter Wijngaards
193cb2fcc4
Update services/authzone.c
...
Co-Authored-By: wtoorop <willem@nlnetlabs.nl>
2019-04-29 11:23:23 +02:00
Wouter Wijngaards
b57a2f15db
Update services/authzone.c
...
Co-Authored-By: wtoorop <willem@nlnetlabs.nl>
2019-04-29 11:23:11 +02:00
wtoorop
e19da1b619
Merge pull request #3 from wcawijngaards/features/XoT
...
Fixup fd pass.
2019-04-29 10:44:06 +02:00
W.C.A. Wijngaards
6ce60bcb61
Fixup fd pass.
2019-04-29 10:40:12 +02:00
Wouter Wijngaards
ff026a1f3c
Merge branch 'master' into features/XoT
2019-04-29 10:32:27 +02:00