default deny
A starting policy that blocks all traffic, so only connections you then explicitly allow are possible.
In more detail
It forces every open path to be deliberate: allow only the protocols and ports a service needs, from the sources that need them. The default policy and the rule order together decide what happens to a packet no rule matched.
Related terms
- NetworkPolicy — A Kubernetes object that controls which pods may send traffic to or receive traffic from which others, by labels, namespaces and IP ranges.
- least privilege — Giving every program and person only the access they need, and nothing more.
- firewall — Software or a device that allows or blocks network traffic according to rules about direction, interface, protocol, port and source.
- rule order — The sequence in which firewall rules are checked; in first-match systems the first rule that matches a packet decides its fate.
Taught in
- Services And Networking: Timed Drill And Checkpoint — Certified Kubernetes Application Developer (CKAD) Exam Prep
- NetworkPolicy And The Consul Service Mesh Boundary — Kubernetes: Production-Grade Container Orchestration
- Firewalls: Default Deny, State And Rule Order — Linux Fundamentals & Systems Administration
References
- Kubernetes: Default policies
- NIST SP 800-41 Rev. 1: Guidelines on Firewalls and Firewall Policy
- nftables wiki: configuring chains (policy)