Quantcast
Channel: How to generate UDP packet - Super User
Browsing all 6 articles
Browse latest View live

Answer by User for How to generate UDP packet

You can always use UDP terminal programs. Most of them can also send/receive TCP also. For example Docklight scripting terminal has that possibility. And then you send data same way as you would send...

View Article


Answer by jacknad for How to generate UDP packet

If you're using Bash, you can use its /dev/udp virtual filesystem, like this:echo -n "hello">/dev/udp/localhost/8000Shamelessly re-used from this answer to "How to send only one UDP packet with...

View Article


Answer by Criggie for How to generate UDP packet

This one is good if you are trying to work with large packets. netcat uses 1024 bytes in UDP mode.nping --udp -p 2090 111.22.333.4 --data-length 1550UDP mode, to port 2090 at address, with a packet...

View Article

Answer by jamis for How to generate UDP packet

If you want to merely send one UDP packet with some specified data, as opposed to Satanicpuppy's answer which continuously sends random data, you can do:echo "foo" | nc -w1 -u 111.22.333.4 20000

View Article

Answer by Satanicpuppy for How to generate UDP packet

One word: NetcatNetcat is the go-to tool for this sort of thing.You can thrash whatever port you choose with UDP packets with something like:nc -u host.example.com 53 < /dev/random(53 is your port...

View Article


How to generate UDP packet

I want to generate UDP packet to test a program,something equivalent to using telnet to test TCP port (Can telnet generate UDP packet?)How can I do this?

View Article
Browsing all 6 articles
Browse latest View live