Repository navigation
netcheck v1.2.0 - Network Diagnostics Features
Network Connectivity Checker v1.2.0
A major feature release adding comprehensive network diagnostics capabilities to netcheck.
馃啎 What's New
Network Interface Display (--my-ip, -ip)
Display all your network interfaces with detailed information:
- IPv4/IPv6 addresses for each interface
- Interface status (UP/DOWN)
- Default gateway and public IP
- Smart filtering: Shows only active (UP) interfaces by default
- Use
--my-ip --allto see all interfaces including inactive ones - Clean sorted output with filtered loopback and virtual ethernet
Example:
netcheck --my-ipHTTP Status Checking (-s, --status)
Check HTTP/HTTPS endpoints with detailed diagnostics:
- Response codes with descriptive messages (200 OK, 404 Not Found, etc.)
- Response time in milliseconds
- Content size in human-readable format
- Status categorization (success, redirect, client error, server error)
- Verbose mode shows response headers
- Comprehensive error messages
Example:
netcheck -s https://google.com
netcheck -s https://api.example.com -V # with headersSSL Certificate Validation (--cert)
Monitor SSL/TLS certificate expiration and validity:
- Certificate subject, issuer, and validity dates
- Days until expiry calculation
鈿狅笍 Warnings for certificates expiring within 30 days- 馃毃 Critical alerts for certificates expiring within 7 days
- Verbose mode shows Subject Alternative Names (SANs)
- Supports URL or hostname:port format
Example:
netcheck --cert google.com
netcheck --cert https://github.com -V # with SANsRetry Logic (--retry, --retry-delay)
Automatically retry failed connections for more reliable testing:
- Configurable retry count (
--retry N) - Configurable delay between retries (
--retry-delay seconds) - Works in both file mode and quick mode
- Verbose mode shows retry attempts
- Perfect for intermittent connection issues
Example:
netcheck --retry 3 --retry-delay 2 hosts.txt
netcheck -q 192.168.1.1 80 --retry 5馃搵 Full Changelog
Added
-
Network Interface Display (
--my-ip,-ip)- Show all network interfaces with IPv4/IPv6 addresses
- Display interface status (UP/DOWN), gateway, and public IP
- Default shows only active (UP) interfaces
--my-ip --allflag shows all interfaces including inactive ones- Sorted output with filtered loopback and virtual ethernet pairs
-
HTTP Status Checking (
-s,--status)- Check HTTP/HTTPS response codes with curl
- Display response time in milliseconds
- Show content size in human-readable format (bytes, KB, MB)
- Categorize status codes (2xx success, 3xx redirect, 4xx client error, 5xx server error)
- Verbose mode shows response headers
- Comprehensive error messages for connection failures
-
SSL Certificate Validation (
--cert)- Check SSL/TLS certificate validity and expiration
- Display certificate subject, issuer, and validity dates
- Calculate days until expiry
- Warn if certificate expires within 30 days (yellow) or 7 days (red)
- Verbose mode shows Subject Alternative Names (SANs)
- Support for URL or hostname:port format
-
Retry Logic (
--retry,--retry-delay)- Retry failed connections with configurable count (default: 1, no retry)
- Configurable delay between retries in seconds (default: 1)
- Works with both file mode and quick mode
- Verbose mode shows retry attempts
- Helps with intermittent connection issues
Changed
- Updated help text with all new flags and options
- Improved error messages and user guidance
- Enhanced documentation with v1.2.0 examples
Dependencies
- Added
curlfor HTTP status checks - Added
opensslfor SSL certificate validation - Added
bcfor time calculations - Added
iproute2for network interface display
馃摝 Installation
Snap (Recommended - All Linux Distributions)
sudo snap install netcheck
sudo snap connect netcheck:network-observe # For ping functionalityDEB Package (Ubuntu/Debian)
Download netcheck_1.2.0.deb from the assets below and install:
sudo dpkg -i netcheck_1.2.0.debFrom Source
git clone https://github.com/farman20ali/network_access_check.git
cd network_access_check
sudo make install馃摉 Documentation
- README.md - Full documentation
- EXAMPLES.md - Comprehensive examples
- CHANGELOG.md - Complete version history
馃敆 Links
- Snap Store: https://snapcraft.io/netcheck
- GitHub: https://github.com/farman20ali/network_access_check
- Issues: https://github.com/farman20ali/network_access_check/issues
馃挕 Quick Examples
# Check your network interfaces
netcheck --my-ip
# Check website status
netcheck -s https://google.com
# Check SSL certificate expiry
netcheck --cert github.com
# Retry failed connections
netcheck --retry 3 hosts.txt
# Combined diagnostics
netcheck --my-ip && netcheck -p 8.8.8.8 && netcheck -s https://api.example.com