CS 302, Spring 2005 Assignment #5: 10 Points. Due Date: Thursday, 5/5/05. (2) 1. Use the iptables command, as discussed in class and in Chapter 12 of [Practical] to list the firewall ruleset. Use the Red Hat security gui or command line interface to open the firewall for access to the telnet and ssh servers. List the modified ruleset and explain what the changes do.** (1) 2. In HW#4, Problem 7, telnet was configured for the virtual machine but would not allow logins from remote hosts. Verify that telnet does allow remote logins (i.e. from Windows) with the firewall modifications in Problem #1. Also modify the xinetd configuration for telnet to log both successful and unsuccessful login attempts and demonstrate that this works by handing in listings of the modifications to the configuration files and the relevant system log entries.** (2) 3. Configure the ssh server on your virtual machine as described in class and in Chapter 12 of [Practical]. Verify that you can access and login to your virtual machine from your Windows machine using ssh. Modify the ssh server and log configuration files as necessary to log both successful and unsuccessful ssh connections. Also verify that you can disable ssh access for a particular user and host by setting the DENYUSERS option in the sshd_config file. Print the configuration file(s) and the log entries showing successful and unsuccessful logins using ssh.** (1) 4. Modify your virtual machine configuration to import the NFS filesystem 172.16.0.10:/images/iso/rhel3 and mount it on your local system as /mnt/images. Use 'df' to show the filesystem mounted in the correct location and use 'ls -l' to print a listing of the directories under /mnt/images. Also, hand in a copy of your /etc/fstab file.** (2) 5. Open a browser on your virtual machine to: www.ia.lab/downloads. Find the 'yum' package with version 2.0.7-1 and download it (right click in browser for menu) to /var/tmp/. You will also need yum.conf which replaces the default configuration file in /etc. Use the 'rpm' command to install 'yum' (see 'man rpm'). Once installed, use yum to produce a list of additional downloadable packages from the server.** (2) 6. Select a project topic and describe in a couple sentences what your project will accomplish when completed. Some suggested projects are listed below: --minimal linux install; see how small you can make it? Will it fit on a PDA or cell phone? --audio server log analysis; extract hourly listener counts from icecast server. --web server log analysis; accumulate hit counts and usage statistics for web server. --linux accounting; configure linux accounting package to compile monthly resource usage statistics for charging users. --network log server; configure a machine to accept logging requests over the network as a central point for logging activity. --install and test a major application package, such as Apache or mySQL or a new development environment. --implement and test powerfail procedures with a UPS. **Output from Linux commands and programs should be saved to a file exactly as it is produced using either I/O redirection (>) or the 'script' command, printed and handed in along with your answers to the questions. Source code must be fully commented, including your name and the problem number.