Skip to content

Releases: NeuronInnovations/neuron-p2p-diagnostics

Neuron P2P Diagnostics v1.0.3 - Windows Firewall Rules Checking

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!

Neuron P2P Diagnostics v1.0.2 - Fixed NAT Detection

Choose a tag to compare

@zoperado zoperado released this 10 Oct 19:51

🔧 Update v1.0.2 - Fixed NAT Detection

🐛 Bug Fix

  • Fixed NAT Detection: Resolved critical issue where NAT test always reported 'No NAT'
  • Proper Local IP Detection: Now correctly detects private IP addresses (192.168.x.x, 10.x.x.x, etc.)
  • Accurate NAT Classification: Properly identifies NAT types (Restricted Cone, Port Mapping, etc.)
  • Port Mapping Detection: Now correctly detects when local port != public port

What Was Fixed

The NAT detection was failing because was nil, causing the logic to incorrectly assume a public IP. Now:

  • Properly retrieves local IP from UDP connection
  • Correctly identifies private IP ranges
  • Shows accurate NAT type and port mapping status

Example Output (Before vs After)

Before (Broken):

After (Fixed):

Downloads

  • Windows: network-diagnostics-windows.exe (3.4 MB) - Double-clickable with pause
  • macOS: network-diagnostics-macos (3.2 MB)
  • Linux: network-diagnostics-linux (3.2 MB)

Features

  • 🎯 Specific port testing with command line arguments
  • 🔍 Fixed STUN-based NAT type detection with accurate port mapping analysis
  • 🛡️ Comprehensive firewall blocking detection
  • 🌐 Real UDP connectivity testing with echo verification
  • 📊 P2P port range communication testing (61336-61346)
  • 💻 Cross-platform support (Windows, macOS, Linux)

Usage

# Test specific port
./network-diagnostics 61340

# Windows: Double-click the .exe file
# The window will stay open until you press Enter

This update ensures accurate network diagnostics for P2P applications!

Neuron P2P Diagnostics v1.0.1 - Windows Double-Click Support

Choose a tag to compare

@zoperado zoperado released this 09 Oct 17:49

🔧 Update v1.0.1 - Windows Double-Click Support

What's New

  • Windows Double-Click Support: Windows executable now pauses with 'Press Enter to exit...' when double-clicked
  • Cross-Platform Compatibility: macOS and Linux remain unchanged for command-line usage
  • User-Friendly: Windows users can now double-click to run diagnostics without the window disappearing

Downloads

  • Windows: network-diagnostics-windows.exe (3.4 MB) - Now double-clickable!
  • macOS: network-diagnostics-macos (3.2 MB)
  • Linux: network-diagnostics-linux (3.2 MB)

Usage

# Command line (all platforms)
./network-diagnostics 61340

# Windows: Double-click the .exe file
# The window will stay open until you press Enter

Features

  • 🎯 Specific port testing with command line arguments
  • 🔍 STUN-based NAT type detection with port mapping analysis
  • 🛡️ Comprehensive firewall blocking detection
  • 🌐 Real UDP connectivity testing with echo verification
  • 📊 P2P port range communication testing (61336-61346)
  • 💻 Cross-platform support (Windows, macOS, Linux)

Port Mapping Detection

The tool detects when your local port doesn't match your public port, which can cause issues for P2P protocols that expect port preservation.

Neuron P2P Diagnostics v1.0.0

Choose a tag to compare

@zoperado zoperado released this 09 Oct 13:37

🚀 Initial Release - Neuron P2P Diagnostics

Features

  • ✅ Specific port testing with command line arguments
  • ✅ STUN-based NAT type detection with port mapping analysis
  • ✅ Comprehensive firewall blocking detection
  • ✅ Real UDP connectivity testing with echo verification
  • ✅ P2P port range communication testing (61336-61346)
  • ✅ Cross-platform support (Windows, macOS, Linux)

Downloads

  • Windows: network-diagnostics-windows.exe (3.4 MB)
  • macOS: network-diagnostics-macos (3.2 MB)
  • Linux: network-diagnostics-linux (3.2 MB)

Usage

# Test specific port
./network-diagnostics 61340

# Use default port (61336)
./network-diagnostics

Port Mapping Detection

The tool detects when your local port doesn't match your public port, which can cause issues for P2P protocols that expect port preservation.