Firewalls
Firewall
Rules deciding, packet by packet, what may reach or cross a device.
A firewall is a set of rules that decide, packet by packet, what may reach or cross a device. Each rule matches addresses, ports, interfaces or connection state, then accepts, drops or rejects; rules are read in order and the first match decides. Routing gets a packet somewhere; the firewall decides whether it may go. A network firewall only governs traffic that crosses it.
Read next
- Access control list An ordered list of permit and deny lines a router checks each packet against, applied to a card in or out.
- Stateful firewall A firewall that remembers connections, so it can allow replies while refusing new connections in.
- Drop or reject Two ways to refuse a packet: silence, or an explicit answer.
- Port forward One port on the router's public address passed to one device and port inside.
- Forward proxy A server that makes web requests on its users' behalf, and so can allow or refuse them by name and URL.
- Next-generation firewall A stateful firewall that also identifies the application in each flow and applies proxy and IPS rules to it.
- Dual stack Running IPv4 and IPv6 side by side; each connection picks one.
- Security groups and network ACLs The cloud's two firewalls: stateful allow rules on each instance, and stateless numbered rules on each subnet.
- Packet capture A copy of the packets crossing a network card, read live or saved to a file.
- DMZ A network apart for the servers the internet may reach, so breaking into one opens nothing behind it.
- Firewall types From packet filters to next-generation firewalls: how much of the traffic each kind understands.
- SOCKS proxy A circuit-level gateway: it opens any TCP connection a client asks for and relays the bytes unread.
- Bastion host One hardened machine that is the only way into a private network.
- Zero trust Granting nothing for being on the network: every request to every service is authenticated and authorized.
- Defense in depth Overlapping controls so that when one fails, another still catches or contains the attack.
- Fail open and fail closed What an inline security device does to traffic when it stops: let it all through, or let none through.
- Port scanning Probing an address's ports to learn which services it exposes, and whether a firewall sits in the way.
- DNS tunneling and exfiltration Smuggling data in and out of a network by encoding it inside DNS queries, which firewalls usually let through.
- SYN flood and SYN cookies Forged SYNs that fill a server's half-open connection queue, and the stateless trick that defeats them.