Networking Flashcards
Fixed DHCP
Computer get same IP every time it boots
Dynamic DHCP
IP computer gets may be different each time
iwlist command
- Identify near by wireless networks
- scan/scannig
iwconfig command
Connect / disconnect to specific networks
ifconfig command
- Bring up or shut down a specific network connection and associated IP/netmask to particular piece of network hardware
route command
Adjust a computer’s routing table
etc/resolv.conf
Config file that contains
- IP of up to three DNS servers
- Name of the computers internet domain
- All other domains that should be searched when a user doesn’t put in a domain name from the host name.
dhclient & dhcpcd command
Manage DHCP settings
ping command
as ping but will keep sending packets out (1perSecond) until interrupted with Ctrl+C
What is Linux major vulnerability?
- Malicious actors breaking in and abusing server programs that are running 24/7
- Important to not to run servers/services you do not need
Linux hardening
- Turn off servers/services you do not need
- Enable a firewall
- Use good passwords
- Be suspicious (phising & social engineering & more rare malware)
- Keep software updated
Are all Linux distros capable of creating a network connection automatically?
No
lo
- Loopback interface
- Exists even if there is no hardware network interface
/etc/hosts
contains a mapping of IP addresses to URLs**
host command
Used to find the IP address of a particular domain name or the domain name of a particular IP address.