|
Cisco CBAC – The Poor Mans Firewall
CBAC Overview
The Cisco IOS Firewall Feature Set is a module that can be added to the existing IOS to provide firewall functionality without the need for hardware upgrades. There are two components to the Cisco IOS Firewall Feature Set in Intrusion Detection (which is an optional bolt-on) and Context-Based Access Control (CBAC). CBAC maintains a state table for all of the outbound connections on a Cisco router by inspecting tcp and udp connections at layer seven of the OSI model and populating the table accordingly. When return traffic is received on the external interface it is compared against the state table to see if the connection was originally established from within the internal network, and then either permitted or denied. Although basic this is a very effective mechanism to prevent unauthorized access to the internal network from external sources such as the internet.
CBAC Application-specific support
Cisco have also built in some additional functionality into CBAC in terms of application-specific inspection that enables the router to recognize and identify application specific data flows such as HTTP, SMTP, TFTP, and FTP. Understanding these applications and their data flows empowers the router to identify malformed packets or suspect application data flows and permit or deny accordingly. CBAC also provides the flexibility of downloading Java code from trusted sites, but it denying untrusted sites.
CBAC and Denial of Service (DOS) Attacks
Denial-Of-Service (DOS) attack protection is also in-built with real-time logging of alerts as well as pro-active responses to mitigate the threat. To do this CBAC can be configured to manage half-open TCP connections which are used in TCP SYN flood attacks to overload a targets resources resulting in a denial of service to legitimate users. To do this CBAC uses timeouts and thresholds, which are configurable, to determine how long state information for each connection should be kept for sessions and when to drop them. Note that UDP and ICMP require that an idle-timer limit is used to determine when a connection should be terminated. A very useful command to identify a DOS attack is ‘ip inspect audit-trail’ which logs all DOS connections including source and destination IP address and TCP or UDP ports allowing you to pin-point the exact source and destination of the attack.
Configuring CBAC
There are five steps to configuring CBAC on a Cisco router in order for it to function correctly. These are as follows: 1. Choose an interface to which inspection will be applied. This can be an internal or external interface as CBAC is only concerned with the direction of the first packet initiating the connection which is identified when applying CBAC to an interface. 2. Configure an IP access list in the correct direction on the selected interface to allow traffic through for CBAC to inspect. 3. Configure global timeouts and thresholds for established connections or sessions. 4. Define an inspection rule specifying exactly which protocols will be inspected by CBAC. 5. Apply the inspection rule to the interface in the correct direction.
|
This article has been viewed 161 times.
Rate Article
Rating: 0 / 5 stars - 0 vote(s).
Article Comments There are no comments for this article.
Leave A Reply
Related Articles
- NTP Servers: Basic NTP Configuration
- History of Time Keeping, Calendars, Clocks and NTP Servers
- Basic RIP (Routing Information Protocol) Implementation
- Cisco CCNA And CCENT Certification Training: 10 Frame Relay Practice Exam Questions
- Cisco CCNA, CCNP, and CCENT Certification Exam Practice: Switches, Recon Attacks, And More!
- How To Install Outdoor Fiber Optic Cables In Underground Ducts And Innerducts
- 7 Layers of the OSI Reference Model
- VoIP Business Phone Systems
- The Basics of Computer Network Security
- MySpace Tips: Do's and Don'ts
- Give A New Lease On Life to Your PC by Installing A Registry Cleaner
- Common Problems in Home Computing
- Instant Remote Desktop Access for Business and Personal Use
- Smart Meters, M2M and Cellular Technology
- The Connecting Spaces Online
- Conferencing solutions
- Importance of Technical Help Desk
- IT Network Support and Solutions
- The Excellent Features Which Can be Found With GPS Magellan
- Solutions for Small Business Computer Networks
- Will and Vision
- Wifi Sniffer - Detect the Presence Of Other Wireless Devices
- London Data Centre
- Optimizing Your Network Printers
- TCP/IP architecture model
- Cisco CCNA And CCNP Practice Questions: Static Routing, Hex Conversions, and More!
- Social Networking Meets Blog Networking
- A Review of the Top Leads Network Marketing Companies
- How To Set Up A Wireless Network Using Satellite Internet Service
- CCNA, CCENT, Network+, Security+ Practice Questions: EIGRP, Teardrop Attacks, And More!
|