This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

how to crate udp to capture ?

0

Is there anyone help me to crate udp packets? I have a subject about udp and anylies them, but i don't know crate them quickly? may you help me clearly, step by step? help me. thanks much.

asked 31 Dec '10, 05:55

haquyen's gravatar image

haquyen
1667
accept rate: 0%


3 Answers:

0

Why do you need to create one? DNS queries and answers are in UDP so you could just capture your DNS traffic. DNS does use TCP, but its mostly used for zone transfers - not end user queries.

Or you can generate syslog, snmp etc which all use UDP.

If you are on a a Cisco based network, you'll most likely run into HSRP traffic which also uses UDP.

Finally, most modern day computers use UDP (multicast) for a lot of things in the background. If you capture on your NIC in a promiscuous mode, I'll bet you capture some UDP traffic.

answered 31 Dec '10, 07:56

hansangb's gravatar image

hansangb
7912619
accept rate: 12%

0

In addition, you could use netcat to create UDP packets. I guess it all depends on what you want your UDP packets to look like.

answered 31 Dec '10, 15:25

Paul%20Stewart's gravatar image

Paul Stewart
3018
accept rate: 6%

0

thanks Hansangb and Paul Stewart much! Happy New Year

answered 01 Jan '11, 04:35

haquyen's gravatar image

haquyen
1667
accept rate: 0%