Pcornel
Security · Network Security

Access Control

Cheat sheet · https://pcornel.dk/topic.php?topic=407

Back to the Topic

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

BoundaryEstablishDoes not establish
Scope and intentExact subjects, destinations, application, direction, trust zone and expected decisionDoes not prove effective path, identity, cryptography or enforcement
Effective control stateResolved rule/policy, session/SA, identity/posture, translation and selected pathObject/config presence does not prove a match or packet outcome
Runtime evidenceCorrelated client, authenticator/firewall/VPN, AAA and destination observations for one flow/timeA single log or success does not prove every packet, peer, path or failover state
ClosureOriginal allowed/denied operation behaves as intended and regression/failure tests passAdministrative 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

Confirmation

Confirm action

Continue?