Wireshark mailing list archives
Re: Wpa test failure
From: "Maynard, Christopher" <Christopher.Maynard () IGT com>
Date: Wed, 16 May 2018 15:09:28 +0000
Is there a problem with the environment perhaps? On Windows, I needed to set WIRESHARK_APPDATA to the location of the 80211_keys file in order for this to work. Maybe HOME isn’t enough? Do you have to set WIRESHARK_DATA_DIR and/or WIRESHARK_RUN_FROM_BUILD_DIRECTORY? I was unsuccessful attempting this with a recent 2.6.0 build on a RHEL7 system as I was unable to get past this error once WIRESHARK_DATA_DIR was set: ERROR:privileges.c:153:started_with_special_privs: assertion failed: (init_process_policies_called) … which I find odd because tshark was running from the build directory as a normal user, and anyway, tshark is only reading a file, not capturing, so why should it care about special privileges anyway? - Chris From: Wireshark-dev [mailto:wireshark-dev-bounces () wireshark org] On Behalf Of Dario Lombardo Sent: Wednesday, May 16, 2018 8:06 AM To: Developer support list for Wireshark <wireshark-dev () wireshark org> Subject: [Wireshark-dev] Wpa test failure I'm playing with the test suite (make test-programs && make test). I hit a test that doesn't pass on ubuntu 14.04, but passes on 16.04. The test is test_80211_wpa_tdls This puzzles me a lot and I'd like to have some clues if someone has any. Basically the problems seems that the wpa keys are not properly loaded on 14.04. Reproducer: mkdir -p /tmp/fakehome/.config/wireshark/ cp test/config/80211_keys.tmpl /tmp/fakehome/.config/wireshark/80211_keys HOME=/tmp/fakehome/ ./build/run/tshark -o 'wlan.enable_decryption: TRUE' -r test/captures/wpa-test-decode-tdls.pcap.gz -Y icmp The test checks the output for 2 matching lines. On 14.04 the above command doesn't print anything, because nothing gets decrypted. On 16.04 it outputs 2 icmp lines. Any idea? Dario. CONFIDENTIALITY NOTICE: This message is the property of International Game Technology PLC and/or its subsidiaries and may contain proprietary, confidential or trade secret information. This message is intended solely for the use of the addressee. If you are not the intended recipient and have received this message in error, please delete this message from your system. Any unauthorized reading, distribution, copying, or other use of this message or its attachments is strictly prohibited.
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Wpa test failure Dario Lombardo (May 16)
- Re: Wpa test failure Maynard, Christopher (May 16)
- Re: Wpa test failure Peter Wu (May 17)
- Re: Wpa test failure Dario Lombardo (May 17)
- assertion failed: (init_process_policies_called) Peter Wu (May 17)
- Re: Wpa test failure Dario Lombardo (May 17)
- Re: Wpa test failure Peter Wu (May 17)
- Re: Wpa test failure Maynard, Christopher (May 16)