Commit graph

186 commits

Author SHA1 Message Date
Bolke de Bruin
96030f79f3 Make sure gateway address is set 2022-09-08 09:41:52 +02:00
Bolke de Bruin
090a5797d0 Use rdp builder for generating the rdp file 2022-09-07 10:52:20 +02:00
Bolke de Bruin
0c5f93e810 Split web api so it becomes more testable and maintainable 2022-09-06 12:14:08 +02:00
Bolke de Bruin
2a2edaa21c Update readme with settings for tls 2022-08-31 09:52:55 +02:00
Bolke de Bruin
454d203070 Add acme support 2022-08-31 09:52:50 +02:00
bolkedebruin
a15f8f3705
Install pam-devel in code analysis env 2022-08-31 09:03:19 +02:00
bolkedebruin
232be245d9
Add code scanning 2022-08-31 08:57:30 +02:00
Bolke de Bruin
e4e132c273 Remove "connect" endpoint if using local-auth 2022-08-30 11:49:19 +02:00
Bolke de Bruin
b92469cbe3 Add test and fix bug 2022-08-26 12:41:05 +02:00
Bolke de Bruin
61489fc4a7 Fix username selection 2022-08-26 12:15:43 +02:00
Bolke de Bruin
28890a97b6 Fix username replacement 2022-08-26 12:05:07 +02:00
Bolke de Bruin
184ff320b8 Fix checking host from list 2022-08-26 11:59:46 +02:00
Bolke de Bruin
19e9e3269d Fix auth function setup 2022-08-26 11:42:10 +02:00
Bolke de Bruin
c76de478e2 Fix openid 2022-08-26 11:27:11 +02:00
Bolke de Bruin
f94e73b1ec Fix some issues with gateway addresses 2022-08-26 10:06:43 +02:00
Bolke de Bruin
50f6d343f1 Make docker image use sratch 2022-08-26 09:46:59 +02:00
bolkedebruin
96dcc62e11
Update Makefile 2022-08-25 12:43:40 +02:00
bolkedebruin
159cf56154
Update README.md 2022-08-25 12:41:56 +02:00
bolkedebruin
8a911328b9
Update go.yml 2022-08-25 12:35:01 +02:00
Bolke de Bruin
e56c133178 Add pam package for builds 2022-08-25 12:34:01 +02:00
Bolke de Bruin
be77ffef12 Update readme 2022-08-25 12:29:07 +02:00
Bolke de Bruin
c05e9ee127 Add protobuf generated files 2022-08-25 12:27:05 +02:00
Bolke de Bruin
16c087d3bf Add config items and checks 2022-08-25 12:26:03 +02:00
Bolke de Bruin
768ee45974 Allow chaining of checks 2022-08-25 12:12:21 +02:00
Bolke de Bruin
9d2dc57e90 Check valid host from list 2022-08-25 11:22:23 +02:00
Bolke de Bruin
0901a117c9 Working basic auth 2022-08-25 10:58:23 +02:00
Bolke de Bruin
69bcf81230 Fix randomstring generation 2022-08-24 22:44:44 +02:00
Bolke de Bruin
fb58cb299e Add server implementation of basic auth 2022-08-24 13:47:26 +02:00
Bolke de Bruin
390f6acbcd Add support for PAM authentication 2022-08-23 22:52:15 +02:00
Bolke de Bruin
6499f9b7a5 Remove config item that does not exist 2022-08-18 13:55:22 +02:00
Bolke de Bruin
cb8b269478 Enable signed hosts provied in query parameters 2022-08-17 19:12:28 +02:00
Bolke de Bruin
8bc3e25f83 Allow host query parameter
the host query parameter can now be used
dependent on the `hostselection` config.
2022-08-17 10:49:21 +02:00
bolkedebruin
45a57f44ff
Update docker readme automatically 2022-08-16 16:01:50 +02:00
Bolke de Bruin
40d9cdda57 Make config more docker friendly 2022-08-16 14:54:31 +02:00
bolkedebruin
3ca05cbf16
Encryption keys need to be 32 characters 2022-08-14 20:21:55 +02:00
Bolke de Bruin
790ea0369c Change order to satisfy go-flags 2022-08-11 14:58:39 +02:00
Bolke de Bruin
bdd0155dbb Switch to uppercase due to koanf 2022-08-11 14:43:30 +02:00
Bolke de Bruin
b05886db73 Remove cobra
Cobra is pretty opnionated and its complexity isnt required
currently.
2022-08-11 14:25:07 +02:00
Bolke de Bruin
cd4182c1f5 Switch from viper to koanf 2022-08-11 13:58:24 +02:00
Bolke de Bruin
8ef2e3c153 Correct handshake response 2022-08-11 13:24:12 +02:00
Bolke de Bruin
b28d1787fc Allow filesystemstore for sessions (#15)
AD and other IdPs can provide long lists of group
membership. This can lead to securecookie too big
as this cannot always be stored inside a HTTP header.
Filesystem session storage removes this limitions at the
cost of not being entirely stateless anymore. It is therefore
required that clients can keep state with the rdpgw
instance.
2022-08-11 12:29:52 +02:00
Bolke de Bruin
1f7d8620d9 Debug 2022-08-10 22:47:52 +02:00
Bolke de Bruin
6a7d99cbba Fix tests 2022-08-10 22:21:58 +02:00
Bolke de Bruin
1ac36df867 Return proper error if caps don't match 2022-08-10 22:20:49 +02:00
bolkedebruin
954ad4dc4c
Allow cookie in standard docker rdpgw config 2022-08-09 11:11:34 +02:00
bolkedebruin
c8acaeff0e
Update README with docker badges 2022-08-09 10:52:21 +02:00
bolkedebruin
e06cec9729
Update docker-image.yml 2022-08-08 15:46:28 +02:00
bolkedebruin
59b5022d37
Update docker-image.yml 2022-08-08 15:42:20 +02:00
bolkedebruin
071ffd1e6c
Update docker-image.yml 2022-08-08 15:35:31 +02:00
bolkedebruin
d0001d0dc6
Update docker-image.yml 2022-08-08 15:33:12 +02:00