Commit Graph

66 Commits

Author SHA1 Message Date
Ingo Oppermann
5b81e6e23f Add metrics collector for HTTP status codes 2023-09-29 17:18:59 +02:00
Ingo Oppermann
ad2a50df6f Separate resource type and resource for IAM policies 2023-09-18 17:11:09 +02:00
Ingo Oppermann
17ffa2b700 Upgrade github.com/golang-jwt/jwt to v5 2023-09-04 17:45:01 +02:00
Ingo Oppermann
eea1e2e517 Give reason why session validation failed 2023-07-23 16:14:09 +02:00
Ingo Oppermann
4b79576340 Fix proper check of allowed remote values in session token 2023-07-21 15:40:19 +02:00
Ingo Oppermann
a8fbdd288f Fix missing ? in path in session log 2023-07-21 15:39:41 +02:00
Ingo Oppermann
fff7f986a0 Merge HTTP and HLS middleware into session middleware 2023-06-28 10:41:29 +02:00
Ingo Oppermann
6c6fa33903 Add experimental unified session middleware 2023-06-27 22:17:58 +02:00
Ingo Oppermann
57c1e50d60 Don't collect sessions coming from other nodes in the cluster 2023-06-27 21:11:29 +02:00
Ingo Oppermann
4560b1a6ca Add referrer check with glob pattern and . (dot) as separator 2023-06-27 11:03:21 +02:00
Ingo Oppermann
20b3f2af5e Add test for encodec username in basic auth 2023-06-27 11:02:14 +02:00
Ingo Oppermann
ad53f3ab68 Fix missing unescape of basic auth username 2023-06-27 10:15:49 +02:00
Ingo Oppermann
b8a975b7c7 Add logging HTTP requests as single session 2023-06-21 16:46:35 +02:00
Ingo Oppermann
a9b92e7f9a Fix re-emitting Content-Length header if file doesn't exceed the minimum length 2023-06-21 12:04:36 +02:00
Ingo Oppermann
cfc5650e1a Improve error messages 2023-06-14 13:57:13 +02:00
Ingo Oppermann
50e943a075 WIP: add session token, missing: writing sessions to log 2023-06-14 12:30:50 +02:00
Ingo Oppermann
8829b8fff0 Respect domain in cluster DB, allow metadata in process config for cluster 2023-06-05 21:19:11 +02:00
Ingo Oppermann
1689f3f7db Fix logging of api.Err
When a handler returns an api.Err the logging middleware logged a
200 OK, however the correct code and response has been sent to the
client.
2023-06-05 14:52:27 +02:00
Ingo Oppermann
a79cfa0c77 Merge branch 'clusteriam' into vod 2023-06-01 15:16:54 +02:00
Ingo Oppermann
401156e4d2 Enforce policies 2023-05-31 16:39:43 +02:00
Ingo Oppermann
2364aa9d41 Fix deadlock in node, list processes per node 2023-05-31 09:36:53 +02:00
Ingo Oppermann
89cc42c4b9 Add cluster IAM, update dependencies 2023-05-30 21:24:12 +02:00
Ingo Oppermann
5e164d8268 Merge branch 'dev' into vod 2023-05-26 21:25:06 +02:00
Ingo Oppermann
496722c88a Fix 509 return code if non-existing stream is requested 2023-05-26 21:24:42 +02:00
Ingo Oppermann
e9034aa171 Create identity and access packages for IAM 2023-05-25 16:16:29 +02:00
Ingo Oppermann
710d5c595f Merge branch 'iam' into clusteriam 2023-05-25 11:05:26 +02:00
Ingo Oppermann
10df8d51b1 Simplify IAM user config, only create users and policies if not previously run 2023-05-24 22:28:24 +02:00
Ingo Oppermann
3c89cbb831 Create identities for basic auth access to mount points 2023-05-24 14:29:14 +02:00
Ingo Oppermann
6f831fd190 Reduce IAM API to only user and policies 2023-05-17 18:19:23 +02:00
Ingo Oppermann
ead6e64442 Merge branch 'dev' into iam 2023-05-15 21:17:23 +02:00
Ingo Oppermann
adf43eaf01 Merge branch 'dev' into cluster 2023-05-12 12:59:30 +02:00
Ingo Oppermann
ec7d47734b Remove double import 2023-05-08 11:47:40 +02:00
Ingo Oppermann
c0a5325f05 Merge branch 'dev' into cluster 2023-05-03 11:17:54 +02:00
Ingo Oppermann
0921384568 Fix double import of path package 2023-04-29 07:48:29 +02:00
Ingo Oppermann
1d7fd960d5 Merge branch 'dev' into vod 2023-04-28 18:10:24 +02:00
Ingo Oppermann
74110dae54 Fix possible infinite loop with HLS session rewriter 2023-04-28 17:38:36 +02:00
Ingo Oppermann
ffdf6d3323 Merge branch 'dev' into cluster 2023-04-12 15:27:38 +02:00
Ingo Oppermann
b84fdddd81 Add /api/v3/events endpoint 2023-03-23 11:11:47 +01:00
Ingo Oppermann
6e93c1d5a1 Get rid of $localhost pseudo user 2023-03-09 21:10:04 +01:00
Ingo Oppermann
d101a76e9e Change anon user to localhost user only if DisableLocalhost is set 2023-03-08 15:21:55 +01:00
Ingo Oppermann
b76e6a9b2c Add Range support for HTTP GET requests on a mounted filesystem 2023-03-08 11:50:59 +01:00
Ingo Oppermann
8755117e92 Add /api/v3/iam/user endpoints 2023-03-07 16:31:58 +01:00
Ingo Oppermann
9c2691e8d0 Fix basic auth behaviour 2023-02-20 17:05:30 +01:00
Ingo Oppermann
8215c20ae6 Fix basic auth, disable localhost, replace template func 2023-02-17 17:27:39 +01:00
Ingo Oppermann
2df83c8032 Fix linter warnings 2023-02-17 10:37:22 +01:00
Ingo Oppermann
ad4f392bd0 user only for api: 2023-02-17 10:30:38 +01:00
Ingo Oppermann
1e74f11f5e WIP: policy update 2023-02-16 21:47:56 +01:00
Ingo Oppermann
acc4d7ec5a WIP: verify policies for processes, rtmp, and srt. rewriter for local urls 2023-02-15 21:43:37 +01:00
Ingo Oppermann
eac49ad11a Define default policies to mimic current behaviour 2023-02-10 15:14:30 +01:00
Ingo Oppermann
312f65d110 WIP: add verfiers, fix bugs, implement middleware, support rtmp 2023-02-09 21:33:45 +01:00