summaryrefslogtreecommitdiffstats
path: root/lib/meson.build (follow)
Commit message (Collapse)AuthorAgeFilesLines
* mmapped_* nit: move from daemon/ to lib/Vladimír Čunát2024-11-041-0/+2
| | | | | | | | We'll utilize this for cache, so this will be an easy way for GC to access the mmapped_* symbols. In lib/ we usually prefix symbols by kr_ but I don't think it's worth the hassle in this case, as mmapped_ seems like a good enough prefix.
* defer: fix/hide tidy/trivial_checks warningsLukáš Ondráček2024-07-301-1/+0
|
* rrl: renaming, movements, create defer protolayerLukáš Ondráček2024-06-041-0/+5
|
* daemon, lib: unify protolayer_grp and kr_proto enumsOto Šťáva2024-06-041-0/+2
|
* hints: expose as C kr_rule_local_*()Vladimír Čunát2023-09-121-0/+1
| | | | | | | | | | | At least the normal non-root hints. We needed extended API for this functionality, and C API is simpler for this, thanks to LuaJIT FFI. However, this required moving code from the separate module. The moved code is not changed in any way in this commit. I considered it bad to keep such core code outside the main daemon+lib, as it's not big. Now LuaJIT FFI forced me to clean this up.
* lib/rules: implement forwardingVladimír Čunát2023-06-121-0/+1
| | | | | | | | | | | | Typical use cases should work now, briefly tested: - forwarding all to a resolver - forwarding a subtree downgraded to insecure (to resolver or auth) - forwarding a subtree to auth without changing DNSSEC chain (atypical) In some places we need to repeat kr_make_query() The issue is that some of its inputs (e.g. STUB/FORWARD, zone cut) are now not known at the beginning of PRODUCE yet. Also, checking that QNAME matches is useless on a cached reply.
* lib/resolve.c: split in two filesVladimír Čunát2023-06-121-0/+2
| | | | | | | | | I know that moving code makes e.g. blaming harder, but this was a really long file now. This commit _only_ moves code, except for nits: - minor pieces moved into an -impl.h shared by both resolve*.c There a couple functions changed to non-static or static inline. - order is preserved, for now at least
* lib/rules: add API for loading a zonefileVladimír Čunát2023-06-121-0/+2
| | | | | | | | | Two main use cases are actual RPZ file and also the /local-data/records string (plain RRsets). The RPZ semantics isn't very close to the specs, but I believe the practical usability is already better than our old RPZ implementation, thanks to following CNAMEs.
* new policy engine - prototypeVladimír Čunát2023-06-121-0/+4
| | | | | | Picked up old work, rebase-squashed after many months; then fixed up a little as needed in this newer version. (and later many minor fixes got squashed in)
* lib/generic/map: removeOto Šťáva2022-05-131-4/+0
|
* log: add syslog target, systemdLukáš Ježek2021-07-291-0/+1
|
* log: add log levelsLukáš Ježek2021-07-291-0/+2
|
* selection: server selection rewriteŠtěpán Balážik2020-12-311-2/+6
| | | | | Design discussion: #447 Code discussion: !1030
* meson: use / instead of join_pathsTomas Krizek2020-11-231-4/+4
|
* tests: integration test for cache overflow situationPetr Špaček2020-09-071-0/+1
| | | | Resolvers must answer queries even if the shared cache overflown during query processing.
* validate: don't chase non-sensical signersVladimír Čunát2020-07-231-0/+1
| | | | | | | | | When signer name isn't a prefix of owner, the signature does not make sense and it's no use trying to use that signer name in any way. We generally don't force queries on every level of the path, so this signer confusion could "introduce SERVFAILs" if we skip over a transition to insecure.
* NXNSAttack mitigation testsPetr Špaček2020-05-181-1/+1
| | | | | | New Deckard repo without conflicting iter_refused.rpl test does not contain libswrap and libfaketime anymore so I had to remove hacks in build system for these.
* treewide: machine readable license for all the restPetr Špaček2020-02-251-0/+1
| | | | | These files did not have GNU GPL v3 boilderplate in them so I've added machine readable tag with appropriate license.
* iterate: tests for CNAME chain restrictionsVladimír Čunát2019-12-041-1/+2
|
* tests: integration test for minimal NSEC3 rangePetr Špaček2019-06-271-0/+4
|
* gitlabci: fix lint:tidyTomas Krizek2019-03-121-4/+5
|
* meson: use add_project_argumentsTomas Krizek2019-03-121-1/+0
|
* meson: use c_args instead of setting global compiler optionsTomas Krizek2019-03-121-0/+1
|
* meson: use kresdconf.h instead of compiler definesTomas Krizek2019-03-121-0/+1
|
* meson: cleanupTomas Krizek2019-03-121-0/+2
|
* meson: unit tests - move test closer to codeTomas Krizek2019-03-121-1/+14
|
* meson: add luajit dependency to libTomas Krizek2019-03-121-0/+1
|
* meson: update dependenciesTomas Krizek2019-03-121-1/+0
|
* meson: build lib as subdirTomas Krizek2019-03-121-0/+93