AFP - Apple Filing Protocol ================================ .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **What is AFP?** AFP stands for Apple Filing Protocol. It is a network protocol developed by Apple Inc. that offers file services for macOS and classic Mac OS systems, allowing file sharing over a network. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **Why is AFP useful?** * Designed specifically for Mac environments, offering optimal compatibility with Apple file systems. * Supports resource forks, metadata, and file permissions specific to macOS. * Enables seamless file sharing and access among macOS devices. * Historically used for Time Machine backups over the network. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **How it works?** * A macOS client connects to a server offering AFP services. * The client authenticates using credentials (often via Apple’s authentication methods). * Once connected, the client can read, write, and manage files on the server as if they were local. * AFP supports metadata, file locking, and permissions, making it ideal for collaborative environments. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **Where is AFP used?** * Primarily in Apple and macOS environments. * In older macOS-based file servers. * For network Time Machine backups (though modern macOS now prefers SMB). * In creative industries or legacy Mac setups needing metadata preservation. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **Which OSI layer does this protocol belong to?** * AFP operates at the Application Layer (Layer 7) of the OSI model. * It relies on lower-layer protocols like TCP/IP for transport. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **IS AFP Windows specific?** * No, AFP is not Windows-specific. * It was designed for Apple operating systems and is not natively supported on Windows. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **IS AFP Linux Specific?** * No, AFP is not Linux-specific. * However, Linux can support AFP through software like Netatalk, allowing Linux servers to serve macOS clients. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **Which Transport Protocol is used by AFP?** * AFP typically uses **TCP** for reliable data transmission. * It originally ran over AppleTalk but later shifted to TCP/IP (especially over port 548). .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **Which Port is used by AFP?** * AFP over TCP/IP uses **port 548** by default. * Older AppleTalk implementations used different networking schemes, but modern AFP uses TCP port 548. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **Is AFP using Client server model?** * Yes, AFP uses the client-server model. * Clients (usually macOS systems) connect to an AFP server to access and manage shared files over a network. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow Topics in this section, * :ref:`Learnings in this section ` * :ref:`Terminology ` * :ref:`Version Info ` * :ref:`AFP Version&IEEE Details ` * :ref:`AFP Basic Setup on Ubuntu using IPv4 ` * :ref:`AFP Basic Setup on Ubuntu using IPv6 ` * :ref:`AFP Protocol Packet Details ` * :ref:`AFP Usecases ` * :ref:`AFP Basic Features ` * :ref:`Reference links ` .. _AFP_step1: .. tab-set:: .. tab-item:: Learnings in this section * In this section, you are going to learn .. _AFP_step2: .. tab-set:: .. tab-item:: Terminology * Terminology .. _AFP_step3: .. tab-set:: .. tab-item:: Version Info * Version Info .. _AFP_step5: .. tab-set:: .. tab-item:: AFP Version&RFC Details * rfc details .. _AFP_step18: .. tab-set:: .. tab-item:: AFP Basic Setup on Ubuntu using IPv4 * setup .. _AFP_step19: .. tab-set:: .. tab-item:: AFP Basic Setup on Ubuntu using IPv6 * setup .. _AFP_step6: .. tab-set:: .. tab-item:: AFP Protocol Packet Details * packet details .. _AFP_step7: .. tab-set:: .. tab-item:: AFP Usecases * usecases .. _AFP_step8: .. tab-set:: .. tab-item:: AFP Basic Features * features .. _AFP_step17: .. tab-set:: .. tab-item:: Reference links * Reference links