This is a simple socket server that redirects the output from /dev/klog on jailbroken Playstation 4 and 5 consoles to sockets connected on port 3232.
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
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
To view the output of /dev/klog from your Playstation, connect to klogsrv using netcat:
john@localhost:klogsrv$ nc $HOSTNAME_OR_IP 3232
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.
klogsrv is licensed under the GPLv3+.