pingr-0.1.0 is not a library.
pingr
Feel the pulse of your network! A blazing fast, modern network scanner with beautiful terminal output and multiple export formats.
✨ Features
- 🚀 Blazing Fast: Async parallel scanning with up to 10,000 concurrent threads
- 🎨 Beautiful Output: Color-coded RTT times show network health at a glance
- 📊 Multiple Export Formats: JSON, CSV, nmap, and plain text
- 🧠 Smart Defaults: Auto-optimizes thread count based on network size
- 📈 Detailed Statistics: RTT measurements, packet loss, and response time analysis
- 🔍 DNS Resolution: Optional hostname lookups for discovered hosts
- ⚡ Cross-Platform: Works on Linux, macOS, Windows, and ARM devices
Installation
Quick Start
# Scan local network with auto-optimization
# Scan with custom settings
# Comprehensive scan with all features
Usage Examples
Basic Network Discovery
# Simple scan with colored output
Enterprise Network Audit
# Full scan with hostname resolution and statistics
Stealth Scan
# Slow, quiet scan to avoid detection
Quick Host Discovery
# Fast discovery for automation scripts
Understanding RTT Colors
The tool color-codes response times for quick network health assessment:
- 🟢 Green (0-10ms): Excellent - Local network, wired connections
- 🟡 Yellow (11-50ms): Good - Normal Wi-Fi, acceptable latency
- 🟠 Orange (51-100ms): Fair - Slower devices, potential congestion
- 🔴 Red (100ms+): Poor - Network issues, investigate these hosts
Command Line Options
pingr [OPTIONS] [CIDR]
Arguments:
[CIDR] Network to scan in CIDR notation [default: 192.168.1.0/24]
Options:
-t, --threads <THREADS> Concurrent threads (auto = automatic) [default: auto]
-v, --verbose Show unreachable hosts
-o, --output <OUTPUT> Output file path (without extension)
-f, --format <FORMAT> Output format [text, json, both]
-c, --count <COUNT> Ping attempts per host [default: 1]
-r, --resolve Resolve hostnames
--timeout <TIMEOUT> Ping timeout in seconds [default: 1]
--stats Show RTT statistics
--rate <RATE> Rate limit (pings/sec, 0 = unlimited)
--export <FORMAT> Export format (csv, nmap)
-q, --quiet Minimal output
--no-color Disable colored output
-h, --help Print help
-V, --version Print version
Performance Guide
| Network Size | Hosts | Recommended Threads | Scan Time |
|---|---|---|---|
| /24 | 254 | 256 | ~2 sec |
| /22 | 1,022 | 512 | ~5 sec |
| /20 | 4,094 | 1,024 | ~10 sec |
| /16 | 65,534 | 4,096 | ~30 sec |
| /12 | 1,048,574 | 8,192 | ~5 min |
Building from Source
Cross-Compilation
# For Raspberry Pi
# For Ubuntu/Debian
Author
Chris Neuwirth CNeuwirth@networksgroup.com GitHub: @cybrly
License
This project is licensed under the MIT License - see the LICENSE file for details.