You are not logged in.
Pages: 1
Recently I got IPv6 enabled on my Internet connection. One of the things I want to do is run my webserver on IPv6.
I'm running v4.0 stable. However, in the current build IPv6 is not enabled:
# lighttpd -V
lighttpd/1.4.30 - a light and fast webserver
Build-Date: Mar 8 2012 02:03:27
Event Handlers:
+ select (generic)
+ poll (Unix)
- rt-signals (Linux 2.4+)
+ epoll (Linux 2.6)
- /dev/poll (Solaris)
- eventports (Solaris)
- kqueue (FreeBSD)
- libev (generic)
Network handler:
+ sendfile
Features:
- IPv6 support
+ zlib support
+ bzip2 support
+ crypt support
- SSL Support
+ PCRE support
- mySQL support
- LDAP support
- memcached support
- FAM support
- LUA support
- xml support
- SQLite support
- GDBM support
#
Could we have an updated version with IPv6 or would that break other things?
/emgi
Offline
Hi /emgi
Testing ipv6 on a multiboot computer with arch and slitaz installed.
Removed the wifi router which is not ipv6 compatible.
Connected the computer direct to the cable modem.
Booting into arch linux the computer is assigned an ipv4 and ipv6 address.
The computer scores 10/10 at test-ipv6.com
Install linux-ipv6,add ipv6 to /etc/rcS.conf LOAD_MODULES=
Booting into slitaz 4.0 or cooking the computer has no ipv6 address,only ipv4 address.
The computer scores 0/10 at test-ipv6.com
Arch linux ipv6 kernel config:
[rj@archlinux ~]$ zcat /proc/config.gz | grep -i ipv6
CONFIG_IPV6=y
CONFIG_IPV6_ROUTER_PREF=y
CONFIG_IPV6_ROUTE_INFO=y
CONFIG_IPV6_OPTIMISTIC_DAD=y
CONFIG_IPV6_MIP6=m
CONFIG_IPV6_VTI=m
CONFIG_IPV6_SIT=m
CONFIG_IPV6_SIT_6RD=y
CONFIG_IPV6_NDISC_NODETYPE=y
CONFIG_IPV6_TUNNEL=m
CONFIG_IPV6_GRE=m
CONFIG_IPV6_MULTIPLE_TABLES=y
CONFIG_IPV6_SUBTREES=y
# CONFIG_IPV6_MROUTE is not set
CONFIG_IP_VS_IPV6=y
# IPv6: Netfilter Configuration
CONFIG_NF_DEFRAG_IPV6=m
CONFIG_NF_CONNTRACK_IPV6=m
CONFIG_NF_TABLES_IPV6=m
CONFIG_NFT_CHAIN_ROUTE_IPV6=m
CONFIG_NFT_CHAIN_NAT_IPV6=m
CONFIG_NFT_REJECT_IPV6=m
CONFIG_IP6_NF_MATCH_IPV6HEADER=m
CONFIG_NF_NAT_IPV6=m
This could also be a busybox issue with it's network tools.
Busybox configuration has CONFIG_FEATURE_IPV6=y it also has CONFIG_FEATURE_PREFER_IPV4_ADDRESS=y
Maybe busybox network tools aren't capable of being assigned an ipv4 and ipv6 address at the same time.
For now ipv6 enabled lighttpd is useless on slitaz.
[c]root@slitaz:/home/tux# lighttpd -V
lighttpd/1.4.30 - a light and fast webserver
Build-Date: Apr 29 2014 17:22:51
Event Handlers:
+ select (generic)
+ poll (Unix)
- rt-signals (Linux 2.4+)
+ epoll (Linux 2.6)
- /dev/poll (Solaris)
- eventports (Solaris)
- kqueue (FreeBSD)
- libev (generic)
Network handler:
+ sendfile
Features:
+ IPv6 support
+ zlib support
+ bzip2 support
+ crypt support
- SSL Support
+ PCRE support
- mySQL support
- LDAP support
- memcached support
- FAM support
- LUA support
- xml support
- SQLite support
- GDBM support[/c]
Offline
@mojo
Comparing the Arch config.gz with SliTaz rolling config.gz:
[c]
CONFIG_IPV6=m
# CONFIG_IPV6_PRIVACY is not set
# CONFIG_IPV6_ROUTER_PREF is not set
# CONFIG_IPV6_OPTIMISTIC_DAD is not set
# CONFIG_IPV6_MIP6 is not set
CONFIG_IPV6_SIT=m
# CONFIG_IPV6_SIT_6RD is not set
CONFIG_IPV6_NDISC_NODETYPE=y
# CONFIG_IPV6_TUNNEL is not set
# CONFIG_IPV6_MULTIPLE_TABLES is not set
# CONFIG_IPV6_MROUTE is not set
CONFIG_IP_VS_IPV6=y
# IPv6: Netfilter Configuration
CONFIG_NF_DEFRAG_IPV6=m
CONFIG_NF_CONNTRACK_IPV6=m
CONFIG_IP6_NF_MATCH_IPV6HEADER=m
[/c]
You can clearly see that IPV6 is not built in to the kernel of SliTaz. This is a problem that needs to be addressed.
Offline
Don't know what's different on my system but ipv6 does work. Only notable difference is I don't use wireless on this one.
Its a server on which I host my ebook management system and some basic network stuff, most notably bind9 running as an independent domain name server. (No forwarding to my ISP).
This is the relevant part of ifconfig:
# ifconfig
eth0 Link encap:Ethernet HWaddr 00:14:2A:EA:7A:EA
inet addr:192.168.21.76 Bcast:192.168.21.255 Mask:255.255.255.0
inet6 addr: 2a02:f6a:52b0:4fcf:214:2aff:feea:7aea/64 Scope:Global
inet6 addr: fe80::214:2aff:feea:7aea/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:95132803 errors:0 dropped:801 overruns:0 frame:0
TX packets:68487781 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4048061559 (3.7 GiB) TX bytes:463142459 (441.6 MiB)
Interrupt:20 Base address:0xc00
As you can see, the ipv6 stuff is all there and I already have local ipv6 connectivity to several other systems on the LAN. I'll install the modified package and let you guys know the result.
/emgi
Offline
leo@slitaz01:~$ netstat -t
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 slitaz01.hoofdweg.local:44277 ix2:445 ESTABLISHED
tcp 0 132 slitaz01.hoofdweg.local:ssh 2a02:f6a:52b0:4fcf:cc15:f3f4:fd94:33fb:49292 ESTABLISHED
So as you can see I can make ssh connections over ipv6.
Lighttpd did install but there are other issues.
I installed lighttpd with:
# tazpkg -i lighttpd-1.4.30.tazpkg --forced
I did even manage to get to the login page of the machine over ipv6.
However, it seems that something in the the cgi code is now broken.
As soon as I try to login, the below kernel message is generated:
leo@slitaz01:~$ tail /var/log/messages
Apr 30 21:03:45 (none) user.info kernel: lighttpd[1129]: segfault at 8 ip b764fe81 sp bf8c8af8 error 4 in mod_fastcgi.so[b764c000+a000]
Apr 30 21:05:12 (none) user.info kernel: lighttpd[1174]: segfault at 8 ip b7662e81 sp bfb04de8 error 4 in mod_fastcgi.so[b765f000+a000]
leo@slitaz01:~$
Anyway, the server does no longer reply properly to ipv4 logins now either.
I suppose I will have to re-install the previous version.
It was worth trying..
/emgi
Offline
And we're back!
I re-installed the original tazpkg and that did the job.
Anyway, mojo thanks for providing a test package.
In case anyone wants to see the ebook management system on ipv4:
http://cable-79-207.zeelandnet.nl
Username: slitazforum (will only be temporarily available)
Offline
For the sake of completeness, I also tested my slitaz laptop.
This machine does run on wireless and it is also getting an ipv6 address with which I'm able to connect to the ipv6 Internet:
wlan0 Link encap:Ethernet HWaddr 00:14:A5:E9:7F:46
inet addr:192.168.21.93 Bcast:192.168.21.255 Mask:255.255.255.0
inet6 addr: 2a02:f6a:52b0:4fcf:214:a5ff:fee9:7f46/64 Scope:Global
inet6 addr: fe80::214:a5ff:fee9:7f46/64 Scope:Link
So I would say that Slitaz4.0 stable already supports ipv6, although the same cannot be said about the applications on it.
/emgi
Offline
Pages: 1
[ Generated in 0.015 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]