Duba bude tashoshin jiragen ruwa a Ubuntu

Pin
Send
Share
Send

Duk wani shiri yana sadarwa tare da wani ta hanyar Intanet ko a cikin cibiyar sadarwa ta gida. Ana amfani da tashoshin jiragen ruwa na musamman don wannan, yawanci TCP da UDP. Kuna iya gano wanne daga cikin tashoshin jiragen ruwa ake amfani da su a halin yanzu, wato, la’akari da cewa bude ne, ta amfani da wadatattun kayan aikin a cikin tsarin aiki. Bari mu bincika wannan hanya ta amfani da misalin rarraba Ubuntu.

Duba bude tashoshin jiragen ruwa a Ubuntu

Don cim ma wannan aikin, muna ba da shawarar amfani da daidaitaccen wasan bidiyo da ƙarin abubuwan amfani waɗanda suke ba ku damar lura da hanyar sadarwar. Ko da masu amfani da ƙwarewa ba za su iya fahimtar ƙungiyoyin ba, kamar yadda za mu ba da bayani kowane ɗayan. Muna ba da shawara cewa ku san kanku da abubuwan amfani guda biyu daban-daban a ƙasa.

Hanyar 1: lsof

Mai amfani da ake kira lsof yana lura da duk haɗin haɗin tsarin kuma yana nuna cikakken bayani game da kowannensu akan allo. Abin sani kawai kuna buƙatar sanya madaidaicin hujja don samun bayanan da kuke sha'awar.

  1. Gudu "Terminal" ta hanyar menu ko umarni Ctrl + Alt + T.
  2. Shigar da umarnisudo lsof -isannan kuma danna Shigar.
  3. Shigar da kalmar wucewa don samun tushen. Lura cewa lokacin yin rubutu, ana shigar da haruffa, amma ba a nuna su cikin na'ura wasan bidiyo ba.
  4. Bayan haka, zaku ga jerin duk haɗi tare da duk sigogi masu ban sha'awa.
  5. Lokacin da jerin haɗin ke da yawa, zaku iya tace sakamakon don amfanin ya nuna kawai layukan inda tashar da ake buƙata take akwai. Ana yin wannan ta shigarwar.sudo lsof -i | grep 20814ina 20814 - yawan tashar da ake buƙata.
  6. Zai rage kawai don nazarin sakamakon da ya bayyana.

Hanyar 2: nmap

Manhajar hanyar buɗe hanyar Nmap ita ma za ta iya yin aikin sikanin hanyoyin sadarwa don haɗin haɗin aiki, amma ana aiwatar da ita ta wata hanyar dabam. Har ila yau, Nmap yana da juzu'i mai ma'anar zane mai hoto, amma a yau ba zai yi mana amfani ba, tunda ba shi da kyau a yi amfani da shi. Aikin a cikin mai amfani yana kama da wannan:

  1. Laaddamar da na'ura wasan bidiyo kuma shigar da mai amfani ta hanyar shigarsudo dace-samu shigarp kyawap.
  2. Kar a manta shigar da kalmar wucewa don samar da dama.
  3. Tabbatar da ƙara sabbin fayiloli a cikin tsarin.
  4. Yanzu, don nuna bayanin da ake buƙata, yi amfani da umarninkyaup localhost.
  5. Duba bayanan a tashoshin jiragen ruwa na bude.

Umarnin da ke sama ya dace da karɓar tashar jiragen ruwa na ciki, amma idan kuna sha'awar tashar jiragen ruwa na waje, ya kamata ku aiwatar da wasu matakai daban-daban:

  1. Gano adireshin IP na cibiyar sadarwarka ta hanyar sabis na kan layi. Don yin wannan, a cikin na'ura wasan bidiyo, shigar dawget -O - -q icanhazip.comsannan kuma danna Shigar.
  2. Ka tuna adireshin cibiyar sadarwarka.
  3. Bayan haka, gudanar da bincike a kai ta shigakyaupda IP.
  4. Idan baku sami wani sakamako ba, to, duk mashigan-ruwa suna rufe. Idan an bude, zasu bayyana a ciki "Terminal".

Mun bincika hanyoyi guda biyu, tunda kowannensu yana neman bayani akan tsarinsa. Dole ne kawai ka zaɓi mafi kyawun zaɓi kuma ta hanyar sa ido kan hanyar sadarwa don gano waɗanne tashar jiragen ruwa a halin yanzu suke buɗe.

Pin
Send
Share
Send