* [Cerowrt-devel] Request for the inclusion of 2 additional packages- curl and libcurl
@ 2014-06-29 19:08 Fred Stratton
2014-06-29 20:11 ` Toke Høiland-Jørgensen
0 siblings, 1 reply; 2+ messages in thread
From: Fred Stratton @ 2014-06-29 19:08 UTC (permalink / raw)
To: cerowrt-devel
Keeping a Hurricane Electric tunnel up through a change of ipv4 address
has always been problematic with ceroWRT.
After experimentation with openWRT Barrier Breaker, which itself does
not perform adequately in this regard, I found that
/usr/bin/curl -s
'http://ipv4.tunnelbroker.net/ipv4_end.php?ip=AUTO&pass=(md5sum-of-password,
or plaintext-updatekey)&user_id=(user-id)&tid=(tunnel-id)' > /dev/null 2>&1
works to update the endpoint from ceroWRT, either in a cron job, or in a
script in rc.local, or both. I have yet to craft anything more
sophisticated.
wget as included produces errors, even if correct values are included
for all tunnel variables.
curl, and the required libcurl, work.
The error HE returns is:
> -ERROR: Missing parameter(s).
> Usage:
> http://ipv4.tunnelbroker.net/ipv4_end.php?ip=IPV4ADDR&pass=PASSKEY&user_id=USERID&tid=TUNNELID
> -or-:
> https://USERNAME:PASSWORD@ipv4.tunnelbroker.net/ipv4_end.php?tid=TUNNELID
> (auto-detect IP)
> https://USERNAME:PASSWORD@ipv4.tunnelbroker.net/ipv4_end.php?tid=TUNNELID&ip=IPV4ADDR
>
> IPV4ADDR: Your IPv4 endpoint. Set to AUTO to determine your IP based
> on the IP you requested this page from. Previously passed as ipv4b.
> PASSKEY : Your tunnel update key, or MD5 hash of your tunnelbroker.net
> password if a tunnel specific key is not set. You may be able to 'echo
> -n YOURPASSWORD | md5sum' to produce the MD5 hash of your password.
> USERID : The UserID shown on the main page of tunnelbroker.net when
> you log in.
> TUNNELID: The ID of the tunnel you're updating the endpoint on. This
> can be found on the tunnel information page. Previously referred to
> as the Global Tunnel ID / tunnel_id.
>
> The following parameters are only usable when accessing this script
> over https.
> USERNAME: Your tunnelbroker.net username.
> PASSWORD: Your tunnel update key, or tunnelbroker.net password if a
> tunnel specific key is not set.
>
> The legacy parameter names will continue to work for the forseable
> future. Naming of them changed to be more in line with industry
> convention and their roles.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Cerowrt-devel] Request for the inclusion of 2 additional packages- curl and libcurl
2014-06-29 19:08 [Cerowrt-devel] Request for the inclusion of 2 additional packages- curl and libcurl Fred Stratton
@ 2014-06-29 20:11 ` Toke Høiland-Jørgensen
0 siblings, 0 replies; 2+ messages in thread
From: Toke Høiland-Jørgensen @ 2014-06-29 20:11 UTC (permalink / raw)
To: Fred Stratton; +Cc: cerowrt-devel
[-- Attachment #1: Type: text/plain, Size: 430 bytes --]
Fred Stratton <fredstratton@imap.cc> writes:
> works to update the endpoint from ceroWRT, either in a cron job, or in
> a script in rc.local, or both. I have yet to craft anything more
> sophisticated.
It's possible to add the ipv4 endpoint update mechanism as a provider to
the dyndns update mechanism. Had a patch lying around that did that
which I may or may not have misplaced. Will see if I can find it somewhere...
-Toke
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 472 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-06-29 20:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-29 19:08 [Cerowrt-devel] Request for the inclusion of 2 additional packages- curl and libcurl Fred Stratton
2014-06-29 20:11 ` Toke Høiland-Jørgensen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox