Transparent Remote File Operation project is a simple implementation of Remote Procedure Call (RPC) that supports a subset of operations in real world PRC framework. It supports: open, close, read, write, lseek, stat, unlink, getdirentries, getdirtree and freedirtree.
System structure diagram
Transparent:
This project uses library interposition technique to replace Linux standard library. The replacements perform the same as their original functions, except that they are all executed on remote server.
Error handling:
This implementation can handle most of the comment errors that might happens on every day’s operation. Return values and error numbers are all properly handled.
Customized Function:
This library supports customized functions.
This document will illustrate some detailed design of this project.
There are two major protocol design for this project: Operation Exchange Protocol and Dirtree Transmission Protocol.
Operation exchange protocol defined as below: