Wireshark-commits: [Wireshark-commits] master bed29af: Extcap Capture Interface
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 21 Aug 2014 03:34:04 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=bed29af46db06f4bce00d8a4dab26317d4563dd3 Submitter: Michael Mann (mmann78@xxxxxxxxxxxx) Changed: branch: master Repository: wireshark Commits: bed29af by Roland Knall (roland.knall@xxxxxxxxxxxxxxxxx): Extcap Capture Interface Extcap is a plugin interface, which allows for the usage of external capture interfaces via pipes using a predefined configuration language which results in a graphical gui. This implementation seeks for a generic implementation, which results in a seamless integration with the current system, and does add all external interfaces as simple interfaces. Windows Note: Due to limitations with GTK and Windows, a gspawn-winXX-helper.exe, respective gspawn-winXX-helper-console.exe is needed, which is part of any GTK windows installation. The default installation directory from the build is an extcap subdirectory underneath the run directory. The folder used by extcap may be viewed in the folders tab of the about dialog. The default installation directory for extcap plugins with a pre-build or installer version of wireshark is the extcap subdirectory underneath the main wireshark directory. For more information see: http://youtu.be/Nn84T506SwU bug #9009 Also take a look in doc/extcap_example.py for a Python-example and in extcap.pod for the arguments grammer. Todo: - Integrate with Qt - currently no GUI is generated, but the interfaces are still usable Change-Id: I4f1239b2f1ebd8b2969f73af137915f5be1ce50f Signed-off-by: Mike Ryan <mikeryan+wireshark@xxxxxxxxxxxxxx> Signed-off-by: Mike Kershaw <dragorn@xxxxxxxxxxxxxxxxxx> Signed-off-by: Roland Knall <rknall@xxxxxxxxx> Reviewed-on: https://code.wireshark.org/review/359 Petri-Dish: Michael Mann <mmann78@xxxxxxxxxxxx> Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx> Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx> Actions performed: from 4014698 packet-erf: added dissector table for "erf.types.type" type field. adds bed29af Extcap Capture Interface Summary of changes: CMakeLists.txt | 14 + CMakeOptions.txt | 1 + Makefile.common | 6 +- Makefile.nmake | 2 + capchild/capture_ifinfo.c | 31 ++ capchild/capture_sync.c | 52 ++- capture_opts.c | 36 ++ capture_opts.h | 10 + caputils/capture-pcap-util.c | 6 + caputils/capture_ifinfo.h | 6 + cmakeconfig.h.in | 6 + config.h.win32 | 1 + configure.ac | 27 ++ doc/extcap.pod | 78 ++++ doc/extcap_example.py | 249 ++++++++++++ dumpcap.c | 29 +- extcap.c | 654 +++++++++++++++++++++++++++++++ extcap.h | 90 +++++ extcap_parser.c | 881 ++++++++++++++++++++++++++++++++++++++++++ extcap_parser.h | 253 ++++++++++++ packaging/nsis/wireshark.nsi | 2 + ui/gtk/CMakeLists.txt | 7 + ui/gtk/Makefile.common | 2 + ui/gtk/about_dlg.c | 12 + ui/gtk/capture_dlg.c | 77 ++++ ui/gtk/capture_if_dlg.c | 3 + ui/gtk/extcap_gtk.c | 806 ++++++++++++++++++++++++++++++++++++++ ui/gtk/extcap_gtk.h | 122 ++++++ ui/iface_lists.c | 11 + ui/qt/QtShark.pro | 2 + ui/qt/about_dialog.cpp | 13 + wsutil/filesystem.c | 111 ++++++ wsutil/filesystem.h | 7 + 33 files changed, 3589 insertions(+), 18 deletions(-) create mode 100644 doc/extcap.pod create mode 100755 doc/extcap_example.py create mode 100644 extcap.c create mode 100644 extcap.h create mode 100644 extcap_parser.c create mode 100644 extcap_parser.h create mode 100644 ui/gtk/extcap_gtk.c create mode 100644 ui/gtk/extcap_gtk.h
- Prev by Date: [Wireshark-commits] master 4014698: packet-erf: added dissector table for "erf.types.type" type field.
- Next by Date: [Wireshark-commits] buildbot failure in Wireshark (development) on OSX 10.5 x86
- Previous by thread: [Wireshark-commits] master 4014698: packet-erf: added dissector table for "erf.types.type" type field.
- Next by thread: [Wireshark-commits] master 66318ad: Don't assert out on tvb_memcpy() with a null data pointer if the length is 0.
- Index(es):