Cornell University

Big Red Doors... and Walls

Firewall Deployment Considerations

Cornell Security Seminar, August 29, 2001

This web page is also available as a PowerPoint presentation.

Purpose

What is a firewall?

... "prevents unauthorized access to information resources by placing a barrier between an organization's network and an unsecured network" such as the Internet.

Rich Kosinski, president and founder of Internet Security Corporation

Why do I need a firewall?

The Internet, like any other society, is plagued with the kind of jerks who enjoy the electronic equivalent of writing on other people's walls with spraypaint...

Usually, a firewall's purpose is to keep the jerks out of your network while still letting you get your job done.

It is the embodiment of the corporate data access policy.

What can a firewall do?

Firewall policies generally implement one of two basic design policies:

What can't a firewall do?

"They buy a $50 modem with petty cash, plug it into a PC on the network and... dial out to a local service provider. What they don't realize is that they have just made the company network part of the Net."

False Sense of Security

See illustration

Part of a system

Protection Objective ... Risk ... Control (firewall)
See illustration

Protection Objectives

The most important thing about a firewall is that it implements an access control policy

To permit someone or some product to configure a firewall based on what they think it should do, then they are making policy for your organization

All aspects of the environment change continuously - and must be re-evaluated continuously

Risk

Risks are threats to your objectives

Risk Assessment should address:

The Key Issue

Controls

Acceptable Risk

See illustration

Three types

Firewalls come in three basic flavors:

  1. Packet-filtering routers
  2. Application level (proxy) servers
  3. Hybrid

Filtering Rules

Filtering Rule Example

  1. Allows outgoing telnet connections to be initiated
  2. Allows incoming packets that are part of an existing session
  3. Blocks incoming attempts to open a connection*
  4. Enforces our policy - "Deny if not expressly permitted"
Packet
Direction
Source
Address
Dest.
Address
Packet
Type
Source
Port
Dest.
Port
ACK Bit
Set?

Action
Outgoing Internal Any TCP >1023 23 Any Permit
Incoming Any Internal TCP 23 >1023 Yes Permit
Incoming External Internal TCP >1023 23 No Deny

Simple Firewall Implementation

See illustration

The Key Issue

The key issue is POLICY, not PLUMBING

Firewall Standards to Consider

MANAGEMENT REQUIREMENTS

USABILITY REQUIREMENTS

Cornell Specific Services

  • Informix
    ­ sqlexec 1526/tcp
    ­ cockpit 1555/tcp
  • Corporate Time
    ­ 5730/tcp
  • Vantive
    - 1550/tcp
  • Oracle
    ­ Orasrv 1525/tcp
    ­ Sqlexec 1555/tcp
    ­ Coauthor 1529/ucp
  • Kerberos
    - 750/udp
  • SideCar
    ­ 750/udp
    ­ 913/tcp
    37/udp (time)

Acceptable Services

  • WWW
  • FTP
  • DNS
  • SMTP
80/tcp-udp
20-21/tcp-udp
53/tcp-udp
25/tcp-udp

Dangerous Services

Well Known Evil Ports

Architectural considerations

Application Security

Host based firewall

Departmental Firewalls, Managed Firewall Service

"Gateway" firewall to the Internet

Companion Technologies

Firewalls are often complemented by
VPN
A Virtual Private Network is a mechanism to extend the policies under which the network operates out into the Internet itself

IDS
An Intrusion Detection System is designed to identify traffic that the security policy defines as inappropriate. Many implementations are integrated with the firewall to such an extent that it can modify the ruleset on the firewall in response to actual traffic conditions. It also serves as a useful tool to monitor the effectiveness and condition of the firewall itself.

Purpose

Questions ??


This page is developed and maintained by the Office of Information Technologies. Please write to us with your feedback at security@cornell.edu.


Last updated June 04, 2007