Mod 8 Day 5 Flashcards
Directives that Define the parameters of the main server which responds to request not handled by a virtual host
Main server
Container used to maintain information about multiple domains / hostnames on one web server
Virtual host
Directives that control the overall operation of the Apache server process as a whole
Global environment
What command is used to check syntax errors for the httpd.conf file without restarting the server
Apachectl -t
What main server directive provides the name and Port that the server uses to identify itself to incoming request
Server name
What global environment directive defines the top of the directory tree where the servers configuration, error, and log files are stored
Server root
What main server directive defines the default directory that will contain all web pages related documents and files
Document root
what global environment directive instructs the web server to accept incoming request on a specified port or IP address and Port combination
Listen
tracks access agent and referrer information and identifies the location of the file that stores a record of access attempts to the web
Custom log
Sets the name of the file where the server errors will be logged
Error log
Controls the types of messages logged to the error_log
Log level
The main server directive contains three sections used to control logging what are they
Custom log
Error log
Log level
Name the commands used in conjunction with the telnet protocol to gain information about the HTTP request and response Header information
Get
Head
Reveals the entire HTTP request and message body
Get
Reveals the web server version and Os information only without the body
Head
what Solaris program puts system interfaces in a promiscuous mode with intent of capturing packets on the network in real time or can redirect them to a capture file format
Snoop
In Solaris give the syntax to capture packets, not resolve address to name, and use the IP 192.168.0.83
Snoop -r 192.168.0.83
What Solaris command sends all captured packets to a file called /tmp/my.cap 4 Port 22 only?
Snoop -o /tmp/my.cap port 22
In Linux what is the syntax to capture 100 packets on eth4 in verbose mode and ASCII format displaying IP address and port numbers and write the packets to /tmp/my_pcap.
tcpdump -c 100 -avn eth4 -w /tmp/my_pcap
What Linux command and syntax is used to view the /tmp/my_pcap file
tcpdump -r /tmp/my_pcap
Names and locations of Route server files and Zone files are specified in what main configuration file associated with DNS
/etc/named.conf
What software handles all DNS configuration information
BIND
This file controls how host names are resolved system-wide
/etc/nsswitch.conf
In what file is simple name resolution (local look up) configured?
/etc/hosts
What file specifies the DNS server
/etc/resolve.conf
What utility is used as a security and data Integrity tool monitors and send alerts on specific file changes and functions as a host-based intrusion detection system
Tripwire
file Integrity can be established and verified with this hashtag tool that generates a 32 digit hexadecimal hash corresponding to file contents
MD5
This hashing tool is not secure but it’s still used in PKI as part of a certificates generator
MD2
What are the four tripwire modes
Database update
Database initialization
Integrity checker
Interactive update
In Ubuntu what program is used to install packages and patches
Apt packet
This package manager is able to install packages but is unable to track dependencies. However it will warn of other packages that need to be listed first
Redhat package manager RPM