Skip to contentSkip to conversation

ICMPv6 sockets

DISCUSSION Jesse White 2 participants 3 messages Dec 12, 2015 – Dec 13, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi all,

Support for IPPROTO_ICMP socket binds was added in commit c319b4d76b9e583a5d88d6bf190e079c4e43213d which allow for process to send ICMP_ECHO messages (and receive the corresponding ICMP_ECHOREPLY messages) without any special privileges.

There doesn't appear to be any similar functionality for IPPROTO_ICMPV6.

Would the net maintainers be open to including a patch that adds similar support for ICMPv6?

Thanks,
Jesse

#1 lore raw
Quoted 8 lines · Jesse White

Hi all,

Support for IPPROTO_ICMP socket binds was added in commit c319b4d76b9e583a5d88d6bf190e079c4e43213d
which allow for process to send ICMP_ECHO messages (and receive the corresponding ICMP_ECHOREPLY messages)
without any special privileges.

Quoted 5 lines

There doesn't appear to be any similar functionality for IPPROTO_ICMPV6.

Would the net maintainers be open to including a patch that adds similar support for ICMPv6?

But there is IPv6 support already, this was added in linux-3.11 by Lorenzo Colitti.

#2 lore raw
Quoted 2 lines · Eric Dumazet

But there is IPv6 support already, this was added in linux-3.11 by Lorenzo Colitti.

Thanks for the info, found it in 6d0bfe22611602f36617bc7aa2ffa1bbb2f54c67.

-Jesse