Security Design
CSIS 3756
Midterm 2
Due date: 11:59pm Tuesday, November 20.
- Explain
the difference(s) between iptables as a
firewall, and inetd as a firewall. You don’t
need to get into specifics of either; rather, I’m looking for the basic
capabilities of each, and how they differ.
- A
recurring theme in setting up secure system services (in both Windows and
UNIX) is that each service (e.g., web server, database server) has its own
user ID. What advantages does this have?
- Explain
briefly how the hosts.allow and hosts.deny files work. Specifically, explain how to
block a site and/or service, and how to allow one.
- One
method of securing UNIX services is to run their servers in a “chroot jail.” Explain the concept; again, you don’t
need to get into details of commands, I’m looking for the general concept.
- Describe
how you can set up a web server that securely provides user-supplied
files, while not having access to user files that are private.
- Two
methods of encrypting email are to use secure sockets (SSL) to encrypt the
transmission to/from the mail server, and PGP to encrypt an entire message
prior to transmission.
- What
does each method secure?
- What
are the drawbacks of each method?
- (Extra
credit) Show how to configure either iptables
(via /etc/sysconfig/iptables) or inetd/tcpd (via hosts.allow
and hosts.deny) to:
- Allow
SSH access from anywhere
- Allow
inbound http access from anywhere on campus (150.134.0.0/16)
- Allow
Samba (nmb, smb, winbind) access from our labs (150.134.160.0/24)
- Block
all other access