an easy and consistent way of installing software ported to FreeBSD
The cnupm is an IP/IPv6 traffic collector daemon; it listens on a network
interface for IP/IPv6 packets that match the boolean expression (see
tcpdump(8) for more information) and collects the following statistics:
o address family (INET/INET6)
o IP/IPv6 protocol number
o source IP/IPv6 address
o source TCP/UDP port
o destination IP/IPv6 address
o destination TCP/UDP port
o total number of bytes trasferred
WWW: http://pdp-11.org.ru/~form/cnupm/
************************************************************
Add the following lines to /etc/rc.conf to enable cnupm:
cnupm_enable="YES"
cnupm_iface="rl0" # Change this with your interface!
#cnupm_flags="" # Set this one to override default flags
See cnupm(8) for flags
************************************************************
sbin/cnupm
sbin/cnupmstat
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@exec pw groupshow %%CNUPM_GRP%% 2>/dev/null || pw groupadd -n %%CNUPM_GRP%%
@exec pw usershow %%CNUPM_OWN%% 2>/dev/null || pw useradd -n %%CNUPM_OWN%% -c 'Cnupm traffic collector' -g %%CNUPM_GRP%% -s /sbin/nologin
@exec install -o %%CNUPM_OWN%% -g %%CNUPM_GRP%% -m 750 -d %D/var/cnupm
@exec pw usermod -n %%CNUPM_OWN%% -d %D/var/cnupm
@dirrmtry var/cnupm