Port details
cni-epair CNI plugin giving containers a LAN address via epair and bridge
1.3.1 sysutils Σ=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: ahze@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-10-03 21:33:07
Last Update: 2026-11-27 19:47:55
Commit Hash: 45cb497
License: BSD2CLAUSE
WWW:
https://github.com/daemonless/cni-epair
Description: #
A CNI plugin that gives FreeBSD containers an address on a real LAN segment. FreeBSD has no macvlan. This plugin does the native equivalent: it creates an epair per container, attaches one end to a host bridge, moves the other into the container's jail, and applies the address supplied by IPAM. IPv4 and IPv6 are both supported, together or alone: a network configuration carrying a range for each gives the container an address and a default route in both families. It implements the ADD, DEL, CHECK and VERSION commands, and delegates address allocation to the IPAM plugin named in the network configuration.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port
Manual pages: #
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist #
Expand this list (5 items)
Collapse this list.
  1. libexec/cni/epair
  2. /usr/local/share/licenses/cni-epair-1.3.1/catalog.mk
  3. /usr/local/share/licenses/cni-epair-1.3.1/LICENSE
  4. /usr/local/share/licenses/cni-epair-1.3.1/BSD2CLAUSE
  5. share/sbom/pc/cni-epair.pc
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • cni-epair>0:sysutils/cni-epair
To install the port: #
cd /usr/ports/sysutils/cni-epair/ && make install clean
To add the package, run one of these commands:
  • pkg install sysutils/cni-epair
  • pkg install cni-epair
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: cni-epair
Flavors: #
there is no flavor information for this port.
distinfo: #
TIMESTAMP = 1795805093 SHA256 (daemonless-cni-epair-v1.3.1_GH0.tar.gz) = b676e62976cb8a21590c01b35ec07e1bdddb88965b92fd791fe37d0394d04b14 SIZE (daemonless-cni-epair-v1.3.1_GH0.tar.gz) = 25364

Packages (timestamps in pop-ups are UTC): #
cni-epair
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest1.2.11.2.2--1.2.2
FreeBSD:14:quarterly-----
FreeBSD:15:latest1.2.21.3.1n/a-n/a
FreeBSD:15:quarterly--n/a-n/a
FreeBSD:16:latest CURRENT1.2.11.2.2n/a-n/a
This port has no dependencies. #
This port is required by: #
for Run #
  1. sysutils/fjord

Configuration Options: #
===> The following configuration options are available for cni-epair-1.3.1: DOCS=on: Build and/or install documentation EXAMPLES=on: Build and/or install examples ===> Use 'make config' to modify these settings
Options name: #
sysutils_cni-epair
pkg-message: #
FreshPorts was unable to extract/find any pkg message
Master Sites: #
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/daemonless/cni-epair/tar.gz/v1.3.1?dummy=/
Collapse this list.

Number of commits found: 6 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.3.1
27 Nov 2026 19:47:55
commit hash: 45cb49772d5ad18779b2e536d2bdacbb0cc65d20commit hash: 45cb49772d5ad18779b2e536d2bdacbb0cc65d20commit hash: 45cb49772d5ad18779b2e536d2bdacbb0cc65d20commit hash: 45cb49772d5ad18779b2e536d2bdacbb0cc65d20 files touched by this commit
Michael Johnson (ahze) search for other commits by this committer
sysutils/cni-epair: Update to 1.3.1

A container on several epair networks no longer leaves epairs behind
when it is removed, and gets one default route instead of one per
network.  The DHCP lease's DNS server, returned since 1.2.2, is now
returned only when the network sets "leaseDns": true.

Drop the run dependency on net/containernetworking-plugins: host-local
is only used by networks whose configuration names it, and a CNI runtime
brings those plugins itself.  A pkg-message says when it is needed.

Changelog:	https://github.com/daemonless/cni-epair/releases/tag/v1.3.0
		https://github.com/daemonless/cni-epair/releases/tag/v1.3.1
Reviewed by:	acm
Approved by:	acm (mentor)
Differential Revision:	https://reviews.freebsd.org/D62149
1.2.2
17 Nov 2026 23:56:34
commit hash: 2645328e77be1a5a444027a00f33316a2f42e750commit hash: 2645328e77be1a5a444027a00f33316a2f42e750commit hash: 2645328e77be1a5a444027a00f33316a2f42e750commit hash: 2645328e77be1a5a444027a00f33316a2f42e750 files touched by this commit
Michael Johnson (ahze) search for other commits by this committer
sysutils/cni-epair: Update to 1.2.2

Apply configured MTU (or the bridge's own MTU by default) to both ends
of the epair, keep error messages valid JSON, return the DHCP lease's
DNS server in dns.nameservers, and search CNI_PATH before
${LOCALBASE}/libexec/cni for IPAM plugins.

Changelog:	https://github.com/daemonless/cni-epair/releases/tag/v1.2.2
Reviewed by:	dtxdf
Approved by:	dtxdf (mentor)
Differential Revision:	https://reviews.freebsd.org/D61688
1.2.1
02 Nov 2026 20:34:51
commit hash: 7b768c3427132a1831e86f70da1214172b11db33commit hash: 7b768c3427132a1831e86f70da1214172b11db33commit hash: 7b768c3427132a1831e86f70da1214172b11db33commit hash: 7b768c3427132a1831e86f70da1214172b11db33 files touched by this commit
Michael Johnson (ahze) search for other commits by this committer
sysutils/cni-epair: Update to 1.2.1

The jail side is configured with ifconfig -j and route -j from the host,
so an image without an ifconfig of its own gets a network.  Needs 14.0 or
newer.

Changelog:	https://github.com/daemonless/cni-epair/releases/tag/v1.2.1
Reviewed by:	dtxdf
Approved by:	dtxdf (mentor)
Differential Revision:	https://reviews.freebsd.org/D61131
1.2.0
27 Oct 2026 18:50:46
commit hash: 3e61b1684cec79ea78b33ed623ce049e60bc4e2acommit hash: 3e61b1684cec79ea78b33ed623ce049e60bc4e2acommit hash: 3e61b1684cec79ea78b33ed623ce049e60bc4e2acommit hash: 3e61b1684cec79ea78b33ed623ce049e60bc4e2a files touched by this commit
Michael Johnson (ahze) search for other commits by this committer
sysutils/cni-epair: Update to 1.2.0

Containers can now join a VLAN of a bridge with vlanfilter, set per
network in the epair plugin block (vlan, taggedVlans).

Changes:	https://github.com/daemonless/cni-epair/releases/tag/v1.2.0
PR:		300139
Approved by:	acm (mentor)
1.1.3
11 Oct 2026 23:25:20
commit hash: e94cf0ee37e234c43e08bca82f07c48c4add5b20commit hash: e94cf0ee37e234c43e08bca82f07c48c4add5b20commit hash: e94cf0ee37e234c43e08bca82f07c48c4add5b20commit hash: e94cf0ee37e234c43e08bca82f07c48c4add5b20 files touched by this commit
Michael Johnson (ahze) search for other commits by this committer
sysutils/cni-epair: Update to 1.1.3

Request DHCP leases under the container's name instead of the host's
hostname, so a container no longer takes over the host's DNS record.

While here, update MAINTAINER to my FreeBSD address.

Reviewed by:  acm, dtxdf
Approved by:  acm, dtxdf (mentors)
Differential Revision:        https://reviews.freebsd.org/D60583
1.1.1
03 Oct 2026 21:29:17
commit hash: 968b1ae64b83522f159bd57ab3cd85d79334f2f9commit hash: 968b1ae64b83522f159bd57ab3cd85d79334f2f9commit hash: 968b1ae64b83522f159bd57ab3cd85d79334f2f9commit hash: 968b1ae64b83522f159bd57ab3cd85d79334f2f9 files touched by this commit
Jesús Daniel Colmenares Oviedo (dtxdf) search for other commits by this committer
Author: Michael Johnson
sysutils/cni-epair: New port: CNI plugin giving containers a LAN address via
epair and bridge

A CNI plugin that gives FreeBSD containers an address on a real LAN segment.

FreeBSD has no macvlan. This plugin does the native equivalent: it creates an
epair per container, attaches one end to a host bridge, moves the other into
the container's jail, and applies the address supplied by IPAM.

IPv4 and IPv6 are both supported, together or alone: a network configuration
carrying a range for each gives the container an address and a default route
in both families.

It implements the ADD, DEL, CHECK and VERSION commands, and delegates address
allocation to the IPAM plugin named in the network configuration.

WWW: https://github.com/daemonless/cni-epair

PR:             298571

Number of commits found: 6