Initial RetroNFS95 Win9x VxD prototype

This commit is contained in:
2026-10-12 12:59:15 +00:00
commit 908ece2cc8
51 changed files with 3266 additions and 0 deletions

36
docs/SECURITY.md Normal file
View File

@@ -0,0 +1,36 @@
# Security Notes
NFSv3 with AUTH_SYS is not a modern security boundary. The client tells the
server which UID/GID it wants to use, and the server trusts network placement
and export rules.
Use a gateway design:
```text
legacy PC -> gateway -> modern storage/service
```
Gateway controls:
- host firewall permits NFS only from approved legacy IPs
- static DHCP reservation for the old PC
- dedicated export path, no shared home directories
- read-only export unless writes are necessary
- no inbound NFS from the rest of the LAN
- logs for mount and file access
Example Linux export:
```text
/srv/retro 192.168.50.20(ro,sync,no_subtree_check,all_squash,anonuid=65534,anongid=65534)
```
Example nftables idea:
```text
allow tcp dport {111,2049,mountd-port} from 192.168.50.20
drop tcp dport {111,2049,mountd-port}
```
Pin mountd/statd/lockd ports if you need firewall predictability.