Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31701 - New package for SixXS tunnelbroker client
Summary: New package for SixXS tunnelbroker client
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement
Assignee: The ipv6 Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-21 12:56 UTC by Bernhard Schmidt
Modified: 2005-05-12 09:41 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Tar including the .ebuild, the rc-script and the digest(s) (sixxs-heartbeat.tar,10.00 KB, application/octet-stream)
2003-10-21 12:57 UTC, Bernhard Schmidt
Details
.ebuild for client version 20031026 (sixxs-heartbeat-20031026.ebuild,816 bytes, text/plain)
2003-10-26 10:05 UTC, Bernhard Schmidt
Details
rc-script (/etc/init.d/) (ipv6tunnel,1.38 KB, text/plain)
2004-06-27 05:17 UTC, Ioannis Aslanidis (RETIRED)
Details
/etc/conf.d/ipv6tunnel configuration (ipv6tunnel,362 bytes, text/plain)
2004-06-27 05:19 UTC, Ioannis Aslanidis (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard Schmidt 2003-10-21 12:56:15 UTC
New package for the heartbeat client used by the SixXS IPv6 tunnelbroker project
to provide IPv6 tunnels to users with dynamic IPv4 adresses.

See http://www.sixxs.net/ for details

the tar starts with the category (has path information included)

net-misc/sixxs-heartbeat/...

Reproducible: Always
Steps to Reproduce:
Comment 1 Bernhard Schmidt 2003-10-21 12:57:02 UTC
Created attachment 19600 [details]
Tar including the .ebuild, the rc-script and the digest(s)
Comment 2 Bernhard Schmidt 2003-10-26 10:05:43 UTC
Created attachment 19818 [details]
.ebuild for client version 20031026

New version, rc-script from the .tgz still needed
Comment 3 Ioannis Aslanidis (RETIRED) gentoo-dev 2004-06-27 04:43:11 UTC
Nice one... I set up this manually as I didn't know it existed! Anyway, not yet in CVS. By the way, I don't see as correct your rc-script... I did something a lil bit different:

depend() {
        need net
}

start() {
        ebegin "Starting the IPv6 heartbit system"
        my_ip=$(/sbin/ifconfig | /bin/grep "eth0" -A 1 | /bin/grep "inet addr" | /bin/tr ' ' '\n'  | /bin/grep "addr" | /bin/cut -b 6-);
        echo ${my_ip}
        /sbin/ip tunnel add sixbone mode sit remote 62.24.229.120 local ${my_ip} ttl 64 dev eth0
        /sbin/ip link set sixbone mtu 1280
        /sbin/ip link set sixbone up
        /sbin/ip addr add 3ffe:4005:1000:4a::2 dev sixbone
        /sbin/ip route add 2000::/3 dev sixbone
        /usr/bin/heartbeat-client /etc/heartbeat.conf
        eend ${result_start}
}
stop() {
        ebegin "Stopping the IPv6 heartbit system"
        /sbin/ip tunnel del sixbone
        killall heartbeat-client
        eend ${result_start}
}


The script is not complete, the IP variables that do not change (IPv4POP server, IPv6 client, IPv6 server) should be set in /etc/conf.d/<variable-file>

With the script above, the tunnel is set up on boot and the daemon runs on background: tested: it works ;)
Comment 4 Ioannis Aslanidis (RETIRED) gentoo-dev 2004-06-27 05:17:54 UTC
Created attachment 34265 [details]
rc-script (/etc/init.d/)

This script should be place under /etc/init.d/ and depends on the existance of
/etc/conf.d/ipv6tunnel.
Comment 5 Ioannis Aslanidis (RETIRED) gentoo-dev 2004-06-27 05:19:06 UTC
Created attachment 34266 [details]
/etc/conf.d/ipv6tunnel configuration

This file should be placed under /etc/conf.d/
It contains the configuration in order to make run /etc/init.d/ipv6tunnel
Comment 6 Ioannis Aslanidis (RETIRED) gentoo-dev 2004-06-27 05:20:31 UTC
In the script perhaps you'll have to change the name of the heartbeat-client. I used the original name.
Comment 7 Bernhard Schmidt 2004-09-19 16:04:27 UTC
although apparently noone ever thought about adding this package the bug can be closed, because the successor of the heartbeat-client is now available

See bug #64409
Comment 8 Guy Martin (RETIRED) gentoo-dev 2005-05-12 09:12:10 UTC
Aiccu now in portage for some time.
Comment 9 Ioannis Aslanidis (RETIRED) gentoo-dev 2005-05-12 09:41:13 UTC
The bug actually is not invalid but fixed... or worksforme in any case... or even wontfix... ;)