@xavierwalker wrote:
Thanks YNG for the link.
So, in that case, isn't icmp-ping in fact the same resulting application as:
# ICMP All Traffic
# This can be made to be more restrictive by specifying icmp
# type and code.
#
application junos-icmp-all {
term t1 protocol icmp;
}
In which case why have two different definitions for exactly the same thing?
You are correct, though you put the wrong application name, I know what you meant.
In a nutshell:
junos-ping and junos-icmp-all are functionally equivalent. They both permit any/all ICMP traffic.
I believe that this is an error in Junos. 'ping' should not equate to 'all.' junos-ping may be a legacy holdover or old code?
junos-icmp-ping permits ping requests. The comment states that replies are allowed upon return, which I find interesting. That seems sort of like a mini-ALG, since an echo-request is protocol 1 type 8 (echo), and a ping response is protocol 1 type 0 (echo reply).
Any Juniper engineers care to weigh in here?