![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Security and Firewalls Protecting you against unwanted people and programs |
![]() |
|
|
Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: Aug 2005
Posts: 72
OS: win2k
|
how do you use the netstat command?
i read that you can use netstat -n to see trojan activity. The book said that you need to look to see what is listening on the ports but can't good things be listening too? How can you tell if whatever is listening is friend or foe? thanks
|
|
|
|
|
|
#2 (permalink) |
|
Registered User
Join Date: Dec 2005
Location: seacoast NH
Posts: 43
OS: XP Pro & Home, Win2kPro, Win98
|
Go to Start > to Run > type cmd and it opens the command window
now type in netstat (here you put the end of the syntax), so eg; netstat -a -a Displays all connections and listening ports. -e Displays Ethernet statistics. This may be combined with the -s option. -n Displays addresses and port numbers in numerical form. -p proto Shows connections for the protocol specified by proto; proto may be TCP or UDP. If used with the -s option to display per-protocol statistics, proto may be TCP, UDP, or IP. -r Displays the routing table. -s Displays per-protocol statistics. By default, statistics are shown for TCP, UDP and IP; the -p option may be used to specify a subset of the default. interval Redisplays selected statistics, pausing interval seconds between each display. Press CTRL+C to stop redisplaying statistics. If omitted, netstat will print the current configuration information once. Once run you will see the protocal used and a local or foreign address with the state (closed, listening, etc) |
|
|
|
|
|
#3 (permalink) |
|
Manager, Networking Forums
Join Date: Sep 2002
Location: S.E. Pennsylvania, US
Posts: 31,329
OS: XP-Pro, Vista, Linux
Blog Entries: 1
|
NETSTAT /?
Provides a help screen to document the parameters. ![]()
__________________
If TSF has helped you, Tell us about it! or Donate to help keep the site up! Microsoft MVP - Windows Desktop Experience |
|
|
|
![]() |
| Thread Tools | |
|
|