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
11
votes
2 answers

Reverse DNS lookup in Python

If I have an IP address like 2001:4860:4860::8888 How can I get the fully qualified domain in the format foo.ip6.arpa ? EDIT: Both the solutions so far give me google-public-dns-a.google.com - maybe Reverse DNS was the wrong name. For this I'd…
Ivy
  • 3,393
  • 11
  • 33
  • 46
11
votes
1 answer

Libcurl: force ipv4 or ipv6

How do I force libcurl to access a server running in dual stack mode over either ipv4 or ipv6? It shouldn't be hard to do using IPs addresses, but I'm looking for something that works with DNS ...
McEnroe
  • 633
  • 3
  • 7
  • 17
11
votes
5 answers

Storing IP address in MySQL database (IPv4 AND IPv6)

Ok, now I'm aware that similar questions have probably been asked a million times but I'm a real novice at this and I'd really appreciate your help here. Basically, I want to store the visitors IP address in a MySQL for later retrieval and…
Andy
  • 3,600
  • 12
  • 53
  • 84
11
votes
2 answers

Android and IPv6 in Java

I am developing an Android application and I need to use IPv6 to connect to a server. IPv6 is enabled on the phone and I can see my local IPv6 address with ip addr. I can also successfully ping6 my phone from the PC and viceversa. But hen I try to…
Andrea
  • 111
  • 1
  • 4
10
votes
3 answers

Streaming audio and video with Python

I need to make an application which streams live multimedia. At present my application is taking image frames from a webcam (using OpenCV) and sending it to the client. It is also sending audio using pymedia module. The problem is that both the…
Love
  • 315
  • 1
  • 5
  • 9
10
votes
3 answers

What are the benefits of removing fragmentation from IPv6?

I was working on a project which includes developing an application using java sockets. However while reading some fundamentals and newly upcoming IPv6 paradigm which motivated me to ask below question, What are the benefits of removing…
TeaCupApp
  • 11,316
  • 18
  • 70
  • 150
10
votes
1 answer

Establishing an IPv6 connection using sockets in python

I am trying to run this very basic socket example: import socket host = 'ipv6hostnamegoeshere' port=9091 ourSocket = socket.socket(socket.AF_INET6, socket.SOCK_STREAM, 0) ourSocket.connect((host, port)) Yet, I get the error: …
collisionTwo
  • 899
  • 2
  • 12
  • 18
10
votes
1 answer

Why is my server slow and SSL mismatching when combining IPv4 with IPv6

I'm setting up a new server with Ubuntu 18.04.1 Nginx 1.14.0 with HTTP2 and PHP 7.2.7 This is the first server that I try to setup with both IPv4 and IPv6 enabled. Everything works fine until I tested a page with a lot of missing images. It seems…
C.A. Vuyk
  • 1,055
  • 17
  • 36
10
votes
1 answer

Get only IPv4 ips via NodeJS express

I have a NodeJS express service running on Centos and listens to GET requests and I need to identify the IP of the user. Currently, I'm using this script ip = req.headers['x-forwarded-for'] || req.connection.remoteAddress || …
Avi L
  • 1,558
  • 2
  • 15
  • 33
10
votes
2 answers

IPv6 multicast with Node.js

I am experimenting with IPv6 UDP multicast over a VPN. I have tried the following code: const dgram = require('dgram'); let sock = dgram.createSocket('udp6', { reuseAddr: true }); sock.on('message', (data, source) => { console.log('on…
Brad
  • 159,648
  • 54
  • 349
  • 530
10
votes
1 answer

How to make API calls IPV6 compatible in react-native using the .fetch function?

I have developed an app (for IOS) written in react native which is working good in IPV4 networks. However, recently Apple has sent a message saying that my app did not work when tested in an IPV6 network. They told me that I had to make it…
meteorite
  • 736
  • 1
  • 8
  • 17
10
votes
2 answers

How to create IPv6 socket at python? Why got the socket.error: (22, 'Invalid argument')?

I want to ceate Ipv6 socket at python, I do it like this: #!/usr/bin/env python import sys import struct import socket host = 'fe80::225:b3ff:fe26:576' sa = socket.socket(socket.AF_INET6, socket.SOCK_DGRAM) sa.bind((host , 50000)) But it…
Jianzhong
  • 409
  • 1
  • 7
  • 15
10
votes
3 answers

expand an IPv6 address so I can print it to stdout

I am using getifaddrs() and inet_ntop() to get the ip addresses on the system. When the system is set to IPv6 the address returned is in the shortened version (using :: for zeros). Is there any way to expand that address to a full one? This is the…
Jessica
  • 2,005
  • 4
  • 28
  • 44
10
votes
0 answers

Does AFNetworking 2.6 is compatible with IPv6?

I can't use AFNetworking 3.x actually. Does the 2.6.X version is compatible with IPv6 ? Even Reachability ? Apple says: Starting June 1, 2016 all apps submitted to the App Store must support IPv6-only networking. Most apps will not require any…
alex.bour
  • 2,842
  • 9
  • 40
  • 66
10
votes
1 answer

Need IPv6 Multicast C code that works on iOS 9

Apple now requires iOS 9 apps to be IPv6 compliant. We're mostly OK, except for a bit of code which sends a UDP broadcast - this now fails in iOS 9. Everything I read tells me that UDP multicast is the right way to do this in IPv6. I've found some…