unbound/services
David Gwynne feb101bc70 big hammer to get ip-transparent working with pf divert-to rules on obsd.
if you divert all dns requests to an unbound server, this sets
things up so replies to diverted udp requests come from what looks
like the right IP.

set_recvpktinfo() needs to be called on listening sockets so the
kernel will wire up the control messages that include the original
destination ip address of the packet.

comm_point_create_udp_ancil() needs to be used instead of
comm_point_create_udp() so it will use recvmsg with a control message
buffer and process the CMSGs inside it.

for IP_SENDSRCMSG to work when sending the replies to the diverted
client, the listening socket also has to be set up with the SO_BINDANY
sockopt.
2023-08-17 13:22:28 +10:00
..
cache Merge branch 'master' into features/ede-caching-cachedb 2023-07-30 14:17:52 +02:00
authzone.c Merge branch 'cleanup_cppcheck' of https://github.com/chipitsine/unbound into chipitsine-cleanup_cppcheck 2023-07-13 11:49:41 +02:00
authzone.h - Fix zonemd check to allow unsupported algorithms to load. 2022-04-08 09:29:37 +02:00
listen_dnsport.c big hammer to get ip-transparent working with pf divert-to rules on obsd. 2023-08-17 13:22:28 +10:00
listen_dnsport.h PROXYv2 downstream support (#760) 2022-10-03 15:29:47 +02:00
localzone.c Review for #759: 2023-07-17 17:26:31 +02:00
localzone.h Added new static zone type block_a to suppress all A queries for specific zones 2023-01-03 19:17:51 +00:00
mesh.c - Merge #759 from Tom Carpay: Add EDE (RFC8914) caching. 2023-07-30 11:48:04 +02:00
mesh.h Merge branch 'free_memory_in_error_case' of https://github.com/borisVanhoof/unbound into borisVanhoof-free_memory_in_error_case 2023-07-21 17:04:33 +02:00
modstack.c config: improve handling of unknown modules 2023-06-19 18:20:22 +01:00
modstack.h - better module memory lookup, fix of unbound-control shm names for 2017-05-16 14:16:59 +00:00
outbound_list.c And fix #551 REGENT to COPYRIGHT HOLDER in license in file headings. 2014-02-07 13:28:39 +00:00
outbound_list.h Fix typos 2021-11-13 16:56:15 +02:00
outside_network.c Fix for issue #887 (Timeouts to forward servers on BSD based system with ASLR) 2023-06-09 13:59:31 +02:00
outside_network.h - Fix to stop possible loops in the tcp reuse code (write_wait list 2022-10-07 11:25:36 +02:00
rpz.c Merge branch 'master' into features/ede-caching 2023-07-13 11:25:59 +02:00
rpz.h - Fix to remove unused variables from RPZ clientip data structure. 2023-05-19 16:36:31 +02:00
view.c - Fix doxygen warning in respip.h. 2022-09-21 15:23:04 +02:00
view.h - Spelling fixes, from Phil Porada. 2017-09-15 14:29:28 +00:00