What is ACL (access control list)?
A list of rules stating, for each object, which accesses are permitted and which are denied. On network equipment, it decides whether to pass or drop packets based on conditions such as source and destination addresses, protocol and port numbers, checking the rules from the top and deciding by the first one that matches. Anything that matches no rule is generally denied (the implicit deny). In file systems, a list of permissions per user is also called an ACL.
Read the beginner explainer: What Is a Firewall? How It Allows and Blocks Traffic
Japanese name: ACL(アクセス制御リスト)
ACL (access control list) appears in 1 practice question across 1 topic, including Network Design and Operations.
Field: Network Design and Operations
Where and in which direction to apply
An ACL is configured on a router or switch interface for either incoming or outgoing packets. An ACL that specifies source, destination and port numbers in detail is best placed near the source, so unwanted traffic is dropped early and does not waste links along the way. An ACL that matches only on the source would also block traffic to other destinations if placed near the source, so it is normally placed near the destination. An ACL looks at each packet on its own, so to let through only the return traffic of connections started from inside, the stateful features of a firewall, which remember connection state, are used.
FAQ
Do I need to write "deny all" at the end of an ACL?
Most equipment has an implicit deny at the end, so traffic that is not permitted is discarded even if you do not write it. However, when you want to record denied traffic, you may write an explicit "deny all" rule with logging enabled. Conversely, applying an ACL that contains only deny rules stops all traffic because of the implicit deny, so care is needed.
What is the difference between an ACL and a firewall?
An ACL permits or denies packets one by one according to rules and is a basic feature of routers and switches. A firewall is dedicated equipment or software that, in addition to ACL-like rules, offers features such as stateful inspection, which remembers connection state and automatically lets return traffic through, and application identification.