Skip to content
forked from shun-yo/cethping

Layer-2 packet sender/receiver using raw socket

Notifications You must be signed in to change notification settings

ztianya/cethping

 
 

Repository files navigation

cethping

Raw socketで通信。ethpingを参考。パケットを作って文字列"Hi"を送信する。

Environment

  • Ubuntu14.04

Compile

makeでコンパイル

make

Usage

Server

receiver側のインターフェース名を指定

sudo cethpingd $INTERFACE_NAME

Client

接続先のMACアドレスとsender側のインターフェースを指定

sudo cethping $DESTINATION_MAC_ADDRESS $SOURCE_INTERFACE_NAME

Screen shot

screen shot

About

Layer-2 packet sender/receiver using raw socket

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 93.9%
  • Makefile 6.1%