I have one case of same object name but different case on config I am parsing. This is allowed on Cisco configs but not allowed on CheckPoint.
I did few tests, and this can lead to a complete different rule on checkpoint.
There are two objects on checkpoint database ( importing using attached customer_network_objects.xml
customer_network_objects.xml.txt
).
Please pay close attention to object names and case ( this is causing all this mess).
object network dns_1
host 192.168.71.41
object-group network dns_servers
network-object host 1.1.1.1
network-object object dns_1
network-object host 172.16.11.64
object-group network DNS_SERVERS
network-object host 172.16.11.110
network-object host 172.16.11.111
network-object host 172.16.11.24
network-object host 172.16.11.112
object-group network DM_INLINE_NETWORK_17
group-object DNS_SERVERS
group-object dns_servers
CiscoHost(name=H_172.16.11.64,ipAddr=172.16.11.64,desc=,alias=)
CiscoNetGroup(name=dns_servers,desc=,nbMembers=3,alias=)
CiscoHost(name=dns_1,ipAddr=1.1.1.1,desc=,alias=)
CiscoHost(name=dns_1,ipAddr=1.1.1.1,desc=,alias=)
CiscoHost(name=H_172.16.11.64,ipAddr=172.16.11.64,desc=,alias=)
Verify: <ASAObjGroupNetwork # 2 'object-group network dns_servers'>
CiscoHost(name=H_172.16.11.110,ipAddr=172.16.11.110,desc=,alias=)
CiscoHost(name=H_172.16.11.111,ipAddr=172.16.11.111,desc=,alias=)
CiscoHost(name=H_172.16.11.24,ipAddr=172.16.11.24,desc=,alias=)
CiscoHost(name=H_172.16.11.112,ipAddr=172.16.11.112,desc=,alias=)
CiscoNetGroup(name=DNS_SERVERS,desc=,nbMembers=4,alias=)
CiscoHost(name=H_172.16.11.110,ipAddr=172.16.11.110,desc=,alias=)
CiscoHost(name=H_172.16.11.111,ipAddr=172.16.11.111,desc=,alias=)
CiscoHost(name=H_172.16.11.24,ipAddr=172.16.11.24,desc=,alias=)
CiscoHost(name=H_172.16.11.112,ipAddr=172.16.11.112,desc=,alias=)
Verify: <ASAObjGroupNetwork # 6 'object-group network DNS_SERVERS'>
CiscoNetGroup(name=DM_INLINE_NETWORK_17,desc=,nbMembers=2,alias=)
CiscoNetGroup(name=dns_servers,desc=,nbMembers=3,alias=)
CiscoHost(name=dns_1,ipAddr=1.1.1.1,desc=,alias=)
CiscoHost(name=dns_1,ipAddr=1.1.1.1,desc=,alias=)
CiscoHost(name=H_172.16.11.64,ipAddr=172.16.11.64,desc=,alias=)
CiscoNetGroup(name=dns_servers,desc=,nbMembers=3,alias=)
CiscoHost(name=dns_1,ipAddr=1.1.1.1,desc=,alias=)
CiscoHost(name=dns_1,ipAddr=1.1.1.1,desc=,alias=)
CiscoHost(name=H_172.16.11.64,ipAddr=172.16.11.64,desc=,alias=)
Verify: <ASAObjGroupNetwork # 11 'object-group network DM_INLINE_NETWORK_17'>
Also as the checkpoint group with small case "dns_servers" was not recognized/loaded, it will fail to import using dbedit as a duplicated object will be found.