[linux-l] Re: welche port's verwendet ein Programm

Markus Hubig lord.aragon at gmx.net
Mi Sep 4 01:25:41 CEST 2002


Moin Ulrich!

Ulrich Wiederhold schrieb am Dienstag, den 03. September 2002:

> Hallo,
> wie kann ich feststellen, welche Ports ein Programm verwendet und was
> darauf läuft?

Mit "netstat" und egrep.

> Grund: Ich möchte mldonkey dazu bringen, hinter meiner Firewall normal
> zu arbeiten, aber nicht mehr als nötig erlauben.

| sudo netstat -vnplatuw |egrep mldonkey |less

Das "p" ist wichtig dammit die Namen der Programme mit ausgegeben
werden. Allerdings darf das nur root ...

Kommentar aus meinen Firewall Settings:

# MLDonkey Settings:
# * Accept conections to ports >1023 at the internet
# * Accept conections to port   4662 from internet  [donkey]
# * Accept conections to port   4001 from localnet  [gui]
# * Accept conections to port   4080 from localnet  [http]
# * Accept conections to port   4000 from localnet  [telnet]

   Gruß, Markus

-- 
NOTE: No warranties, either express or implied, are hereby given. All
software is supplied as is, without guarantee.  The user assumes all
responsibility for damages resulting from the use of these features,
including, but not limited to, frustration, disgust, system abends, disk
head-crashes, general malfeasance, floods, fires, shark attack, nerve
gas, locust infestation, cyclones, hurricanes, tsunamis, local
electromagnetic disruptions, hydraulic brake system failure, invasion,
hashing collisions, normal wear and tear of friction surfaces, comic
radiation, inadvertent destruction of sensitive electronic components,
windstorms, the Riders of Nazgul, infuriated chickens, malfunctioning
mechanical or electrical sexual devices, premature activation of the
distant early warning system, peasant uprisings, halitosis, artillery
bombardment, explosions, cave-ins, and/or frogs falling from the sky.
-------------- nächster Teil --------------
Ein Dateianhang mit Binärdaten wurde abgetrennt...
Dateiname   : nicht verfügbar
Dateityp    : application/pgp-signature
Dateigröße  : 189 bytes
Beschreibung: nicht verfügbar
URL         : <https://mlists.in-berlin.de/pipermail/linux-l-mlists.in-berlin.de/attachments/20020904/d8c3b7c6/attachment.sig>


Mehr Informationen über die Mailingliste linux-l