Skip to content

russ1217/vnt_win32

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

25 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

VNT Helper for Windows

A native Windows wrapper application for managing VNT (Virtual Network Tool https://github.com/vnt-dev/vnt) networks, built with wxPython and designed specifically for the Windows ecosystem.

๐ŸŽฏ About This Application

Not a Web-Based App

This is NOT a Flutter web application wrapped in a Windows container. Instead, it's a true native Windows application built with:

  • wxPython: A mature Python GUI framework that creates authentic Win32-style interfaces
  • Windows System Services: Leverages Windows Service infrastructure for reliable background operations
  • Task Scheduler Integration: Uses Windows Task Scheduler for automated management tasks
  • Native IPC Communication: Direct inter-process communication using Windows mechanisms

Why Native Windows Style?

This application embraces the Windows philosophy by:

โœ… System Services: Runs as a proper Windows Service for automatic startup and reliability
โœ… Task Scheduler: Integrates with Windows Task Scheduler for scheduled operations
โœ… Win32 UI Style: Follows Windows UI conventions and user expectations
โœ… Process Management: Uses Windows-native process control and monitoring
โœ… Event Logging: Integrates with Windows Event Log system
โœ… Registry Integration: Proper Windows registry usage for configuration

๐Ÿš€ Features

  • VNT Network Management: Complete control over VNT virtual network connections
  • Service-Based Architecture: Reliable background daemon running as Windows Service
  • Real-time Monitoring: Live network status, IP assignment, and connection quality
  • Auto-Reconnection: Intelligent reconnection with configurable intervals
  • Update Management: Seamless self-update with graceful shutdown procedures
  • Log Viewer: Dual-format log parsing supporting both Python and Rust applications
  • IP Notification: Banner notifications when IP addresses are assigned
  • Graceful Shutdown: Coordinated shutdown following Windows service best practices

๐Ÿ—๏ธ Architecture

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚         VNT Helper GUI (wxPython)       โ”‚
โ”‚         - Win32 Native Interface        โ”‚
โ”‚         - Real-time Status Display      โ”‚
โ”‚         - Configuration Management      โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
               โ”‚ IPC (Named Pipes)
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚      VNT Daemon (Windows Service)       โ”‚
โ”‚      - Background Network Management    โ”‚
โ”‚      - Auto-reconnection Logic          โ”‚
โ”‚      - Process Monitoring               โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
               โ”‚ Command Execution
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚         vnt2_cli (Rust Binary)          โ”‚
โ”‚         - VNT Protocol Implementation   โ”‚
โ”‚         - Network Operations            โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿ’ป Technical Stack

  • GUI Framework: wxPython 4.x (Phoenix)
  • Language: Python 3.8+
  • Background Service: pywin32 (Windows Service API)
  • IPC Mechanism: Named Pipes / Sockets
  • Network Client: vnt2_cli (Rust-based)
  • Packaging: PyInstaller
  • Updater: Custom Windows-aware update system

๐Ÿ”ง Installation

  1. Download the latest release from GitHub Releases
  2. Extract the archive to your desired location
  3. Run vnt_helper.exe as Administrator (required for service installation)
  4. The application will automatically install the Windows Service on first run

๐Ÿ“‹ Requirements

  • OS: Windows 10/11 (64-bit)
  • Privileges: Administrator rights (for service installation)
  • Network: Internet access for VNT connection
  • Dependencies: All bundled in the executable (no Python installation required)

๐ŸŽฎ Usage

First Time Setup

  1. Launch vnt_helper.exe with administrator privileges
  2. Configure your VNT server address and authentication token
  3. Click "Start" to begin the VNT connection
  4. The application will install the Windows Service automatically

Daily Operation

  • Start/Stop: Control VNT network connection from the main interface
  • Monitor: View real-time connection status and assigned IP addresses
  • Logs: Access detailed logs through the built-in log viewer
  • Settings: Customize reconnection intervals and other parameters

Service Management

The application manages a Windows Service named "VNTDaemon":

  • Automatically starts on system boot (if configured)
  • Runs in the background independent of the GUI
  • Can be managed via Windows Services MMC snap-in (services.msc)

๐Ÿ”„ Update Process

The application features an intelligent update system:

  1. Check for Updates: Periodically checks for new versions
  2. Graceful Shutdown:
    • Stops network connections
    • Sends shutdown signal to daemon
    • Waits for clean process termination (20-30 seconds)
    • Uninstalls Windows Service
  3. Download & Install: Downloads and extracts new version
  4. Restart: Launches updated application automatically

๐Ÿ“ Log Formats

The log viewer supports dual format parsing:

Python Logging Format (application logs):

2026-05-20 14:44:15,976 - INFO - PID 3720 : message text here

Rust/vnt2_cli Format (CLI output):

2026-05-20T14:44:15.933124700+08:00 INFO message text here

Both formats are automatically detected and displayed in a unified interface.

๐Ÿ”’ Security Considerations

  • Runs with minimal required privileges
  • Secure IPC communication between components
  • Validates update checksums before installation
  • No external dependencies beyond bundled libraries

๐Ÿ› Troubleshooting

Service Installation Fails

  • Ensure you're running as Administrator
  • Check Windows Event Log for service-related errors
  • Verify no antivirus is blocking service creation

Connection Issues

  • Verify firewall allows VNT traffic
  • Check server address and token configuration
  • Review logs for detailed error messages

Update Problems

  • Ensure stable internet connection
  • Check available disk space
  • Review updater logs in the application directory

๐Ÿ“„ License

The core vnt2_cli binary is from the project https://github.com/vnt-dev/vnt This project is licensed under the MIT License.

๐Ÿค Contributing

Contributions are welcome! Please feel free to submit issues and pull requests.

๐Ÿ“ง Support

For issues and questions, please visit:


Built with โค๏ธ for Windows users who appreciate native applications

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors