Archive of https://github.com/drakmor/klogsrv — A simple socket server for jailbroken PS4s and PS5s that redirects /dev/klog to sockets connected on port 3232 https://github.com/drakmor/klogsrv
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Roman Tarasov 1a8a2cc75d new method
2026-05-13 21:20:31 +03:00
.github/workflows ps4: initial commit 2025-08-07 22:04:21 +02:00
.gitignore Initial commit 2023-09-22 18:48:40 +02:00
libkernel_sys_ext.c new method 2026-05-13 21:20:31 +03:00
LICENSE add license 2024-04-10 00:06:27 +02:00
main.c new method 2026-05-13 21:20:31 +03:00
Makefile ps4: initial commit 2025-08-07 22:04:21 +02:00
Makefile.ps4 ps4: optimize with -O2 2025-10-21 16:27:32 +02:00
Makefile.ps5 new method 2026-05-13 21:20:31 +03:00
README.md new method 2026-05-13 21:20:31 +03:00

klogsrv

This is a simple socket server that redirects the kernel log on jailbroken Playstation 4 and 5 consoles to sockets connected on port 3232.

On Playstation 5, klogsrv reads the debug log through libkernel debug log functions. On Playstation 4, it reads /dev/klog.

The server binds to 0.0.0.0, so it keeps listening across network interface appearance and disappearance.

Building for the PS4

Assuming you have the ps4-payload-sdk installed on a POSIX machine, klogsrv can be compiled using the following two commands:

john@localhost:klogsrv$ export PS4_PAYLOAD_SDK=/opt/ps4-payload-sdk
john@localhost:klogsrv$ make -f Makefile.ps4

Building for the PS5

Assuming you have the ps5-payload-sdk installed on a POSIX machine, klogsrv can be compiled using the following two commands:

john@localhost:klogsrv$ export PS5_PAYLOAD_SDK=/opt/ps5-payload-sdk
john@localhost:klogsrv$ make -f Makefile.ps5

Usage

To view the kernel log from your Playstation, connect to klogsrv using netcat:

john@localhost:klogsrv$ nc $HOSTNAME_OR_IP 3232

Reporting Bugs

If you encounter problems with klogsrv, please file a github issue. If you plan on sending pull requests which affect more than a few lines of code, please file an issue before you start to work on you changes. This will allow us to discuss the solution properly before you commit time and effort.

License

klogsrv is licensed under the GPLv3+.