Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Charon.ftp can't handle IPv6 #8

Open
KarlaZinreich opened this issue Jun 8, 2015 · 0 comments
Open

Charon.ftp can't handle IPv6 #8

KarlaZinreich opened this issue Jun 8, 2015 · 0 comments

Comments

@KarlaZinreich
Copy link

I'm running a fairly standard debian 7.8 as a hetzner root server.
While the backup script runs normally, charon.ftp wasn't able to access the FTP server.

I got the error:

Unable to connect to server at /usr/sbin/charon.ftp line 153

After some investigation I found out, that the backup ftp server has a IPv6 adress.
Unfortunately, my current version of NET::FTP wasn't able to handle IPv6 adresses.
I had to replace

    require Net::FTP;

with

    require Net::INET6Glue::FTP;
    require Net::FTP;

on line 132, in order to make it work.

I know this is not a charon specific error, but maybe you can provide a fallback for this case?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant