how do you identify the PID? can you kill the ports when you do netstat -M ?
thanks
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of [EMAIL PROTECTED]
Sent: Friday, June 02, 2000 3:13 PM
To: [EMAIL PROTECTED]
Subject: RE: [plug] kill port connections
1. do a "netstat -np | more"
2. take note of the PID of the program using the port
3. "kill -9" the PID
Ambo
P.S.
try "netstat -M" to know masquaraded connections...
On Fri, 2 Jun 2000 [EMAIL PROTECTED] wrote:
>
> Let me get back on the "how to kill port connections" later...
>
> But the problem will just come back, that person will just
> likely restart the program later.
>
> You have to:
>
> 1. Track down who is actually running the program on that port
> and have that person stop running the program.
>
> 2. Install a firewall script that by DEFAULT blocks all access
> to ports that you don't want to accessed from/to the outside world.
>
> Ambo
>
>
> On Fri, 2 Jun 2000, Efren L Fernandez II wrote:
>
> > yes...how do you do it?
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> > Behalf Of Systems Administrator
> > Sent: Friday, June 02, 2000 2:42 PM
> > To: Philippine Linux Users' Group Mailing List
> > Subject: [plug] kill port connections
> >
> >
> > how do I kill port connections as root?
> >
> >
> > -
> > Philippine Linux Users Group. Web site and archives at
> > http://plug.linux.org.ph
> > To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
> >
> > ---
> > Incoming mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.146 / Virus Database: 70 - Release Date: 5/9/00
> > ---
> > Outgoing mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.146 / Virus Database: 70 - Release Date: 5/9/00
> >
> >
> >
> > -
> > Philippine Linux Users Group. Web site and archives at
http://plug.linux.org.ph
> > To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
> >
>
>
> -
> Philippine Linux Users Group. Web site and archives at
http://plug.linux.org.ph
> To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
>
-
Philippine Linux Users Group. Web site and archives at
http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.146 / Virus Database: 70 - Release Date: 5/9/00
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.138 / Virus Database: 64 - Release Date: 4/10/00
-
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]