Jump to content

Apple Filing Protocol: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
Rescuing 3 sources and tagging 0 as dead. #IABot (v1.4)
Line 50: Line 50:
*The [[open source]] [[Filesystem in Userspace]] ([http://fuse.sourceforge.net FUSE]) and command-line client implementation [http://sourceforge.net/projects/afpfs-ng afpfs-ng] for [[Linux]] and [[Unix-like]] operating systems
*The [[open source]] [[Filesystem in Userspace]] ([http://fuse.sourceforge.net FUSE]) and command-line client implementation [http://sourceforge.net/projects/afpfs-ng afpfs-ng] for [[Linux]] and [[Unix-like]] operating systems
*[[GroupLogic]] [[ExtremeZ-IP]] (AFP 3.3) and [http://www.cyansoftware.com/MacServerIP.htm MacServerIP] for Windows offer AFP 3.x support - now [[Acronis]] [http://www.acronis.com/en-us/mobility/mac-windows-compatibility/ Access Connect].
*[[GroupLogic]] [[ExtremeZ-IP]] (AFP 3.3) and [http://www.cyansoftware.com/MacServerIP.htm MacServerIP] for Windows offer AFP 3.x support - now [[Acronis]] [http://www.acronis.com/en-us/mobility/mac-windows-compatibility/ Access Connect].
*A few [[Network Attached Storage|NAS]] solutions support AFP mostly by means of [[Netatalk]]: [http://www.lacie.com/us/products/range.htm?id=10007 LaCie EtherNet Disk & 12big (AFP 3.3)], [http://www.netgear.com/business/products/storage/readynas/ NETGEAR's ReadyNAS] ([http://www.readynas.com/?p=4662 AFP 3.2]), [http://qnap.com/Products.asp QNAP] (AFP 3.x), [http://www.synology.com/ Synology's Disk Stations] (AFP 3.1), [http://www.thecus.com/products_index.php?set_language=english Thecus] (AFP 3.x), [http://www.snapserver.com/ Adaptec's Snap Server] (AFP 3.1), [[Exanet]]'s [[ExaStore]] (AFP 3.1), [[Iomega]]'s [http://go.iomega.com/en-us/products/network-storage-desktop/home-network-hard-drives/home-media/ Home Media Network Hard Drive], and [http://www.apple.com/timecapsule/ Apple's Time Capsule (AFP 3.2)] being commercial examples and [[FreeNAS]] and [http://www.napp-it.org/index_en.html napp-it] (which use [[Netatalk]]) being [[free software]] examples.
*A few [[Network Attached Storage|NAS]] solutions support AFP mostly by means of [[Netatalk]]: [http://www.lacie.com/us/products/range.htm?id=10007 LaCie EtherNet Disk & 12big (AFP 3.3)], [http://www.netgear.com/business/products/storage/readynas/ NETGEAR's ReadyNAS] ([https://web.archive.org/web/20101116150014/http://www.readynas.com/?p=4662 AFP 3.2]), [http://qnap.com/Products.asp QNAP] (AFP 3.x), [http://www.synology.com/ Synology's Disk Stations] (AFP 3.1), [http://www.thecus.com/products_index.php?set_language=english Thecus] (AFP 3.x), [http://www.snapserver.com/ Adaptec's Snap Server] (AFP 3.1), [[Exanet]]'s [[ExaStore]] (AFP 3.1), [[Iomega]]'s [http://go.iomega.com/en-us/products/network-storage-desktop/home-network-hard-drives/home-media/ Home Media Network Hard Drive], and [http://www.apple.com/timecapsule/ Apple's Time Capsule (AFP 3.2)] being commercial examples and [[FreeNAS]] and [http://www.napp-it.org/index_en.html napp-it] (which use [[Netatalk]]) being [[free software]] examples.
*[http://sourceforge.net/projects/jaffer/ Jaffer] is a Java implementation of Appletalk File Protocol v3.1.
*[http://sourceforge.net/projects/jaffer/ Jaffer] is a Java implementation of Appletalk File Protocol v3.1.
*[http://www.xinet.com/ Xinet] from North Plains Systems offers an AFP platform that can run on most *nix hosts. One of their products, ka-share, has been a main stay on Solaris (on Sparc only) and Irix platforms for the last decade.
*[http://www.xinet.com/ Xinet] from North Plains Systems offers an AFP platform that can run on most *nix hosts. One of their products, ka-share, has been a main stay on Solaris (on Sparc only) and Irix platforms for the last decade.
Line 64: Line 64:


==External links==
==External links==
*[https://web.archive.org/web/20051102080247/http://manuals.info.apple.com:80/en/File_Services_v10.4.pdf File Services Manual for Mac OS X Server 10.4]
*[https://web.archive.org/web/20051102080247/http://manuals.info.apple.com/en/File_Services_v10.4.pdf File Services Manual for Mac OS X Server 10.4]
*[http://developer.apple.com/mac/library/documentation/Networking/Conceptual/AFP/Introduction/Introduction.html Apple Filing Protocol Programming Guide]
*[http://developer.apple.com/mac/library/documentation/Networking/Conceptual/AFP/Introduction/Introduction.html Apple Filing Protocol Programming Guide]
*[http://developer.apple.com/mac/library/documentation/Networking/Reference/AFP_Reference/Reference/reference.html Apple Filing Protocol Reference]
*[http://developer.apple.com/mac/library/documentation/Networking/Reference/AFP_Reference/Reference/reference.html Apple Filing Protocol Reference]
Line 70: Line 70:
*[https://web.archive.org/web/20071128090357/http://developer.apple.com/MacOs/opentransport/docs/dev/Inside_AppleTalk.pdf Inside AppleTalk - original specification for the AppleTalk protocol stack including AFP]
*[https://web.archive.org/web/20071128090357/http://developer.apple.com/MacOs/opentransport/docs/dev/Inside_AppleTalk.pdf Inside AppleTalk - original specification for the AppleTalk protocol stack including AFP]
*[http://www.accsystems.com/glossary.htm Glossary of Networking Terms]
*[http://www.accsystems.com/glossary.htm Glossary of Networking Terms]
*[https://web.archive.org/web/20040402142541/http://www.newsfactor.com:80/story.xhtml?story_title=How_Secure_Is_OS_X_&story_id=23467 NewsFactor Network article, A]
*[https://web.archive.org/web/20040402142541/http://www.newsfactor.com/story.xhtml?story_title=How_Secure_Is_OS_X_&story_id=23467 NewsFactor Network article, A]
*[http://docs.info.apple.com/article.html?artnum=8647 Macintosh: File System Specifications and Terms]
*[http://docs.info.apple.com/article.html?artnum=8647 Macintosh: File System Specifications and Terms]
[http://developer.apple.com/technotes/tn/tn1150.html Apple Technical Note TN1150 on the HFS Plus Volume Format]
[http://developer.apple.com/technotes/tn/tn1150.html Apple Technical Note TN1150 on the HFS Plus Volume Format]

Revision as of 03:06, 8 July 2017

Template:Distinguish2

The Apple Filing Protocol (AFP), formerly AppleTalk Filing Protocol, is a proprietary network protocol, and part of the Apple File Service (AFS), that offers file services for macOS and the classic Mac OS. In macOS, AFP is one of several file services supported, with others including Server Message Block (SMB), Network File System (NFS), File Transfer Protocol (FTP), and WebDAV. AFP currently supports Unicode file names, POSIX and access control list permissions, resource forks, named extended attributes, and advanced file locking. In Mac OS 9 and earlier, AFP was the primary protocol for file services.

Compatibility

AFP versions 3.0 and greater rely exclusively on TCP/IP (port 548 or 427) for establishing communication, supporting AppleTalk only as a service discovery protocol. The AFP 2.x family supports both TCP/IP (using Data Stream Interface) and AppleTalk for communication and service discovery. Many third-party AFP implementations use AFP 2.x, thereby supporting AppleTalk as a connection method. Still earlier versions rely exclusively on AppleTalk. For this reason, some older literature refers to AFP as "AppleTalk Filing Protocol". Other literature may refer to AFP as "AppleShare", the name of the Mac OS 9 (and earlier) AFP client.

Notable current compatibility topics are:

  1. Mac OS X v10.4 and later eliminates support for AFP servers that rely solely on AppleTalk for communication.
  2. Computers using classic Mac OS can connect to AFP 3.x servers, with some limitations. For example, the maximum file size in Mac OS 8 is 2 gigabytes. Typically, Mac OS 9.1 or later is recommended for connecting to AFP 3.x servers; for versions of original Mac OS prior to 9.1, installation of the AppleShare client 3.8.8 is required.
  3. AFP 3.0 and later is required for network home directories, since Mac OS X requires POSIX permissions on user home directories. Single sign-on using Kerberos requires AFP 3.1.
  4. APFS: AFP is currently deprecated in APFS.

History

Early implementations of AFP server software were available in Mac OS starting with System 6, in AppleShare and AppleShare IP, and in early "1.x" releases of Mac OS X Server. In client operating systems, AFP was called "Personal File Sharing", and supported up to ten simultaneous connections.[1] These AFP implementations relied on version 1.x or 2.x of the protocol. AppleShare IP 5.x, 6.x, and the "1.x" releases of Mac OS X Server introduced AFP version 2.2. This was the first version to offer transport connections using TCP/IP as well as AppleTalk. It also increased the maximum share point size from four gibibytes to two tebibytes,[1] although the maximum file size that could be stored remained at two gibibytes due to limitations in the original Mac OS.[2]

Changes made in AFP since version 3.0 represent major advances in the protocol, introducing features designed specifically for Mac OS X clients.

However, like the AppleShare client in original Mac OS, the AFP client in Mac OS X continues to support type and creator codes, along with filename extensions.

AFP 3.0 was introduced in Mac OS X Server 10.0.3, and was used through Mac OS X Server 10.1.5. It was the first version to use the UNIX-style POSIX permissions model and Unicode UTF-8 file name encodings. Version 3.0 supported a maximum share point and file size of two tebibytes, the maximum file size and volume size for Mac OS X until version 10.2.[3] (Note that the maximum file size changed from version 2.2, described above.) Before AFP 3.0, 31 bytes was the maximum length of a filename sent over AFP.

AFP 3.1 was introduced in Mac OS X Server version 10.2. Notable changes included support for Kerberos authentication, automatic client reconnect, NFS resharing, and secure AFP connections via Secure Shell (SSH). The maximum share point and file size increased to 8 tebibytes with Mac OS X Server 10.2,[3][4] and then to 16 tebibytes with Mac OS X Server 10.3.[3][5]

AFP 3.2 adds support for Access Control Lists and extended attributes in Mac OS X Server 10.4. Maximum share point size is at least 16 tebibytes, although Apple has not published a limits document for Mac OS X Server 10.4.

AFP 3.2+ was introduced in Mac OS X Leopard and adds case sensitivity support and improves support for Time Machine (synchronization, lock stealing, and sleep notifications).

AFP 3.3 mandates support for Replay Cache functionality (required for Time Machine).

AFP 3.4, introduced in OS X Mountain Lion, includes a minor change in the mapping of POSIX errors to AFP errors.

See Apple's Developer documentation on AFP Version Differences.[6]

The Mac OS X client

In Mac OS X Tiger, users can connect to AFP servers by browsing for them in the Network globe or entering an AFP Uniform Resource Locator (URL) into the Connect to Server dialog. In OS X Leopard, AFP shares are displayed in the Finder side-bar. AFP URLs take the form: afp://<server>/<share>, where <server> is the server's IP address, Domain Name System (DNS) name, or Bonjour name, and <share> is the name of the share point. In Snow Leopard, a URL of the form afp://<server>/<share>/<path> can be used to mount a subdirectory underneath a share point.

Mac OS X also offers Personal File Sharing, a "light" implementation of the current version of AFP. In Mac OS X 10.4 client, users can share the contents of their Public folders by checking Personal File Sharing in the Sharing section of System Preferences.

AFP URLs for AppleTalk servers took the form: afp://at/<AppleTalk name>:<AppleTalk zone>. For networks without AppleTalk zones, an asterisk (*) would be substituted for the zone name.

Third-party implementations

Third party server implementations of AFP are available from a number of companies.

See also

References

  1. ^ a b "AppleShare & AppleShare IP File Sharing: Chart of All Limitations". Retrieved 2012-06-10.
  2. ^ "Mac OS 8, 9: Mac OS Extended Format - Volume and File Limits". Retrieved 2012-06-10.
  3. ^ a b c "Mac OS X: Mac OS Extended Format - Volume and File Limits". Retrieved 2012-06-10.
  4. ^ "Mac OS X Server 10.2: Tested and theoretical maximums (limits)". Retrieved 2012-06-10.
  5. ^ "Mac OS X Server 10.3: Tested and theoretical maximums (limits)". Retrieved 2012-06-10.
  6. ^ "Apple's Developer documentation on AFP Version Differences". Retrieved 2011-09-15.
  7. ^ "Netatalk Release Notes". Retrieved 2014-01-02.
  8. ^ "Back-ends for GVfs".
Apple Technical Note TN1150 on the HFS Plus Volume Format