Packet Flow through an ASA Firewall - IP-NETWORK-BASICS (2024)

Cisco, General, Routing and Switching, Security, Troubleshooting

Packet Flow through an ASA Firewall - IP-NETWORK-BASICS (1)

In this topic, I will talk about step by step flow of traffic from ingress to egress interface. To simplify the interface that receives the packet is called the ingressinterface and the interface through which the packet exits is called theegress interface. Here is a sample scenario:

Packet Flow through an ASA Firewall - IP-NETWORK-BASICS (2)

When an inside user (192.168.1.5) attempts to access a web server in the demilitarized zone (DMZ) network (172.16.1.5), the packet will use the below information :

  • Source address – 192.168.1.5
  • Source port – 22960
  • Destination address – 172.16.1.5
  • Destination port – 8080
  • Ingress interface – Inside
  • Egress interface – DMZ
  • Protocol used – TCP (Transmission Control Protocol)

A packet will go through a list of steps with the above information :

  1. The packet first reached at the ingress interface of the ASA.
  2. After reaching to internal buffer of the interface, the input counter of the interface is incremented by one.
  3. Cisco ASAfirst looks at its internal connection table details in order to verify if this is a current connection.If the packet flow matches a current connection, then the Access Control List (ACL) check is bypassed and the packet is moved forward.If packet flow does not match a current connection, then the TCP state is verified. If it is a SYN packet or UDP (User Datagram Protocol) packet, then the connection counter is incremented by one and the packet is sent for an ACL check. If it is not a SYN packet, the packet is dropped and the event is logged.
  4. If the packet cross-step 3, it is then processed as per the interface ACLs. It is verified in the sequential order of the ACL entries and if it matches any of the ACL entries, it moves forward. Otherwise, the packet is dropped and the information is logged. The ACL hit count is incremented by one when the packet matches the ACL entry.
  5. In the next step the packet is verified for the translation rules. If a packet passes through this check, then a connection entry is created for this flow and the packet moves forward. Otherwise, the packet is dropped and the information is logged.
  6. The packet is subjected to an Inspection Check. This inspection verifies whether or not this specific packet flow is in compliance with the protocol. Cisco ASA has a built-in inspection engine that inspects each connection as per its pre-defined set of application-level functionality. If it passed the inspection, it is moved forward. Otherwise, the packet is dropped and the information is logged.Additional security checks will be implemented if a Content Security (CSC) module is involved.
  7. The IP header information is translated as per the Network Address Translation/ Port Address Translation (NAT/PAT) rule and checksums are updated accordingly. The packet is forwarded to Advanced Inspection and Prevention Security Services Module (AIP-SSM) for IPS related security checks when the AIP module is involved.
  8. The packet is forwarded to the egress interface based on the translation rules. If no egress interface is specified in the translation rule, then the destination interface is decided based on the global route lookup.
  9. On the egress interface, the interface route lookup is performed. Remember, the egress interface is determined by the translation rule that takes priority.
  10. Once a Layer 3 route has been found and the next hop identified, Layer 2 resolution is performed. The Layer 2 rewrite of the MAC header happens at this stage.
  11. The packet is transmitted on the wire, and interface counters increment on the egress interface.

Few show commands to verify the output in each step:

show interface
show conn
show access-list
show xlate
show service-policy inspect
show run static
show run nat
show run global
show nat
show route
show arp

Related

Packet Flow through an ASA Firewall - IP-NETWORK-BASICS (2024)
Top Articles
Means of Verification/Data Collection | CVE Reference Guide for
Can I pay off my student loan in full at any time? | Consumer Financial Protection Bureau
Golden Abyss - Chapter 5 - Lunar_Angel
Where are the Best Boxing Gyms in the UK? - JD Sports
Pangphip Application
DEA closing 2 offices in China even as the agency struggles to stem flow of fentanyl chemicals
Robinhood Turbotax Discount 2023
3472542504
Craigslist Deming
Craiglist Galveston
Magic Mike's Last Dance Showtimes Near Marcus Cedar Creek Cinema
Daily Voice Tarrytown
Grayling Purnell Net Worth
2020 Military Pay Charts – Officer & Enlisted Pay Scales (3.1% Raise)
Craigslist In Visalia California
Sadie Proposal Ideas
Uta Kinesiology Advising
Eine Band wie ein Baum
Adt Residential Sales Representative Salary
Doublelist Paducah Ky
Pocono Recird Obits
Plaza Bonita Sycuan Bus Schedule
Bra Size Calculator & Conversion Chart: Measure Bust & Convert Sizes
Firefly Festival Logan Iowa
Cinema | Düsseldorfer Filmkunstkinos
Loopnet Properties For Sale
Was heißt AMK? » Bedeutung und Herkunft des Ausdrucks
Pch Sunken Treasures
Pokemmo Level Caps
Lake Dunson Robertson Funeral Home Lagrange Georgia Obituary
Cvb Location Code Lookup
Etowah County Sheriff Dept
Flashscore.com Live Football Scores Livescore
Craigslist Georgia Homes For Sale By Owner
Giantess Feet Deviantart
Mydocbill.com/Mr
Sunrise Garden Beach Resort - Select Hurghada günstig buchen | billareisen.at
Indiana Jones 5 Showtimes Near Cinemark Stroud Mall And Xd
How Does The Common App Work? A Guide To The Common App
Clima De 10 Días Para 60120
Gym Assistant Manager Salary
Sofia Franklyn Leaks
Toomics - Die unendliche Welt der Comics online
Reilly Auto Parts Store Hours
War Room Pandemic Rumble
Samsung 9C8
Minterns German Shepherds
Arginina - co to jest, właściwości, zastosowanie oraz przeciwwskazania
Westport gun shops close after confusion over governor's 'essential' business list
Kidcheck Login
Www Extramovies Com
Latest Posts
Article information

Author: Fredrick Kertzmann

Last Updated:

Views: 5809

Rating: 4.6 / 5 (46 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Fredrick Kertzmann

Birthday: 2000-04-29

Address: Apt. 203 613 Huels Gateway, Ralphtown, LA 40204

Phone: +2135150832870

Job: Regional Design Producer

Hobby: Nordic skating, Lacemaking, Mountain biking, Rowing, Gardening, Water sports, role-playing games

Introduction: My name is Fredrick Kertzmann, I am a gleaming, encouraging, inexpensive, thankful, tender, quaint, precious person who loves writing and wants to share my knowledge and understanding with you.