Netstat -n?

Discussion in 'Mac Basics and Help' started by Forbidden X, Jul 9, 2006.

  1. Forbidden X macrumors newbie

    Joined:
    Jul 9, 2006
    #1
    Is it possible on Macs to have a netstat -n command feature like on Windows to display ALL available connections?

    Im still new to macs.

    Thanks everyone...
     
  2. miniConvert macrumors 68040

    miniConvert

    Joined:
    Mar 4, 2006
    Location:
    Kent, UK - the 'Garden of England'.
    #2
    Have you tried typing netstat -n into Terminal? Works for me?
     
  3. Forbidden X thread starter macrumors newbie

    Joined:
    Jul 9, 2006
  4. Forbidden X thread starter macrumors newbie

    Joined:
    Jul 9, 2006
    #4
    Other commands?

    Are there any other commands for the terminal about finding connections, IP adresses, ect...?

    thanks again everyone!
     
  5. MacsRgr8 macrumors 604

    MacsRgr8

    Joined:
    Sep 8, 2002
    Location:
    The Netherlands
    #5
    You can let your Mac "listen" on a network interface:

    Type:
    sudo tcpdump -i en0 (followed by your administrator passwd)

    You can change the network interface by changing the "en..."
    (mostly en1 for Airport, or second ethernet interface should your Mac have one etc.)
     

Share This Page