Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 May 2000 16:37:07 -0400
From:      James Housley <jim@thehousleys.net>
To:        freebsd-hackers@freebsd.org
Cc:        ume@mahoroba.org
Subject:   Re: IPv6 and hosts.allow
Message-ID:  <3921B173.F6E8E479@thehousleys.net>
References:  <3921AB34.73A873DC@thehousleys.net> <200005162019.e4GKJsF75988@peace.mahoroba.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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