Shared Flashcard Set

Details

Linux System Admin II - Midterm
Midterm answers
31
Computer Networking
Undergraduate 3
05/04/2011

Additional Computer Networking Flashcards

 


 

Cards

Term
The IP layer of the OSI model is layer __
Definition
3
Term
A layer 2 broadcast address for the network 192.168.1.0 is ___
Definition
ffff.ffff.ffff
Term
The kernel routing table can be modiefied with the ____ command.
Definition
route
Term
A GUI version of tcpdump is ___
Definition
wireshark
Term
In IPv6 the address 1::3412:0:12 can be expanded to_________________
Definition
0001:0000:0000:0000:0000:3423:0000:0012
Term
What value does teh `uname -r` command return?
Definition
linux kernel version
Term
What command returns info about interfaces?
Definition
ifconfig
Term
In Fedora what variable must be set to dhcp to enable dhcp?
Definition
BOOTPROTO
Term
In the routing table, what is the Metric
Definition
number of hops
Term
What does the following command do?
$ echo "1" > ifcfg
Definition
overwrites a 1 to the ifcfg file
Term
The linux firewall in version 2.6 is____
Definition
iptables
Term
Which command list all the firewall rules
Definition
iptables -L
Term
To forward packets from one int to another, the /proc/sys/net/ipv4/ip_forward must contain ______
Definition
1
Term
Which protocol requires two simultaneous connections?
Definition
FTP
Term
This command does what?
iptables -A INPUT -m --state ESTABLISHED,RELATED -j accept
Definition
accepts packets back from a connection that has already been set up
Term
Which of the following will set the SetUUID bit?
4755
2755
1644
s644
Definition
4755
Term
If the SetUID bit is set, what will ls -l show?
Definition

rwxrws-rw-

 

(* I tested this, and it actually came back different)

-rwxr-Sr-- 1 rygjones rygjones    0 2011-05-05 10:54 GUID.sh

-rwsr--r-- 1 rygjones rygjones    0 2011-05-05 10:54 SUID.sh


Term
Fedora, what is the normal runlevel?
Definition
5
Term
Non human accounts are referred to as?
Definition
daemons
Term
Which command will show me what limits are placed on the max file size?
Definition
ulimit -a
Term
The system call that forms a jail for a given process is ____
Definition
chroot
Term
The command to list dependencies of a process is
Definition
ldd
Term
To view the amount of space being used in a partition, use what command?
Definition
df -h
Term
Well known ports are ports below
Definition
1024
Term
The tool for tracking network connections is _____
Definition
netstat -natu
Term
Which two processes are "super-servers"
Definition
inetd
xinetd
Term
When using logrotate, usually the oldest log file is sent to _____
Definition
/dev/null
Term
Checking log files with a program that can look for errors is called
Definition
log parsing
Term
Which of the following is an IDS?
snort
nmap
wireshark
mrtg
Definition
snort
Term

Which of the following is used to monitor BW and present usage in graphs?

  • wirehsark 
  • nmap 
  • syslog 
  • mrtg

Definition
mrtg
Term

if i run netstat and get the following line, what does it tell me? tcp 0 0 192.168.1.4:22 192.168.1.1:2129 ESTABLISHED

Definition

there is an established session .4 requested via port 22, .1 was listening on port 22, responded with an ephemeral port 2129

TCP

0 = Recieved 

0 = Send

.4:22 = Local Address - port request made on

.1:2129 = Foreign Address replied on port 2129

ESTABLISHED = established session

Supporting users have an ad free experience!