Skip to content

nuhyurdev/ping-tool-with-libpcap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ping-tool-with-libpcap

Server-Client ICMP ping app using libpcap library


GitHub issues GitHub stars GitHub license

About The Project

The project aims to be server-client ICMP ping aplication. It contains two binary and two code files. Client-side binary can send ICMP package and server-side application can capture and resend a response. It can think like a client-server ping application.

(back to top)

Built With

(back to top)

Getting Started

This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.

Prerequisites

  • libpcap

for Debian based

$ sudo apt install libpcap-dev

for RHEL based

$ sudo yum install libpcap-dev

adding pcap header with

#include <pcap.h>

Installation

$ sudo  gcc src/ping_client.c  -o bin/ping_client 
$ sudo gcc src/ping_server.c -o bin/ping_server

(back to top)

Usage

to start server-side app

sudo ./ping_server 

to send a ICMP package to server

sudo ./ping_client <ip_address> -c 4 #  4 ping message

License

There is no License for the project.

(back to top)

Contact

@noaahhh - @noah_the_turk

Project Link: https://github.com/noaahhh/ping-tool-with-libpcap

(back to top)

Acknowledgments


(back to top)

About

it's a ping server-client ICMP tool developed with libpcap library in C programing language.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages