November 22nd, 2004, 08:07 PM
-
list all active ip's?
is there a command that lists all active ip address' while connected to a server?
collusive.ace@gmail.com
November 24th, 2004, 04:56 PM
-
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).
?
November 26th, 2004, 01:58 PM
-
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