Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/dsniff.spec'], chrootPath='/var/lib/mock/f29-build-19909-10527/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/dsniff.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/dsniff-2.4-0.28.b1.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/dsniff.spec'], chrootPath='/var/lib/mock/f29-build-19909-10527/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/dsniff.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.I6wsPj + 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 -xof - + 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/patch --no-backup-if-mismatch -p1 -b --suffix .time_h --fuzz=0 patching file msgsnarf.c patching file sshow.c + echo 'Patch #1 (dsniff-2.4-mailsnarf_corrupt.patch):' Patch #1 (dsniff-2.4-mailsnarf_corrupt.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .mailsnarf --fuzz=0 patching file mailsnarf.c + echo 'Patch #2 (dsniff-2.4-pcap_read_dump.patch):' Patch #2 (dsniff-2.4-pcap_read_dump.patch): + /usr/bin/patch --no-backup-if-mismatch -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 + echo 'Patch #3 (dsniff-2.4-multiple_intf.patch):' Patch #3 (dsniff-2.4-multiple_intf.patch): + /usr/bin/patch --no-backup-if-mismatch -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/patch --no-backup-if-mismatch -p1 -b --suffix .amd64_fix --fuzz=0 patching file configure patching file configure.in + echo 'Patch #5 (dsniff-2.4-urlsnarf_zeropad.patch):' Patch #5 (dsniff-2.4-urlsnarf_zeropad.patch): + /usr/bin/patch --no-backup-if-mismatch -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/patch --no-backup-if-mismatch -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/patch --no-backup-if-mismatch -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/patch --no-backup-if-mismatch -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/patch --no-backup-if-mismatch -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/patch --no-backup-if-mismatch -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/patch --no-backup-if-mismatch -p1 -b --suffix .urlsnarf_escape --fuzz=0 patching file urlsnarf.c + echo 'Patch #12 (dsniff-2.4-string_header.patch):' Patch #12 (dsniff-2.4-string_header.patch): + /usr/bin/patch --no-backup-if-mismatch -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/patch --no-backup-if-mismatch -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 + echo 'Patch #14 (dsniff-2.4-pop_with_version.patch):' Patch #14 (dsniff-2.4-pop_with_version.patch): + /usr/bin/patch --no-backup-if-mismatch -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/patch --no-backup-if-mismatch -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). Patch #16 (dsniff-2.4-checksum_libnids.patch): + echo 'Patch #16 (dsniff-2.4-checksum_libnids.patch):' + /usr/bin/patch --no-backup-if-mismatch -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/patch --no-backup-if-mismatch -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/patch --no-backup-if-mismatch -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/patch --no-backup-if-mismatch -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/patch --no-backup-if-mismatch -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/patch --no-backup-if-mismatch -p1 -b --suffix .msgsnarf_segfault --fuzz=0 patching file msgsnarf.c + echo 'Patch #22 (dsniff-2.4-urlsnarf_timestamp.patch):' Patch #22 (dsniff-2.4-urlsnarf_timestamp.patch): + /usr/bin/patch --no-backup-if-mismatch -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/patch --no-backup-if-mismatch -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/patch --no-backup-if-mismatch -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/patch --no-backup-if-mismatch -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/patch --no-backup-if-mismatch -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/patch --no-backup-if-mismatch -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/patch --no-backup-if-mismatch -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/patch --no-backup-if-mismatch -p1 -b --suffix .rpc_segfault --fuzz=0 patching file rpc.c + echo 'Patch #30 (dsniff-2.4-openssl_110.patch):' Patch #30 (dsniff-2.4-openssl_110.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .openssl_110 --fuzz=0 patching file ssh.c patching file sshcrypto.c + echo 'Patch #31 (dsniff-2.4-remote_typo.patch):' Patch #31 (dsniff-2.4-remote_typo.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .remote_typo --fuzz=0 patching file remote.c + echo 'Patch #32 (dsniff-2.4-smp_mflags.patch):' Patch #32 (dsniff-2.4-smp_mflags.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .smp_mflags --fuzz=0 patching file Makefile.in + echo 'Patch #33 (dsniff-2.4-libtirpc.patch):' Patch #33 (dsniff-2.4-libtirpc.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .libtirpc --fuzz=0 patching file Makefile.in + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ZysMDF + umask 022 + cd /builddir/build/BUILD + cd dsniff-2.4 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) works... yes checking whether the C compiler (gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) 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... no 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 -j4 gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./missing/dummy.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./missing/strlcpy.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./missing/strlcat.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./missing/md5.c BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./missing/strlcat.c:35: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./arpspoof.c BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./missing/strlcpy.c:35: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./missing/md5.c:20: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./missing/md5.c: In function 'MD5Final': BUILDSTDERR: ./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] BUILDSTDERR: memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ BUILDSTDERR: ^ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./arp.c BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./arpspoof.c:16: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./dnsspoof.c BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./arp.c:13: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from /usr/include/sys/param.h:25, BUILDSTDERR: from ./dnsspoof.c:13: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./arpspoof.c:44:26: warning: pointer targets in initialization of 'uint8_t *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: static uint8_t *brd_ha = "\xff\xff\xff\xff\xff\xff"; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./pcaputil.c BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from /usr/include/sys/param.h:25, BUILDSTDERR: from ./pcaputil.c:11: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./dnsspoof.c: In function 'dns_spoof': BUILDSTDERR: ./dnsspoof.c:227:10: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] BUILDSTDERR: if ((q = dns_lookup_ptr(name)) == NULL) BUILDSTDERR: ^ BUILDSTDERR: ./dnsspoof.c:231:20: warning: pointer targets in passing argument 1 of '__dn_comp' differ in signedness [-Wpointer-sign] BUILDSTDERR: anslen = dn_comp(q, p + 12, 256, NULL, NULL); BUILDSTDERR: ^ BUILDSTDERR: In file included from ./dnsspoof.c:24: BUILDSTDERR: /usr/include/resolv.h:271:6: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: int dn_comp (const char *, unsigned char *, int, unsigned char **, BUILDSTDERR: ^~~~~~~ rpcgen -h mount.x -o mount.h gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./asn1.c rpcgen -c mount.x -o mount.c BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./asn1.c:11: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./base64.c BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./base64.c:44: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./buf.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./hex.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./magic.c BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from /usr/include/sys/param.h:25, BUILDSTDERR: from ./buf.c:11: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./hex.c:11: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./magic.c:34: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from ./buf.c:22: BUILDSTDERR: ./buf.c: In function 'buf_putf': BUILDSTDERR: ./buf.h:31:31: warning: pointer targets in passing argument 1 of 'vsnprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: #define buf_ptr(b) ((b)->base + (b)->offset) BUILDSTDERR: ~~~~~~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: ./buf.c:113:16: note: in expansion of macro 'buf_ptr' BUILDSTDERR: i = vsnprintf(buf_ptr(buf), buf_len(buf), fmt, ap); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/sys/types.h:25, BUILDSTDERR: from /usr/include/sys/param.h:25, BUILDSTDERR: from ./buf.c:11: BUILDSTDERR: /usr/include/bits/stdio2.h:77:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: __NTH (vsnprintf (char *__restrict __s, size_t __n, BUILDSTDERR: ^~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./mount.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./rpc.c BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from /usr/include/tirpc/rpc/types.h:41, BUILDSTDERR: from /usr/include/tirpc/rpc/rpc.h:38, BUILDSTDERR: from ./mount.h:9, BUILDSTDERR: from ./mount.c:6: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./rpc.c:11: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./mount.c: In function 'xdr_fhandle': BUILDSTDERR: ./mount.c:11:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./mount.c: In function 'xdr_fhandle3': BUILDSTDERR: ./mount.c:21:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./mount.c: In function 'xdr_fhstatus': BUILDSTDERR: ./mount.c:31:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./mount.c: In function 'xdr_mountstat3': BUILDSTDERR: ./mount.c:51:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./mount.c: In function 'xdr_mountres3_ok': BUILDSTDERR: ./mount.c:61:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./mount.c: In function 'xdr_mountres3': BUILDSTDERR: ./mount.c:74:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./mount.c: In function 'xdr_dirpath': BUILDSTDERR: ./mount.c:92:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./rpc.c: In function 'rpc_decode': BUILDSTDERR: ./rpc.c:112:24: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] BUILDSTDERR: xdrmem_create(&xdrs, buf, len, XDR_DECODE); BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/tirpc/rpc/rpc.h:43, BUILDSTDERR: from ./rpc.c:12: BUILDSTDERR: /usr/include/tirpc/rpc/xdr.h:355:15: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: ./rpc.c:121:24: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] BUILDSTDERR: xdrmem_create(&xdrs, buf, len, XDR_DECODE); BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/tirpc/rpc/rpc.h:43, BUILDSTDERR: from ./rpc.c:12: BUILDSTDERR: /usr/include/tirpc/rpc/xdr.h:355:15: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); BUILDSTDERR: ^~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./tcp_raw.c BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./tcp_raw.c:11: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./trigger.c BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./trigger.c:11: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./record.c BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./record.c:11: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./trigger.c: In function 'trigger_ip': BUILDSTDERR: ./trigger.c:300:42: warning: pointer targets in passing argument 3 of 't->decode->dc_func' differ in signedness [-Wpointer-sign] BUILDSTDERR: if ((len = t->decode->dc_func(buf, len, obuf, sizeof(obuf))) > 0) { BUILDSTDERR: ^~~~ BUILDSTDERR: ./trigger.c:300:42: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: ./trigger.c:302:36: warning: pointer targets in passing argument 7 of 'record' differ in signedness [-Wpointer-sign] BUILDSTDERR: 0, 0, t->decode->dc_name, obuf, len); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./trigger.c:24: BUILDSTDERR: ./record.h:16:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int record(u_int32_t src, u_int32_t dst, int proto, u_short sport, BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./trigger.c: In function 'trigger_udp': BUILDSTDERR: ./trigger.c:346:42: warning: pointer targets in passing argument 3 of 't->decode->dc_func' differ in signedness [-Wpointer-sign] BUILDSTDERR: if ((len = t->decode->dc_func(buf, len, obuf, sizeof(obuf))) > 0) { BUILDSTDERR: ^~~~ BUILDSTDERR: ./trigger.c:346:42: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: ./trigger.c:349:30: warning: pointer targets in passing argument 7 of 'record' differ in signedness [-Wpointer-sign] BUILDSTDERR: t->decode->dc_name, obuf, len); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./trigger.c:24: BUILDSTDERR: ./record.h:16:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int record(u_int32_t src, u_int32_t dst, int proto, u_short sport, BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./trigger.c: In function 'trigger_tcp_half': BUILDSTDERR: ./trigger.c:360:6: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] BUILDSTDERR: buf = hs->data; BUILDSTDERR: ^ BUILDSTDERR: ./trigger.c:378:12: warning: pointer targets in passing argument 3 of 't->decode->dc_func' differ in signedness [-Wpointer-sign] BUILDSTDERR: obuf, sizeof(obuf))) > 0) { BUILDSTDERR: ^~~~ BUILDSTDERR: ./trigger.c:378:12: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: ./trigger.c:381:11: warning: pointer targets in passing argument 7 of 'record' differ in signedness [-Wpointer-sign] BUILDSTDERR: obuf, len); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./trigger.c:24: BUILDSTDERR: ./record.h:16:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int record(u_int32_t src, u_int32_t dst, int proto, u_short sport, BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./trigger.c: In function 'trigger_tcp_raw': BUILDSTDERR: ./trigger.c:478:7: warning: pointer targets in passing argument 3 of 't->decode->dc_func' differ in signedness [-Wpointer-sign] BUILDSTDERR: obuf, sizeof(obuf)); BUILDSTDERR: ^~~~ BUILDSTDERR: ./trigger.c:478:7: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: ./trigger.c:484:11: warning: pointer targets in passing argument 7 of 'record' differ in signedness [-Wpointer-sign] BUILDSTDERR: obuf, len); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./trigger.c:24: BUILDSTDERR: ./record.h:16:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int record(u_int32_t src, u_int32_t dst, int proto, u_short sport, BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./trigger.c: In function 'trigger_tcp_raw_callback': BUILDSTDERR: ./trigger.c:512:12: warning: pointer targets in passing argument 3 of 't->decode->dc_func' differ in signedness [-Wpointer-sign] BUILDSTDERR: obuf, sizeof(obuf))) > 0) { BUILDSTDERR: ^~~~ BUILDSTDERR: ./trigger.c:512:12: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: ./trigger.c:514:31: warning: pointer targets in passing argument 7 of 'record' differ in signedness [-Wpointer-sign] BUILDSTDERR: t->decode->dc_name, obuf, len); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./trigger.c:24: BUILDSTDERR: ./record.h:16:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int record(u_int32_t src, u_int32_t dst, int proto, u_short sport, BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./record.c: In function 'record_hash': BUILDSTDERR: ./record.c:104:27: warning: pointer targets in passing argument 2 of 'MD5Update' differ in signedness [-Wpointer-sign] BUILDSTDERR: MD5Update(&ctx, rec->name.n_bytes, rec->name.n_len); BUILDSTDERR: ~~~~~~~~~^~~~~~~~ BUILDSTDERR: In file included from ./record.c:17: BUILDSTDERR: ./missing/md5.h:11:6: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: void MD5Update(struct MD5Context *context, unsigned char const *buf, BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: ./record.c:105:27: warning: pointer targets in passing argument 2 of 'MD5Update' differ in signedness [-Wpointer-sign] BUILDSTDERR: MD5Update(&ctx, rec->data.n_bytes, rec->data.n_len); BUILDSTDERR: ~~~~~~~~~^~~~~~~~ BUILDSTDERR: In file included from ./record.c:17: BUILDSTDERR: ./missing/md5.h:11:6: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: void MD5Update(struct MD5Context *context, unsigned char const *buf, BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: ./record.c: In function 'record_save': BUILDSTDERR: ./record.c:121:23: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] BUILDSTDERR: xdrmem_create(&xdrs, buf, sizeof(buf), XDR_ENCODE); BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/tirpc/rpc/rpc.h:43, BUILDSTDERR: from ./record.c:13: BUILDSTDERR: /usr/include/tirpc/rpc/xdr.h:355:15: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: ./record.c: In function 'record': BUILDSTDERR: ./record.c:195:19: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: rec.data.n_bytes = buf; BUILDSTDERR: ^ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./dsniff.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./decode.c BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./dsniff.c:15: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./decode.c:11: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./decode.c: In function 'strip_telopts': BUILDSTDERR: ./decode.c:123:7: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: p = buf + i + 1; BUILDSTDERR: ^ BUILDSTDERR: ./decode.c:124:21: warning: pointer targets in passing argument 1 of 'bufbuf' differ in signedness [-Wpointer-sign] BUILDSTDERR: if ((q = bufbuf(p, len - i, "\xff", 1)) BUILDSTDERR: ^ BUILDSTDERR: In file included from ./decode.c:19: BUILDSTDERR: ./decode.h:48:9: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: u_char *bufbuf(u_char *big, int blen, u_char *little, int llen); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./decode.c:124:33: warning: pointer targets in passing argument 3 of 'bufbuf' differ in signedness [-Wpointer-sign] BUILDSTDERR: if ((q = bufbuf(p, len - i, "\xff", 1)) BUILDSTDERR: ^~~~~~ BUILDSTDERR: In file included from ./decode.c:19: BUILDSTDERR: ./decode.h:48:9: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: u_char *bufbuf(u_char *big, int blen, u_char *little, int llen); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./decode.c:124:12: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: if ((q = bufbuf(p, len - i, "\xff", 1)) BUILDSTDERR: ^ BUILDSTDERR: ./decode.c:126:22: warning: pointer targets in passing argument 1 of 'bufbuf' differ in signedness [-Wpointer-sign] BUILDSTDERR: if ((p = bufbuf(p, q - p, "USER\x01", BUILDSTDERR: ^ BUILDSTDERR: In file included from ./decode.c:19: BUILDSTDERR: ./decode.h:48:9: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: u_char *bufbuf(u_char *big, int blen, u_char *little, int llen); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./decode.c:126:32: warning: pointer targets in passing argument 3 of 'bufbuf' differ in signedness [-Wpointer-sign] BUILDSTDERR: if ((p = bufbuf(p, q - p, "USER\x01", BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: In file included from ./decode.c:19: BUILDSTDERR: ./decode.h:48:9: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: u_char *bufbuf(u_char *big, int blen, u_char *little, int llen); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./decode.c:126:13: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: if ((p = bufbuf(p, q - p, "USER\x01", BUILDSTDERR: ^ BUILDSTDERR: ./dsniff.c: In function 'get_all_ifaces': BUILDSTDERR: ./dsniff.c:120:15: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: unsigned int i; BUILDSTDERR: ^ BUILDSTDERR: ./dsniff.c: In function 'all_local_ipaddrs_chksum_disable': BUILDSTDERR: ./dsniff.c:104:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./decode_aim.c BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./decode_aim.c:13: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./decode_citrix.c BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./decode_citrix.c:19: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./decode_aim.c: In function 'decode_aim': BUILDSTDERR: ./decode_aim.c:67:22: warning: pointer targets in passing argument 1 of 'strcspn' differ in signedness [-Wpointer-sign] BUILDSTDERR: if ((j = strcspn(p, " ")) > 0) BUILDSTDERR: ^ BUILDSTDERR: In file included from ./decode_aim.c:16: BUILDSTDERR: /usr/include/string.h:272:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern size_t strcspn (const char *__s, const char *__reject) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./decode_aim.c:70:15: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] BUILDSTDERR: if (strtok(p, " ") == NULL) BUILDSTDERR: ^ BUILDSTDERR: In file included from ./decode_aim.c:16: BUILDSTDERR: /usr/include/string.h:335:14: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern char *strtok (char *__restrict __s, const char *__restrict __delim) BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./decode_aim.c:75:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: i = strlen(p); BUILDSTDERR: ^ BUILDSTDERR: In file included from ./decode_aim.c:16: BUILDSTDERR: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern size_t strlen (const char *__s) BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./decode_aim.c:76:19: warning: pointer targets in passing argument 1 of 'hex_decode' differ in signedness [-Wpointer-sign] BUILDSTDERR: j = hex_decode(p, i, p, i); BUILDSTDERR: ^ BUILDSTDERR: In file included from ./decode_aim.c:19: BUILDSTDERR: ./hex.h:14:5: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: int hex_decode(char *src, int srclen, u_char *buf, int len); BUILDSTDERR: ^~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./decode_cvs.c BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./decode_cvs.c:13: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./decode_ftp.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./decode_hex.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./decode_http.c BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from /usr/include/sys/param.h:25, BUILDSTDERR: from ./decode_hex.c:13: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./decode_ftp.c:13: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./decode_http.c:13: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from ./decode_ftp.c:19: BUILDSTDERR: ./decode_ftp.c: In function 'decode_ftp': BUILDSTDERR: ./buf.h:31:31: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: #define buf_ptr(b) ((b)->base + (b)->offset) BUILDSTDERR: ~~~~~~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: ./decode_ftp.c:47:19: note: in expansion of macro 'buf_ptr' BUILDSTDERR: if (strncasecmp(buf_ptr(line), "USER ", 5) == 0 || BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:431, BUILDSTDERR: from ./decode_ftp.c:16: BUILDSTDERR: /usr/include/strings.h:120:12: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: In file included from ./decode_ftp.c:19: BUILDSTDERR: ./buf.h:31:31: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: #define buf_ptr(b) ((b)->base + (b)->offset) BUILDSTDERR: ~~~~~~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: ./decode_ftp.c:48:19: note: in expansion of macro 'buf_ptr' BUILDSTDERR: strncasecmp(buf_ptr(line), "ACCT ", 5) == 0 || BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:431, BUILDSTDERR: from ./decode_ftp.c:16: BUILDSTDERR: /usr/include/strings.h:120:12: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: In file included from ./decode_ftp.c:19: BUILDSTDERR: ./buf.h:31:31: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: #define buf_ptr(b) ((b)->base + (b)->offset) BUILDSTDERR: ~~~~~~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: ./decode_ftp.c:49:19: note: in expansion of macro 'buf_ptr' BUILDSTDERR: strncasecmp(buf_ptr(line), "PASS ", 5) == 0) { BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:431, BUILDSTDERR: from ./decode_ftp.c:16: BUILDSTDERR: /usr/include/strings.h:120:12: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: In file included from ./decode_http.c:23: BUILDSTDERR: ./decode_http.c: In function 'decode_http': BUILDSTDERR: ./buf.h:31:31: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] BUILDSTDERR: #define buf_ptr(b) ((b)->base + (b)->offset) BUILDSTDERR: ~~~~~~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: ./decode_http.c:119:21: note: in expansion of macro 'buf_ptr' BUILDSTDERR: if ((req = strtok(buf_ptr(msg), "\r\n")) == NULL) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from ./decode_http.c:16: BUILDSTDERR: /usr/include/string.h:335:14: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern char *strtok (char *__restrict __s, const char *__restrict __delim) BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./decode_http.c:157:12: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: query = buf_ptr(msg); BUILDSTDERR: ^ BUILDSTDERR: ./decode_http.c:176:24: warning: pointer targets in passing argument 2 of 'base64_pton' differ in signedness [-Wpointer-sign] BUILDSTDERR: i = base64_pton(p, p, strlen(p)); BUILDSTDERR: ^ BUILDSTDERR: In file included from ./decode_http.c:22: BUILDSTDERR: ./base64.h:12:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int base64_pton(char const *, u_char *, size_t); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: ./decode_http.c:183:24: warning: pointer targets in passing argument 2 of 'base64_pton' differ in signedness [-Wpointer-sign] BUILDSTDERR: i = base64_pton(p, p, strlen(p)); BUILDSTDERR: ^ BUILDSTDERR: In file included from ./decode_http.c:22: BUILDSTDERR: ./base64.h:12:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int base64_pton(char const *, u_char *, size_t); BUILDSTDERR: ^~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./decode_icq.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./decode_imap.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./decode_irc.c BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./decode_icq.c:13: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./decode_imap.c:13: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./decode_irc.c:13: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./decode_ldap.c BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./decode_ldap.c:13: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./decode_mmxp.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./decode_mountd.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./decode_napster.c BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./decode_mmxp.c:19: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from /usr/include/sys/param.h:25, BUILDSTDERR: from ./decode_mountd.c:15: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./decode_napster.c:13: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./decode_nntp.c BUILDSTDERR: ./decode_mmxp.c:29:19: warning: pointer targets in initialization of 'u_char *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: #define MM_SECRET "Thisisastupidwasteoftimeandspace" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./decode_mmxp.c:29:19: note: in definition of macro 'MM_SECRET' BUILDSTDERR: #define MM_SECRET "Thisisastupidwasteoftimeandspace" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./decode_nntp.c:14: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./decode_oracle.c BUILDSTDERR: ./decode_mountd.c: In function 'decode_mountd': BUILDSTDERR: ./decode_mountd.c:47:28: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] BUILDSTDERR: xdrmem_create(&xdrs, buf + hdrlen, len - hdrlen, XDR_DECODE); BUILDSTDERR: ~~~~^~~~~~~~ BUILDSTDERR: In file included from /usr/include/tirpc/rpc/rpc.h:43, BUILDSTDERR: from ./decode_mountd.c:17: BUILDSTDERR: /usr/include/tirpc/rpc/xdr.h:355:15: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: ./decode_mountd.c:59:29: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] BUILDSTDERR: xdrmem_create(&xdrs, buf + hdrlen, len - hdrlen, BUILDSTDERR: ~~~~^~~~~~~~ BUILDSTDERR: In file included from /usr/include/tirpc/rpc/rpc.h:43, BUILDSTDERR: from ./decode_mountd.c:17: BUILDSTDERR: /usr/include/tirpc/rpc/xdr.h:355:15: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: ./decode_nntp.c: In function 'decode_nntp': BUILDSTDERR: ./decode_nntp.c:32:18: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] BUILDSTDERR: for (p = strtok(buf, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) { BUILDSTDERR: ^~~ BUILDSTDERR: In file included from ./decode_nntp.c:17: BUILDSTDERR: /usr/include/string.h:335:14: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern char *strtok (char *__restrict __s, const char *__restrict __delim) BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./decode_nntp.c:34:12: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: strlcat(obuf, p, olen); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_nntp.c:18: BUILDSTDERR: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: size_t strlcat(char *dst, const char *src, size_t siz); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./decode_nntp.c:35:12: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: strlcat(obuf, "\n", olen); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_nntp.c:18: BUILDSTDERR: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: size_t strlcat(char *dst, const char *src, size_t siz); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./decode_nntp.c:39:12: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: strlcat(obuf, p, olen); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_nntp.c:18: BUILDSTDERR: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: size_t strlcat(char *dst, const char *src, size_t siz); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./decode_nntp.c:50:25: warning: pointer targets in passing argument 2 of 'base64_pton' differ in signedness [-Wpointer-sign] BUILDSTDERR: i = base64_pton(p, p, strlen(p)); BUILDSTDERR: ^ BUILDSTDERR: In file included from ./decode_nntp.c:20: BUILDSTDERR: ./base64.h:12:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int base64_pton(char const *, u_char *, size_t); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: ./decode_nntp.c:52:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: i = strlen(obuf); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_nntp.c:17: BUILDSTDERR: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern size_t strlen (const char *__s) BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./decode_nntp.c:53:20: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: snprintf(obuf + i, olen - i, BUILDSTDERR: ~~~~~^~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/sys/types.h:25, BUILDSTDERR: from ./decode_nntp.c:14: BUILDSTDERR: /usr/include/bits/stdio2.h:64:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: __NTH (snprintf (char *__restrict __s, size_t __n, BUILDSTDERR: ^~~~~ BUILDSTDERR: ./decode_nntp.c:57:12: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: strlcat(obuf, "\n", olen); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_nntp.c:18: BUILDSTDERR: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: size_t strlcat(char *dst, const char *src, size_t siz); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./decode_nntp.c:60:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: return (strlen(obuf)); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_nntp.c:17: BUILDSTDERR: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern size_t strlen (const char *__s) BUILDSTDERR: ^~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./decode_ospf.c BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./decode_oracle.c:13: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./decode_oracle.c: In function 'decode_oracle': BUILDSTDERR: ./decode_oracle.c:42:11: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: snprintf(obuf, olen, "%s\n", q); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/sys/types.h:25, BUILDSTDERR: from ./decode_oracle.c:13: BUILDSTDERR: /usr/include/bits/stdio2.h:64:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: __NTH (snprintf (char *__restrict __s, size_t __n, BUILDSTDERR: ^~~~~ BUILDSTDERR: ./decode_oracle.c:46:26: warning: pointer targets in passing argument 3 of 'bufbuf' differ in signedness [-Wpointer-sign] BUILDSTDERR: if ((p = bufbuf(p, len, "(TNS V", 6)) == NULL) return (0); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from ./decode_oracle.c:18: BUILDSTDERR: ./decode.h:48:9: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: u_char *bufbuf(u_char *big, int blen, u_char *little, int llen); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./decode_oracle.c:66:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: j = strlen(obuf); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_oracle.c:16: BUILDSTDERR: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern size_t strlen (const char *__s) BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./decode_oracle.c:67:17: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: snprintf(obuf + j, olen + j, "%s\n", p + 117); BUILDSTDERR: ~~~~~^~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/sys/types.h:25, BUILDSTDERR: from ./decode_oracle.c:13: BUILDSTDERR: /usr/include/bits/stdio2.h:64:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: __NTH (snprintf (char *__restrict __s, size_t __n, BUILDSTDERR: ^~~~~ BUILDSTDERR: ./decode_oracle.c:70:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: return (gotauth ? strlen(obuf) : 0); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_oracle.c:16: BUILDSTDERR: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern size_t strlen (const char *__s) BUILDSTDERR: ^~~~~~ BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./decode_ospf.c:13: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./decode_ospf.c: In function 'decode_ospf': BUILDSTDERR: ./decode_ospf.c:31:19: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: return (snprintf(obuf, olen, "%s\n", buf + 16)); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/sys/types.h:25, BUILDSTDERR: from ./decode_ospf.c:13: BUILDSTDERR: /usr/include/bits/stdio2.h:64:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: __NTH (snprintf (char *__restrict __s, size_t __n, BUILDSTDERR: ^~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./decode_pcanywhere.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./decode_pop.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./decode_portmap.c BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./decode_pop.c:15: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./decode_pcanywhere.c:16: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./decode_postgresql.c BUILDSTDERR: ./decode_pop.c: In function 'decode_poppass': BUILDSTDERR: ./decode_pop.c:32:18: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] BUILDSTDERR: for (p = strtok(buf, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) { BUILDSTDERR: ^~~ BUILDSTDERR: In file included from ./decode_pop.c:18: BUILDSTDERR: /usr/include/string.h:335:14: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern char *strtok (char *__restrict __s, const char *__restrict __delim) BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./decode_pop.c:36:12: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: strlcat(obuf, p, olen); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_pop.c:19: BUILDSTDERR: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: size_t strlcat(char *dst, const char *src, size_t siz); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./decode_pop.c:37:12: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: strlcat(obuf, "\n", olen); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_pop.c:19: BUILDSTDERR: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: size_t strlcat(char *dst, const char *src, size_t siz); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./decode_pop.c:40:18: warning: pointer targets in passing argument 1 of 'strip_lines' differ in signedness [-Wpointer-sign] BUILDSTDERR: if (strip_lines(obuf, Opt_lines) < 3) BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_pop.c:23: BUILDSTDERR: ./decode.h:44:5: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: int strip_lines(char *buf, int max_lines); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: ./decode_pop.c:43:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: return (strlen(obuf)); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_pop.c:18: BUILDSTDERR: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern size_t strlen (const char *__s) BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./decode_pop.c: In function 'decode_pop': BUILDSTDERR: ./decode_pop.c:64:18: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] BUILDSTDERR: for (p = strtok(buf, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) { BUILDSTDERR: ^~~ BUILDSTDERR: In file included from ./decode_pop.c:18: BUILDSTDERR: /usr/include/string.h:335:14: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern char *strtok (char *__restrict __s, const char *__restrict __delim) BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./decode_pop.c:93:23: warning: pointer targets in passing argument 2 of 'base64_pton' differ in signedness [-Wpointer-sign] BUILDSTDERR: j = base64_pton(p, p, strlen(p)); BUILDSTDERR: ^ BUILDSTDERR: In file included from ./decode_pop.c:21: BUILDSTDERR: ./base64.h:12:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int base64_pton(char const *, u_char *, size_t); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./decode_portmap.c:13: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./decode_pop.c:113:23: warning: pointer targets in passing argument 2 of 'base64_pton' differ in signedness [-Wpointer-sign] BUILDSTDERR: j = base64_pton(p, p, strlen(p)); BUILDSTDERR: ^ BUILDSTDERR: In file included from ./decode_pop.c:21: BUILDSTDERR: ./base64.h:12:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int base64_pton(char const *, u_char *, size_t); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: ./decode_pop.c:124:12: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: strlcat(obuf, "\nusername [", olen); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_pop.c:19: BUILDSTDERR: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: size_t strlcat(char *dst, const char *src, size_t siz); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./decode_pop.c:125:12: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: strlcat(obuf, user, olen); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_pop.c:19: BUILDSTDERR: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: size_t strlcat(char *dst, const char *src, size_t siz); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./decode_pop.c:126:12: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: strlcat(obuf, "] password [", olen); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_pop.c:19: BUILDSTDERR: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: size_t strlcat(char *dst, const char *src, size_t siz); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./decode_pop.c:127:12: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: strlcat(obuf, password, olen); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_pop.c:19: BUILDSTDERR: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: size_t strlcat(char *dst, const char *src, size_t siz); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./decode_pop.c:128:12: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: strlcat(obuf, "]\n", olen); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_pop.c:19: BUILDSTDERR: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: size_t strlcat(char *dst, const char *src, size_t siz); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./decode_pop.c:133:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: return (strlen(obuf)); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_pop.c:18: BUILDSTDERR: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern size_t strlen (const char *__s) BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./decode_pop.c:52:6: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int i, j; BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./decode_postgresql.c:15: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./decode_postgresql.c: In function 'decode_postgresql': BUILDSTDERR: ./decode_postgresql.c:46:8: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: db = p + 4; db[63] = '\0'; BUILDSTDERR: ^ BUILDSTDERR: ./decode_postgresql.c:52:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: snprintf(obuf + strlen(obuf), BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_postgresql.c:18: BUILDSTDERR: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern size_t strlen (const char *__s) BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./decode_postgresql.c:53:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: olen - strlen(obuf), BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_postgresql.c:18: BUILDSTDERR: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern size_t strlen (const char *__s) BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./decode_postgresql.c:52:18: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: snprintf(obuf + strlen(obuf), BUILDSTDERR: ~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/sys/types.h:25, BUILDSTDERR: from ./decode_postgresql.c:15: BUILDSTDERR: /usr/include/bits/stdio2.h:64:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: __NTH (snprintf (char *__restrict __s, size_t __n, BUILDSTDERR: ^~~~~ BUILDSTDERR: ./decode_postgresql.c:60:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: return (strlen(obuf)); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_postgresql.c:18: BUILDSTDERR: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern size_t strlen (const char *__s) BUILDSTDERR: ^~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./decode_pptp.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./decode_rip.c BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./decode_pptp.c:14: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./decode_rlogin.c BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./decode_rip.c:13: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./decode_rlogin.c:13: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./decode_portmap.c: In function 'decode_portmap': BUILDSTDERR: ./decode_portmap.c:41:28: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] BUILDSTDERR: xdrmem_create(&xdrs, buf + hdrlen, len - hdrlen, XDR_DECODE); BUILDSTDERR: ~~~~^~~~~~~~ BUILDSTDERR: In file included from /usr/include/tirpc/rpc/rpc.h:43, BUILDSTDERR: from ./decode_portmap.c:14: BUILDSTDERR: /usr/include/tirpc/rpc/xdr.h:355:15: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: ./decode_portmap.c:56:29: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] BUILDSTDERR: xdrmem_create(&xdrs, buf + hdrlen, len - hdrlen, BUILDSTDERR: ~~~~^~~~~~~~ BUILDSTDERR: In file included from /usr/include/tirpc/rpc/rpc.h:43, BUILDSTDERR: from ./decode_portmap.c:14: BUILDSTDERR: /usr/include/tirpc/rpc/xdr.h:355:15: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: ./decode_rlogin.c: In function 'decode_rlogin': BUILDSTDERR: ./decode_rlogin.c:32:10: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: strlcpy(obuf, "[", olen); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_rlogin.c:17: BUILDSTDERR: ./missing/strlcpy.h:1:8: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: size_t strlcpy(char *dst, const char *src, size_t siz); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./decode_rlogin.c:33:10: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: strlcat(obuf, p, olen); /* Local username */ BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_rlogin.c:18: BUILDSTDERR: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: size_t strlcat(char *dst, const char *src, size_t siz); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./decode_rlogin.c:33:16: warning: pointer targets in passing argument 2 of 'strlcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: strlcat(obuf, p, olen); /* Local username */ BUILDSTDERR: ^ BUILDSTDERR: In file included from ./decode_rlogin.c:18: BUILDSTDERR: ./missing/strlcat.h:1:8: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: size_t strlcat(char *dst, const char *src, size_t siz); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./decode_rlogin.c:34:10: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: strlcat(obuf, ":", olen); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_rlogin.c:18: BUILDSTDERR: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: size_t strlcat(char *dst, const char *src, size_t siz); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./decode_rlogin.c:35:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: p += strlen(p) + 1; BUILDSTDERR: ^ BUILDSTDERR: In file included from ./decode_rlogin.c:16: BUILDSTDERR: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern size_t strlen (const char *__s) BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./decode_rlogin.c:37:10: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: strlcat(obuf, p, olen); /* Remote username */ BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_rlogin.c:18: BUILDSTDERR: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: size_t strlcat(char *dst, const char *src, size_t siz); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./decode_rlogin.c:37:16: warning: pointer targets in passing argument 2 of 'strlcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: strlcat(obuf, p, olen); /* Remote username */ BUILDSTDERR: ^ BUILDSTDERR: In file included from ./decode_rlogin.c:18: BUILDSTDERR: ./missing/strlcat.h:1:8: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: size_t strlcat(char *dst, const char *src, size_t siz); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./decode_rlogin.c:38:10: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: strlcat(obuf, "]\n", olen); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_rlogin.c:18: BUILDSTDERR: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: size_t strlcat(char *dst, const char *src, size_t siz); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./decode_rlogin.c:39:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: p += strlen(p) + 1; BUILDSTDERR: ^ BUILDSTDERR: In file included from ./decode_rlogin.c:16: BUILDSTDERR: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern size_t strlen (const char *__s) BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./decode_rlogin.c:41:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: p += strlen(p) + 1; /* Skip term info */ BUILDSTDERR: ^ BUILDSTDERR: In file included from ./decode_rlogin.c:16: BUILDSTDERR: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern size_t strlen (const char *__s) BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./decode_rlogin.c:43:18: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] BUILDSTDERR: if ((q = strstr(p, "\xff\xffss")) != NULL) /* Skip window size */ BUILDSTDERR: ^ BUILDSTDERR: In file included from ./decode_rlogin.c:16: BUILDSTDERR: /usr/include/string.h:329:14: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern char *strstr (const char *__haystack, const char *__needle) BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./decode_rlogin.c:43:9: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] BUILDSTDERR: if ((q = strstr(p, "\xff\xffss")) != NULL) /* Skip window size */ BUILDSTDERR: ^ BUILDSTDERR: ./decode_rlogin.c:46:18: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] BUILDSTDERR: for (p = strtok(p, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) { BUILDSTDERR: ^ BUILDSTDERR: In file included from ./decode_rlogin.c:16: BUILDSTDERR: /usr/include/string.h:335:14: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern char *strtok (char *__restrict __s, const char *__restrict __delim) BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./decode_rlogin.c:46:9: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] BUILDSTDERR: for (p = strtok(p, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) { BUILDSTDERR: ^ BUILDSTDERR: ./decode_rlogin.c:46:43: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] BUILDSTDERR: for (p = strtok(p, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) { BUILDSTDERR: ^ BUILDSTDERR: ./decode_rlogin.c:47:11: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: strlcat(obuf, p, olen); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_rlogin.c:18: BUILDSTDERR: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: size_t strlcat(char *dst, const char *src, size_t siz); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./decode_rlogin.c:47:17: warning: pointer targets in passing argument 2 of 'strlcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: strlcat(obuf, p, olen); BUILDSTDERR: ^ BUILDSTDERR: In file included from ./decode_rlogin.c:18: BUILDSTDERR: ./missing/strlcat.h:1:8: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: size_t strlcat(char *dst, const char *src, size_t siz); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./decode_rlogin.c:48:11: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: strlcat(obuf, "\n", olen); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_rlogin.c:18: BUILDSTDERR: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: size_t strlcat(char *dst, const char *src, size_t siz); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./decode_rlogin.c:50:19: warning: pointer targets in passing argument 1 of 'strip_lines' differ in signedness [-Wpointer-sign] BUILDSTDERR: if (!strip_lines(obuf, Opt_lines)) BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_rlogin.c:21: BUILDSTDERR: ./decode.h:44:5: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: int strip_lines(char *buf, int max_lines); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: ./decode_rlogin.c:53:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: return (strlen(obuf)); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_rlogin.c:16: BUILDSTDERR: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern size_t strlen (const char *__s) BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./decode_rip.c: In function 'decode_rip': BUILDSTDERR: ./decode_rip.c:32:19: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: return (snprintf(obuf, olen, "%s\n", buf + 20)); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/sys/types.h:25, BUILDSTDERR: from ./decode_rip.c:13: BUILDSTDERR: /usr/include/bits/stdio2.h:64:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: __NTH (snprintf (char *__restrict __s, size_t __n, BUILDSTDERR: ^~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./decode_smb.c BUILDSTDERR: ./decode_pptp.c: In function 'decode_pptp': BUILDSTDERR: ./decode_pptp.c:187:20: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] BUILDSTDERR: if ((p = strchr(name, '\\')) == NULL) BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_pptp.c:18: BUILDSTDERR: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern char *strchr (const char *__s, int __c) BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./decode_pptp.c:187:11: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] BUILDSTDERR: if ((p = strchr(name, '\\')) == NULL) BUILDSTDERR: ^ BUILDSTDERR: ./decode_pptp.c:193:32: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: SHA1_Update(&ctx, p, strlen(p)); BUILDSTDERR: ^ BUILDSTDERR: In file included from ./decode_pptp.c:18: BUILDSTDERR: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern size_t strlen (const char *__s) BUILDSTDERR: ^~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./decode_smtp.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./decode_sniffer.c BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./decode_smb.c:13: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./decode_smtp.c:13: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./decode_sniffer.c:14: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./decode_smtp.c: In function 'decode_smtp': BUILDSTDERR: ./decode_smtp.c:31:18: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] BUILDSTDERR: for (p = strtok(buf, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) { BUILDSTDERR: ^~~ BUILDSTDERR: In file included from ./decode_smtp.c:16: BUILDSTDERR: /usr/include/string.h:335:14: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern char *strtok (char *__restrict __s, const char *__restrict __delim) BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./decode_smtp.c:33:12: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: strlcat(obuf, p, olen); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_smtp.c:17: BUILDSTDERR: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: size_t strlcat(char *dst, const char *src, size_t siz); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./decode_smtp.c:34:23: warning: pointer targets in passing argument 2 of 'base64_pton' differ in signedness [-Wpointer-sign] BUILDSTDERR: i = base64_pton(p, p, strlen(p)); BUILDSTDERR: ^ BUILDSTDERR: In file included from ./decode_smtp.c:19: BUILDSTDERR: ./base64.h:12:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int base64_pton(char const *, u_char *, size_t); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: ./decode_smtp.c:36:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: j = strlen(obuf); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_smtp.c:16: BUILDSTDERR: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern size_t strlen (const char *__s) BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./decode_smtp.c:37:18: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: snprintf(obuf + j, olen - j, " [%s]\n", p); BUILDSTDERR: ~~~~~^~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/sys/types.h:25, BUILDSTDERR: from ./decode_smtp.c:13: BUILDSTDERR: /usr/include/bits/stdio2.h:64:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: __NTH (snprintf (char *__restrict __s, size_t __n, BUILDSTDERR: ^~~~~ BUILDSTDERR: ./decode_smtp.c:41:12: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: strlcat(obuf, p, olen); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_smtp.c:17: BUILDSTDERR: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: size_t strlcat(char *dst, const char *src, size_t siz); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./decode_smtp.c:43:23: warning: pointer targets in passing argument 2 of 'base64_pton' differ in signedness [-Wpointer-sign] BUILDSTDERR: i = base64_pton(p, p, strlen(p)); BUILDSTDERR: ^ BUILDSTDERR: In file included from ./decode_smtp.c:19: BUILDSTDERR: ./base64.h:12:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int base64_pton(char const *, u_char *, size_t); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: ./decode_smtp.c:45:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: j = strlen(obuf); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_smtp.c:16: BUILDSTDERR: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern size_t strlen (const char *__s) BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./decode_smtp.c:46:18: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: snprintf(obuf + j, olen - j, " [%s]\n", p); BUILDSTDERR: ~~~~~^~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/sys/types.h:25, BUILDSTDERR: from ./decode_smtp.c:13: BUILDSTDERR: /usr/include/bits/stdio2.h:64:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: __NTH (snprintf (char *__restrict __s, size_t __n, BUILDSTDERR: ^~~~~ BUILDSTDERR: ./decode_smtp.c:55:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: return (strlen(obuf)); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_smtp.c:16: BUILDSTDERR: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern size_t strlen (const char *__s) BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./decode_smb.c: In function 'decode_smb': BUILDSTDERR: ./decode_smb.c:67:9: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: pass = q + 6; BUILDSTDERR: ^ BUILDSTDERR: ./decode_smb.c:75:9: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: pass = q + 12; BUILDSTDERR: ^ BUILDSTDERR: ./decode_smb.c:83:12: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: strlcat(obuf, user, olen); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_smb.c:18: BUILDSTDERR: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: size_t strlcat(char *dst, const char *src, size_t siz); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./decode_smb.c:84:12: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: strlcat(obuf, " ", olen); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_smb.c:18: BUILDSTDERR: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: size_t strlcat(char *dst, const char *src, size_t siz); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./decode_smb.c:85:12: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: strlcat(obuf, pass, olen); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_smb.c:18: BUILDSTDERR: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: size_t strlcat(char *dst, const char *src, size_t siz); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./decode_smb.c:86:12: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: strlcat(obuf, "\n", olen); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_smb.c:18: BUILDSTDERR: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: size_t strlcat(char *dst, const char *src, size_t siz); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./decode_smb.c:89:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: return (strlen(obuf)); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_smb.c:17: BUILDSTDERR: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern size_t strlen (const char *__s) BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./decode_sniffer.c: In function 'decode_sniffer': BUILDSTDERR: ./decode_sniffer.c:36:20: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: return (strlcpy(obuf, "[]\n", olen)); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_sniffer.c:19: BUILDSTDERR: ./missing/strlcpy.h:1:8: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: size_t strlcpy(char *dst, const char *src, size_t siz); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./decode_sniffer.c:40:20: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: return (strlcpy(obuf, "[]\n", olen)); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_sniffer.c:19: BUILDSTDERR: ./missing/strlcpy.h:1:8: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: size_t strlcpy(char *dst, const char *src, size_t siz); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./decode_sniffer.c:44:29: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] BUILDSTDERR: buf[len - 3]= '\0'; strtok(&buf[32], "\r\n"); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from ./decode_sniffer.c:17: BUILDSTDERR: /usr/include/string.h:335:14: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern char *strtok (char *__restrict __s, const char *__restrict __delim) BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./decode_sniffer.c:45:11: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: snprintf(obuf, olen, "%s [", &buf[32]); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/sys/types.h:25, BUILDSTDERR: from ./decode_sniffer.c:14: BUILDSTDERR: /usr/include/bits/stdio2.h:64:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: __NTH (snprintf (char *__restrict __s, size_t __n, BUILDSTDERR: ^~~~~ BUILDSTDERR: ./decode_sniffer.c:46:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: len = strlen(obuf); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_sniffer.c:17: BUILDSTDERR: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern size_t strlen (const char *__s) BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./decode_sniffer.c:47:18: warning: pointer targets in passing argument 1 of 'base64_pton' differ in signedness [-Wpointer-sign] BUILDSTDERR: i = base64_pton(&buf[32], &obuf[len], olen - len - 3); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from ./decode_sniffer.c:21: BUILDSTDERR: ./base64.h:12:5: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: int base64_pton(char const *, u_char *, size_t); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: ./decode_sniffer.c:49:10: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: strlcat(obuf, "]\n", olen); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_sniffer.c:18: BUILDSTDERR: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: size_t strlcat(char *dst, const char *src, size_t siz); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./decode_sniffer.c:51:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: return (strlen(obuf)); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_sniffer.c:17: BUILDSTDERR: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern size_t strlen (const char *__s) BUILDSTDERR: ^~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./decode_snmp.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./decode_socks.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./decode_tds.c BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./decode_snmp.c:13: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./decode_telnet.c BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./decode_tds.c:17: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./decode_socks.c:13: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./decode_telnet.c:13: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./decode_snmp.c: In function 'decode_snmp': BUILDSTDERR: ./decode_snmp.c:47:4: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] BUILDSTDERR: p = buf_strdup(b); BUILDSTDERR: ^ BUILDSTDERR: ./decode_tds.c: In function 'decode_tds': BUILDSTDERR: ./decode_tds.c:163:12: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: strlcat(obuf, tl->username, olen); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_tds.c:21: BUILDSTDERR: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: size_t strlcat(char *dst, const char *src, size_t siz); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./decode_tds.c:164:12: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: strlcat(obuf, "\n", olen); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_tds.c:21: BUILDSTDERR: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: size_t strlcat(char *dst, const char *src, size_t siz); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./decode_tds.c:170:12: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: strlcat(obuf, tl->password, olen); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_tds.c:21: BUILDSTDERR: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: size_t strlcat(char *dst, const char *src, size_t siz); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./decode_tds.c:171:12: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: strlcat(obuf, "\n", olen); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_tds.c:21: BUILDSTDERR: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: size_t strlcat(char *dst, const char *src, size_t siz); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./decode_tds.c:204:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: snprintf(obuf + strlen(obuf), BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_tds.c:20: BUILDSTDERR: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern size_t strlen (const char *__s) BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./decode_tds.c:205:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: olen - strlen(obuf), BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_tds.c:20: BUILDSTDERR: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern size_t strlen (const char *__s) BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./decode_tds.c:204:18: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: snprintf(obuf + strlen(obuf), BUILDSTDERR: ~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/sys/types.h:25, BUILDSTDERR: from ./decode_tds.c:17: BUILDSTDERR: /usr/include/bits/stdio2.h:64:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: __NTH (snprintf (char *__restrict __s, size_t __n, BUILDSTDERR: ^~~~~ BUILDSTDERR: ./decode_tds.c:207:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: return(strlen(obuf)); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_tds.c:20: BUILDSTDERR: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern size_t strlen (const char *__s) BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./decode_tds.c:210:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: return (strlen(obuf)); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_tds.c:20: BUILDSTDERR: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern size_t strlen (const char *__s) BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./decode_tds.c:137:27: warning: variable 'myt7l' set but not used [-Wunused-but-set-variable] BUILDSTDERR: struct tds7_login *t7l, *myt7l; BUILDSTDERR: ^~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./decode_vrrp.c BUILDSTDERR: ./decode_telnet.c: In function 'decode_telnet': BUILDSTDERR: ./decode_telnet.c:28:23: warning: pointer targets in passing argument 1 of 'is_ascii_string' differ in signedness [-Wpointer-sign] BUILDSTDERR: if (!is_ascii_string(buf, len)) BUILDSTDERR: ^~~ BUILDSTDERR: In file included from ./decode_telnet.c:20: BUILDSTDERR: ./decode.h:46:5: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: int is_ascii_string(char *buf, int len); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: ./decode_telnet.c:31:18: warning: pointer targets in passing argument 1 of 'strip_lines' differ in signedness [-Wpointer-sign] BUILDSTDERR: if (strip_lines(buf, Opt_lines) < 2) BUILDSTDERR: ^~~ BUILDSTDERR: In file included from ./decode_telnet.c:20: BUILDSTDERR: ./decode.h:44:5: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: int strip_lines(char *buf, int max_lines); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: ./decode_telnet.c:34:10: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: strlcpy(obuf, buf, olen); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_telnet.c:17: BUILDSTDERR: ./missing/strlcpy.h:1:8: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: size_t strlcpy(char *dst, const char *src, size_t siz); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./decode_telnet.c:34:16: warning: pointer targets in passing argument 2 of 'strlcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: strlcpy(obuf, buf, olen); BUILDSTDERR: ^~~ BUILDSTDERR: In file included from ./decode_telnet.c:17: BUILDSTDERR: ./missing/strlcpy.h:1:8: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: size_t strlcpy(char *dst, const char *src, size_t siz); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./decode_telnet.c:36:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: return (strlen(obuf)); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_telnet.c:16: BUILDSTDERR: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern size_t strlen (const char *__s) BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./decode_socks.c: In function 'decode_socks': BUILDSTDERR: ./decode_socks.c:48:11: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: snprintf(obuf, olen, "%s ", p - 1); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/sys/types.h:25, BUILDSTDERR: from ./decode_socks.c:13: BUILDSTDERR: /usr/include/bits/stdio2.h:64:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: __NTH (snprintf (char *__restrict __s, size_t __n, BUILDSTDERR: ^~~~~ BUILDSTDERR: ./decode_socks.c:56:10: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: strlcat(obuf, p - 1, olen); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_socks.c:17: BUILDSTDERR: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: size_t strlcat(char *dst, const char *src, size_t siz); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./decode_socks.c:56:18: warning: pointer targets in passing argument 2 of 'strlcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: strlcat(obuf, p - 1, olen); BUILDSTDERR: ~~^~~ BUILDSTDERR: In file included from ./decode_socks.c:17: BUILDSTDERR: ./missing/strlcat.h:1:8: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: size_t strlcat(char *dst, const char *src, size_t siz); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./decode_socks.c:57:10: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: strlcat(obuf, "\n", olen); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_socks.c:17: BUILDSTDERR: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: size_t strlcat(char *dst, const char *src, size_t siz); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./decode_socks.c:59:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: return (strlen(obuf)); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_socks.c:16: BUILDSTDERR: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern size_t strlen (const char *__s) BUILDSTDERR: ^~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./decode_yp.c BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./decode_vrrp.c:14: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./decode_x11.c BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./decode_yp.c:15: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./decode_x11.c:13: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ rpcgen -h nfs_prot.x -o nfs_prot.h BUILDSTDERR: ./decode_x11.c: In function 'decode_x11': BUILDSTDERR: ./decode_x11.c:28:4: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: p = buf + 12; BUILDSTDERR: ^ BUILDSTDERR: ./decode_x11.c:33:10: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: strlcpy(obuf, "MIT-MAGIC-COOKIE-1 ", olen); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_x11.c:18: BUILDSTDERR: ./missing/strlcpy.h:1:8: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: size_t strlcpy(char *dst, const char *src, size_t siz); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./decode_x11.c:37:4: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: q = obuf + 19; BUILDSTDERR: ^ BUILDSTDERR: ./decode_x11.c:41:10: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: strlcat(obuf, "\n", olen); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_x11.c:17: BUILDSTDERR: ./missing/strlcat.h:1:8: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: size_t strlcat(char *dst, const char *src, size_t siz); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./decode_x11.c:43:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: return (strlen(obuf)); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./decode_x11.c:16: BUILDSTDERR: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern size_t strlen (const char *__s) BUILDSTDERR: ^~~~~~ rpcgen -c nfs_prot.x -o nfs_prot.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./filesnarf.c BUILDSTDERR: ./decode_yp.c: In function 'decode_yppasswd': BUILDSTDERR: ./decode_yp.c:86:28: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] BUILDSTDERR: xdrmem_create(&xdrs, buf + hdrlen, len - hdrlen, XDR_DECODE); BUILDSTDERR: ~~~~^~~~~~~~ BUILDSTDERR: In file included from /usr/include/tirpc/rpc/rpc.h:43, BUILDSTDERR: from ./decode_yp.c:17: BUILDSTDERR: /usr/include/tirpc/rpc/xdr.h:355:15: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: ./decode_yp.c:89:13: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: snprintf(obuf, olen, BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/sys/types.h:25, BUILDSTDERR: from ./decode_yp.c:15: BUILDSTDERR: /usr/include/bits/stdio2.h:64:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: __NTH (snprintf (char *__restrict __s, size_t __n, BUILDSTDERR: ^~~~~ BUILDSTDERR: ./decode_yp.c:98:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: return (strlen(obuf)); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/include/sys/un.h:37, BUILDSTDERR: from /usr/include/tirpc/rpc/clnt.h:46, BUILDSTDERR: from /usr/include/tirpc/rpc/rpc.h:49, BUILDSTDERR: from ./decode_yp.c:17: BUILDSTDERR: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern size_t strlen (const char *__s) BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./decode_yp.c: In function 'decode_ypserv': BUILDSTDERR: ./decode_yp.c:119:28: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] BUILDSTDERR: xdrmem_create(&xdrs, buf + hdrlen, len - hdrlen, XDR_DECODE); BUILDSTDERR: ~~~~^~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./macof.c BUILDSTDERR: In file included from /usr/include/tirpc/rpc/rpc.h:43, BUILDSTDERR: from ./decode_yp.c:17: BUILDSTDERR: /usr/include/tirpc/rpc/xdr.h:355:15: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: ./decode_yp.c:132:29: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] BUILDSTDERR: xdrmem_create(&xdrs, buf + hdrlen, len - hdrlen, BUILDSTDERR: ~~~~^~~~~~~~ BUILDSTDERR: In file included from /usr/include/tirpc/rpc/rpc.h:43, BUILDSTDERR: from ./decode_yp.c:17: BUILDSTDERR: /usr/include/tirpc/rpc/xdr.h:355:15: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: ./decode_yp.c:136:15: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: snprintf(obuf, olen, "%s\n", BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/sys/types.h:25, BUILDSTDERR: from ./decode_yp.c:15: BUILDSTDERR: /usr/include/bits/stdio2.h:64:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: __NTH (snprintf (char *__restrict __s, size_t __n, BUILDSTDERR: ^~~~~ BUILDSTDERR: ./decode_yp.c:144:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: return (strlen(obuf)); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/include/sys/un.h:37, BUILDSTDERR: from /usr/include/tirpc/rpc/clnt.h:46, BUILDSTDERR: from /usr/include/tirpc/rpc/rpc.h:49, BUILDSTDERR: from ./decode_yp.c:17: BUILDSTDERR: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern size_t strlen (const char *__s) BUILDSTDERR: ^~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./mailsnarf.c BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./filesnarf.c:13: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./macof.c:16: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./mailsnarf.c:13: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./msgsnarf.c BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./msgsnarf.c:13: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./macof.c: In function 'main': BUILDSTDERR: ./macof.c:61:26: warning: unused variable 'llif' [-Wunused-variable] BUILDSTDERR: struct libnet_link_int *llif; BUILDSTDERR: ^~~~ BUILDSTDERR: ./filesnarf.c: In function 'nfs2_call': BUILDSTDERR: ./filesnarf.c:161:24: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] BUILDSTDERR: xdrmem_create(&xdrs, buf, len, XDR_DECODE); BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/tirpc/rpc/rpc.h:43, BUILDSTDERR: from ./filesnarf.c:14: BUILDSTDERR: /usr/include/tirpc/rpc/xdr.h:355:15: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: ./filesnarf.c:174:24: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] BUILDSTDERR: xdrmem_create(&xdrs, buf, len, XDR_DECODE); BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/tirpc/rpc/rpc.h:43, BUILDSTDERR: from ./filesnarf.c:14: BUILDSTDERR: /usr/include/tirpc/rpc/xdr.h:355:15: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: ./filesnarf.c:177:34: warning: pointer targets in passing argument 1 of 'fh_map_find' differ in signedness [-Wpointer-sign] BUILDSTDERR: fname = fh_map_find(rargs.file.data, NFS_FHSIZE); BUILDSTDERR: ~~~~~~~~~~^~~~~ BUILDSTDERR: ./filesnarf.c:105:1: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: fh_map_find(u_char *fh, int len) BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: ./filesnarf.c: In function 'nfs2_reply': BUILDSTDERR: ./filesnarf.c:205:24: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] BUILDSTDERR: xdrmem_create(&xdrs, buf, len, XDR_DECODE); BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/tirpc/rpc/rpc.h:43, BUILDSTDERR: from ./filesnarf.c:14: BUILDSTDERR: /usr/include/tirpc/rpc/xdr.h:355:15: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: ./filesnarf.c:211:38: warning: pointer targets in passing argument 2 of 'fh_map_add' differ in signedness [-Wpointer-sign] BUILDSTDERR: dres.diropres_u.diropres.file.data, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ BUILDSTDERR: ./filesnarf.c:89:1: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: fh_map_add(char *filename, u_char *fh, int len) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ./filesnarf.c:218:24: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] BUILDSTDERR: xdrmem_create(&xdrs, buf, len, XDR_DECODE); BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/tirpc/rpc/rpc.h:43, BUILDSTDERR: from ./filesnarf.c:14: BUILDSTDERR: /usr/include/tirpc/rpc/xdr.h:355:15: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: ./filesnarf.c:224:32: warning: pointer targets in passing argument 3 of 'nfs_save' differ in signedness [-Wpointer-sign] BUILDSTDERR: rres.readres_u.reply.data.data_val, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: ./filesnarf.c:132:1: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: nfs_save(struct tuple4 *addr, struct myreadargs *ma, u_char *buf, int len) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: ./filesnarf.c: In function 'nfs3_call': BUILDSTDERR: ./filesnarf.c:246:24: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] BUILDSTDERR: xdrmem_create(&xdrs, buf, len, XDR_DECODE); BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/tirpc/rpc/rpc.h:43, BUILDSTDERR: from ./filesnarf.c:14: BUILDSTDERR: /usr/include/tirpc/rpc/xdr.h:355:15: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: ./filesnarf.c:259:24: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] BUILDSTDERR: xdrmem_create(&xdrs, buf, len, XDR_DECODE); BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/tirpc/rpc/rpc.h:43, BUILDSTDERR: from ./filesnarf.c:14: BUILDSTDERR: /usr/include/tirpc/rpc/xdr.h:355:15: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: ./filesnarf.c:262:39: warning: pointer targets in passing argument 1 of 'fh_map_find' differ in signedness [-Wpointer-sign] BUILDSTDERR: fname = fh_map_find(rargs.file.data.data_val, BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: ./filesnarf.c:105:1: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: fh_map_find(u_char *fh, int len) BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: ./filesnarf.c: In function 'nfs3_reply': BUILDSTDERR: ./filesnarf.c:290:24: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] BUILDSTDERR: xdrmem_create(&xdrs, buf, len, XDR_DECODE); BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/tirpc/rpc/rpc.h:43, BUILDSTDERR: from ./filesnarf.c:14: BUILDSTDERR: /usr/include/tirpc/rpc/xdr.h:355:15: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: ./filesnarf.c:296:41: warning: pointer targets in passing argument 2 of 'fh_map_add' differ in signedness [-Wpointer-sign] BUILDSTDERR: lres.LOOKUP3res_u.resok.object.data.data_val, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: ./filesnarf.c:89:1: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: fh_map_add(char *filename, u_char *fh, int len) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ./filesnarf.c:304:24: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] BUILDSTDERR: xdrmem_create(&xdrs, buf, len, XDR_DECODE); BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/tirpc/rpc/rpc.h:43, BUILDSTDERR: from ./filesnarf.c:14: BUILDSTDERR: /usr/include/tirpc/rpc/xdr.h:355:15: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: ./filesnarf.c:308:20: warning: comparison between 'nfsstat' {aka 'enum nfsstat'} and 'enum nfsstat3' [-Wenum-compare] BUILDSTDERR: if (rres.status == NFS3_OK) { BUILDSTDERR: ^~ BUILDSTDERR: ./filesnarf.c:310:33: warning: pointer targets in passing argument 3 of 'nfs_save' differ in signedness [-Wpointer-sign] BUILDSTDERR: rres.READ3res_u.resok.data.data_val, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: ./filesnarf.c:132:1: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: nfs_save(struct tuple4 *addr, struct myreadargs *ma, u_char *buf, int len) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: ./filesnarf.c: In function 'decode_tcp_nfs_half': BUILDSTDERR: ./filesnarf.c:395:6: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] BUILDSTDERR: buf = hs->data; BUILDSTDERR: ^ BUILDSTDERR: ./macof.c:75:10: warning: 'l' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: Src = libnet_name2addr4(l, optarg, 0); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./filesnarf.c: In function 'nfs_save': BUILDSTDERR: ./filesnarf.c:143:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(fd, buf, len); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./mailsnarf.c: In function 'process_pop_client': BUILDSTDERR: ./mailsnarf.c:118:17: warning: pointer targets in passing argument 2 of 'buf_init' differ in signedness [-Wpointer-sign] BUILDSTDERR: buf_init(&buf, data, len); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./mailsnarf.c:27: BUILDSTDERR: ./buf.h:22:6: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: void buf_init(buf_t buf, u_char *data, int len); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: ./buf.h:31:31: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: #define buf_ptr(b) ((b)->base + (b)->offset) BUILDSTDERR: ~~~~~~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: ./mailsnarf.c:124:19: note: in expansion of macro 'buf_ptr' BUILDSTDERR: if (strncasecmp(buf_ptr(line), "RETR ", 5) == 0) { BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:431, BUILDSTDERR: from ./mailsnarf.c:18: BUILDSTDERR: /usr/include/strings.h:120:12: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: ./mailsnarf.c: In function 'process_pop_server': BUILDSTDERR: ./mailsnarf.c:138:17: warning: pointer targets in passing argument 2 of 'buf_init' differ in signedness [-Wpointer-sign] BUILDSTDERR: buf_init(&buf, data, len); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./mailsnarf.c:27: BUILDSTDERR: ./buf.h:22:6: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: void buf_init(buf_t buf, u_char *data, int len); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: ./buf.h:31:31: warning: pointer targets in passing argument 1 of 'regex_match' differ in signedness [-Wpointer-sign] BUILDSTDERR: #define buf_ptr(b) ((b)->base + (b)->offset) BUILDSTDERR: ~~~~~~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: ./mailsnarf.c:160:20: note: in expansion of macro 'buf_ptr' BUILDSTDERR: if (regex_match(buf_ptr(body))) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./mailsnarf.c:67:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: regex_match(char *string) BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: In file included from ./mailsnarf.c:27: BUILDSTDERR: ./buf.h:31:31: warning: pointer targets in passing argument 2 of 'print_mbox_msg' differ in signedness [-Wpointer-sign] BUILDSTDERR: #define buf_ptr(b) ((b)->base + (b)->offset) BUILDSTDERR: ~~~~~~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: ./mailsnarf.c:161:26: note: in expansion of macro 'buf_ptr' BUILDSTDERR: print_mbox_msg(NULL, buf_ptr(body)); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./mailsnarf.c:89:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: print_mbox_msg(char *from, char *msg) BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: ./mailsnarf.c: In function 'process_smtp_client': BUILDSTDERR: ./mailsnarf.c:176:17: warning: pointer targets in passing argument 2 of 'buf_init' differ in signedness [-Wpointer-sign] BUILDSTDERR: buf_init(&buf, data, len); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./mailsnarf.c:27: BUILDSTDERR: ./buf.h:22:6: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: void buf_init(buf_t buf, u_char *data, int len); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: ./mailsnarf.c:182:6: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: p = buf_ptr(line); BUILDSTDERR: ^ BUILDSTDERR: In file included from ./mailsnarf.c:27: BUILDSTDERR: ./buf.h:31:31: warning: pointer targets in passing argument 1 of 'regex_match' differ in signedness [-Wpointer-sign] BUILDSTDERR: #define buf_ptr(b) ((b)->base + (b)->offset) BUILDSTDERR: ~~~~~~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: ./mailsnarf.c:216:20: note: in expansion of macro 'buf_ptr' BUILDSTDERR: if (regex_match(buf_ptr(body))) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./mailsnarf.c:67:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: regex_match(char *string) BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: In file included from ./mailsnarf.c:27: BUILDSTDERR: ./buf.h:31:31: warning: pointer targets in passing argument 2 of 'print_mbox_msg' differ in signedness [-Wpointer-sign] BUILDSTDERR: #define buf_ptr(b) ((b)->base + (b)->offset) BUILDSTDERR: ~~~~~~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: ./mailsnarf.c:217:32: note: in expansion of macro 'buf_ptr' BUILDSTDERR: print_mbox_msg(smtp->from, buf_ptr(body)); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./mailsnarf.c:89:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: print_mbox_msg(char *from, char *msg) BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: ./msgsnarf.c: In function 'process_aim': BUILDSTDERR: ./msgsnarf.c:146:7: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] BUILDSTDERR: p = buf_strdup(msg); BUILDSTDERR: ^ BUILDSTDERR: ./msgsnarf.c:148:21: warning: pointer targets in passing argument 1 of 'regex_match' differ in signedness [-Wpointer-sign] BUILDSTDERR: if (regex_match(p)) BUILDSTDERR: ^ BUILDSTDERR: ./msgsnarf.c:67:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: regex_match(char *string) BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: ./msgsnarf.c:162:7: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] BUILDSTDERR: p = buf_strdup(msg); BUILDSTDERR: ^ BUILDSTDERR: ./msgsnarf.c:164:21: warning: pointer targets in passing argument 1 of 'regex_match' differ in signedness [-Wpointer-sign] BUILDSTDERR: if (regex_match(p)) BUILDSTDERR: ^ BUILDSTDERR: ./msgsnarf.c:67:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: regex_match(char *string) BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: ./msgsnarf.c:198:7: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] BUILDSTDERR: p = buf_strdup(msg); BUILDSTDERR: ^ BUILDSTDERR: ./msgsnarf.c:200:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: if (p && strlen(p) && regex_match(p)) { BUILDSTDERR: ^ BUILDSTDERR: In file included from ./msgsnarf.c:19: BUILDSTDERR: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern size_t strlen (const char *__s) BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./msgsnarf.c:200:39: warning: pointer targets in passing argument 1 of 'regex_match' differ in signedness [-Wpointer-sign] BUILDSTDERR: if (p && strlen(p) && regex_match(p)) { BUILDSTDERR: ^ BUILDSTDERR: ./msgsnarf.c:67:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: regex_match(char *string) BUILDSTDERR: ^~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./sshmitm.c BUILDSTDERR: ./msgsnarf.c: In function 'sniff_msgs': BUILDSTDERR: ./msgsnarf.c:599:34: warning: pointer targets in passing argument 2 of 'process_msgs' differ in signedness [-Wpointer-sign] BUILDSTDERR: i = process_msgs(c, ts->server.data, BUILDSTDERR: ~~~~~~~~~~^~~~~ BUILDSTDERR: ./msgsnarf.c:599:34: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: ./msgsnarf.c:604:34: warning: pointer targets in passing argument 2 of 'process_msgs' differ in signedness [-Wpointer-sign] BUILDSTDERR: i = process_msgs(c, ts->client.data, BUILDSTDERR: ~~~~~~~~~~^~~~~ BUILDSTDERR: ./msgsnarf.c:604:34: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: ./msgsnarf.c:615:30: warning: pointer targets in passing argument 2 of 'process_msgs' differ in signedness [-Wpointer-sign] BUILDSTDERR: process_msgs(c, ts->server.data, BUILDSTDERR: ~~~~~~~~~~^~~~~ BUILDSTDERR: ./msgsnarf.c:615:30: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: ./msgsnarf.c:618:30: warning: pointer targets in passing argument 2 of 'process_msgs' differ in signedness [-Wpointer-sign] BUILDSTDERR: process_msgs(c, ts->client.data, BUILDSTDERR: ~~~~~~~~~~^~~~~ BUILDSTDERR: ./msgsnarf.c:618:30: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from /usr/include/sys/param.h:25, BUILDSTDERR: from ./sshmitm.c:13: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./ssh.c BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from /usr/include/sys/param.h:25, BUILDSTDERR: from ./ssh.c:13: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./sshmitm.c:45:21: warning: built-in function 'csin' declared as non-function [-Wbuiltin-declaration-mismatch] BUILDSTDERR: struct sockaddr_in csin, ssin; BUILDSTDERR: ^~~~ BUILDSTDERR: ./sshmitm.c: In function 'mitm_init': BUILDSTDERR: ./sshmitm.c:135:2: warning: 'RSA_generate_key' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: ssh_client_ctx->hostkey = RSA_generate_key(1024, 35, NULL, NULL); BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/openssl/rsa.h:13, BUILDSTDERR: from /usr/include/openssl/x509.h:31, BUILDSTDERR: from /usr/include/openssl/ssl.h:50, BUILDSTDERR: from ./sshmitm.c:18: BUILDSTDERR: /usr/include/openssl/rsa.h:193:1: note: declared here BUILDSTDERR: DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./sshmitm.c:136:2: warning: 'RSA_generate_key' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: ssh_client_ctx->servkey = RSA_generate_key(768, 35, NULL, NULL); BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/openssl/rsa.h:13, BUILDSTDERR: from /usr/include/openssl/x509.h:31, BUILDSTDERR: from /usr/include/openssl/ssl.h:50, BUILDSTDERR: from ./sshmitm.c:18: BUILDSTDERR: /usr/include/openssl/rsa.h:193:1: note: declared here BUILDSTDERR: DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./sshmitm.c: In function 'mitm_child': BUILDSTDERR: ./sshmitm.c:204:46: warning: pointer targets in passing argument 3 of 'ssh_strlcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: ssh_strlcat(userpass, sizeof(userpass), buf + 1, i - 1); BUILDSTDERR: ~~~~^~~ BUILDSTDERR: ./sshmitm.c:59:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: ssh_strlcat(char *dst, int size, char *src, int len) BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: ./sshmitm.c:237:15: warning: pointer targets in passing argument 3 of 'ssh_strlcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: buf + 1, i - 1); BUILDSTDERR: ~~~~^~~ BUILDSTDERR: ./sshmitm.c:59:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: ssh_strlcat(char *dst, int size, char *src, int len) BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: ./sshmitm.c:248:13: warning: pointer targets in passing argument 7 of 'record' differ in signedness [-Wpointer-sign] BUILDSTDERR: userpass, strlen(userpass)); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from ./sshmitm.c:30: BUILDSTDERR: ./record.h:16:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int record(u_int32_t src, u_int32_t dst, int proto, u_short sport, BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./sshmitm.c: In function 'mitm_run': BUILDSTDERR: ./sshmitm.c:342:35: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] BUILDSTDERR: (struct sockaddr *)&csin, &i); BUILDSTDERR: ^~ BUILDSTDERR: In file included from ./sshmitm.c:15: BUILDSTDERR: /usr/include/sys/socket.h:232:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' BUILDSTDERR: extern int accept (int __fd, __SOCKADDR_ARG __addr, BUILDSTDERR: ^~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./sshcrypto.c BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./sshcrypto.c:15: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./sshow.c BUILDSTDERR: ./sshcrypto.c: In function 'rsa_public_encrypt': BUILDSTDERR: ./sshcrypto.c:74:2: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] BUILDSTDERR: memset(outbuf, 0, olen); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./sshcrypto.c:74:2: warning: incompatible implicit declaration of built-in function 'memset' BUILDSTDERR: ./sshcrypto.c:74:2: note: include '' or provide a declaration of 'memset' BUILDSTDERR: ./sshcrypto.c:25:1: BUILDSTDERR: +#include BUILDSTDERR: BUILDSTDERR: ./sshcrypto.c:74:2: BUILDSTDERR: memset(outbuf, 0, olen); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./sshcrypto.c: In function 'rsa_private_decrypt': BUILDSTDERR: ./sshcrypto.c:109:2: warning: incompatible implicit declaration of built-in function 'memset' BUILDSTDERR: memset(outbuf, 0, olen); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./sshcrypto.c:109:2: note: include '' or provide a declaration of 'memset' BUILDSTDERR: ./sshcrypto.c: In function 'blowfish_init': BUILDSTDERR: ./sshcrypto.c:138:2: warning: incompatible implicit declaration of built-in function 'memset' BUILDSTDERR: memset(state->iv, 0, 8); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./sshcrypto.c:138:2: note: include '' or provide a declaration of 'memset' BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./sshow.c:16: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./ssh.c: In function 'SSH_accept': BUILDSTDERR: ./ssh.c:252:9: warning: passing argument 1 of 'put_bn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: put_bn(servkey_e, &p); /* servkey exponent */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: ./ssh.c:92:16: note: expected 'BIGNUM *' {aka 'struct bignum_st *'} but argument is of type 'const BIGNUM *' {aka 'const struct bignum_st *'} BUILDSTDERR: put_bn(BIGNUM *bn, u_char **pp) BUILDSTDERR: ~~~~~~~~^~ BUILDSTDERR: ./ssh.c:253:9: warning: passing argument 1 of 'put_bn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: put_bn(servkey_n, &p); /* servkey modulus */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: ./ssh.c:92:16: note: expected 'BIGNUM *' {aka 'struct bignum_st *'} but argument is of type 'const BIGNUM *' {aka 'const struct bignum_st *'} BUILDSTDERR: put_bn(BIGNUM *bn, u_char **pp) BUILDSTDERR: ~~~~~~~~^~ BUILDSTDERR: ./ssh.c:261:9: warning: passing argument 1 of 'put_bn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: put_bn(hostkey_e, &p); /* hostkey exponent */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: ./ssh.c:92:16: note: expected 'BIGNUM *' {aka 'struct bignum_st *'} but argument is of type 'const BIGNUM *' {aka 'const struct bignum_st *'} BUILDSTDERR: put_bn(BIGNUM *bn, u_char **pp) BUILDSTDERR: ~~~~~~~~^~ BUILDSTDERR: ./ssh.c:262:9: warning: passing argument 1 of 'put_bn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: put_bn(hostkey_n, &p); /* hostkey modulus */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: ./ssh.c:92:16: note: expected 'BIGNUM *' {aka 'struct bignum_st *'} but argument is of type 'const BIGNUM *' {aka 'const struct bignum_st *'} BUILDSTDERR: put_bn(BIGNUM *bn, u_char **pp) BUILDSTDERR: ~~~~~~~~^~ BUILDSTDERR: ./ssh.c:342:34: warning: passing argument 2 of 'ssh_session_id' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: if ((p = ssh_session_id(cookie, hostkey_n, BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: ./ssh.c:122:40: note: expected 'BIGNUM *' {aka 'struct bignum_st *'} but argument is of type 'const BIGNUM *' {aka 'const struct bignum_st *'} BUILDSTDERR: ssh_session_id(u_char *cookie, BIGNUM *hostkey_n, BIGNUM *servkey_n) BUILDSTDERR: ~~~~~~~~^~~~~~~~~ BUILDSTDERR: ./ssh.c:343:5: warning: passing argument 3 of 'ssh_session_id' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: servkey_n)) == NULL) { BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: ./ssh.c:122:59: note: expected 'BIGNUM *' {aka 'struct bignum_st *'} but argument is of type 'const BIGNUM *' {aka 'const struct bignum_st *'} BUILDSTDERR: ssh_session_id(u_char *cookie, BIGNUM *hostkey_n, BIGNUM *servkey_n) BUILDSTDERR: ~~~~~~~~^~~~~~~~~ BUILDSTDERR: ./sshow.c: In function 'client_to_server': BUILDSTDERR: ./sshow.c:221:7: warning: unused variable 'CLK_TCK' [-Wunused-variable] BUILDSTDERR: long CLK_TCK = sysconf(_SC_CLK_TCK); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./sshow.c: In function 'server_to_client': BUILDSTDERR: ./sshow.c:272:7: warning: unused variable 'CLK_TCK' [-Wunused-variable] BUILDSTDERR: long CLK_TCK = sysconf(_SC_CLK_TCK); BUILDSTDERR: ^~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./tcpkill.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./tcpnice.c BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./tcpkill.c:13: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./tcpnice.c:13: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./tcpkill.c: In function 'tcp_kill_cb': BUILDSTDERR: ./tcpkill.c:64:11: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: snprintf(ctext, sizeof(ctext), "%s:%d > %s:%d:", BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/sys/types.h:25, BUILDSTDERR: from ./tcpkill.c:13: BUILDSTDERR: /usr/include/bits/stdio2.h:64:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: __NTH (snprintf (char *__restrict __s, size_t __n, BUILDSTDERR: ^~~~~ BUILDSTDERR: ./tcpkill.c:87:27: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'u_int32_t' {aka 'unsigned int'} [-Wformat=] BUILDSTDERR: fprintf(stderr, "%s R %lu:%lu(0) win 0\n", ctext, seq, seq); BUILDSTDERR: ~~^ ~~~ BUILDSTDERR: %u BUILDSTDERR: ./tcpkill.c:87:31: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'u_int32_t' {aka 'unsigned int'} [-Wformat=] BUILDSTDERR: fprintf(stderr, "%s R %lu:%lu(0) win 0\n", ctext, seq, seq); BUILDSTDERR: ~~^ ~~~ BUILDSTDERR: %u BUILDSTDERR: ./tcpkill.c:46:9: warning: variable 'len' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int i, len; BUILDSTDERR: ^~~ BUILDSTDERR: ./tcpnice.c: In function 'send_tcp_window_advertisement': BUILDSTDERR: ./tcpnice.c:65:42: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type '__uint32_t' {aka 'unsigned int'} [-Wformat=] BUILDSTDERR: fprintf(stderr, "%s:%d > %s:%d: . ack %lu win %d\n", BUILDSTDERR: ~~^ BUILDSTDERR: %u BUILDSTDERR: ./tcpnice.c: In function 'tcp_nice_cb': BUILDSTDERR: ./tcpnice.c:136:6: warning: variable 'len' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int len; BUILDSTDERR: ^~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./urlsnarf.c BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./urlsnarf.c:13: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./webmitm.c BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from /usr/include/sys/param.h:25, BUILDSTDERR: from ./webmitm.c:13: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./urlsnarf.c: In function 'escape_log_entry': BUILDSTDERR: ./urlsnarf.c:102:9: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: for (c = string, len = 0; *c; c++) { BUILDSTDERR: ^ BUILDSTDERR: ./urlsnarf.c:113:9: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: for (c = string, o = out; *c; c++, o++) { BUILDSTDERR: ^ BUILDSTDERR: ./urlsnarf.c:113:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: for (c = string, o = out; *c; c++, o++) { BUILDSTDERR: ^ BUILDSTDERR: ./urlsnarf.c:115:13: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: snprintf(o, 5, "\\x%02x", *c); BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/sys/types.h:25, BUILDSTDERR: from ./urlsnarf.c:13: BUILDSTDERR: /usr/include/bits/stdio2.h:64:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: __NTH (snprintf (char *__restrict __s, size_t __n, BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from ./urlsnarf.c:30: BUILDSTDERR: ./urlsnarf.c: In function 'process_http_request': BUILDSTDERR: ./buf.h:31:31: warning: pointer targets in passing argument 1 of 'regex_match' differ in signedness [-Wpointer-sign] BUILDSTDERR: #define buf_ptr(b) ((b)->base + (b)->offset) BUILDSTDERR: ~~~~~~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: ./urlsnarf.c:142:20: note: in expansion of macro 'buf_ptr' BUILDSTDERR: if (!regex_match(buf_ptr(msg))) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./urlsnarf.c:50:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: regex_match(char *string) BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: In file included from ./urlsnarf.c:30: BUILDSTDERR: ./buf.h:31:31: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] BUILDSTDERR: #define buf_ptr(b) ((b)->base + (b)->offset) BUILDSTDERR: ~~~~~~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: ./urlsnarf.c:145:21: note: in expansion of macro 'buf_ptr' BUILDSTDERR: if ((req = strtok(buf_ptr(msg), "\r\n")) == NULL) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from ./urlsnarf.c:21: BUILDSTDERR: /usr/include/string.h:335:14: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern char *strtok (char *__restrict __s, const char *__restrict __delim) BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./urlsnarf.c:166:24: warning: pointer targets in passing argument 2 of 'base64_pton' differ in signedness [-Wpointer-sign] BUILDSTDERR: i = base64_pton(p, p, strlen(p)); BUILDSTDERR: ^ BUILDSTDERR: In file included from ./urlsnarf.c:31: BUILDSTDERR: ./base64.h:12:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int base64_pton(char const *, u_char *, size_t); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: ./urlsnarf.c: In function 'sniff_http_client': BUILDSTDERR: ./urlsnarf.c:224:50: warning: pointer targets in passing argument 2 of 'process_http_request' differ in signedness [-Wpointer-sign] BUILDSTDERR: i = process_http_request(&ts->addr, ts->server.data, BUILDSTDERR: ~~~~~~~~~~^~~~~ BUILDSTDERR: ./urlsnarf.c:129:1: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: process_http_request(struct tuple4 *addr, u_char *data, int len) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./urlsnarf.c:233:46: warning: pointer targets in passing argument 2 of 'process_http_request' differ in signedness [-Wpointer-sign] BUILDSTDERR: process_http_request(&ts->addr, ts->server.data, BUILDSTDERR: ~~~~~~~~~~^~~~~ BUILDSTDERR: ./urlsnarf.c:129:1: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: process_http_request(struct tuple4 *addr, u_char *data, int len) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./urlsnarf.c: In function 'main': BUILDSTDERR: ./urlsnarf.c:346:35: warning: passing argument 3 of 'pcap_next_ex' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: while ((rc = pcap_next_ex(p, &h, &d)) == 1) { BUILDSTDERR: ^~ BUILDSTDERR: In file included from /usr/include/pcap.h:43, BUILDSTDERR: from /usr/include/nids.h:14, BUILDSTDERR: from ./urlsnarf.c:26: BUILDSTDERR: /usr/include/pcap/pcap.h:380:61: note: expected 'const u_char **' {aka 'const unsigned char **'} but argument is of type 'u_char **' {aka 'unsigned char **'} BUILDSTDERR: PCAP_API int pcap_next_ex(pcap_t *, struct pcap_pkthdr **, const u_char **); BUILDSTDERR: ^~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./webspy.c BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./webspy.c:13: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./remote.c BUILDSTDERR: In file included from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from ./remote.c:31: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from ./webspy.c:29: BUILDSTDERR: ./webspy.c: In function 'process_http_request': BUILDSTDERR: ./buf.h:31:31: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] BUILDSTDERR: #define buf_ptr(b) ((b)->base + (b)->offset) BUILDSTDERR: ~~~~~~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: ./webspy.c:98:16: note: in expansion of macro 'buf_ptr' BUILDSTDERR: req = strtok(buf_ptr(msg), "\r\n"); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from ./webspy.c:22: BUILDSTDERR: /usr/include/string.h:335:14: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern char *strtok (char *__restrict __s, const char *__restrict __delim) BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./webspy.c:119:24: warning: pointer targets in passing argument 2 of 'base64_pton' differ in signedness [-Wpointer-sign] BUILDSTDERR: i = base64_pton(p, p, strlen(p)); BUILDSTDERR: ^ BUILDSTDERR: In file included from ./webspy.c:28: BUILDSTDERR: ./base64.h:12:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int base64_pton(char const *, u_char *, size_t); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: ./webspy.c: In function 'sniff_http_client': BUILDSTDERR: ./webspy.c:159:50: warning: pointer targets in passing argument 2 of 'process_http_request' differ in signedness [-Wpointer-sign] BUILDSTDERR: i = process_http_request(&ts->addr, ts->server.data, BUILDSTDERR: ~~~~~~~~~~^~~~~ BUILDSTDERR: ./webspy.c:85:1: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: process_http_request(struct tuple4 *addr, u_char *data, int len) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./webspy.c:168:46: warning: pointer targets in passing argument 2 of 'process_http_request' differ in signedness [-Wpointer-sign] BUILDSTDERR: process_http_request(&ts->addr, ts->server.data, BUILDSTDERR: ~~~~~~~~~~^~~~~ BUILDSTDERR: ./webspy.c:85:1: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: process_http_request(struct tuple4 *addr, u_char *data, int len) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./webmitm.c:46:21: warning: built-in function 'csin' declared as non-function [-Wbuiltin-declaration-mismatch] BUILDSTDERR: struct sockaddr_in csin, ssin; BUILDSTDERR: ^~~~ BUILDSTDERR: ./webmitm.c: In function 'grep_passwords': BUILDSTDERR: ./webmitm.c:108:18: warning: pointer targets in passing argument 7 of 'record' differ in signedness [-Wpointer-sign] BUILDSTDERR: "http", obuf, len); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ./webmitm.c:31: BUILDSTDERR: ./record.h:16:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int record(u_int32_t src, u_int32_t dst, int proto, u_short sport, BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./webmitm.c: In function 'client_request': BUILDSTDERR: ./webmitm.c:170:11: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] BUILDSTDERR: req.base = buf; BUILDSTDERR: ^ BUILDSTDERR: ./webmitm.c:175:35: warning: pointer targets in passing argument 1 of 'client_read' differ in signedness [-Wpointer-sign] BUILDSTDERR: while ((i = client_read(req.base + req.end, req.size - req.end)) > 0) { BUILDSTDERR: ~~~~~~~~~^~~~~~~~~ BUILDSTDERR: ./webmitm.c:154:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: client_read(char *buf, int size) BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: ./webmitm.c: In function 'server_init': BUILDSTDERR: ./webmitm.c:230:18: warning: pointer targets in passing argument 2 of 'buf_init' differ in signedness [-Wpointer-sign] BUILDSTDERR: buf_init(&msg, buf, size); BUILDSTDERR: ^~~ BUILDSTDERR: In file included from ./webmitm.c:30: BUILDSTDERR: ./buf.h:22:6: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: void buf_init(buf_t buf, u_char *data, int len); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: ./webmitm.c: In function 'mitm_child': BUILDSTDERR: ./webmitm.c:364:26: warning: pointer targets in passing argument 1 of 'client_request' differ in signedness [-Wpointer-sign] BUILDSTDERR: if ((i = client_request(buf, sizeof(buf))) < 0) BUILDSTDERR: ^~~ BUILDSTDERR: ./webmitm.c:163:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: client_request(char *buf, int size) BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: ./webmitm.c:373:14: warning: pointer targets in passing argument 1 of 'server_init' differ in signedness [-Wpointer-sign] BUILDSTDERR: server_init(buf, i); BUILDSTDERR: ^~~ BUILDSTDERR: ./webmitm.c:219:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: server_init(char *buf, int size) BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: ./webmitm.c:375:19: warning: pointer targets in passing argument 1 of 'server_write' differ in signedness [-Wpointer-sign] BUILDSTDERR: if (server_write(buf, i) != i) BUILDSTDERR: ^~~ BUILDSTDERR: ./webmitm.c:285:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: server_write(char *buf, int size) BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: ./webmitm.c:379:18: warning: pointer targets in passing argument 1 of 'grep_passwords' differ in signedness [-Wpointer-sign] BUILDSTDERR: grep_passwords(buf, i); BUILDSTDERR: ^~~ BUILDSTDERR: ./webmitm.c:101:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: grep_passwords(char *buf, int len) BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: ./webmitm.c:393:28: warning: pointer targets in passing argument 1 of 'client_request' differ in signedness [-Wpointer-sign] BUILDSTDERR: if ((i = client_request(buf, i)) <= 0) BUILDSTDERR: ^~~ BUILDSTDERR: ./webmitm.c:163:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: client_request(char *buf, int size) BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: ./webmitm.c:403:21: warning: pointer targets in passing argument 1 of 'server_write' differ in signedness [-Wpointer-sign] BUILDSTDERR: if (server_write(buf, i) != i) BUILDSTDERR: ^~~ BUILDSTDERR: ./webmitm.c:285:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: server_write(char *buf, int size) BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: ./webmitm.c:407:20: warning: pointer targets in passing argument 1 of 'grep_passwords' differ in signedness [-Wpointer-sign] BUILDSTDERR: grep_passwords(buf, i); BUILDSTDERR: ^~~ BUILDSTDERR: ./webmitm.c:101:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: grep_passwords(char *buf, int len) BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: ./webmitm.c:411:25: warning: pointer targets in passing argument 1 of 'server_read' differ in signedness [-Wpointer-sign] BUILDSTDERR: if ((i = server_read(buf, i)) <= 0) BUILDSTDERR: ^~~ BUILDSTDERR: ./webmitm.c:276:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: server_read(char *buf, int size) BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: ./webmitm.c:421:21: warning: pointer targets in passing argument 1 of 'client_write' differ in signedness [-Wpointer-sign] BUILDSTDERR: if (client_write(buf, i) != i) BUILDSTDERR: ^~~ BUILDSTDERR: ./webmitm.c:201:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: client_write(char *buf, int size) BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: ./webmitm.c: In function 'mitm_run': BUILDSTDERR: ./webmitm.c:471:58: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] BUILDSTDERR: client_fd = accept(http_fd, (struct sockaddr *)&csin, &i); BUILDSTDERR: ^~ BUILDSTDERR: In file included from ./webmitm.c:15: BUILDSTDERR: /usr/include/sys/socket.h:232:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' BUILDSTDERR: extern int accept (int __fd, __SOCKADDR_ARG __addr, BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./webmitm.c:475:59: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] BUILDSTDERR: client_fd = accept(https_fd, (struct sockaddr *)&csin, &i); BUILDSTDERR: ^~ BUILDSTDERR: In file included from ./webmitm.c:15: BUILDSTDERR: /usr/include/sys/socket.h:232:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' BUILDSTDERR: extern int accept (int __fd, __SOCKADDR_ARG __addr, BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./webmitm.c: In function 'mitm_child': BUILDSTDERR: ./webmitm.c:371:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(STDERR_FILENO, buf, i); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./webmitm.c:401:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(STDERR_FILENO, buf, i); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./webmitm.c:419:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(STDERR_FILENO, buf, i); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ar -cr libmissing.a dummy.o strlcpy.o strlcat.o md5.o gcc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o arpspoof arpspoof.o arp.o -lresolv -lnsl -L. -lmissing -L/usr/lib -lpcap -L/usr/lib -lnet ranlib libmissing.a gcc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o dnsspoof dnsspoof.o pcaputil.o -lresolv -lnsl -L. -lmissing -L/usr/lib -lpcap -L/usr/lib -lnet gcc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 -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 -ltirpc gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I./missing -c ./nfs_prot.c BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from /usr/include/tirpc/rpc/types.h:41, BUILDSTDERR: from /usr/include/tirpc/rpc/rpc.h:38, BUILDSTDERR: from ./nfs_prot.h:9, BUILDSTDERR: from ./nfs_prot.c:6: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ gcc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o macof macof.o -lresolv -lnsl -L. -lmissing -L/usr/lib -lpcap -L/usr/lib -lnet BUILDSTDERR: ./nfs_prot.c: In function 'xdr_nfsstat': BUILDSTDERR: ./nfs_prot.c:12:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./nfs_prot.c: In function 'xdr_ftype': BUILDSTDERR: ./nfs_prot.c:22:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./nfs_prot.c: In function 'xdr_nfs_fh': BUILDSTDERR: ./nfs_prot.c:34:6: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int i; BUILDSTDERR: ^ BUILDSTDERR: ./nfs_prot.c:32:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./nfs_prot.c: In function 'xdr_nfstime': BUILDSTDERR: ./nfs_prot.c:43:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./nfs_prot.c: In function 'xdr_filename': BUILDSTDERR: ./nfs_prot.c:184:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./nfs_prot.c: In function 'xdr_nfspath': BUILDSTDERR: ./nfs_prot.c:194:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./nfs_prot.c: In function 'xdr_diropargs': BUILDSTDERR: ./nfs_prot.c:204:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./nfs_prot.c: In function 'xdr_diropokres': BUILDSTDERR: ./nfs_prot.c:216:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./nfs_prot.c: In function 'xdr_diropres': BUILDSTDERR: ./nfs_prot.c:228:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./nfs_prot.c: In function 'xdr_readargs': BUILDSTDERR: ./nfs_prot.c:246:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./nfs_prot.c: In function 'xdr_readokres': BUILDSTDERR: ./nfs_prot.c:262:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./nfs_prot.c: In function 'xdr_readres': BUILDSTDERR: ./nfs_prot.c:274:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./nfs_prot.c: In function 'xdr_uint64': BUILDSTDERR: ./nfs_prot.c:292:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./nfs_prot.c: In function 'xdr_int64': BUILDSTDERR: ./nfs_prot.c:302:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./nfs_prot.c: In function 'xdr_uint32': BUILDSTDERR: ./nfs_prot.c:312:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./nfs_prot.c: In function 'xdr_int32': BUILDSTDERR: ./nfs_prot.c:322:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./nfs_prot.c: In function 'xdr_filename3': BUILDSTDERR: ./nfs_prot.c:332:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./nfs_prot.c: In function 'xdr_nfspath3': BUILDSTDERR: ./nfs_prot.c:342:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./nfs_prot.c: In function 'xdr_fileid3': BUILDSTDERR: ./nfs_prot.c:352:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./nfs_prot.c: In function 'xdr_cookie3': BUILDSTDERR: ./nfs_prot.c:362:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./nfs_prot.c: In function 'xdr_cookieverf3': BUILDSTDERR: ./nfs_prot.c:372:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./nfs_prot.c: In function 'xdr_createverf3': BUILDSTDERR: ./nfs_prot.c:382:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./nfs_prot.c: In function 'xdr_writeverf3': BUILDSTDERR: ./nfs_prot.c:392:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./nfs_prot.c: In function 'xdr_uid3': BUILDSTDERR: ./nfs_prot.c:402:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./nfs_prot.c: In function 'xdr_gid3': BUILDSTDERR: ./nfs_prot.c:412:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./nfs_prot.c: In function 'xdr_size3': BUILDSTDERR: ./nfs_prot.c:422:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./nfs_prot.c: In function 'xdr_offset3': BUILDSTDERR: ./nfs_prot.c:432:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./nfs_prot.c: In function 'xdr_mode3': BUILDSTDERR: ./nfs_prot.c:442:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./nfs_prot.c: In function 'xdr_count3': BUILDSTDERR: ./nfs_prot.c:452:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./nfs_prot.c: In function 'xdr_nfsstat3': BUILDSTDERR: ./nfs_prot.c:462:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./nfs_prot.c: In function 'xdr_ftype3': BUILDSTDERR: ./nfs_prot.c:472:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./nfs_prot.c: In function 'xdr_specdata3': BUILDSTDERR: ./nfs_prot.c:482:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./nfs_prot.c: In function 'xdr_nfs_fh3': BUILDSTDERR: ./nfs_prot.c:494:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./nfs_prot.c: In function 'xdr_nfstime3': BUILDSTDERR: ./nfs_prot.c:504:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./nfs_prot.c: In function 'xdr_fattr3': BUILDSTDERR: ./nfs_prot.c:516:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./nfs_prot.c: In function 'xdr_post_op_attr': BUILDSTDERR: ./nfs_prot.c:550:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./nfs_prot.c: In function 'xdr_wcc_attr': BUILDSTDERR: ./nfs_prot.c:570:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./nfs_prot.c: In function 'xdr_pre_op_attr': BUILDSTDERR: ./nfs_prot.c:584:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./nfs_prot.c: In function 'xdr_wcc_data': BUILDSTDERR: ./nfs_prot.c:604:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./nfs_prot.c: In function 'xdr_diropargs3': BUILDSTDERR: ./nfs_prot.c:616:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./nfs_prot.c: In function 'xdr_LOOKUP3args': BUILDSTDERR: ./nfs_prot.c:628:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./nfs_prot.c: In function 'xdr_LOOKUP3resok': BUILDSTDERR: ./nfs_prot.c:638:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./nfs_prot.c: In function 'xdr_LOOKUP3resfail': BUILDSTDERR: ./nfs_prot.c:652:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./nfs_prot.c: In function 'xdr_LOOKUP3res': BUILDSTDERR: ./nfs_prot.c:662:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./nfs_prot.c: In function 'xdr_READ3args': BUILDSTDERR: ./nfs_prot.c:682:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./nfs_prot.c: In function 'xdr_READ3resok': BUILDSTDERR: ./nfs_prot.c:696:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./nfs_prot.c: In function 'xdr_READ3resfail': BUILDSTDERR: ./nfs_prot.c:712:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ BUILDSTDERR: ./nfs_prot.c: In function 'xdr_READ3res': BUILDSTDERR: ./nfs_prot.c:722:20: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: register int32_t *buf; BUILDSTDERR: ^~~ gcc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o mailsnarf mailsnarf.o buf.o pcaputil.o -lresolv -lnsl -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 -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o msgsnarf msgsnarf.o buf.o pcaputil.o -lresolv -lnsl -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 -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o sshmitm sshmitm.o buf.o hex.o record.o ssh.o sshcrypto.o -lresolv -lnsl -L. -lmissing -L/usr/lib -lnet -L/usr/lib -ldb -L/usr/lib -lssl -lcrypto -ltirpc gcc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o sshow sshow.o pcaputil.o -lresolv -lnsl -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 -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o tcpkill tcpkill.o pcaputil.o -lresolv -lnsl -L. -lmissing -L/usr/lib -lpcap -L/usr/lib -lnet gcc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o tcpnice tcpnice.o pcaputil.o -lresolv -lnsl -L. -lmissing -L/usr/lib -lpcap -L/usr/lib -lnet gcc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o urlsnarf urlsnarf.o base64.o buf.o pcaputil.o -lresolv -lnsl -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 -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o webmitm webmitm.o base64.o buf.o decode_http.o record.o -lresolv -lnsl -L. -lmissing -L/usr/lib -lnet -L/usr/lib -ldb -L/usr/lib -lssl -lcrypto -ltirpc gcc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o webspy webspy.o base64.o buf.o remote.o -lresolv -lnsl -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 -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o filesnarf filesnarf.o nfs_prot.o pcaputil.o rpc.o -lresolv -lnsl -L. -lmissing -L/usr/lib -lnids -lglib-2.0 -lgthread-2.0 -lpthread -L/usr/lib -lpcap -L/usr/lib -lnet -ltirpc + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Rbnvoe + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/dsniff-2.4-0.28.b1.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/dsniff-2.4-0.28.b1.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/dsniff-2.4-0.28.b1.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/dsniff-2.4-0.28.b1.fc29.riscv64 + cd dsniff-2.4 + make install_prefix=/builddir/build/BUILDROOT/dsniff-2.4-0.28.b1.fc29.riscv64 'INSTALL=install -p' install test -d /builddir/build/BUILDROOT/dsniff-2.4-0.28.b1.fc29.riscv64/usr/sbin || \ install -p -d /builddir/build/BUILDROOT/dsniff-2.4-0.28.b1.fc29.riscv64/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.28.b1.fc29.riscv64/usr/sbin; \ done test -d /builddir/build/BUILDROOT/dsniff-2.4-0.28.b1.fc29.riscv64/etc/dsniff || \ install -p -d /builddir/build/BUILDROOT/dsniff-2.4-0.28.b1.fc29.riscv64/etc/dsniff for file in dsniff.magic dsniff.services dnsspoof.hosts; do \ install -p -m 644 $file /builddir/build/BUILDROOT/dsniff-2.4-0.28.b1.fc29.riscv64/etc/dsniff; \ done test -d /builddir/build/BUILDROOT/dsniff-2.4-0.28.b1.fc29.riscv64/usr/share/man/man8 || \ install -p -d /builddir/build/BUILDROOT/dsniff-2.4-0.28.b1.fc29.riscv64/usr/share/man/man8 for file in *.8; do \ install -p -m 644 $file /builddir/build/BUILDROOT/dsniff-2.4-0.28.b1.fc29.riscv64/usr/share/man/man8; \ done + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.4-0.28.b1.fc29 --unique-debug-suffix -2.4-0.28.b1.fc29.riscv64 --unique-debug-src-base dsniff-2.4-0.28.b1.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/dsniff-2.4 extracting debug info from /builddir/build/BUILDROOT/dsniff-2.4-0.28.b1.fc29.riscv64/usr/sbin/webmitm extracting debug info from /builddir/build/BUILDROOT/dsniff-2.4-0.28.b1.fc29.riscv64/usr/sbin/mailsnarf extracting debug info from /builddir/build/BUILDROOT/dsniff-2.4-0.28.b1.fc29.riscv64/usr/sbin/urlsnarf extracting debug info from /builddir/build/BUILDROOT/dsniff-2.4-0.28.b1.fc29.riscv64/usr/sbin/arpspoof extracting debug info from /builddir/build/BUILDROOT/dsniff-2.4-0.28.b1.fc29.riscv64/usr/sbin/dsniff extracting debug info from /builddir/build/BUILDROOT/dsniff-2.4-0.28.b1.fc29.riscv64/usr/sbin/msgsnarf extracting debug info from /builddir/build/BUILDROOT/dsniff-2.4-0.28.b1.fc29.riscv64/usr/sbin/macof extracting debug info from /builddir/build/BUILDROOT/dsniff-2.4-0.28.b1.fc29.riscv64/usr/sbin/webspy extracting debug info from /builddir/build/BUILDROOT/dsniff-2.4-0.28.b1.fc29.riscv64/usr/sbin/filesnarf extracting debug info from /builddir/build/BUILDROOT/dsniff-2.4-0.28.b1.fc29.riscv64/usr/sbin/tcpkill extracting debug info from /builddir/build/BUILDROOT/dsniff-2.4-0.28.b1.fc29.riscv64/usr/sbin/sshmitm extracting debug info from /builddir/build/BUILDROOT/dsniff-2.4-0.28.b1.fc29.riscv64/usr/sbin/tcpnice extracting debug info from /builddir/build/BUILDROOT/dsniff-2.4-0.28.b1.fc29.riscv64/usr/sbin/sshow extracting debug info from /builddir/build/BUILDROOT/dsniff-2.4-0.28.b1.fc29.riscv64/usr/sbin/dnsspoof /usr/lib/rpm/sepdebugcrcfix: Updated 14 CRC32s, 0 CRC32s did match. BUILDSTDERR: 684 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/dsniff-2.4-0.28.b1.fc29.riscv64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: dsniff-2.4-0.28.b1.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.yKfTnG + umask 022 + cd /builddir/build/BUILD + cd dsniff-2.4 + DOCDIR=/builddir/build/BUILDROOT/dsniff-2.4-0.28.b1.fc29.riscv64/usr/share/doc/dsniff + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/dsniff-2.4-0.28.b1.fc29.riscv64/usr/share/doc/dsniff + cp -pr CHANGES /builddir/build/BUILDROOT/dsniff-2.4-0.28.b1.fc29.riscv64/usr/share/doc/dsniff + cp -pr README /builddir/build/BUILDROOT/dsniff-2.4-0.28.b1.fc29.riscv64/usr/share/doc/dsniff + cp -pr TODO /builddir/build/BUILDROOT/dsniff-2.4-0.28.b1.fc29.riscv64/usr/share/doc/dsniff + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.znVvP9 + umask 022 + cd /builddir/build/BUILD + cd dsniff-2.4 + LICENSEDIR=/builddir/build/BUILDROOT/dsniff-2.4-0.28.b1.fc29.riscv64/usr/share/licenses/dsniff + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/dsniff-2.4-0.28.b1.fc29.riscv64/usr/share/licenses/dsniff + cp -pr LICENSE /builddir/build/BUILDROOT/dsniff-2.4-0.28.b1.fc29.riscv64/usr/share/licenses/dsniff + exit 0 Provides: config(dsniff) = 2.4-0.28.b1.fc29 dsniff = 2.4-0.28.b1.fc29 dsniff(riscv-64) = 2.4-0.28.b1.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) 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.27)(64bit) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(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.2()(64bit) libpcap.so.1()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libresolv.so.2()(64bit) libresolv.so.2(GLIBC_2.27)(64bit) libssl.so.1.1()(64bit) libssl.so.1.1(OPENSSL_1_1_0)(64bit) libtirpc.so.3()(64bit) libtirpc.so.3(TIRPC_0.3.0)(64bit) rtld(GNU_HASH) Processing files: dsniff-debugsource-2.4-0.28.b1.fc29.riscv64 Provides: dsniff-debugsource = 2.4-0.28.b1.fc29 dsniff-debugsource(riscv-64) = 2.4-0.28.b1.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: dsniff-debuginfo-2.4-0.28.b1.fc29.riscv64 Provides: debuginfo(build-id) = 00d125e861b4dff11ad3340558667331ee5c05b8 debuginfo(build-id) = 186aea1fa860d3673904885ae6b326ac9b3e7214 debuginfo(build-id) = 5840be2bd8547541ff292889e9cf76ebe1e22e29 debuginfo(build-id) = 68020d5ea014b900fd4bcc7355c89e9ef05db745 debuginfo(build-id) = 8192c9fd55cc83ba89364dae9c33a641b3334a78 debuginfo(build-id) = 926783d922e0fec515f5d6af107383b4d33dc888 debuginfo(build-id) = 9288dde2d6a53f9c7c3c89715e7badb287c1e12a debuginfo(build-id) = aa4e5bcc4da6b1a5374bcc785c74f4e8f0eb97c9 debuginfo(build-id) = b1225b55aa14407d5f106998bb456d74efc5faf2 debuginfo(build-id) = cba87d2d2e16ca3197245d466674bb7b43646f05 debuginfo(build-id) = dcfae6fa57b4e2a3cb4ef537bd0e0cd36f760038 debuginfo(build-id) = e9bfe9bdcdda0d8fbc122597d097660f85cb7847 debuginfo(build-id) = fa17aeb1925edb8b904aa8d76e240e060cab7e41 debuginfo(build-id) = fc56c610b84912ee3ee6d8bdf480eb52791bfc37 dsniff-debuginfo = 2.4-0.28.b1.fc29 dsniff-debuginfo(riscv-64) = 2.4-0.28.b1.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dsniff-debugsource(riscv-64) = 2.4-0.28.b1.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/dsniff-2.4-0.28.b1.fc29.riscv64 Wrote: /builddir/build/RPMS/dsniff-2.4-0.28.b1.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/dsniff-debugsource-2.4-0.28.b1.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/dsniff-debuginfo-2.4-0.28.b1.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.w3PSNb + umask 022 + cd /builddir/build/BUILD + cd dsniff-2.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/dsniff-2.4-0.28.b1.fc29.riscv64 + exit 0 Child return code was: 0