mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-22 03:04:34 +01:00
f92d9b1aad
pflow is a pseudo device to export flow accounting data over UDP. It's compatible with netflow version 5 and IPFIX (10). The data is extracted from the pf state table. States are exported once they are removed. Reviewed by: melifaro Obtained from: OpenBSD Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D43106
17 lines
305 B
Makefile
17 lines
305 B
Makefile
.PATH: ${SRCTOP}/sys/netpfil/pf
|
|
|
|
KMOD= pflow
|
|
SRCS= pflow.c \
|
|
opt_pf.h opt_inet.h opt_inet6.h opt_global.h
|
|
SRCS+= bus_if.h device_if.h
|
|
|
|
.if !defined(KERNBUILDDIR)
|
|
.if defined(VIMAGE)
|
|
opt_global.h:
|
|
echo "#define VIMAGE 1" >> ${.TARGET}
|
|
CFLAGS+= -include opt_global.h
|
|
.endif
|
|
.endif
|
|
|
|
.include <bsd.kmod.mk>
|