https://github.com/akhilbharti510/linux-networking-tools
Linux Networking Tools – A set of TCP/UDP clients & servers, packet sniffer, and traffic logger built in C on Linux, demonstrating socket programming, low-level network debugging, and system-level monitoring skills.
https://github.com/akhilbharti510/linux-networking-tools
linux-kernel packet-parsing tcp-udp
Last synced: 3 months ago
JSON representation
Linux Networking Tools – A set of TCP/UDP clients & servers, packet sniffer, and traffic logger built in C on Linux, demonstrating socket programming, low-level network debugging, and system-level monitoring skills.
- Host: GitHub
- URL: https://github.com/akhilbharti510/linux-networking-tools
- Owner: akhilBharti510
- Created: 2025-09-20T13:22:12.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-09-20T13:26:53.000Z (10 months ago)
- Last Synced: 2025-10-01T17:56:26.392Z (10 months ago)
- Topics: linux-kernel, packet-parsing, tcp-udp
- Language: C
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Linux Networking Tools 🚀
A collection of low-level networking utilities built in **C on Linux** to understand and debug network communication. Ideal for learning socket programming, packet parsing, and traffic monitoring.
## Features
- **TCP Client & Server** (multi-client supported)
- **UDP Client & Server**
- **Packet Sniffer** (parses Ethernet/IP/TCP/UDP headers using raw sockets)
- **Traffic Logger** (monitors bandwidth, packet counts, latency)
- Fully compatible with Linux (tested on Ubuntu 20.04)
## Installation & Usage
```bash
# Clone repo
git clone https://github.com/YourGitHubUsername/Linux-Networking-Tools.git
cd Linux-Networking-Tools
# Compile all programs
make
# Run TCP Server (port 8080)
./tcp_server
# Run TCP Client
./tcp_client 127.0.0.1 8080
# Run UDP Server
./udp_server
# Run UDP Client
./udp_client 127.0.0.1 9090
# Run Packet Sniffer (requires root)
sudo ./packet_sniffer
# Run Traffic Logger (requires root)
sudo ./traffic_logger