4
1
I'm trying to replay pcap file to HTTP server. Before that I'm trying to manually check that I'm using tcpreplay correctly.
I've start netcat -l 12345
to listen on specific port. Let's call it "server"
On other machine I've run tcpdump
to capture all traffic with destination to the specific port in file dummy.pcap
. After that I run netcat on client machine, connect to the "server" and send several messages.
I've checked resulted pcap with tshark
and it shows that packets were captured.
I've start netcat on server again, and on client I've started tcpreplay:
tcpreplay -d 5 -i eth0 -t dummy.pcap
But nothing appears on netcat console on server. I've tried to run tcpdump on "server" and it shows, that packets is received.
Why packets don't appear in netcat console?