Lidi (leedee) allows you to copy TCP or Unix streams or files over a unidirectional link.
It is usually used along with an actual network diode device but it can also be used over regular bidirectional links for testing purposes.
For more information about the general purpose and concept of unidirectional networks and data diode: Unidirectional network.
The user documentation is available at https://anssi-fr.github.io/lidi/, or can be built and opened with:
$ cd doc
$ make html
$ xdg-open _build/html/index.html
The developper documentation can be built and opened by running:
$ cargo doc --document-private-items --no-deps --lib --open