Affected by GO-2024-2568
and 3 other vulnerabilities
GO-2024-2568: Unencrypted ingress/health traffic when using Wireguard transparent encryption in github.com/cilium/cilium
GO-2024-2569: Unencrypted traffic between pods when using Wireguard and an external kvstore in github.com/cilium/cilium
GO-2024-2656: Unencrypted traffic between nodes with IPsec in github.com/cilium/cilium
GO-2024-2666: Insecure IPsec transparent encryption in github.com/cilium/cilium
package
Version:
v1.11.17
Opens a new window with list of versions in this module.
Published: May 15, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 56
Opens a new window with list of known importers.
Documentation
¶
Contains returns true if 'ipNets' contains ipNet.
ContainsAll returns true if 'ipNets1' contains all net.IPNet of 'ipNets2'
Equal returns true if the n and o net.IPNet CIDRs arr Equal.
CIDR is a network CIDR representation based on net.IPNet
func DiffCIDRLists(old, new []*CIDR) (add, remove []*CIDR)
DiffCIDRLists compares an old and new list of CIDRs and returns the list of
removed and added CIDRs
MustParseCIDR parses the CIDR string using net.ParseCIDR and panics if the
CIDR cannot be parsed
NewCIDR returns a new CIDR using a net.IPNet
ParseCIDR parses the CIDR string using net.ParseCIDR
AvailableIPs returns the number of IPs available in a CIDR
DeepCopy creates a deep copy of a CIDR
DeepCopyInto is a deepcopy function, copying the receiver, writing into out. in must be non-nil.
DeepEqual is an deepequal function, deeply comparing the receiver with other.
in must be non-nil.
Equal returns true if the receiver's CIDR equals the other CIDR.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.