Commit Graph

26 Commits

Author SHA1 Message Date
Storm Dragon a8ada950d5 Rename group package and defaults to halls 2026-05-17 22:37:38 -04:00
Storm Dragon 55528b8e62 Rename public group URLs to halls 2026-05-17 22:22:46 -04:00
Storm Dragon bda0e548d3 Rebrand project as Skald 2026-05-17 22:16:08 -04:00
Juliusz Chroboczek e3f098e189 Use constant time comparison for WHIP tokens.
Thanks to Vinayak Mishra.
2026-04-30 00:18:29 +02:00
Juliusz Chroboczek a6410b5a68 Implement CORS for the administrative interface. 2025-06-13 15:00:16 +02:00
Juliusz Chroboczek 7204889085 Better implementation of CORS. 2025-06-13 14:26:40 +02:00
Juliusz Chroboczek 3b83044d67 Implement ICE restarts for WHIP. 2025-03-10 13:43:10 +01:00
Juliusz Chroboczek 8bfea927d3 Implement processing of trickle-ice-sdpfrag.
This is required for WHIP restarts.
2025-03-10 13:15:04 +01:00
Juliusz Chroboczek 9892ddbc5e Add ETag support to WHIP server. 2025-03-08 22:45:28 +01:00
Juliusz Chroboczek 078332f73a Check ICE ufrag and pwd in WHIP PATCH requests. 2025-03-08 22:44:55 +01:00
Juliusz Chroboczek dcbdfebf2a Simplify and extend parseSDPFrag.
We now return a list of candidates instead of using a callback.  Also
return the ICE ufrag and pwd.
2025-03-08 22:18:59 +01:00
Juliusz Chroboczek 8f0850d0f0 Upgrade to Pion v4. 2025-03-08 18:41:52 +01:00
Juliusz Chroboczek df274ad6ea Split out SDP fragment parsing, add test. 2024-09-30 00:24:12 +02:00
Juliusz Chroboczek f3ceb05033 Add Accept header to 415 replies.
Also fix return code in WHIP.
2024-05-09 17:48:17 +02:00
Juliusz Chroboczek a76f225bc0 Implement command /identify. 2024-05-01 23:38:31 +02:00
Juliusz Chroboczek 5753c46910 Use methodNotAllowed in whip. 2024-04-10 14:45:04 +02:00
Juliusz Chroboczek 89f947df1f Rework handling of authorisation errors.
We'd sometimes return "Internal server error" on authentication
failures.  This should be gone now.
2024-03-03 13:43:50 +01:00
Juliusz Chroboczek 923d78eaa3 Fix handling of WHIP URLs.
We broke WHIP when we introduced splitPath.  Thanks to Tim Panton.
2024-02-22 23:31:03 +01:00
Juliusz Chroboczek 0f53bf0373 More tweaks to webserver error handling. 2024-01-18 01:02:56 +01:00
Juliusz Chroboczek b92cf0480a Implement splitPath.
Use it for parsing special paths instead of ad hoc code.
2024-01-17 22:28:21 +01:00
Juliusz Chroboczek 03038eaf45 Obfuscate WHIP ids.
If the WHIP session is not authenticated, then the only thing
preventing an attacker from DELETEing the session is the session
URL.  Since client ids are known, obfuscate the id before using
it in the session URL.
2024-01-11 22:05:07 +01:00
Juliusz Chroboczek dc34350d8f Complete parsing of WHIP candidates. 2023-12-20 01:42:11 +01:00
Juliusz Chroboczek be2d3ab4ca Fix error handing in WHIP resource handler. 2023-12-20 00:40:30 +01:00
Juliusz Chroboczek 5c2e5ee5c0 Add test for parsing bearer tokens. 2023-12-09 20:50:39 +01:00
Juliusz Chroboczek 1f3b349ea2 Use MaxBytesReader in whip. 2023-12-09 16:17:48 +01:00
Juliusz Chroboczek 1e050fa4e3 Implement the WHIP protocol. 2023-07-11 17:25:58 +02:00