summaryrefslogtreecommitdiff
path: root/tests/ieee802.11_exthdr.out
Commit message (Collapse)AuthorAgeFilesLines
* Use UTC/GMT time when building/checking tests filesFrancois-Xavier Le Bail2018-08-091-26/+26
| | | | | | | | | | | | | This will avoid some differences when checking in different time zones. We now run the tests without the '-t' option. This will allow to get problems/changes in time printing functions. Update the output of the tests accordingly. Moreover: Add the '-#' option to better identify a packet when there is a difference in output.
* Fix the radiotap printer to handle the special bits correctly.Guy Harris2016-01-111-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | Process bits 29, 30, and 31 in code that's independent of what namespace we're in: If we're switching to the radiotap namespace, reset the bit numbers to start back at 0. If we're switching to a vendor namespace, get the vendor OUI and subspace, and the skip length. Keep trace of which namespace we're in. If we're *in* a vendor namespace, skip over the data specified by the skip length (and reset it, as we've processed all the vendor namespace data and, if there's a subsequent bitmap in the same namespace, there's nothing more to process. Use cpack_align_and_reserve() to skip that, so we check that we don't go past the end of the packet data. Fixes GitHub tcpdump issue #498. This removes some bogus errors; update the test output to reflect that.
* Fix check for MCS field being present.Guy Harris2015-09-281-16/+16
| | | | Fix test file while we're at it.
* Update tests for 11n fix.Guy Harris2015-09-281-18/+18
|
* Fix to reflect dBm radiotap values now being displayed as "dBm" rather than ↵Guy Harris2015-08-261-26/+26
| | | | "dB".
* Reflect the results of recent changes.Guy Harris2015-04-151-26/+26
| | | | | We don't print anything from the MAC header without -e, even with -v - except for the Protected flag, which we print regardless of -e or -v.
* fix bug #303 (DLT_IEEE802_11_RADIO ext. bitmaps)Denis Ovsienko2013-04-281-26/+26
| | | | | | | | | | | | | | | | | | | | | | | This bug was discovered and pinned down by Wim Torfs. The code in question handles DLT_IEEE802_11_RADIO datalink type, which consists of a variable-sized header, a variable number of fields and the actual 802.11 frame. The integers contained in the fields are aligned, properly extracting them is exactly the purpose of the existing "cpack" module. The issue with the current code is that it sets alignment base for cpack at the end of the variable-sized header, in other words, 64-bit integers would be properly extracted only so long as the header is 64-bit long, which only happens when the total number of bitmaps in it is odd (the minimum number of bitmaps is one). Once this condition isn't met, as is with two bitmaps, decoding becomes incorrect. The reporter's point that the alignment base must be the beginning of the variable-sized header is accurate. This commit adds a new cpack_advance() function to fast-forward the "c_next" pointer of a cpack_state context by an arbitrary number of octets. The ieee802_11_radio_print() function now uses it to skip the header and all its bitmaps, and the alignment base is now the header start.
* new test for DLT_IEEE802_11_RADIO w/ext. bitmapWim Torfs2013-04-281-0/+26
I modified the mac80211 and ath9k kernel module such that extra information regarding rssi, etc are available, which is why I needed the extra bitmap. Capturing the packets is simply a matter of using tcpdump -i wlan0 -w dumpfile.