We have a production server where we receive a continuous stream of UDP packets (~ 15 Mbps). We have a small research team which wants to process this same exact stream for some research purposes on another server. The research team's server is also on the same subnet. First we thought of creating a copy of the stream on the switch itself and putting the research team's server on promiscuous mode but the IT team is unwilling to program the switches that way. So we were wondering if we could do the stream recreation for the research server on the production server itself.
The production server is beefy enough to handle any CPU load which may arise from creating duplicate packets. However, the stream recreation does need to be near real-time (a couple of seconds delay is acceptable). The server runs Debian on a x64 processor and has plenty of free RAM.
General Googling tells me about UDP samplicator on github. However, I wanted to know if there is a cleaner approach e.g. OS level primitive/tool to achieve this?