<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>yurisk.info &#187; ASA/PIX Cisco</title>
	<atom:link href="http://yurisk.info/category/cisco/asapix-cisco/feed/" rel="self" type="application/rss+xml" />
	<link>http://yurisk.info</link>
	<description>Yuri Slobodyanyuk&#039;s blog on IT Security and Networking</description>
	<lastBuildDate>Mon, 16 Apr 2012 17:23:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>My Amazon book list for CCIE Security Lab exam</title>
		<link>http://yurisk.info/2011/02/18/my-amazon-book-list-for-ccie-security-lab-exam/</link>
		<comments>http://yurisk.info/2011/02/18/my-amazon-book-list-for-ccie-security-lab-exam/#comments</comments>
		<pubDate>Fri, 18 Feb 2011 11:24:40 +0000</pubDate>
		<dc:creator>Yuri</dc:creator>
				<category><![CDATA[ASA/PIX Cisco]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[IOS Cisco]]></category>
		<category><![CDATA[Cisco ASA]]></category>

		<guid isPermaLink="false">http://yurisk.info/?p=1527</guid>
		<description><![CDATA[Not limited to CCIE Security Lab only, of course, here is the list of books I find really useful in preparing for the Lab . Amazon Listmania list]]></description>
			<content:encoded><![CDATA[<p>Not limited to CCIE Security Lab only, of course, here is the list of books I find really useful in preparing for the Lab .<br />
<a href="http://www.amazon.com/lm/R3OGPQZ5TKRS1I/ref=cm_sw_r_tw_lm_QqLxnb0FB4ZS3"target=_blank> Amazon Listmania list </a></p>
]]></content:encoded>
			<wfw:commentRss>http://yurisk.info/2011/02/18/my-amazon-book-list-for-ccie-security-lab-exam/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cisco ASA 5500 Series Content Security and Control Security Services Module or just CSC-SSM and how it looks</title>
		<link>http://yurisk.info/2011/02/17/cisco-asa-5500-series-content-security-and-control-security-services-module-or-just-csc-ssm-and-how-it-looks/</link>
		<comments>http://yurisk.info/2011/02/17/cisco-asa-5500-series-content-security-and-control-security-services-module-or-just-csc-ssm-and-how-it-looks/#comments</comments>
		<pubDate>Thu, 17 Feb 2011 08:11:47 +0000</pubDate>
		<dc:creator>Yuri</dc:creator>
				<category><![CDATA[ASA/PIX Cisco]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Cisco IPS]]></category>
		<category><![CDATA[Cisco ASA]]></category>

		<guid isPermaLink="false">http://yurisk.info/?p=1515</guid>
		<description><![CDATA[While the reason for me getting involved with this ASA 5510 module is of less interest (client was getting notification message &#8221; LogServer has recently stopped on InterScan for CSC SSM&#8221; , more about that at the end of the post) , the module itself looks cute , so I bring here some output to [...]]]></description>
			<content:encoded><![CDATA[<p>While the reason for me getting involved with this ASA 5510 module is of less interest (client was getting notification message &#8221; LogServer has recently stopped on InterScan for CSC SSM&#8221; , more about that at the end of the post) , the module itself looks cute , so I bring here some output to give you a taste what it is.<br />
- <strong>General status of the module from ASA CLI prompt.</strong></p>
<p>See that some traffic actually gets redirected to the module.<br />
policy-map global_policy<br />
class inspection_default<br />
inspect dns preset_dns_map<br />
inspect ftp<br />
inspect h323 h225<br />
inspect h323 ras<br />
inspect rsh<br />
inspect rtsp<br />
inspect esmtp<br />
inspect sqlnet<br />
inspect skinny<br />
inspect sunrpc<br />
inspect xdmcp<br />
inspect sip<br />
inspect netbios<br />
inspect tftp<br />
inspect ip-options<br />
class global-class<br />
csc fail-open</p>
<div class="cmd">#show service-policy</div>
<p>Class-map: global-class<br />
CSC: packet sent 324010194<br />
CSC: packet received 359600712</p>
<div class="cmd"># show module 1 det</div>
<p>Getting details from the Service Module, please wait&#8230;<br />
ASA 5500 Series Content Security Services Module-10<br />
Model: ASA-SSM-CSC-10-K9<br />
Hardware version: 1.0<br />
Serial Number: JAF777777<br />
Firmware version: 1.0(11)5<br />
Software version: CSC SSM 6.3.1172.4<br />
MAC Address Range: c333.7333.b333 to c333.7333.b333<br />
App. name: CSC SSM<br />
App. Status: Up<br />
App. Status Desc: CSC SSM scan services are available<br />
App. version: 6.3.1172.4<br />
Data plane Status: Up<br />
Status: Up<br />
HTTP Service: Up<br />
Mail Service: Up<br />
FTP Service: Up<br />
Activated: Yes<br />
Mgmt IP addr: 192.168.21.119<br />
Mgmt web port: 8443</p>
<div class="cmd"># show module all</div>
<p>Mod Card Type Model Serial No.<br />
&#8212; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8211;<br />
0 ASA 5510 Adaptive Security Appliance ASA5510 JMX333333<br />
1 ASA 5500 Series Content Security Services Mo ASA-SSM-CSC-10-K9 JAF333333</p>
<p>Mod MAC Address Range Hw Version Fw Version Sw Version<br />
&#8212; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;&#8212;<br />
0 3333.3333.3333 to 3333.3333.3333 2.0 1.0(11)5 8.2(3)<br />
1 3333.3333.3333 to 3333.3333.3333 1.0 1.0(11)5 CSC SSM 6.3.1172.4</p>
<p>Mod SSM Application Name Status SSM Application Version<br />
&#8212; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
1 CSC SSM Up 6.3.1172.4</p>
<p>Mod Status Data Plane Status Compatibility<br />
&#8212; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;-<br />
0 Up Sys Not Applicable<br />
1 Up Up</p>
<p>- <strong>Now let&#8217;s enter the module itself</strong></p>
<div class="cmd"># session 1</div>
<p>Opening command session with slot 1.<br />
Connected to slot 1. Escape character sequence is &#8216;CTRL-^X&#8217;.</p>
<p>login: cisco<br />
Password:<br />
***NOTICE***<br />
This product contains cryptographic features and is subject to United States<br />
and local country laws governing import, export, transfer and use. Delivery<br />
of Cisco cryptographic products does not imply third-party authority to import,<br />
export, distribute or use encryption. Importers, exporters, distributors and<br />
users are responsible for compliance with U.S. and local country laws. By using<br />
this product you agree to comply with applicable laws and regulations. If you<br />
are unable to comply with U.S. and local laws, return this product immediately.</p>
<p>A summary of U.S. laws governing Cisco cryptographic products may be found at:</p>
<p>http://www.cisco.com/wwl/export/crypto/tool/stqrg.html</p>
<p>If you require further assistance please contact us by sending email to<br />
export@cisco.com.<br />
Trend Micro InterScan for Cisco CSC SSM Setup Main Menu<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>1. Network Settings<br />
2. Date/Time Settings<br />
3. Product Information<br />
4. Service Status<br />
5. Password Management<br />
6. Restore Factory Default Settings<br />
7. Troubleshooting Tools<br />
8. Reset Management Port Access Control List<br />
9. Ping<br />
10. Exit &#8230;</p>
<p>Enter a number from [1-10]:</p>
<p>- Are all services are actually running ?<br />
Enter a number from [1-10]: 4</p>
<p>Service Status<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>The CSC SSM RegServer service is running<br />
The CSC SSM URLFD service is running<br />
The CSC SSM ScanServer service is running<br />
The CSC SSM HTTP service is running<br />
The CSC SSM FTP service is running<br />
The CSC SSM Notification service is running<br />
The CSC SSM Mail service is running<br />
The CSC SSM GUI service is running<br />
The CSC SSM SysMonitor service is running<br />
The CSC SSM Failoverd service is running<br />
The CSC SSM LogServer service is running<br />
The CSC SSM SyslogAdaptor service is running<br />
The CSC SSM Syslog-ng service is running<br />
The CSC SSM TMCM-Agent service is not enabled<br />
- Troubleshooting information is rather overwhelming</p>
<p>Enter a number from [1-7]: 2</p>
<p>Troubleshooting Tools &#8211; Show System Information<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>1. Show System Information on Screen<br />
2. Upload System Information<br />
3. Return to Troubleshooting Tools Menu</p>
<p>Enter a number [1-3]: 1<br />
++++++++++++++++++++++<br />
Thu Feb 17 08:04:17 IST 2011 (2)</p>
<p>System is : Up</p>
<p>#@ Product Information<br />
Trend Micro InterScan for Cisco CSC SSM<br />
Version: 6.3.1172.4<br />
Upgrade History: 6.3.1172.4<br />
Engineering Build:<br />
SSM Model: SSM-10<br />
SSM S/N: JAF7777777</p>
<p>#@ Scan Engine and Pattern Information<br />
Virus Scan Engine: 9.2.1012 (Updated: 2010-10-14 07:51:11)<br />
Virus Pattern: 7.841.00 (Updated: 2011-02-17 05:51:23)<br />
Spyware/Grayware Pattern: 1.151.00 (Updated: 2011-02-17 06:51:20)<br />
AntiSpam Engine: 6.5.1024 (Updated: 2010-10-14 07:51:54)<br />
AntiSpam Rule: 17960 (Updated: 2011-02-16 16:53:55)<br />
IntelliTrap Pattern: 0.151.00 (Updated: 2011-02-01 09:07:20)<br />
IntelliTrap Exception Pattern: 0.631.00 (Updated: 2011-02-15 08:51:15)</p>
<p>#@ License Information<br />
Product:Base License<br />
License profile host info check OK.<br />
Version:Standard<br />
Activation Code:PX-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx<br />
Seats:000100<br />
Status:Activated<br />
Expiration date:10/6/2011<br />
Product:Plus License<br />
License profile host info check OK.<br />
Version:Standard<br />
Activation Code:PX-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx<br />
Status:Activated<br />
Expiration date:10/6/2011</p>
<p>Daily Node Count: 221<br />
Current Node Count: 85</p>
<p>#@ Kernel Information<br />
Linux ssm 2.6.17.8 #13 PREEMPT Fri Nov 6 06:32:00 PST 2009 i686 unknown</p>
<p>ASDP Driver 1.1(0) is UP:<br />
Total Connection Records: 159623<br />
Connection Records in Use: 156<br />
Free Connection Records: 159467</p>
<p>&#8212;&#8212; Shared Memory Segments &#8212;&#8212;&#8211;<br />
key shmid owner perms bytes nattch status<br />
0&#215;00003186 4653056 root 666 2621440 1<br />
0&#215;00000000 4456449 root 600 16 2 dest<br />
0&#215;00000000 4620290 root 600 1000000 1 dest<br />
0&#215;00000000 4685827 root 600 1048576 1 dest<br />
0&#215;00000000 4718596 root 600 1048576 1 dest<br />
0&#215;00000000 4325381 isvw 600 24632 22 dest</p>
<p><span id="more-1515"></span></p>
<p>&#8212;&#8212; Semaphore Arrays &#8212;&#8212;&#8211;<br />
key semid owner perms nsems<br />
0x000207fb 0 root 777 2<br />
0&#215;00020823 32769 root 777 2<br />
0&#215;00020802 65538 root 777 2<br />
0x000207db 98307 root 777 2<br />
0x00020fa1 131076 root 777 2<br />
0x9abbcf71 1277957 root 660 2<br />
0x325cb3f2 1310726 root 660 2<br />
0x000207d3 229383 root 777 2<br />
0x9abbceae 262152 root 660 2<br />
0x001503cf 327689 root 777 2<br />
0x929c6e9c 360458 isvw 660 2<br />
0x0012040e 393227 isvw 777 2<br />
0x000e039b 425996 isvw 777 2<br />
0&#215;00020863 458765 isvw 777 2<br />
0x00020fe4 1048590 root 777 2</p>
<p>&#8212;&#8212; Message Queues &#8212;&#8212;&#8211;<br />
key msqid owner perms used-bytes messages</p>
<p>#@ Disk Information<br />
Filesystem 1k-blocks Used Available Use% Mounted on<br />
/dev/hda2 223843 166878 45407 79% /mnt/rw<br />
/dev/hda2 223843 166878 45407 79% /dev<br />
/dev/hda2 223843 166878 45407 79% /etc<br />
/dev/hda2 223843 166878 45407 79% /home<br />
/dev/hda2 223843 166878 45407 79% /lib/modules<br />
/dev/hda2 223843 166878 45407 79% /opt<br />
none 256000 0 256000 0% /opt/trend/isvw/temp<br />
none 50176 22844 27332 46% /opt/trend/isvw/log<br />
none 4096 0 4096 0% /opt/trend/isvw/quarantine<br />
none 5120 0 5120 0% /opt/trend/isvw/queue<br />
none 103424 4912 98512 5% /opt/trend/isvw/tmpfs<br />
none 101376 18032 83344 18% /opt/trend/isvw/lib/mail/cache<br />
none 100352 0 100352 0% /coredump<br />
none 8192 180 8012 2% /var<br />
/dev/boot 19067 8401 9682 46% /boot<br />
none 205824 40 205784 0% /tmp<br />
Filesystem Inodes Used Available Use% Mounted on<br />
/dev/hda2 58000 2503 55497 4% /mnt/rw<br />
/dev/hda2 58000 2503 55497 4% /dev<br />
/dev/hda2 58000 2503 55497 4% /etc<br />
/dev/hda2 58000 2503 55497 4% /home<br />
/dev/hda2 58000 2503 55497 4% /lib/modules<br />
/dev/hda2 58000 2503 55497 4% /opt<br />
none 126902 5 126897 0% /opt/trend/isvw/temp<br />
none 126902 36 126866 0% /opt/trend/isvw/log<br />
none 126902 9 126893 0% /opt/trend/isvw/quarantine<br />
none 126902 11 126891 0% /opt/trend/isvw/queue<br />
none 126902 58 126844 0% /opt/trend/isvw/tmpfs<br />
none 126902 21 126881 0% /opt/trend/isvw/lib/mail/cache<br />
none 126902 1 126901 0% /coredump<br />
none 126902 71 126831 0% /var<br />
/dev/boot 4944 25 4919 1% /boot<br />
none 126902 12 126890 0% /tmp</p>
<p># Detail file listing:</p>
<p>#@ File Descriptor Information<br />
file: 829 0 98926<br />
inode: 7949 0</p>
<p>#@ Memory Information<br />
# Detail (meminfo):<br />
MemTotal: 1015216 kB<br />
MemFree: 451272 kB<br />
Buffers: 12344 kB<br />
Cached: 233652 kB<br />
SwapCached: 0 kB<br />
Active: 421388 kB<br />
Inactive: 113212 kB<br />
HighTotal: 131072 kB<br />
HighFree: 240 kB<br />
LowTotal: 884144 kB<br />
LowFree: 451032 kB<br />
SwapTotal: 0 kB<br />
SwapFree: 0 kB<br />
Dirty: 24 kB<br />
Writeback: 0 kB<br />
Mapped: 318252 kB<br />
Slab: 22296 kB<br />
CommitLimit: 507608 kB<br />
Committed_AS: 2035636 kB<br />
PageTables: 3396 kB<br />
VmallocTotal: 114680 kB<br />
VmallocUsed: 1812 kB<br />
VmallocChunk: 112736 kB<br />
HugePages_Total: 0<br />
HugePages_Free: 0<br />
HugePages_Rsvd: 0<br />
Hugepagesize: 4096 kB</p>
<p># Reported to ASDM:<br />
mem_unknown=61440<br />
mem_cached=233644<br />
mem_total=1015216<br />
mem_est_free=591156<br />
mem_buffers=12344<br />
mem_free=452608<br />
mem_used=424060<br />
mem_tmpfs=46000</p>
<p>#@ Process Information<br />
top &#8211; 08:04:18 up 8 days, 11:49, 1 user, load average: 0.08, 0.07, 0.03<br />
Tasks: 68 total, 2 running, 65 sleeping, 0 stopped, 1 zombie<br />
Cpu(s): 0.5%us, 1.9%sy, 2.2%ni, 93.5%id, 0.1%wa, 0.0%hi, 1.8%si, 0.0%st<br />
Mem: 1015216k total, 563944k used, 451272k free, 12344k buffers<br />
Swap: 0k total, 0k used, 0k free, 233652k cached</p>
<p>PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND<br />
10541 root 20 5 697m 85m 5528 S 11.8 8.7 1:02.42 iwss-process<br />
8125 isvw 16 0 2992 1276 1108 S 3.9 0.1 74:01.21 sysmonitor<br />
1 root 16 0 2364 520 444 S 0.0 0.1 0:01.28 init<br />
2 root 34 19 0 0 0 R 0.0 0.0 0:01.34 ksoftirqd/0<br />
3 root 10 -5 0 0 0 S 0.0 0.0 0:00.11 events/0<br />
4 root 10 -5 0 0 0 S 0.0 0.0 0:00.01 khelper<br />
5 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 kthread<br />
7 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 kblockd/0<br />
8 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 kseriod<br />
67 root 15 0 0 0 0 S 0.0 0.0 0:00.00 pdflush<br />
69 root 25 0 0 0 0 S 0.0 0.0 0:00.00 kswapd0<br />
70 root 11 -5 0 0 0 S 0.0 0.0 0:00.00 aio/0<br />
205 root 11 -5 0 0 0 S 0.0 0.0 0:10.24 kjournald<br />
7718 root 11 -5 0 0 0 S 0.0 0.0 0:00.00 kjournald<br />
7965 root 23 5 11244 5524 1164 S 0.0 0.5 0:00.39 urlfd<br />
7967 isvw 16 0 26060 3596 2024 S 0.0 0.4 0:30.17 regserver<br />
8040 root 16 0 2364 572 484 S 0.0 0.1 0:00.17 crond<br />
8066 root 16 0 2372 588 504 S 0.0 0.1 0:00.01 getty<br />
8069 root 17 0 2368 584 504 S 0.0 0.1 0:00.00 getty<br />
8072 root 16 0 2368 588 508 S 0.0 0.1 0:00.00 getty<br />
8077 root 16 0 2368 596 508 S 0.0 0.1 0:00.00 klogd<br />
8078 root 0 -20 52456 1316 1056 S 0.0 0.1 0:15.75 servmod<br />
8079 root 16 0 2080 988 824 S 0.0 0.1 0:00.02 bash<br />
8118 root 16 0 2048 952 820 S 0.0 0.1 0:00.00 issyslog<br />
8124 root 16 0 2368 716 596 S 0.0 0.1 0:03.36 top2ini<br />
8127 root 21 0 3764 1396 1200 S 0.0 0.1 0:00.20 sshd<br />
8128 root 15 0 2368 564 476 S 0.0 0.1 0:08.42 telnetd<br />
8143 root 16 0 3144 1440 1092 S 0.0 0.1 0:01.23 issyslog.exe<br />
8147 root 16 0 1652 528 444 S 0.0 0.1 0:00.20 vmstat<br />
8213 root 16 0 9448 1132 932 S 0.0 0.1 0:00.13 failoverd<br />
8237 root 15 0 1760 764 588 S 0.0 0.1 0:00.15 syslog-ng<br />
8262 isvw 21 0 383m 112m 17m S 0.0 11.3 1:15.03 java<br />
10404 isvw 16 0 0 0 0 Z 0.0 0.0 0:00.00 cat<br />
23838 root 16 0 13564 2256 1832 S 0.0 0.2 0:00.02 isdelvd<br />
23975 root 20 5 52700 35m 6132 S 0.0 3.6 0:08.88 imssd<br />
24041 root 20 5 52700 32m 3024 S 0.0 3.3 0:00.04 imssd<br />
24042 isvw 20 5 53280 35m 5644 S 0.0 3.6 0:00.77 imssd<br />
24043 isvw 20 5 53216 35m 5680 S 0.0 3.6 0:00.74 imssd<br />
24044 isvw 20 5 53152 35m 5564 S 0.0 3.6 0:00.69 imssd<br />
24045 isvw 20 5 53332 35m 5708 S 0.0 3.6 0:00.95 imssd<br />
24046 isvw 20 5 53244 35m 5728 S 0.0 3.6 0:01.09 imssd<br />
24047 isvw 20 5 53280 35m 5672 S 0.0 3.6 0:01.02 imssd<br />
24048 isvw 20 5 53152 35m 5636 S 0.0 3.6 0:00.69 imssd<br />
24049 isvw 20 5 53280 35m 5672 S 0.0 3.6 0:01.15 imssd<br />
24050 isvw 20 5 53152 35m 5636 S 0.0 3.6 0:00.94 imssd<br />
24051 isvw 20 5 53152 35m 5608 S 0.0 3.6 0:00.77 imssd<br />
24052 isvw 20 5 53328 35m 5716 S 0.0 3.6 0:01.06 imssd<br />
24053 isvw 20 5 53152 35m 5680 S 0.0 3.6 0:01.03 imssd<br />
24054 isvw 20 5 53244 35m 5720 S 0.0 3.6 0:00.93 imssd<br />
24055 isvw 20 5 53292 35m 5624 S 0.0 3.6 0:00.76 imssd<br />
24056 isvw 20 5 53252 35m 5684 S 0.0 3.6 0:00.79 imssd<br />
24057 isvw 20 5 53284 35m 5736 S 0.0 3.6 0:00.83 imssd<br />
24058 isvw 20 5 53152 35m 5608 S 0.0 3.6 0:00.69 imssd<br />
24059 isvw 20 5 53152 35m 5640 S 0.0 3.6 0:00.87 imssd<br />
24060 isvw 20 5 53292 35m 5624 S 0.0 3.6 0:00.84 imssd<br />
24061 isvw 20 5 53152 35m 5616 S 0.0 3.6 0:00.97 imssd<br />
25989 isvw 25 0 7676 1432 928 S 0.0 0.1 0:00.01 tmlogserv<br />
8575 root 21 5 22812 2776 2312 S 0.0 0.3 0:00.00 isftpd<br />
8585 root 21 5 35308 3360 2580 S 0.0 0.3 0:00.66 isftpd<br />
10351 root 15 0 0 0 0 S 0.0 0.0 0:00.00 pdflush<br />
10476 root 20 5 53824 48m 3804 S 0.0 4.9 0:01.63 scanserver<br />
12539 root 15 0 2072 928 676 S 0.0 0.1 0:00.00 login<br />
12569 root 16 0 2912 1884 868 S 0.0 0.2 0:00.82 setup.bin<br />
14363 root 16 0 2212 1128 832 S 0.0 0.1 0:00.00 sh<br />
14364 root 16 0 2368 452 380 S 0.0 0.0 0:00.00 more<br />
14365 root 24 0 2268 752 400 S 0.0 0.1 0:00.00 sh<br />
14491 root 24 0 2268 692 340 S 0.0 0.1 0:00.00 sh<br />
14492 root 21 0 1992 836 652 R 0.0 0.1 0:00.00 top</p>
<p>#@ Hardware Information<br />
SSM-IPS10-K9<br />
field 0&#215;00 type 0&#215;0040 CONTROLLER TYPE 1177<br />
field 0&#215;01 type 0&#215;0041 HW REV 1.0<br />
field 0&#215;02 type 0x00CB PID ASA-SSM-CSC-10-K9<br />
field 0&#215;03 type 0&#215;0089 VID V02<br />
field 0&#215;04 type 0&#215;0087 TOP 68 LEVEL PN 22-444-02<br />
field 0&#215;05 type 0&#215;0082 PCB 73 LEVEL PN 22-444-02<br />
field 0&#215;06 type 0&#215;0042 PCB REV 65.48<br />
field 0&#215;07 type 0x00C1 PCB SN JAF7777777<br />
field 0&#215;08 type 0x00C2 CHASSIS SN JAF7777777<br />
field 0&#215;09 type 0&#215;0088 NEW DEVIATION NUM 00000000<br />
field 0x0A type 0x00C4 MFG TEST INFO 0000000000000000<br />
field 0x0B type 0&#215;0081 RMA NUM 00000000<br />
field 0x0C type 0&#215;0004 RMA HIST INFO 00<br />
field 0x0D type 0x00C6 CLEI CODES COUCAB5CAB<br />
field 0x0E type 0x00DA DESC ASA 5500 Series Content Security Services Module-10<br />
field 0x0F type 0x00C3 CHASSIS MAC ADDR C8:4C:33:33:33:03<br />
field 0&#215;10 type 0&#215;0043 MAC ADDR_BLK SZ 1<br />
field 0&#215;11 type 0x008C UNKNOWN TYPE 01000B05</p>
<p>#@ Ethernet Interface Information<br />
cisco_asd Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00<br />
UP MTU:1496 Metric:1<br />
RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:0<br />
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)</p>
<p>dummy0 Link encap:Ethernet HWaddr 0E:66:36:3C:B8:59<br />
BROADCAST NOARP MTU:1500 Metric:1<br />
RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:0<br />
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)</p>
<p>eth0 Link encap:Ethernet HWaddr 00:00:00:02:00:02<br />
UP BROADCAST RUNNING MULTICAST MTU:1796 Metric:1<br />
RX packets:219824061 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:239771533 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000<br />
RX bytes:2266716309 (2.1 GiB) TX bytes:2448412682 (2.2 GiB)<br />
Base address:0xcc00 Memory:f8100000-f8120000</p>
<p>eth1 Link encap:Ethernet HWaddr C8:4C:33:33:33:03<br />
inet addr:192.168.21.119 Bcast:192.168.255.255 Mask:255.255.0.0<br />
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br />
RX packets:7022387 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:2435439 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:100<br />
RX bytes:1155121379 (1.0 GiB) TX bytes:510057499 (486.4 MiB)<br />
Base address:0xbc00 Memory:f8200000-f8220000</p>
<p>eth2 Link encap:Ethernet HWaddr 00:00:00:02:00:01<br />
inet addr:127.0.2.1 Bcast:127.0.255.255 Mask:255.255.0.0<br />
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br />
RX packets:757828 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:196896 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000<br />
RX bytes:84163835 (80.2 MiB) TX bytes:18269211 (17.4 MiB)<br />
Interrupt:169 Memory:f8300000-f8300fff</p>
<p>lo Link encap:Local Loopback<br />
inet addr:127.0.0.1 Mask:255.255.255.255<br />
UP LOOPBACK RUNNING MTU:16436 Metric:1<br />
RX packets:116078 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:116078 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:0<br />
RX bytes:14822499 (14.1 MiB) TX bytes:14822499 (14.1 MiB)</p>
<p>#@ Connection Information<br />
sockets: used 271<br />
TCP: inuse 231 orphan 2 tw 395 alloc 233 mem 40<br />
UDP: inuse 2<br />
RAW: inuse 0<br />
FRAG: inuse 0 memory 0</p>
<p>Active Internet connections (only servers)<br />
Proto Recv-Q Send-Q Local Address Foreign Address State<br />
tcp 0 0 0.0.0.0:20000 0.0.0.0:* LISTEN<br />
tcp 0 0 127.0.0.1:5060 0.0.0.0:* LISTEN<br />
tcp 0 0 127.0.0.1:8005 0.0.0.0:* LISTEN<br />
tcp 0 0 0.0.0.0:8009 0.0.0.0:* LISTEN<br />
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN<br />
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN<br />
tcp 0 0 0.0.0.0:1812 0.0.0.0:* LISTEN<br />
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN<br />
tcp 0 0 0.0.0.0:65014 0.0.0.0:* LISTEN<br />
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN<br />
tcp 0 0 0.0.0.0:23 0.0.0.0:* LISTEN<br />
tcp 0 0 0.0.0.0:8888 0.0.0.0:* LISTEN<br />
tcp 0 0 0.0.0.0:7000 0.0.0.0:* LISTEN<br />
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN<br />
tcp 0 0 0.0.0.0:8443 0.0.0.0:* LISTEN<br />
udp 0 0 127.0.0.1:32792 0.0.0.0:*<br />
Active UNIX domain sockets (only servers)<br />
Proto RefCnt Flags Type State I-Node Path<br />
unix 2 [ ACC ] STREAM LISTENING 11391777 /var/run/isvw/sshttp.sock<br />
unix 2 [ ACC ] STREAM LISTENING 11391785 /var/run/isvw/ssptnupdt.sock<br />
unix 2 [ ACC ] STREAM LISTENING 11391778 /var/run/isvw/ssftp.sock<br />
unix 2 [ ACC ] STREAM LISTENING 11391779 /var/run/isvw/sssmtp.sock<br />
unix 2 [ ACC ] STREAM LISTENING 11391780 /var/run/isvw/sspop3.sock<br />
unix 2 [ ACC ] STREAM LISTENING 11391781 /var/run/isvw/ssfiletype.sock<br />
unix 2 [ ACC ] STREAM LISTENING 11253560 /dev/log<br />
unix 3 [ ACC ] STREAM LISTENING 2257 /var/run/log.sock<br />
unix 2 [ ACC ] STREAM LISTENING 2259 /var/run/log.sock2<br />
unix 2 [ ACC ] STREAM LISTENING 1530 /var/run/urlf.sock</p>
<p><!--more--></p>
<p>Active Internet connections (w/o servers)<br />
Proto Recv-Q Send-Q Local Address Foreign Address State<br />
tcp 0 0 209.26.19.126:80 192.168.1.31:42573 TIME_WAIT<br />
tcp 0 0 194.18.243.10:80 192.168.2.54:4818 FIN_WAIT2<br />
tcp 0 0 134.11.14.127:80 192.168.1.125:3274 TIME_WAIT<br />
tcp 0 0 150.127.24.146:80 192.168.2.54:4840 FIN_WAIT2</p>
<p>References:<br />
Product data sheet &#8211; <a href="http://www.cisco.com/en/US/prod/collateral/vpndevc/ps6032/ps6094/ps6120/ps6823/product_data_sheet0900aecd80402e4f_ps6120_Products_Data_Sheet.html" target="_blank">CSC module datasheet</a></p>
<p>And about error message &#8211; it is a known bug that will be fixed in the next release of the firmware for the module . Still, I opened the ticket with TAC and they provided interim patch to take care of this restartin gLogServer service. Also , they (Cisco) say it is harmless bug not causing any outage.</p>
]]></content:encoded>
			<wfw:commentRss>http://yurisk.info/2011/02/17/cisco-asa-5500-series-content-security-and-control-security-services-module-or-just-csc-ssm-and-how-it-looks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CCIE Security travel diaries are here</title>
		<link>http://yurisk.info/2010/12/25/ccie-security-travel-diaries-are-here/</link>
		<comments>http://yurisk.info/2010/12/25/ccie-security-travel-diaries-are-here/#comments</comments>
		<pubDate>Sat, 25 Dec 2010 13:02:41 +0000</pubDate>
		<dc:creator>Yuri</dc:creator>
				<category><![CDATA[ASA/PIX Cisco]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[IOS Cisco]]></category>
		<category><![CDATA[Stories from the trenches]]></category>

		<guid isPermaLink="false">http://yurisk.info/?p=1473</guid>
		<description><![CDATA[Bonjour à tous , as they say in Brussels (sorry &#8211; Bruxelles) . I started a new blog about preparing/thinking/sweating/labbing for/about/for/in Cisco CCIE Security Lab exam. You are welcome to read it here : ccie-security-blog.com. The first post is titled &#8220;Tips on how to fail your CCIE Security Lab exam&#8221; and summarizes my first attempt [...]]]></description>
			<content:encoded><![CDATA[<p>Bonjour à tous , as they say in Brussels (sorry &#8211; Bruxelles) .</p>
<p>I started a new blog about preparing/thinking/sweating/labbing for/about/for/in Cisco CCIE Security Lab exam. You are welcome to read it here : <a href="http://ccie-security-blog.com/">ccie-security-blog.com</a>. The first post is titled &#8220;Tips on how to fail your CCIE Security Lab exam&#8221; and summarizes my first attempt I took in November in Brussels.</p>
<p>Also it inevitable means I will post less and less here , about Checkpoint, so bear with me until I attain this coveted badge, CCIE Security Expert.</p>
<p>Cheers,</p>
<p>Happy New Year everyone!</p>
]]></content:encoded>
			<wfw:commentRss>http://yurisk.info/2010/12/25/ccie-security-travel-diaries-are-here/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How come   assigning VPN user to specific group takes just one command but no one does it ?</title>
		<link>http://yurisk.info/2010/10/04/how-come-assigning-vpn-user-to-specific-group-takes-just-one-command-but-no-one-does-it/</link>
		<comments>http://yurisk.info/2010/10/04/how-come-assigning-vpn-user-to-specific-group-takes-just-one-command-but-no-one-does-it/#comments</comments>
		<pubDate>Mon, 04 Oct 2010 10:36:29 +0000</pubDate>
		<dc:creator>Yuri</dc:creator>
				<category><![CDATA[ASA/PIX Cisco]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[IOS Cisco]]></category>
		<category><![CDATA[Cisco ASA]]></category>

		<guid isPermaLink="false">http://yurisk.info/?p=1171</guid>
		<description><![CDATA[Group locking, as Cisco call it, has been available since ancient IOS 12.2(13)T (circa 2003) and still – most of the set ups I see of clients’ VPN servers at most use different VPN groups for different privilege access requirements and blissfully ignore the fact that all it takes to get more enabled access is [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Group locking</strong>, as Cisco call it, has been available since ancient IOS 12.2(13)T (circa 2003) and still – most of the set ups I see of clients’ VPN servers at most use different VPN groups for different privilege access requirements and blissfully ignore the fact that all it takes to get more enabled access is to know the pre-shared key of the other VPN group. And believe me &#8211; it is not that hard when group pre-share key (PSK) is known to half of the company. So if you happen to stumble on this post bear with me and let’s fast forward from accepted practices of 90’s to 2010.<br />
Below are possible ways to lock users connecting to Cisco device (IOS router and ASA to be precise) to predefined VPN groups and do it forcefully so that even if the end user knows the PSK of other VPN group(s) she won’t be able to connect with it.</p>
<p><strong>Case 1. Cisco IOS router acting as Ezvpn server , users are authenticated locally by the router.</strong> Let&#8217;s name it &#8211; group is JUNIPER , and the local user is John.Chambers and we want to confine this user to this group for ever.<br />
Enable group locking for specific group (don&#8217;t forget to do the same for all VPN groups)</p>
<div class="cmd">R1(config)#crypto isakmp client configuration group JUNIPER<br />
R1(config-isakmp-group)#group-lock</div>
<p>Now restrict user to be able to use this group only. For that you have to reconfigure user to look like username followed by delimeter (that can be any of @, %, /, \) and then group name , to be concrete</p>
<div class="cmd">R1(config)#username John.Chambers@JUNIPER secret Idontworkforsalaryanymore</div>
<p>from now on user John.Chambers will be able to authenticate with Cisco only using John.Chambers@JUNIPER . It overrides any user for VPN connection that already exists, that is if there is already user John.Chambers it will not be able to connect with the group JUNIPER . On the other hand anyone getting PSK of the VPN group JUNIPER will fail authentication if the user is not explicitly reconfigured in the new format.<br />
<strong>Case 2 . Cisco IOS router users are authenticated using external Radius server.</strong> Unlike local authentication, with Radius you create the user as usual – John.Chambers but then assign it in the Settings cisco-av-pair attribute called user-vpn-group, like this:<br />
<strong>ipsec:user-vpn-group=JUNIPER</strong><br />
<strong>Case 3.ASA Local username authentication.</strong><br />
No fancy username/group configuration here, you just lock username to a group under general attributes of the user.</p>
<div class="cmd">ASA1(config)# username John.Chambers password Idontworkforsalaryanymore<br />
ASA1(config)# username John.Chambers attributes<br />
ASA1(config-username)# group-lock value JUNIPER</div>
<p><strong>Case 4. ASA Radius authentication . </strong><br />
Here also the VPn group is forced for the user settings using the following attribute:<br />
<strong>[3076\085] Tunnel-Group-Lock JUNIPER</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://yurisk.info/2010/10/04/how-come-assigning-vpn-user-to-specific-group-takes-just-one-command-but-no-one-does-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>snmp-map in ASA is for passing through traffic only</title>
		<link>http://yurisk.info/2010/08/28/snmp-map-in-asa-is-for-passing-through-traffic-only/</link>
		<comments>http://yurisk.info/2010/08/28/snmp-map-in-asa-is-for-passing-through-traffic-only/#comments</comments>
		<pubDate>Sat, 28 Aug 2010 04:53:42 +0000</pubDate>
		<dc:creator>Yuri</dc:creator>
				<category><![CDATA[ASA/PIX Cisco]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Cisco ASA]]></category>

		<guid isPermaLink="false">http://yurisk.info/?p=1127</guid>
		<description><![CDATA[I don’t know who to blame – me for not being attentive or Cisco documentation for being vague, but when I read about snmp-map inspection that allows you to block selectively by SNMP version I decided it was the way to protect ASA itself from such queries. And only with the help of Netpro forum [...]]]></description>
			<content:encoded><![CDATA[<p>I don’t know who to blame – me for not being attentive or Cisco documentation for being vague, but when I read about snmp-map inspection that allows you to block selectively by SNMP version I decided it was the way to protect ASA itself from such queries. And only with the help of Netpro forum at Cisco.com did I learn that this feature is designed to inspect the SNMP traffic that passes THROUGH the ASA and not destined to the ASA itself.<br />
So if you want to limit what version of SNMP ASA will use to answer queries , use usual snmp-server host …<br />
For those who do want to block passing through the ASA SNMP of say version 1 and 2c , here is how:</p>
<div class="cmd">Louvre(config)#&nbsp;&nbsp; snmp-map no-v1or2-here<br />
deny version 1 <br />
deny version 2c</div>
<p> Now define with access-list what traffic to inspect, you may use specific IPs or just general SNMP ports – udp 161 and 162:</p>
<div class="cmd">Louvre#&nbsp;&nbsp;sh run access-list no-v3 <br />
access-list no-v1or2-here extended permit udp any any eq snmptrap<br />
access-list no-v1or2-here extended permit udp any any eq snmp</div>
<p> Bind ACL to class-map:</p>
<div class="cmd">Louvre(config)#&nbsp;&nbsp;class-map snmp-block-v2or1<br />
match access-list no-v1or2-here</div>
<p>Use the class-map in policy map with enabling snmp-map inspection :</p>
<div class="cmd">Louvre(config)#&nbsp;&nbsp;policy-map no-snmp-v2or1<br />
class snmp-block-v2or1<br />
  inspect snmp no-v1or2-here</div>
<p>And finally apply the policy map on some interface</p>
<div class="cmd">Louvre(config)#&nbsp;&nbsp;service-policy no-snmp-v2or1interface outside</div>
]]></content:encoded>
			<wfw:commentRss>http://yurisk.info/2010/08/28/snmp-map-in-asa-is-for-passing-through-traffic-only/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ASA 8.2 now speaks SNMP v3 decently</title>
		<link>http://yurisk.info/2010/08/25/asa-8-2-now-speaks-snmp-v3-decently/</link>
		<comments>http://yurisk.info/2010/08/25/asa-8-2-now-speaks-snmp-v3-decently/#comments</comments>
		<pubDate>Wed, 25 Aug 2010 18:43:55 +0000</pubDate>
		<dc:creator>Yuri</dc:creator>
				<category><![CDATA[ASA/PIX Cisco]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Cisco ASA]]></category>

		<guid isPermaLink="false">http://yurisk.info/?p=1110</guid>
		<description><![CDATA[ASA 8.2 speaks SNMP v3 decently This article is all about SNMP in ASA. ASA has much less configuration options than IOS does, and this is good. Starting version 8.2 ASA supports version 3 of the SNMP protocol which adds new security model to the whole SNMP stack. But first we will start with old [...]]]></description>
			<content:encoded><![CDATA[<p>ASA 8.2 speaks SNMP v3 decently<br />
This article is all about SNMP in ASA. ASA has much less configuration options than IOS does, and this is good. Starting version 8.2 ASA supports version 3 of the SNMP protocol which adds new security model to the whole SNMP stack.  But first we will start with old fashioned SNMP v2c (c is for ‘community’) . It takes about 15 secs to do it:</p>
<div class="cmd">
snmp-server location  “935 Pennsylvania Avenue, NW”<br />
snmp-server contact “Don’t call us we’ll call you”<br />
snmp-server community ***** &nbsp;&nbsp;&nbsp;// Note this community will be used if more specific one isn’t given per host<br />
snmp-server enable traps snmp authentication linkup linkdown coldstart &nbsp;&nbsp;//specific traps<br />
snmp-server enable &nbsp;&nbsp;&nbsp;// you enable server<br />
snmp-server listen-port 161  &nbsp;&nbsp;// in case you want to change, who knows …<br />
snmp-server host outside 195.95.193.8 community ****** version 1 udp-port 162 &nbsp;&nbsp;&nbsp; // only now SNMP polling is enabled and to the given host , also version 1 and port 162 on SNMP management (195.95.193.8) to send traps<br />
no snmp-server enable traps ipsec start stop &nbsp;&nbsp;&nbsp;// To disable specific traps </div>
<p>As you already know this setup will exchange community strings in clear text and also no packet is cryptographically authenticated/verified. What a shame for “Adaptive Security Appliance” . The fix is on the way. It is called SNMP v3 and has 3 security levels to choose from:<br />
<strong>noAuthNoPriv</strong> – packets are neither authenticated  nor  encrypted . Basically the model used so far by SNMP v1 and v2c – everything clear text.<br />
<strong>authNoPriv</strong>   &#8211;  packets are authenticated , that is user is sent in clear text but its password is not , (configurable) MD5 or SHA algorithm.<br />
<strong>authPriv</strong> &#8211; the highest level, all SNMP packets are both authenticated using MD5 or SHA and their content is encrypted with DES/3DES/AES (128,196,256) algorithm.<br />
Using the list above let’s configure our ASA for each level .<br />
General steps:</p>
<ul>
<li>Configure snmp-server group for every security level you want to use ;</li>
<li>Creatre user for each security level you wan to use and assign it to the snmp-server group of your choice</li>
<li>Create usual snmp-server host entry but adding version 3 and username to be used by this host. <strong>NOTE</strong> You can have only one such command per host but no matter which out of 3 security levels you specify in this command it will allow the other 2 to be used in querying as well</li>
</ul>
<p><strong>noAuthNoPriv.</strong></p>
<div class="cmd">snmp-server group v3-noauth v3 noauth <br />
snmp-server user Jambo v3-noauth v3<br />
snmp-server host outside 199.252.47.11 version 3 Jambo </div>
<p>Querying the ASA:</p>
<div class="cmd">snmpwalk -v 3 -u Jambo -l noauthnopriv  155.7.145.89</div>
<p><strong>authNoPriv.</strong></p>
<div class="cmd">snmp-server group V3-auth v3 auth<br />
snmp-server user AUTH V3-auth v3 auth md5 12345678<br /> <br />
 Minimum pass length is 8 , and while ASA seems not to care it is a violation and snmpwalk will complain on pass &lt; 8 and bail out .<br />
snmp-server host outside 199.252.47.11 version 3 AUTH</div>
<p>Querying the ASA:</p>
<div class="cmd">snmpwalk -v 3 -u AUTH -a md5 -A 12345678 -l authnopriv  155.7.145.89</div>
<p><strong>authPriv.</strong><br />
Here everything will be encrypted.</p>
<div class="cmd">snmp-server group v3-priv v3 priv<br />
snmp-server user very_secure v3-priv v3  auth md5 12345678 v3-priv v3  auth md5 12345678 priv aes 128 12345678<br />
snmp-server host outside 199.252.47.11 version 3 very_secure</div>
<p>N.B. To my surprise there is no such thing as <strong> debug snmp</strong> . Actually it does exist, but entering this command gives no error and produces no debug either.<br />
Noticed by the way. In logs you can see all the passwords you entered while configuring SNMP, not very secure I would rather say .</p>
<div class="cmd">(config)# sh log | grep snmp</div>
<div class="cmdout">%ASA-5-111008: User &#8216;enable_15&#8242; executed the &#8216;snmp-server user AUTH V3-auth v3 auth md5 12345678&#8242; command.</div>
]]></content:encoded>
			<wfw:commentRss>http://yurisk.info/2010/08/25/asa-8-2-now-speaks-snmp-v3-decently/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>sla monitor in Cisco ASA land</title>
		<link>http://yurisk.info/2010/08/24/sla-monitor-in-cisco-asa-land/</link>
		<comments>http://yurisk.info/2010/08/24/sla-monitor-in-cisco-asa-land/#comments</comments>
		<pubDate>Tue, 24 Aug 2010 13:14:49 +0000</pubDate>
		<dc:creator>Yuri</dc:creator>
				<category><![CDATA[ASA/PIX Cisco]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Cisco ASA]]></category>

		<guid isPermaLink="false">http://yurisk.info/?p=1103</guid>
		<description><![CDATA[SLA monitoring is finally here. What is it useful for ? To add/remove dynamically routes in ASA depending on results of the SLA status. Below is configuration steps but while there are many words in the command itself there are not much options there , so the command is long but pretty uniform. TokyoASA1(config)# sla [...]]]></description>
			<content:encoded><![CDATA[<p>SLA monitoring is finally here. What is it useful for ? To add/remove dynamically routes in ASA depending on results of the SLA status.<br />
Below is configuration steps but while there are many words in the command itself there are not much options there , so the command is long but pretty uniform.</p>
<div class="cmd">TokyoASA1(config)# sla monitor 33<br />
TokyoASA1(config-sla-monitor)# type echo protocol  ipIcmpEcho 150.6.2.2 int  outside type echo<br />
TokyoASA1(config-sla-monitor-echo)# ? </div>
<div class="cmdout"> default            Set a command to its defaults <br />
  exit               Exit probe configuration  <br />
  frequency          Frequency of an operation <br />
  no                 Negate a command or set its defaults <br />
  num-packets        Number of Packets <br />
  request-data-size  Request data size <br />
  threshold          Operation threshold in milliseconds <br />
  timeout            Timeout of an operation <br />
  tos                Type Of Service  </div>
<div class="cmd">TokyoASA1(config-sla-monitor-echo)# frequency ? </div>
<div class="cmdout">sla-monitor-echo mode commands/options: <br />
  &lt;1-604800&gt;  Frequency in seconds </div>
<div class="cmd">TokyoASA1(config)# sla monitor schedule 33 ?  </div>
<div class="cmdout"> ageout      How long to keep this Entry when inactive <br />
  life        Length of time to execute in seconds <br />
  recurring   Probe to be scheduled automatically every day <br />
  start-time  When to start this entry
  </div>
<div class="cmd">TokyoASA1(config)# sla monitor schedule 33 life forever start after 00:05:00 </div>
<p>Now create tracking process to be later applied to the static route:</p>
<div class="cmd">TokyoASA1(config)# track 1 rtr 33 reachability </div>
<p>And finally we create static route and attach to it the created track :</p>
<div class="cmd">TokyoASA1(config)# route outside 0 0  136.6.123.3 track 1</div>
<p>Now let&#8217;s see some statistics on the track:</p>
<div class="cmd">TokyoASA1# sh track </div>
<div class="cmdout">Track 1 <br />
  Response Time Reporter 33 reachability <br />
  Reachability is Down <br />
  1 change, last change 00:04:03 <br />
  Latest operation return code: Unknown <br />
  Tracked by: <br />
    STATIC-IP-ROUTING 0 </div>
<p>The final configuration looks like</p>
<div class="cmdout">sla monitor 33 <br />
 type echo protocol ipIcmpEcho 150.6.2.2 interface outside <br />
 num-packets 3 <br />
 request-data-size 1500 <br />
 timeout 30 <br />
 frequency 5 <br />
sla monitor schedule 33 life forever start-time after 00:05:00 </div>
<div class="cmd">TokyoASA1# sh sla monitor configuration</div>
<div class="cmdout">SA Agent, Infrastructure Engine-II<br />
Entry number: 33 <br />
Owner:  <br />
Tag:  <br />
Type of operation to perform: echo <br />
Target address: 150.6.2.2 <br />
Interface: outside <br />
Number of packets: 3 <br />
Request size (ARR data portion): 1500 <br />
Operation timeout (milliseconds): 30 <br />
Type Of Service parameters: 0&#215;0 <br />
Verify data: No <br />
Operation frequency (seconds): 5 <br />
Next Scheduled Start Time: Start Time already passed <br />
Group Scheduled : FALSE <br />
Life (seconds): Forever <br />
Entry Ageout (seconds): never <br />
Recurring (Starting Everyday): FALSE <br />
Status of entry (SNMP RowStatus): Active <br />
Enhanced History:</div>
<div class="cmd">TokyoASA1# sh sla monitor configuration  operational-state </div>
<div class="cmdout">Entry number: 33 <br />
Modification time: 15:14:04.168 UTC Sun May 23 2010 <br />
Number of Octets Used by this Entry: 1480 <br />
Number of operations attempted: 48 <br />
Number of operations skipped: 0 <br />
Current seconds left in Life: Forever <br />
Operational state of entry: Active <br />
Last time this entry was reset: Never <br />
Connection loss occurred: FALSE <br />
Timeout occurred: FALSE <br />
Over thresholds occurred: FALSE <br />
Latest RTT (milliseconds): 1 <br />
Latest operation start time: 15:22:59.169 UTC Sun May 23 2010 <br />
Latest operation return code: OK <br />
RTT Values: <br />
RTTAvg: 1RTTMin: 1RTTMax: 1 <br />
NumOfRTT: 3RTTSum: 3RTTSum2: 3 </div>
<div class="cmd">TokyoASA1# debug sla monitor ? </div>
<div class="cmdout">  error  Output IP SLA Monitor Error Messages<br />
  trace  Output IP SLA Monitor Trace Messages </div>
<div class="cmd">TokyoASA1# debug sla monitor trace </div>
<div class="cmdout">TokyoASA1# IP SLA Monitor(33) Scheduler: Starting an operation <br />
IP SLA Monitor(33) echo operation: Sending an echo operation <br />
IP SLA Monitor(33) echo operation: RTT=0 OK <br />
IP SLA Monitor(33) echo operation: RTT=0 OK <br />
IP SLA Monitor(33) echo operation: RTT=1 OK <br />
IP SLA Monitor(33) Scheduler: Updating result <br />
IP SLA Monitor(33) Scheduler: Starting an operation <br />
IP SLA Monitor(33) echo operation: Sending an echo operation <br />
IP SLA Monitor(33) echo operation: RTT=0 OK <br />
IP SLA Monitor(33) echo operation: RTT=0 OK <br />
IP SLA Monitor(33) echo operation: RTT=1 OK </div>
<p>And by the way it really works &#8211; when track is down the route to which it is attached magically disappeared<br />
from the routing table as should.</p>
]]></content:encoded>
			<wfw:commentRss>http://yurisk.info/2010/08/24/sla-monitor-in-cisco-asa-land/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Teach ASA to speak NTP</title>
		<link>http://yurisk.info/2010/08/24/teach-asa-to-speak-ntp/</link>
		<comments>http://yurisk.info/2010/08/24/teach-asa-to-speak-ntp/#comments</comments>
		<pubDate>Tue, 24 Aug 2010 06:14:16 +0000</pubDate>
		<dc:creator>Yuri</dc:creator>
				<category><![CDATA[ASA/PIX Cisco]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Cisco ASA]]></category>

		<guid isPermaLink="false">http://yurisk.info/?p=1091</guid>
		<description><![CDATA[Time is precious, even more when you need accurate logging to know when someone breaks into your systems. Let&#8217;s configure NTP time synchronization on our ASA 5510. Configs are pretty simple, but worth remembering a thing or two. ASA can not be NTP server as opposed to IOS. You can use prefer optional keyword with [...]]]></description>
			<content:encoded><![CDATA[<p>Time is precious, even more when you need accurate logging to know when someone breaks into your systems. Let&#8217;s configure NTP time synchronization on our ASA 5510.<br />
Configs are pretty simple, but worth remembering a thing or two.</p>
<ul>
<li>ASA can not be NTP server as opposed to IOS. </li>
<li>You can use prefer optional keyword with ntp server command but &#8230; it works if you have multiple servers having &#8220;the same accuracy&#8221; by Cisco.com words. In people&#8217;s language they mean the same stratum. If your ASA has 2 servers &#8211; one of stratum 2 and other of stratum 3 , even if you put stratum 3 server as preferred the one of stratum 2 will be selected.</li>
<li>Authentication is available but oprional. The only algorithm of choice is MD5.</li>
<li>You can have multiple trusted keys at the same time, I guess they will be tried in turn (needs verification).</li>
</ul>
<p>Ok then, back to CLI &#8211; NTP server is 153.6.3.3, use authentication, MD5.</p>
<div class="cmd">TokyoASA1(config)# ntp authentication-key 1 md5 CISCO <br />
TokyoASA1(config)# ntp trusted-key 1 <br />
TokyoASA1(config)# ntp server 153.6.3.3 ? <br />
  key     Configure peer authentication key <br />
  prefer  Prefer this peer when possible <br />
  source  Interface for source address <br />
  &lt;cr&gt;<br />
TokyoASA1(config)# ntp server 153.6.3.3 key 1<br />
TokyoASA1(config)# ntp authenticate</div>
<div class="cmd">TokyoASA1# debug ntp ? <br />
  adjust          NTP clock adjustments <br />
  authentication  NTP authentication <br />
  events          NTP events <br />
  loopfilter      NTP loop filter <br />
  packets         NTP packets <br />
  params          NTP clock parameters <br />
  select          NTP clock selection <br />
  sync            NTP clock synchronization <br />
  validity        NTP peer clock validity</div>
<div class="cmd">TokyoASA1# sh ntp stat </div>
<div class="cmdout">Clock is unsynchronized, stratum 16, no reference clock <br />
nominal freq is 99.9984 Hz, actual freq is 99.9984 Hz, precision is 2**6 <br />
reference time is cfa3cae4.3dd6a89e (15:40:20.241 UTC Sun Aug 23 2010) <br />
clock offset is -377969342.9594 msec, root delay is 2.04 msec <br />
root dispersion is 15262547.68 msec, peer dispersion is 16000.00 msec </div>
<div class="cmd">TokyoASA1# sh ntp ass </div>
<div class="cmdout">      address         ref clock     st  when  poll reach  delay  offset    disp <br />
 ~153.6.3.3        .LOCL.            1    26    64    0     2.0  -37796  16000. <br />
 * master (synced), # master (unsynced), + selected, &#8211; candidate, ~ configured </div>
<p>Some debug comes next &#58; </p>
<div class="cmdout">TokyoASA1# NTP: Authentication key 1 <br />
NTP: 153.6.3.3 reachable <br />
NTP: sync change <br />
NTP: peer stratum change </div>
<div class="cmd">TokyoASA1# sh ntp stat </div>
<div class="cmdout">Clock is synchronized, stratum 2, reference is 153.6.3.3 <br />
nominal freq is 99.9984 Hz, actual freq is 99.9984 Hz, precision is 2**6 <br />
reference time is cf9e06b2.e6239822 (06:41:54.898 UTC Wed May 19 2010) <br />
clock offset is -2.9681 msec, root delay is 1.95 msec <br />
root dispersion is 21.58 msec, peer dispersion is 18.57 msec </div>
]]></content:encoded>
			<wfw:commentRss>http://yurisk.info/2010/08/24/teach-asa-to-speak-ntp/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Redundant interfaces in Cisco ASA</title>
		<link>http://yurisk.info/2010/08/23/redundant-interfaces-in-cisco-asa/</link>
		<comments>http://yurisk.info/2010/08/23/redundant-interfaces-in-cisco-asa/#comments</comments>
		<pubDate>Mon, 23 Aug 2010 17:54:08 +0000</pubDate>
		<dc:creator>Yuri</dc:creator>
				<category><![CDATA[ASA/PIX Cisco]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Cisco ASA]]></category>

		<guid isPermaLink="false">http://yurisk.info/?p=1082</guid>
		<description><![CDATA[In Checkpoint they call it interface bonding – when will I stop dragging this Checkpoint everywhere ? – in Cisco ASA they called it interface redundancy. The idea is to provide for the physical link failure. That is – you combine two physical interfaces on the ASA into a virtual one, then you configure all [...]]]></description>
			<content:encoded><![CDATA[<p>In Checkpoint they call it interface bonding – when will I stop dragging this Checkpoint everywhere ? – in Cisco ASA they called it interface redundancy. The idea is to provide for the physical link failure. That is – you combine two physical interfaces on the ASA into a virtual one, then you configure all the Layer 3 parameters on this virtual interface. At the same time only ONE of the interfaces in a group is active, if it fails ASA transparently switches to the next available interface in a group and all traffic passes through it. By default the first added to the group interface becomes active and all the rest become passive. At the end of the article there is some dry theory and facts, but now let’s plunge into code.<br />
<strong>Warning !</strong>The moment you assign some physical interface to be a member of the redundant virtual interface ALL the existing configs on such interface are wiped out.<br />
Create redundant interface (group) and assign 2 physical interfaces to it :</p>
<div class="cmd">Santa#conf t<br />
Santa(config)# interface Redundant1<br />
Santa(config-if)# member-interface Ethernet0/0<br />
Santa(config-if)# member-interface Ethernet0/2<br />
Santa(config-if)#no nameif<br />
Santa(config-if)#no security-level<br />
Santa(config-if)#no ip address</div>
<p>Now basically we can start configuring nameif , IP address and security level for this Redundant1 interface but let’s be more creative and create some VLANs on it.</p>
<p>So far :</p>
<div class="cmd">Santa#show run int</div>
<div class="cmdout">interface Redundant1<br />
member-interface Ethernet0/0<br />
member-interface Ethernet0/2<br />
no nameif<br />
no security-level<br />
no ip address</div>
<div class="cmd">Santa(config)# interface Redundant1.120</div>
<p>Santa(config-subif)# vlan 120<br />
Santa(config-subif)# nameif dmz<br />
Santa(config-subif)# security-level 50<br />
Santa(config-subif)# ip address 10.0.0.12 255.255.255.0</p>
<p>To remind you state of the physical interfaces comprising the Redundant 1 is :</p>
<div class="cmdout">interface Ethernet0/2<br />
no nameif<br />
no security-level<br />
no ip address</div>
<p>interface Ethernet0/0<br />
no nameif<br />
no security-level<br />
no ip address</p>
<p>interface Redundant1<br />
member-interface Ethernet0/0<br />
member-interface Ethernet0/2<br />
no nameif<br />
no security-level<br />
no ip address</p>
<div class="cmd">Santa(config)# interface Redundant1.100<br />
Santa(config-subif)# vlan 100<br />
Santa(config-subif)# nameif outside<br />
Santa(config-subif)# security-level 0<br />
Santa(config-subif)# ip address 139.61.77.12 255.255.255.0</div>
<p>Now some verification is looming (pay attention to the bottom of the output where you can see which interface is currently active and how many state changes have happened so far) :</p>
<div class="cmd">Santa# sh int redundant 1 detail</div>
<div class="cmdout">Interface Redundant1 &#8220;&#8221;, is up, line protocol is up</div>
<p>Hardware is i82546GB rev03, BW 1000 Mbps, DLY 10 usec<br />
Auto-Duplex(Full-duplex), Auto-Speed(100 Mbps)<br />
Available but not configured via nameif<br />
MAC address 001b.d589.9892, MTU not set<br />
IP address unassigned<br />
1870 packets input, 150617 bytes, 0 no buffer<br />
Received 1329 broadcasts, 0 runts, 0 giants<br />
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort<br />
766 L2 decode drops<br />
264 packets output, 24326 bytes, 0 underruns<br />
0 output errors, 0 collisions, 0 interface resets<br />
0 babbles, 0 late collisions, 0 deferred<br />
0 lost carrier, 0 no carrier<br />
input queue (curr/max packets): hardware (9/18) software (0/0)<br />
output queue (curr/max packets): hardware (0/2) software (0/0)<br />
Control Point Interface States:<br />
Interface number is 10<br />
Interface config status is active<br />
Interface state is active<br />
Redundancy Information:<br />
Member Ethernet0/0(Active), Ethernet0/2<br />
Last switchover at 07:25:35 UTC August 19 2010</p>
<div class="cmdout">And what about some debug ? Of course:</div>
<div class="cmd">Santa(config)# debug redundant-interface ?</div>
<p>exec mode commands/options:<br />
error errors<br />
event events</p>
<div class="cmd">Now let’s initiate shut on physical interface Ethernet0/2 that is now active</div>
<div class="cmdout">redundant interface Redundant1 switchover, active idx 1, stby idx 0</div>
<p>redundant interface Redundant1 switching active from Ethernet0/2 to Ethernet0/0.</p>
<p>Send gratuitous ARP on Redundant1.100.<br />
Send gratuitous ARP on Redundant1.120.<br />
redundant interface Redundant1 switch active to Ethernet0/0 done.</p>
<p>Switch has happened, now verify it:</p>
<div class="cmd">Santa(config-if)# sh int redundant 1 det</div>
<div class="cmdout">Interface Redundant1 &#8220;&#8221;, is up, line protocol is up<br />
Hardware is i82546GB rev03, BW 1000 Mbps, DLY 10 usec<br />
Auto-Duplex(Full-duplex), Auto-Speed(100 Mbps)<br />
Available but not configured via nameif<br />
MAC address 001b.d589.9892, MTU not set<br />
IP address unassigned<br />
2284 packets input, 187559 bytes, 0 no buffer<br />
Received 1544 broadcasts, 0 runts, 0 giants<br />
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort<br />
797 L2 decode drops<br />
296 packets output, 27430 bytes, 0 underruns<br />
0 output errors, 0 collisions, 1 interface resets<br />
0 babbles, 0 late collisions, 0 deferred<br />
0 lost carrier, 0 no carrier<br />
input queue (curr/max packets): hardware (8/18) software (0/0)<br />
output queue (curr/max packets): hardware (0/5) software (0/0)</div>
<p>Control Point Interface States:</p>
<p>Interface number is 10<br />
Interface config status is active<br />
Interface state is active<br />
Redundancy Information:</p>
<p><strong>Member Ethernet0/0(Active), Ethernet0/2<br />
Last switchover at 07:57:11 UTC August 19 2010 </strong></p>
<p>Having done a bit practice the dry theory comes next.</p>
<ul>
<li>You can define up to 8 Redundant interfaces (if you have ASA 5580 why not?);</li>
<li>All the interfaces in the same group should be of the same type (Ethernet with Fiber won’t go well) ;</li>
<li>Only one interface is passing production traffic at any given moment;</li>
<li>Redundant interface gets by default MAC address of the first added to it interface, configurable;&lt;</li>
<li>When fail over happens to the second interface, it takes over MAC address of its previously active neighbour to prevent loss of traffic. If MAC is configured especially and manually it remains the same;</li>
<li>You can force some interface to become Active using the command:<br />
Santa# redundant-interface redundant active-member &lt;if_name&gt;</li>
<li>Redundant interfaces are compatible with fail over feature.</li>
</ul>
<p>For even more information , see:<br />
<a target="_blank" href="http://www.cisco.com/en/US/docs/security/asa/asa83/configuration/guide/intrface.html">ASA 8.3 interface configuration </a></p>
]]></content:encoded>
			<wfw:commentRss>http://yurisk.info/2010/08/23/redundant-interfaces-in-cisco-asa/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Playing with RIP on ASA</title>
		<link>http://yurisk.info/2010/08/23/playing-with-rip-on-asa/</link>
		<comments>http://yurisk.info/2010/08/23/playing-with-rip-on-asa/#comments</comments>
		<pubDate>Mon, 23 Aug 2010 05:32:22 +0000</pubDate>
		<dc:creator>Yuri</dc:creator>
				<category><![CDATA[ASA/PIX Cisco]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Cisco ASA]]></category>

		<guid isPermaLink="false">http://yurisk.info/?p=1063</guid>
		<description><![CDATA[Cisco ASA and RIP RIP has been with ASA for years and in this article I will try to cover all possible scenarios in configuring, misconfiguring. debugging and verifying it. As I come up with new ideas how to break the RIP on ASA I will update this article as well. As it would be [...]]]></description>
			<content:encoded><![CDATA[<p>Cisco ASA and RIP<br />
RIP has been with ASA for years and in this article I will try to cover all possible scenarios in configuring, misconfiguring. debugging and verifying it. As I come up with new ideas how to break the RIP on ASA I will update this article as well.<br />
As it would be expected ASA has a bit limited version of RIP daemon as compared with IOS one. Major tasks you my be required to do &#58;</p>
<ul>
<li>	Enable RIP on the ASA;</li>
<li>	Dictate the version to work with – RIP v1 or RIP v2;</li>
<li>	Specify networks RIP protocol will be active for;</li>
<li>	Exclude some interfaces from active advertising RIP on them but allow to get<br />
RIP updates on them , i.e. passive interface(s);</li>
<li>	Decide whether you want auto-summarization or not. Default is on;</li>
<li>	Enable Rip updates authentication and whether it  should be<br />
encrypted (MD5 mode) or clear text (text mode);</li>
<li>	If using authentication define authentication keys under relevant interfaces;</li>
<li>	To make your life harder you will be asked to redistribute;</li>
<li>	Finally verify and debug RIP operation.</li>
</ul>
<p>SO let’s get our hands dirty.<br />
Enable RIP routing process.</p>
<div class="cmd">ASA#conf t<br />
ASA(config)# router rip <br />
TokyoASA(config-router)#</div>
<p>Set it to run exclusively version 2 . ASA doesn’t know to mix version<br />
2 and 1 as IOS does.</p>
<div class="cmd">TokyoASA(config-router)# version 2</div>
<p>Networks to be active for . You should specify classful nets or even if you specify anything different after you enter such networks ASA will automatically turn them into classful ones anyway.</p>
<div class="cmd">TokyoASA(config-router)#  network 5.0.0.0</div>
<p> Verifying configuration so far&#58; </p>
<div class="cmd">TokyoASA(config-router)# sh run router</div>
<div class="cmdout">router rip<br />
 network 5.0.0.0 <br />
 version 2</div>
<p>You will most probably want to disable summarization &#58;</p>
<div class="cmd">TokyoASA(config-router)# no auto-summary </div>
<p>Exclude some interface from advertising on it&#58;<br />
- To suppress on ALL interfaces in one go&#58;</p>
<div class="cmd">TokyoASA(config-router)# passive-interface  default </div>
<p>- To be more specific&#58;</p>
<div class="cmd">TokyoASA(config-router)# passive-interface  outside </div>
<p>Authentication is configured exclusively under the interface &#58;<br />
-	Dictate which authentication mode to use.</p>
<div class="cmd">TokyoASA(config-if)# rip authentication mode md5 </div>
<p>-	Specify the key (password) and its id.</p>
<div class="cmd">TokyoASA(config-if)# rip authentication key MYKEY key_id 33  </div>
<p> Here is how it looks in show run interface &#58;</p>
<div class="cmdout">
interface Ethernet0/0 <br />
 nameif outside <br />
 security-level 0 <br />
 ip address 136.6.12.12 255.255.255.0 <br />
 rip authentication mode md5 <br />
 rip authentication key &lt;removed&gt; key_id 33 </div>
<p><strong>Redistribute.</strong> Just redistributing learned in other ways networks into the RIP would be boring. As usual you redistribute connected, static, ospf and rip (when working with the rest of the protocols).</p>
<div class="cmd">TokyoASA(config-router)# redistribute ? </div>
<div class="cmdout">router mode commands/options&#58; <br />
  connected  Connected <br />
  ospf       Open Shortest Path First (OSPF) <br />
  rip        Routing Information Protocol (RIP) <br />
  static     Static routes</div>
<p>Much more interesting is to implement some policy while redistributing using route-maps. As expected route-maps here are not what we used to know in IOS.<br />
So what can you match for me ?</p>
<div class="cmd">TokyoASA(config-route-map)# match ? </div>
<div class="cmdout">route-map mode commands/options&#58;<br />
  interface   Match first hop interface of route  <br />
  ip              Match IP address or next-hop or route-source <br />
  metric       Match metric of route <br />
  route-type  Match route-type of route </div>
<p>The most familiar and useful match on ACL lies here&#58;</p>
<div class="cmd">TokyoASA(config-route-map)# match ip ? </div>
<div class="cmdout">route-map mode commands/options&#58;  <br />
  address       Match address of route or match packet <br />
  next-hop      Match next-hop address of route <br />
  route-source  Match advertising source address of route </div>
<div class="cmd">TokyoASA(config-route-map)# match ip address FILTER-ACL <br />
TokyoASA(config-route-map)#  route-map RIPv2 permit 10  <br />match ip address FILTER-ACL  <br /> match interface inside <br />
TokyoASA(config-router)# redistribute connected  route-map RIPv2 metric 13 </div>
<p>About rest of the match conditions, I’ll cover them when talking about OSPF in ASA.</p>
<div class="cmd">TokyoASA(config-route-map)# match route-type ? </div>
<div class="cmdout">route-map mode commands/options&#58; <br />
  external       Match external route (OSPF type 1/2) <br />
  internal       Match internal route (including OSPF intra/inter area) <br />
  local          Match locally generated route <br />
  nssa-external  Match nssa-external route (OSPF type 1/2) </div>
<p><strong>Filtering out routes  in updates.</strong><br />
If you want to filter some networks in updates use distribute-list.</p>
<div class="cmd">TokyoASA(config-router)# distribute-list MYACL ? </div>
<div class="cmdout">router mode commands/options&#58; <br />
  in   Filter incoming routing updates <br />
  out  Filter outgoing routing updates </div>
<p><strong>Now some debug is due.</strong><br />
Enable rip debug&#58;</p>
<div class="cmd">TokyoASA1# debug rip<br />
TokyoASA1# sh debug</div>
<div class="cmdout">debug rip routing <br />
debug rip database <br />
debug rip events </div>
<p>Normal functioning protocol debug output&#58;</p>
<div class="cmdout">add 10.0.2.0 255.255.255.0 via 0.0.0.0, connected metric [0/0]network<br />
0.0.6.136 is now variably masked <br />
add 136.6.0.0 255.255.0.0 via 0.0.0.0, connected metric [0/0] <br />
RIP-DB&#58; redist 10.0.0.0 255.255.255.0(metric 0, last interface dmz1) to RIP <br />
RIP-DB&#58; redist 10.0.2.0 255.255.255.0(metric 0, last interface dmz1) to RIP <br />
RIP-DB&#58; Get redist for network 10.0.2.0 <br />
RIP-DB&#58; adding 10.0.2.0 255.255.255.0 (metric 0) via 0.0.0.0 on Ethernet0/2.120 to RIP database <br />
RIP-DB&#58; rip_create_ndb create 10.0.2.0 255.255.255.0, (best metric 4294967295) <br />
RIP-DB&#58; rip_create_rdb Create 10.0.2.0 255.255.255.0, (metric 0) via 0.0.0.0, Ethernet0/2.120(permanent) <br />
RIP-DB&#58; add 10.0.2.0 255.255.255.0 (metric 0) via 0.0.0.0 on Ethernet0/2.120 (donot_age) <br />
RIP-DB&#58; Adding new rndb entry 10.0.2.0 255.255.255.0 <br />
RIP-DB&#58; rip_create_ndb create 10.0.0.0 255.0.0.0, (best metric 4294967295) <br />
RIP-DB&#58; rip_create_rdb Create 10.0.0.0 255.0.0.0, (metric 0) via 0.0.0.0, Null0(permanent) <br />
RIP-DB&#58; Created rip ndb summary entry for 10.0.0.0 255.0.0.0 <br />
RIP-DB&#58; Adding new rndb entry 10.0.0.0 255.0.0.0 rip_route_adjust for dmz1 coming up <br />
RIP&#58; sending request on dmz1 to 224.0.0.9 rip_route_adjust for dmz1 coming up <br />
RIP&#58; sending request on dmz1 to 224.0.0.9 <br />
RIP&#58; sending v2 flash update to 224.0.0.9 via dmz1 (10.0.2.120) <br />
RIP&#58; build flash update entries &#8211; suppressing null update <br />
RIP&#58; sending v2 update to 224.0.0.9 via dmz1 (10.0.2.120) <br />
RIP&#58; build update entries &#8211; suppressing null update </div>
<p>Now the authentication has been enabled but keys on 2 peers are not the same&#58;</p>
<div class="cmdout">RIP&#58; sending v2 update to 224.0.0.9 via inside (136.6.121.12)<br />
RIP&#58; build update entries <br />
10.0.0.0 255.255.255.0 via 0.0.0.0, metric 1, tag 0 136.6.23.0 255.255.255.0 via 0.0.0.0, metric 2, tag 0 136.6.123.0 255.255.255.0 via 0.0.0.0, metric 1, tag 0 136.6.124.0 255.255.255.0 via 0.0.0.0, metric 1, tag 0 <br />
RIP&#58; Update contains 4 routes <br />
RIP&#58; Update queued <br />
RIP&#58; sending v2 update to 224.0.0.9 via dmz1 (10.0.0.120) <br />
RIP&#58; build update entries <br />
136.6.23.0 255.255.255.0 via 0.0.0.0, metric 2, tag 0 136.6.121.0 255.255.255.0 via 0.0.0.0, metric 1, tag 0 136.6.123.0 255.255.255.0 via 0.0.0.0, metric 1, tag 0 136.6.124.0 255.255.255.0 via 0.0.0.0, metric 1, tag 0 <br />
RIP&#58; Update contains 4 routes <br />
RIP&#58; Update queued <br />
RIP&#58; Update sent via inside rip-len&#58;92 <br />
RIP&#58; Update sent via dmz1 rip-len&#58;92 <br />
RIP&#58; ignored v2 packet from 136.6.123.3 (invalid authentication) <br />
RIP&#58; sending v2 update to 224.0.0.9 via inside (136.6.121.12) <br />
RIP&#58; build update entries <br />
10.0.0.0 255.255.255.0 via 0.0.0.0, metric 1, tag 0 136.6.23.0 255.255.255.0 via 0.0.0.0, metric 2, tag 0 136.6.123.0 255.255.255.0 via 0.0.0.0, metric 1, tag 0 136.6.124.0 255.255.255.0 via 0.0.0.0, metric 1, tag 0 <br />
RIP&#58; Update contains 4 routes <br />
RIP&#58; Update queued <br />
RIP&#58; sending v2 update to 224.0.0.9 via dmz1 (10.0.0.120) <br />
RIP&#58; build update entries </div>
]]></content:encoded>
			<wfw:commentRss>http://yurisk.info/2010/08/23/playing-with-rip-on-asa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

