ipv6

IPv6 usage statistics

Hi, does anybody know current situation about IPv6 penetration in the public Internet? I would like to know how IPv6 addresses are currently used, because of development of the feature which relies on user host IP addresses. The question is, if it is worth while to consider also IPv6 addresses. I've found some statistics from 2008, b...

Is Ruby on Windows failing when dealing with IPv6?

So I've got a tool that I built in Ruby that uses net/http to make some requests to an external REST service. I built and unit tested this tool using Windows 7 and it worked absolutely fine. Now, since this tool is meant to be run periodically on one of our servers (running Windows Server 2008 R2), I deployed it there and suddenly it's ...

TCP connection basics

Hi, This a basic doubt, but I wanted to know that if establish two TCP connections between the same two machines, will the packets in both the connection follow the same path(same link and nodes). The reason why I am asking this is because I want to measure the bandwidth between the two machines for both IPv4 and Ipv6 TCP connection and...

casting to Arrays in Python ctypes

I'm trying to convert a 16 byte blob of data returned by socket.inet_pton into a ctypes array of unsigned bytes. My data structure looks like this: class in6_addr(ctypes.Structure): _fields_ = (("Byte", ctypes.c_ubyte * 16),) And the blob is just: data = socket.inet_pton(socket.AF_INET6, "2001::3") However, these attempts get...

nginx - How to extract the domain name out of the full uri ?

Hi folks, i have a nginx server running on ipv6 native. I want to set up a "proxy" to ipv4 with it. server { listen [::]:80; location / { proxy_pass http://www.mydomain.com proxy_set_header X-Real-IP $remote_addr; } } The Idea is to set up a AAAA record "ipv6.mydomain.com", and nginx should chan...

What changes needed to support IPv6

What changes website needed to support IPv6 and IPv4? Also using socket service in java what changes i require to accept both type of connection ? Environment OS - Linux Webserver - Tomcat 5.5 ...

Can i use EnableStatic for setting the IPv6 addres (using WMI)?

Hi I am using the wmi in c++ to set the IPv6 ipaddress. The IPv4 address is working fine using "EnableStatic" which is part of wmi class named "Win32_NetworkAdapterConfiguration". Can any one help me setting the ipaddress for the ipv6 address using WMI. If any sample codes please refer me. I tried in net i am not getting idea for this....

Query and modify advanced information about interfaces

I need to do following tasks: List the interfaces Set/remove/list IPv6 address Add/remove routing entries AFAIK I cannot use ioctl I need to use netlink. The problem is that I couldn't find good description how to use it (most netlink tutorials concentrate on how to create connection). strace also didn't prove useful. ...

How to get the IPv6 address of an interface under linux

Hi there, Do you know how I could get one of the IPv6 adress of one of my interface in python2.6. I tried something with the socket module which lead me nowhere. Thanks. ...

traceroute ipv6 using vb6

Hello guys, Am trying to do traceroute using vb6, but don;t have any idea. Am thinking of using dos to do the job, and then capturing the output of dos in my app another idea is converting the address from ipv6 to ipv4 and the do the trace route in case teh hardware doesnt support ipv6 any ideas? ...

How to make WinPE to support IPv6?

Hi I am having the "WinPE" os environment. This is equalant to Windows Vista os with out any GUI and other services. Just it is base OS. To make this WinPE for ipv6 support -> any components do i need to install -> do i need to do any pre configurations? -> With the current setup i am able to set ipv6 address using netsh command....

Need to store 128 *bit* Primary Key: Should I use SQL Azure or Azure Table? Or Just use a linked list in Azure Blob

I need to store a large (128-bit) PK. Each int will have some corresponding columns... no schema is defined now... and I want the schema flexible in the future. (I only need conservative flexibility eg adding new columns from time to time) At this point I'm not too concerned with the ability to do joins and such. I mostly want to pick...

PHP Convert IPv6 to binary(/memory) representation

Title says it all. I already "did" this for IPv4; $ip = '127.0.0.1'; // example $ip = explode('.',$ip); if( count($ip) != 4 ) $ip = array(0,0,0,0); // wrong ip format, default to 0.0.0.0 return chr($ip[0]) . chr($ip[1]) . chr($ip[2]) . chr($ip[3]); I need to do the above for IPv6 as well. Reading through the IPv6 spec, (I admit I didn...

Making an asp.net application IPv6 compliant

We have Windows 2003 Servers running SQL Server 2005 and .NET 3.5 [separately]. We have a basic ASP.NET app running on IIS 6. What, if anything, do I need to do on the application end [IIS,Framework,ASP.NET] to make it IPv6 compatible? EDIT: We do use System.DirectoryServices, System.DirectoryServices.DirectoryEntry and DirectorySear...

sockaddr_in6 not declared?

I'm trying to port an ipv4 server/client to ipv6, but the compiler says SOCKADDR_IN6 is not declared in the scope. SOCKADDR_IN is declared but not SOCKADDR_IN6. <Winsock2.h> is included. Any one have any ideas why it would be undeclared? ...

Is there a way to disable IPv6 in Google's Chrome?

I'm developing websites in a Windows 7 machine. When I've installed Firefox I've found some performance issue specially on connecting to the localhost, googling around I've discovered that it's related to the use of IPv6 by the browser to resolve urls. Using about: config and setting network.dns.disableIPv6 to true the problem is gone...

When will IPv4 addresses run out ?

From years I am hearing that soon IPv4 address will run out. When will it happen? When will we see IPv6 only application? ...

getaddrinfo inconsistent behavior

I'm using getaddrinfo to start a local server accepting connections only on the localhost: struct addrinfo *res; struct addrinfo hints = {0}; hints.ai_family = AF_UNSPEC; hints.ai_socktype = SOCK_STREAM; hints.ai_protocol = IPPROTO_TCP; getaddrinfo(NULL, portbuf, &hints, &res); This seems to work fine, giving me the IPv6 address ::1 w...

Relevance of link local addresses?

I'm writing a log on a server and want to include the ip address(es) of the machine. On windows 7 I get IPv6 addresses along with IPv4 ones but the v6 addresses have that % sign. From what I've pieced together about these addresses I'm still not sure if they are relevant for my log. As I understand it they are self assigned and only use...

Network probing on IPv6

I am familiar using IPv4 broadcast of UDP packets as a technique for probing the network looking for servers running a given service. I.E. the broadcast packet is sent out on a given port and the listening servers can reply to this packet and the reply will allow the client to know the ip addresses of the available servers. I am wonder...