#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2004
    Posts
    2
    Rep Power
    0

    list all active ip's?


    is there a command that lists all active ip address' while connected to a server?

    collusive.ace@gmail.com
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2003
    Posts
    624
    Rep Power
    34
    Simply, no, but it might help if you explained what you mean by 'active IPs'.

    - IP of the server ( see the socket module and socket.gethostbyname(socket.gethostname()) )
    - IP(s) of the server (OS dependant, maybe available from the 'socket' module).
    - IP(s) of the server, which are currently in use (very OS dependant).
    - IP(s) of other machines on the network, with which the server is currently talking (see 'net session' on a Windows server for an example).
    - IP(s) of other machines anywhere (e.g. the internet), with which the server is currently talking (see 'tcpview' from SysInternals.com on Windows for an example)
    - IP(s) of other machines which are on the same physical network as the server (Not really possible).
    - IP(s) of other machines which are on the same physical network as the server, and which are currently switched on (a port-scanner such as nmap, see other threads for discussion).
    - IP(s) assigned to other machines by a DHCP server on the local network and are therefore unavailable for other uses (OS and DHCP server dependant).
    - IP(s) assigned to other machines on the same logical network [, and all of the above again] (no idea).

    ?
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2004
    Posts
    2
    Rep Power
    0
    Originally Posted by sfb
    Simply, no, but it might help if you explained what you mean by 'active IPs'.

    - IP of the server ( see the socket module and socket.gethostbyname(socket.gethostname()) )
    - IP(s) of the server (OS dependant, maybe available from the 'socket' module).
    - IP(s) of the server, which are currently in use (very OS dependant).
    - IP(s) of other machines on the network, with which the server is currently talking (see 'net session' on a Windows server for an example).
    - IP(s) of other machines anywhere (e.g. the internet), with which the server is currently talking (see 'tcpview' from SysInternals.com on Windows for an example)
    - IP(s) of other machines which are on the same physical network as the server (Not really possible).
    - IP(s) of other machines which are on the same physical network as the server, and which are currently switched on (a port-scanner such as nmap, see other threads for discussion).
    - IP(s) assigned to other machines by a DHCP server on the local network and are therefore unavailable for other uses (OS and DHCP server dependant).
    - IP(s) assigned to other machines on the same logical network [, and all of the above again] (no idea).

    ?
    "IP(s) of other machines which are on the same physical network as the server (Not really possible)." thats what i meant but i realize its not possible thanks for the reply

IMN logo majestic logo threadwatch logo seochat tools logo