AccessListParser

Groups all ACL entries under a parent ip access-list header.

  • Location: parsers/access_list_parser.py
  • Captures ip access-list standard|extended header.
  • Uses the following parsing sequence:
    • First pass: capture the header name and type.
    • Second pass: parse each sequence (10 permit, 20 deny, 30 remark, etc.), modeling protocol, qualifiers, IPs, masks, and ranges.
  • Outputs one ParsedLine per ACL with all entries inside.

  • Challenge: maintaining sequence numbers and understanding components of access lists (why some lines include two IP addresses, tcp vs udp vs icmp protocols, etc)