Modify

Opened 11 years ago

Closed 9 years ago

Last modified 4 years ago

#2125 closed enhancement (fixed)

new package: gw6c

Reported by: jake1981@… Owned by:
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version:
Keywords: gw6c new package Cc:

Description

freenet6's tspc is old and deprecated. Here's diff for new gw6c that is a replacement of tspc.

If you want openssl support, add libopenssl to depends and remove patches/02-no_openssl.patch

There's also special version of this client on go6.net that has less dependencies and is designed for openwrt. Unfortunately it is designed for WR branch and it uses nvram to store it's settings. This package's source is compiled for linux target and there's different target for openwrt that would be smaller and have less depends, but unfortunately it won't build as it's work in progress so we need to use linux build for now.

Attachments (8)

gw6c.diff (6.0 KB) - added by jake1981@… 11 years ago.
new package(gw6c)
gw6c.2.diff (11.9 KB) - added by jake1981@… 11 years ago.
New gw6c package with improved Makefile and patch. Delete previous version, this is not diff against it, this is replacement of previous diff.
gw6c-openssl.diff (10.8 KB) - added by jake1981@… 11 years ago.
new gw6c package with openssl support
gw6c-2.diff (12.0 KB) - added by jake1981@… 11 years ago.
fixed init script: /usr/bin/gw6c -> /usr/sbin/gw6c
gw6c-openssl-2.diff (10.9 KB) - added by jake1981@… 11 years ago.
fixed initscript: /usr/bin/gw6c -> /usr/sbin/gw6c
gw6c.3.diff (19.6 KB) - added by jake1981@… 11 years ago.
final gw6c-5.0 diff
gw6c.4.diff (14.1 KB) - added by jake1981@… 11 years ago.
kamikaze style configuration enabled for gw6c
gw6c.5.diff (14.1 KB) - added by jake1981@… 11 years ago.
Forgot to increase release number in previous release, fixed this here.

Download all attachments as: .zip

Change History (23)

Changed 11 years ago by jake1981@…

new package(gw6c)

comment:1 Changed 11 years ago by florian

  • Milestone changed from Kamikaze 7.07 to Kamikaze

comment:2 Changed 11 years ago by jake1981@…

I re-made the package because my previous package unpacked under build_mipsel of buildroot, when it should propably unpack to build_mipsel/PACKAGE_NAME-PACKAGE_VERSION. This problem has been taken care of and I have sent new diff that should have overwritten old. Also there are now 2 packages in this ticket, for same software, but I made it 2 packages because other does not support openssl and another one does. Packages are called gw6c and gw6c-openssl

New version also contains better patch that allows us to send TARGET_CFLAGS, TARGET_CPPFLAGS and TARGET_LDFLAGS for Makefiles used for compilation, as original Makefile forced compilation always with -O2 -Wall

Changed 11 years ago by jake1981@…

New gw6c package with improved Makefile and patch. Delete previous version, this is not diff against it, this is replacement of previous diff.

Changed 11 years ago by jake1981@…

new gw6c package with openssl support

Changed 11 years ago by jake1981@…

fixed init script: /usr/bin/gw6c -> /usr/sbin/gw6c

Changed 11 years ago by jake1981@…

fixed initscript: /usr/bin/gw6c -> /usr/sbin/gw6c

comment:3 follow-up: Changed 11 years ago by florian

Can't we enable both non-ssl and ssl version in the same Makefile ? What about linking against uclibc++ instead of libstdc++ ?

comment:4 Changed 11 years ago by olli

  • Owner changed from developers to olli
  • Status changed from new to assigned

comment:5 in reply to: ↑ 3 Changed 11 years ago by anonymous

Replying to florian:

Can't we enable both non-ssl and ssl version in the same Makefile ? What about linking against uclibc++ instead of libstdc++ ?

I tryied to link against uclibc++ but I failed, this program is a bit complex why it needs my patch and I didn't try linking against uclibc++ that hard, but I gave myself hard time for getting this work as well as it performs now. But I'd be more than happy if you'd check it out and improve it by changes you spoke about as I use it on my main router and there never is enough space.. So..

Changed 11 years ago by jake1981@…

final gw6c-5.0 diff

comment:6 Changed 11 years ago by jake1981@…

gw6c.3.diff that I sent uses now uclibc++..

This final diff isn't even from same source, this uses source from go6.net that is designed for openwrt, unfortunately it comes with Makefile that is not compatible with kamikaze's buildroot as it's designed for WR. So I made now kamikaze package out of it, it is the same as package as is can be found from go6.net except this lacks gw6c-genconf.

gw6c-genconf is a tool that automaticly generates configuration file according to values set in nvram. As kamikaze avoids using nvram variables and uses config files instead, I decided not to include this in my package. Although, it didn't compile either :)

Instead of gw6c-genconf I made package to install a sample gw6c.conf to /etc/gw6c.conf.sample which is ready for anonymous ipv6 tunnel without any changes at all, but has interface names etc. set to kamikaze standards (ifname=br-lan for e.g.). I also tweaked openwrt.sh in templates to initially support kamikaze by correcting some paths. This software also automaticly generates configuration file for radvd and handles it's start and stop.

Even though I here advertise how I made this program to support kamikaze, it can be used with WR just fine without not so many changes, actually only change required is to change ifname from br-lan to br0. Ofcourse WR users might want to use original ipkg from go6.net which also has webif features. They have it compiled for brcm-2.4 target.

Ofcourse, even that I created this package to make migration to ipv6 to be as simple as possible, I want to remind everybody who is considering to use ipv6 longer time instead of just testing purpose, you should register with hexago or other tunnel broker and adjust your userid and password to your settings file instead of going with anonymous access.

I had to make Makefile a bit different from other Makefiles because to download file it uses little different method, it's a cgi script that delivers file and I wasn't able to set file to be downloaded with simple method, so I created Prepare part to Makefile that uses wget to fetch file from server and then unpacks it to correct location.

Maybe if someone is interested, he could create alternative gen-conf that would fill in values from for e.g. /etc/config/ipv6 to /etc/gw6c.conf but for now I didn't do it. Although implementing it should not be hard. If I get bored, maybe I'll post update someday for this with such feature if someone else doesn't do it before me.

This diff will replace all previous diffs that I sent and it should satisfy everyone. I also made initscript to guide user a bit in setting up gw6c..

It is dependant of following: libpthread ip kmod-tun kmod-ipv6 uclibcxx and radvd

Changed 11 years ago by jake1981@…

kamikaze style configuration enabled for gw6c

Changed 11 years ago by jake1981@…

Forgot to increase release number in previous release, fixed this here.

comment:7 Changed 11 years ago by jake1981@…

gw6c.5.diff has kamikaze style "gen-conf" configuration.

It no longer provides /etc/gw6c.conf.sample, it provides /etc/config/gw6c with option disabled=1 initially. This should be perfect now and is ready for being inserted to package svn..

Initial settings enable anonymous ipv6 connectivity if user comments out #disabled 1 on config file. Settings file has some comments to help user to setup non-anonymous use..

comment:8 Changed 11 years ago by olli

  • Owner olli deleted
  • Status changed from assigned to new

comment:9 Changed 10 years ago by brian@…

Any chance of getting this landed?

comment:10 follow-ups: Changed 10 years ago by anonymous

Landed? What are you saying? Do you mean you'd like to use this and it's not in package repositories?

True - To repositories, they allow only GPL'd or similarly licensed software and this one is free - but again, owned by gateway6/hexago and therefore it won't be included in repositories - If you need it, you can download it from:
http://www.roadrunner.cx/kamikaze/packages/

comment:11 in reply to: ↑ 10 Changed 10 years ago by brian@…

Replying to anonymous:

Landed? What are you saying? Do you mean you'd like to use this and it's not in package repositories?

Yeah. Landed is a term used to describe the action of committing code (usually a complete feature/patch) that you are working on to an SCCS.

True - To repositories, they allow only GPL'd or similarly licensed software and this one is free - but again, owned by gateway6/hexago and therefore it won't be included in repositories - If you need it, you can download it from:
http://www.roadrunner.cx/kamikaze/packages/

Cool. Thanx!

comment:12 in reply to: ↑ 10 Changed 10 years ago by anonymous

Replying to anonymous:

If you need it, you can download it from:
http://www.roadrunner.cx/kamikaze/packages/

I hate to post this here given that it's not really relevant but not sure how to get hold of the author otherwise, but 80.248.253.68:80 returns: Network is unreachable but it's 80.248.253.68 that's actually returning the ICMP so I suspect that some firewall/forwarding fu is not working.

comment:13 Changed 10 years ago by jake1981@…

Thanks for mentioning - I managed to blow a fuse from my house yesterday and something happened as my server became unavailable in network, good old reboot worked issue out - it should be working out now just fine.

comment:14 Changed 9 years ago by florian

  • Resolution set to fixed
  • Status changed from new to closed

Added in [13148], thanks !

comment:15 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.