How to write an L7 IP filter


Article ID: 160162


Updated On:


Data Loss Prevention Network Monitor Data Loss Prevention Enforce


Information on writing an L7 IP filter.


Subnetwork description:= <network address>/<subnet bitmask size> | *

Each stream is evaluated in order against the filter entries until an entry matches the stream's IP parameters. A minus sign (-) at the start of the entry indicates that the stream is dropped. A plus sign (+) at the start of the entry indicates that the stream is kept. A subnet description of an asterisk (*) means that any packet matches this entry. When there is a subnet-bitmask size of 32, the entry must match the exact network address.

For example, a filter of +,,*;-,*,* matches all streams going to network 10.67.x.x but does not match any other traffic.

The more specific you are when you define the recognition characteristics, the more specific your results. For example, if you define one specific IP address, only incidents involving that IP address are captured. If you do not define any IP addresses, or if you define a wide range of IP addresses, you achieve broader results.

Vontu recommends that you add at least one plus sign (+) clause and one minus sign (-) clause to be more explicit about what is included and excluded.


Let's say that you want to drop all ftp traffic to IP and capture all FTP traffic for other addresses.

As per the online help: Protocol Filter Entry := -|+,<destination subnetwork description>,<source subnetwork description>

Therefore, if we break down the request and then recombine it:

drop all ftp traffic to IP

This should resolve to : exclude traffic to <destination> from anywhere <source>

Therefore: -,,*;

Capture all FTP traffic for other addresses: +,*,*

Or, in a single line: -,,*;+,*,*

Is it possible that the traffic you are seeing is outbound from ?

In this case we might want to try: -,,*;-,*,;+,*,*