Examples: Configuring Application Protocols
The following example shows an application protocol definition describing a special FTP application running on port 78:
[edit applications]
application my-ftp-app {
application-protocol ftp;
protocol tcp;
destination-port 78;
timeout 100; # inactivity timeout for FTP service
}
The following example shows a special ICMP protocol (application-protocol
icmp) of type 8 (ICMP echo):
[edit applications]
application icmp-app {
application-protocol icmp;
protocol icmp;
icmp-type icmp-echo;
}
The following example shows a possible application set:
[edit applications]
application-set basic {
http;
ftp;
telnet;
nfs;
icmp;
}
The software includes a predefined set of well-known application protocols. The set includes applications for which the TCP and UDP destination ports are already recognized by stateless firewall filters.