BSD Ports

net/miniupnpd 2.3.11,1 FreeBSD

Lightweight UPnP IGD & PCP/NAT-PMP daemon which uses pf

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
5bbc7e7074
License
BSD3CLAUSE
Categories
net
Package size
72.6 KiB, 162.0 KiB installed

Description

MiniUPnPd is a lightweight implementation of a UPnP IGD & PCP/NAT-PMP daemon. This is supposed to be run on your gateway machine to allow client systems to map ports on the firewall.

In the other systems

SystemPortVersion
FreeBSDnet/miniupnpd2.3.11,1
OpenBSDnet/miniupnp/miniupnpd2.3.8
NetBSDnet/miniupnpd2.1
HardenedBSDnet/miniupnpd2.3.9_1,1
GhostBSDnet/miniupnpd2.3.9_1,1
OPNsensenet/miniupnpd2.3.9_2,1

Install

Binary package:

pkg install miniupnpd

From the ports tree:

cd /usr/ports/net/miniupnpd/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	miniupnpd>0:net/miniupnpd

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.3.9_1,12.3.11,12.1.20200510,12.3.9_1,12.3.11,1
FreeBSD:14:quarterly2.3.9_1,12.3.11,1n/a2.3.9_1,12.3.11,1
FreeBSD:15:latest2.3.9_1,12.3.11,1n/a2.3.9_1,12.3.9_1,1
FreeBSD:15:quarterly2.3.11,12.3.9_1,1n/an/an/a
FreeBSD:16:latest2.3.9_1,12.3.11,1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Library 1

The full lists below include those, and their dependencies in turn.

Build dependencies 1
Run dependencies 1

No port depends on this one.

Configuration

Options name: net_miniupnpd

OptionDefaultDescription
CHECK_PORTINUSEoffCheck if ports are in use
IPV6offIPv6 protocol support
LEASEFILEoffEnable lease file
UPNP_IGDV2offBuild an IGDv2 instead of an IGDv1
UPNP_STRICToffMore strict UPnP specification compliance
USES
cpe localbase:ldflags ssl
Service scripts
miniupnpd

Message after installing

*** !!WARNING!! !!WARNING!! !!WARNING!! ***
This port allows machines within your network to create holes in your
firewall.  Please ensure this is really what you want!
*** !!WARNING!! !!WARNING!! !!WARNING!! ***

For this daemon to work, you must modify your pf rules to add an anchor
in both the NAT and rules section.  Both must be called 'miniupnpd'.
Example:

# NAT section
# UPnPd rdr anchor
rdr-anchor "miniupnpd"

# Rules section
# uPnPd rule anchor
anchor "miniupnpd"

Files

distinfo 1
FileSizeSHA256
miniupnpd-2.3.11.tar.gz30818091994b127da735b2c97f19992e34420648c0e8c4ace8a4bcb0596e7685c48678
Master sites 2
  • http://miniupnp.free.fr/files/
  • https://github.com/miniupnp/miniupnp/releases/download/miniupnpd_${DISTVERSION:S|.|_|g}/

Commit history 1

DateCommitCreditsLog message
5bbc7e7074 R. Christian McDonald net/miniupnpd: Update to 2.3.11
Changelog (highlights): - fix heap overflow in PinholeVerification() - fix PCP option size parsing - re-enable port forwarding properly (broken in 2.3.10) - fix buffer read overflow in minixml.c http://miniupnp.free.fr/files/changelog.php?file=miniupnpd-2.3.11.tar.gz Port changes: - drop the upstream testportinuse build fix, now included in the release; - set the address family on the pool address passed to DIOCADDADDR in add_nat_rule() and add_redirect_rule2(); - take maintainership. Thanks to [email protected] for maintaining this port. PR: 298991 Reviewed by: vvd Approved by: [email protected] (maintainer) Sponsored by: Rubicon Communications, LLC ("Netgate")