Why do IP addresses on my mush look funny?

Submitted by javelin on Mon, 2012-02-13 19:56

Why do IP addresses on my mush look funny?

If your mush shows IP address in a format like ::ffff:NNN.NNN.NNN.NNN instead of NNN.NNN.NNN.NNN, it's the result of an IPv4 address being mapped into an IPv6 one. This usually happens when the mush is running on a server that supports the newer IPv6 standard, with connecting clients that use IPv4. It's perfectly normal.

2001-Apr-21 2:09am shawnw

It's possible to tell the mush to use only IPv4 networking even when IPv6 networking is available, and this will cause IP addresses to be the 'normal' IPv4 ones without the funny characters. This isn't recommended, as it's good to do everything possible to promote the use of IPv6 over IPv4, but it can be done.
In the mush config file, set the ip_addr directive to "0.0.0.0", so the line looks
like:
ip_addr 0.0.0.0
Alternatively, you can set it to a specific IP address. The 0.0.0.0 means "All IPv4 addresses being used". It requires a full @shutdown and restart to take effect, as @shutdown/reboot won't open new sockets for listening.

2002-Dec-01 1:13am shawnw