mirror of
https://github.com/whyvl/wireproxy.git
synced 2025-06-28 00:58:00 +02:00

- **README.md**: Added a 'Fork Features' section to highlight new enhancements like Google health checks, IP validation, and program termination for VPN health checks. - **main.go**: Integrated new health check logic. - **http.go**: Added 'responseWith' function and imported 'strconv' for better HTTP response handling. - **wireguard.go**: - Added imports for 'log', 'os', 'strings', and 'time'. - Enhanced 'StartWireguard' with handshake verification and Google connectivity checks. - Implemented program termination on critical check failures. - **utils.go**: - Renamed from 'util.go'. - Added 'CheckGoogleConnectivity' and 'checkIP' functions for external connectivity validation. - **config.go**: No changes. - **net.go**: No changes. - **routine.go**: No changes. These updates improve the reliability, security, and maintainability of the WireGuard VPN management system by ensuring proper connectivity and health checks.
8 lines
75 B
Text
8 lines
75 B
Text
/main
|
|
/wireproxy
|
|
*.sw?
|
|
/.idea
|
|
.goreleaser.yml
|
|
*.conf
|
|
.DS_Store
|
|
*/.DS_Store
|