Secure RPC
Secure RPC
Secure RPC style authentication has been added to the first very simple
RPC hello world program. This form of authentication provides
reasonable security, but requires support from the system
administrator in maintaining the "publickey" database.
Sample Procedures
The client stub and the server stub are identical to those created
by RPCGEN for the initial hello world program. Below I am only
including the client main program and the server procedure since
they are the only one's that are different.
Makefile - used to compile and link client
and server.
firstmain.c - client main program.
firstsrvr.c - the server procedure
that returns "Hello world". The server was generated with the
"-DDEBUG" flag turned on during compile, so debugging output goes
to the screen.