Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@AMDmi3
Last active December 27, 2022 19:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AMDmi3/cdd3e46fe95bbc72b8f92e781e6bf31d to your computer and use it in GitHub Desktop.
Save AMDmi3/cdd3e46fe95bbc72b8f92e781e6bf31d to your computer and use it in GitHub Desktop.
net/ipa_ipfw
SHA256 (ipa_ipfw-1.1.tar.bz2) = 50fd880b9b832fa305773c59fa040afb34e30d7960126f98d382acda9f5f2b16
SIZE (ipa_ipfw-1.1.tar.bz2) = 16540
PORTNAME= ipa_ipfw
PORTVERSION= 1.1
CATEGORIES= net
MASTER_SITES= SF/ipa-system/modules/ipa_ipfw
MAINTAINER= ports@FreeBSD.org
COMMENT= IPA accounting module for FreeBSD IP Firewall
WWW= https://ipa-system.sourceforge.net/modules/ipa_ipfw/
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${LOCALBASE}/include/ipa_mod.h:sysutils/ipa
USES= tar:bzip2
USE_LDCONFIG= yes
MAKE_ENV+= DEBUG_FLAGS="" PREFIX=${PREFIX} LOCALINCLUDE=${LOCALBASE}/include
MAKE_ENV+= NO_WCAST_ALIGN.clang=yes
PLIST_FILES= lib/ipa_ipfw.so share/man/man8/ipa_ipfw.8.gz
do-install:
${INSTALL_LIB} ${WRKSRC}/ipa_ipfw.so ${STAGEDIR}${PREFIX}/lib
${INSTALL_MAN} ${WRKSRC}/man/ipa_ipfw.8 ${STAGEDIR}${MAN8PREFIX}/share/man/man8
.include <bsd.port.mk>
IPA_IPFW -- IPA accounting module for FreeBSD IP Firewall
Main features:
- The module is designed for traffic accounting from IP Firewall
(including IPFW2) rules byte counters;
- The module understands IP Firewall rules byte counters overflow;
- It is possible to summarize and subtract statistics of IP Firewall
rules byte counters;
- It is possible to distinguish IP Firewall rules with the same numbers;
- IP Firewall rules can be dynamically added to and deleted from
the system, the module correctly works in such situations.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment