Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
No results found
Show changes
Commits on Source (2208)
Showing
with 2158 additions and 530 deletions
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
/test-driver /test-driver
Makefile Makefile
Makefile.in Makefile.in
version.h /src/lib*/version.h
/samples/knot.sample.conf /samples/knot.sample.conf
/src/knot/modules/static_modules.h /src/knot/modules/static_modules.h
...@@ -95,3 +95,10 @@ version.h ...@@ -95,3 +95,10 @@ version.h
/.project /.project
/.cproject /.cproject
/.settings/ /.settings/
# cygwin
*.exe
*.exe.manifest
# clang
.qtc_clangd
...@@ -5,22 +5,22 @@ variables: ...@@ -5,22 +5,22 @@ variables:
DOCKER_DRIVER: overlay2 DOCKER_DRIVER: overlay2
GIT_SUBMODULE_STRATEGY: recursive GIT_SUBMODULE_STRATEGY: recursive
DISTROTEST_PRIORITY: 6 DISTROTEST_PRIORITY: 6
PKGTEST: 0
stages: stages:
- image - image
- build - build
- test - test
- pkg
- documentation - documentation
- deploy
- deploy-test
.image: &image .image: &image
stage: image stage: image
before_script: before_script:
- docker info - docker info
script: script:
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN $CI_REGISTRY - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker build --no-cache -t "$IMAGE_TAG" "scripts/docker/$IMAGE_NAME" - docker build --no-cache -t "$IMAGE_TAG" "scripts/docker/$IMAGE_NAME-$IMAGE_VER"
- docker push "$IMAGE_TAG" - docker push "$IMAGE_TAG"
tags: tags:
- dind - dind
...@@ -31,32 +31,62 @@ stages: ...@@ -31,32 +31,62 @@ stages:
docker:knot-dns:debian: docker:knot-dns:debian:
<<: *image <<: *image
variables: variables:
IMAGE_NAME: debian:latest IMAGE_NAME: debian
IMAGE_TAG: $CI_REGISTRY_IMAGE/$IMAGE_NAME IMAGE_VER: latest
IMAGE_TAG: $CI_REGISTRY_IMAGE/$IMAGE_NAME:$IMAGE_VER
tags:
- dind
- amd64
docker:knot-dns:debian-arm64:
<<: *image
variables:
IMAGE_NAME: debian
IMAGE_VER: latest
IMAGE_TAG: $CI_REGISTRY_IMAGE/$IMAGE_NAME-arm64:$IMAGE_VER
tags:
- dind
- arm64
docker:knot-dns:debian:unstable: docker:knot-dns:debian:unstable:
<<: *image <<: *image
variables: variables:
IMAGE_NAME: debian:unstable IMAGE_NAME: debian
IMAGE_TAG: $CI_REGISTRY_IMAGE/$IMAGE_NAME IMAGE_VER: unstable
IMAGE_TAG: $CI_REGISTRY_IMAGE/$IMAGE_NAME:$IMAGE_VER
tags:
- dind
- amd64
docker:knot-dns:ubuntu: docker:knot-dns:ubuntu:
<<: *image <<: *image
variables: variables:
IMAGE_NAME: ubuntu:latest IMAGE_NAME: ubuntu
IMAGE_TAG: $CI_REGISTRY_IMAGE/$IMAGE_NAME IMAGE_VER: latest
IMAGE_TAG: $CI_REGISTRY_IMAGE/$IMAGE_NAME:$IMAGE_VER
tags:
- dind
- amd64
docker:knot-dns:centos: docker:knot-dns:rocky:
<<: *image <<: *image
variables: variables:
IMAGE_NAME: centos:latest IMAGE_NAME: rocky
IMAGE_TAG: $CI_REGISTRY_IMAGE/$IMAGE_NAME IMAGE_VER: latest
IMAGE_TAG: $CI_REGISTRY_IMAGE/$IMAGE_NAME:$IMAGE_VER
tags:
- dind
- amd64
docker:knot-dns:fedora: docker:knot-dns:fedora:
<<: *image <<: *image
variables: variables:
IMAGE_NAME: fedora:latest IMAGE_NAME: fedora
IMAGE_TAG: $CI_REGISTRY_IMAGE/$IMAGE_NAME IMAGE_VER: latest
IMAGE_TAG: $CI_REGISTRY_IMAGE/$IMAGE_NAME:$IMAGE_VER
tags:
- dind
- amd64
.fedora_latest: &fedora_latest .fedora_latest: &fedora_latest
image: "$CI_REGISTRY/knot/knot-dns/fedora:latest" image: "$CI_REGISTRY/knot/knot-dns/fedora:latest"
...@@ -67,9 +97,8 @@ docker:knot-dns:fedora: ...@@ -67,9 +97,8 @@ docker:knot-dns:fedora:
except: except:
- schedules - schedules
.rocky_latest: &rocky_latest
.centos_latest: &centos_latest image: "$CI_REGISTRY/knot/knot-dns/rocky:latest"
image: "$CI_REGISTRY/knot/knot-dns/centos:latest"
tags: tags:
- docker - docker
- linux - linux
...@@ -86,6 +115,15 @@ docker:knot-dns:fedora: ...@@ -86,6 +115,15 @@ docker:knot-dns:fedora:
except: except:
- schedules - schedules
.debian_stable_arm64: &debian_stable_arm64
image: "$CI_REGISTRY/knot/knot-dns/debian-arm64:latest"
tags:
- docker
- linux
- arm64
except:
- schedules
.debian_unstable: &debian_unstable .debian_unstable: &debian_unstable
image: "$CI_REGISTRY/knot/knot-dns/debian:unstable" image: "$CI_REGISTRY/knot/knot-dns/debian:unstable"
tags: tags:
...@@ -108,8 +146,8 @@ docker:knot-dns:fedora: ...@@ -108,8 +146,8 @@ docker:knot-dns:fedora:
stage: build stage: build
script: script:
- autoreconf -fi - autoreconf -fi
- ./configure --disable-fastparser $EXTRA_CONFIGURE || ( cat config.log && exit 1 ) - ./configure --disable-fastparser --enable-quic $EXTRA_CONFIGURE || ( cat config.log && exit 1 )
- make -k all V=1 - make all V=1
artifacts: artifacts:
untracked: true untracked: true
expire_in: '1 hour' expire_in: '1 hour'
...@@ -121,24 +159,10 @@ docker:knot-dns:fedora: ...@@ -121,24 +159,10 @@ docker:knot-dns:fedora:
before_script: before_script:
- find -exec touch -t $(date +%m%d%H%M) {} \; - find -exec touch -t $(date +%m%d%H%M) {} \;
script: script:
- make -k check V=1 - make check V=1
except: except:
- schedules - schedules
.pkg_symbols: &pkg_symbols
stage: test
script:
- ln -s distro/pkg/deb debian
- sed -i "s/{{ version }}/99/g" distro/pkg/deb/changelog
- sed -i "s/{{ release }}/1/g" distro/pkg/deb/changelog
- dpkg-gensymbols -c4 -esrc/.libs/$LIB_NAME.so.$LIB_ABI -P. -p$LIB_NAME$LIB_ABI
allow_failure: true
except:
only:
- schedules
dependencies:
- build:debian:amd64
build:fedora:amd64: build:fedora:amd64:
<<: *fedora_latest <<: *fedora_latest
<<: *build_job <<: *build_job
...@@ -149,15 +173,15 @@ test:fedora:amd64: ...@@ -149,15 +173,15 @@ test:fedora:amd64:
dependencies: dependencies:
- build:fedora:amd64 - build:fedora:amd64
build:centos:amd64: build:rocky:amd64:
<<: *centos_latest <<: *rocky_latest
<<: *build_job <<: *build_job
test:centos:amd64: test:rocky:amd64:
<<: *centos_latest <<: *rocky_latest
<<: *test_job <<: *test_job
dependencies: dependencies:
- build:centos:amd64 - build:rocky:amd64
build:ubuntu:amd64: build:ubuntu:amd64:
<<: *ubuntu_latest <<: *ubuntu_latest
...@@ -182,26 +206,15 @@ test:debian:amd64: ...@@ -182,26 +206,15 @@ test:debian:amd64:
dependencies: dependencies:
- build:debian:amd64 - build:debian:amd64
pkg:debian:symbols:libknot: build:debian:arm64:
variables: <<: *debian_stable_arm64
LIB_NAME: libknot <<: *build_job
LIB_ABI: 12
<<: *debian_stable
<<: *pkg_symbols
pkg:debian:symbols:libdnssec:
variables:
LIB_NAME: libdnssec
LIB_ABI: 8
<<: *debian_stable
<<: *pkg_symbols
pkg:debian:symbols:libzscanner: test:debian:arm64:
variables: <<: *debian_stable_arm64
LIB_NAME: libzscanner <<: *test_job
LIB_ABI: 4 dependencies:
<<: *debian_stable - build:debian:arm64
<<: *pkg_symbols
build:debian:unstable:amd64: build:debian:unstable:amd64:
<<: *debian_unstable <<: *debian_unstable
...@@ -265,7 +278,8 @@ build:archive: ...@@ -265,7 +278,8 @@ build:archive:
- mkdir _build - mkdir _build
- cd _build - cd _build
- ../configure - ../configure
- make distcheck V=1 - make distcheck V=1 DISTCHECK_CONFIGURE_FLAGS="--disable-static" -j2
- make html singlehtml
only: only:
- master - master
- tags - tags
...@@ -275,25 +289,22 @@ build:archive: ...@@ -275,25 +289,22 @@ build:archive:
artifacts: artifacts:
paths: paths:
- _build/*.tar.xz - _build/*.tar.xz
- _build/doc/_build/html
- _build/doc/_build/singlehtml
obs:trigger: pages:
<<: *debian_stable stage: documentation
stage: deploy needs:
only:
variables:
- $OBS_REPO
except: []
dependencies:
- build:archive - build:archive
environment:
name: OBS/$OBS_REPO
url: https://build.opensuse.org/package/show/home:CZ-NIC:$OBS_REPO/knot
tags:
- respdiff
script: script:
- mv _build/*.tar.xz ./ - mkdir -p public/master
- scripts/make-distrofiles.sh - mv _build/doc/_build/html public/master/html
- scripts/build-in-obs.sh $OBS_REPO - mv _build/doc/_build/singlehtml public/master/singlehtml
only:
- master
artifacts:
paths:
- public
build:documentation: build:documentation:
<<: *debian_stable <<: *debian_stable
...@@ -313,125 +324,97 @@ build:documentation: ...@@ -313,125 +324,97 @@ build:documentation:
- doc/_build/epub/KnotDNS.epub - doc/_build/epub/KnotDNS.epub
expire_in: '1 hour' expire_in: '1 hour'
.deploytest: &deploytest # packaging tests using apkg
stage: deploy-test
.apkg_image: &apkg_image
# apkg images use LC_ALL=C.UTF-8
variables:
LC_ALL: C.UTF-8
.pkg_test: &pkg_test
<<: *apkg_image
stage: pkg
needs:
- pkg:make-archive
only: only:
variables: variables:
- $OBS_REPO =~ /^knot-dns-devel|knot-dns-latest|knot-dns-testing$/ - $PKGTEST == "1"
dependencies: [] artifacts:
when: delayed paths:
start_in: 3 minutes # give OBS build some time - pkg/
tags: expire_in: '1 week'
- respdiff
obs:build:all:
<<: *deploytest
allow_failure: true
script:
- "osc results home:CZ-NIC:$OBS_REPO knot -w"
- version=$(sed 's/^v//' <(git describe --exact-match HEAD || git rev-parse --short HEAD) )
- > # check version only for one (reliable) repo to avoid false negatives
! osc ls -b home:CZ-NIC:$OBS_REPO knot Debian_9.0 x86_64 | \
grep -E '(rpm|deb|tar\.xz)$' | grep -v $version || \
(echo "ERROR: version mismatch"; exit 1)
- >
! osc results home:CZ-NIC:$OBS_REPO knot --csv | \
grep -Ev 'disabled|excluded|Rawhide' | grep -v 'succeeded' -q || \
(echo "ERROR: build(s) failed"; exit 1)
.distrotest: &distrotest
<<: *deploytest
script: script:
- "osc results home:CZ-NIC:$OBS_REPO knot -a x86_64 -r $DISTROTEST_REPO -w" - python3 -m pip install git+https://gitlab.nic.cz/packaging/apkg.git
- > # make sure the archive from pkg:make-archive is available
osc results home:CZ-NIC:$OBS_REPO knot -a x86_64 -r $DISTROTEST_REPO --csv | grep 'succeeded|$' -q || \ - apkg info cache | grep archive/dev
(echo "ERROR: build failed"; exit 1) - apkg install --build-dep
- export LABEL="gl$(date +%s)_$OBS_REPO" - apkg test --test-dep
- export COMMITDIR="/var/tmp/respdiff-jobs/$(git rev-parse --short HEAD)-$LABEL"
- export TESTDIR="$COMMITDIR/distrotest.$DISTROTEST_NAME" .pkg_test_deb: &pkg_test_deb
- ln -s $COMMITDIR distrotest_commitdir <<: *pkg_test
- sudo -u respdiff /var/opt/respdiff/contrib/job_manager/submit.py -w before_script:
-p $DISTROTEST_PRIORITY - apt update
$(sudo -u respdiff /var/opt/respdiff/contrib/job_manager/create.py
"$(git rev-parse --short HEAD)" -l $LABEL -t distrotest.$DISTROTEST_NAME pkg:make-archive:
--package knot-dns --obs-repo $OBS_REPO) # archive is created once and reused in other pkg jobs
- export EXITCODE=$(cat $TESTDIR/j*_exitcode) <<: *apkg_image
- if [[ "$EXITCODE" != "0" ]]; then cat $TESTDIR/j*_{vagrant.log.txt,stdout.txt}; fi stage: pkg
- exit $EXITCODE needs:
after_script: - build:debian:amd64
- 'cp -t . distrotest_commitdir/distrotest.$DISTROTEST_NAME/j* ||:' only:
variables:
- $PKGTEST == "1"
image: $CI_REGISTRY/packaging/apkg/test/debian-12
artifacts: artifacts:
when: always
expire_in: 1 week
paths: paths:
- ./j* - pkg/
retry: before_script:
max: 1 - apt update
when: script:
- script_failure - python3 -m pip install apkg
- apkg build-dep
obs:centos7:x86_64: - apkg make-archive
<<: *distrotest
variables:
DISTROTEST_NAME: centos7
DISTROTEST_REPO: CentOS_7_EPEL
obs:centos8:x86_64: pkg:debian-13:
<<: *distrotest <<: *pkg_test_deb
variables: image: $CI_REGISTRY/packaging/apkg/test/debian-13
DISTROTEST_NAME: centos8
DISTROTEST_REPO: CentOS_8_EPEL
obs:debian9:x86_64: pkg:debian-12:
<<: *distrotest <<: *pkg_test_deb
variables: image: $CI_REGISTRY/packaging/apkg/test/debian-12
DISTROTEST_NAME: debian9
DISTROTEST_REPO: Debian_9.0
obs:debian10:x86_64: pkg:debian-11:
<<: *distrotest <<: *pkg_test_deb
variables: image: $CI_REGISTRY/packaging/apkg/test/debian-11
DISTROTEST_NAME: debian10
DISTROTEST_REPO: Debian_10
obs:debian11:x86_64: pkg:ubuntu-24.04:
<<: *distrotest <<: *pkg_test_deb
variables: image: $CI_REGISTRY/packaging/apkg/test/ubuntu-24.04
DISTROTEST_NAME: debian11
DISTROTEST_REPO: Debian_11
obs:fedora34:x86_64: pkg:ubuntu-22.04:
<<: *distrotest <<: *pkg_test_deb
variables: image: $CI_REGISTRY/packaging/apkg/test/ubuntu-22.04
DISTROTEST_NAME: fedora34
DISTROTEST_REPO: Fedora_34
obs:fedora35:x86_64: pkg:ubuntu-20.04:
<<: *distrotest <<: *pkg_test_deb
variables: image: $CI_REGISTRY/packaging/apkg/test/ubuntu-20.04
DISTROTEST_NAME: fedora35
DISTROTEST_REPO: Fedora_35
obs:leap15:x86_64: pkg:fedora-41:
<<: *distrotest <<: *pkg_test
variables: image: $CI_REGISTRY/packaging/apkg/test/fedora-41
DISTROTEST_NAME: leap15
DISTROTEST_REPO: openSUSE_Leap_15.3
obs:ubuntu1804:x86_64: pkg:fedora-40:
<<: *distrotest <<: *pkg_test
variables: image: $CI_REGISTRY/packaging/apkg/test/fedora-40
DISTROTEST_NAME: ubuntu1804
DISTROTEST_REPO: xUbuntu_18.04
obs:ubuntu2004:x86_64: pkg:alma-9:
<<: *distrotest <<: *pkg_test
variables: image: $CI_REGISTRY/packaging/apkg/test/alma-9
DISTROTEST_NAME: ubuntu2004
DISTROTEST_REPO: xUbuntu_20.04
obs:ubuntu2110:x86_64: pkg:rocky-8:
<<: *distrotest <<: *pkg_test
variables: image: $CI_REGISTRY/packaging/apkg/test/rocky-8
DISTROTEST_NAME: ubuntu2110
DISTROTEST_REPO: xUbuntu_21.10 pkg:opensuse-15.6:
<<: *pkg_test
image: $CI_REGISTRY/packaging/apkg/test/opensuse-15.6
## Intermediate stage ## ## Intermediate stage ##
FROM debian:bullseye-slim FROM debian:bookworm-slim AS builder
# Environment # Environment
ENV BUILD_PKGS \ ENV BUILD_PKGS \
...@@ -8,17 +8,20 @@ ENV BUILD_PKGS \ ...@@ -8,17 +8,20 @@ ENV BUILD_PKGS \
gcc \ gcc \
libbpf-dev \ libbpf-dev \
libedit-dev \ libedit-dev \
libelf-dev \
libfstrm-dev \ libfstrm-dev \
libgnutls28-dev \ libgnutls28-dev \
libidn2-0-dev \ libidn2-dev \
liblmdb-dev \ liblmdb-dev \
libmaxminddb-dev \ libmaxminddb-dev \
libmnl-dev \ libmnl-dev \
libnghttp2-dev \ libnghttp2-dev \
libngtcp2-crypto-gnutls-dev \
libngtcp2-dev \
libprotobuf-c-dev \ libprotobuf-c-dev \
libsystemd-dev \
libtool \ libtool \
liburcu-dev \ liburcu-dev \
libxdp-dev \
make \ make \
pkg-config \ pkg-config \
protobuf-c-compiler protobuf-c-compiler
...@@ -32,13 +35,14 @@ COPY . /knot-src ...@@ -32,13 +35,14 @@ COPY . /knot-src
WORKDIR /knot-src WORKDIR /knot-src
ARG FASTPARSER=disable ARG FASTPARSER=disable
RUN autoreconf -if && \ RUN autoreconf -if && \
CFLAGS="-g -O2 -DNDEBUG -D_FORTIFY_SOURCE=2 -fstack-protector-strong" \ CFLAGS="-g -O2 -DNDEBUG -D_FORTIFY_SOURCE=3 -fstack-protector-strong" \
./configure --prefix=/ \ ./configure --prefix=/ \
--with-rundir=/rundir \ --with-rundir=/rundir \
--with-storage=/storage \ --with-storage=/storage \
--with-configdir=/config \ --with-configdir=/config \
--with-module-dnstap=yes \ --with-module-dnstap=yes \
--${FASTPARSER}-fastparser \ --${FASTPARSER}-fastparser \
--enable-quic \
--enable-dnstap \ --enable-dnstap \
--disable-static \ --disable-static \
--disable-documentation && \ --disable-documentation && \
...@@ -50,14 +54,14 @@ RUN if [ "$CHECK" = "enable" ]; then make -j$(grep -c ^processor /proc/cpuinfo) ...@@ -50,14 +54,14 @@ RUN if [ "$CHECK" = "enable" ]; then make -j$(grep -c ^processor /proc/cpuinfo)
make install DESTDIR=/tmp/knot-install make install DESTDIR=/tmp/knot-install
## Final stage ## ## Final stage ##
FROM debian:bullseye-slim FROM debian:bookworm-slim
MAINTAINER Knot DNS <knot-dns@labs.nic.cz> LABEL maintainer="Knot DNS <knot-dns@labs.nic.cz>"
# Environment # Environment
ENV RUNTIME_PKGS \ ENV RUNTIME_PKGS \
libbpf0 \ dbus \
libbpf1 \
libedit2 \ libedit2 \
libelf1 \
libfstrm0 \ libfstrm0 \
libgnutls30 \ libgnutls30 \
libidn2-0 \ libidn2-0 \
...@@ -65,21 +69,39 @@ ENV RUNTIME_PKGS \ ...@@ -65,21 +69,39 @@ ENV RUNTIME_PKGS \
libmaxminddb0 \ libmaxminddb0 \
libmnl0 \ libmnl0 \
libnghttp2-14 \ libnghttp2-14 \
libngtcp2-crypto-gnutls2 \
libngtcp2-9 \
libprotobuf-c1 \ libprotobuf-c1 \
liburcu6 liburcu8 \
libxdp1
# Copy artifacts # Install dependencies and create knot user and group
COPY --from=0 /tmp/knot-install/ / ARG UID=53
# Install dependencies
RUN apt-get update && \ RUN apt-get update && \
apt-get install -yqq ${RUNTIME_PKGS} && \ apt-get install -yqq ${RUNTIME_PKGS} adduser && \
rm -rf /var/lib/apt/lists/* && \ rm -rf /var/lib/apt/lists/* && \
ldconfig ldconfig && \
adduser --quiet --system --group --no-create-home --home /storage --uid=${UID} knot && \
install -o knot -g knot -d /config /rundir /storage
# Copy artifacts
# `COPY --from=builder /tmp/knot-install/ /` doesn't work with DOCKER_BUILDKIT=1 under buildx
COPY --from=builder /tmp/knot-install/bin/ /bin/
COPY --from=builder /tmp/knot-install/config/ /config/
COPY --from=builder /tmp/knot-install/include/ /include/
COPY --from=builder /tmp/knot-install/lib/ /lib/
COPY --from=builder /tmp/knot-install/sbin/ /sbin/
# Prepare configurations for optional D-Bus signaling
COPY --from=builder /knot-src/distro/common/system-local.conf /etc/dbus-1/
COPY --from=builder /knot-src/distro/common/cz.nic.knotd.conf /usr/share/dbus-1/system.d/
RUN mkdir -p /run/dbus
# Expose port # Expose port
EXPOSE 53/UDP EXPOSE 53/UDP
EXPOSE 53/TCP EXPOSE 53/TCP
EXPOSE 853/UDP
EXPOSE 853/TCP
# Prepare shared directories # Prepare shared directories
VOLUME /config VOLUME /config
......
This diff is collapsed.
src/contrib/asan.h src/contrib/asan.h
src/contrib/atomic.h
src/contrib/base32hex.c src/contrib/base32hex.c
src/contrib/base32hex.h src/contrib/base32hex.h
src/contrib/base64.c src/contrib/base64.c
...@@ -23,50 +24,107 @@ src/contrib/files.c ...@@ -23,50 +24,107 @@ src/contrib/files.c
src/contrib/files.h src/contrib/files.h
src/contrib/getline.c src/contrib/getline.c
src/contrib/getline.h src/contrib/getline.h
src/contrib/libbpf/bpf/bpf.c src/contrib/json.c
src/contrib/libbpf/bpf/bpf.h src/contrib/json.h
src/contrib/libbpf/bpf/bpf_core_read.h src/contrib/libngtcp2/ngtcp2/crypto/gnutls.c
src/contrib/libbpf/bpf/bpf_endian.h src/contrib/libngtcp2/ngtcp2/crypto/shared.c
src/contrib/libbpf/bpf/bpf_helper_defs.h src/contrib/libngtcp2/ngtcp2/crypto/shared.h
src/contrib/libbpf/bpf/bpf_helpers.h src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_acktr.c
src/contrib/libbpf/bpf/bpf_prog_linfo.c src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_acktr.h
src/contrib/libbpf/bpf/bpf_tracing.h src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_addr.c
src/contrib/libbpf/bpf/btf.c src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_dcidtr.c
src/contrib/libbpf/bpf/btf.h src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_dcidtr.h
src/contrib/libbpf/bpf/btf_dump.c src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_addr.h
src/contrib/libbpf/bpf/hashmap.c src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_balloc.c
src/contrib/libbpf/bpf/hashmap.h src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_balloc.h
src/contrib/libbpf/bpf/libbpf.c src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_bbr.c
src/contrib/libbpf/bpf/libbpf.h src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_bbr.h
src/contrib/libbpf/bpf/libbpf_errno.c src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_buf.c
src/contrib/libbpf/bpf/libbpf_internal.h src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_buf.h
src/contrib/libbpf/bpf/libbpf_probes.c src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_cc.c
src/contrib/libbpf/bpf/libbpf_util.h src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_cc.h
src/contrib/libbpf/bpf/netlink.c src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_cid.c
src/contrib/libbpf/bpf/nlattr.c src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_cid.h
src/contrib/libbpf/bpf/nlattr.h src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_conn.c
src/contrib/libbpf/bpf/str_error.c src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_conn.h
src/contrib/libbpf/bpf/str_error.h src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_conn_stat.h
src/contrib/libbpf/bpf/xsk.c src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_conv.c
src/contrib/libbpf/bpf/xsk.h src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_conv.h
src/contrib/libbpf/include/asm/barrier.h src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_crypto.c
src/contrib/libbpf/include/linux/compiler.h src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_crypto.h
src/contrib/libbpf/include/linux/err.h src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_err.c
src/contrib/libbpf/include/linux/filter.h src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_err.h
src/contrib/libbpf/include/linux/kernel.h src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_frame_chain.c
src/contrib/libbpf/include/linux/list.h src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_frame_chain.h
src/contrib/libbpf/include/linux/overflow.h src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_gaptr.c
src/contrib/libbpf/include/linux/ring_buffer.h src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_gaptr.h
src/contrib/libbpf/include/linux/types.h src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_idtr.c
src/contrib/libbpf/include/uapi/linux/bpf.h src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_idtr.h
src/contrib/libbpf/include/uapi/linux/bpf_common.h src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_ksl.c
src/contrib/libbpf/include/uapi/linux/btf.h src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_ksl.h
src/contrib/libbpf/include/uapi/linux/if_link.h src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_log.c
src/contrib/libbpf/include/uapi/linux/if_xdp.h src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_log.h
src/contrib/libbpf/include/uapi/linux/netlink.h src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_macro.h
src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_map.c
src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_map.h
src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_mem.c
src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_mem.h
src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_net.h
src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_objalloc.c
src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_objalloc.h
src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_opl.c
src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_opl.h
src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_path.c
src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_path.h
src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_pkt.c
src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_pkt.h
src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_pktns_id.h
src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_pmtud.c
src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_pmtud.h
src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_ppe.c
src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_ppe.h
src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_pq.c
src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_pq.h
src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_pv.c
src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_pv.h
src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_qlog.c
src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_qlog.h
src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_range.c
src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_range.h
src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_rcvry.h
src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_ringbuf.c
src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_ringbuf.h
src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_rob.c
src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_rob.h
src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_rst.c
src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_rst.h
src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_rtb.c
src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_rtb.h
src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_settings.c
src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_settings.h
src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_str.c
src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_str.h
src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_strm.c
src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_strm.h
src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_transport_params.c
src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_transport_params.h
src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_tstamp.h
src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_unreachable.c
src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_unreachable.h
src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_vec.c
src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_vec.h
src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_version.c
src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_window_filter.c
src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_window_filter.h
src/contrib/libngtcp2/ngtcp2/ngtcp2.h
src/contrib/libngtcp2/ngtcp2/ngtcp2_crypto.h
src/contrib/libngtcp2/ngtcp2/ngtcp2_crypto_gnutls.h
src/contrib/libngtcp2/ngtcp2/version.h
src/contrib/macros.h src/contrib/macros.h
src/contrib/mempattern.c src/contrib/mempattern.c
src/contrib/mempattern.h src/contrib/mempattern.h
src/contrib/musl/inet_ntop.c
src/contrib/musl/inet_ntop.h
src/contrib/net.c src/contrib/net.c
src/contrib/net.h src/contrib/net.h
src/contrib/openbsd/siphash.c src/contrib/openbsd/siphash.c
...@@ -76,6 +134,8 @@ src/contrib/openbsd/strlcat.h ...@@ -76,6 +134,8 @@ src/contrib/openbsd/strlcat.h
src/contrib/openbsd/strlcpy.c src/contrib/openbsd/strlcpy.c
src/contrib/openbsd/strlcpy.h src/contrib/openbsd/strlcpy.h
src/contrib/os.h src/contrib/os.h
src/contrib/proxyv2/proxyv2.c
src/contrib/proxyv2/proxyv2.h
src/contrib/qp-trie/trie.c src/contrib/qp-trie/trie.c
src/contrib/qp-trie/trie.h src/contrib/qp-trie/trie.h
src/contrib/semaphore.c src/contrib/semaphore.c
...@@ -86,12 +146,14 @@ src/contrib/spinlock.h ...@@ -86,12 +146,14 @@ src/contrib/spinlock.h
src/contrib/string.c src/contrib/string.c
src/contrib/string.h src/contrib/string.h
src/contrib/strtonum.h src/contrib/strtonum.h
src/contrib/threads.c
src/contrib/threads.h
src/contrib/time.c src/contrib/time.c
src/contrib/time.h src/contrib/time.h
src/contrib/toeplitz.h
src/contrib/tolower.h src/contrib/tolower.h
src/contrib/trim.h src/contrib/trim.h
src/contrib/ucw/array-sort.h src/contrib/ucw/array-sort.h
src/contrib/ucw/binsearch.h
src/contrib/ucw/heap.c src/contrib/ucw/heap.c
src/contrib/ucw/heap.h src/contrib/ucw/heap.h
src/contrib/ucw/lists.c src/contrib/ucw/lists.c
...@@ -111,6 +173,8 @@ src/knot/catalog/generate.c ...@@ -111,6 +173,8 @@ src/knot/catalog/generate.c
src/knot/catalog/generate.h src/knot/catalog/generate.h
src/knot/catalog/interpret.c src/knot/catalog/interpret.c
src/knot/catalog/interpret.h src/knot/catalog/interpret.h
src/knot/common/dbus.c
src/knot/common/dbus.h
src/knot/common/evsched.c src/knot/common/evsched.c
src/knot/common/evsched.h src/knot/common/evsched.h
src/knot/common/fdset.c src/knot/common/fdset.c
...@@ -182,6 +246,7 @@ src/knot/events/events.c ...@@ -182,6 +246,7 @@ src/knot/events/events.c
src/knot/events/events.h src/knot/events/events.h
src/knot/events/handlers.h src/knot/events/handlers.h
src/knot/events/handlers/backup.c src/knot/events/handlers/backup.c
src/knot/events/handlers/dnskey_sync.c
src/knot/events/handlers/dnssec.c src/knot/events/handlers/dnssec.c
src/knot/events/handlers/ds_check.c src/knot/events/handlers/ds_check.c
src/knot/events/handlers/ds_push.c src/knot/events/handlers/ds_push.c
...@@ -192,6 +257,7 @@ src/knot/events/handlers/load.c ...@@ -192,6 +257,7 @@ src/knot/events/handlers/load.c
src/knot/events/handlers/notify.c src/knot/events/handlers/notify.c
src/knot/events/handlers/refresh.c src/knot/events/handlers/refresh.c
src/knot/events/handlers/update.c src/knot/events/handlers/update.c
src/knot/events/handlers/validate.c
src/knot/events/replan.c src/knot/events/replan.c
src/knot/events/replan.h src/knot/events/replan.h
src/knot/include/module.h src/knot/include/module.h
...@@ -207,6 +273,7 @@ src/knot/journal/knot_lmdb.c ...@@ -207,6 +273,7 @@ src/knot/journal/knot_lmdb.c
src/knot/journal/knot_lmdb.h src/knot/journal/knot_lmdb.h
src/knot/journal/serialization.c src/knot/journal/serialization.c
src/knot/journal/serialization.h src/knot/journal/serialization.h
src/knot/modules/authsignal/authsignal.c
src/knot/modules/cookies/cookies.c src/knot/modules/cookies/cookies.c
src/knot/modules/dnsproxy/dnsproxy.c src/knot/modules/dnsproxy/dnsproxy.c
src/knot/modules/dnstap/dnstap.c src/knot/modules/dnstap/dnstap.c
...@@ -221,6 +288,10 @@ src/knot/modules/probe/probe.c ...@@ -221,6 +288,10 @@ src/knot/modules/probe/probe.c
src/knot/modules/queryacl/queryacl.c src/knot/modules/queryacl/queryacl.c
src/knot/modules/rrl/functions.c src/knot/modules/rrl/functions.c
src/knot/modules/rrl/functions.h src/knot/modules/rrl/functions.h
src/knot/modules/rrl/kru-avx2.c
src/knot/modules/rrl/kru-generic.c
src/knot/modules/rrl/kru.h
src/knot/modules/rrl/kru.inc.c
src/knot/modules/rrl/rrl.c src/knot/modules/rrl/rrl.c
src/knot/modules/stats/stats.c src/knot/modules/stats/stats.c
src/knot/modules/synthrecord/synthrecord.c src/knot/modules/synthrecord/synthrecord.c
...@@ -253,10 +324,20 @@ src/knot/query/capture.h ...@@ -253,10 +324,20 @@ src/knot/query/capture.h
src/knot/query/layer.h src/knot/query/layer.h
src/knot/query/query.c src/knot/query/query.c
src/knot/query/query.h src/knot/query/query.h
src/knot/query/quic-requestor.c
src/knot/query/quic-requestor.h
src/knot/query/requestor.c src/knot/query/requestor.c
src/knot/query/requestor.h src/knot/query/requestor.h
src/knot/query/tls-requestor.c
src/knot/query/tls-requestor.h
src/knot/server/dthreads.c src/knot/server/dthreads.c
src/knot/server/dthreads.h src/knot/server/dthreads.h
src/knot/server/handler.c
src/knot/server/handler.h
src/knot/server/proxyv2.c
src/knot/server/proxyv2.h
src/knot/server/quic-handler.c
src/knot/server/quic-handler.h
src/knot/server/server.c src/knot/server/server.c
src/knot/server/server.h src/knot/server/server.h
src/knot/server/tcp-handler.c src/knot/server/tcp-handler.c
...@@ -295,10 +376,14 @@ src/knot/zone/measure.c ...@@ -295,10 +376,14 @@ src/knot/zone/measure.c
src/knot/zone/measure.h src/knot/zone/measure.h
src/knot/zone/node.c src/knot/zone/node.c
src/knot/zone/node.h src/knot/zone/node.h
src/knot/zone/reverse.c
src/knot/zone/reverse.h
src/knot/zone/semantic-check.c src/knot/zone/semantic-check.c
src/knot/zone/semantic-check.h src/knot/zone/semantic-check.h
src/knot/zone/serial.c src/knot/zone/serial.c
src/knot/zone/serial.h src/knot/zone/serial.h
src/knot/zone/skip.c
src/knot/zone/skip.h
src/knot/zone/timers.c src/knot/zone/timers.c
src/knot/zone/timers.h src/knot/zone/timers.h
src/knot/zone/zone-diff.c src/knot/zone/zone-diff.c
...@@ -358,6 +443,7 @@ src/libdnssec/pem.c ...@@ -358,6 +443,7 @@ src/libdnssec/pem.c
src/libdnssec/pem.h src/libdnssec/pem.h
src/libdnssec/random.c src/libdnssec/random.c
src/libdnssec/random.h src/libdnssec/random.h
src/libdnssec/sample_keys.h
src/libdnssec/shared/bignum.c src/libdnssec/shared/bignum.c
src/libdnssec/shared/bignum.h src/libdnssec/shared/bignum.h
src/libdnssec/shared/binary_wire.h src/libdnssec/shared/binary_wire.h
...@@ -407,6 +493,14 @@ src/libknot/probe/data.c ...@@ -407,6 +493,14 @@ src/libknot/probe/data.c
src/libknot/probe/data.h src/libknot/probe/data.h
src/libknot/probe/probe.c src/libknot/probe/probe.c
src/libknot/probe/probe.h src/libknot/probe/probe.h
src/libknot/quic/quic.c
src/libknot/quic/quic.h
src/libknot/quic/quic_conn.c
src/libknot/quic/quic_conn.h
src/libknot/quic/tls.c
src/libknot/quic/tls.h
src/libknot/quic/tls_common.c
src/libknot/quic/tls_common.h
src/libknot/rdata.h src/libknot/rdata.h
src/libknot/rdataset.c src/libknot/rdataset.c
src/libknot/rdataset.h src/libknot/rdataset.h
...@@ -470,8 +564,6 @@ src/libzscanner/functions.h ...@@ -470,8 +564,6 @@ src/libzscanner/functions.h
src/libzscanner/scanner.h src/libzscanner/scanner.h
src/libzscanner/scanner.rl src/libzscanner/scanner.rl
src/libzscanner/scanner_body.rl src/libzscanner/scanner_body.rl
src/utils/common/cert.c
src/utils/common/cert.h
src/utils/common/exec.c src/utils/common/exec.c
src/utils/common/exec.h src/utils/common/exec.h
src/utils/common/hex.c src/utils/common/hex.c
...@@ -486,10 +578,14 @@ src/utils/common/netio.c ...@@ -486,10 +578,14 @@ src/utils/common/netio.c
src/utils/common/netio.h src/utils/common/netio.h
src/utils/common/params.c src/utils/common/params.c
src/utils/common/params.h src/utils/common/params.h
src/utils/common/quic.c
src/utils/common/quic.h
src/utils/common/resolv.c src/utils/common/resolv.c
src/utils/common/resolv.h src/utils/common/resolv.h
src/utils/common/sign.c src/utils/common/sign.c
src/utils/common/sign.h src/utils/common/sign.h
src/utils/common/signal.c
src/utils/common/signal.h
src/utils/common/tls.c src/utils/common/tls.c
src/utils/common/tls.h src/utils/common/tls.h
src/utils/common/token.c src/utils/common/token.c
...@@ -506,6 +602,8 @@ src/utils/keymgr/bind_privkey.c ...@@ -506,6 +602,8 @@ src/utils/keymgr/bind_privkey.c
src/utils/keymgr/bind_privkey.h src/utils/keymgr/bind_privkey.h
src/utils/keymgr/functions.c src/utils/keymgr/functions.c
src/utils/keymgr/functions.h src/utils/keymgr/functions.h
src/utils/keymgr/keystore.c
src/utils/keymgr/keystore.h
src/utils/keymgr/main.c src/utils/keymgr/main.c
src/utils/keymgr/offline_ksk.c src/utils/keymgr/offline_ksk.c
src/utils/keymgr/offline_ksk.h src/utils/keymgr/offline_ksk.h
...@@ -524,6 +622,8 @@ src/utils/knotd/main.c ...@@ -524,6 +622,8 @@ src/utils/knotd/main.c
src/utils/knsec3hash/knsec3hash.c src/utils/knsec3hash/knsec3hash.c
src/utils/knsupdate/knsupdate_exec.c src/utils/knsupdate/knsupdate_exec.c
src/utils/knsupdate/knsupdate_exec.h src/utils/knsupdate/knsupdate_exec.h
src/utils/knsupdate/knsupdate_interactive.c
src/utils/knsupdate/knsupdate_interactive.h
src/utils/knsupdate/knsupdate_main.c src/utils/knsupdate/knsupdate_main.c
src/utils/knsupdate/knsupdate_params.c src/utils/knsupdate/knsupdate_params.c
src/utils/knsupdate/knsupdate_params.h src/utils/knsupdate/knsupdate_params.h
...@@ -532,6 +632,9 @@ src/utils/kxdpgun/ip_route.h ...@@ -532,6 +632,9 @@ src/utils/kxdpgun/ip_route.h
src/utils/kxdpgun/load_queries.c src/utils/kxdpgun/load_queries.c
src/utils/kxdpgun/load_queries.h src/utils/kxdpgun/load_queries.h
src/utils/kxdpgun/main.c src/utils/kxdpgun/main.c
src/utils/kxdpgun/main.h
src/utils/kxdpgun/stats.c
src/utils/kxdpgun/stats.h
src/utils/kzonecheck/main.c src/utils/kzonecheck/main.c
src/utils/kzonecheck/zone_check.c src/utils/kzonecheck/zone_check.c
src/utils/kzonecheck/zone_check.h src/utils/kzonecheck/zone_check.h
...@@ -545,11 +648,12 @@ tests-fuzz/knotd_wrap/server.c ...@@ -545,11 +648,12 @@ tests-fuzz/knotd_wrap/server.c
tests-fuzz/knotd_wrap/tcp-handler.c tests-fuzz/knotd_wrap/tcp-handler.c
tests-fuzz/knotd_wrap/udp-handler.c tests-fuzz/knotd_wrap/udp-handler.c
tests-fuzz/main.c tests-fuzz/main.c
tests/contrib/test_atomic.c
tests/contrib/test_base32hex.c tests/contrib/test_base32hex.c
tests/contrib/test_base64.c tests/contrib/test_base64.c
tests/contrib/test_base64url.c tests/contrib/test_base64url.c
tests/contrib/test_dynarray.c
tests/contrib/test_heap.c tests/contrib/test_heap.c
tests/contrib/test_inet_ntop.c
tests/contrib/test_net.c tests/contrib/test_net.c
tests/contrib/test_net_shortwrite.c tests/contrib/test_net_shortwrite.c
tests/contrib/test_qp-cow.c tests/contrib/test_qp-cow.c
...@@ -560,6 +664,7 @@ tests/contrib/test_spinlock.c ...@@ -560,6 +664,7 @@ tests/contrib/test_spinlock.c
tests/contrib/test_string.c tests/contrib/test_string.c
tests/contrib/test_strtonum.c tests/contrib/test_strtonum.c
tests/contrib/test_time.c tests/contrib/test_time.c
tests/contrib/test_toeplitz.c
tests/contrib/test_wire_ctx.c tests/contrib/test_wire_ctx.c
tests/knot/test_acl.c tests/knot/test_acl.c
tests/knot/test_changeset.c tests/knot/test_changeset.c
...@@ -588,7 +693,6 @@ tests/knot/test_zone_events.c ...@@ -588,7 +693,6 @@ tests/knot/test_zone_events.c
tests/knot/test_zone_serial.c tests/knot/test_zone_serial.c
tests/knot/test_zone_timers.c tests/knot/test_zone_timers.c
tests/knot/test_zonedb.c tests/knot/test_zonedb.c
tests/libdnssec/sample_keys.h
tests/libdnssec/test_binary.c tests/libdnssec/test_binary.c
tests/libdnssec/test_crypto.c tests/libdnssec/test_crypto.c
tests/libdnssec/test_key.c tests/libdnssec/test_key.c
...@@ -611,6 +715,7 @@ tests/libknot/test_cookies.c ...@@ -611,6 +715,7 @@ tests/libknot/test_cookies.c
tests/libknot/test_db.c tests/libknot/test_db.c
tests/libknot/test_descriptor.c tests/libknot/test_descriptor.c
tests/libknot/test_dname.c tests/libknot/test_dname.c
tests/libknot/test_dynarray.c
tests/libknot/test_edns.c tests/libknot/test_edns.c
tests/libknot/test_edns_ecs.c tests/libknot/test_edns_ecs.c
tests/libknot/test_endian.c tests/libknot/test_endian.c
...@@ -640,5 +745,4 @@ tests/tap/float.c ...@@ -640,5 +745,4 @@ tests/tap/float.c
tests/tap/float.h tests/tap/float.h
tests/tap/macros.h tests/tap/macros.h
tests/tap/runtests.c tests/tap/runtests.c
tests/utils/test_cert.c
tests/utils/test_lookup.c tests/utils/test_lookup.c
src src
src/contrib src/contrib
src/contrib/dnstap src/contrib/dnstap
src/contrib/libbpf src/contrib/libngtcp2
src/contrib/libbpf/bpf src/contrib/libngtcp2/ngtcp2
src/contrib/libbpf/include src/contrib/libngtcp2/ngtcp2/crypto
src/contrib/libbpf/include/asm src/contrib/libngtcp2/ngtcp2/lib
src/contrib/libbpf/include/linux
src/contrib/libbpf/include/uapi
src/contrib/libbpf/include/uapi/linux
src/contrib/licenses src/contrib/licenses
src/contrib/openbsd src/contrib/openbsd
src/contrib/proxyv2
src/contrib/qp-trie src/contrib/qp-trie
src/contrib/ucw src/contrib/ucw
src/contrib/url-parser src/contrib/url-parser
...@@ -87,8 +85,6 @@ tests/libknot ...@@ -87,8 +85,6 @@ tests/libknot
tests/libzscanner tests/libzscanner
tests/libzscanner/data tests/libzscanner/data
tests/libzscanner/data/includes tests/libzscanner/data/includes
tests/libzscanner/tmp
tests/modules tests/modules
tests/tap tests/tap
tests/tmp
tests/utils tests/utils
This diff is collapsed.
[![Language grade: C/C++](https://img.shields.io/lgtm/grade/cpp/g/CZ-NIC/knot.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/CZ-NIC/knot/context:cpp)
[![Coverity Status](https://img.shields.io/coverity/scan/knot-dns.svg)](https://scan.coverity.com/projects/knot-dns) [![Coverity Status](https://img.shields.io/coverity/scan/knot-dns.svg)](https://scan.coverity.com/projects/knot-dns)
[![Fuzzing Status](https://oss-fuzz-build-logs.storage.googleapis.com/badges/knot-dns.svg)](https://bugs.chromium.org/p/oss-fuzz/issues/list?sort=-opened&can=1&q=proj:knot-dns) [![Fuzzing Status](https://oss-fuzz-build-logs.storage.googleapis.com/badges/knot-dns.svg)](https://bugs.chromium.org/p/oss-fuzz/issues/list?sort=-opened&can=1&q=proj:knot-dns)
[![Documentation Status](https://readthedocs.org/projects/knot/badge/?version=master)](https://knot.readthedocs.io/en/master/)
# Requirements # Requirements
...@@ -30,7 +28,7 @@ sudo apt-get install \ ...@@ -30,7 +28,7 @@ sudo apt-get install \
#### Install optional packages: #### Install optional packages:
```bash ```bash
sudo apt-get install \ sudo apt-get install \
libcap-ng-dev libsystemd-dev libidn2-0-dev libprotobuf-c-dev protobuf-c-compiler libfstrm-dev libmaxminddb-dev libnghttp2-dev libmnl-dev libcap-ng-dev libsystemd-dev libidn2-dev libprotobuf-c-dev protobuf-c-compiler libfstrm-dev libmaxminddb-dev libnghttp2-dev libbpf-dev libxdp-dev libmnl-dev python3-sphinx python3-sphinx-panels softhsm2
``` ```
### Fedora like distributions ### Fedora like distributions
...@@ -54,12 +52,11 @@ dnf install \ ...@@ -54,12 +52,11 @@ dnf install \
#### Install optional packages: #### Install optional packages:
```bash ```bash
dnf install \ dnf install \
libcap-ng-devel systemd-devel libidn2-devel protobuf-c-devel fstrm-devel libmaxminddb-devel libnghttp2-devel libmnl-devel libcap-ng-devel systemd-devel libidn2-devel protobuf-c-devel fstrm-devel libmaxminddb-devel libnghttp2-devel libbpf-devel libxdp-devel libmnl-devel python-sphinx python-sphinx-panels softhsm
``` ```
When compiling on RHEL based system, the Fedora EPEL repository has to be When compiling on RHEL based system, the Fedora EPEL repository has to be
enabled. Also for RHEL 6, forward compatibility package gnutls30-devel enabled.
with newer GnuTLS is required instead of gnutls-devel.
## 2. Install Knot DNS ## 2. Install Knot DNS
......
This diff is collapsed.
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<policy user="knot">
<allow own="cz.nic.knotd" />
</policy>
<policy context="default">
<allow receive_sender="cz.nic.knotd" />
</policy>
</busconfig>
...@@ -21,5 +21,10 @@ Environment="KNOT_ZONE_LOAD_TIMEOUT_SEC=180" ...@@ -21,5 +21,10 @@ Environment="KNOT_ZONE_LOAD_TIMEOUT_SEC=180"
# Maximum size (MiB) of a configuration database # Maximum size (MiB) of a configuration database
Environment="KNOT_CONF_MAX_SIZE=512" Environment="KNOT_CONF_MAX_SIZE=512"
# Expected systemd >= v239
RuntimeDirectory=knot
StateDirectory=knot
NoNewPrivileges=yes
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
# tmpfiles.d(5) runtime directory for knot
#Type Path Mode UID GID Age Argument
d /run/knot 0755 knot knot - -
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-Bus Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<listen>unix:path=/rundir/dbus.sock</listen>
</busconfig>
...@@ -9,4 +9,8 @@ archive_url = "https://secure.nic.cz/files/knot-dns/knot-{{ version }}.tar.xz" ...@@ -9,4 +9,8 @@ archive_url = "https://secure.nic.cz/files/knot-dns/knot-{{ version }}.tar.xz"
signature_url = "https://secure.nic.cz/files/knot-dns/knot-{{ version }}.tar.xz.asc" signature_url = "https://secure.nic.cz/files/knot-dns/knot-{{ version }}.tar.xz.asc"
[apkg] [apkg]
compat = 1 compat = 3
[[distro.aliases]]
name = "deb-nolibxdp"
distro = ["debian == 11", "ubuntu == 20.04", "ubuntu == 22.04"]
...@@ -58,13 +58,9 @@ package() { ...@@ -58,13 +58,9 @@ package() {
make DESTDIR="${pkgdir}" install make DESTDIR="${pkgdir}" install
# Don’t keep those empty dir, manage them with systemd-tmpfiles instead
rmdir "${pkgdir}"/{var/{lib/{knot/,},},run/{knot/,}}
rm "${pkgdir}"/etc/knot/example.com.zone rm "${pkgdir}"/etc/knot/example.com.zone
mv "${pkgdir}"/etc/knot/{knot.sample.conf,knot.conf} mv "${pkgdir}"/etc/knot/{knot.sample.conf,knot.conf}
install -Dm644 distro/common/${pkgname}.service -t "${pkgdir}"/usr/lib/systemd/system/ install -Dm644 distro/common/${pkgname}.service -t "${pkgdir}"/usr/lib/systemd/system/
install -Dm644 distro/pkg/arch/${pkgname}.tmpfiles.arch "${pkgdir}"/usr/lib/tmpfiles.d/${pkgname}.conf
install -Dm644 distro/pkg/arch/${pkgname}.sysusers "${pkgdir}"/usr/lib/sysusers.d/${pkgname}.conf install -Dm644 distro/pkg/arch/${pkgname}.sysusers "${pkgdir}"/usr/lib/sysusers.d/${pkgname}.conf
} }
../deb/changelog
\ No newline at end of file
../deb/clean
\ No newline at end of file
../deb/compat
\ No newline at end of file
Source: knot
Section: net
Priority: optional
Maintainer: Knot DNS <knot-dns@labs.nic.cz>
Uploaders:
Jakub Ružička <jakub.ruzicka@nic.cz>,
Daniel Salzman <daniel.salzman@nic.cz>,
Build-Depends-Indep:
python3-setuptools,
python3-sphinx,
Build-Depends:
autoconf,
automake,
debhelper (>= 11),
dh-python,
libbpf-dev,
libcap-ng-dev,
libedit-dev,
libfstrm-dev,
libgnutls28-dev,
libidn2-dev,
liblmdb-dev,
libmaxminddb-dev,
libmnl-dev,
libnghttp2-dev,
libprotobuf-c-dev,
libsystemd-dev [linux-any] | libsystemd-daemon-dev [linux-any],
libsystemd-dev [linux-any] | libsystemd-journal-dev [linux-any],
libtool,
liburcu-dev,
pkgconf,
protobuf-c-compiler,
python3-all,
softhsm2 <!nocheck>,
Standards-Version: 4.5.0
Homepage: https://www.knot-dns.cz/
Vcs-Browser: https://gitlab.nic.cz/knot/knot-dns
Vcs-Git: https://gitlab.nic.cz/knot/knot-dns.git
Rules-Requires-Root: no
Package: knot
Architecture: any
Depends:
adduser,
libdnssec9 (= ${binary:Version}),
libknot15 (= ${binary:Version}),
libzscanner4 (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Pre-Depends:
${misc:Pre-Depends},
Suggests:
systemd,
Description: Authoritative domain name server
Knot DNS is a fast, authoritative only, high performance, feature
full and open source name server.
.
Knot DNS is developed by CZ.NIC Labs, the R&D department of .CZ
registry and hence is well suited to run anything from the root
zone, the top-level domain, to many smaller standard domain names.
Package: libknot15
Architecture: any
Depends:
${misc:Depends},
${shlibs:Depends},
Section: libs
Description: DNS shared library from Knot DNS
Knot DNS is a fast, authoritative only, high performance, feature
full and open source name server.
.
Knot DNS is developed by CZ.NIC Labs, the R&D department of .CZ
registry and hence is well suited to run anything from the root
zone, the top-level domain, to many smaller standard domain names.
.
This package provides a DNS shared library used by Knot DNS and
Knot Resolver.
Package: libzscanner4
Architecture: any
Depends:
${misc:Depends},
${shlibs:Depends},
Section: libs
Description: DNS zone-parsing shared library from Knot DNS
Knot DNS is a fast, authoritative only, high performance, feature
full and open source name server.
.
Knot DNS is developed by CZ.NIC Labs, the R&D department of .CZ
registry and hence is well suited to run anything from the root
zone, the top-level domain, to many smaller standard domain names.
.
This package provides a fast zone parser shared library used by Knot
DNS and Knot Resolver.
Package: libdnssec9
Architecture: any
Depends:
${misc:Depends},
${shlibs:Depends},
Section: libs
Description: DNSSEC shared library from Knot DNS
Knot DNS is a fast, authoritative only, high performance, feature
full and open source name server.
.
Knot DNS is developed by CZ.NIC Labs, the R&D department of .CZ
registry and hence is well suited to run anything from the root
zone, the top-level domain, to many smaller standard domain names.
.
This package provides common DNSSEC shared library used by Knot DNS
and Knot Resolver.
Package: libknot-dev
Architecture: any
Depends:
libdnssec9 (= ${binary:Version}),
libgnutls28-dev,
libknot15 (= ${binary:Version}),
libzscanner4 (= ${binary:Version}),
${misc:Depends},
Section: libdevel
Description: Knot DNS shared library development files
Knot DNS is a fast, authoritative only, high performance, feature
full and open source name server.
.
Knot DNS is developed by CZ.NIC Labs, the R&D department of .CZ
registry and hence is well suited to run anything from the root
zone, the top-level domain, to many smaller standard domain names.
.
This package provides development files for shared libraries from Knot DNS.
Package: knot-dnsutils
Architecture: any
Depends:
libdnssec9 (= ${binary:Version}),
libknot15 (= ${binary:Version}),
libzscanner4 (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: DNS clients provided with Knot DNS (kdig, knsupdate)
Knot DNS is a fast, authoritative only, high performance, feature
full and open source name server.
.
Knot DNS is developed by CZ.NIC Labs, the R&D department of .CZ
registry and hence is well suited to run anything from the root
zone, the top-level domain, to many smaller standard domain names.
.
This package delivers various DNS client programs from Knot DNS.
.
- kdig - query a DNS server in various ways
- knsupdate - perform dynamic updates (See RFC2136)
- kxdpgun - send a DNS query stream over UDP to a DNS server
.
Those clients were designed to be almost 1:1 compatible with BIND dnsutils,
but they provide some enhancements, which are documented.
.
WARNING: knslookup is not provided as it is considered obsolete.
Package: knot-dnssecutils
Architecture: any
Depends:
libdnssec9 (= ${binary:Version}),
libknot15 (= ${binary:Version}),
libzscanner4 (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: DNSSEC tools provided with Knot DNS
Knot DNS is a fast, authoritative only, high performance, feature
full and open source name server.
.
Knot DNS is developed by CZ.NIC Labs, the R&D department of .CZ
registry and hence is well suited to run anything from the root
zone, the top-level domain, to many smaller standard domain names.
.
This package delivers various DNSSEC tools from Knot DNS.
.
- kzonecheck
- kzonesign
- knsec3hash
Package: knot-host
Architecture: any
Depends:
libdnssec9 (= ${binary:Version}),
libknot15 (= ${binary:Version}),
libzscanner4 (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: Version of 'host' bundled with Knot DNS
Knot DNS is a fast, authoritative only, high performance, feature
full and open source name server.
.
Knot DNS is developed by CZ.NIC Labs, the R&D department of .CZ
registry and hence is well suited to run anything from the root
zone, the top-level domain, to many smaller standard domain names.
.
This package provides the 'host' program from Knot DNS. This program is
designed to be almost 1:1 compatible with BIND 9.x 'host' program.
Package: knot-module-dnstap
Architecture: any
Depends:
knot (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: dnstap module for Knot DNS
Knot DNS is a fast, authoritative only, high performance, feature
full and open source name server.
.
Knot DNS is developed by CZ.NIC Labs, the R&D department of .CZ
registry and hence is well suited to run anything from the root
zone, the top-level domain, to many smaller standard domain names.
.
This package contains dnstap module for logging DNS traffic.
Package: knot-module-geoip
Architecture: any
Depends:
knot (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: geoip module for Knot DNS
Knot DNS is a fast, authoritative only, high performance, feature
full and open source name server.
.
Knot DNS is developed by CZ.NIC Labs, the R&D department of .CZ
registry and hence is well suited to run anything from the root
zone, the top-level domain, to many smaller standard domain names.
.
This package contains geoip module for geography-based responses.
Package: knot-doc
Architecture: all
Multi-Arch: foreign
Depends:
libjs-jquery,
libjs-sphinxdoc,
libjs-underscore,
${misc:Depends},
Section: doc
Description: Documentation for Knot DNS
Knot DNS is a fast, authoritative only, high performance, feature
full and open source name server.
.
Knot DNS is developed by CZ.NIC Labs, the R&D department of .CZ
registry and hence is well suited to run anything from the root
zone, the top-level domain, to many smaller standard domain names.
.
This package provides various documents that are useful for
maintaining a working Knot DNS installation.
Package: knot-exporter
Architecture: all
Depends:
${misc:Depends},
${python3:Depends},
Section: python
Description: Prometheus exporter for Knot DNS
Knot DNS is a fast, authoritative only, high performance, feature
full and open source name server.
.
Knot DNS is developed by CZ.NIC Labs, the R&D department of .CZ
registry and hence is well suited to run anything from the root
zone, the top-level domain, to many smaller standard domain names.
.
This package provides Python Prometheus exporter for Knot DNS.
Package: python3-libknot
Architecture: all
Depends:
libknot15 (= ${binary:Version}),
${misc:Depends},
${python3:Depends},
Section: python
Description: Python bindings for libknot
Knot DNS is a fast, authoritative only, high performance, feature
full and open source name server.
.
Knot DNS is developed by CZ.NIC Labs, the R&D department of .CZ
registry and hence is well suited to run anything from the root
zone, the top-level domain, to many smaller standard domain names.
.
This package provides Python bindings for the libknot shared library.
../deb/copyright
\ No newline at end of file