I am working on basic SCTP message exchange (Novice in SCTP) and getting the "ICMP Protocol Unreachable Error".
I am using two linux machines 'A' (Source) and 'B' (Destination). In B machine sipp tool is listening over SCTP on 5080 port (This is verified using netstat).
Firstly machine B is reachable from my machine A, i must not get "Destination Unreachable|Host Unreachable". Secondly netstat has verified that listening port is 5080 so i must not get "Port Unreachable" also.
Now i am sending INIT from A (28232 port) to B (5080 port). Interestingly i am getting "ICMP - Protocol Unreachable" ? I am not able to co-relate this ICMP error.
After searching the internet i found few posts (outside stackoverflow) saying "ICMP Protocol Unreachable error and SCTP connect have some race condition". I am not able to locate any such issue in linux kernel website.
I am using RHEL machine with kernel version 3.10.0-327.28.2.el7.x86_64 .
Can someone help me in explaining the expected behavior.
Sudhansu