Package: ucarp
Version: 1.5-2
Severity: important

Trying to use ucarp for ipv6 addresse results in following error message (when 
calling 
ucarp with appropriate options):

[ERROR] Invalid address: [2003::ffff:1]

(*) 2003::ffff:1 = anonymized ipv6 example

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 could not work with ipv6 address.

I recompiled ucarp with AF_INET replaced by AF_INET6 (i know this isn't a patch
cause it breaks ipv4 functionality), but then following error occurs:

[WARNING] Spawning [/usr/share/ucarp/vip-down eth1.329 2003::ffff:1]
[ERROR] Can't do IP_ADD_MEMBERSHIP errno=No such device (19)

If i understand the appropriate code in carp.c then again this is ipv4 only 
code.
But i don't have the knowledge of c programming to fix this.

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


regards, matthias

.... trying to build a two node HA ipv6 only firewall 



-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (990, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



-- 
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