Skip to content

Releases

ps5-smbd 0.3.0

Choose a tag to compare

@Marice Marice released this 31 Oct 19:42

New

  • SMB 3.1.1, next to 3.0 and 3.0.2. Windows 11 now connects with 3.1.1, and a PC that requires 3.1.1 can connect at all.
  • libsmb2 master. The fixes reported in sahlberg/libsmb2#500 are now upstream, so ps5-smbd builds against libsmb2's public API, with one patch left of seven. This also brings in:
    • The negotiate check is always signed. When a PC does not require signing (RequireSecuritySignature off), 0.2.0 and older answered this check unsigned, and Windows refuses that.
    • A second session no longer drops the first. A second Windows logon session on the same connection, such as an administrator prompt next to Explorer, now takes over the connection, and Explorer logs in again by itself.
    • Listings answer four more information classes.
    • No data races when signing from several threads.
  • README: "If Windows cannot connect". This new section covers:
    • what ps5-smbd speaks and what it does not;
    • the PC settings to check;
    • remembered credentials;
    • how to make a trace;
    • what the net use errors mean.

Thanks to libsmb2's maintainer, who merged the fixes and opened the pull request that moved ps5-smbd to libsmb2 master.

SHA256SUMS holds the checksum of ps5-smbd.elf.

ps5-smbd 0.2.0

Choose a tag to compare

@Marice Marice released this 30 Oct 20:40

New

  • Each drive is a share of its own. The extended storage and USB drives under /mnt show up next to data and mnt, for example \\<console>\ext1. Each share shows that drive's free space.
    • A USB drive is listed while it is mounted, so one plugged in later appears at the next connection. This was tested on a PC; it has not yet been tried with a USB drive on the console.
    • Before this release, a copy to \\<console>\mnt\ext1 could be refused for lack of space. Windows asks the share's root for the free space, and the root of mnt is /mnt, a small file system with only mount points. Copy to a drive through its own share.
    • When a drive is pulled out or replaced while a client is connected, a new file or rename on that connection gets "network name deleted". It does not land on another drive. Pulling a drive out was tested on a PC; replacing one was checked in the code only.
  • The log notes why the server stopped. A stop by a signal, for example by a payload manager, or a server loop that ends now leaves a line in /data/ps5-smbd/smbd.log, also with tracing off.

SHA256SUMS holds the checksum of ps5-smbd.elf.

ps5-smbd 0.1.0

Choose a tag to compare

@Marice Marice released this 30 Oct 19:54

The first release of ps5-smbd: the PS5's /data and /mnt as Windows shares, from a payload.

What it does

  • Shares \\<console>\data and \\<console>\mnt, read and write, over SMB2/3 with signing. Log in as ps5 / ps5.
  • Lists its shares when you open \\<console> in Explorer.
  • Answers to the console's own name, as set in Settings > System (NetBIOS, LLMNR and mDNS).
  • Shows the console in Explorer's Network view (WS-Discovery).
  • Shows up as ps5-smbd.elf in the console's process list.

Anyone on your network who knows the login can change or delete anything under /data and /mnt.

Speed

Measured over a cable, on gigabit Ethernet:

Speed
Copying from the PS5 to Windows about 100 MB/s
Copying from Windows to the PS5 about 73 MB/s

Using it

  1. Load ps5-smbd.elf like any payload, with an ELF loader on port 9021 or a payload manager.
  2. In Windows, open the console in the Network view, or type \\<console name> or \\<ps5-ip> in Explorer.
  3. Log in as ps5 / ps5.

Built on

  • libsmb2's SMB2/3 server (LGPL-2.1-or-later), pinned to one commit and patched (patches/). The patches fix server bugs, two of which crashed the server, and make signing fast with the CPU's AES instructions.
  • libdcerpc (BSD-2-Clause) from the same tree.

ps5-smbd's own code is under the GPL-3.0. SHA256SUMS holds the checksum of ps5-smbd.elf.