Hello Matthias,

Le Tue, May 19, 2009 at 03:35:16AM +0200, Matthias Wamser ecrivait :
> Trying to use ucarp for ipv6 addresse results in following error message 
> (when calling 
> ucarp with appropriate options):
> [ERROR] Invalid address: [2003::ffff:1]

  Yes, UCarp doesn't support IPv6 yet.
  
  The CARP protocol itself supports IPv6 for a while, but some code is still
missing in Ucarp to make it work properly.

  Help to address this is welcome.

> The problem is the syntactical ip address check defined in ucarp.c.
> Source and virtual ip (-s and -a) are checked with
>   if (inet_pton(AF_INET, optarg, &srcip) == 0)

  This is intentional, as an AF_INET6 address here wouldn't have any chance
to work in the rest of the code.

> Or am i completely wrong and ucarp shouldn't support ipv6?

  It should. But it doesn't yet :)

-- 
Frank Denis - j [at] pureftpd.org - http://00f.net - http://www.cotery.com



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to