Subject: Re: increasing UT_HOSTSIZE for IPv6?
To: None <email@example.com>
From: None <firstname.lastname@example.org>
Date: 07/24/1999 02:49:35
> >> UT_HOSTSIZE (/usr/include/utmp.h) is set to 16. This is not possible
> >> to put IPv6 numeric address into ut_host.
> >> IPv6 numeric is usually fit into 40 bytes, in worst case 46 bytes
> >> including "\0". Worst case is like follows:
> >> 1111:2222:3333:4444:5555:18.104.22.168
> >should that not be
> > 1111:2222:3333:4444:5555:6666:22.214.171.124
> >after all...ipv6 uses a 128 bit address.
> Oops sorry, I forgot that I started from 1 :-)
strings in utmp have not, historically, been null-terminated.
We should add a utmp field for max sized struct sockaddr.