I use dpkt to parse some ieee80211 packages.I see that the created object ieee80211 has incorrect values.Digging deeper, I found that ieee80211 treats data as large endpoints, while in practice the packages that I provide to them are few.
Is there a way to determine the validity of a package at runtime, so I could change it to a large endian before providing it to dpkt.ieee80211?
, . IEEE 802.11 , endianess . , . .
3500 + pdf ( ctrl + f), , , TCP/IP. , , . , TKIP. , .
/, /, - , .
, , , , - .
, .
It turns out that for IEEE80211 under CAPWAP, the frame control bytes are simply replaced.This is probably the case with the original error and the de facto standard.See Answer in Wireshark Q & A
Source: https://habr.com/ru/post/1681610/More articles:What is the purpose of `unwrap ()` if the return value is not used? - stdinSame key, multiple entries for std :: unordered_map? - c ++Reverse engineering is a virtual method that only XOR is the low byte of EAX before returning - c ++Как преобразовать str в float в pandas - pythonAre you allowed to do pointer arithmetic on an array that you no longer have? - cFree pointer arithmetic - cUnable to read the "createComponent" property from undefined using ViewContainerRef - angularWord boundary with words beginning or ending with special characters gives unexpected results - pythonDifference between createOrReplaceTempView and registerTempTable - apache-sparkC # recursive function stack splits a variable from nowhere - c #All Articles