Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 635 Bytes

README.md

File metadata and controls

19 lines (11 loc) · 635 Bytes

This is similar to samplicate. It has fewer options, but supports dynamic registration/deregistration via an admin port.

Given a source port it will copy all incoming packets to the registered listeners. The admin port receives control messages.

To start: ./udp-fanout 514 10000

To register a listener:

echo -n register | socat - udp-sendto:localhost:10000,sourceport=35656

will register the current machine's port 35656 as a receiver.

To unregister a listener:

echo -n unregister | socat - udp-sendto:localhost:10000,sourceport=35656

If you spoof the source UDP address, then you can also register on behalf of other people.