Skip to content

This project demonstrates basic work with raw sockets on C# and realization of 3 command-line utilities: ping, traceroute, MTU discovery

Notifications You must be signed in to change notification settings

lynnewu/RawSocketPing

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project demonstrates some common network utilities implementation written on raw sockets.

  1. Meleagre.Network. Common library providing partial IP and ICMP protocols implementation.
  2. MPing - ping utility based on ICMP protocol. Sends echo-messages and waits for replies.
  3. MTracert - traceroute utility, displays the netowrk path to specified host.
  4. MTU discovery - utility that tries to determine MTU (maximum tranmission unit) to specifed host.

Starting any of these utilities without parameters shows help.

NOTE! Working with raw sockets requires Administrator privileges, so all three utilites should be started from cmd with elevated rights.

About

This project demonstrates basic work with raw sockets on C# and realization of 3 command-line utilities: ping, traceroute, MTU discovery

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%