Hi Salvo,

Salvo Tomaselli wrote:
> I don't think that's a bug,

I still think so, because claiming that 192.168.1.233 is not a valid
IP address is just wrong. If you say "Invalid IPv6 address:
192.168.1.233", that's something different.

> if you read the manpage, it indicates that
> it accepts v4 or v6 only, depending on how weborf was compiled.
>
> On debian it is compiled for ipv6, so basically it only uses ipv6 (and
> works with ipv4 with mapped addresses).

Ah.

> Maybe it should be written more clearly?

Yes, definitely. I didn't read the "v6 or v4, depending on how weborf
was compiled" as exclusive-or. Maybe something explicit along these
lines:

  Must be followed by a valid IP address (v6 or v4, depending on how
  weborf was compiled. If weborf is compiled for IPv6 and you want to
  make it listen for an IPv4 address, prepend "::ffff:" before the
  IPv4 address, i.e. use a mapped address.

> Both in the manpage and in the error that gets printed?

In the error there was nothing about IPv6 at all, so there something
needs to be changed definitely. Maybe replace "IP" with "IPv4" or
"IPv6" depending on how it was compiled.

> I do not plan to change it to accept ipv4 addresses.

Not even to generally prepend ::ffff: to any IPv4 address given to -i
on the IPv6-compiled variant?

                Regards, Axel
-- 
 ,''`.  |  Axel Beckert <[email protected]>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE

Reply via email to