Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 May 2000 18:16:20 -0400 (EDT)
From:      jim@thehousleys.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   conf/18614: IPv6 example in /etc/hosts.allow
Message-ID:  <200005162216.SAA00557@thehousleys.net>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200005162216.SAA00557>