π§ Update v1.0.3 - Windows Firewall Rules Checking
π New Feature: Windows Firewall Rules Analysis
- β Windows Firewall Integration: Added comprehensive Windows Firewall rules checking
- β Service Status Check: Verifies Windows Firewall service is running
- β Inbound/Outbound Rules: Queries both inbound and outbound firewall rules
- β Port-Specific Analysis: Finds rules that specifically affect your P2P port
- β Port Range Support: Detects rules for port ranges (e.g., 61336-61346)
- β Protocol Filtering: Focuses on TCP/UDP rules relevant to P2P
- β Detailed Reporting: Shows specific blocking/allowing rules found
How It Works
The tool now queries Windows Firewall using netsh commands to:
- Check Service Status: Verifies Windows Firewall service is active
- Query Inbound Rules: Finds rules affecting incoming connections
- Query Outbound Rules: Finds rules affecting outgoing connections
- Parse Rule Details: Extracts rule names, actions (Allow/Block), and ports
- Port Matching: Identifies rules that affect your specific P2P port
- Generate Report: Provides actionable information about firewall blocking
Example Output
Windows (with firewall rules):
β οΈ Windows Firewall Rules: WARNING
Firewall rules may block this port
Details: Inbound blocking: 1 rules | Outbound blocking: 0 rules | Inbound allowing: 0 rules | Outbound allowing: 2 rules | Blocking inbound rules: - Block P2P Ports (Block)
Non-Windows (skipped):
β
Windows Firewall Rules: SKIP
Windows Firewall check not applicable
Details: This test only runs on Windows systems
Benefits
- π― Accurate Diagnostics: Distinguishes firewall blocking from other issues
- π Actionable Information: Shows exactly which rules are blocking ports
- π‘οΈ Security Awareness: Helps users understand their firewall configuration
- π Comprehensive Analysis: Works alongside existing firewall analysis
- π» Windows-Specific: Provides detailed Windows Firewall information
Downloads
- Windows: network-diagnostics-windows.exe (3.4 MB) - Now with Windows Firewall checking!
- macOS: network-diagnostics-macos (3.2 MB)
- Linux: network-diagnostics-linux (3.2 MB)
Usage
# Test specific port with Windows Firewall analysis
./network-diagnostics 61340
# Windows: Double-click the .exe file
# The window will stay open until you press EnterTechnical Details
- Uses
netsh advfirewall firewall show rulecommands - Parses rule output to extract port, protocol, and action information
- Supports port ranges and protocol filtering (TCP/UDP/Any)
- Only enabled on Windows systems for optimal performance
- Integrates seamlessly with existing diagnostic suite
This update provides Windows users with detailed firewall analysis to help troubleshoot P2P connectivity issues!