Commit graph

110 commits

Author SHA1 Message Date
davide-acanfora
d2d15fca2a Path traversal vulnerability resolved 2024-05-27 20:25:00 +02:00
davide-acanfora
c26b536b65 Remove unnecessary bcryptjs module usage 2024-05-27 20:25:00 +02:00
davide-acanfora
859dd2f25b Replace uuid module with built in crypto for UUIDv4 generation 2024-05-27 20:25:00 +02:00
Philip H
68c6f6252e fixup: Server.js for instance without docker
Some users can no longer access the Web UI since the release of v13.
2024-05-16 20:19:22 +02:00
Philip H
187888e078 WireGuard.js: fixup ListenPort 2024-04-14 19:51:04 +02:00
Philip H
bf214fb4d3
Revert "feat: cidr notation" 2024-03-27 14:41:31 +01:00
Philip H
6c0049770e
Merge branch 'master' into feat-cidr-notation 2024-03-23 21:30:52 +01:00
cany748
8d00c5456a fix: add Content-Type header for static files 2024-03-23 19:37:33 +01:00
Philip H
953a67bbdd
fixup: Server.js 2024-03-19 14:18:29 +01:00
Philip H
5fbfb26937
fixup: Server.js 2024-03-19 14:16:44 +01:00
Philip H
74f3e2f320
fixup: Server.js 2024-03-19 14:11:03 +01:00
Philip H
c107920df2
Merge branch 'master' into feat-h3 2024-03-19 14:09:42 +01:00
Sergei Birukov
aedb691b2b Fix traffic charts. Add chart vars
Add UI_TRAFFIC_STATS, UI_CHART_TYPE
2024-03-18 21:25:08 +01:00
Philip H
f7bd362538
fixup: Server.js 2024-03-15 15:23:12 +01:00
Philip H
ee5a2c6c5a
Server.js: remove cookie setting
Proxy is recommended else use only internally
2024-03-15 15:17:41 +01:00
Philip H
68187e07a1
Merge branch 'master' into feat-cidr-notation 2024-03-14 13:49:26 +01:00
Philip H.
7596385d5a
fixup: lint errors and uninstall express 2024-03-14 12:18:47 +00:00
Philip H.
10f246ea59
fixup: Server.js 2024-03-14 08:19:29 +00:00
Philip H.
3f2495a0ea
fixup: UI_TRAFFIC_STATS 2024-03-14 08:14:52 +00:00
Philip H.
b7c2c81cc7
fixup: lint errors 2024-03-14 08:05:09 +00:00
Philip H
064e264ce8
Server.js: add missing ')' 2024-03-14 08:59:31 +01:00
Philip H
08c412fd14
Server.js: remove white-space 2024-03-14 08:57:38 +01:00
Philip H
8c771b054c
Server.js: add UI_TRAFFIC_STATS 2024-03-14 08:55:15 +01:00
Philip H
e9480a5ed5
fixup Server.js: even to master 2024-03-14 08:50:31 +01:00
Philip H
1a3cff855e
Merge branch 'feat-h3' into master 2024-03-14 08:48:53 +01:00
Philip H
3621bdebad
feat: no private key (#887)
Thank you @willtho89!
2024-03-06 17:03:33 +01:00
Philip H
a36ab8891e
fixup: WireGuard.js 2024-03-06 16:43:07 +01:00
Philip H
5ee284b973
fixup: WireGuard.js 2024-03-05 19:35:38 +01:00
Philip H
754b5f29af
fixup: WireGuard.js
well I was on the client side so I hope I get all stuff fixed now.
2024-03-05 19:29:14 +01:00
Philip H
63faf4c507
fixup: WireGuard.js 2024-03-05 18:24:42 +01:00
Philip H
2f89765112 WireGuard.js: fixup undefined CIDR 2024-03-05 17:56:13 +01:00
Thomas Willems
89415a2258 refactor to support CIDR and legacy notation
for WG_DEFAULT_ADDRESS
2024-03-05 16:58:19 +01:00
Thomas Willems
577af9947d introduce WG_DEFAULT_ADDRESS_RANGE (CIDR notation)
This PR allows the use of Address Ranges using the CIDR notation.

To make it backward compatible, i introduced a new env variable WG_DEFAULT_ADDRESS_RANGE (defaults to the previous default of 24).

This allows the usage of smaller subnets (or possibly larger; but i didn't test that due to restrictions on my network). Client IPs will be calculated with correct IP addresses instead of making assumptions of the address space.
2024-03-05 16:58:19 +01:00
Florian Rattay
e9e8d47858 Import json configurations with no PreShared-Key 2024-03-03 11:52:37 +01:00
Philip H
ce1af6d691
Merge branch 'feat-no-privateKey' into feat/clients-without-privatekey 2024-03-02 14:12:38 +01:00
Philip H
a6d092dd87 fixup: lint errors 2024-03-01 14:26:13 +01:00
Chanchai
6604e44ea3 feat: support graceful shutdown 2024-03-01 14:26:13 +01:00
cany748
7efdbf38e4 fix: revert ServerError.js 2024-02-28 16:27:33 +07:00
cany748
e8a160b14f refactor!: migrate from express to h3 2024-02-28 15:48:09 +07:00
Philip H
00956ecf74
Merge branch 'feat-no-privateKey' into feat/clients-without-privatekey 2024-02-26 10:47:43 +01:00
Peter Lewis
ebc5173bd0
usage -> traffic 2024-02-25 22:02:53 +00:00
Peter Lewis
a40dbe130e
detailed -> usage 2024-02-25 21:42:51 +00:00
Sergei Birukov
45147ee7c4 Fix lint errors 2024-02-13 19:30:34 +03:00
Sergei Birukov
fa392cf260 Add UI_DETAILED_STATS variable
Show detailed RX / TX stats when UI_DETAILED_STATS = true
Add api method to get UI_DETAILED_STATS value on frontend
2024-02-13 12:53:32 +03:00
Minghong Xu
648594733c fixup: interface is a reserved word in strict mode 2024-01-31 03:50:53 +00:00
Thomas Willems
c7cc3eca4a
allow clients with no privateKey
see https://github.com/wg-easy/wg-easy/discussions/791

I disabled the download from the frontend.
If someone tries to manually call the API, the privateKey block is set to "REPLACE_ME" to indicate that this value must be set manually.
2024-01-30 21:27:02 +01:00
Minghong Xu
8aafe6b8c9 WireGuard.js: remove redundant newline char in client config generation 2024-01-30 06:59:19 +00:00
pheiduck
a182efb443 load language before session 2024-01-19 09:35:35 +01:00
Alexander
7ba2ed6368
Merge branch 'master' into master 2024-01-09 12:49:34 +07:00
Philip H
d16ed82290
WireGuard.js: revert to ' + WG_DEVICE + ' 2023-12-30 20:10:13 +01:00