ACLs
ACLs are executable policy in netverdict. They are used for interface filters, flow search, firewall inputs, and route/policy analysis where packet-like matching is required.
Support level
Section titled “Support level”| Area | Level | Notes |
|---|---|---|
| IPv4 standard ACLs | Supported | Source-only matching. An ASA standard access-list matches the destination network, as on the ASA (it names networks for split-tunnel and route maps). |
| IPv4 extended ACLs | Supported | Protocol, source/destination, ports, ranges, established, and TCP flag masks. |
| IPv6 ACLs | Supported | Named IPv6 ACLs and interface traffic filters, from the startup config or typed at the console. icmp in an IPv6 list is ICMPv6. Port match is eq only. |
| Object groups | Partial | IOS: network groups in address positions. ASA also reads service, protocol and icmp-type groups, and name aliases. |
| ASA global access list | Supported | access-group X global applies after each interface’s inbound list and is written back as typed. |
| ASA entry options | Supported | ICMP types after the destination, time-range and inactive take effect; log has no effect. |
| Time ranges | Supported | ACL entries can be active only during configured simulation time. |
| Flow search | Supported | ACL evaluator is used by reachability search. |
| Symbolic analysis | Supported | ACLs are also evaluated over every header at once: shadowing, equivalence, and reachability proofs. See Analysis. |
Standards coverage
Section titled “Standards coverage”| Standard | Coverage | Notes |
|---|---|---|
| Cisco IOS ACL semantics | Behaviour model | Ordered first-match permit/deny with implicit deny. |
| IPv6 ACL semantics | Behaviour model | IPv6 prefix/protocol/port matching. |
Feature matrix
Section titled “Feature matrix”| Feature | Status | Notes |
|---|---|---|
| Numbered ACL | Supported | Standard and extended ranges. |
| Numbered standard wildcard form | Supported | access-list 10 permit 10.10.0.0 0.0.255.255. |
| Named ACL | Supported | IPv4 and IPv6. |
permit / deny | Supported | Ordered rule evaluation. |
| Protocol match | Supported | IP, TCP, UDP, ICMP, and common aliases. |
| Port operators (IPv4) | Supported | eq, lt, gt, range. |
neq | Not modelled | Reported as unrecognized. The model holds a port or a range, not a hole in one. |
| Port operators (IPv6) | Partial | eq works. lt, gt, and range are reported as unrecognized. |
established | Supported | Matches ACK or RST set. |
| TCP flag masks | Supported | IOS match-all / match-any with +flag / -flag; iptables --tcp-flags and --syn. |
| Object-group references | Partial | Network groups, nested groups. A missing group matches nothing. |
| Time-range references | Supported | Active/inactive rule gating. |
| Interface binding | Supported | Inbound/outbound direction on routed ports and subinterfaces. |
| SVI binding | Supported | ip access-group on interface VlanN filters what is routed into the router from the VLAN (in) or out into it (out), including a frame a switch flooded because it had not learned the router’s MAC yet, and a wireless client’s traffic on a controller. Traffic bridged within the VLAN is not touched, as on IOS. |
| Port ACL (PACL) | Supported | ip access-group X in on a switchport (access or trunk, every VLAN) filters IPv4 entering the port, bridged or routed through an SVI. ARP and IPv6 pass. out on a switchport is kept and filters nothing (Catalyst PACLs are inbound only). |
vty access-class | Supported | line vty ... access-class X in [vrf-also] decides which sources reach the box’s SSH and Telnet. Without vrf-also, a session from a VRF port is refused. ipv6 access-class has no effect. |
CBAC ip inspect | Supported | Lets the replies of watched sessions back through an inbound ACL. |
| Logging | No effect | log / log-input is kept on the entry and reported. There is no ACL hit log. |
Vendor command matrix
Section titled “Vendor command matrix”| Command | IOS-style | Junos-style | VyOS-style | Notes |
|---|---|---|---|---|
access-list 10 permit 10.0.0.0 0.0.0.255 | Supported | n/a | Partial | Standard IPv4 ACL. |
access-list 10 permit 10.10.0.0 0.0.255.255 | Supported | n/a | n/a | IOS/IOS-XE wildcard form. |
ip access-list extended WEB | Supported | n/a | Partial | Named extended ACL. |
ipv6 access-list V6-IN | Supported | n/a | Partial | IPv6 ACL. |
object-group network SERVERS | Supported | n/a | Partial | Object group. |
time-range WORKHOURS | Supported | n/a | n/a | Time-gated entries. |
ip access-group WEB in | Supported | n/a | Partial | Interface binding. |
show access-lists | Supported | n/a | Partial | ACL view. Junos has no firewall-filter show yet. |
show object-group [NAME] | Supported | n/a | n/a | Network object groups and their members. |
show time-range [NAME] | Supported | n/a | n/a | Each range, active or inactive on the simulated clock, and the lists that name it. |
Other vendors’ filters are imported too: IOS-XR ACLs, NX-OS IPv4 and IPv6
ACLs, ASA access lists with objects, AireOS controller ACLs, Junos firewall
filters (with source-prefix-list / destination-prefix-list), VyOS
firewall, OpenWrt, Linux iptables, and RouterOS.
Behaviour notes
Section titled “Behaviour notes”Evaluation is strictly ordered. The first matching ACE decides the result, and an implicit deny remains at the end. That rule is intentionally visible in flow search results because hidden policy failures are painful to debug.
A line that cannot be represented exactly is reported, not guessed. Guessing would silently match too much or too little.
Examples
Section titled “Examples”Canonical example
configure terminalip access-list extended WEB-IN permit tcp 10.0.0.0 0.0.0.255 host 192.0.2.10 eq 443 deny ip any anyinterface GigabitEthernet0/0 ip access-group WEB-IN inendshow access-listsVendor styles
IOS-style
ip access-list extended WEB-IN permit tcp 10.0.0.0 0.0.0.255 host 192.0.2.10 eq 443interface GigabitEthernet0/0 ip access-group WEB-IN inJunos-style
set firewall family inet filter WEB-IN term allow-web from source-address 10.0.0.0/24set firewall family inet filter WEB-IN term allow-web from destination-address 192.0.2.10/32set firewall family inet filter WEB-IN term allow-web from destination-port 443set firewall family inet filter WEB-IN term allow-web then acceptVyOS-style
set firewall name WEB-IN rule 10 action acceptset firewall name WEB-IN rule 10 protocol tcpset firewall name WEB-IN rule 10 destination port 443set interfaces ethernet eth0 firewall in name WEB-INTry it
Section titled “Try it”- ACL: block a single host
- ACL: named extended
- Extended ACL with port ranges
- Extended ACL with
object-group network - ACL with
time-range
Known limits
Section titled “Known limits”Reflexive ACLs, dynamic ACL lock-and-key, neq, IPv6 port ranges, IOS service
object groups, ACL hit logging, and every vendor parser variant are not
implemented.