Internet connection

1. Answer the Following Questions
a. How is vsftpd more secure than other FTP server?
vsftpd is more secure than other FTP servers because it does not run root privileges making it more difficult to compromise the system directly.

b. What is the difference between passive and active FTP?
The difference between a passive and an active FTP connection is the that in passive mode, the client initiates the connection to the server (on port 20 by default). In active mode, the server initiates the connection, having no default port.

c. Why is ASCII transfer sometimes necessary?
ASCII transfer is sometimes necessary in order to performs conversion between different code sets.

d. If you want vsftpd to run in standalone mode, what do you need to set in vsftpd.conf? Set the listen parameter to YES in the vsftpd.conf file

e. A user tries to log in, provides a user name, and gets denied. What settings would cause this and how? Setting /etc/vsftpd/ftpusers lists users that are not allowed to log in on the FTP server

f. What is a directive that has an opened and closed tag instead of being a single word called? Directive that has an opened and closed tag instead of being a single word is a container

g. What is the ability to respond to multiple IPs or names as if the server were multiple servers called? Virtual Hosting

2. You can create virtual hosts by host names or IP addresses. Explain the basics of how each type works. IP-based virtual hosts use the address of the connection to decide the correct virtual host to connect to. In order for name-based virtual hosting to work, the server depends on the client to deliver the hostname as part of the HTTP headers. Many different hosts can share the same IP address using this method.