Questions tagged [icmpv6]
15 questions
2
votes
0 answers
async I/O with neighbor solicitations on Linux
I am implementing neighbor solicitation using asynchronous I/O with poll on Linux. My host has multiple interfaces (and no default route). Since neither the socket API nor libnetlink offer a way to perform neighbor discovery on request, I'm…

Joseph Noir
- 21
- 3
2
votes
0 answers
Why does call to recv timeout when waiting for ICMPv6 ping replies?
I am trying to programmatically send and receive ICMPv6 ping packets from a Windows 7 machine. The code I am using is adapted from existing code that is used successfully to send/receive IPv4 ping packets. The only difference I can see is that I…

Glenn Coombs
- 153
- 2
- 11
1
vote
1 answer
How to captrue real-time network traffic in RPL using contiki?
I'm working on intrusion detection in the Internet of Things based RPL.
I need a 6LoWPAN network dataset to evaluate IDS.
How to capture live (Real-Time) network packets and traffic analysis in a Cooja simulator?

kgao
- 11
- 1
1
vote
1 answer
How does contiki os map an IP address to a MAC address
How does contiki os map an IP address to a MAC address, and where is this stored?
I know the basics of ICMPv6 and RPL but once the network is built, when sending an IPv6 packet, how is the MAC address of the next hop known? I assume that a Neighbor…

LeGrandNono
- 31
- 6
1
vote
2 answers
Why does traceroute expect "Destination Unreachable" at the final hop instead of "Echo Reply" when it runs over UDP?
Excerpt from implementation section of Wikipedia page for traceroute:
. . . until the destination is reached and returns an ICMP Destination
Unreachable message if UDP packets are being used or an ICMP Echo
Reply message if ICMP Echo messages are…
user9293205
0
votes
0 answers
IPv6 - Neighbor Discovery Protocol - Neighbor Solicitation messages
I'm studing on this topic, and I learned that, when a node joins a network, it creates a local unicast address based on his MAC, then send a Neighbor Solicitation message to the multicast neighbor-solicited group of that address for detecting any…

Alex_DeLarge
- 325
- 1
- 2
- 8
0
votes
1 answer
Obtaining a MAC address via IPv6 request
I'm trying to ping over IPv6, I need it to get a MAC address from a remote host. As far as I understand, IPv6 does not use the ARP table, but with the help of the so-called ICMPv6 it is possible to get the MAC address, I used tcpdump and saw MAC…

Trigun751
- 1
- 1
0
votes
0 answers
why tap device transmit icmpv6 ping request use the first ipv6 show in tap device?
I am opening a TAP device at centos 7, it has the IPv6 addresses fec0::a:1/64 and 2408:8160:a100:2::2. It has the route 3000::/64 via fec0::a:2.
I need to ping 3000::1 at host, use C program to reply neighbor advertisement, wireshark capture packet…

zhou fang
- 1
- 1
0
votes
1 answer
Sockets - sendto() truncating ICMPv6 options
Out of curiosity, I was trying to write a simple proof-of-concept exploit to CVE-2020-16898. I used the RFCs (RFC 4861 and RFC 6106) to get the correct format, and I've managed to send a crafted ICMPv6 router advertisement packet using the code…

InterCity
- 102
- 7
0
votes
0 answers
IPv6 Logo certification Test case v6LC.4.1.12: Validate Packet Too Big
I have asked one question already related what is the purpose of payload in Packet Too Big ICMPv6 message. why_PTB_payload
As per the latest IPv6 logo certification I have came across this test case where a sender send ICMPV6 echo request message to…

Aryaman Gupta
- 616
- 1
- 8
- 20
0
votes
0 answers
What is the purpose of payload in packet too big ICMPv6 message
I have gone through the RFC 4443 and 8201, perhaps I did not understand as I am new to some terminology described in these RFC but I want to understand the implication of using payload in ICMP packet to big message?
As per the RFC 4443
Linkt to 4443…

Aryaman Gupta
- 616
- 1
- 8
- 20
0
votes
1 answer
How to receive the vlan header/l2 header using a ICMPv6 socket
In my ND daemon, i am using rbos_socket(AF_INET6, SOCK_RAW, IPPROTO_ICMPV6); to receive ICMPv6 header for receiving NS and other ND messages (l3 messages).
With this option kernel will strip the l2 header (with VLAN information). which option should…
0
votes
0 answers
How to listen to ICMPv6 packets in JAVA?
To be specific, I'm trying to write an application to serve as both a router and a DHCPv6 server in IPv6 with Java.
The application periodically sends router advertisement(RA) and also responds to router solicitation packets from the client. Then it…

tgudtk
- 39
- 5
0
votes
2 answers
How to create an ICMPv6 scapy object from raw bytestring from a socket(AF_INET6, SOCK_RAW, IPPROTO_ICMPv6)?
I want to check/analyse ICMPv6 router advertisements (RAs) in a Python program using Python, where I get the (not so) raw packet data as follows:
import socket
sock = socket.socket(socket.AF_INET6, socket.SOCK_RAW, socket.IPPROTO_ICMPV6)
p, addr =…

TheDiveO
- 2,183
- 2
- 19
- 38
0
votes
0 answers
How to implement local ICMPv6 neighbor discovery?
I'm implementing my own IPv6 networking stack and am having problems getting ICMPv6 neighbor discovery to work. The stack works by capturing packets of an existing interface, picking out the ones addressed to it and sending out new packets from the…

Adam Lindberg
- 16,447
- 6
- 65
- 85