


 



<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://docwiki.cisco.com/w/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://docwiki.cisco.com/w/index.php?title=Special:Contributions/Collaborativefusion&amp;feed=atom&amp;limit=50&amp;target=Collaborativefusion&amp;year=&amp;month=</id>
		<title>DocWiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://docwiki.cisco.com/w/index.php?title=Special:Contributions/Collaborativefusion&amp;feed=atom&amp;limit=50&amp;target=Collaborativefusion&amp;year=&amp;month="/>
		<link rel="alternate" type="text/html" href="http://docwiki.cisco.com/wiki/Special:Contributions/Collaborativefusion"/>
		<updated>2013-05-21T17:02:23Z</updated>
		<subtitle>From DocWiki</subtitle>
		<generator>MediaWiki 1.16.0</generator>

	<entry>
		<id>http://docwiki.cisco.com/wiki/User:Collaborativefusion</id>
		<title>User:Collaborativefusion</title>
		<link rel="alternate" type="text/html" href="http://docwiki.cisco.com/wiki/User:Collaborativefusion"/>
				<updated>2010-11-01T01:34:03Z</updated>
		
		<summary type="html">&lt;p&gt;Collaborativefusion: Add URL&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The user 'collaborativefusion' is the CCO shared meta-user for official business by Collaborative Fusion, Inc. employees.  &lt;br /&gt;
&lt;br /&gt;
http://www.collaborativefusion.com&lt;br /&gt;
&lt;br /&gt;
Employees are encouraged to use personal CCO accounts to make manage large scale infowiki projects.&lt;br /&gt;
&lt;br /&gt;
[[Category:Collaborative Fusion, Inc.]]&lt;/div&gt;</summary>
		<author><name>Collaborativefusion</name></author>	</entry>

	<entry>
		<id>http://docwiki.cisco.com/wiki/User:Collaborativefusion</id>
		<title>User:Collaborativefusion</title>
		<link rel="alternate" type="text/html" href="http://docwiki.cisco.com/wiki/User:Collaborativefusion"/>
				<updated>2010-11-01T01:33:38Z</updated>
		
		<summary type="html">&lt;p&gt;Collaborativefusion: Initial content ~BAS&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The user 'collaborativefusion' is the CCO shared meta-user for official business by Collaborative Fusion, Inc. employees.  &lt;br /&gt;
&lt;br /&gt;
Employees are encouraged to use personal CCO accounts to make manage large scale infowiki projects.&lt;br /&gt;
&lt;br /&gt;
[[Category:Collaborative Fusion, Inc.]]&lt;/div&gt;</summary>
		<author><name>Collaborativefusion</name></author>	</entry>

	<entry>
		<id>http://docwiki.cisco.com/wiki/CBAC</id>
		<title>CBAC</title>
		<link rel="alternate" type="text/html" href="http://docwiki.cisco.com/wiki/CBAC"/>
				<updated>2010-11-01T01:19:47Z</updated>
		
		<summary type="html">&lt;p&gt;Collaborativefusion: Improve syntax of example code a bit; my first commit here so go easy on me. ~BAS&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Required Metadata}}&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--Describe the purpose of the example and any unique characteristics of this configuration--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
CBAC (Context-Based Access Conrol)&lt;br /&gt;
&lt;br /&gt;
CBAC provides statefull application layer filtering, including support for unorthodox protocols and multimedia applications. It can examine supported connections for embedded NAT and PAT information and perform the necessary translations. In addition, it can open additional statefull connections for supported applications, such as FTP and H.323.&lt;br /&gt;
&lt;br /&gt;
Features offered by CBAC&lt;br /&gt;
&lt;br /&gt;
Port mapping:- Allows the mapping of ports so that CBAC can perform its application inspection correctly, such as assigning FTP to port 1024 if your FTP server is processing traffic on this port.&lt;br /&gt;
&lt;br /&gt;
Filtering of Java applets:- Filters embedded Java applets on HTTP connections, allowing you to block known malicious sites.&lt;br /&gt;
&lt;br /&gt;
DoS protection:- Detects and prevents Denial of Service (DoS) attacks by limiting the number of connections that a device can set up.&lt;br /&gt;
&lt;br /&gt;
CBAC also provides real time alerts and audit trails.&lt;br /&gt;
&lt;br /&gt;
NOTE:- All the inspection features are applied globally while using CBAC, we don’t have flexibility to do inspection for certain network or interested traffic flow with respect to ip addressing scheme.In order to accomplish the same we can use advance level of IOSFW feature set known as ZBFW(Zone Based Firewall).&lt;br /&gt;
&lt;br /&gt;
Here are the steps to configure CBAC&lt;br /&gt;
&lt;br /&gt;
Step 1. Identify the interfaces as internal and external on your router.&lt;br /&gt;
&lt;br /&gt;
Step 2. Configure the IP ACL rules to filter traffic based on your requiremnet.&lt;br /&gt;
&lt;br /&gt;
Step 3. Now we can change the global timeout values for connections as per requirement.&lt;br /&gt;
&lt;br /&gt;
Step 4. In case if the application is using a nonstandard port number, such as FTP with 1024.Configure Port Application Mapping (PAM).&lt;br /&gt;
&lt;br /&gt;
Step 5. As a next step Configure inspection rules. These rules define what entries are added to the state table and CBAC will open up pin holes for the returning traffic in the ACL rules applied in the opposite direction with respect to inspection rules.&lt;br /&gt;
&lt;br /&gt;
Step 6. Now apply the inspection rules to the respective interface of the router.&lt;br /&gt;
&lt;br /&gt;
Step 7. Final step would be to test the CBAC configuration by passing some interested traffic through the router running CBAC in order to validate the configuration is fine.&lt;br /&gt;
&lt;br /&gt;
==Design==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--Describe any setup details of this configuration and include a topology--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Scenario below shows how we can enable IOSFW(CBAC) on a Router.&lt;br /&gt;
&lt;br /&gt;
Internet———(WAN)Router/CBAC(LAN)———Inside host&lt;br /&gt;
&lt;br /&gt;
Router outside interface 1.1.1.1&lt;br /&gt;
Router inside interface 192.168.10.1&lt;br /&gt;
Inside Host 192.168.10.2&lt;br /&gt;
Natted ip address for Inside Host 1.1.1.4&lt;br /&gt;
&lt;br /&gt;
==Configuration==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--Provide any steps, tips, or suggestions to setting up this configuration successfully--&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ip inspect name IOSFW icmp router-traffic&lt;br /&gt;
ip inspect name IOSFW tcp router-traffic&lt;br /&gt;
ip inspect name IOSFW udp router-traffic&lt;br /&gt;
 &lt;br /&gt;
access-list 151 deny ip any any&lt;br /&gt;
 &lt;br /&gt;
interface FastEthernet0/0&lt;br /&gt;
description **WAN**&lt;br /&gt;
ip address 1.1.1.1 255.255.255.0&lt;br /&gt;
ip access-group 151 in&lt;br /&gt;
ip nat outside&lt;br /&gt;
no shut&lt;br /&gt;
 &lt;br /&gt;
interface FastEthernet0/1&lt;br /&gt;
description **LAN**&lt;br /&gt;
ip address 192.168.10.1 255.255.255.0&lt;br /&gt;
ip nat inside&lt;br /&gt;
ip inspect IOSFW in&lt;br /&gt;
no shut&lt;br /&gt;
 &lt;br /&gt;
CBAC(config)#ip inspect audit-trail&lt;br /&gt;
CBAC(config)#logging buffered debugging&lt;br /&gt;
CBAC(config)#logging on&lt;br /&gt;
CBAC#&lt;br /&gt;
*Mar  1 00:38:30.851: %FW-6-SESS_AUDIT_TRAIL_START: Start tcp session: initiator (192.168.10.2:56162) -- responder (2.2.2.2:23)&lt;br /&gt;
 &lt;br /&gt;
CBAC#sh ip inspect sessions&lt;br /&gt;
Established Sessions&lt;br /&gt;
Session 669F632C (192.168.10.2:56162)=&amp;gt;(2.2.2.2:23) tcp SIS_OPEN&lt;br /&gt;
  &lt;br /&gt;
 &lt;br /&gt;
CBAC#sh ip inspect sessions detailEstablished Sessions&lt;br /&gt;
 Session 669F632C (192.168.10.2:56162)=&amp;gt;(2.2.2.2:23) tcp SIS_OPEN&lt;br /&gt;
  Created 00:00:11, Last heard 00:00:05&lt;br /&gt;
  Bytes sent (initiator:responder) [42:90]&lt;br /&gt;
  In  SID 2.2.2.2[23:23]=&amp;gt;1.1.1.4[56162:56162] on ACL INBOUND  (18 matches)&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
&lt;br /&gt;
* Turn off inspect for unused protocols(Only use what you require).&lt;br /&gt;
* By using the command ''router-traffic'' along with the desired protocol,  inspection is enabled of sessions to/from the router (in addition to session through the router)&lt;br /&gt;
&lt;br /&gt;
==Related show Commands==&lt;br /&gt;
This section provides information you can use to confirm your configuration is working properly.&lt;br /&gt;
&lt;br /&gt;
Other Show Commands&lt;br /&gt;
&lt;br /&gt;
show ip inspect config&lt;br /&gt;
&lt;br /&gt;
show ip inspect interfaces&lt;br /&gt;
&lt;br /&gt;
show ip inspect stat&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Debug Commands&lt;br /&gt;
&lt;br /&gt;
debug ip inspect detail&lt;br /&gt;
&lt;br /&gt;
debug ip inspect tcp&lt;br /&gt;
&lt;br /&gt;
debug ip inspect object-cre&lt;br /&gt;
&lt;br /&gt;
debug ip inspect object-del&lt;br /&gt;
&lt;br /&gt;
debug ip inspect event &lt;br /&gt;
&lt;br /&gt;
Certain show commands are supported by the [https://www.cisco.com/cgi-bin/Support/OutputInterpreter/home.pl Output Interpreter Tool (registered customers only)], which allows you to view an analysis of show command output.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--Add steps to verify that the config is working, including which show commands to use--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Related Information==&lt;br /&gt;
[http://www.cisco.com/cisco/web/support/index.html Technical Support &amp;amp; Documentation - Cisco Systems]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--List links to related information--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--Add appropriate categories--&amp;gt;&lt;br /&gt;
[[Category:Configuration Examples]]&lt;/div&gt;</summary>
		<author><name>Collaborativefusion</name></author>	</entry>

	</feed>