mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-05 16:39:31 +00:00
8053080cbc
Now when tcp_wrapper is enabled by inetd -wW, several accesses which should be permitted are refused only for IPv6, if hostname is used to decide the host to be allowed. IPv6 users will be just upset. About security related concern. -All extensions are wrapped by #ifdef INET6, so people can completely disable the extension by recompile libwrap without INET6 option. -Access via IPv6 is not enabled by default. People need to enable IPv6 access by changing /etc/inetd.conf at first, by adding tcp6 and/or tcp46 entries. -The base of patches are from KAME package and are actually daily used for more than a year in several Japanese IPv6 environments. -Patches are reviewed by markm. Approved by: jkh Submitted by: Hajimu UMEMOTO <ume@mahoroba.org> Reviewed by: markm Obtained from: KAME project
22 lines
418 B
Makefile
22 lines
418 B
Makefile
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
MAINTAINER=markm@FreeBSD.org
|
|
|
|
PROG= tcpdchk
|
|
MAN8= tcpdchk.8
|
|
SRCS= tcpdchk.c fakelog.c inetcf.c scaffold.c
|
|
|
|
CFLAGS= -DREAL_DAEMON_DIR=\"/usr/libexec\" \
|
|
-DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 \
|
|
-DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\"
|
|
CFLAGS+=-DINET6 -DUSE_GETIPNODEBY
|
|
|
|
DPADD= ${LIBWRAP}
|
|
LDADD= -lwrap
|
|
|
|
.PATH: ${.CURDIR}/../../contrib/tcp_wrappers
|
|
|
|
.include <bsd.prog.mk>
|