Charles Bales NT1430 Unit 10 Chapter Exercises (NT1430.U10.GA1) CHAPTER 19 EXERCISES pp. 726-727 1-10 1. What changes does FTP make to an ASCII file when you download it in ASCII mode to a Windows machine from a Linux server? What changes are made when you download the file to a MAC? None. FTP only makes changes necessary for compatibility with Unix vs. Windows line / carriage returns. Linux and Mac OS X both use UNIX-style newlines. 2. What happens if you transfer an executable program file in ASCII mode? The file will be corrupted: Any bytes that match a NEWLINE will be altered, resulting in a program that will not execute properly 3. When would ftp be a better choice than sftp? When downloading public files 4. How would you prevent local users logging in on the vsftpd server using their system username and password? Put the following line in /etc/vsftpd/vsftpd.conf: local_enable=NO 5. What advantages does sftp have over ftp? Ftp is NOT a secure protocol. All usernames and passwords exchanged in setting up an FTP connection are sent in cleartext, data exchanged over and FTP connection is not encryption and the connection is subject to hijacking. A SFTP protocol however, is secure, thus your information is far safer . 6. What is the difference between cd and lcd in ftp? A cd command changes the remote working directory, while lcd changes the local working directory. 7. Why might you have problems connecting to an FTP server in PORT mode? You might have problems connecting to an ftp server in port mode because the server has blocked that port. Due to attacks from intruders, the administrator of the server may have disabled that port. Try using a different working port to connect to the server. 8. Why is it advantageous to run vsftpd in a chroot jail? Any program that listens for Internet connections is vulnerable to compromise. If a daemon that runs with root privileges is compromised, then the entire system is compromised. Although the vsftpd daemon does not run with root privileges, a malicious user may still be able
UNIT 1 ASSIGNMENT2A bus network is an arrangement in a local area network (LAN) in which each node is connected to a main cable or link called the bus. A bus network is simple and reliable. If one node fails to operate, all the rest can still communicate with each other. For a major disruption tooccur, the bus itself must be broken somewhere. Bus networks are easy to expand; additional nodes can be added anywhere along the bus.There are several limitations to the bus network topology. The length of the bus is limited by cable loss. A bus network may not work well if the nodes are located at scattered points that do not lie near a common line[Mar052].A ring network is a local area network (LAN) in which the nodes are connected in a closed loop configuration. Adjacent pairs of nodes are directly connected. Other pairs of nodes are indirectly connected, the data passing through one or more intermediate nodes.