From owner-freebsd-bugs Tue May 16 19:50: 6 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 77F8537BB74 for ; Tue, 16 May 2000 19:50:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id TAA60690; Tue, 16 May 2000 19:50:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from thehousleys.net (frenchknot.ne.mediaone.net [24.147.224.201]) by hub.freebsd.org (Postfix) with ESMTP id 86E4137BB93 for ; Tue, 16 May 2000 19:47:04 -0700 (PDT) (envelope-from root@thehousleys.net) Received: (from root@localhost) by thehousleys.net (8.9.3/8.9.3) id SAA00557; Tue, 16 May 2000 18:16:20 -0400 (EDT) (envelope-from root) Message-Id: <200005162216.SAA00557@thehousleys.net> Date: Tue, 16 May 2000 18:16:20 -0400 (EDT) From: jim@thehousleys.net Reply-To: jim@thehousleys.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: conf/18614: IPv6 example in /etc/hosts.allow Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 18614 >Category: conf >Synopsis: There is no example in hosts.allow for IPv6 addresses >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue May 16 19:50:00 PDT 2000 >Closed-Date: >Last-Modified: >Originator: James Housley >Release: FreeBSD 4.0-STABLE i386 >Organization: The Housleys dot Net >Environment: >Description: hosts_access(5) has information on using IPv6 addresses in the hosts.allow file, but a simple example in hosts.allow would also be benificial. >How-To-Repeat: >Fix: --- hosts.allow Fri May 5 13:58:34 2000 +++ hosts.allow.new Tue May 16 18:11:37 2000 @@ -33,6 +33,9 @@ # 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 : [3ffe:fffe:2:1:2:3:4:3fe1] : deny +ALL : [3ffe:fffe:2:1::]/64 : allow # Sendmail can help protect you against spammers and relay-rapers sendmail : localhost : allow >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message