|
Wednesday, 02 December 2009 18:19 |
|
Configure Network # netconfig Get Network Status # netstat # ifconfig Get Route Information # route Get Network Cards # lspci | grep -i ethernet Dump TCP Packages to View # tcpdump Dump TCP Packages Into /root/tcpdump.txt # tcpdump >> /root/tcpdump.txt Manage Network Service # /etc/init.d/network restart # service network status # service network start # service network stop # service network restart Firewall # service iptables status # service iptables start # service iptables stop # service iptables restart Get Connections # netstat -ntu Detailed Network Connections Information # netstat -nap # netstat -ntulp Detailed Network Connections Information # lsof -i -n -P Check Port : 9991 for ip 83.139.15.58 # nmap -v -p 9991 83.139.15.58 Get Port Information. (9111 is the port) # cat /etc/services | grep 9111 Check the 834 Port # netstat -anp | grep 834 Check the 834 Port and Get Service Running # lsof -i | grep 834
|