-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Fredrik (Zhiyu) Luo edited this page Mar 17, 2017
·
1 revision
pcapserver is a tool to extract HTTP stream from a pcap file (tcpdump) and replay it.
It's particularly useful when you debug an embedded device, where you can't monitor the network traffic in real time, or there is a rare bug that doesn't happen every time you run the programme - you can then record all the network activity by running a tcpdump on the device, and then grab the pcap and replay it on PC.
make debug/release
./pcapserver [pcapfile] 8080
./pcapserver ./testcases/mtv.mcu.pcap 8080