Re: Unexpected inet6 in FreeBSD 4.9-STABLE

2004-03-22 Thread Teodor Iliescu
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,
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.html
 doesn't talk about rc.conf at all, and I'm not sure where else this
 would be set up.


Try commenting out (#) ::1 from /etc/hosts, which is loopback for IPv6.

Afterwards try to a full Apache restart with

apachectl stop
apachectl start

If you want to get more experimental, you can go ahead and completely
remove IPv6 support from your kernel, although I don't see this as
necessary.

Hope this helps.

Unix is simple, but it takes a genius to understand the simplicity.
- Dennis Ritchie

Teodor I.
http://penguincomputing.iwarp.com
GPG key fingerprint : 9AC8 A05C 78AD AD73 91DB  CBE4 B644 F402 FBFD 5927
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unexpected inet6 in FreeBSD 4.9-STABLE

2004-03-22 Thread Chris Pepper
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,
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.html
 doesn't talk about rc.conf at all, and I'm not sure where else this
 would be set up.
Try commenting out (#) ::1 from /etc/hosts, which is loopback for IPv6.
Teodor,

	Thanks for the suggestion.

	I commented out ::1 and rebooted. Unfortunately, ifconfig 
still shows inet6 configured on xl0.

	FWIW, www, which does not show inet6, also has the ::1 entry 
in /etc/hosts, so there's something else different.

If you want to get more experimental, you can go ahead and completely
remove IPv6 support from your kernel, although I don't see this as
necessary.
	Nah, I don't want to break IPv6, just turn it off.

Chris
--
Chris Pepper:   http://www.reppep.com/~pepper/
Rockefeller University: http://www.rockefeller.edu/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unexpected inet6 in FreeBSD 4.9-STABLE

2004-03-22 Thread Matthew Emmerton
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,
 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.html
   doesn't talk about rc.conf at all, and I'm not sure where else this
   would be set up.
 
 
 Try commenting out (#) ::1 from /etc/hosts, which is loopback for IPv6.

 Teodor,

   Thanks for the suggestion.

   I commented out ::1 and rebooted. Unfortunately, ifconfig
 still shows inet6 configured on xl0.

   FWIW, www, which does not show inet6, also has the ::1 entry
 in /etc/hosts, so there's something else different.

 If you want to get more experimental, you can go ahead and completely
 remove IPv6 support from your kernel, although I don't see this as
 necessary.

   Nah, I don't want to break IPv6, just turn it off.

If you want to turn if off, remove it from your kernel.

--
Matt Emmerton

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unexpected inet6 in FreeBSD 4.9-STABLE

2004-03-22 Thread Joshua Lokken
* Matthew Emmerton [EMAIL PROTECTED] [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


-- 
Joshua

Vulcans believe peace should not depend on force.
-- Amanda, Journey to Babel, stardate 3842.3
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unexpected inet6 in FreeBSD 4.9-STABLE

2004-03-22 Thread Chris Pepper
At 11:20 AM -0800 2004/03/22, Joshua Lokken wrote:
* Matthew Emmerton [EMAIL PROTECTED] [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/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unexpected inet6 in FreeBSD 4.9-STABLE

2004-03-22 Thread Robert Huff

Chris Pepper writes:

   Well, I really do want to disable the IPv6 interface 
  entirely, so it doesn't show up in ifconfig,

... and that's not gonna happen unless you rip IPv6 out of the
kernel.
The next best thing I can think of would be to install ipfw6
and put in a rule that denys all traffiv on all interfaces.


Robert Huff




___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Unexpected inet6 in FreeBSD 4.9-STABLE

2004-03-21 Thread Chris Pepper
	I have two systems, named www  guest. Both are tracking 
FreeBSD 4.9-STABLE, but guest is a bit more current. Neither has IPv6 
explicitly enabled, but for some reason, guest insists on configuring 
an inet6 interface at boot time (ifconfig xl0 shows an additional 
inet6 address line, not present on www).

	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, 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.html 
doesn't talk about rc.conf at all, and I'm not sure where else this 
would be set up.

	Suggestions, references for further reading, or pointers to 
the obvious bit which I'm missing all welcomed (please CC me 
directly).

[EMAIL PROTECTED]:~$ uname -a
FreeBSD guest.reppep.com 4.9-STABLE FreeBSD 4.9-STABLE #0: Sat Feb 
28 23:56:37 EST 2004 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
[EMAIL PROTECTED]:~$ grep -i v6 /etc/rc.conf
ipv6_enable=NO# Set to YES to set up for IPv6.


		Thank you,

Chris Pepper
--
Chris Pepper:   http://www.reppep.com/~pepper/
Rockefeller University: http://www.rockefeller.edu/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]