1999-08-28 01:08:13 +00:00
|
|
|
# $FreeBSD$
|
1995-01-12 13:03:02 +00:00
|
|
|
|
2001-01-06 14:00:42 +00:00
|
|
|
.PATH: ${.CURDIR}/../../netinet
|
|
|
|
|
1998-10-16 04:30:52 +00:00
|
|
|
KMOD= ipfw
|
2004-08-23 03:38:21 +00:00
|
|
|
SRCS= ip_fw2.c ip_fw_pfil.c \
|
|
|
|
opt_inet.h opt_ipfw.h opt_ipdn.h opt_ipdivert.h opt_ipsec.h \
|
|
|
|
opt_pfil_hooks.h
|
2001-01-06 14:00:42 +00:00
|
|
|
|
1999-04-20 14:31:23 +00:00
|
|
|
CFLAGS+= -DIPFIREWALL
|
1995-01-12 13:03:02 +00:00
|
|
|
#
|
1995-01-12 13:57:51 +00:00
|
|
|
#If you want it verbose
|
1995-01-12 13:03:02 +00:00
|
|
|
#CFLAGS+= -DIPFIREWALL_VERBOSE
|
1996-06-23 14:28:02 +00:00
|
|
|
#CFLAGS+= -DIPFIREWALL_VERBOSE_LIMIT=100
|
1995-01-12 13:03:02 +00:00
|
|
|
#
|
1997-09-10 04:19:07 +00:00
|
|
|
#If you want it to pass all packets by default
|
|
|
|
#CFLAGS+= -DIPFIREWALL_DEFAULT_TO_ACCEPT
|
|
|
|
#
|
2004-08-23 03:38:21 +00:00
|
|
|
opt_inet.h:
|
|
|
|
echo "#define INET 1" > opt_inet.h
|
1995-01-12 13:03:02 +00:00
|
|
|
|
2000-05-27 01:14:33 +00:00
|
|
|
.include <bsd.kmod.mk>
|