Interposer between BSD Sockets/POSIX and RINA
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
interposer.c

README.md

RINA Interposer

Prototype adaptor from BSD Sockets/POSIX API calls to RINA

To build:

gcc -I /usr/include -shared -fPIC interposer.c -ldl /usr/lib/librina-api.so -o libinterposer.so

On server, run:

RINA_DIF=normal.DIF RINA_LOCAL_APPL=nc-server LD_PRELOAD=$(pwd)/libinterposer.so nc -l 1.2.3.4 1234

On client, run:

RINA_DIF=normal.DIF RINA_LOCAL_APPL=nc-client RINA_REMOTE_APPL=nc-server LD_PRELOAD=$(pwd)/libinterposer.so nc 1.2.3.4 1234

For more detail, set the RINA_VERBOSE (to anything).