Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: containernetworking/plugins
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.6.0
Choose a base ref
...
head repository: containernetworking/plugins
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.6.2
Choose a head ref
  • 4 commits
  • 177 files changed
  • 2 contributors

Commits on Nov 18, 2024

  1. portmap: fix nftables backend

    We can't use dnat from the input hook,
    depending on nftables (and kernel ?) version we get
    "Error: Could not process rule: Operation not supported"
    iptables backend also uses prerouting.
    
    Also 'ip6 protocol tcp' is invalid, so rework / simplify the rules
    
    Fixes 01a94e1
    
    Signed-off-by: Etienne Champetier <[email protected]>
    champtar authored and squeed committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    9296c5f View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2024

  1. ipmasq: fix nftables backend

    Rename
    SetupIPMasqForNetwork -> SetupIPMasqForNetworks
    TeardownIPMasqForNetwork -> TeardownIPMasqForNetworks
    and have them take []*net.IPNet instead of *net.IPNet.
    
    This allow the nftables backend to cleanup stale rules and recreate all
    needed rules in a single transaction, where previously the stale rules
    cleanup was breaking all but the last IPNet.
    
    Fixes 61d0786
    
    Signed-off-by: Etienne Champetier <[email protected]>
    champtar authored and squeed committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    6de8a98 View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2024

  1. build(deps): bump the golang group across 1 directory with 7 updates

    Bumps the golang group with 6 updates in the / directory:
    
    | Package | From | To |
    | --- | --- | --- |
    | [github.com/Microsoft/hcsshim](https://github.com/Microsoft/hcsshim) | `0.12.7` | `0.12.9` |
    | [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) | `2.20.2` | `2.22.0` |
    | [github.com/onsi/gomega](https://github.com/onsi/gomega) | `1.34.2` | `1.36.0` |
    | [github.com/opencontainers/selinux](https://github.com/opencontainers/selinux) | `1.11.0` | `1.11.1` |
    | [github.com/safchain/ethtool](https://github.com/safchain/ethtool) | `0.4.1` | `0.5.9` |
    | [sigs.k8s.io/knftables](https://github.com/kubernetes-sigs/knftables) | `0.0.17` | `0.0.18` |
    
    
    
    Updates `github.com/Microsoft/hcsshim` from 0.12.7 to 0.12.9
    - [Release notes](https://github.com/Microsoft/hcsshim/releases)
    - [Commits](microsoft/hcsshim@v0.12.7...v0.12.9)
    
    Updates `github.com/onsi/ginkgo/v2` from 2.20.2 to 2.22.0
    - [Release notes](https://github.com/onsi/ginkgo/releases)
    - [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
    - [Commits](onsi/ginkgo@v2.20.2...v2.22.0)
    
    Updates `github.com/onsi/gomega` from 1.34.2 to 1.36.0
    - [Release notes](https://github.com/onsi/gomega/releases)
    - [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
    - [Commits](onsi/gomega@v1.34.2...v1.36.0)
    
    Updates `github.com/opencontainers/selinux` from 1.11.0 to 1.11.1
    - [Release notes](https://github.com/opencontainers/selinux/releases)
    - [Commits](opencontainers/selinux@v1.11.0...v1.11.1)
    
    Updates `github.com/safchain/ethtool` from 0.4.1 to 0.5.9
    - [Release notes](https://github.com/safchain/ethtool/releases)
    - [Commits](safchain/ethtool@v0.4.1...v0.5.9)
    
    Updates `golang.org/x/sys` from 0.26.0 to 0.27.0
    - [Commits](golang/sys@v0.26.0...v0.27.0)
    
    Updates `sigs.k8s.io/knftables` from 0.0.17 to 0.0.18
    - [Changelog](https://github.com/kubernetes-sigs/knftables/blob/master/CHANGELOG.md)
    - [Commits](kubernetes-sigs/knftables@v0.0.17...v0.0.18)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/Microsoft/hcsshim
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: golang
    - dependency-name: github.com/onsi/ginkgo/v2
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: golang
    - dependency-name: github.com/onsi/gomega
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: golang
    - dependency-name: github.com/opencontainers/selinux
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: golang
    - dependency-name: github.com/safchain/ethtool
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: golang
    - dependency-name: golang.org/x/sys
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: golang
    - dependency-name: sigs.k8s.io/knftables
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: golang
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    dependabot[bot] authored and squeed committed Dec 2, 2024
    Configuration menu
    Copy the full SHA
    3ffc42c View commit details
    Browse the repository at this point in the history
  2. portmap: fix iptables conditions detection

    As show in the docs, iptables conditions can also start with '!'
    
    Fixes 01a94e1
    
    Signed-off-by: Etienne Champetier <[email protected]>
    champtar authored and squeed committed Dec 2, 2024
    Configuration menu
    Copy the full SHA
    7f756b4 View commit details
    Browse the repository at this point in the history
Loading