Upgraded 8.0(5) to 8.4 ASA now config is a mess

RadiclDreamer

Diamond Member
Aug 8, 2004
8,622
40
91
Like the title says, the ASA used to have a site to site defined with all named members. Now the named members have been replaced with IP addresses. Is this supposed to happen?

I was going to go back through and change it back but

A. Didnt know if there is an easier way
B. Didnt know if this was best practice
 

sactwnguy

Member
Apr 17, 2007
101
0
76
good luck, that upgrade is a mess because of the NAT changes. I never did find an easy way to fix the configuration quickly. I ended up writing scripts to remove and recreate the objects in batches. If I had known the mess it would created I would have just rewrote the policy/config from scratch. This was the upgrade that made me really start looking at other vendor firewalls.
 

RadiclDreamer

Diamond Member
Aug 8, 2004
8,622
40
91
That sucks, unfortunately I am not able to rewrite from scratch easily. My config is massive, several hundred objects, several hundred NAT, tons of Access lists.
 

cpals

Diamond Member
Mar 5, 2001
4,494
0
76
We had some big problems going from 8.2 to 8.4. Ended up getting TAC involved due to how the NAT changes effected our internal servers. Working fine now but was a hassle to get there.
 

Pheran

Diamond Member
Apr 26, 2001
5,849
48
91
Is it your access lists that are a mess now? I'm guessing you got bit by the name to object change. We went through something similar with an FWSM to ASASM migration, and I wrote a perl script to convert the config from names to objects. I can't guarantee that it will work for your situation unmodified, but I'm happy to share it if you want to check it out.
 

m1ldslide1

Platinum Member
Feb 20, 2006
2,321
0
0
First - don't do code upgrades to anything important (routers, switches, firewalls, servers, phone systems, etc) without first understanding the changes. This NAT change in particular is famously challenging, and a quick internet search would've revealed that. Other syntax changes - such as the host-to-IP change - are all well documented out there as well. /lecture

Second - call TAC. I'm told this is one of the most common calls that they get, and they should be able to help you resolve without too much hand wringing.
 

thecoolnessrune

Diamond Member
Jun 8, 2005
9,673
580
126
This was why I made sure I was on 8.4 before I ever implemented my network. I understand that wasn't an option for you, but yeah, its a awful nightmare for a lot of people. Like the others said, get a hold of TAC, its an extremely common call for them.
 

RadiclDreamer

Diamond Member
Aug 8, 2004
8,622
40
91
Is it your access lists that are a mess now? I'm guessing you got bit by the name to object change. We went through something similar with an FWSM to ASASM migration, and I wrote a perl script to convert the config from names to objects. I can't guarantee that it will work for your situation unmodified, but I'm happy to share it if you want to check it out.

Yeah, this sounds like the same thing we are facing. Can you elaborate on this a bit? I read the article about names > objects but didnt quite understand what it meant. I had everything named in the entire device and now its a wasteland of IPs. It still works fine its just a friggin mess to work with.

Some things like NAT had the named items there and some things like VPN tunnels decided to take the duplicate ip that was just an ip, not named. The duplicate IP in the device by the way, was created by the upgrade as well.
 

RadiclDreamer

Diamond Member
Aug 8, 2004
8,622
40
91
First - don't do code upgrades to anything important (routers, switches, firewalls, servers, phone systems, etc) without first understanding the changes. This NAT change in particular is famously challenging, and a quick internet search would've revealed that. Other syntax changes - such as the host-to-IP change - are all well documented out there as well. /lecture

Second - call TAC. I'm told this is one of the most common calls that they get, and they should be able to help you resolve without too much hand wringing.

I understood the functional parts, its just my beautiful fully named appliance now is filled with crap.

For example, it used to be

VPN to Blah
> Host one
> Host two
> Maybe a subnet or two


now its

VPN to Blah

>172.25.1.1
>10.10.10.10
>1.2.3.4
>192.168.1.0/24

Hindsight being 20/20 and all I should have researched it a bit more before diving in, but i had done these before on smaller installs and had no issues and (foolishly) assumed it would be the same here
 

Pheran

Diamond Member
Apr 26, 2001
5,849
48
91
Yeah, this sounds like the same thing we are facing. Can you elaborate on this a bit? I read the article about names > objects but didnt quite understand what it meant. I had everything named in the entire device and now its a wasteland of IPs. It still works fine its just a friggin mess to work with.

Some things like NAT had the named items there and some things like VPN tunnels decided to take the duplicate ip that was just an ip, not named. The duplicate IP in the device by the way, was created by the upgrade as well.

Basically the ASA no longer uses the "name" command except in a few ancillary places (dns servers, logging hosts, etc.). The functionality it used to provide has been replaced by the "object" statement. Objects are a bit more flexible since they can contain a netmask, plus if you change an object the ACL using it actually changes, unlike names which were purely cosmetic when showing the config.

Upgrading our firewall to the new version would have resulted in a giant set of ACLs containing only IP addresses. That's why I wrote the script to convert all of our named ACLs into object-based ACLs, so we still have coherent ACLs on the new version - plus all IPs used in multiple places are objects, so if we update one they all change. It also converts all existing object-groups to be populated with the new objects.
 
Last edited:

RadiclDreamer

Diamond Member
Aug 8, 2004
8,622
40
91
Basically the ASA no longer uses the "name" command except in a few ancillary places (dns servers, logging hosts, etc.). The functionality it used to provide has been replaced by the "object" statement. Objects are a bit more flexible since they can contain a netmask, plus if you change an object the ACL using it actually changes, unlike names which were purely cosmetic when showing the config.

Upgrading our firewall to the new version would have resulted in a giant set of ACLs containing only IP addresses. That's why I wrote the script to convert all of our named ACLs into object-based ACLs, so we still have coherent ACLs on the new version - plus all IPs used in multiple places are objects, so if we update one they all change. It also converts all existing object-groups to be populated with the new objects.

Ok, that makes more sense but I am still unsure of a few things.

Firstly, what would cause it to duplicate items in the config? For example, I used to have

nameofserver - 123.123.123.123

now I have two items

nameofserver - 123.123.123.123
123.123.123.123 - 123.123.123.123

So I can remove the ip item and point everything to the named "object"?
 

RadiclDreamer

Diamond Member
Aug 8, 2004
8,622
40
91
Yeah, I thought that might be hard to interp.

I mean I have one entry in my objects list with a name and an IP and another where the name is the IP. Essentially I have double entries for items now, only one is named with a readble/non ip name.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |