Questions tagged [ipv6]

The Internet Protocol is one of the fundamental protocols used for the Internet. IPv6 is the next generation Internet Protocol, as opposed to the currently common Internet Protocol known as IPv4.

Primarily IPv6 increases the number of available addresses to allow continued expansion of the Internet once all of the addresses are allocated. There are a number of other noticeable changes over , which are based on the lessons learned from the evolution of .

Useful resources:

2550 questions
1
vote
3 answers

I need some method to check if an IPv6 address is in a net range in python

I need to do this as part of validation, I have a solution for IPv4. But since IPv6 can have many formats, I am not able to find the exact solution. Any suggestions?
user1581221
  • 21
  • 1
  • 2
1
vote
1 answer

tshark not able to read icmp6 fields

I am able to read/replay all the headers and fields with tshark until hitting IPv6 header (ethernet header & IPv6 header), but when I am trying to replay the pcap files to read icmpv6 fields, nothing is being displayed of those fields. Is this a bug…
Justin Carrey
  • 3,563
  • 8
  • 32
  • 45
1
vote
4 answers

Comparing two IPv6 addresses and their masks (windows)

I have to compare two IPv6 addresses and their masks to see if they are the same. They are both in strings, such as "xxxx:xxxx:xxxx:xxxx/xx". I would just use memcmp to compare them bit by bit, however this may return false when true, due to the…
user1553248
  • 1,184
  • 2
  • 19
  • 33
1
vote
1 answer

How to get the correct IPv6 address in cocoa

I have the following code snippet which is returning the correct IPV4 Address. NSArray *addresses = [[NSHost currentHost] addresses]; NSString *stringAddress; for (NSString *anAddress in addresses) { if (![anAddress hasPrefix:@"127"] &&…
Akbar
  • 1,509
  • 1
  • 16
  • 32
1
vote
2 answers

IO::Socket::IP and Socket don't work on perl 5.8.8

I did a test with the code found on the IO::Socket::IP page: use strict; use warnings; use IO::Socket::IP -register; my $sock = IO::Socket->new( Domain => PF_INET6, LocalHost => "::1", Listen => 1, ) or die "Cannot create socket…
Zagorax
  • 11,440
  • 8
  • 44
  • 56
1
vote
0 answers

How to determine which scope-id to use

Working on a Qt application that tries to connect to a remote, but local server. The information I have is the IPv6 link-local address to use and the TCP port number Problem is, when using link-local addresses, you must set the right scope-id, which…
jyavenard
  • 2,142
  • 1
  • 26
  • 35
1
vote
2 answers

Which address family do I use with src IPv4 and dest IPv6?

I am trying to create a socket to allow for IPv4-to-IPv4, IPv4-to-IPv6, IPv6-to-IPv4, and IPv6-to-IPv6 address connections. 1.) Are the protocol combinations (e.g. IPv4-to-IPv6, IPv6-to-IPv4) permissible? 2.) If so, do I use the family of the source…
weedwacker44
  • 55
  • 1
  • 4
1
vote
1 answer

Setting Sybase ASE 15.5 run on Windows Server 2003 machine that only use IPv6

I am going to install Sybase ASE 15.5 on a Windows Server 2003 machine. This W2K3 only use IPv6. I successful installed Sybase on that machine. I can also check it by command: isql -U sa -P -S SYBSERVER but I can not configure the IP in DSEDIT…
Tuan
  • 2,303
  • 2
  • 25
  • 37
1
vote
1 answer

Permission denied on ipv6 Socket in Java

I have a strange problem on ipv6 connection. I write down a simple client server in Java, it works perfectly in ipv4 but when I try to use it with an Ipv6 address I receive a "java.net.SocketException: Permission denied". If I try to run on the…
aphasia0
  • 83
  • 8
1
vote
1 answer

mapping arbitrary IPv6 addresses to individual RIRs (ARIN, RIPE, etc.)

It's easy to map IPv4 addresses to their controlling RIR (ARIN, RIPE, etc.) since v4 addresses are handed out by IANA in blocks of /8 . I can write a function that takes an arbitrary IPv4 address and figures out the proper RIR simply by examining…
Dan O
  • 6,022
  • 2
  • 32
  • 50
1
vote
3 answers

Will getaddrinfo() return IPv6 addresses first?

I want to read all the addresses(IPv4 and IPv6) using getaddrinfo(). My question is whether getaddrinfo() returns IPv6 address followed by IPv4 in the list. Assuming that I'm passing AF_UNSPEC to getaddrinfo() and using dual stack.
Chandu
  • 1,837
  • 7
  • 30
  • 51
1
vote
2 answers

ipv6 dns name unresolved from ipv4 network

I am having a strange problem which seems to be a problem of ipv6 vs ipv4 dns names. I have a real time scraper which runs on my server which runs on ipv6 network. After scraping, this scraper returns some urls to images on a web page via ajax…
Divick
  • 1,213
  • 1
  • 20
  • 44
1
vote
2 answers

GetAddrInfo cannot resolve ipv6.google.com (but nslookup can)

i can trying to use GetAddrInfo to resolve ipv6.google.com: wsaError = getaddrinfo("ipv6.google.com", null, null, ref addrInfo); The returned socket error code is 11001 (No such host is known). Note: The deprecated legacy function GetHostByName…
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
1
vote
1 answer

Max OS Lion 10.7.3 DNS lookup very slow with MAMP

This question has been asked in many forms, and I have spent more than six hours scouring the internet for an answer that solves my problem. So far, I've been unsuccessful. I use MAMP to develop PHP applications, and I upgraded from Snow Leopard to…
Jordan Brown
  • 13,603
  • 6
  • 30
  • 29
1
vote
0 answers

Wondering how best to extend logic for checking if IPv4 address is in a given range to IPv6?

I currently have this method derived from a couple of other S.O. posts: public bool IsIPAddressInRange(IPAddress ipAddress) { int startIntAddress = BitConverter.ToInt32(StartingIPAddress.GetAddressBytes(), 0); int endIntAddress =…
Sean Anderson
  • 27,963
  • 30
  • 126
  • 237