Please consider a donation to the Higher Intellect project. See https://preterhuman.net/donate.php or the Donate to Higher Intellect page for more info.

AppleTalk: Difference between revisions

From Higher Intellect Vintage Wiki
Line 15: Line 15:
===ADSP (AppleTalk Data Stream Protocol)===
===ADSP (AppleTalk Data Stream Protocol)===
A session-layer protocol that allows two nodes to establish a reliable connection through which data can be transmitted.
A session-layer protocol that allows two nodes to establish a reliable connection through which data can be transmitted.
The AppleTalk Data Stream Protocol (ADSP) is a connection-oriented transactionless protocol that supports sessions over which applications can exchange full-duplex streams of data. In addition to ensuring reliable delivery of data, ADSP provides a peer-to-peer connection; that is, both ends of the connection can exert equal control over the exchange of data. ADSP also provides an application with a means of sending expedited attention messages to pass control information between the two communicating applications without disrupting the main flow of data.
ADSP appears to its clients to maintain an open pipeline between the two entities at either end. Either entity can write a stream of bytes to the pipeline or read data bytes from the pipeline. However, because ADSP, like all other higher-level AppleTalk protocols, is a client of DDP, the data is actually sent as packets. This allows ADSP to correct transmission errors in a way that would not be possible for a true data stream connection. Thus, ADSP retains many of the advantages of a transaction-based protocol while providing to its clients a connection-oriented full-duplex data stream.
ADSP also includes features that let you authenticate the identity of the party at the other end of the connection and send encrypted data, which is then decrypted at the other end.
===AEP (AppleTalk Echo Protocol)===
===AEP (AppleTalk Echo Protocol)===
A transport-layer protocol used to determine whether two nodes are connected and both available.
A transport-layer protocol used to determine whether two nodes are connected and both available.

Revision as of 21:26, 24 September 2020

AppleTalk is a suite of network protocols introduced by Apple Computer in 1985.

AppleTalk is Apple’s proprietary protocol suite for Macintosh network communications. It provides a multilayer, peer-to-peer architecture that uses services built into the operating system. This gives every Macintosh networking capabilities. AppleTalk can run under any of several network operating systems, including Apple’s AppleShare, Novell’s NetWare for Macintosh, and Sun Microsystems’ TOPS. AppleTalk was developed in the mid-1980s with the goal of providing a simple, portable, easy-to-use, and open networking environment. To access such a network, a user just needs to “plug in, log in, and join in.” A newer version, Phase 2, was released in 1989. This version provided some new capabilities and extended others.

AppleTalk Layers[edit]

All AppleTalk networks use the DDP (Datagram Delivery Protocol) at the network layer, regardless of the architecture operating at the data-link layer. This protocol makes a best effort at packet delivery, but delivery is not guaranteed. Note also the AARP (AppleTalk Address Resolution Protocol) at this layer. The AARP maps AppleTalk (network) addresses to Ethernet or Token Ring (physical) addresses.

For reliable packet delivery, the ADSP (AppleTalk Data Stream Protocol) and ATP (AppleTalk Transaction Protocol) are available. Each of these protocols is appropriate under different conditions. The NBP (Name Binding Protocol) and ZIP (Zone Information Protocol) help make addressing easier. NBP associates easy-to-remember names (used by users) with the appropriate address. ZIP is used mainly on larger networks or internetworks, which are more likely to be divided into zones. A zone is a logical grouping of nodes that together make up a subnetwork. The concept of a zone was introduced to allow for larger networks with more than 255 nodes, and also to make addressing and routing tasks easier. Applications access an AppleTalk network through the AFP (AppleTalk Filing Protocol); they access printer services by shipping PostScript files through the PAP (Printer Access Protocol). A few protocols make use of services from more than one lower-level protocol. For example, ZIP relies on ATP and DDP services.

AppleTalk Protocol Suite[edit]

AARP (AppleTalk Address Resolution Protocol)[edit]

A network-layer protocol that maps AppleTalk (network) addresses to physical addresses.

ADSP (AppleTalk Data Stream Protocol)[edit]

A session-layer protocol that allows two nodes to establish a reliable connection through which data can be transmitted.

The AppleTalk Data Stream Protocol (ADSP) is a connection-oriented transactionless protocol that supports sessions over which applications can exchange full-duplex streams of data. In addition to ensuring reliable delivery of data, ADSP provides a peer-to-peer connection; that is, both ends of the connection can exert equal control over the exchange of data. ADSP also provides an application with a means of sending expedited attention messages to pass control information between the two communicating applications without disrupting the main flow of data.

ADSP appears to its clients to maintain an open pipeline between the two entities at either end. Either entity can write a stream of bytes to the pipeline or read data bytes from the pipeline. However, because ADSP, like all other higher-level AppleTalk protocols, is a client of DDP, the data is actually sent as packets. This allows ADSP to correct transmission errors in a way that would not be possible for a true data stream connection. Thus, ADSP retains many of the advantages of a transaction-based protocol while providing to its clients a connection-oriented full-duplex data stream.

ADSP also includes features that let you authenticate the identity of the party at the other end of the connection and send encrypted data, which is then decrypted at the other end.

AEP (AppleTalk Echo Protocol)[edit]

A transport-layer protocol used to determine whether two nodes are connected and both available.

AFP (AppleTalk Filing Protocol)[edit]

A presentation/application-layer protocol used by applications to communicate with the network.

ASDSP (AppleTalk Safe Data Stream Protocol)[edit]

A session-layer protocol that is similar to ADSP but that provides additional security against unauthorized use.

ASP (AppleTalk Session Protocol)[edit]

A session-layer protocol used to begin and end sessions, send commands from client to server, and send replies from server to client.

ATP (AppleTalk Transaction Protocol)[edit]

A transport-layer protocol that can provide reliable packet transport. Packets are transported within the framework of a transaction (an interaction between a requesting and a responding entity program or node).

The AppleTalk Transaction Protocol (ATP) is a connectionless transaction-based protocol that allows two endpoints to execute request-and-response transactions. Either ATP endpoint can request another ATP endpoint to perform an action; the other ATP endpoint then carries out the action and transmits a response reporting the outcome. ATP provides reliable delivery of data by ensuring that data packets are delivered in the correct sequence and by retransmitting any packets that are lost.

ATP is useful if your application sends small amounts of data and can tolerate a minor degree of performance degradation. Games that are based on request-and-response dialogs can make efficient use of ATP.

AURP (AppleTalk Update Routing Protocol)[edit]

A transport-layer routing protocol that is similar to RTMP (Routing Table Maintenance Protocol) but that updates the routing table only when a change has been made to the network.

DDP (Datagram Delivery Protocol)[edit]

A network-layer protocol that prepares and routes packets for transmission on the network.

LAP (Link Access Protocol)[edit]

Works at the data-link layer, converting packets from higher layers into the appropriate form for the physical transmission. Each network architecture needs its own LAP.

ELAP (EtherTalk Link Access Protocol)[edit]

The link-access protocol used for Ethernet networks.

FLAP (FDDITalk Link Access Protocol)[edit]

The link-access protocol used for FDDI networks. LLAP (LocalTalk Link Access Protocol)=== The link-access protocol used for LocalTalk networks.

TLAP (TokenTalk Link Access Protocol)[edit]

The link-access protocol used for Token Ring networks.

ARAP (AppleTalk Remote Access Protocol)[edit]

A link-access protocol for accessing the network from a remote location over a serial line.

NBP (Name Binding Protocol)[edit]

A transport-layer protocol that associates device names with network addresses. If the NBP is successful, this binding process will be completely transparent to the user.

PAP (Printer Access Protocol)[edit]

A session-layer protocol for creating a path from the user or application to a printer.

The Printer Access Protocol (PAP) is an asymmetrical connection-oriented transactionless protocol that enables communication between client and server endpoints, allowing multiple connections at both ends. PAP uses ATP packets to transport the data once a connection is open to the server.

PAP is the protocol that ImageWriter and LaserWriter printers in the AppleTalk environment use for direct printing--that is, when a workstation sends a print job directly to a printer connected to the network instead of using a print spooler. Open Transport PAP provides a single protocol implementation for all AppleTalk printers that is integrated into the AppleTalk protocol stack.

RTMP (Routing Table Maintenance Protocol)[edit]

A transport-layer routing protocol for moving packets between networks.

ZIP (Zone Information Protocol)[edit]

A session-layer protocol used to help find a node; for example, in a large internetwork.

Networks, Nodes, Zones[edit]

In AppleTalk networks, every node has an official numerical address. In addition, a node may be part of a named group of nodes, which somehow belong together.

Each AppleTalk network is assigned a unique network number, and each node in that network is assigned this number. Packets addressed to a node on the network must include the network number. In addition to a network number, each node has a node number that is unique within that network. This is an 8-bit number and can be any value between 1 and 254, inclusive (0 and 255 are reserved as node numbers). However, servers must have node numbers within the range of 128 to 254, and workstations must have numbers in the 1 to 127 range.

A zone is a logical grouping of nodes. By restricting routing or searches to machines in a particular zone, network traffic and work can be reduced considerably. Accessing resources by zones also makes it easier to determine what is available for specific needs. A node may belong to more than one zone at the same time, or not be part of any zone. A zone can cross network boundaries; that is, a zone can consist of parts of two or more different networks or include multiple networks.

Phase 2[edit]

Phase 2, an updated version of AppleTalk, was released in 1989. This version provides several improvements over Phase 1, including the following:

  • Allows more than 254 nodes per network
  • Allows a network to be assigned more than one network number
  • Introduced the AppleTalk Internet Router, which allows up to eight AppleTalk networks to be connected

Related Articles[edit]