summaryrefslogtreecommitdiffstats
path: root/recipes-containers/netavark
Commit message (Collapse)AuthorAgeFilesLines
* netavark: add whitespace around assignmentsMartin Jansa2025-04-031-1/+1
| | | | | | | | | | | With: https://lists.openembedded.org/g/bitbake-devel/message/17508 there are WARNINGs like: WARNING: meta-virtualization/recipes-containers/netavark/netavark_1.14.1.bb: meta-virtualization/recipes-containers/netavark/netavark_1.14.1.bb:25 has a lack of whitespace around the assignment: 'PACKAGECONFIG[aardvark-dns]= ",,, aardvark-dns"' Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* netavark: update to v1.14.1Bruce Ashfield2025-03-242-194/+262
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Creates updated with: bitbake -c update_crates netavark Bumping netavark to version v1.14.1-1-g0d623ce, which comprises the following commits: 8711e83 Release v1.14.1 0b7cbc5 Release notes for v1.14.0 389d8d9 Fix detect of Firewalld's StrictForwardPorts property 6267803 test/001-basic: Make commit test optional 99bd7d7 cirrus: do not build debug bins ce947ad Makefile: do not rebuild if nothing changed 1e5dc1c Makefile: uninstall netavark-firewalld-reload.service 3b5bf92 docs/Makefile: several fixes c4c37ca Makefile: build docs by default 26baf2c Makefile: do not build twice 2af9044 Release v1.14.0 c38577b release notes for v1.14.0 b086c4e update release notes from v1.13.1 35a0efb run cargo update 4fea4c0 Finalize firewalld port forwarding support 6b4ecbd chore(deps): update rust crate once_cell to 1.20.3 6f0bc1d fix(deps): update rust crate rand to 0.9.0 6e5de55 Add handling for firewalld's StrictForwardPorts setting fd8e99b fix lint issues wirh rust 1.84 bb17a6d chore(deps): update dependency containers/automation_images to v20250131 3cd3d9e chore(deps): update rust crate tempfile to 3.16.0 f57ae66 rename macvlan_dhcp.rs to dhcp.rs 58bb08d bridge: only allow dhcp with unmanaged mode a75c979 bridge: support DHCP ipam driver a47b5df fix(deps): update rust crate ipnet to 2.11.0 a03cdd9 fix(deps): update rust crate serde_json to 1.0.136 b4ccb6c fix(deps): update rust crate log to 0.4.24 7562017 bridge: add vlan support cb250d4 fix(deps): update rust crate tokio to 1.43.0 7d9edf9 fix(deps): update rust crate serde_json to 1.0.135 5789f67 New VM Images eb49d9a fix(deps): update rust crate clap to ~4.5.23 d67e98a chore(deps): update rust crate tempfile to 3.15.0 854b8bf fix(deps): update rust crate nispor to 1.2.22 2c759c5 fix(deps): update rust crate serde_json to 1.0.134 732cc05 fix(deps): update rust crate env_logger to 0.11.6 2bf9cfd Add container hostname to DHCP requests and use container id as client id bbc5f95 fix(deps): update rust crate mozim to 0.2.5 6217c49 generate protobuf in OUT_DIR d0d999b fix(deps): update rust crate tower to 0.5.2 795a36b Cargo.lock: bump some versions a2ec8cc run cargo update cbfe8fe cargo: set rust-version 6453c23 fix new rust 1.83 lint errors 62f4570 OWNERS: remove edsantiago 73e9911 setup: on av errors cleanup again 5861afa nftables: add daddr match to port forward jump rule 2900e92 network: bridge: don't change forwarding sysctl for internal bridges 4dae6d0 network: bridge: add support for unmanaged mode 71d8a5a test-dhcp: remove deprecated ifconfig/brctl commands 55a0f25 fix new rust 1.82 lint errors 8892b7f update ci images ceb113f fix(deps): update rust crate serde_json to 1.0.133 dc99b01 network: bridge: add support for host_interface_name option 818a19f network: add support for network-specific options a9dcf42 fix(deps): update rust crate ipnet to 2.10.1 b41f6f5 chore(deps): update rust crate tempfile to 3.14.0 31c32a9 fix(deps): update rust crate tokio to 1.41.1 e2cb0bd fix(deps): update rust crate anyhow to 1.0.93 1fca9f9 fix(deps): update rust crate url to 2.5.3 7dea7fb [skip-ci] RPM: cleanup changelog conditionals 8425b8e fix(deps): update rust crate anyhow to 1.0.92 1d75d62 Bump to 1.14.0-dev Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* netavark: update to v1.13.1Bruce Ashfield2025-01-172-358/+320
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping netavark to version v1.13.1-1-g443d164, which comprises the following commits: 0935a20 Release v1.13.1 56428e7 Release notes for v1.13.1 ce52673 setup: on av errors cleanup again f6fe9ed nftables: add daddr match to port forward jump rule 00e7472 Release v1.13.0 04650aa Updates release notes for v1.13.0 84f8e89 run cargo update 6ba9d5d fix(deps): update rust crate hyper-util to 0.1.10 5a31988 [skip-ci] Packit: Remove epel targets 4bc65c2 fix(deps): update rust crate nftables to 0.5.0 ca9c45e fix(deps): update rust crate anyhow to 1.0.91 31fc658 fix(deps): update rust crate tokio to 1.41.0 6284e8b fix(deps): update rust crate anyhow to 1.0.90 571e26d Updated to zbus4 bd29d93 chore(deps): update dependency containers/automation_images to v20241010 8114c82 test-dhcp: fix NOP test acd2a9d fix new lint errors with rust 1.81 e848ea5 fix(deps): update rust crate clap to ~4.5.20 08333ad contrib/container_images: remove no longer used images dc440ac cirrus: check for msrv build bb0359d add new rust image to check for MSRV e2eea81 define a MSRV policy ef66137 [skip-ci] Packit: constrain koji and bodhi to the fedora package bc6ad66 chore(deps): update rust crate once_cell to 1.20.2 7b6df6e fix(deps): update rust-futures monorepo to 0.3.31 0a3f78b OWNERS file audit and update c198914 update tonic and prost dependencies 97d56bb update tower to v0.5.1 dccb834 fix(deps): update rust crate sysctl to 0.6.0 503298d fix(deps): update rust crate netlink-packet-route to 0.21.0 f0738f2 chore(deps): update rust crate tempfile to 3.13.0 6433c1c chore(deps): update rust crate once_cell to 1.20.1 4025d42 fix(deps): update rust crate nispor to 1.2.21 df781e3 fix(deps): update rust crate anyhow to 1.0.89 b497d6b nftables: add dns dnat rule first 22b5110 iptables: add dns dnat rule first 78ef87f fix(deps): update rust crate anyhow to 1.0.88 38c90f5 nft: remove port forwarding rules correctly f599796 fix(deps): update rust crate tokio-stream to 0.1.16 ad840ab nft: do not parse localhost string ip a7b65ac nft: use append() over push() where possible 17f8b04 Packit: add sidetag to release with aardvark-dns 34c742b fix(deps): update rust crate tokio to 1.40.0 6782bbf fix(deps): update rust crate libc to 0.2.157 e650a76 fix(deps): update rust crate tokio to 1.39.3 678beff fix(deps): update rust crate libc to 0.2.156 4f37d9f aardvark: on start failure delete entries again 23ac90f iptables: make dns rules cover tcp as well 7d2882a nftables: make dns rules cover tcp as well a21509b fix(deps): update rust crate serde_json to 1.0.123 8c08678 remove superfluous formatters from debug stmt 558078f chore(deps): update rust crate tempfile to 3.12.0 06d8a9e fix new rust 1.80 lint issues f0ae7ef silence new rust 1.80 warnings 748908a chore(deps): update rust crate tempfile to 3.11.0 af57295 fix(deps): update rust crate serde_json to 1.0.122 6dd091f Bumping main back to v1.13.0-dev for development a4e1359 Release v1.12.1 8b6117d Update release notes for v1.12.1 f307944 Change nv cargo categories fa2b5fc Bump to 1.13.0-dev 30d84df Release 1.12 f42922c Release Notes for 1.12 743ed24 run cargo update 097c32f rpm: use nftables as default for f41 30aee33 fix(deps): update rust crate serde_json to 1.0.121 7810238 fix(deps): update rust crate tokio to 1.39.2 0ab24f6 aardvark-dns: trim whitespaces from error text d4da022 fix(deps): update rust crate env_logger to 0.11.5 74952f6 [skip-ci] RPM: handle iptables/nftables dependencies ed0dad1 fix aardvark-dns error handling 63737b2 fix(deps): update rust crate tokio to 1.39.1 a2dc538 fix(deps): update rust crate env_logger to 0.11.4 03a2786 fix(deps): update rust crate tokio to 1.38.1 cf67881 update mozim to 0.2.4 1fe10c3 fix(deps): update rust crate serde_json to 1.0.120 26afe34 netavark: dhcp_proxy: use dns servers from dhcp lease 74b5637 fix(deps): update rust crate serde_json to 1.0.119 3a1d4a2 fix(deps): update rust crate netlink-packet-route to 0.20.1 8c2d015 fix(deps): update rust crate log to 0.4.22 2f02d57 Fix Epoch so upgrade path is preserved from Fedora/RHEL. 2052269 test: add macvlan metric test 351b9dc fix(deps): update rust crate serde_json to 1.0.118 5728114 fix(deps): update rust crate url to 2.5.2 38baefb fix(deps): update rust crate prost to 0.12.6 17e34de fix(deps): update rust crate url to 2.5.1 60ca130 fix(deps): update rust crate iptables to 0.5.2 5a4bf12 [CI:BUILD] rpm: Update Rust macro usage 19e72a0 fix(deps): update rust crate nftables to 0.4.1 fe96f0f fix(deps): update rust crate tokio to 1.38.0 9e3e310 Bump to 1.12.0-dev Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* netavark: disable nmap for aarch64 ptestsBruce Ashfield2024-11-151-1/+1
| | | | | | | | | nmap is not currently buidling for aarch64, so we disable it as a ptest rdepends when that is our target arch. Some tests may not work, but having a buildable stack is more important than all tests working. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* netavark: update to v1.11.0Bruce Ashfield2024-07-163-296/+310
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping netavark to version v1.11.0-34-ge182147, which comprises the following commits: ab4f101 Release v1.11.0 8d63716 Update release notes for 1.11.0 8c28d20 update netlink-packet-route to 0.20.0 46e4559 run cargo update 38d0ab1 fix: remove extra / in make install and uninstall 4fb2bd9 chore(deps): update dependency containers/automation_images to v20240529 3ec4fd7 fix(deps): update rust crate nix to 0.29.0 e87aae4 fix(deps): update rust crate nispor to 1.2.19 ecfae2c fix(deps): update rust crate anyhow to 1.0.86 6f445a5 fix(deps): update rust crate anyhow to 1.0.85 e5514d1 [skip-ci] Packit: do not create dup jobs on podman-next f27cd29 fix(deps): update rust crate anyhow to 1.0.84 abdd8ec [skip-ci] RPM: use default __cargo macro across all envs c29c09c [skip-ci] RPM: switch default firewall to nftables on EL10+ 79bdee1 chore(deps): update dependency containers/automation_images to v20240513 b161e75 Add conditional compilation of default firewall driver 7f69bae fix(deps): update rust crate serde_json to 1.0.117 87fe59f fix new clippy warnings ed7cfd8 Update CI image to fedora 40 e6c6d99 fix ncat sctp tests ad5adfc fix(deps): update rust crate anyhow to 1.0.83 b04b3de build(deps): bump h2 from 0.3.25 to 0.3.26 da57e62 [skip-ci] Packit: distinct `-rhel` packages value 5e1484c [skip-ci] Packit: enable c10s downstream sync 4233d47 fix(deps): update rust crate libc to 0.2.154 42c6735 fix(deps): update rust crate ipnet to 2.9.0 5869654 fix(deps): update rust crate tower to 0.4.13 7c575c5 fix(deps): update rust crate tokio-stream to 0.1.15 93b8c98 fix(deps): update rust crate prost to 0.12.4 8242916 fix(deps): update rust crate iptables to 0.5.1 41c3281 [skip-ci] Packit: remove el8 jobs 16de016 fix(deps): update rust crate anyhow to 1.0.82 8f5cbf3 fix(deps): update rust crate serde to 1.0.199 0e03c7c Add suffix to Aardvark internal network filenames 9a73a52 fix port forward with strict RPF and multi networks 6e19894 renovate: stop rebasing PRs automatically f2f137f chore(deps): update rust crate chrono to 0.4.38 ded8d36 fix(deps): update rust crate serde_json to 1.0.116 0ce4586 fix(deps): update rust crate netlink-sys to 0.8.6 055b37e nftables: only dump netavark table rules 42c634f update nftables to 0.4 b2bcf47 fix aardvark-dns netns check c309491 fix(deps): update rust crate tokio to 1.37 1df8633 fix(deps): update rust crate netlink-packet-route to 0.19.0 4846563 Update to nix-0.28.0 e506776 fix(deps): update rust crate mozim to 0.2.3 a76f3d9 fix(deps): update rust crate nispor to 1.2.18 829b2db Update chrono cae2d5e fix(deps): update rust crate serde_json to 1.0.115 92bd069 build(deps): bump mio from 0.8.9 to 0.8.11 1e10e01 [skip-ci] rpm: aardvark-dns is a hard dep across the board 131c28c Update Rust crate env_logger to 0.11.3 370722f Update Rust crate serde to 1.0.197 6288762 Update Rust crate tempfile to 3.10.1 6d67358 Update Rust crate log to 0.4.21 943cd88 Update Rust crate zbus to 3.15.2 1a5850a Update Rust crate serde_json to 1.0.114 fe40711 Update Rust crate env_logger to 0.11.2 1efb4e5 Update Rust crate chrono to 0.4.34 5601e0a Update Rust crate tonic-build to 0.11 09ccedc Update Rust crate tonic to 0.11 bba73d6 fix netavark update to not start a new aardvark-dns 37d6f55 Update Rust crate tempfile to 3.10.0 8c2c8c6 Update Rust crate zbus to 3.15.0 dd1a057 Update Rust crate tokio to 1.36 b6be4de Update Rust crate chrono to 0.4.33 45f1581 Do not perform network namespace detection on AV update 6c69f60 [CI:BUILD] Packit/rpm: fix aardvark-dns handling 733a785 Update Rust crate serde_json to 1.0.113 6786828 Update Rust crate serde_json to 1.0.112 c5a23fc Update Rust crate env_logger to 0.11.1 d8143a6 update README with nftables support c5acdec Bump to v1.11.0-dev 468f885 perf-netavark: accept fw driver as argument 61a990f perf-netavark: fix missing --config arg Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* netavark: Improve the ptest outputMingli Yu2024-07-103-1/+111
| | | | | | | | | | | | | | * The previous ptest result show as ✓ or ✗ , improve the result to PASS or FAIL. * Skip some cases related to sit0 device(sit kernel module) and firewalld. * Add nftables to RDEPENDS for netavark-ptest as 250-bridge-nftables.bats needs it. Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* netavark: Make ptest runMingli Yu2024-05-291-1/+7
| | | | | | | | | | | | | Fixes: # ./run-ptest /tmp/bats-run-ELGGaA/bats.18820.src: line 5: To: command not found 1..1 not ok 1 bats-gather-tests # (in test file test/README.md, line 5) # `To run the tests locally in your sandbox, you can use one of these methods:' failed with status 127 Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* netavark: update to 1.10.3Bruce Ashfield2024-03-152-54/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updated via: bitbake -c update_crates netavark Bumping netavark to version v1.10.3-1-gbe7bd48, which comprises the following commits: d9f9fdc v1.10.3 a88dc00 fix netavark update to not start a new aardvark-dns 664637b Release v1.10.2 8e53052 Release notes for v1.10.2 c70dc8e [CI:BUILD] Packit/rpm: fix aardvark-dns handling 8a7422e Do not perform network namespace detection on AV update a78cfa8 Release v1.10.1 187e0a6 Updated release notes for v1.10.1 851ac90 update to nftables release 0.3 from crates.io 1f60bce DISTRO_PACKAGE: fix incorrect vendored tar archive URL 3328784 Bump to 1.11.0-dev 799c1ae Release 1.10.0 2965880 Release notes for 1.10.0 f20eeeb RPM: update .cargo/config before building fddc681 Add support for isolation to the nftables driver 04538cd build(deps): bump h2 from 0.3.22 to 0.3.24 020cdd2 chore(deps): update rust crate chrono to 0.4.32 b953314 fix(deps): update rust crate env_logger to 0.11.0 a6f8855 chore(deps): update dependency containers/automation_images to v20240102 687f07e Bump nftables-rs to latest commit db43e53 Netavark: nftables support c31d678 fix(deps): update rust crate serde_json to 1.0.111 f59c28d feat: added the --firewall-driver option 1f75d87 Document how to generate a code coverage report for netavark 40a6ee0 fix(deps): update rust crate clap to ~4.4.12 9b3a3d0 fix(deps): update rust crate serde_json to 1.0.110 04f1517 fix(deps): update rust-futures monorepo to 0.3.30 059c0cb fix(deps): update rust crate nispor to 1.2.16 5fe12c3 chore(deps): update rust crate tempfile to 3.9.0 a6afa03 Use tonic::transport::Uri instead of HTTP 33d8d04 chore(deps): update dependency containers/automation_images to v20231208 3faf33f fix(deps): update rust crate tokio to 1.35 4759152 dhcp-proxy: return actual error instead of generic one f571e31 dhcp-proxy: skip set gateway if missing 87f6691 bump netlink-packet-route to 0.18.1 63c34a5 chore(deps): update rust crate once_cell to 1.19.0 ff45e22 fix(deps): update rust crate nispor to 1.2.15 c85d844 fix(deps): update rust crate serde to 1.0.193 3bbc9fd fix(deps): update rust crate clap to ~4.4.10 4f27552 aardvark: show error if process is in wrong netns a4e082d aardvark: remove unessesary unlock lockfile calls 4c58983 fix(deps): update rust crate url to 2.5.0 f588f1d Bump working version to v1.10.0-dev Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* netavark: update to v1.9.0Bruce Ashfield2024-01-042-297/+333
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping netavark to version v1.9.0-20-g167e2e4, which comprises the following commits: 3faf33f fix(deps): update rust crate tokio to 1.35 4759152 dhcp-proxy: return actual error instead of generic one f571e31 dhcp-proxy: skip set gateway if missing 63c34a5 chore(deps): update rust crate once_cell to 1.19.0 ff45e22 fix(deps): update rust crate nispor to 1.2.15 c85d844 fix(deps): update rust crate serde to 1.0.193 3bbc9fd fix(deps): update rust crate clap to ~4.4.10 4f27552 aardvark: show error if process is in wrong netns a4e082d aardvark: remove unessesary unlock lockfile calls 4c58983 fix(deps): update rust crate url to 2.5.0 f588f1d Bump working version to v1.10.0-dev 1ac6900 v1.9.0 Release d688bdc v1.9.0 Release notes 2f31a95 test: fix syntax problem in helpers.bash 530c911 run cargo update d49f979 use OsString/Path over String for file paths c6f48d6 chore(deps): update dependency containers/automation_images to v20231116 8e943b5 firewalld-reload: fix CI tests 2172205 firewalld-reload: prevent race which could leak fw rules 6aee10f fix(deps): update rust crate clap to ~4.4.8 74ed450 CI: skip broken firewalld test e281e9b fix(deps): update rust crate http to 0.2.11 708bd43 rpm: add netavark-firewalld-reload.service to spec b5d7510 firewalld-reload: add integration tests 268a927 firewall/state: make sure to ignore enoent on read 0449ba5 firewall-reload: integrate actual logic to reload rules 13b2133 firewall/state: improve error messages d2eeaab firewall: add state functions to serialize configs cd1114c firewalld: fix lint errors with rust v1.73 28c48ce firewall: do not use full Network in NetworkStruct aebb5da firewall: add dns_port to SetupNetwork cb5aa2e add firewalld-reload subcommand 3df3c88 fix(deps): update rust crate http to 0.2.10 9a3266b fix(deps): update rust crate env_logger to 0.10.1 a063151 fix(deps): update rust crate tokio to 1.34 dce15ba Update rust container build files 730e1bf bridge: force static mac on bridge interface fca4999 fix(deps): update rust crate futures-core to 0.3.29 6291f27 fix(deps): update rust crate serde to 1.0.190 e7a4435 fix(deps): update rust crate serde_json to 1.0.108 b4ca3e0 fix(deps): update rust crate sysctl to 0.5.5 9d9f600 fix(deps): update rust-futures monorepo to 0.3.29 78b4fea CI: Drop CI VM distro name 116d565 chore(deps): update dependency containers/automation_images to v20231004 f42b296 fix(deps): update rust crate tokio to 1.33 881828f build-sys: Filter to tier 2 Linux declaratively f29b03f fix(deps): update rust crate sha2 to 0.10.8 a54db5d fix podman.io community link 33a4c86 Bump to v1.9.0-dev 837f1f3 Release v1.8.0 046b4cf update release notes for v1.8.0 11db130 run cargo update 4b6d5ab Add vrf support for bridges d211c7a Packit: switch to @containers/packit-build team for copr failure notification comments 6989cda fix(deps): update rust crate nispor to 1.2.14 40df9d9 [CI:BUILD] Packit: tag @lsm5 on copr build failures b8671a6 chore(deps): update rust crate chrono to 0.4.31 2904dc1 fix(deps): update rust crate serde_json to 1.0.107 bc383f2 rust io safety: convert RawFd to BorrowedFd<> 61b8e62 bump nix to 0.27.1 156073b chore(deps): update rust crate chrono to 0.4.30 521e490 fix(deps): update rust crate serde_json to 1.0.106 b9441cf chore(deps): update rust crate chrono to 0.4.29 8c6c7fd fix(deps): update rust crate netlink-packet-route to 0.17.1 f5d0a95 Bump tonic and prost 70cc3e9 Update container image to F38 3806d9a Add ACCEPT rules in firewall for bridge network with internal dns. d9961dc chore(deps): update rust crate tonic-build to 0.10 7d581d2 fix(deps): update rust crate nispor to 1.2.13 ddbfc60 fix(deps): update rust crate serde to 1.0.188 96368f4 Fix clippy warnings about formatting 4b0b499 update chrono crate be29339 fix(deps): update rust crate url to 2.4.1 bcd1ebc Add protoc dependency to README 9c840e9 [CI:BUILD] rpm: spdx compatible license field a19bf24 fix(deps): update rust crate tokio to 1.32 4636b22 chore(deps): update dependency containers/automation_images to v20230816 735ea2f fix(deps): update rust crate serde_json to 1.0.105 719ded6 fix(deps): update rust crate tokio to 1.31 3b5ce46 fix(deps): update rust crate log to 0.4.20 60d6185 run cargo update ab90b2b update tonic-build to 0.9.2 fcdacab bump rust edition to 2021 845fbdf iptables: drop invalid packages 080a814 fix(deps): update rust crate tokio to 1.30 6caef06 docs: Convert markdown with go-md2man instead of mandown bb22c34 fix(deps): update rust crate clap to 4.3.21 00c05a6 packit: Build PRs into default packit COPRs 2f44e50 chore(deps): update dependency containers/automation_images to v20230807 c5df890 fix(deps): update rust crate serde to 1.0.183 be2a8ea fix(deps): update rust crate serde to 1.0.181 067bbde fix(deps): update rust crate serde to 1.0.180 Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* netavark: skip plugins in ptestPatrick Wicki2023-08-271-1/+6
| | | | | | | | Skip the plugin tests that were introduced in 1.6.0 and lead to ptest failure. Signed-off-by: Patrick Wicki <patrick.wicki@siemens.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* netavark: require iputils for ptestPatrick Wicki2023-08-271-0/+2
| | | | | | | Fixes ptest not working on systems using busybox ping. Signed-off-by: Patrick Wicki <patrick.wicki@siemens.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* netavark: update to 1.7.0Bruce Ashfield2023-08-243-296/+444
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping netavark to version v1.7.0-49-gab03eec, which comprises the following commits: 067bbde fix(deps): update rust crate serde to 1.0.180 0ae529b fix(deps): update rust crate serde_json to 1.0.104 e155cbf fix(deps): update rust crate serde to 1.0.179 e64a5a9 fix(deps): update rust crate serde to 1.0.176 6f5dc41 fix(deps): update rust crate clap to 4.3.19 074de60 fix(deps): update rust crate serde to 1.0.175 2a2d066 fix(deps): update rust crate clap to 4.3.17 cb49b4f fix(deps): update rust crate clap to 4.3.15 69c802a fix(deps): update rust crate clap to 4.3.12 c627b76 fix(deps): update rust crate serde_json to 1.0.103 747384d [CI:BUILD] Packit: remove pre-sync action 64d55ee fix(deps): update rust crate serde_json to 1.0.102 cc1d2aa fix(deps): update rust crate nispor to 1.2.12 c227eed macvlan: use netlink type for bclim f92a065 bump netlink deps ba31874 fix(deps): update rust crate serde to 1.0.171 355ad29 fix(deps): update rust crate serde to 1.0.167 91665d4 fix(deps): update rust crate clap to 4.3.11 dd3a221 fix(deps): update rust crate serde to 1.0.166 0eb2033 fix(deps): update rust crate serde_json to 1.0.100 1340988 iptables: improve error when ip6?tables commands are missing 6f56308 fix(deps): update rust crate clap to 4.3.10 e7518b2 fix(deps): update rust crate zbus to 3.14.1 3455012 [CI:BUILD] RPM: Fix ELN build and cleanup spec 1691f8c bump to v1.8.0-dev 158e11b release v1.7.0 6ba1f8a Update release notes for v1.7.0 15af075 fix(deps): update rust crate tokio to 1.29 6e06b7d netavark: make --config required for dns 816d73d fix(deps): update rust crate serde_json to 1.0.99 14d4c54 fix(deps): update rust crate clap to 4.3.8 c5784bc [CI:BUILD] Packit: add Fedora downstream tasks d2d3092 run cargo update da6ee1f fix(deps): update rust crate serde_json to 1.0.97 0d62a35 fix(deps): update rust crate sha2 to 0.10.7 77b09a7 fix(deps): update rust crate clap to 4.3.4 68080c7 chore(deps): update dependency containers/automation_images to v20230614 0e976f1 fix(deps): update rust crate clap to 4.3.3 175c095 fix(deps): update rust crate log to 0.4.19 23c48d8 aardvark: fix missleading dns disabled log d31c157 firewall: add NETAVARK_ISOLATION_3 chain for strict isolation bb690f9 docs: fix link to getting started ca147fb fix(deps): update rust crate serde to 1.0.164 871096c netlink: fix incorrect info log for del_route 72aa0dd dhcp-proxy: apply new ip address/gateway 2a17957 test-dhcp: fix broekn has_ip() check 44b5a28 dhcp-proxy: actually implement renewing leases 1a5f674 dhcp-proxy: simplify code f7e950b dhcp-proxy: drop macaddr dependency 827bdd9 dhcp-proxy: remove some unused traits 5b2662e fix(deps): update rust crate zbus to 3.13.1 8fd57c7 fix(deps): update rust crate clap to 4.3.2 7000903 chore(deps): update rust crate once_cell to 1.18.0 e495d0b fix(deps): update rust crate url to 2.4.0 3a2c8e5 fix(deps): update rust crate clap to 4.3.1 3fcbfab chore(deps): update dependency containers/automation_images to v20230601 be0e01e chore(deps): update rust crate chrono to 0.4.26 3bdb499 chore(deps): update rust crate chrono to 0.4.25 f9dce04 fix(deps): update rust crate log to 0.4.18 8db90d8 chore(deps): update rust crate once_cell to 1.17.2 e4e78f0 macvlan: add bclim option 3d3563b parse_option(): return option instead of default e0ae9bc add no_default_gateway option d39db0b fix(deps): update rust crate clap to 4.3.0 ba0cb46 chore(deps): update dependency containers/automation_images to v20230517 62b35fd fix(deps): update rust crate serde to 1.0.163 416853b Add ability to add static route d2ef6cc fix(deps): update rust crate serde to 1.0.162 9e0e186 Cirrus: Update fedora name to match image 11626fc fix(deps): update rust crate clap to 4.2.7 e6ee988 chore(deps): update dependency containers/automation_images to v20230426 85dde17 correct typo in Makefile 8418f9b simplify path printing 65ff4f1 fix(deps): update rust crate tokio to 1.28 690fa8d aardvark-dns pid: return better errors 394789f fix comment in Subnet definition 2362e82 aardvark: no error when aardvark config is not there 5d41c71 fix(deps): update rust crate zbus to 3.12.0 bdf84b8 fix(deps): update rust crate clap to 4.2.4 fced2f1 fix(deps): update rust crate clap to 4.2.2 6aeabc0 fix(deps): update rust crate serde_json to 1.0.96 f0d5cc8 update clap to v4 be0e133 fix(deps): update rust crate serde to 1.0.160 173d7ac bump to v1.7.0-dev 2f01092 v1.6.0 release 1d2d150 Update release notes for v1.6.0 e1b0aa9 dhcp-proxy: fix typo for --activity-timeout f125bf0 chore(deps): update dependency containers/automation_images to v20230405 8b4c678 dhcp-proxy: use better error when connection fails c4a216d add documentation for netavark plugins 3ad293d add stderr example plugin to test stderr passthrough cee4d9f add netavark plugin driver b2ffb90 add example error plugin bc35cdd add host-device example plugin ab8156d plugin: add simple plugin interface 092b9a3 netlink: add dump_addresses cc1730e netlink: add set_link_ns 14a5205 dhcp-proxy: correctly exit > 0 on errors 24698f1 fix(deps): update rust crate tonic to 0.9 50b0fbb fix(deps): update rust crate mozim to 0.2.2 a5eba62 fix(deps): update rust crate serde to 1.0.159 dd0034c fix(deps): update rust crate netlink-sys to 0.8.5 40695e6 dhcp-proxy: create socket directory only when used fe9ca67 dhcp-proxy: do not remove socket when running under systemd dca3d53 Makefile: netavark-dhcp-proxy.service use correct path 71d128a fix(deps): update rust crate http to 0.2.9 5d85d4e chore(deps): update rust crate once_cell to 1.17.1 08d163e fix(deps): update rust-futures monorepo to 0.3.28 0370986 fix(deps): update rust crate serde_json to 1.0.95 2d7cb2a chore(deps): update dependency containers/automation_images to v20230330 9fd64cf Disable Dependabot in favor of Renovate 5ed1430 chore(deps): update rust crate chrono to 0.4.24 3f3a73e build(deps): bump ipnet from 2.7.1 to 2.7.2 1b8d361 build(deps): bump serde from 1.0.158 to 1.0.159 a3d7d79 build(deps): bump serde_json from 1.0.94 to 1.0.95 4f0dcc0 update,main: dont write empty space when no network_dns_servers is given 9532644 fix(deps): update rust crate tokio to 1.27 5ea45b7 Quit Leasing when Client disconnects b2aeb6c build(deps): bump mozim from 0.2.1 to 0.2.2 f36ff11 iptables: fix incorrect debug statement cdf27dc build(deps): bump serde from 1.0.156 to 1.0.158 8a1975a iptables: port fw handle wildcard address correctly ab6c621 chore(deps): update dependency containers/automation_images to v20230320 2f38b17 build(deps): bump zbus from 3.11.0 to 3.11.1 99142bf build(deps): bump anyhow from 1.0.69 to 1.0.70 e42393c [CI:BUILD] Packit: trigger builds on commit to main branch c30f461 Cirrus: Invalidate v2 bin cache 28c63f2 Include Systemd Files in RPM Package 8ec9d4b Cirrus: Fix success failing on artifact extraction 95c6fc4 fix lint issue with new rust version 1.68 d84e415 Cirrus: Update to newer CI VM images c637b1a build(deps): bump serde from 1.0.152 to 1.0.156 ca27aa6 combine dhcp-proxy and netavark into one binary cecef1e update: should allow empty network_dns_servers 07dfcae build(deps): bump libc from 0.2.139 to 0.2.140 bf22c29 fix aarch64 ncat flake 98f18b8 update to mozim 0.2.1 64bb7f0 build(deps): bump zbus from 3.10.0 to 3.11.0 4199dc0 packit: Update build release tag correctly de88f04 test: move proto option into run_nc_test() 91f3bfb test: add netns pid param to port checks eea98ee test: import podman code to check for ports 9d070c8 cirrus.yaml: add new binaries in art_prep_script bca5370 fix netavark-dhcp-proxy binary in system unit 31b4bb4 import netavark-proxy-dhcp tests c599b2e add build_proxy_client target c76e257 add netavark-dhcp-proxy to rpm a8cff4d Fix dhcp-proxy build 8dc8c96 Merge nv-dhcp-proxy into nv 3a365ed fix default route metric test name ad222b7 build(deps): bump tokio from 1.25.0 to 1.26.0 c505c58 Support none parameter on NETAVARK_FW 2272042 build(deps): bump anyhow from 1.0.68 to 1.0.69 2798f06 Fix typos 88a2a7a update netlink-packet-{route,core} to 0.15 and 0.5 216f6f6 build(deps): bump serde_json from 1.0.92 to 1.0.93 bbbec75 build(deps): bump zbus from 3.8.0 to 3.10.0 70d6f33 [CI:BUILD] Packit: initial enablement 065243d Allow custom cargo binary path 5ce550d build(deps): bump serde_json from 1.0.91 to 1.0.92 781b84e Cirrus: Reduce requested CPUs for compile-tasks 9deb91b bump to version 1.0.6-dev dbdeb9a v1.0.5 release 43c9bf2 release notes updates for v1.0.5 97f91f0 build(deps): bump netlink-sys from 0.8.3 to 0.8.4 b8fae87 build(deps): bump tokio from 1.24.1 to 1.25.0 3919e0f build(deps): bump zbus from 3.7.0 to 3.8.0 f688710 Switch to explicit platform list for `cargo vendor-filterer` 67b7da4 Add renovate.json5 c02fb16 Convert a few words to more inclusive 102b81c build(deps): bump nix from 0.26.1 to 0.26.2 60c08e9 Minor: Add script remote re-use comment. dae850f Cirrus: Fix two minor typos. c361afa Cirrus: Improve caching effectiveness f11a8fc Fix UDS path 823e69b build(deps): bump ipnet from 2.7.0 to 2.7.1 c55b1b3 build(deps): bump tokio from 1.23.0 to 1.24.1 e7c41c8 build(deps): bump zbus from 3.6.2 to 3.7.0 d690d35 build(deps): bump serde from 1.0.151 to 1.0.152 5a19903 build(deps): bump libc from 0.2.138 to 0.2.139 040f3d6 add ipvlan support 058be67 fix lint issues for rust 1.66 2524e56 update CI images 8055fb4 build(deps): bump serde_json from 1.0.89 to 1.0.91 f80f417 Add ability for MacVLAN dhcp a810489 build(deps): bump serde from 1.0.150 to 1.0.151 53c6774 build(deps): bump anyhow from 1.0.66 to 1.0.68 bcb52af CI: install mandown for validate 97e90a3 fix make docs 3eee824 build(deps): bump serde from 1.0.149 to 1.0.150 820d538 build(deps): bump sysctl from 0.5.2 to 0.5.4 753c3de build(deps): bump ipnet from 2.6.0 to 2.7.0 bd1bf8b build(deps): bump zbus from 3.6.1 to 3.6.2 a3f90ec build(deps): bump ipnet from 2.5.1 to 2.6.0 3a1ff24 lock: stop using yanked 0.8.13 crossbeam-utils 75b440c Cirrus: Add backup to aardvark-binary artifact DL a03b7b1 Bump to v1.4.1-dev c2a4b9a Release v1.4.0 0e3268b Update release notes for v1.4.0 011f899 release,make: add rule crate-publish for publishing crates.io 302828f main: Pass config_dir as `&str` bb4c73d [skip-ci] GHA/Cirrus-cron: Fix execution order d957601 build(deps): bump serde from 1.0.148 to 1.0.149 cece3d6 build(deps): bump nix from 0.25.0 to 0.26.1 354450f build(deps): bump libc from 0.2.137 to 0.2.138 8c1a071 build(deps): bump zbus from 3.5.0 to 3.6.1 7563db2 remove verify_vendor CI task 15894f3 chrono: use from_timestamp_opt 0c61f05 update: add support for netavark update command 2f0b025 Add nspath to commands 64d762f build(deps): bump serde from 1.0.147 to 1.0.148 d27588c build(deps): bump env_logger from 0.9.3 to 0.10.0 46f9f59 aardvark, netavark: support network scoped dns via network_dns_servers c9cbc6a build(deps): bump serde_json from 1.0.88 to 1.0.89 84b9078 Drop now unneeded futures dep c858e2f Make use of zbus::blocking wrappers 84a0ddd Port to zbus 3.5 a3c8156 Drop direct zvariant dep 03cb6a5 remove number of .clone() calls 581352c build(deps): bump serde_json from 1.0.87 to 1.0.88 9dad47a fix iptables teardown d7d88da fix rust doc comments effd448 GHA: Add cirrus-cron rerun job ada06b4 fix new lint issues reported with rust 1.65 2af0d9f update CI images f5d114d Correct dev version 34f1488 Bump to v1.3.0-dev 6df8139 Release v1.3.0 53a7b00 v1.3.0 Release notes 832098f run cargo update d36af04 build(deps): bump ipnet from 2.5.0 to 2.5.1 e383f8d build(deps): bump env_logger from 0.9.1 to 0.9.3 0cc2556 macvlan modes: use upstream consts e6d09ff macvlan: remove tmp interface when name already used in netns 0789f44 Add support for route metrics 52b1b08 Drop indirect dependency on time 0.1 72c42b6 netlink: return better error if ipv6 is disabled 980d68a macvlan: fix name collision on hostns 3c03dce build(deps): bump libc from 0.2.136 to 0.2.137 99459c1 build(deps): bump clap from 3.2.22 to 3.2.23 8247f46 Ignore dns-enabled for macvlan bd18cb1 build(deps): bump libc from 0.2.135 to 0.2.136 3f7e75e build(deps): bump serde_json from 1.0.86 to 1.0.87 b65a35b build(deps): bump serde from 1.0.145 to 1.0.147 885f657 netlink: check sequence_number 795fa47 build(deps): bump anyhow from 1.0.65 to 1.0.66 61181e5 tests: add test for verifying multiple custom dns severs 95c982b tests: unskip exisiting test for custom dns server 698627b build(deps): bump futures from 0.3.24 to 0.3.25 6e04f79 netlink: improve error message on invalid netlink result 3aac0a0 NetworkOptions::load(): do not open /dev/stdin f07cc04 use cargo-vendor-filterer to create vendor tarball d89f4bd teardown: handle errors better c9de5d0 error: remove unused equal code c11c5f8 fix broken build f6e0258 netavark ,aardvark: accept and populate custom dns_servers for containers 59be422 netlink: add del_{addr,route} calls 6646be4 error: NetavarkError use Into<String> Trait 0417eb8 netlink: add basic unit tests 454ebb3 bridge: do not set gateway for internal network c017bfe README.md: remove latest release section 652d233 build(deps): bump libc from 0.2.134 to 0.2.135 3166b7b build(deps): bump serde from 1.0.144 to 1.0.145 ca5f4f6 build(deps): bump serde_json from 1.0.85 to 1.0.86 7c93f79 Do not use ipv6 autoconf #2 36a20bf fix test issues in podman 0fb6ddc improve error messages 96993f4 netlink: use low level sync api 4881651 add simple script to measure the netavark perfomance 4294bf6 Do not use ipv6 autoconf 0805420 build(deps): bump tokio from 1.21.1 to 1.21.2 060c6a6 Make build date reproducible 08c3152 Cirrus: Use images w/ fixed-in-time rust + clippy 3d4fe6b build(deps): bump libc from 0.2.133 to 0.2.134 7ab86f6 build(deps): bump clap from 3.2.8 to 3.2.22 cbc0a31 Bumping to v1.2.0-dev 90cccc1 Release v1.2.0 We also refresh one patch, and add protobuf-c as a build depenency Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* netavark, xen: *.patch: add Upstream-Status to all patchesMartin Jansa2023-06-221-0/+2
| | | | | | | | | | | | | | | | | | | | There is new patch-status QA check in oe-core: https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a This is temporary work around just to hide _many_ warnings from optional patch-status (if you add it to WARN_QA). This just added Upstream-Status: Pending everywhere without actually investigating what's the proper status. This is just to hide current QA warnings and to catch new .patch files being added without Upstream-Status, but the number of Pending patches is now: Patches in Pending state: 15 (11%) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* netavark: Rewrite the recipePeter Kjellerstedt2023-05-082-71/+48
| | | | | | | | | | | | | | | The previous version of the recipe was generated by cargo-bitbake, which expects that future updates to the recipe will also be done by cargo-bitbake and therefore formats it to accomodate this. Since we have now switched to the more commonly used (and supported) cargo-update-recipe-crates bbclass for updating the crate URIs, the recipe can be rewritten to better conform to common recipe standards. This also folds netavark.inc into it as there is no longer any need to keep it separate. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* netavark: Add checksums for the crate URIsPeter Kjellerstedt2023-05-082-12/+194
| | | | | | | | | Use the cargo-update-recipe-crates bbclass to update the crate URIs including adding checksums for them, as they are now required by the crate fetcher. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* netavark: Move the crate URIs to a separate .inc filePeter Kjellerstedt2023-05-082-186/+182
| | | | | | | | | As a preparation for switching to using the cargo-update-recipe-crates bbclass to update the crate URIs, move the existing crate URIs to the netavark-crates.inc file that it expects. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* aardvark-dns, netavark: add seccomp to REQUIRED_DISTRO_FEATURESMartin Jansa2023-04-121-0/+3
| | | | | | | | | | | | | | | | | | | | | * because of runtime dependency on slirp4netns * fixes: ERROR: Nothing RPROVIDES 'slirp4netns' (but meta-virtualization/recipes-containers/aardvark-dns/aardvark-dns_1.2.0.bb RDEPENDS on or otherwise requires it) slirp4netns was skipped: missing required distro feature 'seccomp' (not in DISTRO_FEATURES) NOTE: Runtime target 'slirp4netns' is unbuildable, removing... Missing or unbuildable dependency chain was: ['slirp4netns'] NOTE: Runtime target 'aardvark-dns' is unbuildable, removing... Missing or unbuildable dependency chain was: ['aardvark-dns', 'slirp4netns'] NOTE: Runtime target 'netavark-dev' is unbuildable, removing... Missing or unbuildable dependency chain was: ['netavark-dev', 'aardvark-dns', 'slirp4netns'] NOTE: Runtime target 'netavark' is unbuildable, removing... Missing or unbuildable dependency chain was: ['netavark', 'aardvark-dns', 'slirp4netns'] NOTE: Runtime target 'aardvark-dns-dev' is unbuildable, removing... Missing or unbuildable dependency chain was: ['aardvark-dns-dev', 'slirp4netns'] Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* netavark: Add ptest supportVasileios Anagnostopoulos2023-03-083-0/+51
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* aardvark-dns: add the recipeVasileios Anagnostopoulos2023-03-081-0/+9
| | | | | | | | | The aardvark-dns is an optional runtime dependency of the netavark. This recipe introduces the aardvark-dns, so it can be integrated to netavark. Signed-off-by: Vasileios Anagnostopoulos <vasileios.anagnostopoulos@siemens.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* netavark: update the netavark versionVasileios Anagnostopoulos2023-03-081-30/+41
| | | | | Signed-off-by: Vasileios Anagnostopoulos <vasileios.anagnostopoulos@siemens.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* netavark: add the netavark recipePascal Bach2023-03-082-0/+209
The recipe is generated via cargo-bitbake. Modifications are done in netavark.inc to allow re-genrating the recipe for future updates. Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Vasileios Anagnostopoulos <vasileios.anagnostopoulos@siemens.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>