Networking-Forums.com

Professional Discussions => Security => Topic started by: icecream-guy on August 22, 2017, 11:48:53 AM

Title: Trivia
Post by: icecream-guy on August 22, 2017, 11:48:53 AM
When did Cisco ASA drop support for port-objects in service object-group's  ?   
I see it in 9.1.7 but not in 9.6.3
Title: Re: Trivia
Post by: deanwebb on August 22, 2017, 03:31:39 PM
Looks like within the last two years, still searching for exact ASA ver that deprecated port-object.
Title: Re: Trivia
Post by: Dieselboy on August 28, 2017, 02:19:54 AM
May be the same reason they removed the snmp oid object to monitor the route table  :twitch:

I checked this out on the 9.7(1)8 code I'm running, and I can add service object groups in service policy rules. I'm also using service object groups in ACLs. I can also add service object groups within service object groups. 

I don't think I am thinking of the right config? Can you explain some more so I can check it out?
Title: Re: Trivia
Post by: icecream-guy on August 28, 2017, 08:19:19 AM
Quote from: Dieselboy on August 28, 2017, 02:19:54 AM
May be the same reason they removed the snmp oid object to monitor the route table  :twitch:

I checked this out on the 9.7(1)8 code I'm running, and I can add service object groups in service policy rules. I'm also using service object groups in ACLs. I can also add service object groups within service object groups. 

I don't think I am thinking of the right config? Can you explain some more so I can check it out?


just me and the typo's  never mind, this is from 9.8.1


5500X-EVAL1/admin(config-service-object-group)# object-group service yyy
5500X-EVAL1/admin(config-service-object-group)# ?

  description     Specify description text
  group-object    Configure an object group as an object
  help            Help for service object-group configuration commands
  no              Remove an object or description from object-group
  service-object  Configure a service object



vs


5500X-EVAL1/admin(config-service-object-group)# object-group service xxx tcp
5500X-EVAL1/admin(config-service-object-group)# port-object eq www
5500X-EVAL1/admin(config-service-object-group)# ?

  description   Specify description text
  group-object  Configure an object group as an object
  help          Help for service object-group configuration commands
  no            Remove an object or description from object-group
  port-object   Configure a port object



Title: Re: Trivia
Post by: Otanx on August 29, 2017, 01:37:22 PM
Slightly off topic question, but what use case would you use "object-group service xxx tcp" and being limited to only specifying tcp port numbers vs "object-group service xxx" and being able to add UDP and TCP ports? I have not found any features that don't work with the second style, and it is more flexible.

-Otanx
Title: Re: Trivia
Post by: DanC on August 29, 2017, 05:01:11 PM
Quote from: Otanx on August 29, 2017, 01:37:22 PM
Slightly off topic question, but what use case would you use "object-group service xxx tcp" and being limited to only specifying tcp port numbers vs "object-group service xxx" and being able to add UDP and TCP ports? I have not found any features that don't work with the second style, and it is more flexible.

-Otanx

I've often wondered the same thing. My guess is that there isn't one and it's a legacy command from earlier code that's retained for compatibility... it's only a guess though ;)
Title: Re: Trivia
Post by: icecream-guy on August 30, 2017, 06:15:37 AM
Quote from: Otanx on August 29, 2017, 01:37:22 PM
Slightly off topic question, but what use case would you use "object-group service xxx tcp" and being limited to only specifying tcp port numbers vs "object-group service xxx" and being able to add UDP and TCP ports? I have not found any features that don't work with the second style, and it is more flexible.

-Otanx

just to make it more confusing, you can specify tcp & udp like so


asa/admin(config)# object-group service zzz tcp-udp
asa/admin(config-service-object-group)# ?

  description   Specify description text
  group-object  Configure an object group as an object
  help          Help for service object-group configuration commands
  no            Remove an object or description from object-group
  port-object   Configure a port object
asa/admin(config-service-object-group)#
asa/admin(config-service-object-group)# port-object eq 53