Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Aug 2008 09:42:48 -0400
From:      "Curt Micol" <asenchi@gmail.com>
To:        "Redd Vinylene" <reddvinylene@gmail.com>
Cc:        Robert Huff <roberthuff@rcn.com>, questions@freebsd.org
Subject:   Re: How to stop my services from trying to bind to IPv6?
Message-ID:  <8d9c091a0808110642s127b690x33d3cde570dbd813@mail.gmail.com>
In-Reply-To: <f1019d520808110638h473747bdt44dfca4e53ff8d73@mail.gmail.com>
References:  <f1019d520808110622j1a654670h5d17d1fa9e167a9f@mail.gmail.com> <18592.16475.776041.273847@jerusalem.litteratus.org> <f1019d520808110638h473747bdt44dfca4e53ff8d73@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 11, 2008 at 9:38 AM, Redd Vinylene <reddvinylene@gmail.com> 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



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