Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 815605 Details for
Bug 874078
net-analyzer/dsniff-2.4_beta1_p30 - ./sshmitm.c: error: redefinition of csin as different kind of symbol
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-analyzer:dsniff-2.4_beta1_p30:20221002-140428.log
net-analyzer:dsniff-2.4_beta1_p30:20221002-140428.log (text/plain), 124.84 KB, created by
Toralf Förster
on 2022-10-02 14:47:55 UTC
(
hide
)
Description:
net-analyzer:dsniff-2.4_beta1_p30:20221002-140428.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-10-02 14:47:55 UTC
Size:
124.84 KB
patch
obsolete
> * Package: net-analyzer/dsniff-2.4_beta1_p30:0 > * Repository: gentoo > * Maintainer: netmon@gentoo.org > * USE: X abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking dsniff_2.4b1+debian.orig.tar.gz to /var/tmp/portage/net-analyzer/dsniff-2.4_beta1_p30/work >>>> Unpacking dsniff_2.4b1+debian-30.debian.tar.xz to /var/tmp/portage/net-analyzer/dsniff-2.4_beta1_p30/work >>>> Source unpacked in /var/tmp/portage/net-analyzer/dsniff-2.4_beta1_p30/work >>>> Preparing source in /var/tmp/portage/net-analyzer/dsniff-2.4_beta1_p30/work/dsniff-2.4 ... > * Applying patches from /var/tmp/portage/net-analyzer/dsniff-2.4_beta1_p30/work/debian/patches/ ... > * 01_time.h.patch ... > [ ok ] > * 02_mailsnarf_corrupt.patch ... > [ ok ] > * 03_pcap_read_dump.patch ... > [ ok ] > * 04_multiple_intf.patch ... > [ ok ] > * 05_amd64_fix.patch ... > [ ok ] > * 06_urlsnarf_zeropad.patch ... > [ ok ] > * 07_libnet_1.1.patch ... > [ ok ] > * 08_openssl-0.9.8.patch ... > [ ok ] > * 09_sysconf_clocks.patch ... > [ ok ] > * 10_urlsnarf_escape.patch ... > [ ok ] > * 11_string_header.patch ... > [ ok ] > * 12_arpa_inet_header.patch ... > [ ok ] > * 13_pop_with_version.patch ... > [ ok ] > * 14_obsolete_time.patch ... > [ ok ] > * 15_checksum_libnids.patch ... > [ ok ] > * 16_TDS_decoder.patch ... > [ ok ] > * 17_checksum.patch ... > [ ok ] > * 18_sshcrypto.patch ... > [ ok ] > * 19_rewrite-and-modernize-POP-decoder.patch ... > [ ok ] > * 20_debian_dirs.patch ... > [ ok ] > * 21_msgsnarf_segfault.patch ... > [ ok ] > * 22_handlepp.patch ... > [ ok ] > * 23_urlsnarf_timestamp.patch ... > [ ok ] > * 24_Fix-OpenSSL1.1.0-Build.patch ... > [ ok ] > * 25_fix-spelling-errors.patch ... > [ ok ] > * 26_arpspoof-add-r-switch-to-poison-both-directions.patch ... > [ ok ] > * 27_arpspoof-allow-use-of-of-multiple-targets.patch ... > [ ok ] > * 28_arpspoof-allow-selection-of-source-hw-address.patch ... > [ ok ] > * 29_libnet_name2addr4.patch ... > [ ok ] > * 30_pntohl_shift.patch ... > [ ok ] > * 31_sysconf_clocks.patch ... > [ ok ] > * 32_rpc_segfault.patch ... > [ ok ] > * 33_sshcrypto_DES.patch ... > [ ok ] > * 34_fix-parallel-FTBFS.patch ... > [ ok ] > * 35_Add_CPPFLAGS.patch ... > [ ok ] > * 36_implicit_declarations.patch ... > [ ok ] > * 37_fix-lib-and-share-dirs.patch ... > [ ok ] > * 38_fix-pcap_init.patch ... > [ ok ] > * 39_libtirpc.patch ... > [ ok ] > * Applying dsniff-2.4_beta1_p30-httppostfix.patch ... > [ ok ] > * Applying dsniff-2.4_beta1_p30-libdir-configure.patch ... > [ ok ] > * Applying dsniff-2.4_beta1_p30-respect-AR.patch ... > [ ok ] > * Running eautoreconf in '/var/tmp/portage/net-analyzer/dsniff-2.4_beta1_p30/work/dsniff-2.4' ... > * Running 'aclocal --system-acdir=/var/tmp/portage/net-analyzer/dsniff-2.4_beta1_p30/temp/aclocal' ... > [ ok ] > * Running 'autoconf --force' ... > [ ok ] > * Running 'autoheader' ... > [ ok ] > * Running elibtoolize in: dsniff-2.4/ >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/net-analyzer/dsniff-2.4_beta1_p30/work/dsniff-2.4 ... > * econf: updating dsniff-2.4/config.sub with /usr/share/gnuconfig/config.sub > * econf: updating dsniff-2.4/config.guess with /usr/share/gnuconfig/config.guess >./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --docdir=/usr/share/doc/dsniff-2.4_beta1_p30 --htmldir=/usr/share/doc/dsniff-2.4_beta1_p30/html --libdir=/usr/lib64 --with-x >checking for x86_64-pc-linux-gnu-gcc... clang >checking whether the C compiler works... yes >checking for C compiler default output file name... a.out >checking for suffix of executables... >checking whether we are cross compiling... no >checking for suffix of object files... o >checking whether the compiler supports GNU C... yes >checking whether clang accepts -g... yes >checking for clang option to enable C11 features... none needed >checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c >checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib >checking for ar... x86_64-pc-linux-gnu-ar >checking how to run the C preprocessor... clang -E >checking for X... libraries , headers >checking for gethostbyname... yes >checking for connect... yes >checking for remove... yes >checking for shmat... yes >checking for IceConnectionNumber in -lICE... yes >checking for stdio.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for strings.h... yes >checking for sys/stat.h... yes >checking for sys/types.h... yes >checking for unistd.h... yes >checking for grep that handles long lines and -e... /bin/grep >checking for egrep... /bin/grep -E >checking for err.h... yes >checking for fcntl.h... yes >checking for sys/ioctl.h... yes >checking for sys/queue.h... yes >checking for unistd.h... (cached) yes >checking for libgen.h... yes >checking for net/if_tun.h... no >checking for MIN and MAX in sys/param.h... yes >checking for an ANSI C-conforming const... yes >checking for size_t... yes >checking whether struct tm is in sys/time.h or time.h... time.h >checking for u_int32_t... yes >checking for u_int64_t... yes >checking for in_addr_t... no >checking whether clang needs -traditional... no >checking for working memcmp... yes >checking return type of signal handlers... void >checking for strftime... yes >checking for gethostname... yes >checking for socket... yes >checking for strdup... yes >checking for strstr... yes >checking for xdr_fhstatus in -lrpcsvc... no >checking for socket in -lsocket... no >checking for gethostbyname in -lnsl... yes >checking for dn_expand in -lresolv... yes >checking for __dn_expand in -lresolv... no >checking for dirname... yes >checking for strlcpy... no >checking for strlcat... no >checking for strsep... yes >checking for MD5Update... no >checking for warnx... yes >checking for ether_ntoa... yes >checking for Berkeley DB with 1.85 compatibility... yes >checking for libpcap... yes >checking for libnet... yes >checking for libnids... yes >checking whether libnids version is good... yes >checking for OpenSSL... yes >configure: creating ./config.status >config.status: creating Makefile >config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting >config.status: creating config.h >>>> Source configured. >'/var/tmp/portage/net-analyzer/dsniff-2.4_beta1_p30/temp/clang14.log' -> '/var/tmp/clang/net-analyzer/dsniff-2.4_beta1_p30/clang14.log' >'/var/tmp/portage/net-analyzer/dsniff-2.4_beta1_p30/temp/clang15.log' -> '/var/tmp/clang/net-analyzer/dsniff-2.4_beta1_p30/clang15.log' >>>> Compiling source in /var/tmp/portage/net-analyzer/dsniff-2.4_beta1_p30/work/dsniff-2.4 ... >make -j4 CC=clang >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./arpspoof.c >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./arp.c >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./missing/dummy.c >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./missing/strlcpy.c >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./missing/strlcat.c >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./missing/md5.c >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./dnsspoof.c >./arpspoof.c:44:17: warning: initializing 'uint8_t *' (aka 'unsigned char *') > with an expression of type 'char[7]' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] >static uint8_t *brd_ha = "\xff\xff\xff\xff\xff\xff"; > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ >./arpspoof.c:274:30: warning: 'pcap_lookupdev' is deprecated: use > 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] > if (intf == NULL && (intf = pcap_lookupdev(pcap_ebuf)) == NULL) > ^ >/usr/include/pcap/pcap.h:395:1: note: 'pcap_lookupdev' has been explicitly > marked deprecated here >PCAP_DEPRECATED(pcap_lookupdev, "use 'pcap_findalldevs' and use the firs... >^ >/usr/include/pcap/funcattrs.h:293:53: note: expanded from macro > 'PCAP_DEPRECATED' > #define PCAP_DEPRECATED(func, msg) __attribute__((deprecated(msg))) > ^ >./missing/md5.c:151:27: warning: 'memset' call operates on objects of type > 'struct MD5Context' while the size is based on a different type > 'struct MD5Context *' [-Wsizeof-pointer-memaccess] > memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ > ~~~ ^~~ >./missing/md5.c:151:27: note: did you mean to dereference the argument to > 'sizeof' (and multiply it by the number of elements)? > memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ > ^~~ >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./pcaputil.c >./dnsspoof.c:227:10: warning: assigning to 'u_char *' (aka 'unsigned char *') > from 'char *' converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > if ((q = dns_lookup_ptr(name)) == NULL) > ^ ~~~~~~~~~~~~~~~~~~~~ >./dnsspoof.c:231:20: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > anslen = dn_comp(q, p + 12, 256, NULL, NULL); > ^ >/usr/include/resolv.h:272:27: note: passing argument to parameter here >int dn_comp (const char *, unsigned char *, int, unsigned char **, > ^ >2 warnings generated. >./dnsspoof.c:300:28: warning: 'pcap_lookupdev' is deprecated: use > 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] > if (dev == NULL && (dev = pcap_lookupdev(buf)) == NULL) > ^ >/usr/include/pcap/pcap.h:395:1: note: 'pcap_lookupdev' has been explicitly > marked deprecated here >PCAP_DEPRECATED(pcap_lookupdev, "use 'pcap_findalldevs' and use the firs... >^ >/usr/include/pcap/funcattrs.h:293:53: note: expanded from macro > 'PCAP_DEPRECATED' > #define PCAP_DEPRECATED(func, msg) __attribute__((deprecated(msg))) > ^ >rpcgen -c mount.x -o mount.c >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./asn1.c >./pcaputil.c:731:30: warning: 'pcap_lookupdev' is deprecated: use > 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] > if (intf == NULL && (intf = pcap_lookupdev(ebuf)) == NULL) { > ^ >/usr/include/pcap/pcap.h:395:1: note: 'pcap_lookupdev' has been explicitly > marked deprecated here >PCAP_DEPRECATED(pcap_lookupdev, "use 'pcap_findalldevs' and use the firs... >^ >/usr/include/pcap/funcattrs.h:293:53: note: expanded from macro > 'PCAP_DEPRECATED' > #define PCAP_DEPRECATED(func, msg) __attribute__((deprecated(msg))) > ^ > warning generated. >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./base64.c >1 warning generated. >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./buf.c >3 warnings generated. >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./hex.c >./base64.c:128:1: warning: a function definition without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >base64_pton(src, target, targsize) >^ >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./magic.c >./buf.c:113:16: warning: passing 'u_char *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > i = vsnprintf(buf_ptr(buf), buf_len(buf), fmt, ap); > ^~~~~~~~~~~~ >./buf.h:31:20: note: expanded from macro 'buf_ptr' >#define buf_ptr(b) ((b)->base + (b)->offset) > ^~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/stdio.h:382:40: note: passing argument to parameter '__s' here >extern int vsnprintf (char *__restrict __s, size_t __maxlen, > ^ >1 warning generated. >rpcgen -h mount.x -o mount.h >./magic.c:303:39: warning: adding 'int' to a string does not append to the > string [-Wstring-plus-int] > (void) fprintf(stderr, ">>>>>>>> %d" + 8 - (m->cont_level & 7), > ~~~~~~~~~~~~~~^~~ >./magic.c:303:39: note: use array indexing to silence this warning > (void) fprintf(stderr, ">>>>>>>> %d" + 8 - (m->cont_level & 7), > ^ > & [ ] >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./rpc.c >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./tcp_raw.c >1 warning generated. >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./trigger.c >./rpc.c:112:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > xdrmem_create(&xdrs, buf, len, XDR_DECODE); > ^~~ >/usr/include/tirpc/rpc/xdr.h:355:42: note: passing argument to parameter here >extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); > ^ >./rpc.c:121:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter > of type 'char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > xdrmem_create(&xdrs, buf, len, XDR_DECODE); > ^~~ >/usr/include/tirpc/rpc/xdr.h:355:42: note: passing argument to parameter here >extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); > ^ >2 warnings generated. >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./record.c >./trigger.c:300:42: warning: passing 'char[4096]' to parameter of type > 'u_char *' (aka 'unsigned char *') converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > if ((len = t->decode->dc_func(buf, len, obuf, sizeof(obuf))) > 0) { > ^~~~ >./trigger.c:302:36: warning: passing 'char[4096]' to parameter of type > 'u_char *' (aka 'unsigned char *') converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > 0, 0, t->decode->dc_name, obuf, len); > ^~~~ >./record.h:17:44: note: passing argument to parameter 'buf' here > u_short dport, char *name, u_char *buf, int len); > ^ >./trigger.c:346:42: warning: passing 'char[4096]' to parameter of type > 'u_char *' (aka 'unsigned char *') converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > if ((len = t->decode->dc_func(buf, len, obuf, sizeof(obuf))) > 0) { > ^~~~ >./trigger.c:349:30: warning: passing 'char[4096]' to parameter of type > 'u_char *' (aka 'unsigned char *') converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > t->decode->dc_name, obuf, len); > ^~~~ >./record.h:17:44: note: passing argument to parameter 'buf' here > u_short dport, char *name, u_char *buf, int len); > ^ >./trigger.c:360:6: warning: assigning to 'u_char *' (aka 'unsigned char *') from > 'char *' converts between pointers to integer types where one is of the > unique plain 'char' type and the other is not [-Wpointer-sign] > buf = hs->data; > ^ ~~~~~~~~ >./trigger.c:378:12: warning: passing 'char[4096]' to parameter of type > 'u_char *' (aka 'unsigned char *') converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > obuf, sizeof(obuf))) > 0) { > ^~~~ >./trigger.c:381:11: warning: passing 'char[4096]' to parameter of type > 'u_char *' (aka 'unsigned char *') converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > obuf, len); > ^~~~ >./record.h:17:44: note: passing argument to parameter 'buf' here > u_short dport, char *name, u_char *buf, int len); > ^ >./trigger.c:478:7: warning: passing 'char[4096]' to parameter of type 'u_char *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > obuf, sizeof(obuf)); > ^~~~ >./trigger.c:484:11: warning: passing 'char[4096]' to parameter of type > 'u_char *' (aka 'unsigned char *') converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > obuf, len); > ^~~~ >./record.h:17:44: note: passing argument to parameter 'buf' here > u_short dport, char *name, u_char *buf, int len); > ^ >./trigger.c:512:12: warning: passing 'char[4096]' to parameter of type > 'u_char *' (aka 'unsigned char *') converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > obuf, sizeof(obuf))) > 0) { > ^~~~ >./trigger.c:514:31: warning: passing 'char[4096]' to parameter of type > 'u_char *' (aka 'unsigned char *') converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > t->decode->dc_name, obuf, len); > ^~~~ >./record.h:17:44: note: passing argument to parameter 'buf' here > u_short dport, char *name, u_char *buf, int len); > ^ >./record.c:104:18: warning: passing 'char *' to parameter of type > 'const unsigned char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > MD5Update(&ctx, rec->name.n_bytes, rec->name.n_len); > ^~~~~~~~~~~~~~~~~ >./missing/md5.h:11:65: note: passing argument to parameter 'buf' here >void MD5Update(struct MD5Context *context, unsigned char const *buf, > ^ >./record.c:105:18: warning: passing 'char *' to parameter of type > 'const unsigned char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > MD5Update(&ctx, rec->data.n_bytes, rec->data.n_len); > ^~~~~~~~~~~~~~~~~ >./missing/md5.h:11:65: note: passing argument to parameter 'buf' here >void MD5Update(struct MD5Context *context, unsigned char const *buf, > ^ >./record.c:121:23: warning: passing 'u_char[2048]' (aka 'unsigned char[2048]') > to parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > xdrmem_create(&xdrs, buf, sizeof(buf), XDR_ENCODE); > ^~~ >/usr/include/tirpc/rpc/xdr.h:355:42: note: passing argument to parameter here >extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); > ^ >./record.c:195:19: warning: assigning to 'char *' from 'u_char *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > rec.data.n_bytes = buf; > ^ ~~~ >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./dsniff.c >4 warnings generated. >1 warning generated. >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode.c >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_aim.c >./decode.c:123:7: warning: assigning to 'char *' from 'u_char *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > p = buf + i + 1; > ^ ~~~~~~~~~~~ >./decode.c:124:21: warning: passing 'char *' to parameter of type 'u_char *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > if ((q = bufbuf(p, len - i, "\xff", 1)) > ^ >./decode.h:48:24: note: passing argument to parameter 'big' here >u_char *bufbuf(u_char *big, int blen, u_char *little, int llen); > ^ >./decode.c:124:33: warning: passing 'char[2]' to parameter of type 'u_char *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > if ((q = bufbuf(p, len - i, "\xff", 1)) > ^~~~~~ >./decode.h:48:47: note: passing argument to parameter 'little' here >u_char *bufbuf(u_char *big, int blen, u_char *little, int llen); > ^ >./decode.c:124:12: warning: assigning to 'char *' from 'u_char *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > if ((q = bufbuf(p, len - i, "\xff", 1)) > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./decode.c:126:22: warning: passing 'char *' to parameter of type 'u_char *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > if ((p = bufbuf(p, q - p, "USER\x01", > ^ >./decode.h:48:24: note: passing argument to parameter 'big' here >u_char *bufbuf(u_char *big, int blen, u_char *little, int llen); > ^ >./decode.c:126:32: warning: passing 'char[6]' to parameter of type 'u_char *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > if ((p = bufbuf(p, q - p, "USER\x01", > ^~~~~~~~~~ >./decode.h:48:47: note: passing argument to parameter 'little' here >u_char *bufbuf(u_char *big, int blen, u_char *little, int llen); > ^ >./decode.c:126:13: warning: assigning to 'char *' from 'u_char *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > if ((p = bufbuf(p, q - p, "USER\x01", > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./decode_aim.c:67:22: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > if ((j = strcspn(p, " ")) > 0) > ^ >/usr/include/string.h:293:36: note: passing argument to parameter '__s' here >extern size_t strcspn (const char *__s, const char *__reject) > ^ >./decode_aim.c:70:15: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > if (strtok(p, " ") == NULL) > ^ >/usr/include/string.h:356:39: note: passing argument to parameter '__s' here >extern char *strtok (char *__restrict __s, const char *__restrict __delim) > ^ >./decode_aim.c:75:15: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > i = strlen(p); > ^ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >./decode_aim.c:76:19: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > j = hex_decode(p, i, p, i); > ^ >./hex.h:14:22: note: passing argument to parameter 'src' here >int hex_decode(char *src, int srclen, u_char *buf, int len); > ^ >./dsniff.c:104:1: warning: non-void function does not return a value in all > control paths [-Wreturn-type] >} >^ >7 warnings generated. >11 warnings generated. >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_citrix.c >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_cvs.c >1 warning generated. >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_ftp.c >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_hex.c >4 warnings generated. >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_http.c >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_icq.c >./decode_ftp.c:47:19: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > if (strncasecmp(buf_ptr(line), "USER ", 5) == 0 || > ^~~~~~~~~~~~~ >./buf.h:31:20: note: expanded from macro 'buf_ptr' >#define buf_ptr(b) ((b)->base + (b)->offset) > ^~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/strings.h:120:37: note: passing argument to parameter '__s1' here >extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) > ^ >./decode_ftp.c:48:19: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > strncasecmp(buf_ptr(line), "ACCT ", 5) == 0 || > ^~~~~~~~~~~~~ >./buf.h:31:20: note: expanded from macro 'buf_ptr' >#define buf_ptr(b) ((b)->base + (b)->offset) > ^~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/strings.h:120:37: note: passing argument to parameter '__s1' here >extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) > ^ >./decode_ftp.c:49:19: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > strncasecmp(buf_ptr(line), "PASS ", 5) == 0) { > ^~~~~~~~~~~~~ >./buf.h:31:20: note: expanded from macro 'buf_ptr' >#define buf_ptr(b) ((b)->base + (b)->offset) > ^~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/strings.h:120:37: note: passing argument to parameter '__s1' here >extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) > ^ >3 warnings generated. >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_imap.c >./decode_http.c:119:21: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > if ((req = strtok(buf_ptr(msg), "\r\n")) == NULL) > ^~~~~~~~~~~~ >./buf.h:31:20: note: expanded from macro 'buf_ptr' >#define buf_ptr(b) ((b)->base + (b)->offset) > ^~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:356:39: note: passing argument to parameter '__s' here >extern char *strtok (char *__restrict __s, const char *__restrict __delim) > ^ >./decode_http.c:157:12: warning: assigning to 'char *' from 'u_char *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > query = buf_ptr(msg); > ^ ~~~~~~~~~~~~ >./decode_http.c:176:24: warning: passing 'char *' to parameter of type > 'u_char *' (aka 'unsigned char *') converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > i = base64_pton(p, p, strlen(p)); > ^ >./base64.h:12:39: note: passing argument to parameter here >int base64_pton(char const *, u_char *, size_t); > ^ >./decode_http.c:183:24: warning: passing 'char *' to parameter of type > 'u_char *' (aka 'unsigned char *') converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > i = base64_pton(p, p, strlen(p)); > ^ >./base64.h:12:39: note: passing argument to parameter here >int base64_pton(char const *, u_char *, size_t); > ^ >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_irc.c >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_ldap.c >4 warnings generated. >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_mmxp.c >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_mountd.c >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_napster.c >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_nntp.c >./decode_mmxp.c:31:16: warning: initializing 'u_char *' (aka 'unsigned char *') > with an expression of type 'char[33]' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] >static u_char *mm_xor = MM_SECRET; > ^ ~~~~~~~~~ >./decode_mountd.c:47:24: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > xdrmem_create(&xdrs, buf + hdrlen, len - hdrlen, XDR_DECODE); > ^~~~~~~~~~~~ >/usr/include/tirpc/rpc/xdr.h:355:42: note: passing argument to parameter here >extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); > ^ >./decode_mountd.c:59:25: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > xdrmem_create(&xdrs, buf + hdrlen, len - hdrlen, > ^~~~~~~~~~~~ >/usr/include/tirpc/rpc/xdr.h:355:42: note: passing argument to parameter here >extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); > ^ >1 warning generated. >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_oracle.c >2 warnings generated. >./decode_nntp.c:32:18: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > for (p = strtok(buf, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) { > ^~~ >/usr/include/string.h:356:39: note: passing argument to parameter '__s' here >extern char *strtok (char *__restrict __s, const char *__restrict __delim) > ^ >./decode_nntp.c:34:12: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > strlcat(obuf, p, olen); > ^~~~ >./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here >size_t strlcat(char *dst, const char *src, size_t siz); > ^ >./decode_nntp.c:35:12: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > strlcat(obuf, "\n", olen); > ^~~~ >./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here >size_t strlcat(char *dst, const char *src, size_t siz); > ^ >./decode_nntp.c:39:12: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > strlcat(obuf, p, olen); > ^~~~ >./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here >size_t strlcat(char *dst, const char *src, size_t siz); > ^ >./decode_nntp.c:50:25: warning: passing 'char *' to parameter of type 'u_char *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > i = base64_pton(p, p, strlen(p)); > ^ >./base64.h:12:39: note: passing argument to parameter here >int base64_pton(char const *, u_char *, size_t); > ^ >./decode_nntp.c:52:17: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > i = strlen(obuf); > ^~~~ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >./decode_nntp.c:53:15: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > snprintf(obuf + i, olen - i, > ^~~~~~~~ >/usr/include/stdio.h:378:39: note: passing argument to parameter '__s' here >extern int snprintf (char *__restrict __s, size_t __maxlen, > ^ >./decode_nntp.c:57:12: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > strlcat(obuf, "\n", olen); > ^~~~ >./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here >size_t strlcat(char *dst, const char *src, size_t siz); > ^ >./decode_nntp.c:60:17: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > return (strlen(obuf)); > ^~~~ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_ospf.c >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_pcanywhere.c >9 warnings generated. >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_pop.c >./decode_oracle.c:42:11: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > snprintf(obuf, olen, "%s\n", q); > ^~~~ >/usr/include/stdio.h:378:39: note: passing argument to parameter '__s' here >extern int snprintf (char *__restrict __s, size_t __maxlen, > ^ >./decode_oracle.c:46:26: warning: passing 'char[7]' to parameter of type > 'u_char *' (aka 'unsigned char *') converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > if ((p = bufbuf(p, len, "(TNS V", 6)) == NULL) return (0); > ^~~~~~~~ >./decode.h:48:47: note: passing argument to parameter 'little' here >u_char *bufbuf(u_char *big, int blen, u_char *little, int llen); > ^ >./decode_oracle.c:66:14: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to ./decode_ospf.cinteger > types where :one is of the unique31 :plain19 :'char' warning: typepassing and'u_char *' the(aka 'unsigned char *') otherto >is parameternot >of [-Wpointer-sign]type > 'char *' converts j = strlen(obuf); > ^~~~ >between pointers to /usr/include/string.h:407:integer types35: >note: passingwhere argument to one parameter '__s' here >is extern size_t strlen (const char *__s) > ^ >of the unique plain 'char' type and the other is not./decode_oracle.c:67: > 12: [-Wpointer-sign] >warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > snprintf(obuf + j, olen + j, "%s\n", p + 117); > ^~~~~~~~ > return (snprintf(obuf, olen, "%s\n", buf + 16)); >/usr/include/stdio.h:378:39 ^~~~: note: >passing argument to parameter '__s' here >/usr/include/stdio.h:378extern int snprintf (char *__restrict __s, size_t __maxlen, > ^ >:39: note: passing argument to parameter '__s' here >extern int snprintf (char *__restrict __s, size_t __maxlen, > ^ >./decode_oracle.c:70:27: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > return (gotauth ? strlen(obuf) : 0); > ^~~~ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >1 warning generated. >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_portmap.c >5 warnings generated. >./decode_pop.c:32:18: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > for (p = strtok(buf, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) { > ^~~ >/usr/include/string.h:356:39: note: passing argument to parameter '__s' here >extern char *strtok (char *__restrict __s, const char *__restrict __delim) > ^ >./decode_pop.c:36:12: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > strlcat(obuf, p, olen); > ^~~~ >./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here >size_t strlcat(char *dst, const char *src, size_t siz); > ^ >./decode_pop.c:37:12: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > strlcat(obuf, "\n", olen); > ^~~~ >./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here >size_t strlcat(char *dst, const char *src, size_t siz); > ^ >./decode_pop.c:40:18: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > if (strip_lines(obuf, Opt_lines) < 3) > ^~~~ >./decode.h:44:23: note: passing argument to parameter 'buf' here >int strip_lines(char *buf, int max_lines); > ^ >./decode_pop.c:43:17: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > return (strlen(obuf)); > ^~~~ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >./decode_pop.c:65:18: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > for (p = strtok(buf, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) { > ^~~ >/usr/include/string.h:356:39: note: passing argument to parameter '__s' here >extern char *strtok (char *__restrict __s, const char *__restrict __delim) > ^ >./decode_pop.c:94:23: warning: passing 'char *' to parameter of type 'u_char *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > j = base64_pton(p, p, strlen(p)); > ^ >./base64.h:12:39: note: passing argument to parameter here >int base64_pton(char const *, u_char *, size_t); > ^ >./decode_pop.c:114:23: warning: passing 'char *' to parameter of type 'u_char *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > j = base64_pton(p, p, strlen(p)); > ^ >./base64.h:12:39: note: passing argument to parameter here >int base64_pton(char const *, u_char *, size_t); > ^ >./decode_pop.c:125:12: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > strlcat(obuf, "\nusername [", olen); > ^~~~ >./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here >size_t strlcat(char *dst, const char *src, size_t siz); > ^ >./decode_pop.c:126:12: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > strlcat(obuf, user, olen); > ^~~~ >./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here >size_t strlcat(char *dst, const char *src, size_t siz); > ^ >./decode_pop.c:127:12: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > strlcat(obuf, "] password [", olen); > ^~~~ >./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here >size_t strlcat(char *dst, const char *src, size_t siz); > ^ >./decode_pop.c:128:12: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > strlcat(obuf, password, olen); > ^~~~ >./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here >size_t strlcat(char *dst, const char *src, size_t siz); > ^ >./decode_pop.c:129:12: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > strlcat(obuf, "]\n", olen); > ^~~~ >./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here >size_t strlcat(char *dst, const char *src, size_t siz); > ^ >./decode_pop.c:134:17: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > return (strlen(obuf)); > ^~~~ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_postgresql.c >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_pptp.c >14 warnings generated. >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_rip.c >./decode_postgresql.c:46:8: warning: assigning to 'char *' from 'u_char *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > db = p + 4; db[63] = '\0'; > ^ ~~~~~ >./decode_postgresql.c:52:27: warning: passing 'u_char *' (aka 'unsigned char *') > to parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > snprintf(obuf + strlen(obuf), > ^~~~ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >./decode_postgresql.c:53:20: warning: passing 'u_char *' (aka 'unsigned char *') > to parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > olen - strlen(obuf), > ^~~~ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >./decode_postgresql.c:52:13: warning: passing 'u_char *' (aka 'unsigned char *') > to parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > snprintf(obuf + strlen(obuf), > ^~~~~~~~~~~~~~~~~~~ >/usr/include/stdio.h:378:39: note: passing argument to parameter '__s' here >extern int snprintf (char *__restrict __s, size_t __maxlen, > ^ >./decode_postgresql.c:60:17: warning: passing 'u_char *' (aka 'unsigned char *') > to parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > return (strlen(obuf)); > ^~~~ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >./decode_pptp.c:187:20: warning: passing 'u_char[64]' (aka 'unsigned char[64]') > to parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > if ((p = strchr(name, '\\')) == NULL) > ^~~~ >/usr/include/string.h:246:34: note: passing argument to parameter '__s' here >extern char *strchr (const char *__s, int __c) > ^ >./decode_pptp.c:187:11: warning: assigning to 'u_char *' (aka 'unsigned char *') > from 'char *' converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > if ((p = strchr(name, '\\')) == NULL) > ^ ~~~~~~~~~~~~~~~~~~ >./decode_pptp.c:193:32: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > SHA1_Update(&ctx, p, strlen(p)); > ^ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >5 warnings generated. >./decode_portmap.c:41:24: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > xdrmem_create(&xdrs, buf + hdrlen, len - hdrlen, XDR_DECODE); > ^~~~~~~~~~~~ >/usr/include/tirpc/rpc/xdr.h:355:42: note: passing argument to parameter here >extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); > ^ >./decode_portmap.c:56:25: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > xdrmem_create(&xdrs, buf + hdrlen, len - hdrlen, > ^~~~~~~~~~~~ >/usr/include/tirpc/rpc/xdr.h:355:42: note: passing argument to parameter here >extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); > ^ >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_rlogin.c >2 warnings generated. >3 warnings generated. >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_smb.c >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_smtp.c >./decode_rip.c:32:19: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > return (snprintf(obuf, olen, "%s\n", buf + 20)); > ^~~~ >/usr/include/stdio.h:378:39: note: passing argument to parameter '__s' here >extern int snprintf (char *__restrict __s, size_t __maxlen, > ^ >./decode_rlogin.c:32:10: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > strlcpy(obuf, "[", olen); > ^~~~ >./missing/strlcpy.h:1:22: note: passing argument to parameter 'dst' here >size_t strlcpy(char *dst, const char *src, size_t siz); > ^ >./decode_rlogin.c:33:10: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > strlcat(obuf, p, olen); /* Local username */ > ^~~~ >./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here >size_t strlcat(char *dst, const char *src, size_t siz); > ^ >./decode_rlogin.c:33:16: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > strlcat(obuf, p, olen); /* Local username */ > ^ >./missing/strlcat.h:1:39: note: passing argument to parameter 'src' here >size_t strlcat(char *dst, const char *src, size_t siz); > ^ >./decode_rlogin.c:34:10: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > strlcat(obuf, ":", olen); > ^~~~ >./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here >size_t strlcat(char *dst, const char *src, size_t siz); > ^ >./decode_rlogin.c:35:14: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > p += strlen(p) + 1; > ^ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >./decode_rlogin.c:37:10: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > strlcat(obuf, p, olen); /* Remote username */ > ^~~~ >./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here >size_t strlcat(char *dst, const char *src, size_t siz); > ^ >./decode_rlogin.c:37:16: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > strlcat(obuf, p, olen); /* Remote username */ > ^ >./missing/strlcat.h:1:39: note: passing argument to parameter 'src' here >size_t strlcat(char *dst, const char *src, size_t siz); > ^ >./decode_rlogin.c:38:10: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > strlcat(obuf, "]\n", olen); > ^~~~ >./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here >size_t strlcat(char *dst, const char *src, size_t siz); > ^ >./decode_rlogin.c:39:14: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > p += strlen(p) + 1; > ^ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >./decode_rlogin.c:41:14: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > p += strlen(p) + 1; /* Skip term info */ > ^ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >./decode_rlogin.c:43:18: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > if ((q = strstr(p, "\xff\xffss")) != NULL) /* Skip window size */ > ^ >/usr/include/string.h:350:34: note: passing argument to parameter '__haystack' > here >extern char *strstr (const char *__haystack, const char *__needle) > ^ >./decode_rlogin.c:43:9: warning: assigning to 'u_char *' (aka 'unsigned char *') > from 'char *' converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > if ((q = strstr(p, "\xff\xffss")) != NULL) /* Skip window size */ > ^ ~~~~~~~~~~~~~~~~~~~~~~~ >./decode_rlogin.c:46:18: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > for (p = strtok(p, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) { > ^ >/usr/include/string.h:356:39: note: passing argument to parameter '__s' here >extern char *strtok (char *__restrict __s, const char *__restrict __delim) > ^ >./decode_rlogin.c:46:9: warning: assigning to 'u_char *' (aka 'unsigned char *') > from 'char *' converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > for (p = strtok(p, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) { > ^ ~~~~~~~~~~~~~~~~~ >./decode_rlogin.c:46:43: warning: assigning to 'u_char *' > (aka 'unsigned char *') from 'char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > for (p = strtok(p, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) { > ^ ~~~~~~~~~~~~~~~~~~~~ >./decode_rlogin.c:47:11: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > strlcat(obuf, p, olen); > ^~~~ >./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here >size_t strlcat(char *dst, const char *src, size_t siz); > ^ >./decode_rlogin.c:47:17: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > strlcat(obuf, p, olen); > ^ >./missing/strlcat.h:1:39: note: passing argument to parameter 'src' here >size_t strlcat(char *dst, const char *src, size_t siz); > ^ >./decode_rlogin.c:48:11: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > strlcat(obuf, "\n", olen); > ^~~~ >./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here >size_t strlcat(char *dst, const char *src, size_t siz); > ^ >./decode_rlogin.c:50:19: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > if (!strip_lines(obuf, Opt_lines)) > ^~~~ >./decode.h:44:23: note: passing argument to parameter 'buf' here >int strip_lines(char *buf, int max_lines); > ^ >./decode_rlogin.c:53:17: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > return (strlen(obuf)); > ^~~~ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >1 warning generated. >20 warnings generated. >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_sniffer.c >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_snmp.c >./decode_smtp.c:31:18: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > for (p = strtok(buf, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) { > ^~~ >/usr/include/string.h:356:39: note: passing argument to parameter '__s' here >extern char *strtok (char *__restrict __s, const char *__restrict __delim) > ^ >./decode_smtp.c:33:12: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > strlcat(obuf, p, olen); > ^~~~ >./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here >size_t strlcat(char *dst, const char *src, size_t siz); > ^ >./decode_smtp.c:34:23: warning: passing 'char *' to parameter of type 'u_char *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > i = base64_pton(p, p, strlen(p)); > ^ >./base64.h:12:39: note: passing argument to parameter here >int base64_pton(char const *, u_char *, size_t); > ^ >./decode_smtp.c:36:15: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > j = strlen(obuf); > ^~~~ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >./decode_smtp.c:37:13: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > snprintf(obuf + j, olen - j, " [%s]\n", p); > ^~~~~~~~ >/usr/include/stdio.h:378:39: note: passing argument to parameter '__s' here >extern int snprintf (char *__restrict __s, size_t __maxlen, > ^ >./decode_smtp.c:41:12: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > strlcat(obuf, p, olen); > ^~~~ >./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here >size_t strlcat(char *dst, const char *src, size_t siz); > ^ >./decode_smtp.c:43:23: warning: passing 'char *' to parameter of type 'u_char *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > i = base64_pton(p, p, strlen(p)); > ^ >./base64.h:12:39: note: passing argument to parameter here >int base64_pton(char const *, u_char *, size_t); > ^ >./decode_smtp.c:45:15: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > j = strlen(obuf); > ^~~~ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >./decode_smtp.c:46:13: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > snprintf(obuf + j, olen - j, " [%s]\n", p); > ^~~~~~~~ >/usr/include/stdio.h:378:39: note: passing argument to parameter '__s' here >extern int snprintf (char *__restrict __s, size_t __maxlen, > ^ >./decode_smtp.c:55:17: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > return (strlen(obuf)); > ^~~~ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >./decode_smb.c:67:9: warning: assigning to 'char *' from 'u_char *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > pass = q + 6; > ^ ~~~~~ >./decode_smb.c:75:9: warning: assigning to 'char *' from 'u_char *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > pass = q + 12; > ^ ~~~~~~ >./decode_smb.c:83:12: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > strlcat(obuf, user, olen); > ^~~~ >./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here >size_t strlcat(char *dst, const char *src, size_t siz); > ^ >./decode_smb.c:84:12: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > strlcat(obuf, " ", olen); > ^~~~ >./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here >size_t strlcat(char *dst, const char *src, size_t siz); > ^ >./decode_smb.c:85:12: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > strlcat(obuf, pass, olen); > ^~~~ >./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here >size_t strlcat(char *dst, const char *src, size_t siz); > ^ >./decode_smb.c:86:12: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > strlcat(obuf, "\n", olen); > ^~~~ >./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here >size_t strlcat(char *dst, const char *src, size_t siz); > ^ >./decode_smb.c:89:17: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > return (strlen(obuf)); > ^~~~ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >10 warnings generated. >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_socks.c >7 warnings generated. >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_tds.c >./decode_sniffer.c:36:20: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > return (strlcpy(obuf, "[]\n", olen)); > ^~~~ >./missing/strlcpy.h:1:22: note: passing argument to parameter 'dst' here >size_t strlcpy(char *dst, const char *src, size_t siz); > ^ >./decode_sniffer.c:40:20: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > return (strlcpy(obuf, "[]\n", olen)); > ^~~~ >./missing/strlcpy.h:1:22: note: passing argument to parameter 'dst' here >size_t strlcpy(char *dst, const char *src, size_t siz); > ^ >./decode_sniffer.c:44:29: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > buf[len - 3]= '\0'; strtok(&buf[32], "\r\n"); > ^~~~~~~~ >/usr/include/string.h:356:39: note: passing argument to parameter '__s' here >extern char *strtok (char *__restrict __s, const char *__restrict __delim) > ^ >./decode_sniffer.c:45:11: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > snprintf(obuf, olen, "%s [", &buf[32]); > ^~~~ >/usr/include/stdio.h:378:39: note: passing argument to parameter '__s' here >extern int snprintf (char *__restrict __s, size_t __maxlen, > ^ >./decode_sniffer.c:46:15: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > len = strlen(obuf); > ^~~~ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >./decode_sniffer.c:47:18: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > i = base64_pton(&buf[32], &obuf[len], olen - len - 3); > ^~~~~~~~ >./base64.h:12:29: note: passing argument to parameter here >int base64_pton(char const *, u_char *, size_t); > ^ >./decode_sniffer.c:49:10: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > strlcat(obuf, "]\n", olen); > ^~~~ >./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here >size_t strlcat(char *dst, const char *src, size_t siz); > ^ >./decode_sniffer.c:51:17: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > return (strlen(obuf)); > ^~~~ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >8 warnings generated. >./decode_socks.c:48:11: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > snprintf(obuf, olen, "%s ", p - 1); > ^~~~ >/usr/include/stdio.h:378:39: note: passing argument to parameter '__s' here >extern int snprintf (char *__restrict __s, size_t __maxlen, > ^ >./decode_socks.c:56:10: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > strlcat(obuf, p - 1, olen); > ^~~~ >./missing/strlcat.h:1:22./decode_snmp.c: note: passing argument to parameter 'dst' here: >47size_t strlcat(char *dst, const char *src, size_t siz); > ^ >:4./decode_socks.c:56:16: warning: : passing 'u_char *' (aka 'unsigned char *') towarning: > parameter of type 'const char *' assigningconverts between pointers to integer > to types where one is of 'u_char *'the unique plain 'char' type and the other is not > [-Wpointer-sign] >(aka 'unsigned char *') > strlcat(obuf, p - 1, olen); > ^~~~~ > from./missing/strlcat.h:1:39: note: passing argument to 'char *' parameter 'src' here > convertssize_t strlcat(char *dst, const char *src, size_t siz); > ^ > between pointers to integer ./decode_socks.c:57:10:types warning: passing 'u_char *' (aka 'unsigned char *') to >where parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > strlcat(obuf, "\n", olen); > ^~~~ >./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here >onesize_t strlcat(char *dst, const char *src, size_t siz); > ^ >./decode_socks.c:59:17: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types where one isis of the unique plain 'char' type and ofthe other is > not > [-Wpointer-sign] > the return (strlen(obuf)); > ^~~~ > unique /usr/include/string.h:407:35: note: passing argument to plainparameter '__s' here > extern size_t strlen (const char *__s) >'char' ^ > type and the other is not [-Wpointer-sign] > p = buf_strdup(b); > ^ ~~~~~~~~~~~~~ >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_telnet.c >5 warnings generated. >1 warning generated. >./decode_tds.c:163:12: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > strlcat(obuf, tl->username, olen); > ^~~~ >./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here >size_t strlcat(char *dst, const char *src, size_t siz); > ^ >./decode_tds.c:164:12: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > strlcat(obuf, "\n", olen); > ^~~~ >./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here >size_t strlcat(char *dst, const char *src, size_t siz); > ^ >./decode_tds.c:170:12: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > strlcat(obuf, tl->password, olen); > ^~~~ >./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here >size_t strlcat(char *dst, const char *src, size_t siz); > ^ >./decode_tds.c:171:12: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > strlcat(obuf, "\n", olen); > ^~~~ >./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here >size_t strlcat(char *dst, const char *src, size_t siz); > ^ >./decode_tds.c:204:27: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > snprintf(obuf + strlen(obuf), > ^~~~ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >./decode_tds.c:205:20: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > olen - strlen(obuf), > ^~~~ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >./decode_tds.c:204:13: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > snprintf(obuf + strlen(obuf), > ^~~~~~~~~~~~~~~~~~~ >/usr/include/stdio.h:378:39: note: passing argument to parameter '__s' here >extern int snprintf (char *__restrict __s, size_t __maxlen, > ^ >./decode_tds.c:207:18: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > return(strlen(obuf)); > ^~~~ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_vrrp.c >./decode_tds.c:210:17: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > return (strlen(obuf)); > ^~~~ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_yp.c >./decode_telnet.c:28:23: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > if (!is_ascii_string(buf, len)) > ^~~ >./decode.h:46:27: note: passing argument to parameter 'buf' here >int is_ascii_string(char *buf, int len); > ^ >./decode_telnet.c:31:18: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > if (strip_lines(buf, Opt_lines) < 2) > ^~~ >./decode.h:44:23: note: passing argument to parameter 'buf' here >int strip_lines(char *buf, int max_lines); > ^ >./decode_telnet.c:34:10: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > strlcpy(obuf, buf, olen); > ^~~~ >./missing/strlcpy.h:1:22: note: passing argument to parameter 'dst' here >size_t strlcpy(char *dst, const char *src, size_t siz); > ^ >./decode_telnet.c:34:16: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > strlcpy(obuf, buf, olen); > ^~~ >./missing/strlcpy.h:1:39: note: passing argument to parameter 'src' here >size_t strlcpy(char *dst, const char *src, size_t siz); > ^ >./decode_telnet.c:36:17: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > return (strlen(obuf)); > ^~~~ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >5 warnings generated. >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_x11.c >./decode_yp.c:86:24: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > xdrmem_create(&xdrs, buf + hdrlen, len - hdrlen, XDR_DECODE); > ^~~~~~~~~~~~ >/usr/include/tirpc/rpc/xdr.h:355:42: note: passing argument to parameter here >extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); > ^ >./decode_yp.c:89:13: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > snprintf(obuf, olen, > ^~~~ >/usr/include/stdio.h:378:39: note: passing argument to parameter '__s' here >extern int snprintf (char *__restrict __s, size_t __maxlen, > ^ >./decode_yp.c:98:17: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > return (strlen(obuf)); > ^~~~ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >./decode_yp.c:119:24: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > xdrmem_create(&xdrs, buf + hdrlen, len - hdrlen, XDR_DECODE); > ^~~~~~~~~~~~ >/usr/include/tirpc/rpc/xdr.h:355:42: note: passing argument to parameter here >extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); > ^ >./decode_yp.c:132:25: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > xdrmem_create(&xdrs, buf + hdrlen, len - hdrlen, > ^~~~~~~~~~~~ >/usr/include/tirpc/rpc/xdr.h:355:42: note: passing argument to parameter here >extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); > ^ >./decode_yp.c:136:15: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integerrpcgen -c nfs_prot.x -o nfs_prot.c > types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > snprintf(obuf, olen, "%s\n", > ^~~~ >/usr/include/stdio.h:378:39: note: passing argument to parameter '__s' here >extern int snprintf (char *__restrict __s, size_t __maxlen, > ^ >./decode_yp.c:144:17: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > return (strlen(obuf)); > ^~~~ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >rpcgen -h nfs_prot.x -o nfs_prot.h >9 warnings generated. >7 warnings generated. >./decode_x11.c:28:4: warning: assigning to 'char *' from 'u_char *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > p = buf + 12; > ^ ~~~~~~~~ >./decode_x11.c:33:10: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > strlcpy(obuf, "MIT-MAGIC-COOKIE-1 ", olen); > ^~~~ >./missing/strlcpy.h:1:22: note: passing argument to parameter 'dst' here >size_t strlcpy(char *dst, const char *src, size_t siz); > ^ >./decode_x11.c:37:4: warning: assigning to 'char *' from 'u_char *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > q = obuf + 19; > ^ ~~~~~~~~~ >./decode_x11.c:41:10: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > strlcat(obuf, "\n", olen); > ^~~~ >./missing/strlcat.h:1:22: note: passing argument to parameter 'dst' here >size_t strlcat(char *dst, const char *src, size_t siz); > ^ >./decode_x11.c:43:17: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > return (strlen(obuf)); > ^~~~ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./macof.c >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./mailsnarf.c >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./msgsnarf.c >5 warnings generated. >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./sshmitm.c >./msgsnarf.c:146:7: warning: assigning to 'u_char *' (aka 'unsigned char *') > from 'char *' converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > p = buf_strdup(msg); > ^ ~~~~~~~~~~~~~~~ >./msgsnarf.c:148:21: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > if (regex_match(p)) > ^ >./msgsnarf.c:67:19: note: passing argument to parameter 'string' here >regex_match(char *string) > ^ >./msgsnarf.c:162:7: warning: assigning to 'u_char *' (aka 'unsigned char *') > from 'char *' converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > p = buf_strdup(msg); > ^ ~~~~~~~~~~~~~~~ >./msgsnarf.c:164:21: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > if (regex_match(p)) > ^ >./msgsnarf.c:67:19: note: passing argument to parameter 'string' here >regex_match(char *string) > ^ >./msgsnarf.c:198:7: warning: assigning to 'u_char *' (aka 'unsigned char *') > from 'char *' converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > p = buf_strdup(msg); > ^ ~~~~~~~~~~~~~~~ >./msgsnarf.c:200:21: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > if (p && strlen(p) && regex_match(p)) { > ^ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >./msgsnarf.c:200:39: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > if (p && strlen(p) && regex_match(p)) { > ^ >./msgsnarf.c:67:19: note: passing argument to parameter 'string' here >regex_match(char *string) > ^ >./msgsnarf.c:599:24: warning: passing 'char *' to parameter of type 'u_char *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > i = process_msgs(c, ts->server.data, > ^~~~~~~~~~~~~~~ >./msgsnarf.c:604:24: warning: passing 'char *' to parameter of type 'u_char *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > i = process_msgs(c, ts->client.data, > ^~~~~~~~~~~~~~~ >./msgsnarf.c:615:20: warning: passing 'char *' to parameter of type 'u_char *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > process_msgs(c, ts->server.data, > ^~~~~~~~~~~~~~~ >./msgsnarf.c:618:20: warning: passing 'char *' to parameter of type 'u_char *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > process_msgs(c, ts->client.data, > ^~~~~~~~~~~~~~~ >./macof.c:105:23: warning: 'pcap_lookupdev' is deprecated: use > 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] > if (!Intf && (Intf = pcap_lookupdev(pcap_ebuf)) == NULL) > ^ >/usr/include/pcap/pcap.h:395:1: note: 'pcap_lookupdev' has been explicitly > marked deprecated here >PCAP_DEPRECATED(pcap_lookupdev, "use 'pcap_findalldevs' and use the firs... >^ >/usr/include/pcap/funcattrs.h:293:53: note: expanded from macro > 'PCAP_DEPRECATED' > #define PCAP_DEPRECATED(func, msg) __attribute__((deprecated(msg))) > ^ >./mailsnarf.c:118:17: warning: passing 'char *' to parameter of type 'u_char *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > buf_init(&buf, data, len); > ^~~~ >./buf.h:22:34: note: passing argument to parameter 'data' here >void buf_init(buf_t buf, u_char *data, int len); > ^ >1 warning generated. >./mailsnarf.c:124:19: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > if (strncasecmp(buf_ptr(line), "RETR ", 5) == 0) { > ^~~~~~~~~~~~~ >./buf.h:31:20: note: expanded from macro 'buf_ptr' >#define buf_ptr(b) ((b)->base + (b)->offset) > ^~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/strings.h:120:37: note: passing argument to parameter '__s1' here >extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) > ^ >./mailsnarf.c:138:17: warning: passing 'char *' to parameter of type 'u_char *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > buf_init(&buf, data, len); > ^~~~ >./buf.h:22:34: note: passing argument to parameter 'data' here >void buf_init(buf_t buf, u_char *data, int len); > ^ >./mailsnarf.c:160:20: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > if (regex_match(buf_ptr(body))) > ^~~~~~~~~~~~~ >./buf.h:31:20: note: expanded from macro 'buf_ptr' >#define buf_ptr(b) ((b)->base + (b)->offset) > ^~~~~~~~~~~~~~~~~~~~~~~~~ >./mailsnarf.c:67:19: note: passing argument to parameter 'string' here >regex_match(char *string) > ^ >./mailsnarf.c:161:26: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > print_mbox_msg(NULL, buf_ptr(body)); > ^~~~~~~~~~~~~ >./buf.h:31:20: note: expanded from macro 'buf_ptr' >#define buf_ptr(b) ((b)->base + (b)->offset) > ^~~~~~~~~~~~~~~~~~~~~~~~~ >./mailsnarf.c:89:34: note: passing argument to parameter 'msg' here >print_mbox_msg(char *from, char *msg) > ^ >./mailsnarf.c:176:17: warning: passing 'char *' to parameter of type 'u_char *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > buf_init(&buf, data, len); > ^~~~ >./buf.h:22:34: note: passing argument to parameter 'data' here >void buf_init(buf_t buf, u_char *data, int len); > ^ >./mailsnarf.c:182:6: warning: assigning to 'char *' from 'u_char *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > p = buf_ptr(line); > ^ ~~~~~~~~~~~~~ >./mailsnarf.c:216:20: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > if (regex_match(buf_ptr(body))) > ^~~~~~~~~~~~~ >./buf.h:31:20: note: expanded from macro 'buf_ptr' >#define buf_ptr(b) ((b)->base + (b)->offset) > ^~~~~~~~~~~~~~~~~~~~~~~~~ >./mailsnarf.c:67:19: note: passing argument to parameter 'string' here >regex_match(char *string) > ^ >./mailsnarf.c:217:32: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > print_mbox_msg(smtp->from, buf_ptr(body)); > ^~~~~~~~~~~~~ >./buf.h:31:20: note: expanded from macro 'buf_ptr' >#define buf_ptr(b) ((b)->base + (b)->offset) > ^~~~~~~~~~~~~~~~~~~~~~~~~ >./mailsnarf.c:89:34: note: passing argument to parameter 'msg' here >print_mbox_msg(char *from, char *msg) > ^ >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./ssh.c >9 warnings generated. >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./sshcrypto.c >11 warnings generated. >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./sshow.c >./sshmitm.c:45:21: error: redefinition of 'csin' as different kind of symbol >struct sockaddr_in csin, ssin; > ^ >./sshmitm.c:45:21: note: unguarded header; consider using #ifdef guards or > #pragma once >./sshmitm.c:45:21: note: previous definition is here >./sshmitm.c:135:28: warning: 'RSA_generate_key' is deprecated > [-Wdeprecated-declarations] > ssh_client_ctx->hostkey = RSA_generate_key(1024, 35, NULL, NULL); > ^ >/usr/include/openssl/rsa.h:235:1: note: 'RSA_generate_key' has been explicitly > marked deprecated here >DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void >^ >/usr/include/x86_64-pc-linux-gnu/openssl/opensslconf.h:166:34: note: expanded > from macro 'DEPRECATEDIN_0_9_8' ># define DEPRECATEDIN_0_9_8(f) DECLARE_DEPRECATED(f) > ^ >/usr/include/x86_64-pc-linux-gnu/openssl/opensslconf.h:112:55: note: expanded > from macro 'DECLARE_DEPRECATED' ># define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); > ^ >./sshmitm.c:136:28: warning: 'RSA_generate_key' is deprecated > [-Wdeprecated-declarations] > ssh_client_ctx->servkey = RSA_generate_key(768, 35, NULL, NULL); > ^ >/usr/include/openssl/rsa.h:235:1: note: 'RSA_generate_key' has been explicitly > marked deprecated here >DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void >^ >/usr/include/x86_64-pc-linux-gnu/openssl/opensslconf.h:166:34: note: expanded > from macro 'DEPRECATEDIN_0_9_8' ># define DEPRECATEDIN_0_9_8(f) DECLARE_DEPRECATED(f) > ^ >/usr/include/x86_64-pc-linux-gnu/openssl/opensslconf.h:112:55: note: expanded > from macro 'DECLARE_DEPRECATED' ># define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); > ^ >./sshmitm.c:154:23: error: member reference base type '_Complex double > (_Complex double)' is not a structure or union > inet_ntoa(csin.sin_addr), ntohs(csin.sin_port)); > ~~~~^~~~~~~~~ >./sshmitm.c:154:45: error: member reference base type '_Complex double > (_Complex double)' is not a structure or union > inet_ntoa(csin.sin_addr), ntohs(csin.sin_port)); > ~~~~^~~~~~~~~ >/usr/include/netinet/in.h:410:33: note: expanded from macro 'ntohs' ># define ntohs(x) __bswap_16 (x) > ^ >./sshmitm.c:204:42: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > ssh_strlcat(userpass, sizeof(userpass), buf + 1, i - 1); > ^~~~~~~ >./sshmitm.c:59:40: note: passing argument to parameter 'src' here >ssh_strlcat(char *dst, int size, char *src, int len) > ^ >./sshmitm.c:237:11: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > buf + 1, i - 1); > ^~~~~~~ >./sshmitm.c:59:40: note: passing argument to parameter 'src' here >ssh_strlcat(char *dst, int size, char *src, int len) > ^ >./sshmitm.c:243:17: error: member reference base type '_Complex double > (_Complex double)' is not a structure or union > record(csin.sin_addr.s_addr, > ~~~~^~~~~~~~~ >./sshmitm.c:246:23: error: member reference base type '_Complex double > (_Complex double)' is not a structure or union > ntohs(csin.sin_port), > ~~~~^~~~~~~~~ >/usr/include/netinet/in.h:410:33: note: expanded from macro 'ntohs' ># define ntohs(x) __bswap_16 (x) > ^ >./sshmitm.c:342:35: warning: passing 'int *' to parameter of type 'socklen_t *' > (aka 'unsigned int *') converts between pointers to integer types with > different sign [-Wpointer-sign] > (struct sockaddr *)&csin, &i); > ^~ >/usr/include/sys/socket.h:307:28: note: passing argument to parameter > '__addr_len' here > socklen_t *__restrict __addr_len); > ^ >5 warnings and 5 errors generated. >make: *** [Makefile:78: sshmitm.o] Error 1 >make: *** Waiting for unfinished jobs.... >./ssh.c:165:13: warning: passing arguments to a function without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > res = (f) (fd, s + pos, n - pos); > ^ >./ssh.c:250:9: warning: passing 'const BIGNUM *' > (aka 'const struct bignum_st *') to parameter of type 'BIGNUM *' (aka > 'struct bignum_st *') discards qualifiers > [-Wincompatible-pointer-types-discards-qualifiers] > put_bn(servkey_e, &p); /* servkey exponent */ > ^~~~~~~~~ >./ssh.c:92:16: note: passing argument to parameter 'bn' here >put_bn(BIGNUM *bn, u_char **pp) > ^ >./ssh.c:251:9: warning: passing 'const BIGNUM *' > (aka 'const struct bignum_st *') to parameter of type 'BIGNUM *' (aka > 'struct bignum_st *') discards qualifiers > [-Wincompatible-pointer-types-discards-qualifiers] > put_bn(servkey_n, &p); /* servkey modulus */ > ^~~~~~~~~ >./ssh.c:92:16: note: passing argument to parameter 'bn' here >put_bn(BIGNUM *bn, u_char **pp) > ^ >./ssh.c:254:9: warning: passing 'const BIGNUM *' > (aka 'const struct bignum_st *') to parameter of type 'BIGNUM *' (aka > 'struct bignum_st *') discards qualifiers > [-Wincompatible-pointer-types-discards-qualifiers] > put_bn(hostkey_e, &p); /* hostkey exponent */ > ^~~~~~~~~ >./ssh.c:92:16: note: passing argument to parameter 'bn' here >put_bn(BIGNUM *bn, u_char **pp) > ^ >./ssh.c:255:9: warning: passing 'const BIGNUM *' > (aka 'const struct bignum_st *') to parameter of type 'BIGNUM *' (aka > 'struct bignum_st *') discards qualifiers > [-Wincompatible-pointer-types-discards-qualifiers] > put_bn(hostkey_n, &p); /* hostkey modulus */ > ^~~~~~~~~ >./ssh.c:92:16: note: passing argument to parameter 'bn' here >put_bn(BIGNUM *bn, u_char **pp) > ^ >./ssh.c:326:34: warning: passing 'const BIGNUM *' (aka 'const struct bignum_st > *') to parameter of type 'BIGNUM *' (aka 'struct bignum_st *') discards > qualifiers [-Wincompatible-pointer-types-discards-qualifiers] > if ((p = ssh_session_id(cookie, hostkey_n, > ^~~~~~~~~ >./ssh.c:122:40: note: passing argument to parameter 'hostkey_n' here >ssh_session_id(u_char *cookie, BIGNUM *hostkey_n, BIGNUM *servkey_n) > ^ >./ssh.c:327:5: warning: passing 'const BIGNUM *' > (aka 'const struct bignum_st *') to parameter of type 'BIGNUM *' (aka > 'struct bignum_st *') discards qualifiers > [-Wincompatible-pointer-types-discards-qualifiers] > servkey_n)) == NULL) { > ^~~~~~~~~ >./ssh.c:122:59: note: passing argument to parameter 'servkey_n' here >ssh_session_id(u_char *cookie, BIGNUM *hostkey_n, BIGNUM *servkey_n) > ^ >7 warnings generated. > * ERROR: net-analyzer/dsniff-2.4_beta1_p30::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=net-analyzer/dsniff-2.4_beta1_p30::gentoo'`, > * the complete build log and the output of `emerge -pqv '=net-analyzer/dsniff-2.4_beta1_p30::gentoo'`. > * The complete build log is located at '/var/log/portage/net-analyzer:dsniff-2.4_beta1_p30:20221002-140428.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/dsniff-2.4_beta1_p30/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/dsniff-2.4_beta1_p30/temp/environment'. > * Working directory: '/var/tmp/portage/net-analyzer/dsniff-2.4_beta1_p30/work/dsniff-2.4' > * S: '/var/tmp/portage/net-analyzer/dsniff-2.4_beta1_p30/work/dsniff-2.4' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 874078
:
815590
|
815593
|
815596
|
815599
|
815602
| 815605 |
815608