Re: How to stop my services from trying to bind to IPv6?
I just don't want my logs filling up with useless error messages ;) Thanks! On Mon, Aug 11, 2008 at 3:42 PM, Curt Micol <[EMAIL PROTECTED]> wrote: > On Mon, Aug 11, 2008 at 9:38 AM, Redd Vinylene <[EMAIL PROTECTED]> wrote: >> I use the default sshd config file, I'd rather not maintain one. >> >> As for my named.conf, I haven't enabled no IPv6 setting there either. >> >> Perhaps an ipv6_enable="NO" in rc.conf will do the trick? >> >> Honestly though, shouldn't FreeBSD assume I don't use IPv6 unless I >> tell it that I do? > > Nope, quite the opposite. IPv6 is in a lot of services, and keeping > it on is a good idea (at least imho). In rc.conf you can set many > *_flags to listen on IPv4. For example: > > sshd_flags="-4" > > You could also simply block all traffic on IPv6 (in pf): > block all inet6 > > HTH, > > -- > # Curt Micol > -- http://www.home.no/reddvinylene ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to stop my services from trying to bind to IPv6?
On Mon, Aug 11, 2008 at 9:38 AM, Redd Vinylene <[EMAIL PROTECTED]> wrote: > I use the default sshd config file, I'd rather not maintain one. > > As for my named.conf, I haven't enabled no IPv6 setting there either. > > Perhaps an ipv6_enable="NO" in rc.conf will do the trick? > > Honestly though, shouldn't FreeBSD assume I don't use IPv6 unless I > tell it that I do? Nope, quite the opposite. IPv6 is in a lot of services, and keeping it on is a good idea (at least imho). In rc.conf you can set many *_flags to listen on IPv4. For example: sshd_flags="-4" You could also simply block all traffic on IPv6 (in pf): block all inet6 HTH, -- # Curt Micol ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to stop my services from trying to bind to IPv6?
I use the default sshd config file, I'd rather not maintain one. As for my named.conf, I haven't enabled no IPv6 setting there either. Perhaps an ipv6_enable="NO" in rc.conf will do the trick? Honestly though, shouldn't FreeBSD assume I don't use IPv6 unless I tell it that I do? On Mon, Aug 11, 2008 at 3:36 PM, Robert Huff <[EMAIL PROTECTED]> wrote: > Redd Vinylene writes: > > >> I haven't enabled IPv6, yet many of my processes are trying to bind to it. >> >> Aug 11 16:19:13 camel named[1562]: couldn't add command channel >> ::1#953: socket already bound >> Aug 11 16:19:20 camel sshd[1757]: error: Bind to port 22 on :: failed: >> Invalid argument. >> >> Is there an easy way to stop these services from trying to bind to >> IPv6, other than explicitly telling each and every one not to do so? > >In both cases, the first place to check would be the config > files. > > >Robert Huff > > -- http://www.home.no/reddvinylene ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"