Re: [BackupPC-users] IPv6 support
2011-03-15 17:19:13
Tod Detre <tod.detre AT maine DOT edu> wrote on 03/15/2011
03:30:21 PM:
> Actually, that's not quite the whole picture. BackupPC does do dns
> name lookup and those calls are not IPv6 compatible. Once such
> instance is in bin/BackupPC_dump line 503. The gethostbyname()
> function (at least last time I tried to do IPv6 with BackupPC) does
> not support IPv6.
Ah, you are correct: you have to use getaddrinfo,
but I'm not sure that Perl has been updated to reflect this...
> This causes BackupPC to try to do an nmblookup.
If
> your client doesn't have and IPv4 address and does not respond to
> nmblookup, BackupPC will fail. However, if you do not use nmblookup,
> you can just get rid of lines 496-508,510 and BackupPC will work just
> fine.
I'd have to look at the rest of the code, but if gethostbyname
fails, and if you remove the nmb stuff, you're left with a hostname. The
question is, does the rest of the code work with a host name string rather
than an IP address?
Timothy J. Massey
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d _______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|
|
|