Skip to content

Conversation

@RohitKochhar
Copy link

This implementation provides better performance and eliminates the need for the system fping package while maintaining full compatibility with existing configurations.

Key features:

  • Drop-in replacement with automatic fallback to system fping
  • Same output format and interface as original fping
  • No external dependencies when Rust extension is built
  • Complete test coverage and example configuration
  • Build script for easy compilation

The implementation uses system ping commands internally to avoid raw socket permission requirements while still providing a native Rust experience.

This implementation provides better performance and eliminates the need for
the system fping package while maintaining full compatibility with existing
configurations.

Key features:
- Drop-in replacement with automatic fallback to system fping
- Same output format and interface as original fping
- No external dependencies when Rust extension is built
- Complete test coverage and example configuration
- Build script for easy compilation

The implementation uses system ping commands internally to avoid raw socket
permission requirements while still providing a native Rust experience.
@grizz grizz requested a review from vegu August 15, 2025 15:12
RohitKochhar and others added 2 commits August 17, 2025 20:49
Implements a comprehensive fping-compatible CLI interface that provides
a drop-in replacement for the traditional fping utility using vaping's
high-performance Rust implementation.

Key features:
- Full fping command-line compatibility with all major options
- Real-time verbose count mode with cumulative statistics
- Proper timeout handling (1 second default)
- Exit code compatibility with original fping
- Comprehensive test suite with 25+ test cases
- Complete documentation with examples

Files added:
- src/vaping/fping_cli.py - Main CLI implementation
- tests/test_fping_cli.py - Comprehensive test suite
- docs/fping-cli.md - User documentation

Files modified:
- src/lib.rs - Enhanced Rust implementation with timeout parameter
- src/vaping/cli.py - Integration as vaping subcommand
- README.md - Updated with fping command documentation
- mkdocs.yml - Added documentation to navigation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants