Difference between revisions of "Network"

From Linuxintro
imported>ThorstenStaerk
imported>ThorstenStaerk
Line 14: Line 14:
 
* Show all connections
 
* Show all connections
 
  netstat -putan
 
  netstat -putan
 
* mtr
 
  
 
* listen on a specific port
 
* listen on a specific port

Revision as of 07:58, 4 September 2010

  • you want an introduction to networking
  • you want to know about network addressing like 10.20.64.111/24
  • you want a list of networking commands
  • you want to do network troubleshooting

Networking topics

  • fake MAC address
ifconfig eth0 hw ether xx:xx:xx:xx:xx:xx
  • Show all server sockets that are listening
lsof -i
  • Show all connections
netstat -putan
  • listen on a specific port
ngrep -qd lo port 21
  • Password Sniffer
dsniff
  • create WLAN traffic
aireplay -3 -b <MACofAP> -h <MACtoFake> -x 600 eth1