This is an old revision of the document!
2 Using DPI for Lawful Interception
The additional LI licenses purchase is needed eventually to serve increasing number of subscribers and increase of speed in billing plans.
Stingray Service Gateway (SSG) allows reduction of traffic that is mirrored to LI. This is achieved by filtering of components that LI does not analyse. For example: p2p (torrent), video traffic and so on. The expected traffic reduction is from 40% to 70%, depending on the traffic's structure and filtering list.
Pre-filter license purchase peculiarities:
- The BASE license is sufficient to filter the traffic.
- In case of using the SSG to filter the traffic between 10 Gb/s and 20 Gb/s (the traffic is received by 2 SPAN ports with subsequent merge and transfer to the third port for Lawful Interception) you need the license SSG-40 BASE. However it is charged as SSG-20 BASE license. The usage of SSG-40 Base license is limited to the filter in this case.
Configuration example to filter the torrent traffic. The traffic is between 10 Gb/s and 20 Gb/s:
First we create the file protocols.dscp:
echo "bittorrent drop" > protocols.txt cat protocols.txt|lst2dscp /etc/dpi/protocols.dscp
Change configuration in the file /etc/dpi/fastdpi.conf:
in_dev=dna0:dna1 out_dev=dna2:dna2 only_tcp=0 mem_preset=1
Check filtering results:
Execute
tail -200 /var/log/dpi/fastdpi_stat.log
In statistics lines
IF dna1 : ... Drop: [8054507798 bytes][68.92 %] [9406449 pkts ][67.16 %] ...
we find the percentage and volume of filtered traffic.