From owner-freebsd-hackers Tue May 16 13:37:13 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from thehousleys.net (frenchknot.ne.mediaone.net [24.147.224.201]) by hub.freebsd.org (Postfix) with ESMTP id 17C9A37B8A4 for ; Tue, 16 May 2000 13:37:09 -0700 (PDT) (envelope-from jim@thehousleys.net) Received: from thehousleys.net (baby.int.thehousleys.net. [192.168.0.24]) by thehousleys.net (8.9.3/8.9.3) with ESMTP id QAA02353; Tue, 16 May 2000 16:37:07 -0400 (EDT) Message-ID: <3921B173.F6E8E479@thehousleys.net> Date: Tue, 16 May 2000 16:37:07 -0400 From: James Housley Organization: The Housleys dot Net X-Mailer: Mozilla 4.72 [en] (X11; U; FreeBSD 4.0-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Cc: ume@mahoroba.org Subject: Re: IPv6 and hosts.allow References: <3921AB34.73A873DC@thehousleys.net> <200005162019.e4GKJsF75988@peace.mahoroba.org> Content-Type: multipart/mixed; boundary="------------B01C241B9A42ED15000AE95C" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. --------------B01C241B9A42ED15000AE95C Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit "Hajimu UMEMOTO (梅本 肇)" wrote: > > Yes, I wrote IPv6 support code for tcp_wrappers. And, actually, I'm > using it. > How do you specify IPv6 address? IPv6 address has `:' in it and it > conflict with tcp_wrappers's field separator. So, you need to wrap > IPv6 address with `[' and `]'. > Like this? Would you like me to submit a PR with this or can you commit the changes or better ones??? Jim -- Studies show that 1 out of every 4 Americans suffer some form of mental illness. So look at your three best friends, if they are okay it is YOU! --------------B01C241B9A42ED15000AE95C Content-Type: text/plain; charset=us-ascii; name="hosts.allow.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="hosts.allow.diff" --- hosts.allow Fri May 5 13:58:34 2000 +++ hosts.allow.new Tue May 16 16:34:05 2000 @@ -33,6 +33,8 @@ # name) *MUST* be specified for portmap(8). ALL : localhost 127.0.0.1 : allow ALL : my.machine.example.com 192.0.2.35 : allow +# To use IPv6 addresses you must enclose them in []'s +ALL : [fe80::/10] # Sendmail can help protect you against spammers and relay-rapers sendmail : localhost : allow --------------B01C241B9A42ED15000AE95C-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message