<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>LINICKX.com</title><link>https://www.linickx.com/</link><description></description><lastBuildDate>Tue, 28 Jul 2015 16:04:00 +0100</lastBuildDate><item><title>Multi-Context HTTPS backups of Cisco ASA Script</title><link>https://www.linickx.com/multi-context-https-backups-of-cisco-asa-script</link><description>&lt;p&gt;If you look in the Cisco forums for scripts to backup ASAs you'll find various SSH / Expect , complicated examples... not sure why since &lt;a href="https://www.linickx.com/https-backups-of-cisco-asa"&gt;in 2006 I showed it can be done with a single wget command&lt;/a&gt; ;-)&lt;/p&gt;
&lt;p&gt;Recently I needed something that would support Multi-Context firewalls, so I pimped my one line command into the &lt;a href="#below"&gt;below&lt;/a&gt; shell script.&lt;/p&gt;
&lt;p&gt;Copy/paste into a new file as &lt;code&gt;backup_cisco_asa.sh&lt;/code&gt; then &lt;code&gt;chmod 700&lt;/code&gt; the file as necessary. &lt;/p&gt;
&lt;p&gt;Run the file with no options &lt;code&gt;./backup_cisco_asa.sh&lt;/code&gt; and it'll ask you for IP address, username and password to make the connection.&lt;/p&gt;
&lt;p&gt;For this to work the ASA needs appropriate HTTP statements (&lt;em&gt;i.e. allow ASDM access from where you are running the script&lt;/em&gt;)&lt;/p&gt;
&lt;p&gt;The file supports in-line backup of a single device such as &lt;code&gt;./backup_cisco_asa.sh 10.10.10.10&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Multi-context support is via an environment variable or a config file &lt;code&gt;~/.asa_config&lt;/code&gt;. You must set an array containing entries for each context you want to backup. e.g.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;ASA_CONTEXTS=( 
 &amp;quot;172.31.9.10:system&amp;quot;
 &amp;quot;172.31.9.10:admin&amp;quot;
 &amp;quot;172.31.9.10:Edge&amp;quot;
 &amp;quot;172.31.2.254:system&amp;quot;
 &amp;quot;172.31.2.254:admin&amp;quot;
 &amp;quot;172.31.2.254:Core&amp;quot; )
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;If you're feeling &lt;em&gt;insecure&lt;/em&gt; you can also save your username/password variables into the &lt;code&gt;~/.asa_config&lt;/code&gt; as &lt;code&gt;ASA_UID&lt;/code&gt; and &lt;code&gt;ASA_PW&lt;/code&gt; respectively (&lt;em&gt;or as environment variables&lt;/em&gt;)&lt;/p&gt;
&lt;p&gt;Given that the script is a bash shell script I assume that SCP isn't required (&lt;em&gt;because you are probably already on your linux SSH/SCP server running the script&lt;/em&gt;) but to keep the &lt;em&gt;router team&lt;/em&gt; happy you might need to copy the files up via TFTP, this can be set with the &lt;code&gt;ASA_TFTP_IP&lt;/code&gt; variable in &lt;code&gt;~/.asa_config&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;By default the backup files will be saved to &lt;code&gt;./&lt;/code&gt; (&lt;em&gt;i.e. where ever you run the script from&lt;/em&gt;) and you can change that with the &lt;code&gt;ASA_FILEPATH&lt;/code&gt; variable.&lt;/p&gt;
&lt;p&gt;&lt;a name="below"&gt; &lt;/a&gt; &lt;/p&gt;
&lt;h3&gt;backup_cisco_asa.sh&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;#!/bin/bash

# Nick Bettison - LINICKX.com - 2015 - v1
# Bash Shell Scipt for backing up Cisco ASA's via HTTPS (i.e. ASDM)
# 
# Read the file comments, you can setup a config file ~/.asa_config to store variables.
# ASA_UID &amp;amp; ASA_PW for credentials (if you're feeling insecure)
# ASA_CONTEXTS for multi-context support
# and ASA_TFTP_IP for copying the files via TFTP (for insecure router boys)
#
# Tested on.
# Cisco Adaptive Security Appliance Software Version 9.2(3)4 &amp;lt;context&amp;gt;
# Device Manager Version 7.4(2)

# Timestamp for file names
TIMESTAMP=`date &amp;quot;+%Y%m%d-%H%M%S&amp;quot;`

# Allow single ASA IP address to be passed from CLI
# e.g ./backup_cisco_asa.sh 10.10.10.10
if [ -n &amp;quot;$1&amp;quot; ]
    then
    ASA_IP=&amp;quot;$1&amp;quot;
fi

# Check for Curl
type curl &amp;gt;/dev/null 2&amp;gt;&amp;amp;1 || { echo &amp;gt;&amp;amp;2 &amp;quot;I require curl but it's not installed.  Aborting.&amp;quot;; exit 1; }

# Read Variables from a config file (if it exits)
# The config file can be used for storing multi-context configurations... and for the insecure username/password ;-)
if [ -e ~/.asa_config ]
then
  . ~/.asa_config
fi

# Default File Path
if [ -z &amp;quot;$ASA_FILEPATH&amp;quot; ]
    then
    ASA_FILEPATH=&amp;quot;./&amp;quot;
fi

# Check for UID/PW Variables - Ask if not found
if [ -z &amp;quot;$ASA_UID&amp;quot; ]
        then
        read -p &amp;quot;ASA Username:&amp;quot; ASA_UID
fi
if [ -z &amp;quot;$ASA_PW&amp;quot; ]
        then
        read -s -p &amp;quot;ASA Password:&amp;quot; ASA_PW
        echo
fi

# Check to see if single or multi-context mode.
if [ -z &amp;quot;$ASA_CONTEXTS&amp;quot; ]
        then
        if [ -z &amp;quot;$ASA_IP&amp;quot; ]
                then
                read -p &amp;quot;ASA IP Address:&amp;quot; ASA_IP
        fi

        ASA_tFILE=&amp;quot;$ASA_FILEPATH.$TIMESTAMP.asaconfig.txt&amp;quot;

        # Download the &amp;quot;show run&amp;quot; via the unofficial CLI.
        curl -s -k -o $ASA_tFILE -u $ASA_UID:$ASA_PW &amp;quot;https://$ASA_IP/admin/exec/show%20running-config%20asdm/show%20running-config&amp;quot;

        if [ -e $ASA_tFILE ]
            then
            # Look for hostname in config file
            ASA_HOSTNAME=`grep ^hostname $ASA_tFILE | awk '{print $2}'`
            # rename the temp file to something sensible.
            mv $ASA_tFILE &amp;quot;$ASA_FILEPATH$TIMESTAMP.$ASA_HOSTNAME.txt&amp;quot;
            # Setup an array for TFTP later.
            ASA_FILES=(&amp;quot;${ASA_FILES[@]}&amp;quot; &amp;quot;$ASA_FILEPATH$TIMESTAMP.$ASA_HOSTNAME.txt&amp;quot;)
            # Done.
            echo &amp;quot;DONE: $ASA_FILEPATH$TIMESTAMP.$ASA_HOSTNAME.txt&amp;quot;
        else
            echo &amp;quot;FAILED: $ASA_IP&amp;quot;
            exit 1
        fi
else
    # Example ASA_CONTEXTS array:
    # 172.31.9.10 is the admin context IP, admin &amp;amp; Edge are the names of the two contexts to backup.
    # 172.31.2.254 is the admin context IP, admin &amp;amp; Core are the names of the two contexts to backup.
    # &amp;quot;system is obviously the system context&amp;quot;
    # ASA_CONTEXTS=( 
    #     &amp;quot;172.31.9.10:system&amp;quot;
    #     &amp;quot;172.31.9.10:admin&amp;quot;
    #     &amp;quot;172.31.9.10:Edge&amp;quot;
    #     &amp;quot;172.31.2.254:system&amp;quot;
    #     &amp;quot;172.31.2.254:admin&amp;quot;
    #     &amp;quot;172.31.2.254:Core&amp;quot; )

    # Loop through the array
    for firewall in ${ASA_CONTEXTS[@]} ; do
         ASA_IP=${firewall%%:*}
         ASA_CONTEXT=${firewall##*:}

         # Feedback on progress
         printf &amp;quot;Connecting to %s for %s \n&amp;quot; $ASA_IP $ASA_CONTEXT
         # Filename
         ASA_FILE=&amp;quot;$ASA_FILEPATH$TIMESTAMP.$ASA_IP.$ASA_CONTEXT.txt&amp;quot;

         # Download the CONTEXT &amp;quot;show run&amp;quot; via the unofficial API.
         curl -s -k -o $ASA_FILE -u $ASA_UID:$ASA_PW &amp;quot;https://$ASA_IP/admin/exec/changeto%20context%20$ASA_CONTEXT/show%20running-config/show%20running-config%20asdm&amp;quot;

         if [ -e $ASA_FILE ]
             then
             # Setup an array for TFTP later.
             ASA_FILES=(&amp;quot;${ASA_FILES[@]}&amp;quot; &amp;quot;$ASA_FILE&amp;quot;)
             # Done!
             echo &amp;quot;DONE: $ASA_FILE&amp;quot;
         else
             echo &amp;quot;FAILED: $ASA_IP&amp;quot;
         fi
     done
fi

# Optional Backup to insecure tftp - you know, to keep the router boys happy!
if [ -n &amp;quot;$ASA_TFTP_IP&amp;quot; ]
    then
    # Check for TFTP binary
    type tftp &amp;gt;/dev/null 2&amp;gt;&amp;amp;1 || { echo &amp;gt;&amp;amp;2 &amp;quot;tftp client not installed.  Aborting.&amp;quot;; exit 1; }
    type wc &amp;gt;/dev/null 2&amp;gt;&amp;amp;1 || { echo &amp;gt;&amp;amp;2 &amp;quot;wc not installed (needed for counting stuff).  Aborting.&amp;quot;; exit 1; }
    type awk &amp;gt;/dev/null 2&amp;gt;&amp;amp;1 || { echo &amp;gt;&amp;amp;2 &amp;quot;awk not installed.... seriously?!?!  Aborting.&amp;quot;; exit 1; }

    # Loop through array
    for file in ${ASA_FILES[@]} ; do
        LOCAL_FILE=$file
        # backup separator
        OIFS=$IFS
        # Change separator to /
        IFS='/'
        # Split the filename from the path
        AWK_POSITION=`echo $file | wc -w`
        REMOTE_FILE=`echo $file | awk -v w=$AWK_POSITION '{print $w}'`
        # restore separator
        IFS=$OIFS
        # TFTP the file.
        tftp -v $ASA_TFTP_IP -c put $LOCAL_FILE $REMOTE_FILE
    done
fi
&lt;/code&gt;&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nick Bettison</dc:creator><pubDate>Tue, 28 Jul 2015 16:04:00 +0100</pubDate><guid isPermaLink="false">tag:www.linickx.com,2015-07-28:multi-context-https-backups-of-cisco-asa-script</guid><category>Cisco</category><category>Security</category><category>ASA</category><category>Firewall</category></item><item><title>Cisco ASA SYSLOG config for Tufin SecureTrack</title><link>https://www.linickx.com/cisco-asa-syslog-config-for-tufin-securetrack</link><description>&lt;p&gt;I'm sure there's a very good reason that the Tufin Secure Track User
Guide (R14-1) has 8 pages of screenshots instead of including these 10
lines of config; I just don't yet know what the reason is :)&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;logging enable
logging timestamp
logging facility 23
logging message 111008 level  notifications
logging device-id  hostname 
logging list securetrack message 111008
logging list securetrack message 106100
logging list securetrack message 106023
logging trap securetrack
logging host inside 1.2.3.4
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;em&gt;Replace 1.2.3.4 with the IP address of your ST server.&lt;/em&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Mon, 02 Jun 2014 17:27:00 +0100</pubDate><guid isPermaLink="false">tag:www.linickx.com,2014-06-02:cisco-asa-syslog-config-for-tufin-securetrack</guid><category>asa</category><category>Cisco</category><category>firewall</category><category>SecureTrack</category><category>Tufin</category></item><item><title>Cisco ASA Firewalls and IP Ranges in ACLS</title><link>https://www.linickx.com/cisco-asa-firewalls-and-ip-ranges-in-acls</link><description>&lt;p&gt;I've google'd and I cannot find a way of creating a firewall range style
object in an ASA, you know the kind of thing whereby you want to allow
IP addresses 192.168.1.10 thru 192.168.1.20 in an ACL.&lt;/p&gt;
&lt;p&gt;In my frustration I have given up and created a shell script which
converts a CSV into an ASA output, simply create a two column CSV with
Col A containing your starting IP and Col B containing you end IP.&lt;/p&gt;
&lt;p&gt;The script is a recursive loop so should support large outputs such as
10.1.2.10 to 10.2.1.20 howvere I'm not actually sure you'd want that in
your firewall config but I wrote the computability for the fun it!&lt;/p&gt;
&lt;p&gt;Have fun, click "more" below if you can't see the script!&lt;/p&gt;
&lt;!--more--&gt;

&lt;pre&gt;&lt;code&gt;#!/bin.bash

# Commas separated VAR....
IFS=","
while read name firstip lastip
# Loop around CSV
do

# Split up our first ip into it's octects
firstipfirstoctect=$(echo $firstip | awk -F "." '{print $1}')
firstipsecondoctect=$(echo $firstip | awk -F "." '{print $2}')
firstipthirdoctect=$(echo $firstip | awk -F "." '{print $3}')
firstipforthoctect=$(echo $firstip | awk -F "." '{print $4}')

# Split up our last IP into it's ocects
lastipfirstoctect=$(echo $lastip | awk -F "." '{print $1}')
lastipsecondoctect=$(echo $lastip | awk -F "." '{print $2}')
lastipthirdoctect=$(echo $lastip | awk -F "." '{print $3}')
lastipforthoctect=$(echo $lastip | awk -F "." '{print $4}')

    # Re-set BASH
    unset IFS

    # Echo out the object GROUP name
    echo "object-group network $name"

    # Loop through 1st Octect
    for a in `seq $firstipfirstoctect $lastipfirstoctect`;
    do
        # test to see if we need to print the whole range
        if [ $firstipfirstoctect -lt $lastipfirstoctect ]
        then
            firstipsecondoctectCOUNTER="0"
            lastipsecondoctectCOUNTER="255"
        fi

        # first IP might not be 1
        if [ $a -eq $firstipfirstoctect ]
        then
            firstipsecondoctectCOUNTER=$firstipsecondoctect
        fi

        # last IP might not be 255
        if [ $a -eq $lastipfirstoctect ]
        then
            lastipsecondoctectCOUNTER=$lastipsecondoctect
        fi

            # Loop through 2nd Octect
            for b in `seq $firstipsecondoctect $lastipsecondoctect`;
            do

                # Same tests as before except, next octect.
                if [ $firstipsecondoctect -lt $lastipsecondoctect ]
                then
                    firstipthirdoctectCOUNTER="0"
                    lastipthirdoctectCOUNTER="255"
                fi

                if [ $b -eq $firstipsecondoctect ]
                then
                    firstipthirdoctectCOUNTER=$firstipthirdoctect
                fi

                if [ $b -eq $lastipsecondoctect ]
                then
                    lastipthirdoctectCOUNTER=$lastipthirdoctect
                fi

                    # Loop through 3rd Octect
                    for c in `seq $firstipthirdoctectCOUNTER $lastipthirdoctectCOUNTER`;
                    do

                        # copy / paste / tweak
                        if [ $firstipthirdoctect -lt $lastipthirdoctect ]
                        then
                            firstipforthoctectCOUNTER="0"
                            lastipforthoctectCOUNTER="255"
                        fi

                        if [ $c -eq $firstipthirdoctect ]
                        then
                            firstipforthoctectCOUNTER=$firstipforthoctect
                        fi

                        if [ $c -eq $lastipthirdoctect ]
                        then
                            lastipforthoctectCOUNTER=$lastipforthoctect
                        fi

                            # final octect... echo result.
                            for d in `seq $firstipforthoctectCOUNTER $lastipforthoctectCOUNTER`;
                            do
                                echo " network-object $a.$b.$c.$d  255.255.255.255"
                            done

                    done
            done
    done

done&amp;lt;./FirewallRanges.csv
&lt;/code&gt;&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Fri, 29 Jul 2011 15:05:00 +0100</pubDate><guid isPermaLink="false">tag:www.linickx.com,2011-07-29:cisco-asa-firewalls-and-ip-ranges-in-acls</guid><category>asa</category><category>bash</category><category>Cisco</category><category>firewall</category><category>script</category><category>Security</category></item><item><title>Cisco ASA - First steps to a Check Point Style Policy</title><link>https://www.linickx.com/cisco-asa-first-steps-to-a-check-point-style-policy</link><description>&lt;p&gt;I've just spotted this in the Cisco &lt;a href="http://www.cisco.com/en/US/docs/security/asa/asa83/release/notes/asarn83.html"&gt;ASA 8.3 release
notes&lt;/a&gt;...&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;You can now configure access rules that are applied globally, as well
as access rules that are applied to an interface. If the configuration
specifies both a global access policy and interface-specific access
policies, the interface-specific policies are evaluated before the
global policy.&lt;/p&gt;
&lt;p&gt;The following command was modified: access-group global&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;For users/companies which have migrated from Check Point to Cisco
(&lt;em&gt;usually to save on licensing fees&lt;/em&gt;), getting their head around a new
interface level policy rather than a system (&lt;em&gt;global&lt;/em&gt;) level is usually
a bit of a challenge.&lt;/p&gt;
&lt;p&gt;I'm looking forward to seeing if this really helps with policy
migrations!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Wed, 01 Dec 2010 10:14:00 +0000</pubDate><guid isPermaLink="false">tag:www.linickx.com,2010-12-01:cisco-asa-first-steps-to-a-check-point-style-policy</guid><category>asa</category><category>Blog</category><category>Cisco</category><category>firewall</category><category>Security</category></item><item><title>Irritating ASDM &amp; Java issues...</title><link>https://www.linickx.com/irritating-asdm-java-issues</link><description>&lt;p&gt;Follow up &lt;a href="https://www.linickx.com/archives/1129/having-issues-with-java-and-as"&gt;from
this&lt;/a&gt;
&lt;a href="http://twitter.com/linickx/status/1857481093"&gt;tweet&lt;/a&gt;. Every time I
tried to connect to the ASA's ASDM Java would crash with a Null Pointer
exception, I tried everything from deleting the .asdm folder in my home
directory (&lt;em&gt;my documents on windows&lt;/em&gt;), uninstalling the asdm launcher
didn't help, neither did clearing java's cache or uninstalling and
re-installing java.&lt;/p&gt;
&lt;p&gt;In the end i had to downgrade, very frustrating!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Wed, 20 May 2009 18:02:00 +0100</pubDate><guid isPermaLink="false">tag:www.linickx.com,2009-05-20:irritating-asdm-java-issues</guid><category>asa</category><category>asdm</category><category>Cisco</category><category>java</category></item><item><title>Strange ASA ARP Replying Behavior</title><link>https://www.linickx.com/strange-asa-arp-replying-behavior</link><description>&lt;p&gt;I've been implementing a few Cisco ASA's recently, and &lt;a href="https://www.linickx.com/archives/446/cisco-asa-and-7905-ip-phone-weirdness"&gt;I blogged about
this strange
behavior&lt;/a&gt;;
well I came across another one yesterday.&lt;/p&gt;
&lt;p&gt;Take a look at this debug arp....&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;CiscoASA# debug arp
debug arp  enabled at level 1
CiscoASA# 
CiscoASA# arp-set: added arp outside 192.168.1.122 001e.7000.1234 and updating NPs at 4301321940
arp-set: added arp inside 192.168.1.61 001a.7100.1234 and updating NPs at 4301321940
arp-in: request at outside from 192.168.1.125 001a.3000.1234 for 192.168.1.120 001e.7a51.1234
arp-in: rqst for me from 192.168.1.125 for 192.168.1.120, on outside
arp-set: added arp outside 192.168.1.125 001a.3000.1234 and updating NPs at 4301326660
arp-in: generating reply from 192.168.1.120 001e.7a51.1234 to 192.168.1.125 001a.3000.1234
arp-in: request at outside from 192.168.1.125 001a.3000.1234 for 192.168.1.73 001e.7a51.1234
arp-in: rqst for me from 192.168.1.125 for 192.168.1.73, on outside
arp-set: added arp outside 192.168.1.125 001a.3000.1234 and updating NPs at 4301326660
arp-in: generating reply from 192.168.1.73 001e.7a51.1234 to 192.168.1.125 001a.3000.1234
arp-in: request at outside from 192.168.1.125 001a.3000.1234 for 192.168.1.69 001e.7a51.1234
arp-in: rqst for me from 192.168.1.125 for 192.168.1.69, on outside
arp-set: added arp outside 192.168.1.125 001a.3000.1234 and updating NPs at 4301326660
arp-in: generating reply from 192.168.1.69 001e.7a51.1234 to 192.168.1.125 001a.3000.1234
arp-in: request at outside from 192.168.1.125 001a.3000.1234 for 192.168.1.123 001e.7a51.1234
arp-in: rqst for me from 192.168.1.125 for 192.168.1.123, on outside
arp-set: added arp outside 192.168.1.125 001a.3000.1234 and updating NPs at 4301326660
arp-in: generating reply from 192.168.1.123 001e.7a51.1234 to 192.168.1.125 001a.3000.1234
arp-in: response at outside from 192.168.1.125 001a.3000.1234 for 192.168.1.125 ffff.ffff.ffff
arp-in: updating gratuitous ARP 192.168.1.125 - 001a.3000.1234
arp-set: added arp outside 192.168.1.125 001a.3000.1234 and updating NPs at 4301326660
CiscoASA#
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The firewall is replying to arp requests even though both the source &amp;amp;
destination of the traffic are on the same (&lt;em&gt;outside&lt;/em&gt;) interface, now I
haven't manged to work out why the firewall was doing this, but I did
find &lt;a href="http://forum.cisco.com/eforum/servlet/NetProf?page=netprof&amp;amp;forum=Security&amp;amp;topic=Firewalling&amp;amp;topicID=.ee6e1fa&amp;amp;fromOutline=&amp;amp;CommCmd=MB%3Fcmd%3Ddisplay_location%26location%3D.2cc12b2b"&gt;a fix on the cisco
forums&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;sysopt noproxyarp outside&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Names, IPs &amp;amp; MAC's have been changed to protect the innocent.&lt;br /&gt;
:cool:&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Thu, 10 Jul 2008 09:02:00 +0100</pubDate><guid isPermaLink="false">tag:www.linickx.com,2008-07-10:strange-asa-arp-replying-behavior</guid><category>asa</category><category>Cisco</category><category>firewall</category><category>Security</category><category>troubleshooting</category></item><item><title>Cisco ASA and 7905 IP Phone Weirdness</title><link>https://www.linickx.com/cisco-asa-and-7905-ip-phone-weirdness</link><description>&lt;p&gt;I came accross something odd the other day, I had some Cisco IP Phones
on a DMZ interface and the Call Manager was behind the inside interface.
If you made a call from a 7940 to a 7940 everything worked fine, if you
made a call from a 7905 to a 7940 it failled!&lt;/p&gt;
&lt;p&gt;I ran &lt;a href="https://www.linickx.com/archives/112/debug-packet-command-missing-on-pix-7"&gt;a packet
capture&lt;/a&gt;
and found that the phone was "bouncing" the RTP stream off the firewall
rather than connecting directly to the peer phone... very weird! The
problem was solved by enabling...&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;same-security-traffic permit intra-interface
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I thought I post this for some future googlers!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Tue, 24 Jun 2008 08:30:00 +0100</pubDate><guid isPermaLink="false">tag:www.linickx.com,2008-06-24:cisco-asa-and-7905-ip-phone-weirdness</guid><category>asa</category><category>Cisco</category><category>firewall</category><category>ipt</category><category>Security</category><category>VoIP</category><category>weird</category></item><item><title>Backup Interface on Cisco ASA Firewall</title><link>https://www.linickx.com/backup-interface-on-cisco-asa-firewall</link><description>&lt;p&gt;&lt;a href="https://www.linickx.com/archives/395/learned-something-new-recently"&gt;I
tweeted&lt;/a&gt;
a little while ago about Nokia recently supporting interface failover
within IPSO, well it looks like Cisco's ASA Version 8 software can do it
now too!&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The following
&lt;a href="http://www.cisco.com/en/US/partner/docs/security/asa/asa80/configuration/guide/intrface.html#wpmkr1046659"&gt;example&lt;/a&gt;
creates two redundant interfaces:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;asa(config)# interface redundant 1 asa(config-if)# member-interface gigabitethernet 0/0 asa(config-if)# member-interface gigabitethernet 0/1 asa(config-if)# interface redundant 2 asa(config-if)# member-interface gigabitethernet 0/2 asa(config-if)# member-interface gigabitethernet 0/3&lt;/code&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Reference: &lt;a href="http://www.cisco.com/en/US/partner/docs/security/asa/asa80/configuration/guide/intrface.html#wpmkr1046659"&gt;Adding a Redundant
Interface&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Tue, 10 Jun 2008 18:06:00 +0100</pubDate><guid isPermaLink="false">tag:www.linickx.com,2008-06-10:backup-interface-on-cisco-asa-firewall</guid><category>asa</category><category>Cisco</category><category>firewall</category><category>Security</category></item><item><title>OSPF &amp; Cisco ASAs</title><link>https://www.linickx.com/ospf-cisco-asas</link><description>&lt;p&gt;One of the interesting things about ASA's is the fact that it supports
running two OSPF Processes. This was a great decision by cisco, if a
business has two different OSPF domains the chances are they are owned
by two separate parts of the business, so where would be a better place
to put a firewall?&lt;/p&gt;
&lt;style type='text/css'&gt;
  #gallery-1 {
    margin: auto;
  }
  #gallery-1 .gallery-item {
    float: left;
    margin-top: 10px;
    text-align: center;
    width: 33%;
  }
  #gallery-1 img {
    border: 2px solid #cfcfcf;
  }
  #gallery-1 .gallery-caption {
    margin-left: 0;
  }
  /* see gallery_shortcode() in wp-includes/media.php */
&lt;/style&gt;
&lt;div id='gallery-1' class='gallery galleryid-298 gallery-columns-3 gallery-size-thumbnail'&gt;&lt;dl class='gallery-item'&gt;
  &lt;dt class='gallery-icon '&gt;
    &lt;a href='https://www.linickx.com/298/ospf-cisco-asas/asa-ospf-lab-senario'&gt;&lt;img src="https://www.linickx.com/files/2008/10/asa-ospf-lab-senario-150x150.png" class="attachment-thumbnail" alt="My Lab Setup" aria-describedby="gallery-1-536" /&gt;&lt;/a&gt;
  &lt;/dt&gt;
    &lt;dd class='wp-caption-text gallery-caption' id='gallery-1-536'&gt;
    My Lab Setup
    &lt;/dd&gt;&lt;/dl&gt;&lt;dl class='gallery-item'&gt;
  &lt;dt class='gallery-icon '&gt;
    &lt;a href='https://www.linickx.com/298/ospf-cisco-asas/asa-ospf-overview'&gt;&lt;img src="https://www.linickx.com/files/2008/10/asa-ospf-overview-150x150.png" class="attachment-thumbnail" alt="Overview of what we&amp;#039;re doing" aria-describedby="gallery-1-537" /&gt;&lt;/a&gt;
  &lt;/dt&gt;
    &lt;dd class='wp-caption-text gallery-caption' id='gallery-1-537'&gt;
    Overview of what we&amp;#8217;re doing
    &lt;/dd&gt;&lt;/dl&gt;
  &lt;br style='clear: both' /&gt;
&lt;/div&gt;

&lt;p&gt;I've put together a basic lab / config to test out the functionality,
obviously this doesn't address IP conflicts which are quite likely to
happen in a real world scenario, but you do get the general idea. In &lt;a href="https://www.linickx.com/files/cisco/"&gt;my
cisco config directory&lt;/a&gt;you'll find
two router configs and an ASA config. Each router is intended to
represent each ospf domain, the ASA will then re-distribute the routes
into each process... &lt;strong&gt;Note&lt;/strong&gt;: you'll see some "show" commands at the
end of the config files.&lt;/p&gt;
&lt;p&gt;I actually put this together as a "just in case" type thing, but I
expect this to come in very handy in the future ! :cool:&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Tue, 24 Jul 2007 15:41:00 +0100</pubDate><guid isPermaLink="false">tag:www.linickx.com,2007-07-24:ospf-cisco-asas</guid><category>asa</category><category>Cisco</category><category>ospf</category><category>Security</category></item></channel></rss>