Unexpected inet6 in FreeBSD 4.9-STABLE

Chris Pepper pepper at reppep.com
Mon Mar 22 12:16:20 PST 2004


At 11:20 AM -0800 2004/03/22, Joshua Lokken wrote:
>* Matthew Emmerton <matt at gabby.gsicomp.on.ca> [2004-03-22 10:54]:
>>  On Mon, 22 Mar 2004, Chris Pepper wrote:
>>
>>  > At 11:53 AM -0500 2004/03/22, Teodor Iliescu wrote:
>>  > >On Mon, 22 Mar 2004, Chris Pepper wrote:
>>  > >
>>  > >[...]
>>  > >
>>  > >>	This is causing me some aggravation, as localhost connections
>>  > >>  (such as "apachectl fullstatus") are from "[client ::1]" instead of
>>  > >>  the old-fashioned  127.0.0.1. To my surprise,
>>  > >>
>>  > >
>>  > >Try commenting out (#) ::1 from /etc/hosts, which is loopback for IPv6.
>
>Close.
>
>
>>  >
>>  >	Nah, I don't want to break IPv6, just turn it off.
>>
>>  If you want to turn if off, remove it from your kernel.
>
>
>I think what you want to comment out is the line in httpd.conf that
>reads:
>
>Listen ::1

	Well, I really do want to disable the IPv6 interface 
entirely, so it doesn't show up in ifconfig, but I checked 
httpd.conf, and it has "Listen 80". The corresponding line in output 
from "netstat -an" is:

>tcp46      0      0  *.80                   *.*                    LISTEN


						Chris
PS-I am using the same kernel file for both guest & www, so either 
www will be picking up IPv6 on its next upgrade, or there's some 
other configuration difference...
-- 
Chris Pepper:               <http://www.reppep.com/~pepper/>
Rockefeller University:     <http://www.rockefeller.edu/>


More information about the freebsd-questions mailing list