cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2280
Views
0
Helpful
3
Replies

syslog messge states icmp uses ports.

I have a doubt regarding syslog messages output, I can see the tear down icmp connection stating 

the icmp pings are sent to the destination on port 25.

 

Mar 11 2020 16:04:35: %ASA-6-302021: Teardown ICMP connection for faddr 10.35.104.12/0 gaddr 10.50.11.200/25 laddr 10.50.11.200/25

 

But I did a packet capture and saw the same packets and I couldn't see the any information about port because obviously ICMP doesn't support ports.

1 Accepted Solution

Accepted Solutions

Hi,

  

    If the ASA from which the posed log was collected does not do NAT, those numbers are derived/copied over from the "Sequence Number" in the ICMP header; this number changes with each packet being sent. 

 

Regards,

Cristian Matei.

View solution in original post

3 Replies 3

Cristian Matei
VIP Alumni
VIP Alumni

Hi,

 

   Those are not port numbers. ICMP has to be NAT-PT capable, so how this was achieved (only for supported ICMP message types, like Query and Error), a "pseudo port-number" is selected for the PAT table, based on the Query Identifier from ICMP header or the Embedded datagram from ICMP payload. If you're curious, read more on RFC 5508.

 

Regards,

Cristian Matei.

I got a better idea on the need for icmp pat compatibility but the firewall which generated this logs is an internal log and also there is no nat rules of any kind configured.

 

 

 

Hi,

  

    If the ASA from which the posed log was collected does not do NAT, those numbers are derived/copied over from the "Sequence Number" in the ICMP header; this number changes with each packet being sent. 

 

Regards,

Cristian Matei.

Review Cisco Networking products for a $25 gift card