Skip to content
#

icmp

Here are 296 public repositories matching this topic...

aescaler-a0d
aescaler-a0d commented May 31, 2019

Pinger.New() runs connectICMP() which runs icmp.ListenPacket(network, address) using static value "ip4:icmp" as network. Per icmp.ListenPacket() def, this only allows usage of privileged endpoints.

ListenPacket listens for incoming ICMP packets addressed to address. See net.Dial for the syntax of address.

For non-privileged datagram-oriented ICMP endpoints, network must be "udp4" or "u

PyTCP

PyTCP is a fully functional TCP/IP stack written in Python. It supports TCP stream based transport with reliable packet delivery based on sliding window mechanism and basic congestion control. It also supports IPv6/ICMPv6 protocols with SLAAC address configuration. It operates as user space program attached to Linux TAP interface. As of today stack is able to send and receive traffic over Internet using IPv4 and IPv6 default gateways for routing. Since goal of this project is purely educational (at least at this point) the clarity of code is preferred over its efficiency. For the same reason security features are not being implemented just yet unless they are integral part of TCP/IP suite protocols specification.

  • Updated Dec 2, 2021
  • Python

Improve this page

Add a description, image, and links to the icmp topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the icmp topic, visit your repo's landing page and select "manage topics."

Learn more