[ds6-devel] Re: netcat6: patch - address equality
Mauro Tortonesi
mtortonesi at ing.unife.it
Wed Mar 19 12:47:42 CET 2003
Lionel Elie Mamane <lionel at mamane.lu> wrote:
> I found an error in netcat6's address equality testing function. At
> least in the version distributed by Debian (0.2pre2).
>
> The code uses a memcmp to compare IPv6 addresses, but does so over a
> wrong size: It is comparing (struct in6_addr) structures, but compares
> memory on (sizeof struct sockaddr_in6) bytes, leading to false
> negatives.
thank you very much, lionel, but fortunately that problem had been already
fixed before nc6-0.3. you should probably consider upgrading to nc6-0.4, but
i don't know if there is already a debian package for the new version of nc6.
however, if you would like to help us with the development of nc6 and/or
other packages, we would be very happy. think about it and let me know ;-)
--
Aequam memento rebus in arduis servare mentem...
Mauro Tortonesi mtortonesi at ing.unife.it
mauro at deepspace6.net
mauro at ferrara.linux.it
Deep Space 6 - IPv6 with Linux http://www.deepspace6.net
Ferrara Linux User Group http://www.ferrara.linux.it
More information about the ds6-devel
mailing list