XDP use for data diodes

Rene Vrolijk <[email protected]> Wed, 30 Aug 2023 16:03:27 +0200
Newsgroups org.kernel.vger.xdp-newbies
Message-ID <[email protected]>
Hi,

I have a question about the use of XDP. A little warning upfront, i’m not a programmer or network manager so my question could be strange. Sorry for that.

I created a Github to teach people about the basics of data diodes on https://github.com/vrolijk/osdd 
Via this git i explain student in 2 hours the basics and how to to get their hands on a data diode, insight in UDP packetloss with normal operating systems, setup Ubuntu to use as a proxy and send data with three different use cases. All with publicly available hard and software and with complicated scripting.

My (noob) question:
There is a major issue when using Ubuntu and  packetloss in the Linuxkernel. Is it possible to use XDP to prevent packetloss when sending data over an unidirectional connection between 2 Ubuntu machines via a data diode? 
Is it possible to help me (and the students) via an example how to configure this on the 2 machines? 

The main idea for the workshop is having a noob proof example so the student has a working example and can continue with his own more advanced setup or use-case.

Regards, 
Rene Vrolijk