UDPDumper
UDPDumper is a small tool for printing all UDP communications to a single port. This is meant for testing thing like statsd emissions, or anything else that uses UDP.
Installation
From the master
branch:
go install github.com/theckman/udpdumper
Usage
# host defaults to 127.0.0.1 and port defaults to 8125
udpdumper --host 127.0.0.2 --port 8130
>> Starting UDPDumper...
>> Listening at 127.0.0.2:8130...
random UDP traffic<EOF>
more random UDP traffic<EOF>
Each complete UDP message ends with <EOF>
to indicate its true end. Nothing
is stripped, so newline characters are printed and result in actual new lines.
License
UDPDumper is released under the BSD 3-Clause License. See the LICENSE
file for
the full contents of the license.