Noma yiluphi uhlelo oluxhumana nomunye nge-intanethi noma ngaphakathi kwenethiwekhi yendawo. Amapayipi akhethekile asetshenziselwa lokhu, ngokuvamile izivumelwano ze-TCP ne-UDP. Ungathola ukuthi yiziphi izikebhe ezitholakalayo okwamanje ezisetshenzisiwe, okungukuthi, zibhekwa zivulekile, ngosizo lwamathuluzi atholakalayo ohlelweni lokusebenza. Ake sihlolisise le nqubo usebenzisa isibonelo sokusabalalisa Ubuntu.
Buka amachweba avulekile ku-Ubuntu
Ukufeza lo msebenzi, sincoma ukusebenzisa i-console ejwayelekile kanye nezinsiza ezengeziwe zokuqapha inethiwekhi. Ngisho nabasebenzisi abangenalwazi bazokwazi ukuqonda amaqembu, njengoba sizochaza ngamunye wabo. Sikunikeza ukuthi ujwayele izinsiza ezimbili ezihlukene ngezansi.
Indlela 1: lsof
I-utility ebizwa ngokuthi i-lsof ilondoloza wonke uxhumano lwenethiwekhi futhi ibonisa ulwazi oluningiliziwe ngalowo nalowo. Udinga kuphela ukwabela impikiswano efanele ukuze uthole idatha oyithandayo.
- Qalisa "Isikhumbuzo" nge imenyu noma umyalo I-Ctrl + Alt + T.
- Faka umyalo
sudo lsof -i
bese uchofoza Ngena. - Cacisa iphasiwedi yokufinyelela kwezimpande. Qaphela ukuthi uma ukuthayipha izinhlamvu kungena, kodwa kungaboniswa ku-console.
- Ngemuva kwakho konke, uzobona uhlu lwazo zonke izixhumanisi nazo zonke izilinganiso zentshisekelo.
- Uma uhlu lokuxhumeka lukhulu, ungakwazi ukuhlunga umphumela ukuze umbuso ubonise kuphela leyo migqa nechweba oyidingayo. Lokhu kwenziwa ngokusebenzisa okokufaka
sudo lsof -i | i-grep 20814
kuphi 20814 - inani lechweba elidingekayo. - Ihlala kuphela ukutadisha imiphumela evelile.
Indlela 2: I-Nmap
I-software ye-Nmap yomthombo ovulekile nayo ikwazi ukwenza umsebenzi wokuxhuma amanethiwekhi ngokuxhumeka okusebenzayo, kodwa isebenza kancane kancane. I-Nmap ine-version ene-interface esibonakalayo, kodwa namuhla ngeke isisisebenzise, ngoba akusizo ngokuphelele ukusisebenzisa. Ukusebenza ku-Umbuso kubonakala kanje:
- Qalisa i-console bese ufaka i-Umbuso ngokuthayipha
sudo apt-get ukufaka nmap
. - Ungakhohlwa ukungena iphasiwedi ukuze unikeze ukufinyelela.
- Qinisekisa ukufakwa kwamafayela amasha ohlelweni.
- Manje sebenzisa umyalo ukubonisa ulwazi oludingekayo.
nmap localhost
. - Funda idatha emachwebeni avulekile.
Imiyalo engenhla ifanele ukuthola amabhuku angaphakathi, kodwa uma unesithakazelo kumachwebeni wangaphandle, kufanele uthathe ezinye izinyathelo ezimbalwa:
- Thola ikheli lakho le-IP yenethiwekhi ngokusebenzisa isevisi ye-Icanhazip inthanethi. Ukwenza lokhu, faka ku-console
wget -O - -q icanhazip.com
bese uchofoza Ngena. - Khumbula ikheli lakho lenethiwekhi.
- Emva kwalokho, sebenzisa ukuskena kukho ngokuthayipha
nmap
kanye ne-IP yakho. - Uma ungatholi miphumela, khona-ke zonke izikhumulo zivaliwe. Uma zivulekile, zizovela "Isikhumbuzo".
Sixoxe ngezindlela ezimbili, ngoba ngamunye wabo ufuna ukwaziswa ngemigomo yayo. Konke okudingeka ukwenze ukukhetha ukhetho olungcono futhi, ngokuqapha inethiwekhi, thola ukuthi yiziphi amaphekula okwamanje avuliwe.