Commit Graph

270 Commits

Author SHA1 Message Date
Ioannis Dressos 2a20b60785
Remove GitHub Actions workflows inherited from upstream 2026-07-08 12:45:39 +03:00
Ioannis Dressos 2211e24962
Add CLAUDE.md 2026-07-08 12:35:31 +03:00
Ioannis Dressos 06b3df4586
Add configurable config file permissions (default 0600)
The generated WireGuard config contains the server private key and client
preshared keys, so it is now written with mode 0600 by default instead of
inheriting a umask-dependent (often world-readable) mode. The mode is
configurable via the global settings UI or WGUI_CONFIG_FILE_MODE. The file is
still written in place so the container inotify restart watch keeps working.
2026-07-08 12:32:24 +03:00
Ioannis Dressos b393e2e3a3
Escape user-controlled fields to prevent stored XSS in client/status views 2026-07-08 12:22:34 +03:00
Ioannis Dressos 01ec7093de
Sanitize client name in config download filename 2026-07-08 12:17:07 +03:00
Ioannis Dressos c2f268edec
Check GetAllocatedIPs error in client create/update 2026-07-08 12:16:01 +03:00
Ioannis Dressos 283ba7155d
Use crypto/rand for default session secret generation 2026-07-08 12:15:29 +03:00
Ioannis Dressos dfa2ac5e9f
Add recover middleware to gracefully handle handler panics 2026-07-08 12:14:55 +03:00
Ioannis Dressos d9fdd3a017
Return 400 instead of panicking on malformed JSON request bodies 2026-07-08 12:14:13 +03:00
Ioannis Dressos 1db5983ed5
Guard Telegram flood-wait maps with a mutex to prevent data races 2026-07-08 12:13:30 +03:00
Ioannis Dressos f67544ae2a
Fix nil pointer panic in WakeOnHost when MAC not found 2026-07-08 12:11:38 +03:00
Ioannis Dressos b517ae0feb
Add GeoLite2 geolocation integration 2026-07-07 18:49:39 +03:00
Ioannis Dressos 50816d995d
Capitalize 'g' in Wireguard 2026-07-07 15:19:51 +03:00
Ioannis Dressos e2cbce5960
Update references to GitHub repository 2026-07-07 15:19:51 +03:00
Ioannis Dressos 439d8ce224
Better default email constants 2026-07-07 15:19:51 +03:00
Ioannis Dressos 903e0355c1
Expanded post-script boxes to textareas 2026-07-07 15:19:51 +03:00
Ioannis Dressos 7ed84f5537
Make interface Table setting optional in wg.conf 2026-07-07 15:19:51 +03:00
Ioannis Dressos bf1d660443
Include FwMark option when applying config 2026-07-07 15:19:50 +03:00
Ioannis Dressos c35093fe2b
Make interface PostUp & PostDown settings optional in wg.conf 2026-07-07 15:19:50 +03:00
Ioannis Dressos acae8479a1
Hide about page from sidebar for non-admins 2026-07-07 15:19:50 +03:00
Ioannis Dressos fd8c201659
Rename 'WireGuard Clients' page to 'Clients' 2026-07-07 15:19:50 +03:00
Ioannis Dressos 09b9976016
Show only connected peers of relevant device in status page 2026-07-07 15:19:50 +03:00
Ioannis Dressos 5b88f8f566
Additional configuration env variables
WGUI_BRAND_TEXT - The brand text of the web application
WGUI_ACCENT_COLOR - The color of the interface sidebar
WGUI_LOGO_FILE_PATH - The file path of the website logo
WGUI_PAGE_TITLE_PREFIX - The HTML title prefix for all pages
2026-07-07 14:16:26 +03:00
Khanh Ngo 2fdafd34ca
fix dependencies (#535) 2024-01-13 15:35:23 +01:00
0xCA 92f5b5c8b1
Cache user crc32 on db init (fix for #523) (#534) 2024-01-12 21:30:07 +01:00
0xCA 8f3433b714
Case-insensitive search by notes; display notes on the client card (#532) 2024-01-12 21:28:15 +01:00
0xCA 7856ce9555
Status page: display peers IPs only to admins (#521) 2024-01-10 20:27:01 +01:00
0xCA 84032d1e06
Make sure init.sh is executable (#526) 2024-01-10 20:25:40 +01:00
0xCA ecea82d172
Support for notes about clients (#527) 2024-01-09 21:03:27 +01:00
kevin 73108f7f21
Fix updateSearchList js error (#524) 2024-01-09 20:52:23 +01:00
Khanh Ngo 99104e4295
fix: revert wgctrl module version (#525) 2024-01-07 10:45:05 +01:00
Khanh Ngo c5f52173e0
chore: update release workflow 2024-01-07 09:44:05 +01:00
Khanh Ngo a22e807d2a
chore: update docker build workflow
Keep the 'v' in app version so we are able to query to GitHub release api to fetch its
release information
2024-01-06 10:09:46 +01:00
0xCA fa33d3f66e
Session improvements (#510) 2024-01-06 09:11:20 +01:00
Khanh Ngo 46b09348e3
add iptables package (#520) 2024-01-04 10:46:38 +01:00
Khanh Ngo b3c22aa81f
Add golangci-lint CI (#516) 2023-12-31 21:46:30 +01:00
Khanh Ngo 769883f020
add PersistentKeepalive config to server-side Peer config (#515) 2023-12-31 21:08:13 +01:00
Khanh Ngo 45849a2aee
chore: code adjustment (#512) 2023-12-29 10:56:37 +01:00
Khanh Ngo 8cfe9a3d5b
Resolve conflict 2023-12-29 10:13:30 +01:00
Khanh Ngo 4ffd7319f8
Upgrade dependencies (#511)
- Upgrade GitHub Actions
- Upgrade Go version
- Upgrade Alpine image
2023-12-29 09:54:51 +01:00
0xCA 41bf0bc92c
Telegram support (#488) 2023-12-29 09:22:12 +01:00
0xCA 841db62347
Fixed tag input being too small and unable to fit a CIDR (#509)
Co-authored-by: 0xCA <undefined>
2023-12-28 08:37:26 +01:00
Alexandra Stone 37f459c535
Minor readme tweak. 2023-12-27 14:47:15 -07:00
Alexandra Stone a8e96f5457
Correct flag to helo and make shorter 2023-12-27 14:42:31 -07:00
kevin 867aa1305d
Fix logic error and make some settings optional in wg.conf template. (#506) 2023-12-27 20:50:30 +01:00
Daniel Tilă c2a6ced991
Describe the fact you can expose other port than WGUI_SERVER_LISTEN_PORT (#507) 2023-12-27 10:10:23 +01:00
Khanh Ngo cb118f4dea
Create CONTRIBUTING.md 2023-12-27 10:08:00 +01:00
0xCA a9be53899c
Subnet range selector, interface fixes (#481) 2023-12-27 09:08:55 +01:00
Vahid e73047b14f
Feature: Unix domain socket support (#492)
Co-authored-by: Khanh Ngo <k@ndk.name>
2023-12-25 20:31:11 +01:00
0xCA 47fac2b49b
Fixed tag input being too small and unable to fit a CIDR (#483)
Co-authored-by: 0xCA <undefined>
2023-12-25 20:25:38 +01:00