Difference between revisions of "Network"

From Linuxintro
imported>ThorstenStaerk
imported>ThorstenStaerk
Line 2: Line 2:
 
* you want to know about network addressing like 10.20.64.111/24
 
* you want to know about network addressing like 10.20.64.111/24
 
* you want a list of [[networking commands]]
 
* you want a list of [[networking commands]]
* you want to do network troubleshooting
+
* you want to do [[network troubleshooting]]
  
 
Networking topics
 
Networking topics

Revision as of 13:16, 18 September 2010

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
  • create WLAN traffic
aireplay -3 -b <MACofAP> -h <MACtoFake> -x 600 eth1