[6bone] Ipv6 Enabled Web Site
Gav
old_mc_donald at hotmail.com
Fri Jul 23 05:48:20 PDT 2004
Colin,
|
| Something very simple in perl would be:
|
| #!/usr/bin/perl
| print "Content-type: text/plain\n\n";
| print ($ENV{REMOTE_ADDR} =~ /[A-Fa-f0-9]{4}:/ ? 'Remote host supports
| IPv6' : 'Remote host supports IPv4');
|
| and including it in your ssi:
|
| <!--#include virtual="/perlscript.pl"-->
|
| Good luck.
|
Thanks Colin, I have entered the script and included it in the footer of
every page.
However, I still suspect I have a problem elsewhere now. The page always
says
to me that I support IPv4 and does not recognise my v6 connection. I can
access
every other v6 preferred site no problems and they all say I am connecting
via IPv6.
Is this something I can not test 'Internal' to the network or is my incoming
connection
to the web site not working via IPv6. netstat -an tells me IPv6 is Listening
on [::]:80.
I think I may need to sort out exactly which interface I am supposed to
listen on, and also
which connection the Freenet6 tunnel is supposed to connect to.
Can someone look at those last two points for me after looking at my 'ipv6
if' output.
(ipconfig does not show the 3ffe address given to me by Freenet6 at all)
in tcpc.conf I have put
if_tunnel = 4
if_prefix = 2
I am sure I have a wrong config somewhere.
Thanks
Gav...
---
Checked for Viruses (Viri) , Gav...
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.725 / Virus Database: 480 - Release Date: 19/07/2004
-------------- next part --------------
Interface 7: Ethernet: Local Area Connection 2
Guid {655005DA-6B2E-479D-9715-DFD865D503C8}
uses Neighbor Discovery
uses Router Discovery
forwards packets
link-layer address: 00-02-b3-5b-9e-5f
preferred link-local fe80::202:b3ff:fe5b:9e5f, life infinite
multicast interface-local ff01::1, 1 refs, not reportable
multicast link-local ff02::1, 1 refs, not reportable
multicast link-local ff02::1:ff5b:9e5f, 1 refs, last reporter
link MTU 1500 (true link MTU 1500)
current hop limit 128
reachable time 39500ms (base 30000ms)
retransmission interval 1000ms
DAD transmits 1
default site prefix length 48
Interface 6: Teredo Tunneling Pseudo-Interface
Guid {53DFD666-F5B6-4FB0-BDBD-D28C3334E588}
zones: link 6 site 3
cable unplugged
uses Neighbor Discovery
uses Router Discovery
forwards packets
routing preference 2
link-layer address: 0.0.0.0:0
preferred link-local fe80::5445:5245:444f, life infinite
multicast interface-local ff01::1, 1 refs, not reportable
multicast link-local ff02::1, 1 refs, not reportable
link MTU 1280 (true link MTU 1280)
current hop limit 128
reachable time 31000ms (base 30000ms)
retransmission interval 1000ms
DAD transmits 0
default site prefix length 48
Interface 4: Ethernet: Local Area Connection
Guid {D524E979-96EE-4A99-9100-DD1F9A257A32}
zones: link 4 site 2
uses Neighbor Discovery
uses Router Discovery
forwards packets
link-layer address: 00-80-48-ee-2f-b2
preferred link-local fe80::280:48ff:feee:2fb2, life infinite
multicast interface-local ff01::1, 1 refs, not reportable
multicast link-local ff02::1, 1 refs, not reportable
multicast link-local ff02::1:ffee:2fb2, 1 refs, last reporter
link MTU 1500 (true link MTU 1500)
current hop limit 128
reachable time 17000ms (base 30000ms)
retransmission interval 1000ms
DAD transmits 1
default site prefix length 48
Interface 3: 6to4 Tunneling Pseudo-Interface
Guid {A995346E-9F3E-2EDB-47D1-9CC7BA01CD73}
does not use Neighbor Discovery
does not use Router Discovery
forwards packets
routing preference 1
link MTU 1280 (true link MTU 65515)
current hop limit 128
reachable time 27000ms (base 30000ms)
retransmission interval 1000ms
DAD transmits 0
default site prefix length 48
Interface 2: Automatic Tunneling Pseudo-Interface
Guid {48FCE3FC-EC30-E50E-F1A7-71172AEEE3AE}
does not use Neighbor Discovery
does not use Router Discovery
forwards packets
routing preference 1
EUI-64 embedded IPv4 address: 0.0.0.0
router link-layer address: 0.0.0.0
preferred link-local fe80::5efe:203.121.204.130, life infinite
preferred link-local fe80::5efe:192.168.0.1, life infinite
preferred global 3ffe:bc0:8000::3c6b, life infinite (manual)
link MTU 1280 (true link MTU 65515)
current hop limit 128
reachable time 44000ms (base 30000ms)
retransmission interval 1000ms
DAD transmits 0
default site prefix length 48
Interface 1: Loopback Pseudo-Interface
Guid {6BD113CC-5EC2-7638-B953-0B889DA72014}
zones: link 1 site 4
does not use Neighbor Discovery
does not use Router Discovery
link-layer address:
preferred link-local ::1, life infinite
preferred link-local fe80::1, life infinite
link MTU 1500 (true link MTU 4294967295)
current hop limit 128
reachable time 16500ms (base 30000ms)
retransmission interval 1000ms
DAD transmits 0
default site prefix length 48
More information about the 6bone
mailing list