I've implemented a client-server-model that runs locally on a linux machine. I've used the (old) ONC RPC / Oracle RPC based on an UNIX domain socket.
There are some ways to authenticate the client, such as UNIX authentication.
But now I also want to authenticate the server towards the client. I want to make sure that each client actually talks to my server and that nobody can exchange the server code to return compromised values.
What do you recommend to achieve this?
Thanks in advance.