Wireshark-bugs: [Wireshark-bugs] [Bug 12507] New: extcap: sshdump, ciscodump require libssh >= 0

Date: Fri, 10 Jun 2016 15:55:43 +0000
Bug ID 12507
Summary extcap: sshdump, ciscodump require libssh >= 0.6.0 to compile
Product Wireshark
Version 2.1.x (Experimental)
Hardware x86-64
OS Red Hat
Status UNCONFIRMED
Severity Minor
Priority Low
Component Extras
Assignee [email protected]
Reporter [email protected]

Build Information:
Wireshark 2.1.0 (v2.1.0-0-g46f9217 from v2.1.0)

Copyright 1998-2016 Gerald Combs <[email protected]> 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 GTK+ 2.24.23, with Cairo 1.8.8, with Pango 1.28.1, with
libpcap, without POSIX capabilities, with libnl 3, with GLib 2.28.8, with zlib
1.2.3, without SMI, with c-ares 1.10.0, with Lua 5.1, without GnuTLS, with
Gcrypt 1.4.5, with MIT Kerberos, with GeoIP, with PortAudio V19-devel (built
Jul
 8 2010), without AirPcap.

Running on Linux 2.6.32-573.22.1.el6.x86_64, with locale en_US.UTF-8, with
libpcap version 1.4.0, with Gcrypt 1.4.5, with zlib 1.2.3.
       Intel(R) Core(TM) i5-3340M CPU @ 2.70GHz (with SSE4.2)

Built using gcc 4.4.7 20120313 (Red Hat 4.4.7-17)
--
configure.ac checks for the existence of libssh before trying to build sshdump,
ciscodump, and others, but they rely on API functions that are only present in
libssh-0.6.0 and greater. (Not in libssh-0.5.5 or even in 0.6.0rc1.)
libssh-0.5.5 is pretty old, but it is what comes with RHEL/CentOS 6.x.

sshdump.c: In function ‘run_ssh_command’:
sshdump.c:147: error: implicit declaration of function ‘ssh_options_get_port’
make[2]: *** [sshdump.o] Error 1
make[2]: Leaving directory `/home/johnthac/git/wireshark/extcap'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/johnthac/git/wireshark'
make: *** [all] Error 2

ciscodump.c: In function ‘read_output_bytes’:
ciscodump.c:142: error: implicit declaration of function
‘ssh_channel_read_timeout’
make[2]: *** [ciscodump.o] Error 1
make[2]: Leaving directory `/home/johnthac/git/wireshark/extcap'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/johnthac/git/wireshark'
make: *** [all] Error 2

The AC_WIRESHARK_LIBSSH_CHECK should be rewritten to look for these functions
before trying to automatically build these (perhaps replace with
PKG_CHECK_MODULES, since libssh does come with pkg-config information).
Obviously there's a workaround to individually disable building the two dump
programs.


You are receiving this mail because:
  • You are watching all bug changes.