DPI filters not being obeyed

DPI filters not being obeyed

DPI filters not being obeyed
DPI filters not being obeyed
2025-05-26 14:30:30
Model: ER8411  
Hardware Version: V1
Firmware Version: 1.2.3

Re-creating this topic here on Routers subforums as @Vincent-TP  requested so.

 

 

I have created 2 DPI Application Filter for my business network and from my tests I see that rules are not correctly followed.

 

DPI configuration:

 

First here is my DPI configuration. You can see all my VLANS area assined to 2 Application Filters.

 

 

 

The blocking filter: Personel_Filter

 

This is the default filter set for most VLANs on my network that filters the most of the stuff that doesn't belong company network and allows a related apps in Allowed_Class1, Allowed_Class2 and Allowed_Class3 rules etc.

 

 

The unrestricted filter: Yonetici_Filter

 

This filter only uses Allowed_Unrestricted_Class1 rule that allows all app traffic to pass through.

 

 

As you can see it flags all 2386 apps to QoS Class 1 which should allow the traffic.

 

My pc is set to VLAN that is assigned to the unrestricted filter: Yonetici_Filter

 

 

 

The problem

 

So basically I expect:

- All the PC and devices in other VLANs to get traffic blocked for apps like battlenet, steam, dropbox and discord.

- My PC that sits in specific VLAN (yonetici) with the unrestricted DPI filter (Yonetici_Filter) assigned should allow these apps.
 

In my tests though, I can see my own PCs traffic for apps like battlenet, steam, dropbox and discord is blocked.

 

 

When I click the details of the blocked apps, I can see my own PC is listed in details:

 

 

 

From my understanding rules from the restricting profile (Personel_Filter) is affecting my PC even though it should only be evaluated using Yonetici_Filter. Either I'm misconfiguring something here or there is a bug.

 

Any ideas?

  0      
  0      
#1
Options
13 Reply
Re:DPI filters not being obeyed
2025-05-26 14:30:58

1) For further testing I removed the Yonetici_Filter assigned to my privileged VLAN (yonetici) from the DPI assign restriction section. The apps I test (battlenet, steam, dropbox and discord) still does not work correctly.

 

2) I removed the filters from the blocking filter: Personel_Filter, and all the testing apps (battlenet, steam, dropbox and discord) started working on my PC, but my PC should not be affected by the blocking filter: Personel_Filter.

 

3) Further, the moment I disable the DPI all the apps start working again.

 

Is there a way to debug the filters that shows which filter rule blocked the app traffic for a specific user? So I can further trace the issue?

  0  
  0  
#2
Options
Re:DPI filters not being obeyed
2025-05-26 14:33:42

My pc vlan is actually correct, let me resend the screenshots:

 

First I renamed the VLAN's for you better to understand it:

 

this is the unrestricted VLAN (old name was yonetici)

 

 

and my PC is belongs to this VLAN

 

 

 

in DPI settings Unrestricted_Filter (old name was Yonetici_Filter) is assigned to unrestricted VLAN.

 

 

Unrestricted_Filter contains this rule: 

 

 

And Allowed_Unrestricted_Class1 enables traffic for apps like Battlenet, Steam, Discord, Dropbox etc (and all available defined apps):

 

 

With this configuration I expect Battlenet to work on my PC but it doesn't.

 

I further think that my PC in vlan unrestricted instead getting Full_Restriction_Filter applied (in first post it's name is Personal_Filter).

 

I can check this with this steps:

 

Every VLAN expect unrestricted VLAN is assigned with Full_Restriction_Filter

 

 

Full_Restriction_Filter contains all the blocking rules

 

 

The battlenet and steam is contained in Blocked_AppStore.

 

 

 

In this state Battlenet and Steam is blocked in my unrestricted vlan member pc (my own pc).

 

Once I remove the battlenet and steam from Full_Restriction_Filter's Blocked_AppStore rule, battlenet and steam starts to work on this PC.

 

So in summary: 

My own pc is set to unrestricted VLAN (100) and unrestricted VLAN uses Unrestricted_Filter. But my PCs apps are getting blocked by the Full_Restriction_Filter which should not be applied to my pc.

  0  
  0  
#3
Options
Re:DPI filters not being obeyed
2025-05-26 14:34:42

I suspect this should be related to that I have defined per-category rules:

 

I've a total of 29 per-category rules:

 

 

I think having this number of rules may be effecting my network?

 

Another test that pins the issue - incorrect rules are applied

 

I changed default vlan rule to Unrestricted_Filter and battlenet and steam starts working on my pc again.

 

 

So from my understanding for my PC that sits in unrestricted vlan (100), the default VLAN (1) DPI rules are applied incorrectly.

 

and here is my pc's ipconfig that shows it belongs to correct vlan:

 

 

  0  
  0  
#4
Options
Re:DPI filters not being obeyed
2025-05-26 15:03:13

  @Bonesoul 

 

Do you have Gateway QoS actually enabled ?

Main: ER8411 x1, SG3428X x1, SG3452 x1, SG2428LP x1, SG3210 x1, SG2218P x1, SG2008P x3, ES208G x1, EAP650 x6 Remote: ER7206 v2 x1, ER605 v2 x3, SG2008P x2, EAP650 x2, ES205G x1 Controller: OC300
  0  
  0  
#5
Options
Re:DPI filters not being obeyed
2025-05-26 15:20:00 - last edited 2025-05-26 15:21:35

Yes in Settings ~ Gateway QoS:

 

 

I do not have any class rule definitions in next tab though.

 

 

 

  0  
  0  
#6
Options
Re:DPI filters not being obeyed
2025-05-27 02:32:37 - last edited 2025-05-27 02:40:41

  @Bonesoul 

I am on an ER7206 V2 with the latest firmware.

With this config, I don't reproduce the issue. I can access Steam, EA, and other game platforms.

 

You wanna narrow this down and make it simple and test.

 

When I block all Category Gaming, and separately added Steam, it would affect the normal picture loading, which I assume is the problem with other websites being blocked or affected. Not a problem with resolving the web and accessing the Steam website.

I added Discord to other block list. It does not affect the Discord. Everything about Discord works normally. Downloading and open the Discord without any issues.

  0  
  0  
#7
Options
Re:DPI filters not being obeyed
2025-05-27 09:37:26 - last edited 2025-05-27 11:15:53

@Clive_A 

 

In your case, you permit all traffic in Default network and restrict the games for specific groups.

 

In my use case (in a factory / business scenario) I need to apply strict restrictions on all networks including Default and only allow a few specific pcs to be unrestricted.

 

I guess this is the reason your setup and my one differ where mine doesn't work as I expected.

 

By the way I do also use oc-400 and have enabled logging traffic option.

 

Can you also show a sample QoS config of yours?

 

Thanks

 

Edit:

 

Upgraded to latest ER8411 firmware 1.3.1 but still the same issue.

  0  
  0  
#8
Options
Re:DPI filters not being obeyed
2025-05-27 13:09:58

According to this screenshot:

 

 

My PC which belongs to Vlan 100, getting Full_Restriction_Filter applied from Default Vlan (1).

 

Instead Unrestricted_Filter should be applied to it as Vlan 100 is assigned to it.

 

If you guys try a setup like my where:

- Default network uses a strictly restricted filter

- and a pc in a different vlan gets unrestricted filter assigned

 

You'll see that it's not working as it should.

  0  
  0  
#9
Options
Re:DPI filters not being obeyed
2025-05-27 20:02:36

@Clive_A 

 

Can you show me your VLAN definitions? So I make sure that I have the correct vlan settings.

  0  
  0  
#10
Options
Re:DPI filters not being obeyed
2025-05-27 20:23:49 - last edited 2025-05-27 20:39:58

I tried to replicate your setup in my home environment - default vlan enables all traffic and vlan with my pc block steam, battlenet and discord.

 

 

My pc is in pcs_test vlan

 

 

but block_steam_battlenet_discord is not operational and blocking steam, battlenet and discord connections for my pc.

 

So I suspect my VLAN configurations are not correctly working and I'm missing something there.

 

my current vlan setup is like this:

 

 

and my pc is set to the vlan using profile:

 

 

  0  
  0  
#11
Options