https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=15845

            Bug ID: 15845
           Summary: Problems with sshdump "Error by extcap pipe: sh: sudo:
                    command not found"
           Product: Wireshark
           Version: 2.6.8
          Hardware: x86-64
                OS: Ubuntu
            Status: UNCONFIRMED
          Severity: Major
          Priority: Low
         Component: Extras
          Assignee: bugzilla-ad...@wireshark.org
          Reporter: wallischlu...@gmail.com
  Target Milestone: ---

Build Information:
Wireshark 2.6.8 (Git v2.6.8 packaged as 2.6.8-1~ubuntu18.04.0)

Copyright 1998-2019 Gerald Combs <ger...@wireshark.org> and contributors.
License GPLv2+: GNU GPL version 2 or later
<http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled (64-bit) with Qt 5.9.5, with libpcap, with POSIX capabilities (Linux),
with libnl 3, with GLib 2.56.2, with zlib 1.2.11, with SMI 0.4.8, with c-ares
1.14.0, with Lua 5.2.4, with GnuTLS 3.5.18, with Gcrypt 1.8.1, with MIT
Kerberos, with MaxMind DB resolver, with nghttp2 1.30.0, with LZ4, with Snappy,
with libxml2 2.9.4, with QtMultimedia, with SBC, with SpanDSP, without bcg729.

Running on Linux 4.15.0-50-generic, with Intel(R) Core(TM) i5-6500 CPU @
3.20GHz
(with SSE4.2), with 15930 MB of physical memory, with locale de_DE.UTF-8, with
libpcap version 1.8.1, with GnuTLS 3.5.18, with Gcrypt 1.8.1, with zlib 1.2.11,
binary plugins supported (0 loaded).

Built using gcc 7.3.0.

--
When i'm trying to run following wireshark command in python:
subprocess.call(["wireshark", "-i", "sshdump",
                 "-o", "extcap.sshdump.remoteusername:" + pbx_username,
                 "-o", "extcap.sshdump.remotehost:" + pbx_addr,
                 "-o", "extcap.sshdump.sshkey:" + sshkey_path,
                 "-o", "extcap.sshdump.remotefilter:" + remote_filter,
                 "-o", "extcap.sshdump.remotesudo:false",
                 "-o", "extcap.sshdump.remotenoprom:false",
                 "-k"])
i receive following error message:
Error by extcap pipe: sh: sudo: command not found

If i do not try to start the capture immediately (no "-k" option) i can start
the dump via opening the interface settings and then pressing the start button.
-> my values for remoteusername, remotehost, sshkey and remotefilter seem to
work

The start capture button (blue fin) also raises the above mentioned error.

If i check the remotesudo option in the interface settings i get the same
error.
could it be that with autostart/bluefin-button this option is ignored or always
true?

MFG
Lukas

-- 
You are receiving this mail because:
You are watching all bug changes.
___________________________________________________________________________
Sent via:    Wireshark-bugs mailing list <wireshark-bugs@wireshark.org>
Archives:    https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-bugs
             mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

Reply via email to