Commit graph

1434 commits

Author SHA1 Message Date
Felix Walter
ea56c6fb69 Merge branch 'fix/nix/mkPortList' into 'master'
fix(nix): false-positive in the mkPortList function

See merge request d3tn/ud3tn!266
2026-07-09 15:00:13 +02:00
Maximilian Nitsch
29852c83f9 fix(nix): false-positive in the mkPortList function
This function is used to:

1. open firewall ports for configured CLAs
2. check for misconfigurations caused by duplicate ports

However, there was a logical issue that caused false-positives.

Signed-off-by: Maximilian Nitsch <maximilian.nitsch@d3tn.com>
2026-07-09 13:59:40 +02:00
Felix Walter
ec85079205 Merge branch 'chore/bump-nixos-26.05' into 'master'
Bump nixos-26.05

See merge request d3tn/ud3tn!265
2026-07-02 15:36:21 +02:00
Maximilian Nitsch
f57a32fc67 python: set license-file in pyproject.toml
> SetuptoolsDeprecationWarning: `project.license` as a TOML table is
> deprecated
> Please use a simple string containing a SPDX expression for
> `project.license`. You can also use `project.license-files`.
> (Both options available on setuptools>=77.0.0).
> See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license
> for details.

Signed-off-by: Maximilian Nitsch <maximilian.nitsch@d3tn.com>
2026-06-18 15:18:36 +02:00
Maximilian Nitsch
5d7ac670b5 nix/tests: use pkgs.testers.runNixOSTest instead of lib.runTest
`runNixOSTest` has now become the preferred method for running tests
outside the `nixpkgs` repository and has replaced `lib.runTest`.

https://nixos.org/manual/nixos/stable/?utm_source=chatgpt.com#sec-call-nixos-test-outside-nixos

Signed-off-by: Maximilian Nitsch <maximilian.nitsch@d3tn.com>
2026-06-18 14:26:56 +02:00
Maximilian Nitsch
6316dd0885 python: bump python dependency versions
cbor2==5.8.0
jsonschema==4.26.0
protobuf==7.34.1

Signed-off-by: Maximilian Nitsch <maximilian.nitsch@d3tn.com>
2026-06-18 14:26:18 +02:00
Maximilian Nitsch
d96e6414a6 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/8fd9daa3db09ced9700431c5b7ad0e8ba199b575?narHash=sha256-Ti%2BZBvW6yrWWAg2szExVTwCd4qOJ3KlVr1tFHfyfi8Q%3D' (2026-05-10)
  → 'github:NixOS/nixpkgs/a0374025a863d007d98e3297f6aa46cc3141c2f0?narHash=sha256-9mUW6gNwoN2SWc/l0fW4svPNOulXLl8ijqKyeSOGgJE%3D' (2026-06-11)
2026-06-18 14:21:07 +02:00
Maximilian Nitsch
d0dba2c822 flake.nix: bump nixos-26.05
Signed-off-by: Maximilian Nitsch <maximilian.nitsch@d3tn.com>
2026-06-18 14:20:34 +02:00
Felix Walter
480257d6ba Merge branch 'test/bump-buildpack-deps-trixie' into 'master'
Bump interoperability test base image to buildpack-deps:trixie

See merge request d3tn/ud3tn!264
2026-05-22 09:11:02 +02:00
Maximilian Nitsch
cbc36a38e2 test(dtn7-interop): Bump docker image buildpack-deps:trixie
Rust toolchain must be set to 1.76.0, as the current version causes a
compilation error:

```
55.50 error[E0432]: unresolved import `serde::__private`
55.50   --> core/dtn7/src/cla/ecla/processing.rs:16:12
55.50    |
55.50 16 | use serde::__private::TryFrom;
55.50    |            ^^^^^^^^^ could not find `__private` in `serde`
```

Signed-off-by: Maximilian Nitsch <maximilian.nitsch@d3tn.com>
2026-05-21 17:35:25 +02:00
Maximilian Nitsch
f5f128c022 test(hdtn-interop) Bump HDTN 2.0.0 + docker image buildpack-dep:trixie
Signed-off-by: Maximilian Nitsch <maximilian.nitsch@d3tn.com>
2026-05-21 17:01:53 +02:00
Maximilian Nitsch
7d6b14131f test(ione-interop): Bump docker base image buildpack-deps:trixie
Signed-off-by: Maximilian Nitsch <maximilian.nitsch@d3tn.com>
2026-05-21 16:47:00 +02:00
Maximilian Nitsch
b74c709ad1 test(ion-interop): Bump ION version 4.1.4
Signed-off-by: Maximilian Nitsch <maximilian.nitsch@d3tn.com>
2026-05-21 16:14:02 +02:00
Maximilian Nitsch
9c5e21d2ab test(ion-interop): Bump docker base image buildpack-deps:trixie
Signed-off-by: Maximilian Nitsch <maximilian.nitsch@d3tn.com>
2026-05-21 16:06:50 +02:00
Felix Walter
aebb31940a Merge branch 'chore/ci-python-clang-3.14-trixie' into 'master'
Bump python:3.14-trixie docker image

See merge request d3tn/ud3tn!262
2026-05-20 18:25:03 +02:00
Maximilian Nitsch
4e125e3af7 fix: cppcheck warnings
Add command-line options for cppcheck to the CI job:

- `--suppress=constParameterCallback`

- `--check-level=exhaustive`

  information: Limiting analysis of branches.
  Use --check-level=exhaustive to analyze all branches.

- `--force`

  information: Too many #ifdef configurations - cppcheck only checks 12
  configurations. Use --force to check all configurations.

Signed-off-by: Maximilian Nitsch <maximilian.nitsch@d3tn.com>
2026-05-20 17:57:53 +02:00
Maximilian Nitsch
e8bfdf710e chore: bump ci-python-clang docker base image
- minimum supported version: python:3.10-trixie
- latest release: python:3.14-trixie

Signed-off-by: Maximilian Nitsch <maximilian.nitsch@d3tn.com>
2026-05-20 17:57:53 +02:00
Felix Walter
e0918e3d6d Merge branch 'refactor/include-what-you-use' into 'master'
Refactor: cleanup includes

See merge request d3tn/ud3tn!263
2026-05-20 17:55:58 +02:00
Maximilian Nitsch
611b67fb0e refactor: cleanup includes
Removes unused includes detected by the clangd LSP.

Signed-off-by: Maximilian Nitsch <maximilian.nitsch@d3tn.com>
2026-05-20 16:16:35 +02:00
Felix Walter
d178a2a7b6 Merge branch 'fix/pipelines-for-tags' into 'master'
Fix pipelines not being run for tags

See merge request d3tn/ud3tn!261
2026-05-19 10:33:37 +02:00
Felix Walter
645f2cc51e Fix pipelines not being run for tags
Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2026-05-19 10:13:24 +02:00
Felix Walter
b27c1e28a1 Merge branch 'release/v0.15.0' into 'master'
Prepare release v0.15.0

See merge request d3tn/ud3tn!259
2026-05-19 09:51:57 +02:00
Felix Walter
64e56e099c aap2/proto: Fix typo in a comment
See: picod3tn@7ed981d1 and discussion in !259

Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2026-05-13 10:12:22 +02:00
Maximilian Nitsch
e1bf32f15b nix/shell: Silence compiler warnings
Signed-off-by: Maximilian Nitsch <maximilian.nitsch@d3tn.com>
2026-05-13 09:45:39 +02:00
Maximilian Nitsch
cfc224a0ad flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/09eb77e94fa25202af8f3e81ddc7353d9970ac1b?narHash=sha256-mSD5Ob7a%2BT2RNjvPvOA1dkJHGVrNVl8ZOrAwBjKBDQo%3D' (2025-12-09)
  → 'github:NixOS/nixpkgs/8fd9daa3db09ced9700431c5b7ad0e8ba199b575?narHash=sha256-Ti%2BZBvW6yrWWAg2szExVTwCd4qOJ3KlVr1tFHfyfi8Q%3D' (2026-05-10)

Signed-off-by: Maximilian Nitsch <maximilian.nitsch@d3tn.com>
2026-05-13 09:45:02 +02:00
Felix Walter
a63d389c48 mk/posix: Remove default -march=native
This "performance opptimization" decreases portability. If desired,
`ARCH` can be set manually.

Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2026-05-13 09:44:49 +02:00
Felix Walter
34511bbb93 Add release date for v0.15.0 to CHANGELOG and Manpage 2026-05-12 11:52:46 +02:00
Felix Walter
06ed9bffdb python, nix: Bump version to v0.15.0
Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2026-05-12 11:52:27 +02:00
Felix Walter
3f614097fc bundle6/serializer: Remove unused variable
Since we store the offsets, this became unnecessary. Fixes a warning in
new versions of GCC.

Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2026-05-12 11:48:17 +02:00
Felix Walter
2231b1ca5e doc: decoder: Update to AAP2; add note on limited validation
Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2026-05-12 11:48:17 +02:00
Felix Walter
5f22539f92 doc, test/decoder: Move data decoder README to docs
Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2026-05-12 11:48:17 +02:00
Felix Walter
050b105cef doc: testing: Adjust to using aap2-* tools
Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2026-05-12 11:48:17 +02:00
Felix Walter
bf1e32e4fc pyd3tn: bundle7: Adjust BIBE record type code to newest draft
The example did not work anymore as the Python tooling used another type
code from an earlier draft.

Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2026-05-12 11:48:17 +02:00
Felix Walter
91569926a9 doc: Update BIBE instructions to using AAP2 and link config
This is preferred to the deprecated aap-config utility.

Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2026-05-12 11:48:17 +02:00
Felix Walter
1c506420a2 doc: Mark AAPv1 as deprecated
Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2026-05-12 11:48:17 +02:00
Felix Walter
d44ed9ec9c doc: Add some more details on interop. testing
Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2026-05-12 11:48:17 +02:00
Felix Walter
c4e2a837a3 aap2: Add a note on overriding the source EID
Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2026-05-12 11:48:17 +02:00
Felix Walter
6bb0403b2a CHANGELOG.md: Minor fixes (language, location of bullets)
Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2026-05-12 11:48:17 +02:00
Felix Walter
af197bca1b aap2.proto: Mention that creation timestamp and seqnum are ignored
When sending bundles, this is not implemented atm.

See: #274

Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2026-05-12 11:48:17 +02:00
Felix Walter
c57357b1bb Merge branch 'mr-pipelines' into 'master'
.gitlab-ci.yml: Enable MR pipelines

See merge request d3tn/ud3tn!258
2026-05-08 15:28:24 +02:00
Felix Walter
43e091e5a2 Merge branch 'hotfix/283-fix-dockerfile-dependency' into 'master'
fix: Added jansson dependency in dockerfile ud3tn

Closes #283

See merge request d3tn/ud3tn!257
2026-05-05 14:04:00 +02:00
Felix Walter
f6e27dffe8 .gitlab-ci.yml: Enable MR pipelines
This should improve fork-based contributions.

Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2026-05-05 13:56:54 +02:00
Max Chateau
9683ac0e48 fix: Added jansson dependency in dockerfile ud3tn
Closes #283

Signed-off-by: Max Chateau <mx.chateau@axithem.fr>
2026-04-30 10:04:31 +02:00
Felix Walter
7e8f854c96 Merge branch 'hotfix/build-warnings' into 'master'
Fix some build warnings

See merge request d3tn/ud3tn!256
2026-04-22 13:48:54 +02:00
Felix Walter
2cdd10c560 Merge branch 'hotfix/parallel-tool-build' into 'master'
Makefile: Drop recursive invocation

See merge request d3tn/ud3tn!255
2026-04-22 13:48:23 +02:00
Felix Walter
0fb67f1682 mk: Only build necessary tinycbor files
This speeds up the build and removes a warning from building an
unrelated file.

Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2026-04-21 11:25:11 +02:00
Felix Walter
df5775c07b aap2sendfile: Define _POSIX_C_SOURCE before including anything else
Otherwise there may be a re-definition in recursively included header
files.

Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2026-04-21 10:58:33 +02:00
Felix Walter
6ca8b66a77 Makefile: Drop recursive invocation
We were running into issues when two targets are specified in
combination with multi-core builds (`-jX`), which led to race conditions
sometimes attempting to build the same file more than once at the same
time.

As we are only supporting POSIX builds now, the PLATFORM condition is not
necessary anymore. When introducing another platform in the future, we
should just pass the platform as variable to `make` to prevent us from
needing to invoke `make` recursively.

Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2026-04-21 10:48:21 +02:00
Felix Walter
3349040b3a Merge branch '271-aap2-link-duplicates' into 'master'
bundle_processor: Only send changes in FIB to agent

Closes #271

See merge request d3tn/ud3tn!243
2026-03-23 08:46:18 +01:00
Felix Walter
b23f73953f Update CHANGELOG
Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2026-03-23 08:36:16 +01:00