Commit graph

8 commits

Author SHA1 Message Date
Yigit Konur
1805406a04 Enhance VPN health checks and connectivity validation
- **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.
2024-07-05 12:32:12 +01:00
Wayback Archiver
30d2697f03
Add silent flag to reduce output (#67) 2023-05-20 23:47:19 +01:00
octeep
9a1616cb25 bump version to 1.0.4 2022-08-23 22:04:36 +08:00
octeep
e686381fa9 update go version to 1.18 2022-05-20 12:25:48 +01:00
octeep
4937223047 fix project file structure 2022-03-29 00:33:59 +01:00
octeep
7a02954897 refactor config system 2022-03-28 23:41:10 +01:00
tensorknower69
930e0b4b5b .gitignore vim 2022-03-28 01:52:27 +08:00
octeep
b08368ad10 add command arg 2022-03-11 12:28:53 +00:00