up

2020-02-05

Firewalls are a kind of access control

These three things are close together:

Subjects vs Objects

Access Control List - ACL - a list attached to an object that says what subjects may perform what action

There are two kinds of firewalls:

They can do other things too:

This will be on the test:

When the IP header ‘next protocol’ field is ‘4’, it means the content is another IP packet.

Levels of Inspection:

Things firewalls and such can do about packets:

Things firewalls typically also do:

Oh boy more things they can do:

“Why even have little firewalls?” -> “It’s a good first line of defense in depth”

HB says to read “Firewalls don’t stop dragons”

Linux Firewall Structure

netfilter provides hooks into the packet processing stack. iptables allows the user to read/write packet processing policy.

IPTables has multiple Tables, each of which has many Chains, each of which has many Rules.

Tables:

Chains - in order of when they hit: