Using DPI

Started by Tony Wise

Tony Wise

Using DPI   03 June 2013, 12:02

Andrew, The DPI feature looks interesting, however as I read the manual, it describes where to set it but not what it does.

I want to limit or block P2P traffic.

What is the effect of setting the DPI parameters.

For example, I have a rule that sets a quota to an IP address. This works well, and just like the previous versions.

To test the effect, I set a rule for my PC and all is as expected. Then I start Bittorrent and the bandwidth goes up. All good. Then ( after having selected all P2P options in the settings), I turn on P2P under even more settings in the rule. Nothing seems to happen. This makes sense to me as I am already capturing all traffic in the rule settings for that IP address.

I must be missing the point, can you please explain its use or give an example.


Rule

Protocol All IPV4
Rate Limit 50G per month
Source 192.168.1.20
Destination Any
Tracking mode All connections share the rate limit and quota
SoftPerfect Support forum - Andrew avatar image

Use of DPI   03 June 2013, 21:41

It may not be very obvious, but here is how it works.

1. In the global settings you only define which protocols are detected in each category.

SoftPerfect support forum

2. In the rule properties, at the Advanced tab there is a Even more advanced settings button, which opens this dialog.

SoftPerfect support forum

Now, when you create a rule, make it like this.
Protocol: TCP/UDP IPV4
Rate Limit: 50G per month
Source: 192.168.1.20
Destination: Any
Then in the Advanced Rule Settiings tick P2P under DPI matching. This will make the rule to only match P2P protocols from the list in the global settings. In other words, you can choose which DPI categories the rule must be checked against.

Hope it makes things a bit more clear smile
Tony Wise

Use of DPI   04 June 2013, 17:23

Got it.

So for a particular Ip address I would have to make 2 rules. One for normal traffic and a seperate restrictive one for the traffic detected under DPI.

Would it be possible to include DPI in penalties.

Eg. A new condition under Rules>penalties

Enable DPI match penalty Alocate 0 - 100%

?

Reply to this topic

Sometimes you can find a solution faster if you try the forum search, have a look at the knowledge base, or check the software user manual to see if your question has already been answered.

Our forum rules are simple:

  • Be polite.
  • Do not spam.
  • Write in English. If possible, check your spelling and grammar.

Author:

Email:

Subject

A brief and informative title for your message, approximately 4–8 words:

     

Spam prevention: please enter the following code in the input field below.

       **  ********  **    **   *******    ******  
       **     **     **   **   **     **  **    ** 
       **     **     **  **    **         **       
       **     **     *****     ********   **       
 **    **     **     **  **    **     **  **       
 **    **     **     **   **   **     **  **    ** 
  ******      **     **    **   *******    ******  

Message: