Wouter Wijngaards
ad21dbd1c2
Cookie secret file ( #1090 )
...
* - cookie-secret-file, define struct.
* - cookie-secret-file, add config option, create, read and delete struct.
* - cookie-secret-file, check cookie secrets for cookie validation.
* - cookie-secret-file, unbound-control add_cookie_secret, drop_cookie_secret,
activate_cookie_secret and print_cookie_secrets.
* - cookie-secret-file, test and fix locks, renew writes a fresh cookie,
staging cookies get a fresh cookie and spelling in error message.
* - cookie-secret-file, remove unused variable from cookie file unit test.
* Remove unshare and faketime dependencies for cookie_file test; documentation nits.
---------
Co-authored-by: Yorgos Thessalonikefs <yorgos@nlnetlabs.nl>
2024-08-02 13:32:08 +02:00
W.C.A. Wijngaards
c3dd6a2dbd
- Add dnstap-sample-rate that logs only 1/N messages, for high volume
...
server environments. Thanks Dan Luther.
2024-07-19 10:04:40 +02:00
Wouter Wijngaards
ced9762b14
Merge pull request #1041 from NLnetLabs/stubfwd-unshare
...
Stub and Forward unshare
2024-04-25 11:11:00 +02:00
W.C.A. Wijngaards
63ee97d0fd
- Fix makefile dependencies for fake_event.c.
2024-04-10 14:04:39 +02:00
W.C.A. Wijngaards
b990be88ef
- Add test for cachedb serve expired.
2024-04-10 12:36:21 +02:00
W.C.A. Wijngaards
48113cfaba
- fast-reload, unshared stub hints, making the structure locked, with an rwlock.
2024-04-03 13:55:57 +02:00
W.C.A. Wijngaards
f2fb498c69
- fast-reload, unshare forwards, making the structure locked, with an rwlock.
2024-04-03 13:55:54 +02:00
W.C.A. Wijngaards
b865aca03a
- Fix #946 : Forwarder returns servfail on upstream response noerror no
...
data.
2023-10-04 18:16:22 +02:00
W.C.A. Wijngaards
63616a5fce
- Fix to move msgparse_rrset_remove_rr code to util/msgparse.c.
2023-09-07 11:29:53 +02:00
George Thessalonikefs
4ccb613396
Merge branch 'master' into features/downstream-cookies
2023-08-05 20:37:48 +02:00
George Thessalonikefs
5b55a46550
- For #762 : relocate RFC 1982 serial number arithmetic functions to their own
...
file in util/rfc_1982.[ch].
2023-08-01 17:26:14 +02:00
W.C.A. Wijngaards
806c3d7330
- Fix #885 : Error: util/configlexer.c: No such file or directory,
...
adds error messages explaining to install flex and bison.
2023-05-04 11:12:11 +02:00
Vadim Fedorenko
a197aac2f6
timeval_func: move all timeval manipulation to separate file
...
There are several definitions of the same functions manipulating timeval
structures. Let's move them to separate file and arrange the code
preperly.
Signed-off-by: Vadim Fedorenko <vadfed@meta.com>
2023-04-26 03:23:41 -07:00
Vadim Fedorenko
648ad4db6f
Linting change.
...
Remove config parser/lexer code as it's rebuilded every time but can
break adding new config options.
Also clean up the code base to avoid mixing actual code changes and lint
issues.
Signed-off-by: Vadim Fedorenko <vadfed@meta.com>
2023-04-25 17:05:00 -07:00
W.C.A. Wijngaards
1a2e6aabac
- Fix to wrap Makefile scripts directory in quotes for uninstall.
2022-12-13 09:03:52 +01:00
sneurlax
2daaebf3aa
wrap directory variables in quotes
...
see https://github.com/NLnetLabs/unbound/issues/807
2022-12-12 19:27:19 -06:00
Willem Toorop
8df26b132b
Merge branch 'master' into devel/merge-master-into-downstream-cookies
2022-11-07 17:09:20 +00:00
Yorgos Thessalonikefs
c4e51a4cfe
PROXYv2 downstream support ( #760 )
2022-10-03 15:29:47 +02:00
Willem Toorop
75f3fbdd65
Downstream DNS Cookies a la RFC7873 and RFC9018
...
Create server cookies for clients that send client cookies.
Needs to be turned on in the config file with:
answer-cookie: yes
A cookie-secret can be configured for anycast setups.
Also adds an access control list that will allow queries with
either a valid cookie or over a stateful transport.
2022-09-28 10:28:19 +02:00
George Thessalonikefs
9177867d07
- Show the output of the exact .rpl run that failed with 'make test'.
2022-06-28 00:22:30 +02:00
George Thessalonikefs
77149fc2aa
- Fix Python build in non-source directory; based on patch by
...
Michael Tokarev.
2022-05-10 15:57:17 +02:00
tcarpay
0ce36e8289
Add the basic EDE (RFC8914) cases ( #604 )
2022-05-06 12:48:53 +02:00
W.C.A. Wijngaards
b0dbfa37f9
Changelog note for #644 , move commands together for library binary.
2022-03-09 09:43:07 +01:00
Felipe Gasper
516f4f9cf4
Make install-lib
make target install the pkg-config file.
...
Issue #643
2022-03-08 14:01:09 -05:00
W.C.A. Wijngaards
c084c27b39
- Fix check interface existence for support detection in remote lookup.
2022-02-25 15:24:40 +01:00
W.C.A. Wijngaards
2c3225e6c7
- update Makefile dependencies.
2022-02-25 10:29:33 +01:00
gthess
94ea0e5e8f
Merge pull request #511 from yan12125/python-linking
...
- Reduce unnecessary linking
2021-12-01 03:46:25 +01:00
gthess
3829faf679
Merge pull request #514 from ziollek/docker_for_run_test
...
Docker environment for run tests
2021-08-12 21:30:36 +02:00
Chih-Hsuan Yen
98087a051e
- Reduce unnecessary linking
...
- Link to libpython only when needed, fixes #242
When pyunbound is enabled while pythonmodule is not (i.e., ./configure
--without-pythonmodule --with-pyunbound), only the Python library
_unbound.so uses Python functions, and main programs (unbound,
unbound-anchor, ...) and libunbound.so do not. This patch removes
unneeded linking.
- Link the Python library _unbound.so to Python only. _unbound.so does
not directly use libraries used by libunbound. This patch removes
unneeded linking mentioned in [1]
[1] https://github.com/NLnetLabs/unbound/pull/511#issuecomment-886072003
2021-08-06 22:33:22 +08:00
W.C.A. Wijngaards
8e538dcaa8
- Fix #520 : Unbound 1.13.2rc1 fails to build python module.
2021-08-05 17:10:56 +02:00
Tomasz Ziolkowski
a922c6d525
merge master
2021-08-04 13:02:20 +02:00
W.C.A. Wijngaards
592cfe3afc
- Fix readzone compile under debug config.
2021-08-04 11:43:29 +02:00
Tomasz Ziolkowski
3e310a17be
Docker environment for run tests + enhancement for ssl_handshake
2021-07-27 12:06:08 +02:00
George Thessalonikefs
ab318a8b95
- Add unittest for tcp_reuse functions.
2021-07-24 01:15:00 +02:00
Tom Carpay
3d50c25f5b
fix comments - 1
2021-07-01 16:59:48 +02:00
Willem Toorop
2c9b548ebd
Simple zonefile printer
...
(maybe I should have called it printzone?)
2021-04-16 16:07:04 +02:00
orbea
b0298224cb
build: Link with the libtool archive.
2021-03-31 16:27:00 -07:00
W.C.A. Wijngaards
f3dcb297d9
- Fix that cachedb does not produce empty object files when disabled.
2021-03-24 16:28:18 +01:00
orbea
839cce1a7b
build: Add missing linker flags.
2021-03-21 16:28:58 -07:00
W.C.A. Wijngaards
b7a633fdc0
Merge branch 'master' into zonemd
2021-02-04 16:08:11 +01:00
W.C.A. Wijngaards
8ad4c9f92a
- Fix compile of unbound-dnstap-socket without dnstap installed.
2021-01-26 17:29:22 +01:00
W.C.A. Wijngaards
3b82e690ef
- Fix for #93 : dynlibmodule link fix for Windows.
2021-01-13 14:56:25 +01:00
W.C.A. Wijngaards
e21d38dcb9
- make depend.
2020-12-03 10:26:37 +01:00
W.C.A. Wijngaards
c32c9a0ae2
zonemd, zonemd unit test in own file.
2020-10-21 12:04:53 +02:00
Ralph Dolmans
852a2e1105
- Add 'DYNLIBMOD_EXTRALIBS' to dohclient in makefile
2020-08-27 12:28:57 +02:00
Ralph Dolmans
740da89578
Merge branch 'master' into doh
2020-06-24 14:18:47 +02:00
W.C.A. Wijngaards
4ccac696ca
- For PR #93 : fix link of other executables for dynlibmod dependency.
2020-05-18 17:26:01 +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
605e6c9bda
add dohclient to makefile
2020-05-15 09:52:15 +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