PHP Code:
[root@localhost ~]# netstat -n --inet
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 10.0.0.2:46129 217.117.154.2:80 TIME_WAIT
tcp 1 1 10.0.0.2:41958 66.102.9.166:80 LAST_ACK
tcp 0 0 10.0.0.2:51674 91.121.12.213:80 TIME_WAIT
tcp 0 0 10.0.0.2:51675 91.121.12.213:80 TIME_WAIT
tcp 0 0 10.0.0.2:51673 91.121.12.213:80 TIME_WAIT
tcp 0 0 10.0.0.2:51671 91.121.12.213:80 TIME_WAIT
tcp 0 0 10.0.0.2:60029 205.234.175.175:80 ESTABLISHED
tcp 0 520 10.0.0.2:60030 205.234.175.175:80 LAST_ACK
tcp 1 1 10.0.0.2:46691 62.146.88.122:80 CLOSING
tcp 0 1 10.0.0.2:46686 62.146.88.122:80 LAST_ACK
tcp 0 0 10.0.0.2:59820 62.146.124.44:80 TIME_WAIT
tcp 0 0 10.0.0.2:56954 208.109.14.124:80 ESTABLISHED
tcp 0 0 10.0.0.2:56979 208.109.14.124:80 ESTABLISHED
tcp 0 1 10.0.0.2:43826 208.109.14.124:80 LAST_ACK
tcp 0 0 10.0.0.2:43804 208.109.14.124:80 ESTABLISHED
tcp 0 0 10.0.0.2:34328 64.179.4.146:80 ESTABLISHED
tcp 0 1 10.0.0.2:34322 64.179.4.146:80 LAST_ACK
udp 0 0 10.0.0.2:33059 10.0.0.138:53 ESTABLISHED
udp 0 0 10.0.0.2:33060 10.0.0.138:53 ESTABLISHED
netstat: no support for `AF INET (sctp)' on this system.
what the binfint from this command
==============================================================
i well tell you in my home i make server samab,nis,ftp and nis .
2 computer windows and 4 linux
i need command shwo my ip whoe enter for example to my network
i create user and ido ifconfig eth0 and i block the ip
i think is nmap but what the right command id open man nmap
i cant find any thing tallk abut who i now the ip
thank you