SixXS::Sunset 2017-06-06

Apache on IPv6
[it] Shadow Hawkins on Tuesday, 01 May 2007 13:15:22
Good Morning! I am the administrator of a linux machine on that runs Apache. This machine is connected to internet with an ADSL line that provides a static IP, obviously.. In the same office, i've another line, faster than the other but not accessible from the outside because it's behind a nat. Now I was thinking.. is possible to use the ipv6 address to became accessible from the outside, if I attach the server on the line behind the nat?
Apache on IPv6
[fi] Shadow Hawkins on Tuesday, 31 March 2009 16:49:01
Hi! I was wondering if anybody could test if they can access my experimental webserver kalterooni.port0.org or http://[2001:14b8:125::abcd]/ I can access it from my LAN to my int IF but i think i cannot test from outside. Or am i thinking too "NAT" now :-)
Apache on IPv6
[us] Shadow Hawkins on Tuesday, 31 March 2009 17:02:57
I can access your webpage
Apache on IPv6
[fi] Shadow Hawkins on Tuesday, 31 March 2009 17:07:59
Thank you very much. Appreciate it.
Apache on IPv6
[us] Shadow Hawkins on Thursday, 02 April 2009 15:38:55
You can use the SixXS v4 to v6 gateway to test external access - http://kalterooni.port0.org.ipv4.sixxs.org/ works for me!
Apache on IPv6
[be] Shadow Hawkins on Thursday, 25 March 2010 19:30:17
Answer to: Patrick Lindholm on 31 March 2009 16:49:01 Hi! with http://[2001:14b8:125::abcd]/ From Belgium, I see a devil doing something (?) with a pinguin and "Power to serve" under the label Free BSD
Apache on IPv6
[nl] Shadow Hawkins on Tuesday, 01 May 2007 13:45:42
Yes it is possible. I do the same for my home network. But be aware that your apache server is only reachable on that line via the ipv6 ip number. This means that most people (the ipv4 ones) won't be able to access your apache server.
Apache on IPv6
[it] Shadow Hawkins on Thursday, 03 May 2007 10:58:40
Yes, you're right. However, I can't start Apache now. It doesn't accept my IPv6, because it says that it isn't possible to resolve.. I can't understand. I can browse any site, ping my IPv6, do everything but Apache can't resolve it.. failed to setup sockaddr bah.. do you know what could be the problem?
Apache on IPv6
[ch] Jeroen Massar SixXS Staff on Thursday, 03 May 2007 12:54:05
* Which distribution / who compiled it * Which options did you give * What is the exact error etc etc etc "It does not work" is not very useful
Apache on IPv6
[it] Shadow Hawkins on Monday, 14 May 2007 17:23:58
Is Apache on windows xp, not linux; I haven't given any option and the exact error is (i'll try to translate in English..): The name that is given is correct and present in the database, but it hasn't the right associated data that are necessary for resolution. : alloc_listener : failed to set up sockaddr for [my ivp6] I have specified my ipv6 in the .conf file, what can be the problem?? I thank you very much for all the answers that you can give me... Amleto Soldani
Apache on IPv6
[fi] Carmen Sandiego on Monday, 06 August 2007 09:06:44
I think you have DNS problem. Apache is trying to resolve computer name from IPv6 address. And it can't find it from DNS server. Can you ping6 your server with hostname? How about can you find computer name from IPv6 address by running command: host <your-ipv6-addr>? Do you have Listen -statement on your Apache configuration? Is it listening IPv6 addresses too? Or is it listening just ALL addresses and interfaces like it is by default. If your Apache starts you can run command: lsof -i to check what ports and addresses your server is listening.
Apache on IPv6
[it] Carmen Sandiego on Monday, 17 September 2007 13:34:16
Apache is not so good on ipv6 ... I tried using it but it always ended with a "can't set up the sockaddr" btw i don't even like apache, hfs (www.rejetto.com/hfs) is so much better, so i have found a solution to make hfs work with ipv6 ... you can find it in this italian forum http://www.rejetto.com/forum/index.php?topic=4881.0 i am sorry for english users so i'll try to explain here ... i just used a bouncer ipv6 (frontend 6 = relay6 + gui) to bounce and traslate all the packets incoming on the virtual ipv6 device (port 80) over the real ipv4 device (port 80) it was not so complex, i just never user a bouncer before :) if u have problem please ask your question
Apache on IPv6
[be] Shadow Hawkins on Friday, 15 April 2011 17:06:34
I don't know if it's the right place to write this if not I suppose that Jeroen Massar will place it at the right place. For those who, like me, are not engineer, I think, it could be useful. I was working with WinXP which was using Aiccu (Sixxs) to browse on internet without any problems. I tried to install a server to use my Ipv6 address but with WinXP it's impossible. Then I have, also, installed Linux Ubuntu on the same computer. Now, it's Ubuntu 10.10 and a server Xampp (Apache/2.2.14 (Unix) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1 Server) All that looks like running very well. Bellow, some indication to configure the Apache server in the file httpd.conf How I have done after some experiences. #Ad by me (13-08-2010) ici IPv6 entre crochets mais pas ailleurs #et pas 127.0.0.1 et [::1] sinon redondance et plantage de phpmyadmin, #Joomla (Mysql probablement) pas de connection avec "localhost:6" Listen 127.0.0.1:80 #Listen [::1]:80 Listen [xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx]:80 # Here Use [] not elsewhere and your Ipv6 address User -Your user name- #Ad by me (13-04-2011) Group -Your user group- #ServerAdmin you@example.com ServerAdmin You@yourmail.address # ServerName #ServerName www.example.com:80 # XAMPP #Ad by me (13-08-2010) Si IPv6 uniquement localhost sinon plantage de # Controls who can get stuff from this server. #Ad by me 10-08-2010 Order deny,allow Allow from 127.0.0.1 #Ad by me 10-08-29: Allow from ::1 is not useful Allow from xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx # = Ipv6 network allowed from outside
Apache on IPv6
[be] Shadow Hawkins on Friday, 15 April 2011 17:43:23
ServerName localhost #whith IPv6 use only localhost as ServerName otherwhise you will have problems #whith phpmyadmin or/and Joomla (if you use it)
Apache on IPv6
[be] Shadow Hawkins on Tuesday, 11 October 2011 17:06:29
For months, after some tuning in the config files, I use a fully qualified domain name as ServerName.
Apache on IPv6
[be] Shadow Hawkins on Saturday, 16 April 2011 17:47:20
You can use BIND (see BIND on internet) if you are installing a network. For, only, one computer it's easier to use the file: host (winXP and Linux). In this file write your IPv6 address and its translation in a string (DNS) to find the translation use your IPv6 address and traceroute6 or tracepath6 from within to somewhere else. Do not forget that your computer is on internet. There is no international taskforce to secure your computer or your network.
Apache on IPv6
[be] Shadow Hawkins on Saturday, 16 April 2011 18:04:59
Sorry! Not the file: host but hosts (see wikipedia.org)
Apache on IPv6
[be] Shadow Hawkins on Saturday, 16 April 2011 18:24:19
If you use the server Apache from Xampp with Ubuntu and you need something for the ftp (it's better) you can use Filezilla (opensource) and configure the file proftpd.conf from Xampp. Use a dedicated directory to upload or download, somewhere else than the stuff in your webserver.
Apache on IPv6
[be] Shadow Hawkins on Monday, 25 April 2011 14:43:58
[ IPv6 with Aiccu from Sixxs.net + Linux Ubuntu 10.10 + Xampp server 1.7.4 from Apachefriends.org(= Apache server 2.2.17 + MySQL 5.5.8 and PhpMyadmin + PHP 5.3.5 + ssl + etc...) + Awstats 6.95 from Ubuntu + Joolma 1.5 from Joomla.org ] = OK That's run very well.
Apache on IPv6
[be] Shadow Hawkins on Wednesday, 27 April 2011 14:35:30
If I'm well informed Sixxs.net use a Nginx server (nginx.org).Is it better than an Apache server?
Apache on IPv6
[ch] Jeroen Massar SixXS Staff on Monday, 02 May 2011 16:53:20
We use NGINX as a frontend server for all static content, this due its robustness and speed, Apache is serving the dynamic data from the back.
Apache on IPv6
[ch] Jeroen Massar SixXS Staff on Monday, 17 September 2007 13:37:28
Which version of "Apache"? As Apache2 does IPv6 perfectly fine as used by this and a large number of other sites. Apache1.3 indeed per default doesn't support IPv6 and you will have to patch it up to make it have IPv6 support. Using a 'bouncer' or a 'port forwarder' is not a solution as your logs will not show the real IPv6 source address.
Apache on IPv6
[it] Carmen Sandiego on Wednesday, 03 October 2007 02:30:17
I tried several versions above the v2 and it always ended with a can't setup a sockaddr .... I also tried several HOWTO but i was not be able to make it work... Btw boucer fill my needs cause i could log al the ipv6 requesting service to the bouncer if i would ... Bye
Apache on IPv6
[ca] Shadow Hawkins on Monday, 17 March 2008 20:14:04
If you are building Apache yourself, the it is not enabled by default. You have to specify the option as part of the configure tool.
Apache on IPv6
[nl] Shadow Hawkins on Tuesday, 06 November 2007 22:50:37
The error message "can't set up the sockaddr" is not familiar to me, but i can confirm that the standard Apache package doesn't work well with IPv6 at the Win32 platform. After using the next patch my problems were solved: http://win6.jp/Apache2/index.html How did you configure your httpd.conf? Here are some do's and don't's Don't: Listen 80 Do: Listen 0.0.0.0:80 Listen [::]:80 Don't: <VirtualHost *:80> DocumentRoot D:/inetpub/website ServerName website.org </VirtualHost> Do: <VirtualHost [::]:80 0.0.0.0:80> DocumentRoot D:/inetpub/website ServerName website.org </VirtualHost> In case you have a dynamic IPv4 address it's better to leave it at 0.0.0.0:80 instead of filling in your IP address to prevent constantly changing your httpd.conf. In case of multiple virtual hosts you can use unique IPv6 addresses for each vhost while the IPv4 address remains the same. This makes it possible to reach a vhost with both IPv6 address and domainname while the IPv4 address will always pick the default host. For example: <VirtualHost [2001:123:456:1]:80 0.0.0.0:80> DocumentRoot D:/inetpub/website1 ServerName website1.org </VirtualHost> <VirtualHost [2001:123:456:2]:80 0.0.0.0:80> DocumentRoot D:/inetpub/website2 ServerName website2.org </VirtualHost> <VirtualHost [2001:123:456:3]:80 0.0.0.0:80> DocumentRoot D:/inetpub/website3 ServerName website3.org </VirtualHost>
Apache on IPv6
[gb] Shadow Hawkins on Thursday, 03 December 2009 12:19:32
Hello everyone, I am trying to setup a simple web server on my computer. My link to the Internet is my university's network. It means that I have a public static IPv4 address but ICMP is blocked. I set up an IPv6 tunnel with SixXS. The address is static and ICMP is allowed. The encapsulation protocol is AYIYA (other protocols, like protocol41 for example, are blocked). I can browse IPv6 websites, everything is working properly. Apache is configured to run manually on port 80. I can access the pages by typing http://localhost or my IPv4 address/hostname in the address bar. The problem is that I cannot get the server to bind to my v6 address. If I type http://[v6addr] in the address bar, I end up with "Firefox can't establish a connection to the server at [v6addr]" after a few seconds. In Apache's config file I see "Listen 80", therefore it should bind to every IP address of my machine, v4 AND v6. Is that correct ? I tried to add this to the config file:
Listen [v6addr]:80
as they suggest on the Binding page of Apache 2.2 documentation, but Apache fails to start with the message
The requested name is valid, but no data of the requested type was found. : alloc_listener: failed to setup sockaddr for [v6addr] Syntax error on line 49 of httpd.conf Listen setup failed
Can you tell me what I am doing wrong ?
Apache on IPv6
[ch] Jeroen Massar SixXS Staff on Thursday, 03 December 2009 12:21:39
What operating system/distribution and what version of apache or apache2? Just having a 'listen 80' should be good enough. Also, you might just want to realize that most very likely your school has a policy that you are not allowed to host websites or other content, which explains why they have a firewall in place which blocks regular IPv6 tunneling protocols.
Apache on IPv6
[us] Shadow Hawkins on Thursday, 03 December 2009 13:08:45
"netstat -a" will show you what ports your computer is listening on.
Apache on IPv6
[gb] Shadow Hawkins on Friday, 04 December 2009 16:20:59
Thanks for your answers. I'm using Windows 7 RC1 (build 7100) and Apache 2.2.14-win32-x86-no_ssl. The netstat command shows that httpd.exe is listening on port 80 for IPv4, but not for IPv6. http://pastebin.com/f4c4d4acf
Apache on IPv6
[ch] Jeroen Massar SixXS Staff on Friday, 04 December 2009 16:33:57
no_ssl, and most very likely als no_ipv6 try the version from http://www.apachehaus.com/cgi-bin/download.pl old but at least IPv6 enabled. I guess though you are better off getting it to compile yourself, or just using IIS, then again, as you are using an RC1 of Windows 7 I guess you are not playing with a real box anyways.
Apache on IPv6
[us] Shadow Hawkins on Friday, 04 December 2009 17:43:41
What version of apache? Everyone I've tried lately does IPv6 right out of the box

Please note Posting is only allowed when you are logged in.

Static Sunset Edition of SixXS
©2001-2017 SixXS - IPv6 Deployment & Tunnel Broker