From 8053080cbc1ee98871dd7549fef2a6d80f99a00a Mon Sep 17 00:00:00 2001 From: Yoshinobu Inoue Date: Thu, 3 Feb 2000 10:27:03 +0000 Subject: Missing tcp_wrapper IPv6 support seemed to be a bug, so commit it. 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 Reviewed by: markm Obtained from: KAME project --- lib/libwrap/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/libwrap/Makefile') diff --git a/lib/libwrap/Makefile b/lib/libwrap/Makefile index 83800677642f..ab565d0b6b12 100644 --- a/lib/libwrap/Makefile +++ b/lib/libwrap/Makefile @@ -15,6 +15,7 @@ CFLAGS+=-DFACILITY=LOG_AUTH -DHOSTS_ACCESS -DNETGROUP -DDAEMON_UMASK=022 \ -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 \ -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" \ -DSYS_ERRLIST_DEFINED -DALWAYS_HOSTNAME +CFLAGS+=-DINET6 -DUSE_GETIPNODEBY SRCS= clean_exit.c diag.c eval.c fix_options.c fromhost.c \ hosts_access.c hosts_ctl.c misc.c myvsyslog.c options.c \ -- cgit v1.3