General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-04-2004, 06:31 AM
|
#1
|
Member
Registered: Aug 2004
Location: Pakistan
Posts: 52
Rep:
|
kill a specific session in windows
hi all,
i have notced s unauthorized access of my PC while running netstat -a, i noticed some session created on port like 4840 etc..
At that moment i tried killing that session but didnt know how to do it using command prompt.
Hope u ppl can help me doing that for windows2000 professional.
thnx
Rabeea
|
|
|
12-04-2004, 07:50 AM
|
#2
|
Senior Member
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Rep:
|
Have you installed any firewall like ZoneAlarm? If you haven't I suggest that you install one now or update it to the latest version.
|
|
|
12-04-2004, 01:18 PM
|
#3
|
Senior Member
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851
Rep:
|
Get a router, and configure the hardware NAT/Firewall
|
|
|
12-06-2004, 12:25 AM
|
#4
|
Member
Registered: Aug 2004
Location: Pakistan
Posts: 52
Original Poster
Rep:
|
hi,
this mean there is no such command in command prompt that helps to kill a session........
it really disappointed me
thnx
Rabeea
|
|
|
12-06-2004, 01:06 AM
|
#5
|
Senior Member
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851
Rep:
|
Not that I'm aware of...
|
|
|
12-07-2004, 11:49 AM
|
#6
|
LQ Newbie
Registered: Oct 2004
Location: Techsupporthell, WI
Distribution: Ubuntu Feisty Fawn, CentOS 4
Posts: 6
Rep:
|
Unplug the network cable.
But seriously, install some sort of firewall. Even if you were to close such a connection, there is nothing to prevent the connection from being immediately reopened.
Another tack is to shutdown everything on your box and then run through the list of running processes and try to account for each of them.
Also, using "netstat -o" will give you PID info on each connection and then use tasklist (not absolutely sure it's available on Win2k, it is on WinXP) to display running programs and their PIDs, and then taskkill to shutdown a process. If you box blows up you'll know it was something that you should have left running.
|
|
|
12-07-2004, 03:30 PM
|
#7
|
Member
Registered: Apr 2004
Location: Wales
Distribution: rh9, winxp
Posts: 411
Rep:
|
is it an IBM computer that had the problem?
|
|
|
12-14-2004, 07:27 AM
|
#8
|
Member
Registered: Aug 2004
Location: Pakistan
Posts: 52
Original Poster
Rep:
|
Hi,
yeah it is an IBM PC and i wanna kill a particular session using command prompt.
Hope u ppl will help
|
|
|
12-15-2004, 04:10 PM
|
#9
|
Member
Registered: Dec 2004
Posts: 61
Rep:
|
actually, there is a command that comes with the resouce kit (cd) for win2k called kill. it works just like its unix counterpart. here's a link i googled. i would also suggest a software firewall, such as sygate. that would be most effective - long term wise.
|
|
|
All times are GMT -5. The time now is 08:29 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|