User Tools

Site Tools


network_stuff:tcpdump

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
network_stuff:tcpdump [2023/03/09 14:57] jotasandokunetwork_stuff:tcpdump [2023/11/02 14:38] (current) – external edit 127.0.0.1
Line 97: Line 97:
 **LIBCAP RELATED UTILITIES** **LIBCAP RELATED UTILITIES**
 \\ \\
-  tcprewrite -C --enet-dmac=64:9e:f3:7b:e8:c2 -i archer.pcap -o archer1.pcap+  tcprewrite -C --dlt=enet --enet-smac=3a:85:a1:b3:c3:84 --enet-dmac=c2:54:cb:f2:ee:c8  -i sflow_2022_new.pcap -o rwsflow_2022_new.pcap   # this is needed when the pcap we received is linux cooked (sometimes they miss the dst mac address so we add a dummy one 
 +  tcprewrite -C --dstipmap=192.168.97.255/32:10.100.10.142/32 -i rwsflow_2022_new.pcap -o rwrwsflow_2022_new.pcap
   tcpreplay -i eth0 --loop 0 xxx.pcap      tcpreplay -i eth0 --loop 0 xxx.pcap   
 +[[https://gist.github.com/niranjan-nagaraju/4532037]]
network_stuff/tcpdump.1678373864.txt.gz · Last modified: (external edit)