Mock Version: 1.1.41 Mock Version: 1.1.41 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/dsniff.spec'], False, '/var/lib/mock/infrastructure7-el7-build-5358-7310/root/', None, 86400, True, False, 497, 135, None, False, {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/dsniff.spec'] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} warning: bogus date in %changelog: Wed May 29 2008 Robert Scheck 2.4-0.3.b1 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/dsniff-2.4-0.17.b1.el7.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/dsniff.spec'], False, '/var/lib/mock/infrastructure7-el7-build-5358-7310/root/', None, 86400, True, False, 497, 135, None, False, {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/dsniff.spec'] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} warning: bogus date in %changelog: Wed May 29 2008 Robert Scheck 2.4-0.3.b1 Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.j90HqS + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dsniff-2.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/dsniff-2.4b1.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd dsniff-2.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (dsniff-2.4-time_h.patch):' Patch #0 (dsniff-2.4-time_h.patch): + /usr/bin/cat /builddir/build/SOURCES/dsniff-2.4-time_h.patch + /usr/bin/patch -p1 -b --suffix .time_h --fuzz=0 patching file msgsnarf.c patching file sshow.c Patch #1 (dsniff-2.4-mailsnarf_corrupt.patch): + echo 'Patch #1 (dsniff-2.4-mailsnarf_corrupt.patch):' + /usr/bin/cat /builddir/build/SOURCES/dsniff-2.4-mailsnarf_corrupt.patch + /usr/bin/patch -p1 -b --suffix .mailsnarf --fuzz=0 patching file mailsnarf.c Patch #2 (dsniff-2.4-pcap_read_dump.patch): + echo 'Patch #2 (dsniff-2.4-pcap_read_dump.patch):' + /usr/bin/cat /builddir/build/SOURCES/dsniff-2.4-pcap_read_dump.patch + /usr/bin/patch -p1 -b --suffix .pcap_dump --fuzz=0 patching file dsniff.8 patching file dsniff.c patching file filesnarf.8 patching file filesnarf.c patching file mailsnarf.8 patching file mailsnarf.c patching file msgsnarf.8 patching file msgsnarf.c patching file sshow.8 patching file sshow.c patching file urlsnarf.8 patching file urlsnarf.c patching file webspy.8 patching file webspy.c Patch #3 (dsniff-2.4-multiple_intf.patch): + echo 'Patch #3 (dsniff-2.4-multiple_intf.patch):' + /usr/bin/cat /builddir/build/SOURCES/dsniff-2.4-multiple_intf.patch + /usr/bin/patch -p1 -b --suffix .multiple_intf --fuzz=0 patching file arp.c patching file arp.h patching file arpspoof.c + echo 'Patch #4 (dsniff-2.4-amd64_fix.patch):' Patch #4 (dsniff-2.4-amd64_fix.patch): + /usr/bin/cat /builddir/build/SOURCES/dsniff-2.4-amd64_fix.patch + /usr/bin/patch -p1 -b --suffix .amd64_fix --fuzz=0 patching file configure patching file configure.in Patch #5 (dsniff-2.4-urlsnarf_zeropad.patch): + echo 'Patch #5 (dsniff-2.4-urlsnarf_zeropad.patch):' + /usr/bin/cat /builddir/build/SOURCES/dsniff-2.4-urlsnarf_zeropad.patch + /usr/bin/patch -p1 -b --suffix .urlsnarf_zeropad --fuzz=0 patching file urlsnarf.c + echo 'Patch #6 (dsniff-2.4-libnet_11.patch):' Patch #6 (dsniff-2.4-libnet_11.patch): + /usr/bin/cat /builddir/build/SOURCES/dsniff-2.4-libnet_11.patch + /usr/bin/patch -p1 -b --suffix .libnet_11 --fuzz=0 patching file arpspoof.c patching file dnsspoof.c patching file filesnarf.c patching file macof.c patching file record.c patching file sshmitm.c patching file tcpkill.c patching file tcpnice.c patching file tcp_raw.c patching file tcp_raw.h patching file trigger.c patching file trigger.h patching file urlsnarf.c patching file webmitm.c patching file webspy.c + echo 'Patch #7 (dsniff-2.4-checksum.patch):' Patch #7 (dsniff-2.4-checksum.patch): + /usr/bin/cat /builddir/build/SOURCES/dsniff-2.4-checksum.patch + /usr/bin/patch -p1 -b --suffix .checksum --fuzz=0 patching file urlsnarf.c + echo 'Patch #8 (dsniff-2.4-openssl_098.patch):' Patch #8 (dsniff-2.4-openssl_098.patch): + /usr/bin/cat /builddir/build/SOURCES/dsniff-2.4-openssl_098.patch + /usr/bin/patch -p1 -b --suffix .openssl_098 --fuzz=0 patching file ssh.c + echo 'Patch #9 (dsniff-2.4-sshcrypto.patch):' Patch #9 (dsniff-2.4-sshcrypto.patch): + /usr/bin/cat /builddir/build/SOURCES/dsniff-2.4-sshcrypto.patch + /usr/bin/patch -p1 -b --suffix .sshcrypto --fuzz=0 patching file sshcrypto.c + echo 'Patch #10 (dsniff-2.4-sysconf_clocks.patch):' Patch #10 (dsniff-2.4-sysconf_clocks.patch): + /usr/bin/cat /builddir/build/SOURCES/dsniff-2.4-sysconf_clocks.patch + /usr/bin/patch -p1 -b --suffix .sysconf_clocks --fuzz=0 patching file sshow.c + echo 'Patch #11 (dsniff-2.4-urlsnarf_escape.patch):' Patch #11 (dsniff-2.4-urlsnarf_escape.patch): + /usr/bin/cat /builddir/build/SOURCES/dsniff-2.4-urlsnarf_escape.patch + /usr/bin/patch -p1 -b --suffix .urlsnarf_escape --fuzz=0 patching file urlsnarf.c Patch #12 (dsniff-2.4-string_header.patch): + echo 'Patch #12 (dsniff-2.4-string_header.patch):' + /usr/bin/cat /builddir/build/SOURCES/dsniff-2.4-string_header.patch + /usr/bin/patch -p1 -b --suffix .string_header --fuzz=0 patching file arp.c patching file buf.c patching file decode_nntp.c patching file decode_pop.c patching file decode_rlogin.c patching file decode_smb.c patching file decode_smtp.c patching file decode_sniffer.c patching file decode_socks.c patching file decode_tds.c patching file decode_telnet.c patching file decode_x11.c patching file dnsspoof.c patching file magic.c patching file sshmitm.c patching file missing/strlcat.h patching file missing/strlcpy.h + echo 'Patch #13 (dsniff-2.4-arpa_inet_header.patch):' Patch #13 (dsniff-2.4-arpa_inet_header.patch): + /usr/bin/cat /builddir/build/SOURCES/dsniff-2.4-arpa_inet_header.patch + /usr/bin/patch -p1 -b --suffix .arpa_inet_header --fuzz=0 patching file decode_aim.c patching file decode_mmxp.c patching file decode_pptp.c patching file decode_tds.c patching file decode_vrrp.c patching file ssh.c Patch #14 (dsniff-2.4-pop_with_version.patch): + echo 'Patch #14 (dsniff-2.4-pop_with_version.patch):' + /usr/bin/cat /builddir/build/SOURCES/dsniff-2.4-pop_with_version.patch + /usr/bin/patch -p1 -b --suffix .pop_with_version --fuzz=0 patching file decode.c patching file dsniff.services + echo 'Patch #15 (dsniff-2.4-obsolete_time.patch):' Patch #15 (dsniff-2.4-obsolete_time.patch): + /usr/bin/cat /builddir/build/SOURCES/dsniff-2.4-obsolete_time.patch + /usr/bin/patch -p1 -b --suffix .obsolete_time --fuzz=0 patching file sshow.c Hunk #1 succeeded at 226 (offset 4 lines). Hunk #2 succeeded at 277 (offset 7 lines). Hunk #3 succeeded at 306 (offset 7 lines). + echo 'Patch #16 (dsniff-2.4-checksum_libnids.patch):' Patch #16 (dsniff-2.4-checksum_libnids.patch): + /usr/bin/cat /builddir/build/SOURCES/dsniff-2.4-checksum_libnids.patch + /usr/bin/patch -p1 -b --suffix .checksum_libnids --fuzz=0 patching file dsniff.c + echo 'Patch #17 (dsniff-2.4-fedora_dirs.patch):' Patch #17 (dsniff-2.4-fedora_dirs.patch): + /usr/bin/cat /builddir/build/SOURCES/dsniff-2.4-fedora_dirs.patch + /usr/bin/patch -p1 -b --suffix .fedora_dirs --fuzz=0 patching file Makefile.in patching file dnsspoof.8 patching file dsniff.8 patching file pathnames.h + echo 'Patch #18 (dsniff-2.4-glib2.patch):' Patch #18 (dsniff-2.4-glib2.patch): + /usr/bin/cat /builddir/build/SOURCES/dsniff-2.4-glib2.patch + /usr/bin/patch -p1 -b --suffix .glib2 --fuzz=0 patching file Makefile.in + echo 'Patch #19 (dsniff-2.4-link_layer_offset.patch):' Patch #19 (dsniff-2.4-link_layer_offset.patch): + /usr/bin/cat /builddir/build/SOURCES/dsniff-2.4-link_layer_offset.patch + /usr/bin/patch -p1 -b --suffix .link_layer_offset --fuzz=0 patching file pcaputil.c + echo 'Patch #20 (dsniff-2.4-tds_decoder.patch):' Patch #20 (dsniff-2.4-tds_decoder.patch): + /usr/bin/cat /builddir/build/SOURCES/dsniff-2.4-tds_decoder.patch + /usr/bin/patch -p1 -b --suffix .tds_decoder --fuzz=0 patching file decode_tds.c + echo 'Patch #21 (dsniff-2.4-msgsnarf_segfault.patch):' Patch #21 (dsniff-2.4-msgsnarf_segfault.patch): + /usr/bin/cat /builddir/build/SOURCES/dsniff-2.4-msgsnarf_segfault.patch + /usr/bin/patch -p1 -b --suffix .msgsnarf_segfault --fuzz=0 patching file msgsnarf.c Patch #22 (dsniff-2.4-urlsnarf_timestamp.patch): + echo 'Patch #22 (dsniff-2.4-urlsnarf_timestamp.patch):' + /usr/bin/cat /builddir/build/SOURCES/dsniff-2.4-urlsnarf_timestamp.patch + /usr/bin/patch -p1 -b --suffix .urlsnarf_timestamp --fuzz=0 patching file urlsnarf.c + echo 'Patch #23 (dsniff-2.4-arpspoof_reverse.patch):' Patch #23 (dsniff-2.4-arpspoof_reverse.patch): + /usr/bin/cat /builddir/build/SOURCES/dsniff-2.4-arpspoof_reverse.patch + /usr/bin/patch -p1 -b --suffix .arpspoof_reverse --fuzz=0 patching file arpspoof.8 patching file arpspoof.c + echo 'Patch #24 (dsniff-2.4-arpspoof_multiple.patch):' Patch #24 (dsniff-2.4-arpspoof_multiple.patch): + /usr/bin/cat /builddir/build/SOURCES/dsniff-2.4-arpspoof_multiple.patch + /usr/bin/patch -p1 -b --suffix .arpspoof_multiple --fuzz=0 patching file arpspoof.8 patching file arpspoof.c + echo 'Patch #25 (dsniff-2.4-arpspoof_hwaddr.patch):' Patch #25 (dsniff-2.4-arpspoof_hwaddr.patch): + /usr/bin/cat /builddir/build/SOURCES/dsniff-2.4-arpspoof_hwaddr.patch + /usr/bin/patch -p1 -b --suffix .arpspoof_hwaddr --fuzz=0 patching file arpspoof.8 patching file arpspoof.c + echo 'Patch #26 (dsniff-2.4-modernize_pop.patch):' Patch #26 (dsniff-2.4-modernize_pop.patch): + /usr/bin/cat /builddir/build/SOURCES/dsniff-2.4-modernize_pop.patch + /usr/bin/patch -p1 -b --suffix .modernize_pop --fuzz=0 patching file decode_pop.c + echo 'Patch #27 (dsniff-2.4-libnet_name2addr4.patch):' Patch #27 (dsniff-2.4-libnet_name2addr4.patch): + /usr/bin/cat /builddir/build/SOURCES/dsniff-2.4-libnet_name2addr4.patch + /usr/bin/patch -p1 -b --suffix .libnet_name2addr4 --fuzz=0 patching file sshmitm.c patching file webmitm.c patching file webspy.c patching file arpspoof.c + echo 'Patch #28 (dsniff-2.4-pntohl_shift.patch):' Patch #28 (dsniff-2.4-pntohl_shift.patch): + /usr/bin/cat /builddir/build/SOURCES/dsniff-2.4-pntohl_shift.patch + /usr/bin/patch -p1 -b --suffix .pntohl_shift --fuzz=0 patching file decode.h + echo 'Patch #29 (dsniff-2.4-rpc_segfault.patch):' Patch #29 (dsniff-2.4-rpc_segfault.patch): + /usr/bin/cat /builddir/build/SOURCES/dsniff-2.4-rpc_segfault.patch + /usr/bin/patch -p1 -b --suffix .rpc_segfault --fuzz=0 patching file rpc.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.bxaUFz + umask 022 + cd /builddir/build/BUILD + cd dsniff-2.4 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' x86_64 == ppc64le ']' ++ find . -name config.guess -o -name config.sub + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info creating cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z,relro ) works... yes checking whether the C compiler (gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z,relro ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for a BSD compatible install... /usr/bin/install -c checking for ranlib... ranlib checking how to run the C preprocessor... gcc -E checking for X... libraries , headers checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for ANSI C header files... yes 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... 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 working 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 gcc needs -traditional... no checking for 8-bit clean 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... yes checking for socket in -lsocket... no checking for gethostbyname in -lnsl... yes checking for dn_expand in -lresolv... no checking for __dn_expand in -lresolv... yes 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 updating cache ./config.cache creating ./config.status creating Makefile creating config.h + make -j16 gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./missing/dummy.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./missing/strlcpy.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./missing/strlcat.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./missing/md5.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./arpspoof.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./arp.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./dnsspoof.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./pcaputil.c rpcgen -h mount.x -o mount.h gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./asn1.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./base64.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./buf.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./hex.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./magic.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./rpc.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./tcp_raw.c rpcgen -c mount.x -o mount.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./trigger.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./record.c ./missing/md5.c: In function 'MD5Final': ./missing/md5.c:145:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((u_int32_t *) ctx->in)[14] = ctx->bits[0]; ^ ./missing/md5.c:146:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((u_int32_t *) ctx->in)[15] = ctx->bits[1]; ^ ./missing/md5.c:151:26: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./dsniff.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./decode.c ./buf.c: In function 'buf_putf': ./buf.c:113:2: warning: pointer targets in passing argument 1 of 'vsnprintf' differ in signedness [-Wpointer-sign] i = vsnprintf(buf_ptr(buf), buf_len(buf), fmt, ap); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from ./buf.c:11: /usr/include/bits/stdio2.h:74:1: note: expected 'char * __restrict__' but argument is of type 'u_char *' __NTH (vsnprintf (char *__restrict __s, size_t __n, ^ ./rpc.c: In function 'rpc_decode': ./rpc.c:112:3: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] xdrmem_create(&xdrs, buf, len, XDR_DECODE); ^ In file included from /usr/include/rpc/rpc.h:42:0, from ./rpc.c:12: /usr/include/rpc/xdr.h:350:13: note: expected 'caddr_t' but argument is of type 'u_char *' extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^ ./rpc.c:121:3: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] xdrmem_create(&xdrs, buf, len, XDR_DECODE); ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./decode_aim.c In file included from /usr/include/rpc/rpc.h:42:0, from ./rpc.c:12: /usr/include/rpc/xdr.h:350:13: note: expected 'caddr_t' but argument is of type 'u_char *' extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^ ./arpspoof.c:44:26: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] static uint8_t *brd_ha = "\xff\xff\xff\xff\xff\xff"; ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./decode_citrix.c ./dnsspoof.c: In function 'dns_spoof': ./dnsspoof.c:227:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((q = dns_lookup_ptr(name)) == NULL) ^ ./dnsspoof.c:231:3: warning: pointer targets in passing argument 1 of '__dn_comp' differ in signedness [-Wpointer-sign] anslen = dn_comp(q, p + 12, 256, NULL, NULL); ^ In file included from ./dnsspoof.c:24:0: /usr/include/resolv.h:355:6: note: expected 'const char *' but argument is of type 'u_char *' int dn_comp (const char *, u_char *, int, u_char **, u_char **) ^ ./trigger.c: In function 'trigger_ip': ./trigger.c:300:2: warning: pointer targets in passing argument 3 of 't->decode->dc_func' differ in signedness [-Wpointer-sign] if ((len = t->decode->dc_func(buf, len, obuf, sizeof(obuf))) > 0) { ^ ./trigger.c:300:2: note: expected 'u_char *' but argument is of type 'char *' ./trigger.c:302:10: warning: pointer targets in passing argument 7 of 'record' differ in signedness [-Wpointer-sign] 0, 0, t->decode->dc_name, obuf, len); ^ In file included from ./trigger.c:24:0: ./record.h:16:5: note: expected 'u_char *' but argument is of type 'char *' int record(u_int32_t src, u_int32_t dst, int proto, u_short sport, ^ ./trigger.c: In function 'trigger_udp': ./trigger.c:346:2: warning: pointer targets in passing argument 3 of 't->decode->dc_func' differ in signedness [-Wpointer-sign] if ((len = t->decode->dc_func(buf, len, obuf, sizeof(obuf))) > 0) { ^ ./trigger.c:346:2: note: expected 'u_char *' but argument is of type 'char *' ./trigger.c:349:10: warning: pointer targets in passing argument 7 of 'record' differ in signedness [-Wpointer-sign] t->decode->dc_name, obuf, len); ^ In file included from ./trigger.c:24:0: ./record.h:16:5: note: expected 'u_char *' but argument is of type 'char *' int record(u_int32_t src, u_int32_t dst, int proto, u_short sport, ^ ./trigger.c: In function 'trigger_tcp_half': ./trigger.c:360:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] buf = hs->data; ^ ./trigger.c:378:12: warning: pointer targets in passing argument 3 of 't->decode->dc_func' differ in signedness [-Wpointer-sign] obuf, sizeof(obuf))) > 0) { ^ ./trigger.c:378:12: note: expected 'u_char *' but argument is of type 'char *' ./trigger.c:381:11: warning: pointer targets in passing argument 7 of 'record' differ in signedness [-Wpointer-sign] obuf, len); ^ In file included from ./trigger.c:24:0: ./record.h:16:5: note: expected 'u_char *' but argument is of type 'char *' int record(u_int32_t src, u_int32_t dst, int proto, u_short sport, ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./decode_cvs.c ./trigger.c: In function 'trigger_tcp_raw': ./trigger.c:478:7: warning: pointer targets in passing argument 3 of 't->decode->dc_func' differ in signedness [-Wpointer-sign] obuf, sizeof(obuf)); ^ ./trigger.c:478:7: note: expected 'u_char *' but argument is of type 'char *' ./trigger.c:484:11: warning: pointer targets in passing argument 7 of 'record' differ in signedness [-Wpointer-sign] obuf, len); ^ In file included from ./trigger.c:24:0: ./record.h:16:5: note: expected 'u_char *' but argument is of type 'char *' int record(u_int32_t src, u_int32_t dst, int proto, u_short sport, ^ ./trigger.c: In function 'trigger_tcp_raw_callback': ./trigger.c:512:12: warning: pointer targets in passing argument 3 of 't->decode->dc_func' differ in signedness [-Wpointer-sign] obuf, sizeof(obuf))) > 0) { ^ ./trigger.c:512:12: note: expected 'u_char *' but argument is of type 'char *' ./trigger.c:514:11: warning: pointer targets in passing argument 7 of 'record' differ in signedness [-Wpointer-sign] t->decode->dc_name, obuf, len); ^ In file included from ./trigger.c:24:0: ./record.h:16:5: note: expected 'u_char *' but argument is of type 'char *' int record(u_int32_t src, u_int32_t dst, int proto, u_short sport, ^ ./record.c: In function 'record_hash': ./record.c:104:2: warning: pointer targets in passing argument 2 of 'MD5Update' differ in signedness [-Wpointer-sign] MD5Update(&ctx, rec->name.n_bytes, rec->name.n_len); ^ In file included from ./record.c:17:0: ./missing/md5.h:11:6: note: expected 'const unsigned char *' but argument is of type 'char *' void MD5Update(struct MD5Context *context, unsigned char const *buf, ^ ./record.c:105:2: warning: pointer targets in passing argument 2 of 'MD5Update' differ in signedness [-Wpointer-sign] MD5Update(&ctx, rec->data.n_bytes, rec->data.n_len); ^ In file included from ./record.c:17:0: ./missing/md5.h:11:6: note: expected 'const unsigned char *' but argument is of type 'char *' void MD5Update(struct MD5Context *context, unsigned char const *buf, ^ ./record.c: In function 'record_save': ./record.c:121:2: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] xdrmem_create(&xdrs, buf, sizeof(buf), XDR_ENCODE); ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./decode_ftp.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./decode_hex.c In file included from /usr/include/rpc/rpc.h:42:0, from ./record.c:13: /usr/include/rpc/xdr.h:350:13: note: expected 'caddr_t' but argument is of type 'u_char *' extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^ ./record.c: In function 'record': ./record.c:195:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] rec.data.n_bytes = buf; ^ ./decode.c: In function 'strip_telopts': ./decode.c:123:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = buf + i + 1; ^ ./decode.c:124:5: warning: pointer targets in passing argument 1 of 'bufbuf' differ in signedness [-Wpointer-sign] if ((q = bufbuf(p, len - i, "\xff", 1)) ^ In file included from ./decode.c:19:0: ./decode.h:48:9: note: expected 'u_char *' but argument is of type 'char *' u_char *bufbuf(u_char *big, int blen, u_char *little, int llen); ^ ./decode.c:124:5: warning: pointer targets in passing argument 3 of 'bufbuf' differ in signedness [-Wpointer-sign] if ((q = bufbuf(p, len - i, "\xff", 1)) ^ In file included from ./decode.c:19:0: ./decode.h:48:9: note: expected 'u_char *' but argument is of type 'char *' u_char *bufbuf(u_char *big, int blen, u_char *little, int llen); ^ ./decode.c:124:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((q = bufbuf(p, len - i, "\xff", 1)) ^ ./decode.c:127:8: warning: pointer targets in passing argument 1 of 'bufbuf' differ in signedness [-Wpointer-sign] 5)) != NULL) { ^ In file included from ./decode.c:19:0: ./decode.h:48:9: note: expected 'u_char *' but argument is of type 'char *' u_char *bufbuf(u_char *big, int blen, u_char *little, int llen); ^ ./decode.c:127:8: warning: pointer targets in passing argument 3 of 'bufbuf' differ in signedness [-Wpointer-sign] 5)) != NULL) { ^ In file included from ./decode.c:19:0: ./decode.h:48:9: note: expected 'u_char *' but argument is of type 'char *' u_char *bufbuf(u_char *big, int blen, u_char *little, int llen); ^ ./decode.c:126:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((p = bufbuf(p, q - p, "USER\x01", ^ ./decode_aim.c: In function 'decode_aim': ./decode_aim.c:67:5: warning: pointer targets in passing argument 1 of '__builtin_strcspn' differ in signedness [-Wpointer-sign] if ((j = strcspn(p, " ")) > 0) ^ ./decode_aim.c:67:5: note: expected 'const char *' but argument is of type 'u_char *' ./decode_aim.c:67:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ./decode_aim.c:16:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'u_char *' extern size_t strlen (const char *__s) ^ ./decode_aim.c:67:5: warning: pointer targets in passing argument 1 of '__strcspn_c1' differ in signedness [-Wpointer-sign] if ((j = strcspn(p, " ")) > 0) ^ In file included from /usr/include/string.h:633:0, from ./decode_aim.c:16: /usr/include/bits/string2.h:970:1: note: expected 'const char *' but argument is of type 'u_char *' __strcspn_c1 (const char *__s, int __reject) ^ ./decode_aim.c:67:5: warning: pointer targets in passing argument 1 of '__strcspn_c2' differ in signedness [-Wpointer-sign] if ((j = strcspn(p, " ")) > 0) ^ In file included from /usr/include/string.h:633:0, from ./decode_aim.c:16: /usr/include/bits/string2.h:981:1: note: expected 'const char *' but argument is of type 'u_char *' __strcspn_c2 (const char *__s, int __reject1, int __reject2) ^ ./decode_aim.c:67:5: warning: pointer targets in passing argument 1 of '__strcspn_c3' differ in signedness [-Wpointer-sign] if ((j = strcspn(p, " ")) > 0) ^ In file included from /usr/include/string.h:633:0, from ./decode_aim.c:16: /usr/include/bits/string2.h:993:1: note: expected 'const char *' but argument is of type 'u_char *' __strcspn_c3 (const char *__s, int __reject1, int __reject2, ^ ./decode_aim.c:67:5: warning: pointer targets in passing argument 1 of '__builtin_strcspn' differ in signedness [-Wpointer-sign] if ((j = strcspn(p, " ")) > 0) ^ ./decode_aim.c:67:5: note: expected 'const char *' but argument is of type 'u_char *' ./decode_aim.c:67:5: warning: pointer targets in passing argument 1 of '__builtin_strcspn' differ in signedness [-Wpointer-sign] ./decode_aim.c:67:5: note: expected 'const char *' but argument is of type 'u_char *' ./decode_aim.c:70:4: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] if (strtok(p, " ") == NULL) ^ In file included from ./decode_aim.c:16:0: /usr/include/string.h:344:14: note: expected 'char * __restrict__' but argument is of type 'u_char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ ./decode_aim.c:75:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] i = strlen(p); ^ In file included from ./decode_aim.c:16:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'u_char *' extern size_t strlen (const char *__s) ^ ./decode_aim.c:76:4: warning: pointer targets in passing argument 1 of 'hex_decode' differ in signedness [-Wpointer-sign] j = hex_decode(p, i, p, i); ^ In file included from ./decode_aim.c:19:0: ./hex.h:14:5: note: expected 'char *' but argument is of type 'u_char *' int hex_decode(char *src, int srclen, u_char *buf, int len); ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./decode_http.c ./dsniff.c: In function 'get_all_ifaces': ./dsniff.c:120:15: warning: unused variable 'i' [-Wunused-variable] unsigned int i; ^ ./dsniff.c: In function 'all_local_ipaddrs_chksum_disable': ./dsniff.c:104:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ./decode_ftp.c: In function 'decode_ftp': ./decode_ftp.c:47:3: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] if (strncasecmp(buf_ptr(line), "USER ", 5) == 0 || ^ In file included from ./decode_ftp.c:16:0: /usr/include/string.h:536:12: note: expected 'const char *' but argument is of type 'u_char *' extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ ./decode_ftp.c:48:7: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] strncasecmp(buf_ptr(line), "ACCT ", 5) == 0 || ^ In file included from ./decode_ftp.c:16:0: /usr/include/string.h:536:12: note: expected 'const char *' but argument is of type 'u_char *' extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ ./decode_ftp.c:49:7: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] strncasecmp(buf_ptr(line), "PASS ", 5) == 0) { ^ In file included from ./decode_ftp.c:16:0: /usr/include/string.h:536:12: note: expected 'const char *' but argument is of type 'u_char *' extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./decode_icq.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./decode_imap.c ./decode_http.c: In function 'decode_http': ./decode_http.c:119:3: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] if ((req = strtok(buf_ptr(msg), "\r\n")) == NULL) ^ In file included from ./decode_http.c:16:0: /usr/include/string.h:344:14: note: expected 'char * __restrict__' but argument is of type 'u_char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ ./decode_http.c:157:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] query = buf_ptr(msg); ^ ./decode_http.c:176:5: warning: pointer targets in passing argument 2 of 'base64_pton' differ in signedness [-Wpointer-sign] i = base64_pton(p, p, strlen(p)); ^ In file included from ./decode_http.c:22:0: ./base64.h:12:5: note: expected 'u_char *' but argument is of type 'char *' int base64_pton(char const *, u_char *, size_t); ^ ./decode_http.c:183:5: warning: pointer targets in passing argument 2 of 'base64_pton' differ in signedness [-Wpointer-sign] i = base64_pton(p, p, strlen(p)); ^ In file included from ./decode_http.c:22:0: ./base64.h:12:5: note: expected 'u_char *' but argument is of type 'char *' int base64_pton(char const *, u_char *, size_t); ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./decode_irc.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./decode_ldap.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./decode_mmxp.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./decode_mountd.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./decode_napster.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./decode_nntp.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./decode_oracle.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./decode_ospf.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./decode_pcanywhere.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./decode_pop.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./decode_portmap.c ./decode_mmxp.c:29:19: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] #define MM_SECRET "Thisisastupidwasteoftimeandspace" ^ ./decode_mmxp.c:31:25: note: in expansion of macro 'MM_SECRET' static u_char *mm_xor = MM_SECRET; ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./decode_postgresql.c ./decode_ospf.c: In function 'decode_ospf': ./decode_ospf.c:31:2: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] return (snprintf(obuf, olen, "%s\n", buf + 16)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from ./decode_ospf.c:13: /usr/include/bits/stdio2.h:61:1: note: expected 'char * __restrict__' but argument is of type 'u_char *' __NTH (snprintf (char *__restrict __s, size_t __n, ^ ./decode_oracle.c: In function 'decode_oracle': ./decode_oracle.c:42:2: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(obuf, olen, "%s\n", q); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from ./decode_oracle.c:13: /usr/include/bits/stdio2.h:61:1: note: expected 'char * __restrict__' but argument is of type 'u_char *' __NTH (snprintf (char *__restrict __s, size_t __n, ^ ./decode_oracle.c:46:2: warning: pointer targets in passing argument 3 of 'bufbuf' differ in signedness [-Wpointer-sign] if ((p = bufbuf(p, len, "(TNS V", 6)) == NULL) return (0); ^ In file included from ./decode_oracle.c:18:0: ./decode.h:48:9: note: expected 'u_char *' but argument is of type 'char *' u_char *bufbuf(u_char *big, int blen, u_char *little, int llen); ^ ./decode_oracle.c:66:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] j = strlen(obuf); ^ In file included from ./decode_oracle.c:16:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'u_char *' extern size_t strlen (const char *__s) ^ ./decode_oracle.c:67:3: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(obuf + j, olen + j, "%s\n", p + 117); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from ./decode_oracle.c:13: /usr/include/bits/stdio2.h:61:1: note: expected 'char * __restrict__' but argument is of type 'u_char *' __NTH (snprintf (char *__restrict __s, size_t __n, ^ ./decode_oracle.c:70:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] return (gotauth ? strlen(obuf) : 0); ^ In file included from ./decode_oracle.c:16:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'u_char *' extern size_t strlen (const char *__s) ^ ./decode_nntp.c: In function 'decode_nntp': ./decode_nntp.c:32:2: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] for (p = strtok(buf, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) { ^ In file included from ./decode_nntp.c:17:0: /usr/include/string.h:344:14: note: expected 'char * __restrict__' but argument is of type 'u_char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ ./decode_nntp.c:34:4: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, p, olen); ^ ./decode_mountd.c: In function 'decode_mountd': In file included from ./decode_nntp.c:18:0: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_mountd.c:47:3: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] xdrmem_create(&xdrs, buf + hdrlen, len - hdrlen, XDR_DECODE); ^ ./decode_nntp.c:35:4: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, "\n", olen); ^ In file included from /usr/include/rpc/rpc.h:42:0, from ./decode_mountd.c:17: /usr/include/rpc/xdr.h:350:13: note: expected 'caddr_t' but argument is of type 'u_char *' extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^ In file included from ./decode_nntp.c:18:0: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_nntp.c:39:4: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, p, olen); ^ In file included from ./decode_nntp.c:18:0: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_mountd.c:60:11: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] XDR_DECODE); ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./decode_pptp.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./decode_rip.c In file included from /usr/include/rpc/rpc.h:42:0, from ./decode_mountd.c:17: /usr/include/rpc/xdr.h:350:13: note: expected 'caddr_t' but argument is of type 'u_char *' extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^ ./decode_nntp.c:50:6: warning: pointer targets in passing argument 2 of 'base64_pton' differ in signedness [-Wpointer-sign] i = base64_pton(p, p, strlen(p)); ^ In file included from ./decode_nntp.c:20:0: ./base64.h:12:5: note: expected 'u_char *' but argument is of type 'char *' int base64_pton(char const *, u_char *, size_t); ^ ./decode_nntp.c:52:6: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] i = strlen(obuf); ^ In file included from ./decode_nntp.c:17:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'u_char *' extern size_t strlen (const char *__s) ^ ./decode_nntp.c:54:8: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] " [%s]", p); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from ./decode_nntp.c:14: /usr/include/bits/stdio2.h:61:1: note: expected 'char * __restrict__' but argument is of type 'u_char *' __NTH (snprintf (char *__restrict __s, size_t __n, ^ ./decode_nntp.c:57:4: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, "\n", olen); ^ In file included from ./decode_nntp.c:18:0: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_nntp.c:60:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] return (strlen(obuf)); ^ In file included from ./decode_nntp.c:17:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'u_char *' extern size_t strlen (const char *__s) ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./decode_rlogin.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./decode_smb.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./decode_smtp.c ./decode_pop.c: In function 'decode_poppass': ./decode_pop.c:32:2: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] for (p = strtok(buf, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) { ^ In file included from ./decode_pop.c:18:0: /usr/include/string.h:344:14: note: expected 'char * __restrict__' but argument is of type 'u_char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ ./decode_pop.c:36:4: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, p, olen); ^ In file included from ./decode_pop.c:19:0: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_pop.c:37:4: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, "\n", olen); ^ In file included from ./decode_pop.c:19:0: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_pop.c:40:2: warning: pointer targets in passing argument 1 of 'strip_lines' differ in signedness [-Wpointer-sign] if (strip_lines(obuf, Opt_lines) < 3) ^ In file included from ./decode_pop.c:23:0: ./decode.h:44:5: note: expected 'char *' but argument is of type 'u_char *' int strip_lines(char *buf, int max_lines); ^ ./decode_pop.c:43:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] return (strlen(obuf)); ^ In file included from ./decode_pop.c:18:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'u_char *' extern size_t strlen (const char *__s) ^ ./decode_pop.c: In function 'decode_pop': ./decode_pop.c:64:2: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] for (p = strtok(buf, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) { ^ In file included from ./decode_pop.c:18:0: /usr/include/string.h:344:14: note: expected 'char * __restrict__' but argument is of type 'u_char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ ./decode_pop.c:93:4: warning: pointer targets in passing argument 2 of 'base64_pton' differ in signedness [-Wpointer-sign] j = base64_pton(p, p, strlen(p)); ^ In file included from ./decode_pop.c:21:0: ./base64.h:12:5: note: expected 'u_char *' but argument is of type 'char *' int base64_pton(char const *, u_char *, size_t); ^ ./decode_pop.c:113:4: warning: pointer targets in passing argument 2 of 'base64_pton' differ in signedness [-Wpointer-sign] j = base64_pton(p, p, strlen(p)); ^ In file included from ./decode_pop.c:21:0: ./base64.h:12:5: note: expected 'u_char *' but argument is of type 'char *' int base64_pton(char const *, u_char *, size_t); ^ ./decode_pop.c:124:4: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, "\nusername [", olen); ^ In file included from ./decode_pop.c:19:0: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_pop.c:125:4: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, user, olen); ^ In file included from ./decode_pop.c:19:0: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_pop.c:126:4: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, "] password [", olen); ^ In file included from ./decode_pop.c:19:0: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_pop.c:127:4: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, password, olen); ^ In file included from ./decode_pop.c:19:0: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_pop.c:128:4: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, "]\n", olen); ^ In file included from ./decode_pop.c:19:0: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_pop.c:133:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] return (strlen(obuf)); ^ In file included from ./decode_pop.c:18:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'u_char *' extern size_t strlen (const char *__s) ^ ./decode_pop.c:52:6: warning: unused variable 'i' [-Wunused-variable] int i, j; ^ ./decode_postgresql.c: In function 'decode_postgresql': ./decode_postgresql.c:46:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] db = p + 4; db[63] = '\0'; ^ ./decode_postgresql.c:52:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] snprintf(obuf + strlen(obuf), ^ In file included from ./decode_postgresql.c:18:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'u_char *' extern size_t strlen (const char *__s) ^ ./decode_postgresql.c:53:6: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] olen - strlen(obuf), ^ In file included from ./decode_postgresql.c:18:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'u_char *' extern size_t strlen (const char *__s) ^ ./decode_postgresql.c:54:6: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] "%s\n%s\n%s\n", db, user, p); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from ./decode_postgresql.c:15: /usr/include/bits/stdio2.h:61:1: note: expected 'char * __restrict__' but argument is of type 'u_char *' __NTH (snprintf (char *__restrict __s, size_t __n, ^ ./decode_postgresql.c:60:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] return (strlen(obuf)); ^ In file included from ./decode_postgresql.c:18:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'u_char *' extern size_t strlen (const char *__s) ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./decode_sniffer.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./decode_snmp.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./decode_socks.c ./decode_rip.c: In function 'decode_rip': ./decode_rip.c:32:2: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] return (snprintf(obuf, olen, "%s\n", buf + 20)); ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./decode_tds.c In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from ./decode_rip.c:13: /usr/include/bits/stdio2.h:61:1: note: expected 'char * __restrict__' but argument is of type 'u_char *' __NTH (snprintf (char *__restrict __s, size_t __n, ^ ./decode_rlogin.c: In function 'decode_rlogin': gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./decode_telnet.c ./decode_rlogin.c:32:2: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] strlcpy(obuf, "[", olen); ^ In file included from ./decode_rlogin.c:17:0: ./missing/strlcpy.h:1:8: note: expected 'char *' but argument is of type 'u_char *' size_t strlcpy(char *dst, const char *src, size_t siz); ^ ./decode_rlogin.c:33:2: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, p, olen); /* Local username */ ^ In file included from ./decode_rlogin.c:18:0: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_rlogin.c:33:2: warning: pointer targets in passing argument 2 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, p, olen); /* Local username */ ^ In file included from ./decode_rlogin.c:18:0: ./missing/strlcat.h:1:8: note: expected 'const char *' but argument is of type 'u_char *' size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_rlogin.c:34:2: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, ":", olen); ^ In file included from ./decode_rlogin.c:18:0: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_rlogin.c:35:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] p += strlen(p) + 1; ^ In file included from ./decode_rlogin.c:16:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'u_char *' extern size_t strlen (const char *__s) ^ ./decode_rlogin.c:37:2: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, p, olen); /* Remote username */ ^ In file included from ./decode_rlogin.c:18:0: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_rlogin.c:37:2: warning: pointer targets in passing argument 2 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, p, olen); /* Remote username */ ^ In file included from ./decode_rlogin.c:18:0: ./missing/strlcat.h:1:8: note: expected 'const char *' but argument is of type 'u_char *' size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_rlogin.c:38:2: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, "]\n", olen); ^ In file included from ./decode_rlogin.c:18:0: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_rlogin.c:39:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] p += strlen(p) + 1; ^ In file included from ./decode_rlogin.c:16:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'u_char *' extern size_t strlen (const char *__s) ^ ./decode_rlogin.c:41:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] p += strlen(p) + 1; /* Skip term info */ ^ In file included from ./decode_rlogin.c:16:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'u_char *' extern size_t strlen (const char *__s) ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./decode_vrrp.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./decode_yp.c ./decode_rlogin.c:43:2: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if ((q = strstr(p, "\xff\xffss")) != NULL) /* Skip window size */ ^ In file included from ./decode_rlogin.c:16:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'u_char *' extern char *strstr (const char *__haystack, const char *__needle) ^ ./decode_rlogin.c:43:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((q = strstr(p, "\xff\xffss")) != NULL) /* Skip window size */ ^ ./decode_rlogin.c:46:2: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] for (p = strtok(p, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) { ^ In file included from ./decode_rlogin.c:16:0: /usr/include/string.h:344:14: note: expected 'char * __restrict__' but argument is of type 'u_char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ ./decode_rlogin.c:46:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (p = strtok(p, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) { ^ ./decode_rlogin.c:46:43: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (p = strtok(p, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) { ^ ./decode_rlogin.c:47:3: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, p, olen); ^ In file included from ./decode_rlogin.c:18:0: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_rlogin.c:47:3: warning: pointer targets in passing argument 2 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, p, olen); ^ In file included from ./decode_rlogin.c:18:0: ./missing/strlcat.h:1:8: note: expected 'const char *' but argument is of type 'u_char *' size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_rlogin.c:48:3: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, "\n", olen); ^ In file included from ./decode_rlogin.c:18:0: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_rlogin.c:50:2: warning: pointer targets in passing argument 1 of 'strip_lines' differ in signedness [-Wpointer-sign] if (!strip_lines(obuf, Opt_lines)) ^ In file included from ./decode_rlogin.c:21:0: ./decode.h:44:5: note: expected 'char *' but argument is of type 'u_char *' int strip_lines(char *buf, int max_lines); ^ ./decode_rlogin.c:53:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] return (strlen(obuf)); ^ In file included from ./decode_rlogin.c:16:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'u_char *' extern size_t strlen (const char *__s) ^ ./decode_pptp.c: In function 'decode_pptp': ./decode_pptp.c:187:4: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if ((p = strchr(name, '\\')) == NULL) ^ ./decode_pptp.c:187:4: note: expected 'const char *' but argument is of type 'u_char *' ./decode_pptp.c:187:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((p = strchr(name, '\\')) == NULL) ^ ./decode_pptp.c:193:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] SHA1_Update(&ctx, p, strlen(p)); ^ In file included from ./decode_pptp.c:18:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'u_char *' extern size_t strlen (const char *__s) ^ ./decode_smtp.c: In function 'decode_smtp': ./decode_smtp.c:31:2: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] for (p = strtok(buf, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) { ^ In file included from ./decode_smtp.c:16:0: /usr/include/string.h:344:14: note: expected 'char * __restrict__' but argument is of type 'u_char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ ./decode_smtp.c:33:4: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, p, olen); ^ In file included from ./decode_smtp.c:17:0: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_smtp.c:34:4: warning: pointer targets in passing argument 2 of 'base64_pton' differ in signedness [-Wpointer-sign] i = base64_pton(p, p, strlen(p)); ^ In file included from ./decode_smtp.c:19:0: ./base64.h:12:5: note: expected 'u_char *' but argument is of type 'char *' int base64_pton(char const *, u_char *, size_t); ^ ./decode_smtp.c:36:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] j = strlen(obuf); ^ In file included from ./decode_smtp.c:16:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'u_char *' extern size_t strlen (const char *__s) ^ ./decode_smtp.c:37:4: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(obuf + j, olen - j, " [%s]\n", p); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from ./decode_smtp.c:13: /usr/include/bits/stdio2.h:61:1: note: expected 'char * __restrict__' but argument is of type 'u_char *' __NTH (snprintf (char *__restrict __s, size_t __n, ^ ./decode_smtp.c:41:4: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, p, olen); ^ In file included from ./decode_smtp.c:17:0: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_smtp.c:43:4: warning: pointer targets in passing argument 2 of 'base64_pton' differ in signedness [-Wpointer-sign] i = base64_pton(p, p, strlen(p)); ^ In file included from ./decode_smtp.c:19:0: ./base64.h:12:5: note: expected 'u_char *' but argument is of type 'char *' int base64_pton(char const *, u_char *, size_t); ^ ./decode_smtp.c:45:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] j = strlen(obuf); ^ In file included from ./decode_smtp.c:16:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'u_char *' extern size_t strlen (const char *__s) ^ ./decode_smtp.c:46:4: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(obuf + j, olen - j, " [%s]\n", p); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from ./decode_smtp.c:13: /usr/include/bits/stdio2.h:61:1: note: expected 'char * __restrict__' but argument is of type 'u_char *' __NTH (snprintf (char *__restrict __s, size_t __n, ^ ./decode_smb.c: In function 'decode_smb': ./decode_smb.c:67:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] pass = q + 6; ^ ./decode_smb.c:75:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] pass = q + 12; ^ ./decode_smb.c:83:4: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, user, olen); ^ In file included from ./decode_smb.c:18:0: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_smb.c:84:4: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, " ", olen); ^ In file included from ./decode_smb.c:18:0: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_smb.c:85:4: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, pass, olen); ^ In file included from ./decode_smb.c:18:0: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_smb.c:86:4: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, "\n", olen); ^ In file included from ./decode_smb.c:18:0: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_smb.c:89:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] return (strlen(obuf)); ^ In file included from ./decode_smb.c:17:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'u_char *' extern size_t strlen (const char *__s) ^ ./decode_smtp.c:55:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] return (strlen(obuf)); ^ In file included from ./decode_smtp.c:16:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'u_char *' extern size_t strlen (const char *__s) ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./decode_x11.c rpcgen -h nfs_prot.x -o nfs_prot.h gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./filesnarf.c ./decode_portmap.c: In function 'decode_portmap': ./decode_portmap.c:41:3: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] xdrmem_create(&xdrs, buf + hdrlen, len - hdrlen, XDR_DECODE); ^ In file included from /usr/include/rpc/rpc.h:42:0, from ./decode_portmap.c:14: /usr/include/rpc/xdr.h:350:13: note: expected 'caddr_t' but argument is of type 'u_char *' extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^ ./decode_portmap.c:57:11: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] XDR_DECODE); ^ In file included from /usr/include/rpc/rpc.h:42:0, from ./decode_portmap.c:14: /usr/include/rpc/xdr.h:350:13: note: expected 'caddr_t' but argument is of type 'u_char *' extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^ ./decode_sniffer.c: In function 'decode_sniffer': ./decode_sniffer.c:36:4: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] return (strlcpy(obuf, "[]\n", olen)); ^ In file included from ./decode_sniffer.c:19:0: ./missing/strlcpy.h:1:8: note: expected 'char *' but argument is of type 'u_char *' size_t strlcpy(char *dst, const char *src, size_t siz); ^ ./decode_sniffer.c:40:4: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] return (strlcpy(obuf, "[]\n", olen)); ^ In file included from ./decode_sniffer.c:19:0: ./missing/strlcpy.h:1:8: note: expected 'char *' but argument is of type 'u_char *' size_t strlcpy(char *dst, const char *src, size_t siz); ^ ./decode_sniffer.c:44:2: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] buf[len - 3]= '\0'; strtok(&buf[32], "\r\n"); ^ In file included from ./decode_sniffer.c:17:0: /usr/include/string.h:344:14: note: expected 'char * __restrict__' but argument is of type 'u_char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ ./decode_sniffer.c:45:2: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(obuf, olen, "%s [", &buf[32]); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from ./decode_sniffer.c:14: /usr/include/bits/stdio2.h:61:1: note: expected 'char * __restrict__' but argument is of type 'u_char *' __NTH (snprintf (char *__restrict __s, size_t __n, ^ ./decode_sniffer.c:46:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = strlen(obuf); ^ In file included from ./decode_sniffer.c:17:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'u_char *' extern size_t strlen (const char *__s) ^ ./decode_sniffer.c:47:2: warning: pointer targets in passing argument 1 of 'base64_pton' differ in signedness [-Wpointer-sign] i = base64_pton(&buf[32], &obuf[len], olen - len - 3); ^ In file included from ./decode_sniffer.c:21:0: ./base64.h:12:5: note: expected 'const char *' but argument is of type 'u_char *' int base64_pton(char const *, u_char *, size_t); ^ ./decode_sniffer.c:49:2: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, "]\n", olen); ^ In file included from ./decode_sniffer.c:18:0: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_sniffer.c:51:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] return (strlen(obuf)); ^ In file included from ./decode_sniffer.c:17:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'u_char *' extern size_t strlen (const char *__s) ^ rpcgen -c nfs_prot.x -o nfs_prot.c ./decode_socks.c: In function 'decode_socks': ./decode_socks.c:48:2: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(obuf, olen, "%s ", p - 1); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from ./decode_socks.c:13: /usr/include/bits/stdio2.h:61:1: note: expected 'char * __restrict__' but argument is of type 'u_char *' __NTH (snprintf (char *__restrict __s, size_t __n, ^ ./decode_socks.c:56:2: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, p - 1, olen); ^ In file included from ./decode_socks.c:17:0: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_socks.c:56:2: warning: pointer targets in passing argument 2 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, p - 1, olen); ^ In file included from ./decode_socks.c:17:0: ./missing/strlcat.h:1:8: note: expected 'const char *' but argument is of type 'u_char *' size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_socks.c:57:2: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, "\n", olen); ^ In file included from ./decode_socks.c:17:0: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_socks.c:59:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] return (strlen(obuf)); ^ In file included from ./decode_socks.c:16:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'u_char *' extern size_t strlen (const char *__s) ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./macof.c ./decode_snmp.c: In function 'decode_snmp': ./decode_snmp.c:47:4: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = buf_strdup(b); ^ ./decode_tds.c: In function 'decode_tds': ./decode_tds.c:163:4: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, tl->username, olen); ^ In file included from ./decode_tds.c:21:0: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_tds.c:164:4: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, "\n", olen); ^ In file included from ./decode_tds.c:21:0: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_tds.c:170:4: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, tl->password, olen); ^ In file included from ./decode_tds.c:21:0: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_tds.c:171:4: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, "\n", olen); ^ In file included from ./decode_tds.c:21:0: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_tds.c:204:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] snprintf(obuf + strlen(obuf), ^ In file included from ./decode_tds.c:20:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'u_char *' extern size_t strlen (const char *__s) ^ ./decode_tds.c:205:6: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] olen - strlen(obuf), ^ In file included from ./decode_tds.c:20:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'u_char *' extern size_t strlen (const char *__s) ^ ./decode_tds.c:206:6: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] "%s\n%s\n", user, pass); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from ./decode_tds.c:17: /usr/include/bits/stdio2.h:61:1: note: expected 'char * __restrict__' but argument is of type 'u_char *' __NTH (snprintf (char *__restrict __s, size_t __n, ^ ./decode_tds.c:207:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] return(strlen(obuf)); ^ In file included from ./decode_tds.c:20:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'u_char *' extern size_t strlen (const char *__s) ^ ./decode_tds.c:210:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] return (strlen(obuf)); ^ In file included from ./decode_tds.c:20:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'u_char *' extern size_t strlen (const char *__s) ^ ./decode_tds.c:137:27: warning: variable 'myt7l' set but not used [-Wunused-but-set-variable] struct tds7_login *t7l, *myt7l; ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./mailsnarf.c ./decode_x11.c: In function 'decode_x11': ./decode_x11.c:28:4: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = buf + 12; ^ ./decode_x11.c:33:2: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] strlcpy(obuf, "MIT-MAGIC-COOKIE-1 ", olen); ^ In file included from ./decode_x11.c:18:0: ./missing/strlcpy.h:1:8: note: expected 'char *' but argument is of type 'u_char *' size_t strlcpy(char *dst, const char *src, size_t siz); ^ ./decode_x11.c:37:4: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] q = obuf + 19; ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./msgsnarf.c ./decode_x11.c:41:2: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, "\n", olen); ^ In file included from ./decode_x11.c:17:0: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' size_t strlcat(char *dst, const char *src, size_t siz); ^ ./decode_x11.c:43:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] return (strlen(obuf)); ^ In file included from ./decode_x11.c:16:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'u_char *' extern size_t strlen (const char *__s) ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./sshmitm.c ./decode_telnet.c: In function 'decode_telnet': ./decode_telnet.c:28:2: warning: pointer targets in passing argument 1 of 'is_ascii_string' differ in signedness [-Wpointer-sign] if (!is_ascii_string(buf, len)) ^ In file included from ./decode_telnet.c:20:0: ./decode.h:46:5: note: expected 'char *' but argument is of type 'u_char *' int is_ascii_string(char *buf, int len); ^ ./decode_telnet.c:31:2: warning: pointer targets in passing argument 1 of 'strip_lines' differ in signedness [-Wpointer-sign] if (strip_lines(buf, Opt_lines) < 2) ^ In file included from ./decode_telnet.c:20:0: ./decode.h:44:5: note: expected 'char *' but argument is of type 'u_char *' int strip_lines(char *buf, int max_lines); ^ ./decode_telnet.c:34:2: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] strlcpy(obuf, buf, olen); ^ In file included from ./decode_telnet.c:17:0: ./missing/strlcpy.h:1:8: note: expected 'char *' but argument is of type 'u_char *' size_t strlcpy(char *dst, const char *src, size_t siz); ^ ./decode_telnet.c:34:2: warning: pointer targets in passing argument 2 of 'strlcpy' differ in signedness [-Wpointer-sign] strlcpy(obuf, buf, olen); ^ In file included from ./decode_telnet.c:17:0: ./missing/strlcpy.h:1:8: note: expected 'const char *' but argument is of type 'u_char *' size_t strlcpy(char *dst, const char *src, size_t siz); ^ ./decode_telnet.c:36:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] return (strlen(obuf)); ^ In file included from ./decode_telnet.c:16:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'u_char *' extern size_t strlen (const char *__s) ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./ssh.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./sshcrypto.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./sshow.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./tcpkill.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./tcpnice.c ./decode_yp.c: In function 'decode_yppasswd': ./decode_yp.c:86:3: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] xdrmem_create(&xdrs, buf + hdrlen, len - hdrlen, XDR_DECODE); ^ In file included from /usr/include/rpc/rpc.h:42:0, from ./decode_yp.c:17: /usr/include/rpc/xdr.h:350:13: note: expected 'caddr_t' but argument is of type 'u_char *' extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^ ./decode_yp.c:94:6: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] yp.newpw.pw_dir, yp.newpw.pw_shell); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from ./decode_yp.c:15: /usr/include/bits/stdio2.h:61:1: note: expected 'char * __restrict__' but argument is of type 'u_char *' __NTH (snprintf (char *__restrict __s, size_t __n, ^ ./decode_yp.c:98:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] return (strlen(obuf)); ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./urlsnarf.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./webmitm.c In file included from /usr/include/sys/un.h:37:0, from /usr/include/rpc/clnt.h:41, from /usr/include/rpc/rpc.h:48, from ./decode_yp.c:17: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'u_char *' extern size_t strlen (const char *__s) ^ ./decode_yp.c: In function 'decode_ypserv': ./decode_yp.c:119:3: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] xdrmem_create(&xdrs, buf + hdrlen, len - hdrlen, XDR_DECODE); ^ In file included from /usr/include/rpc/rpc.h:42:0, from ./decode_yp.c:17: /usr/include/rpc/xdr.h:350:13: note: expected 'caddr_t' but argument is of type 'u_char *' extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^ ./decode_yp.c:133:11: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] XDR_DECODE); ^ In file included from /usr/include/rpc/rpc.h:42:0, from ./decode_yp.c:17: /usr/include/rpc/xdr.h:350:13: note: expected 'caddr_t' but argument is of type 'u_char *' extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^ ./decode_yp.c:137:8: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] (char *)xm->data); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from ./decode_yp.c:15: /usr/include/bits/stdio2.h:61:1: note: expected 'char * __restrict__' but argument is of type 'u_char *' __NTH (snprintf (char *__restrict __s, size_t __n, ^ ./decode_yp.c:144:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] return (strlen(obuf)); ^ In file included from /usr/include/sys/un.h:37:0, from /usr/include/rpc/clnt.h:41, from /usr/include/rpc/rpc.h:48, from ./decode_yp.c:17: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'u_char *' extern size_t strlen (const char *__s) ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./webspy.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./remote.c ./filesnarf.c: In function 'nfs2_call': ./filesnarf.c:161:3: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] xdrmem_create(&xdrs, buf, len, XDR_DECODE); ^ In file included from /usr/include/rpc/rpc.h:42:0, from ./filesnarf.c:14: /usr/include/rpc/xdr.h:350:13: note: expected 'caddr_t' but argument is of type 'u_char *' extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^ ./filesnarf.c:174:3: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] xdrmem_create(&xdrs, buf, len, XDR_DECODE); ^ In file included from /usr/include/rpc/rpc.h:42:0, from ./filesnarf.c:14: /usr/include/rpc/xdr.h:350:13: note: expected 'caddr_t' but argument is of type 'u_char *' extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^ ./filesnarf.c:177:4: warning: pointer targets in passing argument 1 of 'fh_map_find' differ in signedness [-Wpointer-sign] fname = fh_map_find(rargs.file.data, NFS_FHSIZE); ^ ./filesnarf.c:105:1: note: expected 'u_char *' but argument is of type 'char *' fh_map_find(u_char *fh, int len) ^ ./filesnarf.c: In function 'nfs2_reply': ./filesnarf.c:205:3: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] xdrmem_create(&xdrs, buf, len, XDR_DECODE); ^ In file included from /usr/include/rpc/rpc.h:42:0, from ./filesnarf.c:14: /usr/include/rpc/xdr.h:350:13: note: expected 'caddr_t' but argument is of type 'u_char *' extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^ ./filesnarf.c:212:9: warning: pointer targets in passing argument 2 of 'fh_map_add' differ in signedness [-Wpointer-sign] NFS_FHSIZE); ^ ./filesnarf.c:89:1: note: expected 'u_char *' but argument is of type 'char *' fh_map_add(char *filename, u_char *fh, int len) ^ ./filesnarf.c:218:3: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] xdrmem_create(&xdrs, buf, len, XDR_DECODE); ^ In file included from /usr/include/rpc/rpc.h:42:0, from ./filesnarf.c:14: /usr/include/rpc/xdr.h:350:13: note: expected 'caddr_t' but argument is of type 'u_char *' extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^ ./filesnarf.c:225:7: warning: pointer targets in passing argument 3 of 'nfs_save' differ in signedness [-Wpointer-sign] rres.readres_u.reply.data.data_len); ^ ./filesnarf.c:132:1: note: expected 'u_char *' but argument is of type 'char *' nfs_save(struct tuple4 *addr, struct myreadargs *ma, u_char *buf, int len) ^ ./filesnarf.c: In function 'nfs3_call': ./filesnarf.c:246:3: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] xdrmem_create(&xdrs, buf, len, XDR_DECODE); ^ In file included from /usr/include/rpc/rpc.h:42:0, from ./filesnarf.c:14: /usr/include/rpc/xdr.h:350:13: note: expected 'caddr_t' but argument is of type 'u_char *' extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^ ./filesnarf.c:259:3: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] xdrmem_create(&xdrs, buf, len, XDR_DECODE); ^ In file included from /usr/include/rpc/rpc.h:42:0, from ./filesnarf.c:14: /usr/include/rpc/xdr.h:350:13: note: expected 'caddr_t' but argument is of type 'u_char *' extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^ ./filesnarf.c:263:10: warning: pointer targets in passing argument 1 of 'fh_map_find' differ in signedness [-Wpointer-sign] rargs.file.data.data_len); ^ ./filesnarf.c:105:1: note: expected 'u_char *' but argument is of type 'char *' fh_map_find(u_char *fh, int len) ^ ./filesnarf.c: In function 'nfs3_reply': ./filesnarf.c:290:3: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] xdrmem_create(&xdrs, buf, len, XDR_DECODE); ^ In file included from /usr/include/rpc/rpc.h:42:0, from ./filesnarf.c:14: /usr/include/rpc/xdr.h:350:13: note: expected 'caddr_t' but argument is of type 'u_char *' extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^ ./macof.c: In function 'main': ./filesnarf.c:297:6: warning: pointer targets in passing argument 2 of 'fh_map_add' differ in signedness [-Wpointer-sign] lres.LOOKUP3res_u.resok.object.data.data_len); ^ ./filesnarf.c:89:1: note: expected 'u_char *' but argument is of type 'char *' fh_map_add(char *filename, u_char *fh, int len) ^ ./macof.c:61:26: warning: unused variable 'llif' [-Wunused-variable] struct libnet_link_int *llif; ^ ./filesnarf.c:304:3: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] xdrmem_create(&xdrs, buf, len, XDR_DECODE); ^ In file included from /usr/include/rpc/rpc.h:42:0, from ./filesnarf.c:14: /usr/include/rpc/xdr.h:350:13: note: expected 'caddr_t' but argument is of type 'u_char *' extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^ ./filesnarf.c:308:20: warning: comparison between 'nfsstat' and 'enum nfsstat3' [-Wenum-compare] if (rres.status == NFS3_OK) { ^ ./filesnarf.c:311:7: warning: pointer targets in passing argument 3 of 'nfs_save' differ in signedness [-Wpointer-sign] rres.READ3res_u.resok.data.data_len); ^ ./filesnarf.c:132:1: note: expected 'u_char *' but argument is of type 'char *' nfs_save(struct tuple4 *addr, struct myreadargs *ma, u_char *buf, int len) ^ ar -cr libmissing.a dummy.o strlcpy.o strlcat.o md5.o ./filesnarf.c: In function 'decode_tcp_nfs_half': ./filesnarf.c:395:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] buf = hs->data; ^ ./filesnarf.c: In function 'nfs_save': ./filesnarf.c:143:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, buf, len); ^ ./mailsnarf.c: In function 'process_pop_client': ./mailsnarf.c:118:2: warning: pointer targets in passing argument 2 of 'buf_init' differ in signedness [-Wpointer-sign] buf_init(&buf, data, len); ^ In file included from ./mailsnarf.c:27:0: ./buf.h:22:6: note: expected 'u_char *' but argument is of type 'char *' void buf_init(buf_t buf, u_char *data, int len); ^ ./mailsnarf.c:124:3: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] if (strncasecmp(buf_ptr(line), "RETR ", 5) == 0) { ^ In file included from ./mailsnarf.c:18:0: /usr/include/string.h:536:12: note: expected 'const char *' but argument is of type 'u_char *' extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ ./mailsnarf.c: In function 'process_pop_server': ./mailsnarf.c:138:2: warning: pointer targets in passing argument 2 of 'buf_init' differ in signedness [-Wpointer-sign] buf_init(&buf, data, len); ^ In file included from ./mailsnarf.c:27:0: ./buf.h:22:6: note: expected 'u_char *' but argument is of type 'char *' void buf_init(buf_t buf, u_char *data, int len); ^ ./sshow.c: In function 'client_to_server': ./sshow.c:221:7: warning: unused variable 'CLK_TCK' [-Wunused-variable] long CLK_TCK = sysconf(_SC_CLK_TCK); ^ ./mailsnarf.c:160:4: warning: pointer targets in passing argument 1 of 'regex_match' differ in signedness [-Wpointer-sign] if (regex_match(buf_ptr(body))) ^ ./mailsnarf.c:67:1: note: expected 'char *' but argument is of type 'u_char *' regex_match(char *string) ^ ./mailsnarf.c:161:5: warning: pointer targets in passing argument 2 of 'print_mbox_msg' differ in signedness [-Wpointer-sign] print_mbox_msg(NULL, buf_ptr(body)); ^ ./mailsnarf.c:89:1: note: expected 'char *' but argument is of type 'u_char *' print_mbox_msg(char *from, char *msg) ^ ./mailsnarf.c: In function 'process_smtp_client': ./mailsnarf.c:176:2: warning: pointer targets in passing argument 2 of 'buf_init' differ in signedness [-Wpointer-sign] buf_init(&buf, data, len); ^ In file included from ./mailsnarf.c:27:0: ./buf.h:22:6: note: expected 'u_char *' but argument is of type 'char *' void buf_init(buf_t buf, u_char *data, int len); ^ ./mailsnarf.c:182:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = buf_ptr(line); ^ ./mailsnarf.c:216:4: warning: pointer targets in passing argument 1 of 'regex_match' differ in signedness [-Wpointer-sign] if (regex_match(buf_ptr(body))) ^ ./mailsnarf.c:67:1: note: expected 'char *' but argument is of type 'u_char *' regex_match(char *string) ^ ./mailsnarf.c:217:5: warning: pointer targets in passing argument 2 of 'print_mbox_msg' differ in signedness [-Wpointer-sign] print_mbox_msg(smtp->from, buf_ptr(body)); ^ ./mailsnarf.c:89:1: note: expected 'char *' but argument is of type 'u_char *' print_mbox_msg(char *from, char *msg) ^ ./sshow.c: In function 'server_to_client': ./sshow.c:272:7: warning: unused variable 'CLK_TCK' [-Wunused-variable] long CLK_TCK = sysconf(_SC_CLK_TCK); ^ ./macof.c:75:27: warning: 'l' may be used uninitialized in this function [-Wmaybe-uninitialized] Src = libnet_name2addr4(l, optarg, 0); ^ ./msgsnarf.c: In function 'process_aim': ./msgsnarf.c:146:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = buf_strdup(msg); ^ ./msgsnarf.c:148:5: warning: pointer targets in passing argument 1 of 'regex_match' differ in signedness [-Wpointer-sign] if (regex_match(p)) ^ ./msgsnarf.c:67:1: note: expected 'char *' but argument is of type 'u_char *' regex_match(char *string) ^ ./msgsnarf.c:162:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = buf_strdup(msg); ^ ./msgsnarf.c:164:5: warning: pointer targets in passing argument 1 of 'regex_match' differ in signedness [-Wpointer-sign] if (regex_match(p)) ^ ./msgsnarf.c:67:1: note: expected 'char *' but argument is of type 'u_char *' regex_match(char *string) ^ ranlib libmissing.a ./msgsnarf.c:198:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = buf_strdup(msg); ^ ./msgsnarf.c:200:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (p && strlen(p) && regex_match(p)) { ^ In file included from ./msgsnarf.c:19:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'u_char *' extern size_t strlen (const char *__s) ^ ./msgsnarf.c:200:5: warning: pointer targets in passing argument 1 of 'regex_match' differ in signedness [-Wpointer-sign] if (p && strlen(p) && regex_match(p)) { ^ ./msgsnarf.c:67:1: note: expected 'char *' but argument is of type 'u_char *' regex_match(char *string) ^ ./tcpkill.c: In function 'tcp_kill_cb': ./tcpkill.c:68:4: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] ntohs(tcp->th_dport)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from ./tcpkill.c:13: /usr/include/bits/stdio2.h:61:1: note: expected 'char * __restrict__' but argument is of type 'u_char *' __NTH (snprintf (char *__restrict __s, size_t __n, ^ ./tcpkill.c:87:3: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint32_t' [-Wformat=] fprintf(stderr, "%s R %lu:%lu(0) win 0\n", ctext, seq, seq); ^ ./tcpkill.c:87:3: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint32_t' [-Wformat=] ./tcpkill.c:46:9: warning: variable 'len' set but not used [-Wunused-but-set-variable] int i, len; ^ ./msgsnarf.c: In function 'sniff_msgs': ./msgsnarf.c:600:7: warning: pointer targets in passing argument 2 of 'process_msgs' differ in signedness [-Wpointer-sign] ts->server.count - ts->server.offset); ^ ./msgsnarf.c:600:7: note: expected 'u_char *' but argument is of type 'char *' ./msgsnarf.c:605:7: warning: pointer targets in passing argument 2 of 'process_msgs' differ in signedness [-Wpointer-sign] ts->client.count - ts->client.offset); ^ ./msgsnarf.c:605:7: note: expected 'u_char *' but argument is of type 'char *' ./msgsnarf.c:616:10: warning: pointer targets in passing argument 2 of 'process_msgs' differ in signedness [-Wpointer-sign] ts->server.count - ts->server.offset); ^ ./msgsnarf.c:616:10: note: expected 'u_char *' but argument is of type 'char *' ./msgsnarf.c:619:10: warning: pointer targets in passing argument 2 of 'process_msgs' differ in signedness [-Wpointer-sign] ts->client.count - ts->client.offset); ^ ./msgsnarf.c:619:10: note: expected 'u_char *' but argument is of type 'char *' ./tcpnice.c: In function 'send_tcp_window_advertisement': ./tcpnice.c:68:3: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'unsigned int' [-Wformat=] ntohl(tcp->th_ack), 1); ^ ./tcpnice.c: In function 'tcp_nice_cb': ./tcpnice.c:136:6: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len; ^ gcc -Wl,-z,relro -o arpspoof arpspoof.o arp.o -lresolv -lnsl -lrpcsvc -L. -lmissing -L/usr/lib -lpcap -L/usr/lib -lnet ./urlsnarf.c: In function 'escape_log_entry': ./urlsnarf.c:102:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (c = string, len = 0; *c; c++) { ^ ./urlsnarf.c:113:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (c = string, o = out; *c; c++, o++) { ^ ./urlsnarf.c:113:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (c = string, o = out; *c; c++, o++) { ^ ./urlsnarf.c:115:4: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(o, 5, "\\x%02x", *c); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from ./urlsnarf.c:13: /usr/include/bits/stdio2.h:61:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (snprintf (char *__restrict __s, size_t __n, ^ ./urlsnarf.c: In function 'process_http_request': ./urlsnarf.c:142:3: warning: pointer targets in passing argument 1 of 'regex_match' differ in signedness [-Wpointer-sign] if (!regex_match(buf_ptr(msg))) ^ ./urlsnarf.c:50:1: note: expected 'char *' but argument is of type 'u_char *' regex_match(char *string) ^ ./urlsnarf.c:145:3: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] if ((req = strtok(buf_ptr(msg), "\r\n")) == NULL) ^ In file included from ./urlsnarf.c:21:0: /usr/include/string.h:344:14: note: expected 'char * __restrict__' but argument is of type 'u_char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ ./urlsnarf.c:166:5: warning: pointer targets in passing argument 2 of 'base64_pton' differ in signedness [-Wpointer-sign] i = base64_pton(p, p, strlen(p)); ^ In file included from ./urlsnarf.c:31:0: ./base64.h:12:5: note: expected 'u_char *' but argument is of type 'char *' int base64_pton(char const *, u_char *, size_t); ^ ./urlsnarf.c: In function 'sniff_http_client': ./urlsnarf.c:226:8: warning: pointer targets in passing argument 2 of 'process_http_request' differ in signedness [-Wpointer-sign] ts->server.offset); ^ ./urlsnarf.c:129:1: note: expected 'u_char *' but argument is of type 'char *' process_http_request(struct tuple4 *addr, u_char *data, int len) ^ ./urlsnarf.c:235:11: warning: pointer targets in passing argument 2 of 'process_http_request' differ in signedness [-Wpointer-sign] ts->server.offset); ^ ./urlsnarf.c:129:1: note: expected 'u_char *' but argument is of type 'char *' process_http_request(struct tuple4 *addr, u_char *data, int len) ^ gcc -Wl,-z,relro -o dnsspoof dnsspoof.o pcaputil.o -lresolv -lnsl -lrpcsvc -L. -lmissing -L/usr/lib -lpcap -L/usr/lib -lnet gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./mount.c ./urlsnarf.c: In function 'main': ./urlsnarf.c:346:2: warning: passing argument 3 of 'pcap_next_ex' from incompatible pointer type [enabled by default] while ((rc = pcap_next_ex(p, &h, &d)) == 1) { ^ In file included from /usr/include/pcap.h:45:0, from /usr/include/nids.h:14, from ./urlsnarf.c:26: /usr/include/pcap/pcap.h:376:6: note: expected 'const u_char **' but argument is of type 'u_char **' int pcap_next_ex(pcap_t *, struct pcap_pkthdr **, const u_char **); ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I. -I./missing -c ./nfs_prot.c ./webspy.c: In function 'process_http_request': ./webspy.c:98:3: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] req = strtok(buf_ptr(msg), "\r\n"); ^ In file included from ./webspy.c:22:0: /usr/include/string.h:344:14: note: expected 'char * __restrict__' but argument is of type 'u_char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ ./webspy.c:119:5: warning: pointer targets in passing argument 2 of 'base64_pton' differ in signedness [-Wpointer-sign] i = base64_pton(p, p, strlen(p)); ^ In file included from ./webspy.c:28:0: ./base64.h:12:5: note: expected 'u_char *' but argument is of type 'char *' int base64_pton(char const *, u_char *, size_t); ^ ./webspy.c: In function 'sniff_http_client': ./webspy.c:161:8: warning: pointer targets in passing argument 2 of 'process_http_request' differ in signedness [-Wpointer-sign] ts->server.offset); ^ ./webspy.c:85:1: note: expected 'u_char *' but argument is of type 'char *' process_http_request(struct tuple4 *addr, u_char *data, int len) ^ ./webspy.c:170:11: warning: pointer targets in passing argument 2 of 'process_http_request' differ in signedness [-Wpointer-sign] ts->server.offset); ^ ./webspy.c:85:1: note: expected 'u_char *' but argument is of type 'char *' process_http_request(struct tuple4 *addr, u_char *data, int len) ^ gcc -Wl,-z,relro -o macof macof.o -lresolv -lnsl -lrpcsvc -L. -lmissing -L/usr/lib -lpcap -L/usr/lib -lnet gcc -Wl,-z,relro -o tcpkill tcpkill.o pcaputil.o -lresolv -lnsl -lrpcsvc -L. -lmissing -L/usr/lib -lpcap -L/usr/lib -lnet ./sshmitm.c:45:21: warning: built-in function 'csin' declared as non-function [enabled by default] struct sockaddr_in csin, ssin; ^ ./sshmitm.c: In function 'mitm_child': ./sshmitm.c:204:2: warning: pointer targets in passing argument 3 of 'ssh_strlcat' differ in signedness [-Wpointer-sign] ssh_strlcat(userpass, sizeof(userpass), buf + 1, i - 1); ^ ./sshmitm.c:59:1: note: expected 'char *' but argument is of type 'u_char *' ssh_strlcat(char *dst, int size, char *src, int len) ^ ./sshmitm.c:237:11: warning: pointer targets in passing argument 3 of 'ssh_strlcat' differ in signedness [-Wpointer-sign] buf + 1, i - 1); ^ ./sshmitm.c:59:1: note: expected 'char *' but argument is of type 'u_char *' ssh_strlcat(char *dst, int size, char *src, int len) ^ ./sshmitm.c:248:13: warning: pointer targets in passing argument 7 of 'record' differ in signedness [-Wpointer-sign] userpass, strlen(userpass)); ^ In file included from ./sshmitm.c:30:0: ./record.h:16:5: note: expected 'u_char *' but argument is of type 'char *' int record(u_int32_t src, u_int32_t dst, int proto, u_short sport, ^ ./sshmitm.c: In function 'mitm_run': ./sshmitm.c:342:17: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] (struct sockaddr *)&csin, &i); ^ In file included from ./sshmitm.c:15:0: /usr/include/sys/socket.h:244:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' extern int accept (int __fd, __SOCKADDR_ARG __addr, ^ gcc -Wl,-z,relro -o tcpnice tcpnice.o pcaputil.o -lresolv -lnsl -lrpcsvc -L. -lmissing -L/usr/lib -lpcap -L/usr/lib -lnet ./webmitm.c:46:21: warning: built-in function 'csin' declared as non-function [enabled by default] struct sockaddr_in csin, ssin; ^ ./webmitm.c: In function 'grep_passwords': ./webmitm.c:108:10: warning: pointer targets in passing argument 7 of 'record' differ in signedness [-Wpointer-sign] "http", obuf, len); ^ In file included from ./webmitm.c:31:0: ./record.h:16:5: note: expected 'u_char *' but argument is of type 'char *' int record(u_int32_t src, u_int32_t dst, int proto, u_short sport, ^ ./webmitm.c: In function 'client_request': ./webmitm.c:170:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] req.base = buf; ^ ./webmitm.c:175:2: warning: pointer targets in passing argument 1 of 'client_read' differ in signedness [-Wpointer-sign] while ((i = client_read(req.base + req.end, req.size - req.end)) > 0) { ^ ./webmitm.c:154:1: note: expected 'char *' but argument is of type 'u_char *' client_read(char *buf, int size) ^ ./webmitm.c: In function 'server_init': ./webmitm.c:230:3: warning: pointer targets in passing argument 2 of 'buf_init' differ in signedness [-Wpointer-sign] buf_init(&msg, buf, size); ^ In file included from ./webmitm.c:30:0: ./buf.h:22:6: note: expected 'u_char *' but argument is of type 'char *' void buf_init(buf_t buf, u_char *data, int len); ^ ./webmitm.c: In function 'mitm_child': ./webmitm.c:364:2: warning: pointer targets in passing argument 1 of 'client_request' differ in signedness [-Wpointer-sign] if ((i = client_request(buf, sizeof(buf))) < 0) ^ ./webmitm.c:163:1: note: expected 'char *' but argument is of type 'u_char *' client_request(char *buf, int size) ^ ./webmitm.c:373:2: warning: pointer targets in passing argument 1 of 'server_init' differ in signedness [-Wpointer-sign] server_init(buf, i); ^ ./webmitm.c:219:1: note: expected 'char *' but argument is of type 'u_char *' server_init(char *buf, int size) ^ ./webmitm.c:375:2: warning: pointer targets in passing argument 1 of 'server_write' differ in signedness [-Wpointer-sign] if (server_write(buf, i) != i) ^ ./webmitm.c:285:1: note: expected 'char *' but argument is of type 'u_char *' server_write(char *buf, int size) ^ ./webmitm.c:379:3: warning: pointer targets in passing argument 1 of 'grep_passwords' differ in signedness [-Wpointer-sign] grep_passwords(buf, i); ^ ./webmitm.c:101:1: note: expected 'char *' but argument is of type 'u_char *' grep_passwords(char *buf, int len) ^ ./webmitm.c:393:4: warning: pointer targets in passing argument 1 of 'client_request' differ in signedness [-Wpointer-sign] if ((i = client_request(buf, i)) <= 0) ^ ./webmitm.c:163:1: note: expected 'char *' but argument is of type 'u_char *' client_request(char *buf, int size) ^ ./mount.c: In function 'xdr_fhandle': ./mount.c:11:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./webmitm.c:403:4: warning: pointer targets in passing argument 1 of 'server_write' differ in signedness [-Wpointer-sign] if (server_write(buf, i) != i) ^ ./mount.c: In function 'xdr_fhandle3': ./mount.c:21:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./webmitm.c:285:1: note: expected 'char *' but argument is of type 'u_char *' server_write(char *buf, int size) ^ ./mount.c: In function 'xdr_fhstatus': ./webmitm.c:407:5: warning: pointer targets in passing argument 1 of 'grep_passwords' differ in signedness [-Wpointer-sign] grep_passwords(buf, i); ^ ./mount.c:31:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./webmitm.c:101:1: note: expected 'char *' but argument is of type 'u_char *' grep_passwords(char *buf, int len) ^ ./mount.c: In function 'xdr_mountstat3': ./mount.c:51:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./mount.c: In function 'xdr_mountres3_ok': ./webmitm.c:411:4: warning: pointer targets in passing argument 1 of 'server_read' differ in signedness [-Wpointer-sign] if ((i = server_read(buf, i)) <= 0) ^ ./mount.c:61:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./webmitm.c:276:1: note: expected 'char *' but argument is of type 'u_char *' server_read(char *buf, int size) ^ ./mount.c: In function 'xdr_mountres3': ./mount.c:74:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./webmitm.c:421:4: warning: pointer targets in passing argument 1 of 'client_write' differ in signedness [-Wpointer-sign] if (client_write(buf, i) != i) ^ ./webmitm.c:201:1: note: expected 'char *' but argument is of type 'u_char *' client_write(char *buf, int size) ^ ./mount.c: In function 'xdr_dirpath': ./mount.c:92:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./webmitm.c: In function 'mitm_run': ./webmitm.c:471:40: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] client_fd = accept(http_fd, (struct sockaddr *)&csin, &i); ^ In file included from ./webmitm.c:15:0: /usr/include/sys/socket.h:244:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' extern int accept (int __fd, __SOCKADDR_ARG __addr, ^ ./webmitm.c:475:41: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] client_fd = accept(https_fd, (struct sockaddr *)&csin, &i); ^ In file included from ./webmitm.c:15:0: /usr/include/sys/socket.h:244:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' extern int accept (int __fd, __SOCKADDR_ARG __addr, ^ ./webmitm.c: In function 'mitm_child': ./webmitm.c:371:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(STDERR_FILENO, buf, i); ^ ./webmitm.c:401:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(STDERR_FILENO, buf, i); ^ ./webmitm.c:419:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(STDERR_FILENO, buf, i); ^ ./nfs_prot.c: In function 'xdr_nfsstat': ./nfs_prot.c:12:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./nfs_prot.c: In function 'xdr_ftype': ./nfs_prot.c:22:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./nfs_prot.c: In function 'xdr_nfs_fh': ./nfs_prot.c:34:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ ./nfs_prot.c:32:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./nfs_prot.c: In function 'xdr_nfstime': ./nfs_prot.c:43:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./nfs_prot.c: In function 'xdr_filename': ./nfs_prot.c:184:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./nfs_prot.c: In function 'xdr_nfspath': ./nfs_prot.c:194:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./nfs_prot.c: In function 'xdr_diropargs': ./nfs_prot.c:204:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./nfs_prot.c: In function 'xdr_diropokres': ./nfs_prot.c:216:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./nfs_prot.c: In function 'xdr_diropres': ./nfs_prot.c:228:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./nfs_prot.c: In function 'xdr_readargs': ./nfs_prot.c:246:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./nfs_prot.c: In function 'xdr_readokres': ./nfs_prot.c:262:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./nfs_prot.c: In function 'xdr_readres': ./nfs_prot.c:274:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./nfs_prot.c: In function 'xdr_uint64': ./nfs_prot.c:294:3: warning: implicit declaration of function 'xdr_u_int64_t' [-Wimplicit-function-declaration] if (!xdr_u_int64_t (xdrs, objp)) ^ ./nfs_prot.c:292:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./nfs_prot.c: In function 'xdr_int64': ./nfs_prot.c:302:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./nfs_prot.c: In function 'xdr_uint32': ./nfs_prot.c:312:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./nfs_prot.c: In function 'xdr_int32': ./nfs_prot.c:322:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./nfs_prot.c: In function 'xdr_filename3': ./nfs_prot.c:332:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./nfs_prot.c: In function 'xdr_nfspath3': ./nfs_prot.c:342:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./nfs_prot.c: In function 'xdr_fileid3': ./nfs_prot.c:352:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./nfs_prot.c: In function 'xdr_cookie3': ./nfs_prot.c:362:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./nfs_prot.c: In function 'xdr_cookieverf3': ./nfs_prot.c:372:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./nfs_prot.c: In function 'xdr_createverf3': ./nfs_prot.c:382:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./nfs_prot.c: In function 'xdr_writeverf3': ./nfs_prot.c:392:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./nfs_prot.c: In function 'xdr_uid3': ./nfs_prot.c:402:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./nfs_prot.c: In function 'xdr_gid3': ./nfs_prot.c:412:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./nfs_prot.c: In function 'xdr_size3': ./nfs_prot.c:422:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./nfs_prot.c: In function 'xdr_offset3': ./nfs_prot.c:432:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./nfs_prot.c: In function 'xdr_mode3': ./nfs_prot.c:442:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./nfs_prot.c: In function 'xdr_count3': ./nfs_prot.c:452:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./nfs_prot.c: In function 'xdr_nfsstat3': ./nfs_prot.c:462:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./nfs_prot.c: In function 'xdr_ftype3': ./nfs_prot.c:472:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./nfs_prot.c: In function 'xdr_specdata3': ./nfs_prot.c:482:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./nfs_prot.c: In function 'xdr_nfs_fh3': ./nfs_prot.c:494:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./nfs_prot.c: In function 'xdr_nfstime3': ./nfs_prot.c:504:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./nfs_prot.c: In function 'xdr_fattr3': ./nfs_prot.c:516:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./nfs_prot.c: In function 'xdr_post_op_attr': ./nfs_prot.c:550:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./nfs_prot.c: In function 'xdr_wcc_attr': ./nfs_prot.c:570:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./nfs_prot.c: In function 'xdr_pre_op_attr': ./nfs_prot.c:584:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./nfs_prot.c: In function 'xdr_wcc_data': ./nfs_prot.c:604:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./nfs_prot.c: In function 'xdr_diropargs3': ./nfs_prot.c:616:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./nfs_prot.c: In function 'xdr_LOOKUP3args': ./nfs_prot.c:628:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./nfs_prot.c: In function 'xdr_LOOKUP3resok': ./nfs_prot.c:638:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./nfs_prot.c: In function 'xdr_LOOKUP3resfail': ./nfs_prot.c:652:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./nfs_prot.c: In function 'xdr_LOOKUP3res': ./nfs_prot.c:662:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./nfs_prot.c: In function 'xdr_READ3args': ./nfs_prot.c:682:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./nfs_prot.c: In function 'xdr_READ3resok': ./nfs_prot.c:696:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./nfs_prot.c: In function 'xdr_READ3resfail': ./nfs_prot.c:712:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ ./nfs_prot.c: In function 'xdr_READ3res': ./nfs_prot.c:722:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^ gcc -Wl,-z,relro -o dsniff asn1.o base64.o buf.o hex.o magic.o mount.o pcaputil.o rpc.o tcp_raw.o trigger.o record.o dsniff.o decode.o decode_aim.o decode_citrix.o decode_cvs.o decode_ftp.o decode_hex.o decode_http.o decode_icq.o decode_imap.o decode_irc.o decode_ldap.o decode_mmxp.o decode_mountd.o decode_napster.o decode_nntp.o decode_oracle.o decode_ospf.o decode_pcanywhere.o decode_pop.o decode_portmap.o decode_postgresql.o decode_pptp.o decode_rip.o decode_rlogin.o decode_smb.o decode_smtp.o decode_sniffer.o decode_snmp.o decode_socks.o decode_tds.o decode_telnet.o decode_vrrp.o decode_yp.o decode_x11.o -lresolv -lnsl -lrpcsvc -L. -lmissing -L/usr/lib -lnids -lglib-2.0 -lgthread-2.0 -lpthread -L/usr/lib -lpcap -L/usr/lib -lnet -L/usr/lib -ldb -L/usr/lib -lssl -lcrypto gcc -Wl,-z,relro -o mailsnarf mailsnarf.o buf.o pcaputil.o -lresolv -lnsl -lrpcsvc -L. -lmissing -L/usr/lib -lnids -lglib-2.0 -lgthread-2.0 -lpthread -L/usr/lib -lpcap -L/usr/lib -lnet gcc -Wl,-z,relro -o webspy webspy.o base64.o buf.o remote.o -lresolv -lnsl -lrpcsvc -L. -lmissing -L/usr/lib -lnids -lglib-2.0 -lgthread-2.0 -lpthread -L/usr/lib -lpcap -L/usr/lib -lnet -lSM -lICE -lXmu -lX11 gcc -Wl,-z,relro -o urlsnarf urlsnarf.o base64.o buf.o pcaputil.o -lresolv -lnsl -lrpcsvc -L. -lmissing -L/usr/lib -lnids -lglib-2.0 -lgthread-2.0 -lpthread -L/usr/lib -lpcap -L/usr/lib -lnet gcc -Wl,-z,relro -o sshow sshow.o pcaputil.o -lresolv -lnsl -lrpcsvc -L. -lmissing -L/usr/lib -lnids -lglib-2.0 -lgthread-2.0 -lpthread -L/usr/lib -lpcap -L/usr/lib -lnet gcc -Wl,-z,relro -o msgsnarf msgsnarf.o buf.o pcaputil.o -lresolv -lnsl -lrpcsvc -L. -lmissing -L/usr/lib -lnids -lglib-2.0 -lgthread-2.0 -lpthread -L/usr/lib -lpcap -L/usr/lib -lnet gcc -Wl,-z,relro -o sshmitm sshmitm.o buf.o hex.o record.o ssh.o sshcrypto.o -lresolv -lnsl -lrpcsvc -L. -lmissing -L/usr/lib -lnet -L/usr/lib -ldb -L/usr/lib -lssl -lcrypto gcc -Wl,-z,relro -o webmitm webmitm.o base64.o buf.o decode_http.o record.o -lresolv -lnsl -lrpcsvc -L. -lmissing -L/usr/lib -lnet -L/usr/lib -ldb -L/usr/lib -lssl -lcrypto gcc -Wl,-z,relro -o filesnarf filesnarf.o nfs_prot.o pcaputil.o rpc.o -lresolv -lnsl -lrpcsvc -L. -lmissing -L/usr/lib -lnids -lglib-2.0 -lgthread-2.0 -lpthread -L/usr/lib -lpcap -L/usr/lib -lnet + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.zIHRro + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/dsniff-2.4-0.17.b1.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/dsniff-2.4-0.17.b1.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/dsniff-2.4-0.17.b1.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/dsniff-2.4-0.17.b1.el7.x86_64 + cd dsniff-2.4 + rm -rf /builddir/build/BUILDROOT/dsniff-2.4-0.17.b1.el7.x86_64 + make install_prefix=/builddir/build/BUILDROOT/dsniff-2.4-0.17.b1.el7.x86_64 'INSTALL=install -p' install test -d /builddir/build/BUILDROOT/dsniff-2.4-0.17.b1.el7.x86_64/usr/sbin || \ install -p -d /builddir/build/BUILDROOT/dsniff-2.4-0.17.b1.el7.x86_64/usr/sbin for file in arpspoof dnsspoof dsniff filesnarf macof mailsnarf msgsnarf sshmitm sshow tcpkill tcpnice urlsnarf webmitm webspy ; do \ install -p -m 755 $file /builddir/build/BUILDROOT/dsniff-2.4-0.17.b1.el7.x86_64/usr/sbin; \ done test -d /builddir/build/BUILDROOT/dsniff-2.4-0.17.b1.el7.x86_64/etc/dsniff || \ install -p -d /builddir/build/BUILDROOT/dsniff-2.4-0.17.b1.el7.x86_64/etc/dsniff for file in dsniff.magic dsniff.services dnsspoof.hosts; do \ install -p -m 644 $file /builddir/build/BUILDROOT/dsniff-2.4-0.17.b1.el7.x86_64/etc/dsniff; \ done test -d /builddir/build/BUILDROOT/dsniff-2.4-0.17.b1.el7.x86_64/usr/share/man/man8 || \ install -p -d /builddir/build/BUILDROOT/dsniff-2.4-0.17.b1.el7.x86_64/usr/share/man/man8 for file in *.8; do \ install -p -m 644 $file /builddir/build/BUILDROOT/dsniff-2.4-0.17.b1.el7.x86_64/usr/share/man/man8; \ done + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/dsniff-2.4 extracting debug info from /builddir/build/BUILDROOT/dsniff-2.4-0.17.b1.el7.x86_64/usr/sbin/tcpkill extracting debug info from /builddir/build/BUILDROOT/dsniff-2.4-0.17.b1.el7.x86_64/usr/sbin/sshmitm extracting debug info from /builddir/build/BUILDROOT/dsniff-2.4-0.17.b1.el7.x86_64/usr/sbin/webspy extracting debug info from /builddir/build/BUILDROOT/dsniff-2.4-0.17.b1.el7.x86_64/usr/sbin/webmitm extracting debug info from /builddir/build/BUILDROOT/dsniff-2.4-0.17.b1.el7.x86_64/usr/sbin/macof extracting debug info from /builddir/build/BUILDROOT/dsniff-2.4-0.17.b1.el7.x86_64/usr/sbin/dsniff extracting debug info from /builddir/build/BUILDROOT/dsniff-2.4-0.17.b1.el7.x86_64/usr/sbin/msgsnarf extracting debug info from /builddir/build/BUILDROOT/dsniff-2.4-0.17.b1.el7.x86_64/usr/sbin/filesnarf extracting debug info from /builddir/build/BUILDROOT/dsniff-2.4-0.17.b1.el7.x86_64/usr/sbin/arpspoof extracting debug info from /builddir/build/BUILDROOT/dsniff-2.4-0.17.b1.el7.x86_64/usr/sbin/dnsspoof extracting debug info from /builddir/build/BUILDROOT/dsniff-2.4-0.17.b1.el7.x86_64/usr/sbin/urlsnarf extracting debug info from /builddir/build/BUILDROOT/dsniff-2.4-0.17.b1.el7.x86_64/usr/sbin/tcpnice extracting debug info from /builddir/build/BUILDROOT/dsniff-2.4-0.17.b1.el7.x86_64/usr/sbin/sshow extracting debug info from /builddir/build/BUILDROOT/dsniff-2.4-0.17.b1.el7.x86_64/usr/sbin/mailsnarf /usr/lib/rpm/sepdebugcrcfix: Updated 14 CRC32s, 0 CRC32s did match. 679 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: dsniff-2.4-0.17.b1.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.vUciXk + umask 022 + cd /builddir/build/BUILD + cd dsniff-2.4 + DOCDIR=/builddir/build/BUILDROOT/dsniff-2.4-0.17.b1.el7.x86_64/usr/share/doc/dsniff-2.4 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/dsniff-2.4-0.17.b1.el7.x86_64/usr/share/doc/dsniff-2.4 + cp -pr CHANGES /builddir/build/BUILDROOT/dsniff-2.4-0.17.b1.el7.x86_64/usr/share/doc/dsniff-2.4 + cp -pr LICENSE /builddir/build/BUILDROOT/dsniff-2.4-0.17.b1.el7.x86_64/usr/share/doc/dsniff-2.4 + cp -pr README /builddir/build/BUILDROOT/dsniff-2.4-0.17.b1.el7.x86_64/usr/share/doc/dsniff-2.4 + cp -pr TODO /builddir/build/BUILDROOT/dsniff-2.4-0.17.b1.el7.x86_64/usr/share/doc/dsniff-2.4 + exit 0 Provides: config(dsniff) = 2.4-0.17.b1.el7 dsniff = 2.4-0.17.b1.el7 dsniff(x86-64) = 2.4-0.17.b1.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libICE.so.6()(64bit) libSM.so.6()(64bit) libX11.so.6()(64bit) libXmu.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libcrypto.so.10()(64bit) libcrypto.so.10(libcrypto.so.10)(64bit) libdb-5.3.so()(64bit) libglib-2.0.so.0()(64bit) libgthread-2.0.so.0()(64bit) libnet.so.1()(64bit) libnids.so.1.24()(64bit) libnsl.so.1()(64bit) libpcap.so.1()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libresolv.so.2()(64bit) libresolv.so.2(GLIBC_2.2.5)(64bit) libssl.so.10()(64bit) libssl.so.10(libssl.so.10)(64bit) rtld(GNU_HASH) Processing files: dsniff-debuginfo-2.4-0.17.b1.el7.x86_64 Provides: dsniff-debuginfo = 2.4-0.17.b1.el7 dsniff-debuginfo(x86-64) = 2.4-0.17.b1.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/dsniff-2.4-0.17.b1.el7.x86_64 Wrote: /builddir/build/RPMS/dsniff-2.4-0.17.b1.el7.x86_64.rpm Wrote: /builddir/build/RPMS/dsniff-debuginfo-2.4-0.17.b1.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.FV6dwc + umask 022 + cd /builddir/build/BUILD + cd dsniff-2.4 + rm -rf /builddir/build/BUILDROOT/dsniff-2.4-0.17.b1.el7.x86_64 + exit 0 Child return code was: 0 LEAVE do -->