Using nc (netcat) to emulate NTP server response

-1

I want to test some security on an NTP client developed in-house and would like to use netcat to do it. I have packets captured with Wireshark from previous NTP exchanges that I tried to feed to the client but that doesn't appear to be working.

Ishpeck

Posted 2011-05-26T18:44:13.633

Reputation: 139

Answers

2

Perhaps these tools can help you:

PlayCap
Playback for Wireshark Captures

Tcpreplay

joke

Posted 2011-05-26T18:44:13.633

Reputation: 236

tcpreplay doesn't do udp packets, which I need for ntp. PlayCap is handy, tho' – Ishpeck – 2011-05-27T16:54:08.470

0

Here is another great tool:
Ostinato, packet crafter and traffic generator

joke

Posted 2011-05-26T18:44:13.633

Reputation: 236

0

You probably need to use netcat's -u option which tells it to work over UDP instead of TCP.

LawrenceC

Posted 2011-05-26T18:44:13.633

Reputation: 63 487