WIPIVERSE All articles

Netatalk

Netatalk (pronounced "ned-uh-talk") is a free, open-source implementation of the Apple Filing Protocol (AFP). It allows Unix-like operating systems to serve as file servers for Macintosh computers running macOS or Classic Mac OS, as well as any computer with a third-party AFP client.

History

Netatalk was originally developed by the Research Systems Unix Group at the University of Michigan for BSD-derived Unix systems and released in 1990. It was created by Wesley Craig. Apple had introduced AppleTalk shortly after the release of the original Macintosh in 1985, followed by the file-sharing application AppleShare (built on top of AFP) in 1987. These systems represented an early example of zero-configuration networking, gaining significant adoption in educational and small-to-medium office environments in the late 1980s.

In 1986, Columbia University published the Columbia AppleTalk Package (CAP), an open-source implementation of AppleTalk originally written for BSD 4.2, allowing Unix servers to participate in AppleTalk networks. CAP included its own implementation of AFP/AppleShare, but Netatalk, appearing in 1990, claimed better performance due to software design advantages. CAP and Netatalk were interoperable, with Netatalk able to run on an AppleTalk backend provided by CAP.

Technical Details

Since Classic Mac OS uses a forked file system, unlike the host operating systems where Netatalk runs, Netatalk originally implemented the AppleDouble format to store resource forks separately from data forks when transferring Mac OS files to Unix-like file systems. This was necessary to preserve files that relied on resource fork data. With the release of Netatalk 3.0, the backend was re-implemented to use the Extended Attributes format introduced with Mac OS X for backward compatibility with Classic Mac OS resource forks.

Development History

  • 1990: Initial release by Wesley Craig at the University of Michigan.
  • 1995: Final stable version by the original author (version 1.3.3, November 1995).
  • 1997: Adrian Sun created a fork based on the Netatalk 1.4 beta 2 release, implementing AppleShare IP (AFP over TCP/IP). This version became the de-facto mainline for several years.
  • 2000: The project moved to SourceForge for collaborative revision control.
  • 2001: Starting with version 1.5.0, the license changed from MIT-style to the GNU General Public License. The Adrian Sun fork was merged back into Netatalk proper.
  • 2004: Netatalk 2.0 released, adding AFP level 3.1 support (long UTF-8 filenames, files larger than 2 gigabytes, full Mac OS X compatibility), CUPS integration, Kerberos V support, and a more reliable file and directory ID database.
  • 2009: Netatalk 2.0.5 added support for Time Machine over a network.
  • 2011: Version 2.2 introduced AFP protocol level 3.3 support.
  • 2012: Version 3.0 released, adding ini-style configuration and Mac OS X-compatible Extended Attributes as default, while removing AppleTalk networking support.
  • 2013: Version 3.1 added Spotlight support and improved SMB interoperability. A subsequent release added AFP level 3.4 support.
  • 2024: Netatalk 4.0 released, bringing back AppleTalk support removed in 3.0 and introducing support for tunneling TCP/IP traffic to MacIP.
  • Netatalk 4.3: Added a SQLite CNID backend as an alternative to Berkeley DB.

Netatalk runs on Linux, FreeBSD, OpenBSD, NetBSD, Solaris, illumos, and macOS.

AppleTalk Features

In all Netatalk versions except the 3.x series, the AppleTalk (DDP) protocol suite is used to allow Unix-like operating systems to serve also as print (PAP via a CUPS backend) and time (Timelord) servers for Macintosh computers. Networked Apple IIe and Apple IIGS computers can be netbooted from a Netatalk shared volume.

Commercial Use

Netatalk has been integrated into a range of NAS solutions, including Buffalo NAS systems, IXsystems TrueNAS, Iomega's Home Media Network Hard Drive, LaCie NAS OS, Lime Technology unRAID, Netgear ReadyNAS, QNAP NAS, Synology DiskStation, Thecus NAS, and others.

In 2010, a company called NetAFP, run by a group of Netatalk maintainers, began providing commercial support for enterprise deployments. The company merged with German Samba vendor SerNet in December 2013, signaling a shift toward SMB, which Apple had made the primary file-sharing protocol with the release of Mac OS X Mavericks that same year.

Logo

While a project at the University of Michigan, Netatalk's logo featured the head of the BSD Daemon on a daisy-chained serving tray, mimicking the icon design language Apple used for AppleTalk and AppleShare in Classic Mac OS. A new stylized daemon logo was introduced with Netatalk 2.0 and remains in use.

Technical Specifications

  • Written in: C
  • Operating system: Unix-like systems
  • License: GPL-2.0-or-later (since 2001); MIT (1990–2001)
  • Official website: https://netatalk.io
  • Repository: https://github.com/Netatalk/netatalk
Browse

More topics to explore

    Browse all articles