I've gone back and forth about which way to go. There are two items
that fall under this particularly. The first is named hosts. I can
fully see wanting to use the appropriate named entries on all interfaces.
The second item is the "*" host or the :: and 0.0.0.0 addressess.
Again, the question comes in, should the default for "*" be to do all
interfaces.
I could really go both ways, but up until now I've sided on security and
lower resources. Loading IPv6 libraries adds half a MB to the server -
but maybe that doesn't really matter. The security is the other side
though. Services might suddenly start binding to interfaces they
weren't realizing were open.
I am sort of wondering what software you are using that you can specify
your host but not pass any other information. Can you even pass in a
port. If you could you could easily pass in host => "localhost", port
=> "5009/IPv*" . I'm guessing you might not even be able to do that if
whatever software you are using is limited.
I've posted this as a question on Perlmonks to see what sort of feelings
there are (
http://perlmonks.org/?node_id=973650)
On Thu May 31 18:12:02 2012, MISHIKAL wrote:
Show quoted text> On Thu May 31 17:49:20 2012, RHANDOM wrote:
> > If you read the documentation you'll find that this is the default
> > behavior and is a change from unauthorized developmental 0.99.6.1
version.
Show quoted text> >
> > It is easy to use the IPv6 features by either specifying ::1 as the
> > address, or by passing ipv => '*' as an argument (to get both IPv4 if
> > available and IPv6 if available), or passing ipv => 6 as an argument (to
> > only get IPv6, or by passing the port as "localhost/IPv*/34" (assuming
> > your port is 34).
> >
> > The default ipv value of 4 may change at some future day to "*", but for
> > now the default is 4.
>
> This seems like really broken behavior. If I specify "localhost" it
> should listen to all "localhost" usable interfaces.
>
> The main issue here is that I'm using other software that uses
> Net::Server rather than Net::Server directly. They don't have an option
> for passing "ipv" in, and it seems to me that if I specify "localhost",
> then it should listen to "localhost".
>
> If I pass in "127.0.0.1" or "::1", I expect it to only listen to those.
>
> --Quanah