Skip to content

vlovich/udp-fanout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Copies incoming UDP messages to a set of other clients

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published