Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DNSoverQUIC #871

Merged
merged 186 commits into from
Oct 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
186 commits
Select commit Hold shift + click to select a range
15eaa89
- dnsoverquic, configure --with-libngtcp2 option.
wcawijngaards May 25, 2022
83169c7
- dnsoverquic, create comm_point for doq and receive cmsg local address.
wcawijngaards May 25, 2022
4672188
- dnsoverquic, less obtrusive debug.
wcawijngaards May 27, 2022
7673c14
- dnsoverquic, log and fix local port number. Neater subroutines and …
wcawijngaards May 27, 2022
b39fc72
- dnsoverquic, add testcode/doqclient.
wcawijngaards Jun 27, 2022
13d8b2a
- dnsoverquic, review fixes on doqclient.
wcawijngaards Jun 27, 2022
250c41b
- dnsoverquic, fix unit test testbound link.
wcawijngaards Jun 27, 2022
30612db
- dnsoverquic, parse query in doqclient.
wcawijngaards Jun 27, 2022
73d928a
- dnsoverquic, link with libngtcp2_crypto_openssl and code for doqcli…
wcawijngaards Jun 27, 2022
1d3f833
- dnsoverquic, random routine for doqclient and fix ngaddr allocation…
wcawijngaards Jun 28, 2022
4ed9019
- dnsoverquic, fix doqclient free of allocated ngaddr addresses.
wcawijngaards Jun 28, 2022
8ce2631
- dnsoverquic, enable debug output with -v for doqclient.
wcawijngaards Jul 1, 2022
7e8ac23
- dnsoverquic, create and set TLS object and TLS context in doqclient.
wcawijngaards Jul 1, 2022
37f4001
- dnsoverquic, work on quic tls context in doqclient.
wcawijngaards Jul 1, 2022
084e1a8
Merge branch 'master' into dnsoverquic
wcawijngaards Jul 4, 2022
fdf5cd2
- dnsoverquic, set default dnsoverquic port to the standardized 853 p…
wcawijngaards Jul 4, 2022
96306f3
- dnsoverquic, remove debug comment.
wcawijngaards Jul 4, 2022
2683b41
- dnsoverquic, dns-over-quic quic-port: 853 config option.
wcawijngaards Jul 4, 2022
c4bef69
- dnsoverquic, log type of interface created at start of unbound.
wcawijngaards Jul 4, 2022
a41cb4a
- dnsoverquic, log type of no tls https as https when interface is cr…
wcawijngaards Jul 4, 2022
c599835
- dnsoverquic, setup client quic tls methods.
wcawijngaards Jul 5, 2022
773305f
- dnsoverquic, event work in doqclient.
wcawijngaards Jul 5, 2022
a5f3377
- dnsoverquic, explain in documentation that QUIC uses UDP.
wcawijngaards Jul 6, 2022
be71846
- dnsoverquic, make doqclient exit.
wcawijngaards Jul 6, 2022
1f06214
- dnsoverquic, doqclient cleanup run routine.
wcawijngaards Jul 6, 2022
7d69f12
- dnsoverquic, doqclient code nicer.
wcawijngaards Jul 6, 2022
8773e66
- dnsoverquic, doqclient read and timer.
wcawijngaards Jul 6, 2022
415990f
- dnsoverquic, doqclient write work.
wcawijngaards Jul 6, 2022
9ed50e6
- dnsoverquic, review fixes.
wcawijngaards Jul 6, 2022
8ec9f3d
- dnsoverquic, detect openssl quic support at configure time.
wcawijngaards Jul 7, 2022
e391d3e
- dnsoverquic, do not allow QUIC on port 53 to stop confusion of DoQ …
wcawijngaards Jul 7, 2022
5890095
- dnsoverquic, in doqclient, when idle close is returned, drop the co…
wcawijngaards Jul 7, 2022
9b7030f
- dnsoverquic, in doqclient, log callbacks.
wcawijngaards Jul 7, 2022
4be8a71
- dnsoverquic, in doqclient add extend_max_local_streams_bidi callback.
wcawijngaards Jul 7, 2022
128db77
- dnsoverquic, in doqclient add client query lists.
wcawijngaards Jul 7, 2022
9d1cfed
- dnsoverquic, in doqclient, code cleaner, log text nicer.
wcawijngaards Jul 7, 2022
13493d6
- dnsoverquic, in doqclient, work on write_streams.
wcawijngaards Jul 7, 2022
ccd54b3
- dnsoverquic, in doqclient, use signed int for stream_id, work on the
wcawijngaards Jul 7, 2022
b503ba8
- dnsoverquic, in doqclient, print result and fixes for recv data.
wcawijngaards Jul 8, 2022
a1d82ae
- dnsoverquic, in doqclient, add the event callbacks to fptr wlist.
wcawijngaards Jul 8, 2022
32f4b42
- dnsoverquic, in doqclient, when already expired, use zero timeout t…
wcawijngaards Jul 8, 2022
56a12a9
- dnsoverquic, in doqclient, ignore unused return codes from
wcawijngaards Jul 8, 2022
f631034
- dnsoverquic, add doqclient event functions to the unbound-dnstap-so…
wcawijngaards Jul 8, 2022
ed39ac1
- dnsoverquic, in doqclient, fix multiple operands for the commandline.
wcawijngaards Jul 8, 2022
8348e47
Merge branch 'master' into dnsoverquic
wcawijngaards Jul 11, 2022
97ef5e8
- dnsoverquic, in doqclient, store packet when write blocks and try l…
wcawijngaards Jul 11, 2022
c99d008
- dnsoverquic, in doqclient, limit number of packets and number of by…
wcawijngaards Jul 11, 2022
16ab85a
- dnsoverquic, in doqclient, better size estimate for outgoing packet.
wcawijngaards Jul 12, 2022
503ff5d
- dnsoverquic, in doqclient, fix that already written next packet is not
wcawijngaards Jul 13, 2022
f02cc0d
- dnsoverquic, in doqclient, early data transmission and session resu…
wcawijngaards Jul 13, 2022
8614bbe
- dnsoverquic, send version negotiation packet.
wcawijngaards Jul 14, 2022
7c1c88d
- dnsoverquic, send retry and accept the connection.
wcawijngaards Jul 14, 2022
f610e72
- dnsoverquic, storage structures.
wcawijngaards Jul 15, 2022
9c1bdc1
- dnsoverquic, doq connection setup.
wcawijngaards Jul 15, 2022
e22f357
Merge branch 'master' into dnsoverquic
wcawijngaards Jul 20, 2022
1698072
- dnsoverquic, neater code layout for new conn. Fix verbosity of log …
wcawijngaards Jul 20, 2022
781a58a
- dnsoverquic, doq conn callback functions.
wcawijngaards Jul 20, 2022
3de536a
- dnsoverquic, doq_fill_rand routine in header file.
wcawijngaards Jul 20, 2022
619e601
- dnsoverquic, keep track of connection ids.
wcawijngaards Jul 21, 2022
1aa153f
- dnsoverquic, get_new_connection_id callback.
wcawijngaards Jul 21, 2022
dc25f3b
- dnsoverquic, create doq_conid tree.
wcawijngaards Jul 21, 2022
c915f1a
- dnsoverquic, settings for server connection.
wcawijngaards Jul 21, 2022
c851bee
- dnsoverquic, tls context.
wcawijngaards Jul 21, 2022
3305b2c
- dnsoverquic, sendmsg error handling.
wcawijngaards Jul 22, 2022
29fe454
- dnsoverquic, neat code.
wcawijngaards Jul 22, 2022
a1ce305
- dnsoverquic, track doq connection last error.
wcawijngaards Jul 22, 2022
328eda3
- dnsoverquic, neater packet address parameters.
wcawijngaards Jul 22, 2022
16cab13
- dnsoverquic, fix uninitialized bytes in msg control in doq sendmsg,…
wcawijngaards Jul 22, 2022
6465d44
- dnsoverquic, better usage text for doqclient.
wcawijngaards Jul 22, 2022
fdee62e
- dnsoverquic, neat code.
wcawijngaards Jul 22, 2022
8a731dc
- dnsoverquic, connection receive packet handling.
wcawijngaards Jul 22, 2022
8ffa33b
- dnsoverquic, debug output.
wcawijngaards Jul 22, 2022
7bd4a67
- dnsoverquic, debug switched meaning of scid and dcid gives
wcawijngaards Jul 25, 2022
41b6909
- dnsoverquic, remove debug output.
wcawijngaards Jul 25, 2022
ecd515e
- dnsoverquic, connection delete routine and error from connection re…
wcawijngaards Jul 25, 2022
562f45d
- dnsoverquic, write to stream, and receive stream data, log packet.
wcawijngaards Jul 25, 2022
ef23bfe
- dnsoverquic, alpn set up.
wcawijngaards Jul 25, 2022
4c70d6c
- dnsoverquic, connection close.
wcawijngaards Jul 25, 2022
48565aa
Merge branch 'master' into dnsoverquic
wcawijngaards Jul 26, 2022
954185e
- dnsoverquic, doq_table and locks.
wcawijngaards Jul 26, 2022
e52cd9f
- dnsoverquic, fix tests.
wcawijngaards Jul 26, 2022
f0d5882
- dnsoverquic, better locking.
wcawijngaards Jul 26, 2022
770aba0
- dnsoverquic, doq_stream.
wcawijngaards Jul 26, 2022
d98586d
- dnsoverquic, remove compile warning.
wcawijngaards Jul 26, 2022
ff28d19
- dnsoverquic, doq_stream receive data.
wcawijngaards Jul 26, 2022
85e1200
- dnsoverquic, fixes for locks and keep length bytes allocated.
wcawijngaards Jul 27, 2022
f831808
- dnsoverquic, lock connection on initial insertion.
wcawijngaards Jul 27, 2022
293047a
- dnsoverquic, reply information, and reply buffer.
wcawijngaards Jul 29, 2022
08549bb
- dnsoverquic, reply info from cache, local-zone and recursion lookups.
wcawijngaards Jul 29, 2022
59b4b2f
- dnsoverquic, spelling in comment about buffer storage.
wcawijngaards Jul 29, 2022
cbe870b
- dnsoverquic, stream write list and doqclient fixes to exit and prin…
wcawijngaards Jul 29, 2022
a8ecfaf
Merge branch 'master' into dnsoverquic
wcawijngaards Aug 1, 2022
682cc48
- dnsoverquic, doqclient -q option for short printout.
wcawijngaards Aug 1, 2022
ced2466
- dnsoverquic, unit test with local data reply.
wcawijngaards Aug 1, 2022
05deab8
Merge branch 'master' into dnsoverquic
wcawijngaards Aug 1, 2022
20d7e97
Merge branch 'master' into dnsoverquic
wcawijngaards Aug 3, 2022
fa13a3c
- dnsoverquic, write connection and write event is set.
wcawijngaards Aug 3, 2022
521f0cb
- dnsoverquic, neater logging for write event connection stream writes.
wcawijngaards Aug 3, 2022
c3837ee
Merge branch 'master' into dnsoverquic
wcawijngaards Aug 4, 2022
c89ed9e
- dnsoverquic, log remote connection when the streams are written for…
wcawijngaards Aug 4, 2022
7b3fb4d
- dnsoverquic, better threaded use, threads can write to doq connecti…
wcawijngaards Aug 4, 2022
46421f1
- dnsoverquic, unit test for the calculation of connection size with …
wcawijngaards Aug 8, 2022
df7724f
- dnsoverquic, use less memory per connection.
wcawijngaards Aug 9, 2022
8394724
Merge branch 'master' into dnsoverquic
wcawijngaards Aug 9, 2022
3591fb4
- dnsoverquic, remove unit test output.
wcawijngaards Aug 10, 2022
dc8a701
Merge branch 'master' into dnsoverquic
wcawijngaards Sep 2, 2022
29f2777
- dnsoverquic, add MSG_DONTWAIT so that there is no mistakenly blocking
wcawijngaards Sep 2, 2022
69c1015
- dnsoverquic, doqclient logs address on connection failures.
wcawijngaards Sep 5, 2022
1e75840
- dnsoverquic, compat code for clock get time routine.
wcawijngaards Sep 9, 2022
29e4e83
Merge branch 'master' into dnsoverquic
wcawijngaards Sep 22, 2022
c16cbfa
- dnsoverquic, use skip_test for doq unit test.
wcawijngaards Sep 22, 2022
27b8629
Merge branch 'master' into dnsoverquic
wcawijngaards Oct 13, 2022
3506417
- dnsoverquic, fixes for proxyprotocol, use remote_addr and set proxy…
wcawijngaards Oct 13, 2022
1069efe
Merge branch 'master' into dnsoverquic
wcawijngaards Oct 17, 2022
f4a416d
- dnsoverquic, doqclient sets log identity to its name, instead of "u…
wcawijngaards Oct 17, 2022
06e78d5
Merge branch 'master' into dnsoverquic
wcawijngaards Oct 17, 2022
9db0db8
- dnsoverquic, handle blocked udp packet writes.
wcawijngaards Feb 6, 2023
9e6201e
Merge branch 'master' into dnsoverquic
wcawijngaards Feb 6, 2023
27138c7
- dnsoverquic, fix function documentation for verbose_print_addr from
wcawijngaards Feb 6, 2023
d424c21
- dnsoverquic, fix doq_conn lock protection. The checklock allows to set
wcawijngaards Feb 6, 2023
719998e
- dnsoverquic, neater buffer clear when write of blocked packet fails…
wcawijngaards Feb 6, 2023
06ffcfb
- dnsoverquic, move lock check after the test to test script in doq t…
wcawijngaards Feb 7, 2023
f7c1ff8
- dnsoverquic, the doq test uses valgrind when enabled.
wcawijngaards Feb 7, 2023
c2ad242
Merge branch 'master' into dnsoverquic
wcawijngaards Feb 9, 2023
5fd1299
Merge branch 'master' into dnsoverquic
wcawijngaards Feb 9, 2023
1e9cda1
Merge branch 'master' into dnsoverquic
wcawijngaards Feb 9, 2023
0e1c47c
- dnsoverquic, git ignore the doqclient test.
wcawijngaards Feb 9, 2023
69f0c43
- dnsoverquic, limit the buffer for packets to max packet size with s…
wcawijngaards Feb 9, 2023
3d57927
Merge branch 'master' into dnsoverquic
wcawijngaards Feb 9, 2023
efe447e
- dnsoverquic, spelling fix.
wcawijngaards Feb 9, 2023
7b69085
Merge branch 'master' into dnsoverquic
wcawijngaards Feb 22, 2023
aa8c9c4
- dnsoverquic, timer work, structure and adds and deletes.
wcawijngaards Feb 22, 2023
9e579ff
- dnsoverquic, timer_tree uses table.lock.
wcawijngaards Feb 22, 2023
9b5c70e
- dnsoverquic, fix timer tree remove and spelling in header file comm…
wcawijngaards Feb 22, 2023
bb64b76
- dnsoverquic, fix testbound for timer compare function linkage.
wcawijngaards Feb 22, 2023
5673185
- dnsoverquic, timer set add debug output.
wcawijngaards Feb 22, 2023
8741ffe
Merge branch 'master' into dnsoverquic
wcawijngaards Feb 27, 2023
8e0b2a1
- dnsoverquic, doq_conn_check_timer function.
wcawijngaards Feb 27, 2023
bc32a97
- dnsoverquic, doq_done_setup_timer_and_write function.
wcawijngaards Feb 27, 2023
c8d3c9f
- dnsoverquic, fix that doq conn is not deleted whilst editing write …
wcawijngaards Feb 27, 2023
dc7fa52
- dnsoverquic, Fix #861 make ERROR netevent.h:1073:32: error: field '…
wcawijngaards Mar 13, 2023
8a8643b
- dnsoverquic, timer element has timeout setup when socket callback c…
wcawijngaards Mar 27, 2023
190b3c6
Merge branch 'master' into dnsoverquic
wcawijngaards Mar 27, 2023
ba626e3
- dnsoverquic, fix unit test compile.
wcawijngaards Mar 27, 2023
13321e7
- dnsoverquic, timer callback routine, handle timeout and close and d…
wcawijngaards Mar 27, 2023
01a1c2b
- dnsoverquic, timer pickup stops at current time.
wcawijngaards Mar 27, 2023
972235e
- dnsoverquic, timer comparable with the event base time.
wcawijngaards Mar 27, 2023
b5b11bc
- dnsoverquic, erase marked time when timer disabled.
wcawijngaards Mar 27, 2023
b3394d5
- dnsoverquic, fix timer to set correctly and lock popped write conne…
wcawijngaards Mar 27, 2023
c41b8d3
- dnsoverquic, fix to unlock connection lock when it is unlinked and …
wcawijngaards Mar 27, 2023
0fa2a89
- dnsoverquic, fix to unlock connection lock when it is deleted becau…
wcawijngaards Mar 27, 2023
f835d36
- dnsoverquic, fix that doq timer is not disabled when not set.
wcawijngaards Mar 27, 2023
9cac733
- dnsoverquic, quic-size: 8m maximum number of bytes for QUIC buffers.
wcawijngaards Mar 28, 2023
81385ea
- dnsoverquic, flex and bison.
wcawijngaards Mar 28, 2023
0b0997b
- dnsoverquic, quic-size turn away new connections when full.
wcawijngaards Mar 28, 2023
24e13e2
- dnsoverquic, doqclient outputs stream reset information.
wcawijngaards Mar 29, 2023
f505a78
- dnsoverquic, detect stream close and reset.
wcawijngaards Mar 29, 2023
efcbe62
- dnsoverquic, free stream buffers when data is acked and stream is c…
wcawijngaards Mar 29, 2023
a6baa2d
- dnsoverquic, delete stream when closed. Unlink it. Allow stream_id …
wcawijngaards Mar 29, 2023
baca144
- dnsoverquic, stats output for mem.quic and num.query.quic.
wcawijngaards Mar 29, 2023
24dca25
- dnsoverquic, review fix.
wcawijngaards Mar 30, 2023
73849fc
Merge branch 'master' into dnsoverquic
wcawijngaards Apr 4, 2023
4122d00
- dnsoverquic, fix when compiled without ngtcp2.
wcawijngaards Apr 4, 2023
c1d3cea
- dnsoverquic, fix to detect ngtcp2_crypto_quictls for openssl crypto…
wcawijngaards Aug 24, 2023
9e30ec4
- dnsoverquic, fix for newer ngtcp2 versions. detect ngtcp2_ccerr_def…
wcawijngaards Aug 24, 2023
2fd254b
- dnsoverquic, fix for newer ngtcp2 version, detect number of argumen…
wcawijngaards Aug 24, 2023
8feb8a7
- dnsoverquic, fix for newer ngtcp2.
wcawijngaards Aug 24, 2023
250438b
Merge branch 'master' into dnsoverquic
wcawijngaards Aug 25, 2023
7a11de1
- dnsoverquic, use the functions from util/timeval_func.h.
wcawijngaards Aug 25, 2023
b0386dc
- dnsoverquic, fix in doqclient only write transport parameters once.
wcawijngaards Aug 25, 2023
4eeae22
- dnsoverquic, debug log output removed.
wcawijngaards Aug 28, 2023
897c789
Merge branch 'master' into dnsoverquic
wcawijngaards Sep 5, 2023
44725a5
- dnsoverquic, fix in doqclient to work with renamed NGTCP2_CC_ALGO_B…
wcawijngaards Sep 5, 2023
7f65ffb
- dnsoverquic, fix to check in doq_server_socket_create that tls-serv…
wcawijngaards Sep 5, 2023
4840110
- dnsoverquic, fix to error when doq_server_socket_create fails.
wcawijngaards Sep 5, 2023
19868cc
Merge branch 'master' into dnsoverquic
wcawijngaards Oct 12, 2023
1014e25
Merge branch 'master' into dnsoverquic
wcawijngaards Oct 12, 2023
a45c5ae
- dnsoverquic, improve linebreaks in configparser additions.
wcawijngaards Oct 12, 2023
d6f5d22
Merge branch 'master' into dnsoverquic
wcawijngaards Mar 19, 2024
372db15
- dnsoverquic, fix port from interface pickup after main branch change.
wcawijngaards Mar 19, 2024
948feca
Fix getting user data from SSL, fix calloc warning.
gthess Sep 27, 2024
9cfa8c3
Fix fwrite return value check in doqclient
gthess Oct 1, 2024
3456cfb
- timeval_substruct from timeval_func.h
gthess Oct 9, 2024
073526f
- memset for consistency
gthess Oct 9, 2024
e805751
Merge branch 'master' into dnsoverquic
wcawijngaards Oct 9, 2024
9b94727
- dnsoverquic, rerun autoconf.
wcawijngaards Oct 9, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
/asynclook
/delayer
/dohclient
/doqclient
/lock-verify
/memstats
/perf
Expand Down
19 changes: 14 additions & 5 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -179,11 +179,11 @@ testcode/unitlruhash.c testcode/unitmain.c testcode/unitmsgparse.c \
testcode/unitneg.c testcode/unitregional.c testcode/unitslabhash.c \
testcode/unitverify.c testcode/readhex.c testcode/testpkts.c testcode/unitldns.c \
testcode/unitecs.c testcode/unitauth.c testcode/unitzonemd.c \
testcode/unittcpreuse.c
testcode/unittcpreuse.c testcode/unitdoq.c
UNITTEST_OBJ=unitanchor.lo unitdname.lo unitlruhash.lo unitmain.lo \
unitmsgparse.lo unitneg.lo unitregional.lo unitslabhash.lo unitverify.lo \
readhex.lo testpkts.lo unitldns.lo unitecs.lo unitauth.lo unitzonemd.lo \
unittcpreuse.lo
unittcpreuse.lo unitdoq.lo
UNITTEST_OBJ_LINK=$(UNITTEST_OBJ) worker_cb.lo $(COMMON_OBJ) $(SLDNS_OBJ) \
$(COMPAT_OBJ)
DAEMON_SRC=daemon/acl_list.c daemon/cachedump.c daemon/daemon.c \
Expand Down Expand Up @@ -242,6 +242,10 @@ DOHCLIENT_SRC=testcode/dohclient.c
DOHCLIENT_OBJ=dohclient.lo
DOHCLIENT_OBJ_LINK=$(DOHCLIENT_OBJ) worker_cb.lo $(COMMON_OBJ) $(COMPAT_OBJ) \
$(SLDNS_OBJ)
DOQCLIENT_SRC=testcode/doqclient.c
DOQCLIENT_OBJ=doqclient.lo
DOQCLIENT_OBJ_LINK=$(DOQCLIENT_OBJ) $(COMMON_OBJ) $(COMPAT_OBJ) \
$(SLDNS_OBJ)
PERF_SRC=testcode/perf.c
PERF_OBJ=perf.lo
PERF_OBJ_LINK=$(PERF_OBJ) worker_cb.lo $(COMMON_OBJ) $(COMPAT_OBJ) $(SLDNS_OBJ)
Expand Down Expand Up @@ -288,7 +292,7 @@ ALL_SRC=$(COMMON_SRC) $(UNITTEST_SRC) $(DAEMON_SRC) \
$(CONTROL_SRC) $(UBANCHOR_SRC) $(PETAL_SRC) $(DNSTAP_SOCKET_SRC)\
$(PYTHONMOD_SRC) $(PYUNBOUND_SRC) $(WIN_DAEMON_THE_SRC) \
$(SVCINST_SRC) $(SVCUNINST_SRC) $(ANCHORUPD_SRC) $(SLDNS_SRC) \
$(DOHCLIENT_SRC) $(READZONE_SRC)
$(DOHCLIENT_SRC) $(DOQCLIENT_SRC) $(READZONE_SRC)

ALL_OBJ=$(COMMON_OBJ) $(UNITTEST_OBJ) $(DAEMON_OBJ) \
$(TESTBOUND_OBJ) $(LOCKVERIFY_OBJ) $(PKTVIEW_OBJ) \
Expand All @@ -297,7 +301,7 @@ ALL_OBJ=$(COMMON_OBJ) $(UNITTEST_OBJ) $(DAEMON_OBJ) \
$(CONTROL_OBJ) $(UBANCHOR_OBJ) $(PETAL_OBJ) $(DNSTAP_SOCKET_OBJ)\
$(COMPAT_OBJ) $(PYUNBOUND_OBJ) \
$(SVCINST_OBJ) $(SVCUNINST_OBJ) $(ANCHORUPD_OBJ) $(SLDNS_OBJ) \
$(DOHCLIENT_OBJ) $(READZONE_OBJ)
$(DOHCLIENT_OBJ) $(DOQCLIENT_OBJ) $(READZONE_OBJ)

COMPILE=$(LIBTOOL) --tag=CC --mode=compile $(CC) $(CPPFLAGS) $(CFLAGS) @PTHREAD_CFLAGS_ONLY@
LINK=$(LIBTOOL) --tag=CC --mode=link $(CC) $(staticexe) $(RUNTIME_PATH) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS)
Expand Down Expand Up @@ -334,7 +338,7 @@ rsrc_unbound_checkconf.o: $(srcdir)/winrc/rsrc_unbound_checkconf.rc config.h
TEST_BIN=asynclook$(EXEEXT) delayer$(EXEEXT) \
lock-verify$(EXEEXT) memstats$(EXEEXT) perf$(EXEEXT) \
petal$(EXEEXT) pktview$(EXEEXT) streamtcp$(EXEEXT) \
$(DNSTAP_SOCKET_TESTBIN) dohclient$(EXEEXT) \
$(DNSTAP_SOCKET_TESTBIN) dohclient$(EXEEXT) doqclient$(EXEEXT) \
testbound$(EXEEXT) unittest$(EXEEXT) readzone$(EXEEXT)
tests: all $(TEST_BIN)

Expand Down Expand Up @@ -416,6 +420,9 @@ streamtcp$(EXEEXT): $(STREAMTCP_OBJ_LINK)
dohclient$(EXEEXT): $(DOHCLIENT_OBJ_LINK)
$(LINK) -o $@ $(DOHCLIENT_OBJ_LINK) $(SSLLIB) $(LIBS)

doqclient$(EXEEXT): $(DOQCLIENT_OBJ_LINK)
$(LINK) -o $@ $(DOQCLIENT_OBJ_LINK) $(SSLLIB) $(LIBS)

perf$(EXEEXT): $(PERF_OBJ_LINK)
$(LINK) -o $@ $(PERF_OBJ_LINK) $(SSLLIB) $(LIBS)

Expand Down Expand Up @@ -703,6 +710,8 @@ depend:

# build rules
ipset.lo ipset.o: $(srcdir)/ipset/ipset.c
doqclient.lo doqclient.o: $(srcdir)/testcode/doqclient.c
unitdoq.lo unitdoq.o: $(srcdir)/testcode/unitdoq.c

# Dependencies
dns.lo dns.o: $(srcdir)/services/cache/dns.c config.h $(srcdir)/iterator/iter_delegpt.h $(srcdir)/util/log.h \
Expand Down
89 changes: 89 additions & 0 deletions config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,14 @@
and to 0 if you don't. */
#undef HAVE_DECL_NGHTTP2_SESSION_SERVER_NEW

/* Define to 1 if you have the declaration of `ngtcp2_conn_server_new', and to
0 if you don't. */
#undef HAVE_DECL_NGTCP2_CONN_SERVER_NEW

/* Define to 1 if you have the declaration of `ngtcp2_crypto_encrypt_cb', and
to 0 if you don't. */
#undef HAVE_DECL_NGTCP2_CRYPTO_ENCRYPT_CB

/* Define to 1 if you have the declaration of `NID_ED25519', and to 0 if you
don't. */
#undef HAVE_DECL_NID_ED25519
Expand Down Expand Up @@ -421,6 +429,65 @@
/* Define to 1 if you have the <nghttp2/nghttp2.h> header file. */
#undef HAVE_NGHTTP2_NGHTTP2_H

/* Define this to use ngtcp2. */
#undef HAVE_NGTCP2

/* Define to 1 if you have the `ngtcp2_ccerr_default' function. */
#undef HAVE_NGTCP2_CCERR_DEFAULT

/* Define to 1 if you have the `ngtcp2_conn_encode_0rtt_transport_params'
function. */
#undef HAVE_NGTCP2_CONN_ENCODE_0RTT_TRANSPORT_PARAMS

/* Define to 1 if you have the `ngtcp2_conn_get_max_local_streams_uni'
function. */
#undef HAVE_NGTCP2_CONN_GET_MAX_LOCAL_STREAMS_UNI

/* Define to 1 if you have the `ngtcp2_conn_get_num_scid' function. */
#undef HAVE_NGTCP2_CONN_GET_NUM_SCID

/* Define to 1 if you have the `ngtcp2_conn_in_closing_period' function. */
#undef HAVE_NGTCP2_CONN_IN_CLOSING_PERIOD

/* Define to 1 if you have the `ngtcp2_conn_in_draining_period' function. */
#undef HAVE_NGTCP2_CONN_IN_DRAINING_PERIOD

/* Define if ngtcp2_conn_shutdown_stream has 4 arguments. */
#undef HAVE_NGTCP2_CONN_SHUTDOWN_STREAM4

/* Define to 1 if you have the `ngtcp2_conn_tls_early_data_rejected' function.
*/
#undef HAVE_NGTCP2_CONN_TLS_EARLY_DATA_REJECTED

/* Define to 1 if you have the `ngtcp2_crypto_encrypt_cb' function. */
#undef HAVE_NGTCP2_CRYPTO_ENCRYPT_CB

/* Define to 1 if you have the
`ngtcp2_crypto_quictls_configure_client_context' function. */
#undef HAVE_NGTCP2_CRYPTO_QUICTLS_CONFIGURE_CLIENT_CONTEXT

/* Define to 1 if you have the
`ngtcp2_crypto_quictls_configure_server_context' function. */
#undef HAVE_NGTCP2_CRYPTO_QUICTLS_CONFIGURE_SERVER_CONTEXT

/* Define to 1 if you have the
`ngtcp2_crypto_quictls_from_ossl_encryption_level' function. */
#undef HAVE_NGTCP2_CRYPTO_QUICTLS_FROM_OSSL_ENCRYPTION_LEVEL

/* Define to 1 if the system has the type `ngtcp2_encryption_level'. */
#undef HAVE_NGTCP2_ENCRYPTION_LEVEL

/* Define to 1 if you have the <ngtcp2/ngtcp2_crypto_openssl.h> header file.
*/
#undef HAVE_NGTCP2_NGTCP2_CRYPTO_OPENSSL_H

/* Define to 1 if you have the <ngtcp2/ngtcp2_crypto_quictls.h> header file.
*/
#undef HAVE_NGTCP2_NGTCP2_CRYPTO_QUICTLS_H

/* Define to 1 if you have the <ngtcp2/ngtcp2.h> header file. */
#undef HAVE_NGTCP2_NGTCP2_H

/* Use libnss for crypto */
#undef HAVE_NSS

Expand Down Expand Up @@ -587,6 +654,9 @@
/* Define to 1 if you have the `SSL_get1_peer_certificate' function. */
#undef HAVE_SSL_GET1_PEER_CERTIFICATE

/* Define to 1 if you have the `SSL_is_quic' function. */
#undef HAVE_SSL_IS_QUIC

/* Define to 1 if you have the `SSL_set1_host' function. */
#undef HAVE_SSL_SET1_HOST

Expand Down Expand Up @@ -629,6 +699,23 @@
/* Define to 1 if `ipi_spec_dst' is a member of `struct in_pktinfo'. */
#undef HAVE_STRUCT_IN_PKTINFO_IPI_SPEC_DST

/* Define to 1 if `tokenlen' is a member of `struct ngtcp2_pkt_hd'. */
#undef HAVE_STRUCT_NGTCP2_PKT_HD_TOKENLEN

/* Define to 1 if `max_tx_udp_payload_size' is a member of `struct
ngtcp2_settings'. */
#undef HAVE_STRUCT_NGTCP2_SETTINGS_MAX_TX_UDP_PAYLOAD_SIZE

/* Define to 1 if `tokenlen' is a member of `struct ngtcp2_settings'. */
#undef HAVE_STRUCT_NGTCP2_SETTINGS_TOKENLEN

/* Define to 1 if `original_dcid_present' is a member of `struct
ngtcp2_transport_params'. */
#undef HAVE_STRUCT_NGTCP2_TRANSPORT_PARAMS_ORIGINAL_DCID_PRESENT

/* Define to 1 if the system has the type `struct ngtcp2_version_cid'. */
#undef HAVE_STRUCT_NGTCP2_VERSION_CID

/* Define to 1 if `sun_len' is a member of `struct sockaddr_un'. */
#undef HAVE_STRUCT_SOCKADDR_UN_SUN_LEN

Expand Down Expand Up @@ -1521,6 +1608,8 @@ char *unbound_stat_strdup_log(const char *s, const char* file, int line,
#define UNBOUND_DNS_OVER_TLS_PORT 853
/** default port for DNS over HTTPS traffic. */
#define UNBOUND_DNS_OVER_HTTPS_PORT 443
/** default port for DNS over QUIC traffic. */
#define UNBOUND_DNS_OVER_QUIC_PORT 853
/** default port for unbound control traffic, registered port with IANA,
ub-dns-control 8953/tcp unbound dns nameserver control */
#define UNBOUND_CONTROL_PORT 8953
Expand Down
Loading