Control: tag -1 + confirmed upstream pending

Hi Roland,

Roland Rosenfeld wrote:
> /usr/lib/hobbit/client/bin/hobbitclient-linux.sh calls netstat -ant to
> get a list of all ports of the server.
> The default behavior of netstat -ant is to use fixed column width for
> addresses, which means that long IPv6 addresses are cut.

Thanks for the report. I was not aware of netstat's intelligent
cropping of IPv6 addresses:

tcp6       0      0 2001:67c:10ec:3dd1:::80 2001:xyz:abc::23:39966  TIME_WAIT  
                                      ^^^

At least it didn't cut the port but just the remainder of the IPv6
address.

> I like to do some port tests in xymon, which sometimes require to see
> the full IPv6 address.  For this netstat allows to add the -W option,
> which displays the complete IPv6 addresses (breaking the column
> layout).
> 
> So I suggest adding the -W option to the above netstat call.
> 
> As far as I can see, -W doesn't break the port parser of xymon-server.

Thanks for checking. 

> The problem also exists in experimental version 4.3.11-1.

... and in 4.3.13 which I imported into our git repository yesterday.

I've pushed an according patch into our packaging git repository, but
we should probably also forward this to upstream, who is working on
Xymon 5 which should provide much better IPv6 support in general.

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


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to