Tijaabi jaantuska jaantuska:
Nooca nidaamka: Ubuntu16.04
Ku rakibida Tcpreplay: apt-get install tcpreplay
(Nooca magaca NIC laguma magacaabin eth0 iyo eth1, qaabeynta soo socota ayaa isbedeleysa)
eth0 waxa ay u dhigantaa ens33 NIC: IP: 172.20.60.166 MAC: ec:a8:6b:82:32:c1
eth1 waxay u dhigantaa ens32 NIC: IP: 172.20.60.165 MAC: 00:13:3b:0f:6a:fb
Tijaabi tillaabada ugu horreysa: Horay u socodsii Cache, amarku waa:
tcpprep - macmiilka -i rzxSJ.pcap -o rzx.cach
Amarkani wuxuu u qaybiyaa faylka PCAP-ga macmiilka iyo server-ka, iyada oo macmiilku si caadi ah u socdo. Marka la diro, xirmada waxaa laga soo diraa macmiilka iyo server-ka labadaba.
Tijaabada talaabada 2: Dib u qor cinwaanka IP-ga iyo cinwaanka MAC, amarku waa:
Tcprewrite - e 172.20.60.166:172.20.60.165 -- enet - 10-channel dmac = 00:13:3 b: 0 f: 6 a: fb, ec, a8:6 b: 82-32: c1 - enet - smac = ec: a8:6 b: 82-32: c1, 00:13:3 b: 0 f: 6 a: fb - c RZX. Cach -i rzxSJ. Pcap - o 111. Pcap
Amarkani waxa uu beddelayaa ciwaannada IP iyo MAC. Waxaad isticmaali kartaa qalab sida wireshark si aad u furto 111.pcap oo aad hubiso in wax ka beddelka lagu guulaystay.
Tijaabi tilaabada 3: Ku celi xidhmada amarka soo socda:
tcpreplay -i ens33 -I ens32 -l 100 -t -c rzx.cach 111.pcap
dekedda ens33 waxay u dhigantaa eth0. dekedda ens32 waxay u dhigantaa eth1
Kor ku xusan waa Shenzhen HDV Phoelectron Technology Ltd. keeno macaamiisha ku saabsan "Tcpreplay habka imtixaanka hadda" article hordhaca ah, iyo shirkadeena waa wax soo saarka gaarka ah ee saarayaasha network indhaha, alaabta ku lug leh yihiinONUtaxane (OLT ONU/ACONU/CATVONU/GPONONU/XPONONU), Taxanaha moduleka indhaha (Module fiber optical/Module fiber indhaha ee Ethernet / moduleka indhaha ee SFP),OLTtaxane (OLTqalab /OLT beddelo/ Bisadda indhahaOLT), iwm, waxaa jira tilmaamo kala duwan oo alaabta isgaarsiinta ah oo loogu talagalay baahida xaaladaha kala duwan ee taageerada shabakada, ku soo dhawow inaad la tashato.