Skip to content

Commit

Permalink
netavark: update to 1.7.0
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
zeddii committed Aug 15, 2023
1 parent cb1adfd commit 946d313
Show file tree
Hide file tree
Showing 3 changed files with 444 additions and 296 deletions.
15 changes: 10 additions & 5 deletions recipes-containers/netavark/files/tests.patch
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
Upstream-Status: Pending

diff --git a/test/helpers.bash b/test/helpers.bash
index 89866ec..017b2b5 100644
--- a/test/helpers.bash
+++ b/test/helpers.bash
@@ -552,10 +552,10 @@ function run_nc_test() {
Index: git/test/helpers.bash
===================================================================
--- git.orig/test/helpers.bash
+++ git/test/helpers.bash
@@ -575,7 +575,7 @@
fi

nsenter -n -t "${CONTAINER_NS_PIDS[$container_ns]}" timeout --foreground -v --kill=10 5 \
- nc $nc_common_args -l -p $container_port &>"$NETAVARK_TMPDIR/nc-out" <$stdin &
+ ncat $nc_common_args -l -p $container_port &>"$NETAVARK_TMPDIR/nc-out" <$stdin &

# make sure to wait until port is bound otherwise test can flake
# https://github.com/containers/netavark/issues/433
@@ -588,7 +588,7 @@
fi

data=$(random_string)
- run_in_host_netns nc $nc_common_args $connect_ip $host_port <<<"$data"
+ run_in_host_netns ncat $nc_common_args $connect_ip $host_port <<<"$data"
Expand Down
Loading

0 comments on commit 946d313

Please sign in to comment.