This article discusses the use of heuristic detection while using the application-identification feature on your SRX device.
Peer-to-peer applications such as Skype contain encrypted data packets. The SRX Series devices cannot identify the encrypted data packets with the current application signatures, which are based on regular expression patterns. Heuristics are used to detect such traffic and to improve the detection rate. By default, the feature is disabled on the SRX device.
root> show services application-identification counter pic: 2/0 Counter type Value ... Unspecified encrypted sessions 0 Encrypted P2P sessions 0 [flowd]FPC2.PIC0(vty)# show usp appid config AppId Module Configuration | | -------------------------- Heuristics enabled no <<<< Heuristics is disabled.
To enable detection of encrypted peer-to-peer applications, use the 'set services application-identification enable-heuristics' command. Junos OS detects encrypted peer-to-peer traffic on TCP and UDP. After enabling heuristics, the output will appear as follows:
'set services application-identification enable-heuristics'
[flowd]FPC2.PIC0(vty)# show usp appid config AppId Module Configuration -------------------------- ... Heuristics enabled yes
root> show services application-identification counter pic: 2/0 Counter type Value ... Unspecified encrypted sessions 11 Encrypted P2P sessions 0 root> show services application-identification application-system-cache Application System Cache Configurations: application-cache: on nested-application-cache: on cache-entry-timeout: 3600 seconds pic: 2/0 Logical system name: root-logical-system IP address: 119.192.126.8 Port: 13300 Protocol: TCP Application: UNSPECIFIED-ENCRYPTED Logical system name: root-logical-system IP address: 221.151.35.154 Port: 42073 Protocol: TCP Application: UNSPECIFIED-ENCRYPTED