mlowijs / netcore-linux-raw-ethernet

Send raw Ethernet frames on Linux using .NET Core and C#

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is an example of how to send raw Ethernet frames on Linux using .NET Core and C#.

To use raw sockets, the executable must be run as root or the NET_RAW capability must be set on the executable:

$ sudo setcap 'cap_net_raw=ep' netcore-linux-raw-ethernet
$ ./netcore-linux-raw-ethernet

About

Send raw Ethernet frames on Linux using .NET Core and C#


Languages

Language:C# 100.0%