Alessandro Ros
9c6ba7e2c7
New authentication system ( #1341 ) ( #1992 ) ( #2205 ) ( #3081 )
...
This is a new authentication system that covers all the features exposed by the server, including playback, API, metrics and PPROF, improves internal authentication by adding permissions, improves HTTP-based authentication by adding the ability to exclude certain actions from being authenticated, adds an additional method (JWT-based authentication).
1 year ago
Alessandro Ros
1ae3240b91
hls: fix crash when muxer is being recreated, improve performance ( #3017 )
1 year ago
Alessandro Ros
c2883f2ce9
hls: when alwaysRemux is true, prevent clients from creating muxers ( #3015 )
1 year ago
Alessandro Ros
3161e73a58
rename httpserv into httpp ( #3014 )
1 year ago
Alessandro Ros
487f92ac55
hls: in logs, store both ip and port of incoming requests ( #3013 )
1 year ago
Alessandro Ros
9eb97ad3a0
remove hls.js from the repository and restore plain MIT license ( #3008 )
2 years ago
Alessandro Ros
57c2d5aecb
add playback server ( #2452 ) ( #2906 )
...
* add playback server
* add playback switch
* update readme
2 years ago
Alessandro Ros
dd7d7c6c5d
srt: wait some seconds before returning authentication errors ( #2918 )
...
this allows to mitigate brute force attacks and is possible thanks to
https://github.com/datarhei/gosrt/pull/43
2 years ago
Alessandro Ros
7437ee7a09
update golangci-lint ( #2868 )
2 years ago
Alessandro Ros
11988249df
move servers into internal/servers ( #2792 )
2 years ago
Alessandro Ros
aade2eedb9
hls, webrtc: prevent XSS attack when appending slash to paths ( #2766 ) ( #2767 ) ( #2772 )
2 years ago
Alessandro Ros
50e7b038c4
hls: fix appending slash when behind a reverse proxy ( #2770 )
2 years ago
Alessandro Ros
43d41c070b
move static sources into dedicated package ( #2616 )
2 years ago
Alessandro Ros
99bc327d67
move protocol-related code into internal/protocols ( #2572 )
2 years ago
Alessandro Ros
3a5bb06e26
add environment variable MTX_QUERY to some hooks ( #2483 ) ( #2522 )
2 years ago
Alessandro Ros
8e955d2119
hls: return 404 when requesting hls.min.js.map ( #2262 )
2 years ago
Alessandro Ros
1e15d4995c
embed hls.js into the server ( #2202 ) ( #2236 )
2 years ago
Alessandro Ros
a29a4c7de7
hls: fix wrong protocol sent to external authentication server ( #2213 )
2 years ago
Alessandro Ros
659f19f8bb
enable errcheck ( #2201 )
2 years ago
Alessandro Ros
efcc4c4e65
fix crash in case of specially-crafted HTTP requests ( #2166 ) ( #2169 )
2 years ago
Alessandro Ros
ef8b9fb63d
webrtc, hls: reply status code 204 to OPTIONS requests ( #2141 )
2 years ago
Alessandro Ros
119d6abf19
move HTTP utilities in a dedicated package ( #2123 )
...
needed by #2068
2 years ago
Alessandro Ros
1fa53b49d4
webrtc, hls: prevent brute-force attacks by waiting before sending responses ( #2100 )
2 years ago
Alessandro Ros
0137734294
webrtc, hls: show IP in logs in case of failed authentication ( #2099 )
2 years ago
Alessandro Ros
36298f8bc8
webrtc: send session ID to external auth server ( #1981 ) ( #2098 )
2 years ago
Alessandro Ros
37586b2300
api: allow to edit properties of path config "all" ( #2067 ) ( #2075 )
2 years ago
Alessandro Ros
64a715a663
hls, webrtc: add Authorization to Access-Control-Allow-Headers ( #2018 ) ( #2020 )
2 years ago
Alessandro Ros
2faca73749
hls, webrtc: in the web page, pass query parameters to inner requests ( #1976 )
2 years ago
Alessandro Ros
ba6c0fa822
set Access-Control-Allow-Headers to a static string ( #1973 )
2 years ago
Alessandro Ros
daa6500082
webrtc: make preflight OPTIONS requests work with external auth ( #1941 ) ( #1964 )
...
* webrtc: allow preflight OPTIONS requests to work with external auth (#1941 )
* add tests
* improve tests
2 years ago
Alessandro Ros
1889641c8c
webrtc: add POST and PATCH methods to Access-Control-Allow-Methods ( #1848 )
2 years ago
Alessandro Ros
adf94092a8
add base class to all HTTP servers ( #1809 )
2 years ago
Alessandro Ros
bf4d6c905f
hls muxer: show index page even if stream is not present ( #1806 )
2 years ago
Alessandro Ros
39c072edd6
change repository owner ( #1801 )
2 years ago
Alessandro Ros
a14246d776
webrtc: support publishing with WHIP and reading with WHEP ( #1800 )
2 years ago