Thread: Monitoring net connections

  1. #1
    Android geek@02's Avatar
    Join Date
    Mar 2004
    Location
    Kurunegala Colony, Sri Lanka, Sri Lanka
    Posts
    470

    Monitoring net connections

    Hi
    Anyone know a good freeware to monitor all outbound connections from my computer to the internet?
    Thx.
    GameJolt: https://gamejolt.com/@KasunL
    Game Development Youtube:
    https://is.gd/XyhYoP
    Amateur IT Blog: http://everything-geeky.blogspot.com/



    (and, sorry for my amateur English)

  2. #2
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,229
    netstat

  3. #3
    Android geek@02's Avatar
    Join Date
    Mar 2004
    Location
    Kurunegala Colony, Sri Lanka, Sri Lanka
    Posts
    470
    Doing "netstat -b" i get some connections as below:
    Code:
     Proto  Local Address               Foreign Address               State
     TCP    10.215.19.74:50330     channel-02-07-snc1:http  TIME_WAIT
     TCP    10.215.19.74:50331     channel-02-07-snc1:http  TIME_WAIT
     TCP    10.215.19.74:50333     www-12-02:http              TIME_WAIT
     TCP    10.215.19.74:50344     80-239-206-50:http          TIME_WAIT
     TCP    10.215.19.74:50359     channel-02-07-snc1:http  TIME_WAIT
     TCP    10.215.19.74:50360     channel-02-07-snc1:http  TIME_WAIT
     TCP    10.215.19.74:50374     channel-02-07-snc1:http   FIN_WAIT_2
    There's no executables displayed for these connection. What could be these connections?
    Last edited by geek@02; 03-07-2010 at 12:06 PM.
    GameJolt: https://gamejolt.com/@KasunL
    Game Development Youtube:
    https://is.gd/XyhYoP
    Amateur IT Blog: http://everything-geeky.blogspot.com/



    (and, sorry for my amateur English)

  4. #4
    Registered User jeffcobb's Avatar
    Join Date
    Dec 2009
    Location
    Henderson, NV
    Posts
    875
    Quote Originally Posted by geek@02 View Post
    Doing "netstat -b" i get some connections as below:
    Code:
     Proto  Local Address               Foreign Address               State
     TCP    10.215.19.74:50330     channel-02-07-snc1:http  TIME_WAIT
     TCP    10.215.19.74:50331     channel-02-07-snc1:http  TIME_WAIT
     TCP    10.215.19.74:50333     www-12-02:http              TIME_WAIT
     TCP    10.215.19.74:50344     80-239-206-50:http          TIME_WAIT
     TCP    10.215.19.74:50359     channel-02-07-snc1:http  TIME_WAIT
     TCP    10.215.19.74:50360     channel-02-07-snc1:http  TIME_WAIT
     TCP    10.215.19.74:50374     channel-02-07-snc1:http   FIN_WAIT_2
    There's no executables displayed for these connection. What could be these connections?
    Well if you are on a Linux box, using lsof can map open files to processes using them and since sockets (as well as everything else) is treated like a file you can use that to see who has what socket open..
    Last edited by jeffcobb; 03-07-2010 at 12:52 PM.
    C/C++ Environment: GNU CC/Emacs
    Make system: CMake
    Debuggers: Valgrind/GDB

  5. #5
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    Quote Originally Posted by geek@02 View Post
    There's no executables displayed for these connection. What could be these connections?
    the -b switch only works for Windows XP and beyond. Not other Windows operating systems and Linux.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  6. #6
    Registered User
    Join Date
    Jan 2009
    Posts
    1,485
    Possibly, you could also log all outgoing traffic on your firewall, depending on what you are using.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. time measure (net and gross) with pthreads under linux
    By mynickmynick in forum Linux Programming
    Replies: 12
    Last Post: 12-01-2008, 07:39 AM
  2. Net cpu usage of pthreads?!
    By mynickmynick in forum C++ Programming
    Replies: 15
    Last Post: 09-26-2008, 07:59 AM
  3. Select handling more then 500 connections
    By Chronom1 in forum Networking/Device Communication
    Replies: 5
    Last Post: 02-27-2005, 03:20 PM
  4. net connections
    By sargas99 in forum C++ Programming
    Replies: 3
    Last Post: 09-11-2002, 06:14 PM
  5. Multiple Client Connections
    By (TNT) in forum Windows Programming
    Replies: 1
    Last Post: 04-06-2002, 11:04 PM