ports & processen

Pagina: 1
Acties:

  • QuarK
  • Registratie: Maart 2000
  • Laatst online: 09-07 21:48
Hoe kun je het gemakkelijkst achterhalen welk proces een bepaalde poort heeft opengezet in linux?

  • The_Ghost
  • Registratie: December 2000
  • Laatst online: 05-01-2021

The_Ghost

To beer or not to beer........

netstat -a

Get your copy of the web: 'copy http://*.* a:'


  • QuarK
  • Registratie: Maart 2000
  • Laatst online: 09-07 21:48
Met netstat -a zie ik helaas alleen de status van die poort (LISTEN), niet welk proces hem open heeft gezet :'(

  • The_Ghost
  • Registratie: December 2000
  • Laatst online: 05-01-2021

The_Ghost

To beer or not to beer........

mkay.. hebbie gelijk in.. zal es ff zoeken.. wordt ook nieuwsgierig...

Get your copy of the web: 'copy http://*.* a:'


Verwijderd

Doet lsof dat niet?

  • Sjonny
  • Registratie: Maart 2001
  • Laatst online: 11:26

Sjonny

Fratser

rtfm
bij netstat moet je wel ook de -p optie meegeven!

The problem is in the part of your brain that handles intelligence.


Verwijderd

netstat -ap (p= process, mischien)

  • The_Ghost
  • Registratie: December 2000
  • Laatst online: 05-01-2021

The_Ghost

To beer or not to beer........

dank u sjonny....
je bent nooit te oud om te leren.. ik weet ook weer wat meer..

Get your copy of the web: 'copy http://*.* a:'


  • Sjonny
  • Registratie: Maart 2001
  • Laatst online: 11:26

Sjonny

Fratser

Op vrijdag 20 juli 2001 10:49 schreef The_Ghost het volgende:
dank u sjonny....
je bent nooit te oud om te leren.. ik weet ook weer wat meer..
asjeblieft.
Op vrijdag 20 juli 2001 10:49 schreef semtx het volgende:
netstat -ap (p= process, mischien)
hihihihi.. ik was lekker eerder :P

The problem is in the part of your brain that handles intelligence.


  • QuarK
  • Registratie: Maart 2000
  • Laatst online: 09-07 21:48
Het gaat dus om poort 1546; netstat -ap
code:
1
2
Proto Recv-Q Send-Q Local Address        Foreign Address       State     PID/Program name
tcp   0 0 *:1546            *:*            LISTEN   -

Nog steeds niet de gevraagde info. Ben nu verder aan het spitten in de man pages..

  • Sjonny
  • Registratie: Maart 2001
  • Laatst online: 11:26

Sjonny

Fratser

> 1024
kan van alles zijn.
draai je iets van limewire ofzo? of ander share progje?

telnet localhost 1546
en kijken offie een leuk zinnetje neer prikt?

The problem is in the part of your brain that handles intelligence.


  • imdos
  • Registratie: Maart 2000
  • Laatst online: 05-08 12:09

imdos

I use FreeNAS and Ubuntu

Probeer dan eens "lsof | grep IP" dan kom je er waarschijnlijk wel achter.

pvoutput. Waarom makkelijk doen, als het ook moeilijk kan! Every solution has a new problem


  • wiho
  • Registratie: Februari 2000
  • Laatst online: 13-07 11:42

wiho

Certified Nerd

Netstat -ap als gebruiker geeft alleen de processen waarvan jij de eigenaar bent. Draai netstat -ap als root om alle processen te zien.

"Pas als het proces gecrashed is, dumpt men de core"


  • QuarK
  • Registratie: Maart 2000
  • Laatst online: 09-07 21:48
AAAH thnx Wiho! Stom zeg, moest em als root draaien.. heb ik daarvoor zoveel pagina's doorgespit :(

Bedankt!
Pagina: 1