Changes for page Filter unwanted LoRaWAN packets
Last modified by Kilight Cao on 2024/05/17 10:07
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -6,7 +6,7 @@ 6 6 7 7 8 8 9 -= 1. Introduction = 9 += **1. Introduction** = 10 10 11 11 This feature is to filter the unwanted LoRaWAN packets. Purpose is to save the upstream traffic especially for a 4G cellular connection. If configured, gateway will process filter for below two types of message: 12 12 ... ... @@ -13,8 +13,8 @@ 13 13 * Unconfirmed Data Up 14 14 * Confirmed Data Up 15 15 16 -= 2. PKT_fwd Filter Mechanism = 17 17 17 += **2. PKT_FWD Filter Mechanism** = 18 18 19 19 20 20 (% class="wikigeneratedid" id="H1.1SupportDevices" %) ... ... @@ -36,7 +36,7 @@ 36 36 37 37 38 38 39 -== 2.1 Filter By Fport == 39 +== **2.1 Filter By Fport** == 40 40 41 41 42 42 The Gateway FPort filter will check all the below LoRaWAN message: Unconfirmed Data Up & Confirmed Data Up. If the packet's FPort doesn't match the FPort setting, it will be dropped. ... ... @@ -51,7 +51,7 @@ 51 51 In case we set the FPort filter to 45, and the End Node send a packet with Fport other than 45, it will be dropped. 52 52 53 53 54 -== 2.2 Filter By DevAddr == 54 +== **2.2 Filter By DevAddr** == 55 55 56 56 57 57 Gateway will use a DevAddr mask to check if the Unconfirmed Data Up & Confirmed Data Up packets match the mask . If not, gateway will drop it. ... ... @@ -61,9 +61,10 @@ 61 61 62 62 This screenshot shows packets is dropped if DevAddr mask doesn't match. 63 63 64 -= 3. = 65 65 65 += **3. FWD Filter Mechanism** = 66 66 67 + 67 67 (% class="wikigeneratedid" id="H1.1SupportDevices" %) 68 68 **Support Devices:** 69 69 ... ... @@ -70,6 +70,7 @@ 70 70 * Firmware Version >** dragino-lgw~-~-v5.4.1658822655** [[Firmware Download>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8/Firmware/Release/]] 71 71 * LG308, DLOS8,LPS8,LIG16,LG308N,DLOS8N,LPS8N 72 72 74 + 73 73 **Filtering rules:** 74 74 75 75 (% border="1" style="background-color:#ffffcc; color:green; width:937.222px" %) ... ... @@ -76,10 +76,60 @@ 76 76 |=(% colspan="2" style="width: 724px;" %)Fport Filter|=(% colspan="2" style="width: 724px;" %)DevAddr Filter 77 77 |(% style="width:329px" %)**Level 0**|(% style="width:329px" %)Do nothing|(% style="width:329px" %)**Level 0**|(% style="width:329px" %)Do nothing 78 78 |(% style="width:329px" %)**Level 1**|(% style="width:329px" %)Filter only the Fport in the list|(% style="width:329px" %)**Level 1**|(% style="width:329px" %)Filter only the DevAddr in the list 79 -|(% style="width:329px" %)**Level 2**|(% style="width:329px" %)Filter Fport that are not in the database|(% style="width:329px" %)**Level 1**|(% style="width:329px" %)Filter DevAddr that are not in the database81 +|(% style="width:329px" %)**Level 2**|(% style="width:329px" %)Filter Fport that are not in the database|(% style="width:329px" %)**Level 2**|(% style="width:329px" %)Filter DevAddr that are not in the database 80 80 83 + 81 81 ((( 82 -[[image:image-202207261 62039-1.png||height="675" width="711"]]85 +[[image:image-20220726171434-6.png||height="628" width="692"]] 83 83 84 - 87 + 88 +**Check if the filter is running** 89 + 90 +[[image:image-20220726164533-3.png||height="465" width="982"]] 91 + 92 + 93 +== **3.1 Filter By Fport** == 94 + 95 + 96 + 97 +The Gateway FPort filter will check all the below LoRaWAN messages: Unconfirmed Data Up & Confirmed Data Up. 98 + 99 + 100 +(% style="color:red" %)**Important Notice:** 101 + 102 +* By default, Fport Filter Level=0, which means do nothing 103 + 104 +* Fport Filter configured to Level=1. If the Fport in the list matches the Fport received by the gateway, it will be dropped. 105 + 106 +* Fport Filter configured to Level=2. If the Fport in the list does not match the Fport received by the gateway, it will be dropped. 107 + 108 + 109 +In this case, we set Fport Filter Level=0 and add the fileter (server | fport | 0), when the gateway receives a Lorawan packet with Fport=0, it will be dropped. 110 + 111 +[[image:image-20220726165311-4.png||height="718" width="798"]] 112 + 113 + 114 +[[image:image-20220726170532-5.png]] 115 + 116 + 117 +== 3.1 Filter By DevAddr == 118 + 119 + 120 +The Gateway FPort filter will check all the below LoRaWAN messages: Unconfirmed Data Up & Confirmed Data Up. 121 + 122 +(% style="color:red" %)**Important Notice:** 123 + 124 +* By default, DevAddr Filter Level=0, which means do nothing 125 + 126 +* DevAddr Filter configured to Level=1. If the DevAddr in the list matches the DevAddr received by the gateway, it will be dropped. 127 + 128 +* DevAddr Filter configured to Level=2. If the DevAddr in the list does not match the DevAddr received by the gateway, it will be dropped. 129 + 130 + 131 +In this case, we set DevAddr Filter Level=0 and add the filter (server | DevAddr | 12664787 ), when the gateway receives a Lorawan packet with DevAddr=12664787, it will be dropped. 132 + 133 +[[image:image-20220726171555-7.png||height="754" width="765"]] 134 + 135 + 136 +[[image:image-20220726171808-8.png]] 85 85 )))