From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by huchra.bufferbloat.net (Postfix) with ESMTPS id F320E21F284 for ; Sun, 29 Jun 2014 12:13:52 -0700 (PDT) Received: from compute2.internal (compute2.nyi.mail.srv.osa [10.202.2.42]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 5B8B5208C7; Sun, 29 Jun 2014 15:13:52 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute2.internal (MEProxy); Sun, 29 Jun 2014 15:13:52 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=imap.cc; h= message-id:date:from:mime-version:to:subject:references :in-reply-to:content-type; s=mesmtp; bh=nkCPOWZQRLXqQEvTD8uwUsxk K0E=; b=DjKBteFyDh+AAL+2UdrOgeUnQvnIRA0WL4By+zL4V2h5L/dZs7GZJGnh azVA8sGpX2XlKwOgdksBEd0brm3s2m1QVLKP3g9xB3SxXDSsjJYxD0pQOimtIkXJ Z1UZpP474URWmWDvpApv6Qejs4BbrNPSwUMLdczXXAeRyNs7DbE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:date:from:mime-version:to :subject:references:in-reply-to:content-type; s=smtpout; bh=nkCP OWZQRLXqQEvTD8uwUsxkK0E=; b=P5dGF68o8wlEJCmpYMkbvHJGQcjqzXZHoOry EfdHWgwBDTDhrGe42fvvMGTFDDRK62OvIjb5Yr6gV2t7SlLHlmWcitoURtuyD38h Vd/45FLVHG9/HRPA4nlUmxGLOgVe1Fr5yESMbRtCyUT8bJlup46AsreHylE+Pkxj AHbBvMM= X-Sasl-enc: uD1siqSBRn/jT+J9PbyT6SUMdv8lTHkra89q2+nM8zgO 1404069231 Received: from [172.30.42.8] (unknown [2.96.12.88]) by mail.messagingengine.com (Postfix) with ESMTPA id A68FE6800F2 for ; Sun, 29 Jun 2014 15:13:51 -0400 (EDT) Message-ID: <53B0656E.5070309@imap.cc> Date: Sun, 29 Jun 2014 20:13:50 +0100 From: Fred Stratton User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: cerowrt-devel@lists.bufferbloat.net References: <53B0652B.2080502@xyz.am> In-Reply-To: <53B0652B.2080502@xyz.am> X-Forwarded-Message-Id: <53B0652B.2080502@xyz.am> Content-Type: multipart/alternative; boundary="------------000706060009040606060107" Subject: [Cerowrt-devel] Fwd: Re: Request for the inclusion of 2 additional packages- curl and libcurl X-BeenThere: cerowrt-devel@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: Development issues regarding the cerowrt test router project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jun 2014 19:13:53 -0000 This is a multi-part message in MIME format. --------------000706060009040606060107 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit -------- Original Message -------- Subject: Re: Request for the inclusion of 2 additional packages- curl and libcurl Date: Sun, 29 Jun 2014 20:12:43 +0100 From: Fred Stratton To: cerowrt-devel@lists.bufferbloat.net Slight reformatting This also requires the use of version 17-1 version of 6in4, rather than 16-1 as included On 29/06/14 20:08, Fred Stratton wrote: > 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. > --------------000706060009040606060107 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit


-------- Original Message --------
Subject: Re: Request for the inclusion of 2 additional packages- curl and libcurl
Date: Sun, 29 Jun 2014 20:12:43 +0100
From: Fred Stratton <fredstratton@xyz.am>
To: cerowrt-devel@lists.bufferbloat.net


Slight reformatting

This also requires the use of version 17-1 version of 6in4, rather than 
16-1 as included


On 29/06/14 20:08, Fred Stratton wrote:
> 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.
>



--------------000706060009040606060107--