Jump to content

Problem with device controll rule


d.barbe

Recommended Posts

Hi,

I would like to block all modems except few ones:

I create this rule "r1" to allow modem named "TP-LINK; Incorporated"

<?xml version="1.0" encoding="utf-8"?>
<ESET>
 <RULE ID="0" NAME="Modem OK" LOGSEV="1074200576" ENABLED="1" EVENT="modem_access" ACTION="dc_rw" PARAMETER="dc_manufacturer=&apos;TP-LINK; Incorporated&apos; dc_model=&apos;TP-LINK HSUPA Modem&apos; dc_serial_number=&apos;863077011418476&apos; " />
</ESET>

TEST1:

-> But another modem is not blocked!

So I create another rule "r2" to block all modems and change priority

<?xml version="1.0" encoding="utf-8"?>
<ESET>
 <RULE ID="0" NAME="Modem" LOGSEV="1074200576" ENABLED="1" EVENT="modem_access" ACTION="dc_none" PARAMETER="dc_manufacturer=&apos;&apos; dc_model=&apos;&apos; dc_serial_number=&apos;&apos; " />
</ESET>

TEST2: "r1" is above "r2":

-> all modems are blocked.

TEST3: "r2" is above "r1":

-> all modems are blocked.

 

TEST 4: delete r2 and change r1 to block only "TP-LINK; Incorporated" (it's just just for testing conditions on Vendor, Model and Serial are good)

-> modem "TP-LINK; Incorporated" is blocked

-> another modems are allowed

 

How to block all modems except few ones?

Thanks for your help.

 

 

 

Edited by d.barbe
change title
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...