开发者发布了名为MoofTCP的现代TCP/IP协议栈,作为Apple MacTCP在运行System 6的68k Mac电脑上的即插即用替代品 1。该项目专为低内存环境设计,目标是在配备4MB RAM的Mac Classic等机型上运行,旨在提供比现有MacTCP更高的可靠性、更低的延迟和吞吐量,同时保持与为MacTCP编写的应用程序的兼容性 1。
在技术实现方面,MoofTCP使用可移植的C语言从零开始编写,核心代码不使用malloc且无全局状态 1。该软件通过.IPPdriver接口实现了TCP、UDP、ICMP echo以及dnrrpname解析器功能,并支持DHCP或静态IP配置 1。为了适应不同硬件条件,项目提供了标准版和Lite版两种选择,其中Lite版去除了DHCP功能以节省约5KB的系统内存 1。
目前,MoofTCP已基于MIT许可证开源,开发过程中使用了Claude Code辅助编码 1。测试验证涵盖了真实硬件环境(包括Mac Classic配合BlueSCSI v2 WiFi与DaynaPORT驱动)以及Snow模拟器 1。不过,当前版本存在一定限制,不支持IPv6,且仅针对System 6.0.8系统和DaynaPORT驱动进行了测试 1。
Developers have released MoofTCP, a modern TCP/IP protocol stack designed as a drop-in replacement for Apple’s legacy MacTCP on 68k Macintosh computers running System 6.1 1. The project aims to deliver improved reliability, lower latency, and higher throughput while maintaining full compatibility with applications originally written for MacTCP 1. It is specifically engineered for low-memory environments, targeting devices such as the Mac Classic equipped with only 4 MB of RAM 1.
The core codebase was written from scratch in portable C, deliberately avoiding malloc calls and global state to enhance stability 1. MoofTCP implements TCP, UDP, ICMP echo, and dnrrpname resolver support through the standard .IPPdriver interface 1. Users can choose between a standard version supporting DHCP or static IP configuration, and a Lite version that omits DHCP support to save approximately 5 KB of system memory 1. The software includes a user-friendly installer and multi-tasking cleanup features 1.
Development testing was conducted on real hardware, including a Mac Classic using BlueSCSI v2 WiFi with DaynaPORT, as well as in the Snow emulator 1. The project is currently open-source under the MIT license, with developer assistance from Claude Code during its creation 1. However, limitations remain; IPv6 is not supported, and testing has been restricted to System 6.0.8 and DaynaPORT drivers 1.
评论
还没有评论,欢迎留下第一条。