diff options
author | Peter Wu <peter@lekensteyn.nl> | 2014-07-25 13:19:14 +0200 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2014-07-31 11:09:07 +0000 |
commit | a69a63f5d1563d504d51400cd574db6812374150 (patch) | |
tree | d4e8024063f6858223072cdb921f9247533c73c9 /README.cmake | |
parent | 7939d32ce29ad05548266cf8fd074b0b56fb7e37 (diff) | |
download | wireshark-a69a63f5d1563d504d51400cd574db6812374150.tar.gz |
ssl: fix SSL keylog file live-capture use case
Patch "ssl,dtls: simplify keyfile handling" did not account for the use
case where packets are captured and decrypted on the fly using
SSLKEYLOGFILE.
This patch restores that functionality by reading additional lines from
the keylog file when needed (to preserve the benefit of not having to
read the full file) and by watching the open file for deletions.
"Deletion" is detected by comparing st_dev and st_ino. Since these may
be useless on Windows, the size is also checked.
Change-Id: Ieadaef1426a9270587293db28f4dda33b3d17334
Reviewed-on: https://code.wireshark.org/review/3190
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Reviewed-by: Evan Huus <eapache@gmail.com>
Petri-Dish: Evan Huus <eapache@gmail.com>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'README.cmake')
0 files changed, 0 insertions, 0 deletions