Access Control
Cheat sheet · https://pcornel.dk/topic.php?topic=407
Answer
Network access control decides which sources may reach which destinations and services. It is enforced at specific points — an interface ACL, a firewall rule, a zone policy — each with an order of evaluation and a default action.
Remember
Find the enforcement points on the path before reading any rules: there may be several, and each must permit the flow. First match wins and the default is deny. A stateless filter needs the return direction permitted; a stateful one does not. Counters and logs show the decision actually taken.
First checks
show access-lists— ACL hit counts (Cisco)- Access control matrix — who may reach what
nmap -Pn -p <ports> <target>— verify enforcement
Commands
show access-lists- Local state
Verify in this order
source → policy match → permit/deny
Where it usually breaks
First mismatch in endpoint/identity → path/reachability → policy selection → enforcement/session → protected flow → telemetry/detection; preserve identity/policy/pre-state before mutation.
Network Security → Access Control proof map
| Boundary | Establish | Does not establish |
|---|---|---|
| Scope and intent | Exact subjects, destinations, application, direction, trust zone and expected decision | Does not prove effective path, identity, cryptography or enforcement |
| Effective control state | Resolved rule/policy, session/SA, identity/posture, translation and selected path | Object/config presence does not prove a match or packet outcome |
| Runtime evidence | Correlated client, authenticator/firewall/VPN, AAA and destination observations for one flow/time | A single log or success does not prove every packet, peer, path or failover state |
| Closure | Original allowed/denied operation behaves as intended and regression/failure tests pass | Administrative commit or tunnel-up state alone is not closure |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=407