Netstat gains new functionality in XP
Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Netstat gains new functionality in XP

  1. #1
    Senior Member
    Join Date
    Sep 2001
    Posts
    831

    Netstat gains new functionality in XP

    While I don't use Windows XP, I found this to be quite a useful and long awaited feature for Netstat...

    Nearly everyone here would know of netstat... it displays the current TCP/IP connections to your PC... (if you want more info, google it or check out TechNet)

    Anyway, on with my tale..

    Under Windows XP, Netstat has a new parameter... o
    What does this new funky parameter do?

    This new parameter tells Netstat to display the process that is controlling a current TCP/IP connection....

    So for all of you people who have been using netstat and saying... WtF is connecting to that IP?!?!... You can now easily see what it is!!!
    -Matty_Cross
    \"Isn\'t sanity just a one trick pony anyway? I mean, all you get is one trick. Rational Thinking.
    But when you\'re good and crazy, hehe, the skies the limit!!\"

  2. #2
    Senior Member
    Join Date
    Jan 2002
    Posts
    883
    Here are some basic's for netstat right from the XP console:

    Microsoft Windows XP [Version 5.1.2600]

    Displays protocol statistics and current TCP/IP network connections.

    NETSTAT [-a] [-e] [-n] [-o] [-s] [-p proto] [-r] [interval]

    -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.
    -o Displays the owning process ID associated with each connection.
    -p proto Shows connections for the protocol specified by proto; proto
    may be any of: TCP, UDP, TCPv6, or UDPv6. If used with the -s
    option to display per-protocol statistics, proto may be any of:
    IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, or UDPv6.
    -r Displays the routing table.
    -s Displays per-protocol statistics. By default, statistics are
    shown for IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, and UDPv6;
    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.

    The last one goes last in the command string. It will refresh the console and update the contents. Example:

    c:\netstat -an 5
    The COOKIE TUX lives!!!!
    Windows NT crashed,I am the Blue Screen of Death.
    No one hears your screams.


  3. #3
    Senior Member
    Join Date
    Sep 2001
    Posts
    1,027
    You can have the same functionnality in NT/w2k with Foundstone's Fport...

    Ammo
    Credit travels up, blame travels down -- The Boss

  4. #4
    Can someoene post this netstat? Hopefully it'll work with win2k...
    WE ARE the anti cancer...
    WE ARE the only answer...
    email

  5. #5
    Junior Member
    Join Date
    May 2002
    Posts
    10
    i'm not an XP user but i think that would be cool
    fine line gets more and more finer

  6. #6
    Senior Member
    Join Date
    Feb 2002
    Posts
    856
    Originally posted here by fiend
    Can someoene post this netstat? Hopefully it'll work with win2k...
    Hi,
    If you've got Windows (or Linux), it's already on your machine. Open a DOS command prompt and type netstat. P2P Apocalypse gave you the options above that will display different information-- e.g. netstat -a, netstat -o, etc.
    For the wages of sin is death, but the free gift of God is eternal life in Christ Jesus our Lord.
    (Romans 6:23, WEB)

  7. #7
    Member
    Join Date
    Aug 2001
    Posts
    42

    netstat Win2K

    here are the only switches for win2K

    NETSTAT [-a] [-e] [-n] [-s] [-p proto] [-r] [interval]

    -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.

    No -o switch
    Who Cares Wins

  8. #8
    If you are using winnt 4+, win 2k or win xp you can use Active Ports to get the same info. Just go to google and type in active ports and one of the first 2 or 3 results should allow a download.
    May Everyone Find the Happiness That They Deserve,
    Raisor

  9. #9
    thank you e-1
    WE ARE the anti cancer...
    WE ARE the only answer...
    email

  10. #10
    Banned
    Join Date
    Dec 2001
    Posts
    31
    for more infomation on Netstat, i found these threads da BOMB.
    Networking

    Netstat - Cheeseball http://www.antionline.com/showthread...hreadid=159847
    http://www.antionline.com/showthread...hreadid=130968
    And lots inhere, you can visit the Totorial Forum for more !!http://www.antionline.com/showthread...hreadid=133897
    Its me
    Bellon HUMAN KNOWLEGDE BELONGS TO THE WORLD

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •