6in4 tunnel update stopped working

I was using Hurricane Electric’s tunnelbroker.net 6in4 tunnel.
I stopped working on 22.12.2016 i didn’t look into it at that time.
Now i looked into it and discovered that when i was setting up a new tunnel it worked for a while,
but when my puplic ip changed it stopped working.

In the Syslog i discovered this:

[details=notice 6in4-wan6: update 1/3: curl: local: line 2: not in a function]2017-01-09T14:13:01+01:00 notice netifd[]: Interface ‘wan6’ is setting up now
2017-01-09T14:13:01+01:00 notice netifd[]: Interface ‘wan6’ is now up
2017-01-09T14:13:01+01:00 notice netifd[]: IP tunnel ‘6in4-wan6’ link is up
2017-01-09T14:13:01+01:00 notice 6in4-wan6[]: update 1/3: curl: local: line 2: not in a function
2017-01-09T14:13:01+01:00 notice 6in4-wan6[]: update 1/3: timeout
2017-01-09T14:13:01+01:00 notice firewall[]: Reloading firewall due to ifup of wan6 (6in4-wan6)
2017-01-09T14:13:01+01:00 info turris-firewall-rules[]: (v62) IPv4 WAN interface used - '3g-lte’
2017-01-09T14:13:01+01:00 info turris-firewall-rules[]: (v62) IPv6 WAN interface used - '6in4-wan6
lo’
2017-01-09T14:13:02+01:00 info turris-firewall-rules[]: (v62) 3403 ipv4 address(es) and 0 ipv6 address(es) were loaded (bc4b7d351917fe6864073e9991d55b9d), 0 rule(s) overriden, 0 rule(s) skipped
2017-01-09T14:13:06+01:00 notice 6in4-wan6[]: update 2/3: curl: local: line 2: not in a function
2017-01-09T14:13:06+01:00 notice 6in4-wan6[]: update 2/3: timeout
2017-01-09T14:13:11+01:00 notice 6in4-wan6[]: update 3/3: curl: local: line 2: not in a function
2017-01-09T14:13:11+01:00 notice 6in4-wan6[]: update 3/3: timeout
2017-01-09T14:13:16+01:00 notice 6in4-wan6[]: update failed[/details]

the script for 6in4 is located at /lib/netifd/proto/6in4.sh i looked at


but i couldn’t find any recent changes and i am not a programmer.

Having the same error in log, but working. Also using HE tunnel.
Edit: Updating of changed WAN IP address is not working, have to manually update in HE config page.

iirc there was some recent talk in the nog’s about deprecating public 6in4

well, that’s fine… it will still exist for at least 20 years after deprecation :wink:

right now i’m only aware of sixxss wants to disconue their service

6in4 - “works for me” :smiley:
in a v6-only core (see: terrastream dtag) the “fun” quickly dissolves into technical debt.

yeah, “worksforme” can never be read unironically since 33c3 :slight_smile:

don’t get me wrong, i’d love to see native v6 everywhere, but what if you’ve got a stupid iSP who loves riding dead horses (i got at least 2, so i’m still stuck to he.net tunnels)

btw, is it really worth reading about terrastream? they lost me at “cloud-base net architecture” :confused:

i like to ride dead horses too, BSD and v4 among them :wink:
but i’m starting to wonder if there are ipv6-exclusive services on the internet?

not really, its fast and flat, mentioned for illustration

as a workaround i setup a “Scheduled Task” that runs wget every half hour.
"*/30 * * * * wget “http://ipv4.tunnelbroker.net/nic/update?hostname=hostname” --user=user --password=password"
works for me

2 Likes

Hi all,

try to remove the ‘local’ in the line ‘local timeout=5’

Has /bin/sh recently changed?

Best regards,
Ari

4 Likes

Gorgeous!

Apr  5 08:02:22 kukuzi kukuzi 6in4-wan6: update 1/3: timeout
Apr  5 08:02:28 kukuzi kukuzi 6in4-wan6: update 2/3: nochg xxx.xxx.xx.xxx
Apr  5 08:02:28 kukuzi kukuzi 6in4-wan6: updated

Let’s see if it works later on! Thanks!