1
Fork 0
mirror of https://github.com/redstrate/Kawari.git synced 2025-05-06 12:47:45 +00:00
Commit graph

295 commits

Author SHA1 Message Date
aacd128a9e Add support for encrypting outgoing packets, send service account list
This gets us to the lobby screen, albiet it's currently empty.
2025-03-08 21:53:10 -05:00
f81f5ce09d Fill out ClientVersionInfo IPC, add KeepAlive packet response
Now the server is somewhat functional, we don't get to the lobby screen yet but
at least get a loading indicator in the client.
2025-03-08 21:23:33 -05:00
942a64cd7b Fix encrypting/decrypting packets, vendor Sapphire Blowfish implementation
I ended up just stealing this from iolite, which in turn took it from Sapphire.
I tried for a few hours to get a Rust Blowfish implementation going, but the one
from Physis didn't work. I'll try again later.
2025-03-08 21:13:00 -05:00
64b1ea9280 More attempts at packet decryption 2025-03-08 16:39:13 -05:00
51e0f0680e Move encryption stuffs into their own module 2025-03-08 16:10:00 -05:00
cdc250fca1 Begin decrypting packets, add IPC segment type 2025-03-08 16:08:25 -05:00
21419aa09c Add missing connection types 2025-03-08 15:33:58 -05:00
2f996f0012 Emit a better error message on packet parsing failure 2025-03-08 15:29:38 -05:00
3caf9d38c1 Try sending a initialize encryption response packet 2025-03-08 15:27:28 -05:00
0ec0ed34ec Parse the encryption initialization packet 2025-03-08 14:38:31 -05:00
66ef395afc Begin parsing the packet header 2025-03-08 14:09:57 -05:00
5f0d6cc425 Dump unknown packets when encountered 2025-03-08 13:58:24 -05:00
b5afff068a Add dummy lobby server
This doesn't respond or read anything yet, it's just for testing.
2025-03-08 13:51:50 -05:00
40ef6b8193 Run cargo fmt 2025-03-08 13:27:41 -05:00
f7a5940f20 Don't crash if no patch files are provided 2025-03-08 13:24:14 -05:00
da6a5424d1 Begin sending patch lists when verifying boot files
It's completely unusable right now, but this is just to showcase some
progress.
2024-06-29 15:06:48 -04:00
bacd83477c Add support for writing boot patch lists, fill out more data 2024-06-29 15:02:15 -04:00
c1ad0c023c Add configurable boot patch location, fix verifying boot components
And more, this is mostly laying the groundwork for serving patch files.
2024-06-29 14:44:40 -04:00
5f2617ef71 Add world status webpage 2024-06-29 14:14:07 -04:00
891e871b47 Simplify get_login_status and get_world_status 2024-06-29 14:07:44 -04:00
a063de2eb5 Separate the login and world gates 2024-06-29 14:06:44 -04:00
ee6b4f2f7f Add PatchList type, for future usage
Also adds a test!
2024-06-29 13:56:54 -04:00
e529188d91 Add non-functional login/register pages 2024-05-11 14:10:49 -04:00
f37840d44f Begin adding a user accessible web server 2024-05-11 14:03:18 -04:00
3278452ac3 Begin work on HTML templates for future web panel functionality 2024-05-11 13:59:36 -04:00
bd9782a868 Move generate SID to its own dedicated function 2024-05-11 13:50:05 -04:00
7d2765a2b6 Add supported platforms config option 2024-05-11 13:41:00 -04:00
7899f39907 Add login status gate 2024-05-11 13:24:45 -04:00
0918700a85 Fix the admin server not creating config.json if not found 2024-05-11 13:13:03 -04:00
fa6c2ddf7f Begin implementation of news headline 2024-05-11 13:07:00 -04:00
7c30132e70 Fix more warnings on login 2024-05-11 12:32:46 -04:00
de2dd65167 Randomly generate the SID 2024-05-11 12:31:55 -04:00
c6df4aff86 Fix the wrong server message being printed for login/patch 2024-05-11 12:21:35 -04:00
86c9ff4c94 patch: Fix Path needing to be a tuple 2023-10-06 17:57:22 -04:00
db4ec4c57e Oops, fix stupid build error 2023-10-06 17:50:49 -04:00
1178ecdd61 Add basic patch server implementation 2023-10-06 17:46:58 -04:00
e3ac03ffc4 Send HTML for /login/top again 2023-10-06 17:41:38 -04:00
1676846870 Attempt to fix garbage data problem 2023-10-05 13:58:26 -04:00
56418b98e2 Attempt to fix HTML response for /login/top 2023-10-05 13:44:49 -04:00
1e3ff59442 Accept the url query for /login/top 2023-10-05 13:32:08 -04:00
a78f13c289 /login/top is GET, not POST 2023-10-05 13:24:00 -04:00
8f19352528 Add login server 2023-10-05 13:09:21 -04:00
1625179a74 Add admin panel, config 2023-10-05 12:09:05 -04:00
96179f0ba0 Change default port 2023-10-04 19:24:18 -04:00
0b20fb80d0 ADd initial files 2023-10-04 19:06:59 -04:00