ipv6

How do I connect to to hosts network from within a docker container?

↘锁芯ラ 提交于 2019-12-13 04:10:00
问题 I have two physical servers connected to each other in a LAN. Server A runs docker with a ubuntu container. Server B runs a MySQL-database (without any docker stuff). Now I need to access the MySQL-Database on Server B from within a docker-container on Server A. Server B only has an ipv6-address. When I run ping6 <ipv6_server_b> on Host A it works. The same command from within the docker-container on Host A gives me a unknown host . I think I need to create a docker bridge to the ipv6-subnet

bind() works for ipv6 wireless adapter interface but not for ipv6 ethernet (error 10049)

拈花ヽ惹草 提交于 2019-12-13 03:05:21
问题 Background At the beginning of my program I build a linked list of adapter interface addresses using GetAdaptersAddresses. Later, after creating an ipv6 slaac address, calling Socket() , Bind() and Listen() all succeed where the IfType is Wireless, that is, IfType 71 ( IF_TYPE_IEEE80211 ). My filter parameters are family and ifType . I test by connecting and disconnecting the ethernet cable. For each case my software finds the active interface with said parameters: connected it finds ethernet

Unable to GetUnicastIpAddressEntry after CreateUnicastIpAddressEntry

喜夏-厌秋 提交于 2019-12-13 02:59:20
问题 Background: I am trying to get up to speed on using RFC7217 compliant ipv6 addresses. To that end I have written code that creates a valid route-able ipv6 address like 2600:8806:2700:115:c4a3:36d8:77e2:cd1e . I know I need to enter the new address into windows before being able to bind() to it. I figured that these two methods would do the trick. So, using one of my ip addresses, I executed the sample code found in CreateUnicastIpAddressEntry. Then, using the same ip address, I executed the

iOS - Support ipv4 only API

偶尔善良 提交于 2019-12-12 23:30:31
问题 For a university project we're developing a small App which we'd like to get reviewed so we can use it with external testers on the App store. It got declined however, stating that it couldn't work on ipv6 only networks. The main problem: Our backend server is only accessible via ipv4 (since our university IT doesn't want to allow ipv6 yet) and thus there isn't any ipv6 DNS entry that could be looked up. I understand the concept of the DNS64/NAT64 workflow as explained on https://developer

send ipv6 jumbograms in c (linux) : How to change packet headers

微笑、不失礼 提交于 2019-12-12 23:20:59
问题 I am sorry if the question is too naive, but I am confused. I want to send IPv6 jumbograms (to be able to multicast packets of size > 64 KB). I have been able to multicast normal IPv6 UDP packets successfully. For sending jumbograms, from RFC 2675 , I get that I have to make the following changes : set payload length to 0 set next header to hop-by-hop But, I don't get how to implement these in c socket programming (which function calls to make etc.). Do I have to create a custom header or are

HTTP request over IPv6

大兔子大兔子 提交于 2019-12-12 18:20:16
问题 I want to know the difference between the header format of HTTP GET request that uses from IPv4 server to IPv6 server? Now, currently I am using the following format: "GET /"+myFileToDownLoad+" HTTP/1.1\r\n"+ "Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*\r\n" +"Referer: http://"+myDstIp+"/\r\n" +"Accept-Language: he\r\n" +"Accept-Encoding: gzip, deflate\r\n" +"User

RAW socket UDP Multicast in IPv6

丶灬走出姿态 提交于 2019-12-12 18:06:00
问题 i receive data from multicast for my UDP sniffer, but only in IPv4. My code looks like this, try: s = socket.socket(socket.AF_INET, socket.SOCK_RAW, socket.IPPROTO_UDP) except socket.error as msg: print('Socket could not be created. Error Code : ' + str(msg[0]) + ' Message ' + msg[1]) sys.exit() mreq = struct.pack("4sl", socket.inet_aton('239.255.11.3'), socket.INADDR_ANY) # receive a packet s.setsockopt(socket.IPPROTO_IP, socket.IP_ADD_MEMBERSHIP, mreq) packet = s.recvfrom(65000) But i am

How to use IPv6 protocol in Delphi program for iOS

江枫思渺然 提交于 2019-12-12 16:43:47
问题 I try to use IPv6 protocol in my mobile program. My server is located inside the LAN behind NAT. On the server I use IP port 3000 I have organized Virtual Server / Port Forwarding from my router port 45500 to port 3000 of my server. On the server, I ran the ipconfig command and got IpV6 address. Connection-specific DNS Suffix . : IPv6 Address. . . . . . . . . . . : 2a02:2168:xxxxxxx.63b1:6e81:399c Link-local IPv6 Address . . . . . : fe80::7c7b:xxxxxxxx399c%12 IPv4 Address. . . . . . . . . . .

理解链路本地址与站点本地地址

柔情痞子 提交于 2019-12-12 16:32:57
学习IPV6的时候涉及到一个概念,link-local address, 中文叫“链路本地地址”,它的前缀是 FE80::/64 一个link-local address的范例: FE80::713e:a426:d167:37ab 实际上,这个概念类似于ipv4中,当DHCP分配失败时自动生成的169.254.XXX.XXX这样的地址,凡是源地址或目的地址中含有link-local address的报文,路由器都不应当转发它。这样的报文只能在一个LAN中互通。 <IPV6的地址类型> 可分为三大类: 1、单播地址 2、组播地址 3、任意播地址 单播--Unicast : one to one ·单播地址用于一对一的连接 ·IPv6单播地址有以下六种类型:  1-Aggregate Global Unicast Address 2xxx:xxxxx/3 - 3FFF: :FFFF 2001::/16 IPV6因特网地址 2002::/16 6to4过渡地址 2-Link Local Address    FE80::/10 (前10位以FE80开头) 3-Site Local Address (Private) FEC0::/10 4-Unspecified Address   0:0:0:0:0:0:0:0/128 => ::/128 5-Loopback Address    

‘struct in6_addr’ has no member named ‘s6_addr32’ with -ansi

孤人 提交于 2019-12-12 12:58:16
问题 I'm working through some compile errors when building OpenSSL with no-asm -ansi . I'm catching the error: $ ./config no-asm -ansi ... $ make ... gcc -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_THREADS -DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSLDIR="\"/usr/local/ssl\"" -DENGINESDIR="\"/usr/local/lib/engines\"" -Wall -O3 -pthread -m64 -DL_ENDIAN -ansi -fPIC -Iinclude -I. -Icrypto/include -MMD -MF crypto/bio/bss_dgram.d.tmp -MT crypto/bio/bss_dgram.o -c -o crypto/bio/bss_dgram.o crypto/bio/bss