Commit graph

65 commits

Author SHA1 Message Date
Minghong Xu
648594733c fixup: interface is a reserved word in strict mode 2024-01-31 03:50:53 +00: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
Philip H.
e1dfc0ff19
revert: custom interface PR: #700 2023-12-30 18:35:37 +00:00
Peter Lewis
4c7aa0fd1a
Revert variable-isation 2023-12-30 08:46:56 +00:00
Philip H.
e3fd6cf8b4
fixup: bcrypt implementation 2023-12-29 15:43:26 +00:00
Philip H
a73dbcc8e2
WireGuard.js: fixup lint errors 2023-12-24 15:09:03 +01:00
Comet1903
52fa781f13
Merge remote-tracking branch 'upstream/master' into add-custom-port-and-interface 2023-12-24 01:21:26 +01:00
Comet1903
6e08e5a824
add custom port and interface 2023-12-24 01:19:06 +01:00
Alexander
7d7a2ff8d7
Merge branch 'master' into master 2023-12-22 14:29:38 +07:00
Philip H
8d88549d02
Server.js: expiryDate prevents login 2023-12-17 18:31:31 +01:00
Philip H.
2a775d4bf7
fixup: Prototype-polluting assignment (medium) 2023-12-03 11:50:14 +00:00
Philip H.
206033a731
fixup: Prototype-polluting assignment (medium) 2023-12-03 10:21:43 +00:00
Philip H.
7d755f033b
session will be expire in 1 hour 2023-12-03 09:06:06 +00:00
Philip H.
35144b34c2
fixup: some security stuff 2023-12-03 08:53:54 +00:00
Philip H
f1cafc3f09
fixup Server.js: revert secure: true
Clear text transmission of sensitive cookie (medium)
needs rework for better fix
2023-12-02 23:49:41 +01:00
Philip H
4c7d763d24
fixes: security stuff (#47)
Insecure randomness (high)
gravatar: md5 insecure hash algorithm (high)
Clear text transmission of sensitive cookie (medium)
2023-12-02 22:59:30 +01:00
Philip H.
e5f4fb4e90
fixup: require('bcryptjs') 2023-12-02 13:07:21 +00:00
Philip H.
bf956e3ae8
Support for sessionless HTTP API authentication 2023-11-21 20:06:55 +00:00
Philip H
e429c86d81
lib/WireGuard.js - ListenPort from ENV (#11)
Co-authored-by: Whithil <ericcruz.prog@gmail.com>
2023-11-05 11:31:04 +01:00
Rahil Bhimjiani
dd86dbaef0
Ability to change ip address WebUI binds to with WEBUI_HOST env var 2023-06-03 16:14:47 +05:30
Peter Lewis
8800cd9b0d
Update WireGuard.js 2023-02-01 11:22:33 +00:00
Peter Lewis
1a11c6f396
Update Util.js 2023-02-01 11:22:07 +00:00
Peter Lewis
6bbd46e7df
Update Server.js 2023-02-01 11:21:40 +00:00
cany748
bc38a72b1a
Merge branch 'WeeJeWel:master' into master 2022-07-06 11:57:52 +07:00
Emile Nijssen
bc320fbf79 fixes #306 2022-07-03 21:38:22 +02:00
cany748
2c29909ef6 add environment variable for changes lang 2022-06-20 20:09:17 +07:00
Emile Nijssen
f364e0775a fix eslint 2022-06-12 23:28:51 +02:00
Emile Nijssen
b72bcce052
Merge pull request #216 from murka/patch-1
feat(WireGuard): return client data by createClient.
2022-06-12 23:24:28 +02:00
Emile Nijssen
7a0f097e4e
Merge pull request #192 from crazyracer98/feature/wg-pre-up-down
Add PreUp and PreDown
2022-06-12 23:22:17 +02:00
Emile Nijssen
90c4ca90bd fixes #199 2022-06-12 23:03:57 +02:00
Danil Shaymurzin
8f66d11e3f
feat(WireGuard): return client data by createClient. 2022-03-06 00:38:46 +05:00
crazyracer98
557e13a953 expose server interface PreUp and PreDown to environment variable 2022-01-29 00:46:21 +01:00
Emile Nijssen
a97142bb97 add WG_POST_UP, WG_POST_DOWN 2022-01-10 23:11:34 -08:00
Emile Nijssen
e1582ec678 fix WG_MTU 2022-01-10 22:57:32 -08:00
Emile Nijssen
f829bbdf41
Merge pull request #154 from DerDanilo/add-WG_MTU
add optional client profile MTU var
2022-01-10 22:55:08 -08:00
Emile Nijssen
2a9a7eecac add helpful error message 2022-01-10 22:52:24 -08:00
Emile Nijssen
0d908f56a0 chmod config files 2022-01-10 22:47:45 -08:00
DerDanilo
8e93ae76a5
Merge branch 'master' into add-WG_MTU 2021-12-26 14:22:23 +01:00
DerDanilo
b4fbcdd2db add optional client profile MTU var 2021-12-26 14:08:41 +01:00
Emile Nijssen
e843593b17 eslint 2021-11-12 21:27:58 +00:00
Emile Nijssen
c19cb72b6d better logging (fixes #100) 2021-11-12 21:20:28 +00:00
Vojta Drbohlav
722bd18999 normalize config file name for download to make it work on Windows
Windows client name is derived from config file name when importing to WireGuard and it only accepts names satisfying /^[a-zA-Z0-9_=+.-]{1,32}$/.
For more information look at af60ab2299/conf/name.go (L24).
2021-10-11 22:02:08 +02:00
Emile Nijssen
d8eaafbcfb fix 2021-07-18 16:48:33 +02:00
Fastidious
b3ab0a9ddf
Update Server.js 2021-07-17 10:20:46 -04:00
Fastidious
6a0a5a10be
Update WireGuard.js 2021-07-17 10:19:17 -04:00
Fastidious
ef7570777d
Binding web address
Adding the ability to change the binding address for the web server (0.0.0.0, open to everyone, or 127.0.0.1, for example, for proxying).
2021-07-15 06:57:22 -04:00
Fastidious
31d1cb96fc
Adding Persistent Keepalive 2021-07-14 20:53:59 -04:00