Skip to content

Neuron P2P Diagnostics v1.0.3 - Windows Firewall Rules Checking

Latest

Choose a tag to compare

@zoperado zoperado released this 10 Oct 19:57

πŸ”§ 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:

  1. Check Service Status: Verifies Windows Firewall service is active
  2. Query Inbound Rules: Finds rules affecting incoming connections
  3. Query Outbound Rules: Finds rules affecting outgoing connections
  4. Parse Rule Details: Extracts rule names, actions (Allow/Block), and ports
  5. Port Matching: Identifies rules that affect your specific P2P port
  6. 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 Enter

Technical Details

  • Uses netsh advfirewall firewall show rule commands
  • 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!