| Internet protocol suite |
|---|
| Application layer |
| Transport layer |
| Internet layer |
| Link layer |
Open Network Computing (ONC)Remote Procedure Call (RPC), commonly known asSun RPC is aremote procedure call system. ONC was originally developed bySun Microsystems in the 1980s as part of theirNetwork File System project.
ONC is based oncalling conventions used inUnix and theC programming language. Itserializes data using theExternal Data Representation (XDR), which has also found some use to encode and decode data in files that are to be accessed on more than one platform. ONC then delivers the XDR payload using eitherUDP orTCP. Access to RPC services on a machine are provided via aport mapper that listens for queries on awell-known port (number 111) over UDP and TCP.
ONC RPC version 2 was first described inRFC 1050[1] published in April 1988. In June 1988 it was updated byRFC 1057. Later it was updated byRFC 1831, published in August 1995.RFC 5531, published in May 2009, is the current version. All these documents describe only version 2 and version 1 was not covered by any RFC document. Authentication mechanisms used by ONC RPC are described in RFC 2695, RFC 2203, and RFC 2623.
Implementations of ONC RPC exist in mostUnix-like systems.Microsoft supplied an implementation forWindows in their (now discontinued)Microsoft Windows Services for UNIX product; in addition, a number of third-party implementation of ONC RPC for Windows exist, including versions forC/C++,Java, and.NET (see external links).
In 2009, Sunrelicensed the ONC RPC code under the standard 3-clauseBSD license,[2] which was reconfirmed byOracle Corporation in 2010 following confusion about the scope of the relicensing.[3]
rpcvers must be equal to 2
{{cite web}}: CS1 maint: bot: original URL status unknown (link)