Created
June 26, 2019 10:39
-
-
Save chriha/0b9d6f289f3bb6c5745f063fb0902436 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
socat - UDP4-DATAGRAM:192.168.30.255:61111,bind=:61111,ip-add-membership=192.168.30.255:eth0 | |
socat - UDP4-DATAGRAM:192.168.30.0:61111,sp=61111,broadcast,range=192.168.30.0/24 | |
ncat -i 5 -m 1 -u -l 0.0.0.0 61111 2> /dev/null | |
ncat -v -u -l 0.0.0.0 61111 | |
echo '{ "fubar": true, "test": "lorem ipsum" }' | ncat -v --send-only -u 192.168.30.255 61111 | |
nc -uklvv -w 1 0.0.0.0 61111 | |
echo '{ "fubar": true, "test": "lorem ipsum" }' | ncat -u 192.168.30.255 61111 | |
socat -v PIPE udp-recvfrom:61111,fork |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment