Configure IDS Match Conditions
To configure IDS match conditions, include the
fromstatement at the [edit services ids rulerule-nametermterm-name] hierarchy level:[edit services ids rulerule-nametermterm-name]from {applications [application-names];application-sets [set-names];destination-addressaddress;source-addressaddress;}If you omit the
fromstatement, the software accepts all events and places them in the IDS cache for processing.You can use either the source address or the destination address as a match condition, in the same way that you would configure a firewall filter; for more information, see the JUNOS Policy Framework Configuration Guide.
You can also include application protocol definitions you have configured at the [
edit applications] hierarchy level; for more information, see Configure Applications.
- To apply one or more specific application protocol definitions, include the
applicationsstatement at the[edit services ids rulerule-nametermterm-namefrom]hierarchy level.- To apply one or more sets of application protocol definitions you have defined, include the
application-setsstatement at the[edit services ids rulerule-nametermterm-namefrom]hierarchy level.
If a match occurs on an application, the application protocol is displayed separately in the
showcommand output. For more information, see the JUNOS Network and Services Interfaces Command Reference.