Firewalling I

Summary

At the first Chemnitz LinuxTag in 1999, Alexander Schreiber from TU Chemnitz explained the basics of firewalls. A firewall is meant to protect your own system from attacks from the internet and, if necessary, also restrict what users on the local network may do. The first part of the talk covered how firewalls work, security architectures and the limits of firewalls.

What is a firewall?

A firewall uses rules to decide which data packets are allowed through between two networks. The typical principle is “deny everything that is not explicitly allowed”: from outside, only the services actually offered, such as a web server, should be reachable.

Schreiber stressed a point that still applies today: if protection is not to hinder users’ work, a deep understanding of the technical basics is needed. A firewall whose rules nobody understands ends up either too open or blocking things that are needed.

Why it was a big topic in 1999

In the late 1990s many companies and households went online permanently for the first time. Linux was a popular, inexpensive platform for routers and firewalls. Linux 2.2 brought ipchains as a packet filter in 1999, followed by netfilter with iptables in Linux 2.4 in 2001, which remained the standard for almost fifteen years. Today nftables takes over this task.

Ideas

  • A firewall only lets explicitly allowed traffic pass between networks.
  • Firewalls not only protect against the outside but can also restrict users on the local network.
  • Good rules require an understanding of the protocols and services.

Insights

  • A firewall is only as good as the understanding of the person who configures it.
  • Firewalls have limits: they do not protect against attacks via permitted services.

Facts

  • The talk took place at the first Chemnitz LinuxTag in 1999.
  • The speaker was Alexander Schreiber from TU Chemnitz.
  • Linux 2.2 brought the ipchains packet filter in 1999, Linux 2.4 brought iptables in 2001.

References

Remarks

  • Alexander Schreiber spoke several more times at the Chemnitz Linux Days in later years, including on Nagios in 2004, monitoring at home in 2015 and a home-built NAS in 2017.

Recommendations

  • Start every firewall with a default rule that denies everything, then allow specific traffic.
  • For each rule, document which service it opens and why.

Open the programme item

Search the Web Archive

Found a mistake or have something to add? Get in touch.