GO-2023-1915 : containernetworking/plugins vulnerable to MitM attacks in github.com/containernetworking/plugins
Discover Packages
github.com/containernetworking/plugins
plugins
main
macvlan
command
Version:
v0.8.1
Opens a new window with list of versions in this module.
Published: May 29, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 16
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
macvlan plugin
Overview
macvlan functions like a switch that is already connected to the host interface.
A host interface gets "enslaved" with the virtual interfaces sharing the physical device but having distinct MAC addresses.
Since each macvlan interface has its own MAC address, it makes it easy to use with existing DHCP servers already present on the network.
Example configuration
{
"name": "mynet",
"type": "macvlan",
"master": "eth0",
"ipam": {
"type": "dhcp"
}
}
Network configuration reference
name
(string, required): the name of the network
type
(string, required): "macvlan"
master
(string, optional): name of the host interface to enslave. Defaults to default route interace.
mode
(string, optional): one of "bridge", "private", "vepa", "passthru". Defaults to "bridge".
mtu
(integer, optional): explicitly set MTU to the specified value. Defaults to the value chosen by the kernel.
ipam
(dictionary, required): IPAM configuration to be used for this network. For interface only without ip address, create empty dictionary.
Notes
If are testing on a laptop, please remember that most wireless cards do not support being enslaved by macvlan.
A single master interface can not be enslaved by both macvlan
and ipvlan
.
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.