Commit-archive via IPv6


#1

Hello everyone!

Do somebody know how to send config-managements commit-archive by IPv6? tried everything and search in web, but no luck.

Thank you for your help!


#2

What is the configuration you have set? I would assume if you use an ipv6 resolvable hostname or an ipv6 ip address it would work.


#3

Hi!

Thank you for Your quick answer!

I tryed to use this options:

scp://:@[IPv6-address]/

and also:

scp://:@“hostname”/, where “hostname” was in /etc/hostname file and I was able to ping6 it.

But with both configurations it failed to send config.


#4

We found the solution to this:

Add -g parameter to SCP commands in file /etc/commit/post-hooks.d/02vyatta-commit-push.pl row 89 and 103. After this curl is able to correctly parse the url.

for example in version 1.1.8 it looks like this: $cmd = “curl -g -s -S -T $tmp_push_file $uri/$save_file”; (it is twice in script)


#5

Thanks for sharing,
will create bug report with fix


#6

Was fixed here
https://phabricator.vyos.net/T504


#7

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.