Re: turning off IPv6 support in BSD
On Sun, 21 Nov 2004 03:59:23 +1100, andrew clarke [EMAIL PROTECTED] wrote: On Sat, Nov 20, 2004 at 04:50:58PM +, Danny Browne wrote: How do i turn off IPv6 support in FreeBSD 4.10? Remove options INET6 from your kernel config file (/sys/i386/conf/XXX), rebuild your kernel and reboot your machine. There may be a way to turn it off at runtime using sysctl, but I don't know what it is, and in hindsight it probably wouldn't make much sense to do that at runtime, although I'm willing to be convinced otherwise. :) Regards Andrew You can also comment out the 'ipv6_enable=YES' line in /etc/rc.conf. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: turning off IPv6 support in BSD
On Sun, 21 Nov 2004 12:27:19 +0200, Panagiotis Christias [EMAIL PROTECTED] wrote: On Sun, 21 Nov 2004 03:59:23 +1100, andrew clarke [EMAIL PROTECTED] wrote: On Sat, Nov 20, 2004 at 04:50:58PM +, Danny Browne wrote: How do i turn off IPv6 support in FreeBSD 4.10? Remove options INET6 from your kernel config file (/sys/i386/conf/XXX), rebuild your kernel and reboot your machine. There may be a way to turn it off at runtime using sysctl, but I don't know what it is, and in hindsight it probably wouldn't make much sense to do that at runtime, although I'm willing to be convinced otherwise. :) Regards Andrew You can also comment out the 'ipv6_enable=YES' line in /etc/rc.conf. I just ensured my rc.conf didn't have ipv6_enable=YES dropped to single user mode and came back up and it appears there is still support for IPv6 netstat -anf inet6 Active Internet connections (including servers) Proto Recv-Q Send-Q Local Address Foreign Address(state) tcp6 0 0 *.22 *.*LISTEN There also doesn't seem to be anything in `sysctl -a', so I would imagine you will have to rebuild the kernel with: options INET6 commented out or removed. Hope this helps. David ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: turning off IPv6 support in BSD
On 2004-11-21T11:01:09+, David Jenkins wrote: On Sun, 21 Nov 2004 12:27:19 +0200, Panagiotis Christias [EMAIL PROTECTED] wrote: On Sun, 21 Nov 2004 03:59:23 +1100, andrew clarke [EMAIL PROTECTED] wrote: On Sat, Nov 20, 2004 at 04:50:58PM +, Danny Browne wrote: How do i turn off IPv6 support in FreeBSD 4.10? Remove options INET6 from your kernel config file (/sys/i386/conf/XXX), rebuild your kernel and reboot your machine. There may be a way to turn it off at runtime using sysctl, but I don't know what it is, and in hindsight it probably wouldn't make much sense to do that at runtime, although I'm willing to be convinced otherwise. :) Regards Andrew You can also comment out the 'ipv6_enable=YES' line in /etc/rc.conf. I just ensured my rc.conf didn't have ipv6_enable=YES dropped to single user mode and came back up and it appears there is still support for IPv6 ipv6_enable=YES is defined in /etc/defaults/rc.conf, so you have to define ipv6_enable=NO in /etc/rc.conf to realize any change. FYI, since I actively use IPv6, I can't really say what the above definition will actually accomplish, but wanted to clear up what needed to be defined in /etc/rc.conf. To get rid of IPv6 completely (why would you want this? :) ), you should definitely rebuild your kernel without INET6. -- Michael W. Oliver [see complete headers for contact information] pgpZSE3kPhrt0.pgp Description: PGP signature
Re: turning off IPv6 support in BSD
On Sun, Nov 21, 2004 at 09:58:39AM -0500, Michael W. Oliver wrote: To get rid of IPv6 completely (why would you want this? :) ), you should definitely rebuild your kernel without INET6. I suppose it would be a good idea to remove IPv6 support from hosts on IPv4-only intranets because it's then one less thing to worry about from a security point of view. Plus, of course, marginally less overhead in the kernel. Regards Andrew ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: turning off IPv6 support in BSD
Isn't it supposed to be ipv6_enable=NONE I could be wrong. andrew clarke wrote: On Sun, Nov 21, 2004 at 09:58:39AM -0500, Michael W. Oliver wrote: To get rid of IPv6 completely (why would you want this? :) ), you should definitely rebuild your kernel without INET6. I suppose it would be a good idea to remove IPv6 support from hosts on IPv4-only intranets because it's then one less thing to worry about from a security point of view. Plus, of course, marginally less overhead in the kernel. Regards Andrew ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: turning off IPv6 support in BSD
On Sun, 21 Nov 2004 09:58:39 -0500, Michael W. Oliver [EMAIL PROTECTED] wrote: On 2004-11-21T11:01:09+, David Jenkins wrote: On Sun, 21 Nov 2004 12:27:19 +0200, Panagiotis Christias [EMAIL PROTECTED] wrote: On Sun, 21 Nov 2004 03:59:23 +1100, andrew clarke [EMAIL PROTECTED] wrote: On Sat, Nov 20, 2004 at 04:50:58PM +, Danny Browne wrote: How do i turn off IPv6 support in FreeBSD 4.10? Remove options INET6 from your kernel config file (/sys/i386/conf/XXX), rebuild your kernel and reboot your machine. There may be a way to turn it off at runtime using sysctl, but I don't know what it is, and in hindsight it probably wouldn't make much sense to do that at runtime, although I'm willing to be convinced otherwise. :) Regards Andrew You can also comment out the 'ipv6_enable=YES' line in /etc/rc.conf. I just ensured my rc.conf didn't have ipv6_enable=YES dropped to single user mode and came back up and it appears there is still support for IPv6 ipv6_enable=YES is defined in /etc/defaults/rc.conf, so you have to define ipv6_enable=NO in /etc/rc.conf to realize any change. Not on my system (RELENG_5_3)... # cat /etc/defaults/rc.conf | grep ipv6_enable ipv6_enable=NO# Set to YES to set up for IPv6. David ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: turning off IPv6 support in BSD
David Jenkins writes: ipv6_enable=YES is defined in /etc/defaults/rc.conf, so you have to define ipv6_enable=NO in /etc/rc.conf to realize any change. Not on my system (RELENG_5_3)... # cat /etc/defaults/rc.conf | grep ipv6_enable ipv6_enable=NO# Set to YES to set up for IPv6. Affirmed for -CURRENT. Robert Huff ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: turning off IPv6 support in BSD
On 2004-11-21T11:31:44-0500, Robert Huff wrote: David Jenkins writes: ipv6_enable=YES is defined in /etc/defaults/rc.conf, so you have to define ipv6_enable=NO in /etc/rc.conf to realize any change. Not on my system (RELENG_5_3)... # cat /etc/defaults/rc.conf | grep ipv6_enable ipv6_enable=NO# Set to YES to set up for IPv6. Affirmed for -CURRENT. Robert Huff Doh! Yeah, you guys are right... as far as I can tell, it's always been set to NO in /etc/defaults/rc.conf. Sorry 'bout that. -- Michael W. Oliver [see complete headers for contact information] pgpQPw2UGjENZ.pgp Description: PGP signature
Re: turning off IPv6 support in BSD
On Sun, 21 Nov 2004, Michael W. Oliver wrote: On 2004-11-21T11:31:44-0500, Robert Huff wrote: David Jenkins writes: ipv6_enable=YES is defined in /etc/defaults/rc.conf, so you have to define ipv6_enable=NO in /etc/rc.conf to realize any change. Not on my system (RELENG_5_3)... # cat /etc/defaults/rc.conf | grep ipv6_enable ipv6_enable=NO# Set to YES to set up for IPv6. Affirmed for -CURRENT. Yeah, you guys are right... as far as I can tell, it's always been set to NO in /etc/defaults/rc.conf. Sorry 'bout that. Not only that, but it appears not to matter. I'm running 4.10 on this machine (same as the OP), with ipv6_enable=NO in /etc/defaults/rc.conf and nothing to override it in /etc/rc.conf. Yet the machine booted with IPv6 enabled. Only when I disabled IPv6 in the kernel did v6 stop trying to happen. This also had the effect of speeding up name resolution by Mozilla and friends, which IIRC was the OP's issue in the first place. -- Chris Hill [EMAIL PROTECTED] ** [ Busy Expunging | ] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: turning off IPv6 support in BSD
Hello, If you turn off ipv6 support either in the kernel or via rc.conf will it be possible to load ipfilter as a module vs. compiling it in to the kernel? I turned off ipv6 in the kernel on a 5.3 box, but ipfilter was unable to load the module was not found because it depended on ipv6. Thanks. Dave. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
turning off IPv6 support in BSD
How do i turn off IPv6 support in FreeBSD 4.10? Regards, Danny Browne _ Sign up for eircom broadband now and get a free two month trial.* Phone 1850 73 00 73 or visit http://home.eircom.net/broadbandoffer ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: turning off IPv6 support in BSD
On Sat, Nov 20, 2004 at 04:50:58PM +, Danny Browne wrote: How do i turn off IPv6 support in FreeBSD 4.10? Remove options INET6 from your kernel config file (/sys/i386/conf/XXX), rebuild your kernel and reboot your machine. There may be a way to turn it off at runtime using sysctl, but I don't know what it is, and in hindsight it probably wouldn't make much sense to do that at runtime, although I'm willing to be convinced otherwise. :) Regards Andrew ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]