Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/dsniff.spec'], chrootPath='/var/lib/mock/f38-build-711391-93730/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': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=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': 'C.UTF-8'} and shell False warning: %patchN is deprecated (36 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674086400 Wrote: /builddir/build/SRPMS/dsniff-2.4-0.41.b1.fc38.src.rpm RPM build warnings: %patchN is deprecated (36 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/dsniff.spec'], chrootPath='/var/lib/mock/f38-build-711391-93730/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': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=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': 'C.UTF-8'} and shell False warning: %patchN is deprecated (36 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674086400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.uf3RpF + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dsniff-2.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/dsniff-2.4b1.tar.gz + 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 -f -p1 -b --suffix .time_h --fuzz=0 patching file msgsnarf.c patching file sshow.c Patch #1 (dsniff-2.4-mailsnarf_corrupt.patch): + echo 'Patch #1 (dsniff-2.4-mailsnarf_corrupt.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .mailsnarf --fuzz=0 patching file mailsnarf.c Patch #2 (dsniff-2.4-pcap_read_dump.patch): + echo 'Patch #2 (dsniff-2.4-pcap_read_dump.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .pcap_dump --fuzz=0 patching file dsniff.8 patching file dsniff.c patching file filesnarf.8 patching file filesnarf.c patching file mailsnarf.8 patching file mailsnarf.c patching file msgsnarf.8 patching file msgsnarf.c patching file sshow.8 patching file sshow.c patching file urlsnarf.8 patching file urlsnarf.c patching file webspy.8 patching file webspy.c Patch #3 (dsniff-2.4-multiple_intf.patch): + echo 'Patch #3 (dsniff-2.4-multiple_intf.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .multiple_intf --fuzz=0 patching file arp.c patching file arp.h patching file arpspoof.c Patch #4 (dsniff-2.4-amd64_fix.patch): + echo 'Patch #4 (dsniff-2.4-amd64_fix.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -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 -f -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 -f -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 Patch #7 (dsniff-2.4-checksum.patch): + echo 'Patch #7 (dsniff-2.4-checksum.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .checksum --fuzz=0 patching file urlsnarf.c Patch #8 (dsniff-2.4-openssl_098.patch): + echo 'Patch #8 (dsniff-2.4-openssl_098.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .openssl_098 --fuzz=0 patching file ssh.c Patch #9 (dsniff-2.4-sshcrypto.patch): + echo 'Patch #9 (dsniff-2.4-sshcrypto.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .sshcrypto --fuzz=0 patching file sshcrypto.c Patch #10 (dsniff-2.4-sysconf_clocks.patch): + echo 'Patch #10 (dsniff-2.4-sysconf_clocks.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .sysconf_clocks --fuzz=0 patching file sshow.c Patch #11 (dsniff-2.4-urlsnarf_escape.patch): + echo 'Patch #11 (dsniff-2.4-urlsnarf_escape.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .urlsnarf_escape --fuzz=0 patching file urlsnarf.c Patch #12 (dsniff-2.4-string_header.patch): + echo 'Patch #12 (dsniff-2.4-string_header.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -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 Patch #13 (dsniff-2.4-arpa_inet_header.patch): + echo 'Patch #13 (dsniff-2.4-arpa_inet_header.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .arpa_inet_header --fuzz=0 patching file decode_aim.c patching file decode_mmxp.c patching file decode_pptp.c patching file decode_tds.c patching file decode_vrrp.c patching file ssh.c Patch #14 (dsniff-2.4-pop_with_version.patch): + echo 'Patch #14 (dsniff-2.4-pop_with_version.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .pop_with_version --fuzz=0 patching file decode.c patching file dsniff.services Patch #15 (dsniff-2.4-obsolete_time.patch): + echo 'Patch #15 (dsniff-2.4-obsolete_time.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -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 -f -p1 -b --suffix .checksum_libnids --fuzz=0 patching file dsniff.c Patch #17 (dsniff-2.4-fedora_dirs.patch): + echo 'Patch #17 (dsniff-2.4-fedora_dirs.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .fedora_dirs --fuzz=0 patching file Makefile.in patching file dnsspoof.8 patching file dsniff.8 patching file pathnames.h Patch #18 (dsniff-2.4-glib2.patch): + echo 'Patch #18 (dsniff-2.4-glib2.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .glib2 --fuzz=0 patching file Makefile.in Patch #19 (dsniff-2.4-link_layer_offset.patch): + echo 'Patch #19 (dsniff-2.4-link_layer_offset.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .link_layer_offset --fuzz=0 patching file pcaputil.c Patch #20 (dsniff-2.4-tds_decoder.patch): + echo 'Patch #20 (dsniff-2.4-tds_decoder.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .tds_decoder --fuzz=0 patching file decode_tds.c Patch #21 (dsniff-2.4-msgsnarf_segfault.patch): + echo 'Patch #21 (dsniff-2.4-msgsnarf_segfault.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .msgsnarf_segfault --fuzz=0 patching file msgsnarf.c Patch #22 (dsniff-2.4-urlsnarf_timestamp.patch): + echo 'Patch #22 (dsniff-2.4-urlsnarf_timestamp.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .urlsnarf_timestamp --fuzz=0 patching file urlsnarf.c Patch #23 (dsniff-2.4-arpspoof_reverse.patch): + echo 'Patch #23 (dsniff-2.4-arpspoof_reverse.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .arpspoof_reverse --fuzz=0 patching file arpspoof.8 patching file arpspoof.c Patch #24 (dsniff-2.4-arpspoof_multiple.patch): + echo 'Patch #24 (dsniff-2.4-arpspoof_multiple.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .arpspoof_multiple --fuzz=0 patching file arpspoof.8 patching file arpspoof.c Patch #25 (dsniff-2.4-arpspoof_hwaddr.patch): + echo 'Patch #25 (dsniff-2.4-arpspoof_hwaddr.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .arpspoof_hwaddr --fuzz=0 patching file arpspoof.8 patching file arpspoof.c Patch #26 (dsniff-2.4-modernize_pop.patch): + echo 'Patch #26 (dsniff-2.4-modernize_pop.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .modernize_pop --fuzz=0 patching file decode_pop.c Patch #27 (dsniff-2.4-libnet_name2addr4.patch): + echo 'Patch #27 (dsniff-2.4-libnet_name2addr4.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .libnet_name2addr4 --fuzz=0 patching file sshmitm.c patching file webmitm.c patching file webspy.c patching file arpspoof.c Patch #28 (dsniff-2.4-pntohl_shift.patch): + echo 'Patch #28 (dsniff-2.4-pntohl_shift.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .pntohl_shift --fuzz=0 patching file decode.h Patch #29 (dsniff-2.4-rpc_segfault.patch): + echo 'Patch #29 (dsniff-2.4-rpc_segfault.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rpc_segfault --fuzz=0 patching file rpc.c Patch #30 (dsniff-2.4-openssl_110.patch): + echo 'Patch #30 (dsniff-2.4-openssl_110.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .openssl_110 --fuzz=0 patching file ssh.c patching file sshcrypto.c Patch #31 (dsniff-2.4-remote_typo.patch): + echo 'Patch #31 (dsniff-2.4-remote_typo.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .remote_typo --fuzz=0 patching file remote.c Patch #32 (dsniff-2.4-smp_mflags.patch): + echo 'Patch #32 (dsniff-2.4-smp_mflags.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .smp_mflags --fuzz=0 patching file Makefile.in Patch #33 (dsniff-2.4-libtirpc.patch): + echo 'Patch #33 (dsniff-2.4-libtirpc.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .libtirpc --fuzz=0 patching file Makefile.in Patch #34 (dsniff-2.4-pcap_init.patch): + echo 'Patch #34 (dsniff-2.4-pcap_init.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .pcap_init --fuzz=0 patching file dnsspoof.c patching file pcaputil.c patching file pcaputil.h patching file tcpkill.c patching file tcpnice.c Patch #35 (dsniff-configure-c99.patch): + echo 'Patch #35 (dsniff-configure-c99.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file configure + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.kDZ5v1 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd dsniff-2.4 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info creating cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ) works... yes checking whether the C compiler (gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ) 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... yes checking for __dn_expand in -lresolv... no checking for dirname... yes checking for strlcpy... no checking for strlcat... no checking for strsep... yes checking for MD5Update... no checking for warnx... yes checking for ether_ntoa... yes checking for Berkeley DB with 1.85 compatibility... yes checking for libpcap... yes checking for libnet... yes checking for libnids... yes checking whether libnids version is good... yes checking for OpenSSL... yes updating cache ./config.cache creating ./config.status creating Makefile creating config.h + /usr/bin/make -O -j4 V=1 VERBOSE=1 gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./missing/dummy.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./missing/strlcat.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./missing/strlcpy.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./arp.c ./arp.c: In function 'arp_cache_lookup': ./arp.c:103:9: warning: '__strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 103 | strncpy(ar.arp_dev, lif, strlen(lif)); | ^ ./arp.c:103:9: note: length computed here 103 | strncpy(ar.arp_dev, lif, strlen(lif)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./arpspoof.c ./arpspoof.c:44:26: warning: pointer targets in initialization of 'uint8_t *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 44 | static uint8_t *brd_ha = "\xff\xff\xff\xff\xff\xff"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./arpspoof.c: In function 'main': ./arpspoof.c:271:9: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 271 | if (intf == NULL && (intf = pcap_lookupdev(pcap_ebuf)) == NULL) | ^~ In file included from /usr/include/pcap.h:43, from ./arpspoof.c:25: /usr/include/pcap/pcap.h:395:18: note: declared here 395 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./pcaputil.c ./pcaputil.c: In function 'pcap_init_dsniff': ./pcaputil.c:121:9: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 121 | if (intf == NULL && (intf = pcap_lookupdev(ebuf)) == NULL) { | ^~ In file included from /usr/include/pcap.h:43, from ./pcaputil.c:19: /usr/include/pcap/pcap.h:395:18: note: declared here 395 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./missing/md5.c ./missing/md5.c: In function 'MD5Final': ./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] 151 | memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ | ^ rpcgen -h mount.x -o mount.h rpcgen -c mount.x -o mount.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./asn1.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./dnsspoof.c ./dnsspoof.c: In function 'dns_spoof': ./dnsspoof.c:227:24: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 227 | if ((q = dns_lookup_ptr(name)) == NULL) | ^ ./dnsspoof.c:231:34: warning: pointer targets in passing argument 1 of 'dn_comp' differ in signedness [-Wpointer-sign] 231 | anslen = dn_comp(q, p + 12, 256, NULL, NULL); | ^ | | | u_char * {aka unsigned char *} In file included from ./dnsspoof.c:24: /usr/include/resolv.h:272:26: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 272 | int dn_comp (const char *, unsigned char *, int, unsigned char **, | ^~~~~~~~~~~~ ./dnsspoof.c: In function 'main': ./dnsspoof.c:300:9: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 300 | if (dev == NULL && (dev = pcap_lookupdev(buf)) == NULL) | ^~ In file included from /usr/include/pcap.h:43, from ./dnsspoof.c:27: /usr/include/pcap/pcap.h:395:18: note: declared here 395 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./base64.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./hex.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./mount.c ./mount.c: In function 'xdr_fhandle': ./mount.c:11:27: warning: unused variable 'buf' [-Wunused-variable] 11 | register int32_t *buf; | ^~~ ./mount.c: In function 'xdr_fhandle3': ./mount.c:21:27: warning: unused variable 'buf' [-Wunused-variable] 21 | register int32_t *buf; | ^~~ ./mount.c: In function 'xdr_fhstatus': ./mount.c:31:27: warning: unused variable 'buf' [-Wunused-variable] 31 | register int32_t *buf; | ^~~ ./mount.c: In function 'xdr_mountstat3': ./mount.c:51:27: warning: unused variable 'buf' [-Wunused-variable] 51 | register int32_t *buf; | ^~~ ./mount.c: In function 'xdr_mountres3_ok': ./mount.c:61:27: warning: unused variable 'buf' [-Wunused-variable] 61 | register int32_t *buf; | ^~~ ./mount.c: In function 'xdr_mountres3': ./mount.c:74:27: warning: unused variable 'buf' [-Wunused-variable] 74 | register int32_t *buf; | ^~~ ./mount.c: In function 'xdr_dirpath': ./mount.c:92:27: warning: unused variable 'buf' [-Wunused-variable] 92 | register int32_t *buf; | ^~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./buf.c In file included from ./buf.c:22: ./buf.c: In function 'buf_putf': ./buf.h:31:36: warning: pointer targets in passing argument 1 of 'vsnprintf' differ in signedness [-Wpointer-sign] 31 | #define buf_ptr(b) ((b)->base + (b)->offset) | ~~~~~~~~~~~^~~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} ./buf.c:113:23: note: in expansion of macro 'buf_ptr' 113 | i = vsnprintf(buf_ptr(buf), buf_len(buf), fmt, ap); | ^~~~~~~ In file included from /usr/include/features.h:491, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from ./buf.c:11: /usr/include/bits/stdio2.h:65:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 65 | __NTH (vsnprintf (char *__restrict __s, size_t __n, | ^~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./rpc.c ./rpc.c: In function 'rpc_decode': ./rpc.c:112:38: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] 112 | xdrmem_create(&xdrs, buf, len, XDR_DECODE); | ^~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/tirpc/rpc/rpc.h:43, from ./rpc.c:12: /usr/include/tirpc/rpc/xdr.h:355:36: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 355 | extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); | ^~~~~~ ./rpc.c:121:38: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] 121 | xdrmem_create(&xdrs, buf, len, XDR_DECODE); | ^~~ | | | u_char * {aka unsigned char *} /usr/include/tirpc/rpc/xdr.h:355:36: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 355 | extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); | ^~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./tcp_raw.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./record.c ./record.c: In function 'record_hash': ./record.c:104:34: warning: pointer targets in passing argument 2 of 'MD5Update' differ in signedness [-Wpointer-sign] 104 | MD5Update(&ctx, rec->name.n_bytes, rec->name.n_len); | ~~~~~~~~~^~~~~~~~ | | | char * In file included from ./record.c:17: ./missing/md5.h:11:65: note: expected 'const unsigned char *' but argument is of type 'char *' 11 | void MD5Update(struct MD5Context *context, unsigned char const *buf, | ~~~~~~~~~~~~~~~~~~~~~^~~ ./record.c:105:34: warning: pointer targets in passing argument 2 of 'MD5Update' differ in signedness [-Wpointer-sign] 105 | MD5Update(&ctx, rec->data.n_bytes, rec->data.n_len); | ~~~~~~~~~^~~~~~~~ | | | char * ./missing/md5.h:11:65: note: expected 'const unsigned char *' but argument is of type 'char *' 11 | void MD5Update(struct MD5Context *context, unsigned char const *buf, | ~~~~~~~~~~~~~~~~~~~~~^~~ ./record.c: In function 'record_save': ./record.c:121:30: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] 121 | xdrmem_create(&xdrs, buf, sizeof(buf), XDR_ENCODE); | ^~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/tirpc/rpc/rpc.h:43, from ./record.c:13: /usr/include/tirpc/rpc/xdr.h:355:36: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 355 | extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); | ^~~~~~ ./record.c: In function 'record': ./record.c:195:26: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 195 | rec.data.n_bytes = buf; | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./dsniff.c ./dsniff.c: In function 'get_all_ifaces': ./dsniff.c:120:22: warning: unused variable 'i' [-Wunused-variable] 120 | unsigned int i; | ^ ./dsniff.c: In function 'all_local_ipaddrs_chksum_disable': ./dsniff.c:104:1: warning: control reaches end of non-void function [-Wreturn-type] 104 | } | ^ In function 'get_all_ifaces', inlined from 'all_local_ipaddrs_chksum_disable' at ./dsniff.c:85:7: ./dsniff.c:128:33: warning: '*ifaces_49' may be used uninitialized [-Wmaybe-uninitialized] 128 | param.ifc_req = *ifaces; | ^~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./magic.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./decode.c ./decode.c: In function 'strip_telopts': ./decode.c:123:35: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 123 | p = buf + i + 1; | ^ ./decode.c:124:49: warning: pointer targets in passing argument 1 of 'bufbuf' differ in signedness [-Wpointer-sign] 124 | if ((q = bufbuf(p, len - i, "\xff", 1)) | ^ | | | char * In file included from ./decode.c:19: ./decode.h:48:24: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 48 | u_char *bufbuf(u_char *big, int blen, u_char *little, int llen); | ~~~~~~~~^~~ ./decode.c:124:61: warning: pointer targets in passing argument 3 of 'bufbuf' differ in signedness [-Wpointer-sign] 124 | if ((q = bufbuf(p, len - i, "\xff", 1)) | ^~~~~~ | | | char * ./decode.h:48:47: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 48 | u_char *bufbuf(u_char *big, int blen, u_char *little, int llen); | ~~~~~~~~^~~~~~ ./decode.c:124:40: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 124 | if ((q = bufbuf(p, len - i, "\xff", 1)) | ^ ./decode.c:126:57: warning: pointer targets in passing argument 1 of 'bufbuf' differ in signedness [-Wpointer-sign] 126 | if ((p = bufbuf(p, q - p, "USER\x01", | ^ | | | char * ./decode.h:48:24: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 48 | u_char *bufbuf(u_char *big, int blen, u_char *little, int llen); | ~~~~~~~~^~~ ./decode.c:126:67: warning: pointer targets in passing argument 3 of 'bufbuf' differ in signedness [-Wpointer-sign] 126 | if ((p = bufbuf(p, q - p, "USER\x01", | ^~~~~~~~~~ | | | char * ./decode.h:48:47: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 48 | u_char *bufbuf(u_char *big, int blen, u_char *little, int llen); | ~~~~~~~~^~~~~~ ./decode.c:126:48: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 126 | if ((p = bufbuf(p, q - p, "USER\x01", | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./decode_aim.c ./decode_aim.c: In function 'decode_aim': ./decode_aim.c:67:50: warning: pointer targets in passing argument 1 of 'strcspn' differ in signedness [-Wpointer-sign] 67 | if ((j = strcspn(p, " ")) > 0) | ^ | | | u_char * {aka unsigned char *} In file included from ./decode_aim.c:16: /usr/include/string.h:293:36: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 293 | extern size_t strcspn (const char *__s, const char *__reject) | ~~~~~~~~~~~~^~~ ./decode_aim.c:70:36: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] 70 | if (strtok(p, " ") == NULL) | ^ | | | u_char * {aka unsigned char *} /usr/include/string.h:356:39: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 356 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ~~~~~~~~~~~~~~~~~^~~ ./decode_aim.c:75:36: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 75 | i = strlen(p); | ^ | | | u_char * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ./decode_aim.c:76:40: warning: pointer targets in passing argument 1 of 'hex_decode' differ in signedness [-Wpointer-sign] 76 | j = hex_decode(p, i, p, i); | ^ | | | u_char * {aka unsigned char *} In file included from ./decode_aim.c:19: ./hex.h:14:26: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 14 | int hex_decode(char *src, int srclen, u_char *buf, int len); | ~~~~~~^~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./decode_cvs.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./decode_citrix.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./trigger.c ./trigger.c: In function 'trigger_ip': ./trigger.c:300:49: warning: pointer targets in passing argument 3 of 't->decode->dc_func' differ in signedness [-Wpointer-sign] 300 | if ((len = t->decode->dc_func(buf, len, obuf, sizeof(obuf))) > 0) { | ^~~~ | | | char * ./trigger.c:300:49: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' ./trigger.c:302:50: warning: pointer targets in passing argument 7 of 'record' differ in signedness [-Wpointer-sign] 302 | 0, 0, t->decode->dc_name, obuf, len); | ^~~~ | | | char * In file included from ./trigger.c:24: ./record.h:17:51: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 17 | u_short dport, char *name, u_char *buf, int len); | ~~~~~~~~^~~ ./trigger.c: In function 'trigger_udp': ./trigger.c:346:49: warning: pointer targets in passing argument 3 of 't->decode->dc_func' differ in signedness [-Wpointer-sign] 346 | if ((len = t->decode->dc_func(buf, len, obuf, sizeof(obuf))) > 0) { | ^~~~ | | | char * ./trigger.c:346:49: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' ./trigger.c:349:44: warning: pointer targets in passing argument 7 of 'record' differ in signedness [-Wpointer-sign] 349 | t->decode->dc_name, obuf, len); | ^~~~ | | | char * ./record.h:17:51: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 17 | u_short dport, char *name, u_char *buf, int len); | ~~~~~~~~^~~ ./trigger.c: In function 'trigger_tcp_half': ./trigger.c:360:13: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 360 | buf = hs->data; | ^ ./trigger.c:378:47: warning: pointer targets in passing argument 3 of 't->decode->dc_func' differ in signedness [-Wpointer-sign] 378 | obuf, sizeof(obuf))) > 0) { | ^~~~ | | | char * ./trigger.c:378:47: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' ./trigger.c:381:32: warning: pointer targets in passing argument 7 of 'record' differ in signedness [-Wpointer-sign] 381 | obuf, len); | ^~~~ | | | char * ./record.h:17:51: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 17 | u_short dport, char *name, u_char *buf, int len); | ~~~~~~~~^~~ ./trigger.c: In function 'trigger_tcp_raw': ./trigger.c:478:42: warning: pointer targets in passing argument 3 of 't->decode->dc_func' differ in signedness [-Wpointer-sign] 478 | obuf, sizeof(obuf)); | ^~~~ | | | char * ./trigger.c:478:42: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' ./trigger.c:484:32: warning: pointer targets in passing argument 7 of 'record' differ in signedness [-Wpointer-sign] 484 | obuf, len); | ^~~~ | | | char * ./record.h:17:51: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 17 | u_short dport, char *name, u_char *buf, int len); | ~~~~~~~~^~~ ./trigger.c: In function 'trigger_tcp_raw_callback': ./trigger.c:512:47: warning: pointer targets in passing argument 3 of 't->decode->dc_func' differ in signedness [-Wpointer-sign] 512 | obuf, sizeof(obuf))) > 0) { | ^~~~ | | | char * ./trigger.c:512:47: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' ./trigger.c:514:52: warning: pointer targets in passing argument 7 of 'record' differ in signedness [-Wpointer-sign] 514 | t->decode->dc_name, obuf, len); | ^~~~ | | | char * ./record.h:17:51: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 17 | u_short dport, char *name, u_char *buf, int len); | ~~~~~~~~^~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./decode_ftp.c In file included from ./decode_ftp.c:19: ./decode_ftp.c: In function 'decode_ftp': ./buf.h:31:36: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 31 | #define buf_ptr(b) ((b)->base + (b)->offset) | ~~~~~~~~~~~^~~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} ./decode_ftp.c:47:33: note: in expansion of macro 'buf_ptr' 47 | if (strncasecmp(buf_ptr(line), "USER ", 5) == 0 || | ^~~~~~~ In file included from /usr/include/string.h:462, from ./decode_ftp.c:16: /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ ./buf.h:31:36: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 31 | #define buf_ptr(b) ((b)->base + (b)->offset) | ~~~~~~~~~~~^~~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} ./decode_ftp.c:48:33: note: in expansion of macro 'buf_ptr' 48 | strncasecmp(buf_ptr(line), "ACCT ", 5) == 0 || | ^~~~~~~ /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ ./buf.h:31:36: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 31 | #define buf_ptr(b) ((b)->base + (b)->offset) | ~~~~~~~~~~~^~~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} ./decode_ftp.c:49:33: note: in expansion of macro 'buf_ptr' 49 | strncasecmp(buf_ptr(line), "PASS ", 5) == 0) { | ^~~~~~~ /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./decode_hex.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./decode_icq.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./decode_imap.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./decode_irc.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./decode_ldap.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./decode_mmxp.c ./decode_mmxp.c:29:25: warning: pointer targets in initialization of 'u_char *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 29 | #define MM_SECRET "Thisisastupidwasteoftimeandspace" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./decode_mmxp.c:31:25: note: in expansion of macro 'MM_SECRET' 31 | static u_char *mm_xor = MM_SECRET; | ^~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./decode_http.c In file included from ./decode_http.c:23: ./decode_http.c: In function 'decode_http': ./buf.h:31:36: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] 31 | #define buf_ptr(b) ((b)->base + (b)->offset) | ~~~~~~~~~~~^~~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} ./decode_http.c:119:35: note: in expansion of macro 'buf_ptr' 119 | if ((req = strtok(buf_ptr(msg), "\r\n")) == NULL) | ^~~~~~~ In file included from ./decode_http.c:16: /usr/include/string.h:356:39: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 356 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ~~~~~~~~~~~~~~~~~^~~ ./decode_http.c:157:47: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 157 | query = buf_ptr(msg); | ^ ./decode_http.c:176:52: warning: pointer targets in passing argument 2 of 'base64_pton' differ in signedness [-Wpointer-sign] 176 | i = base64_pton(p, p, strlen(p)); | ^ | | | char * In file included from ./decode_http.c:22: ./base64.h:12:35: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 12 | int base64_pton(char const *, u_char *, size_t); | ^~~~~~~~ ./decode_http.c:183:52: warning: pointer targets in passing argument 2 of 'base64_pton' differ in signedness [-Wpointer-sign] 183 | i = base64_pton(p, p, strlen(p)); | ^ | | | char * ./base64.h:12:35: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 12 | int base64_pton(char const *, u_char *, size_t); | ^~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./decode_napster.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./decode_nntp.c ./decode_nntp.c: In function 'decode_nntp': ./decode_nntp.c:32:25: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] 32 | for (p = strtok(buf, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) { | ^~~ | | | u_char * {aka unsigned char *} In file included from ./decode_nntp.c:17: /usr/include/string.h:356:39: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 356 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ~~~~~~~~~~~~~~~~~^~~ ./decode_nntp.c:34:33: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] 34 | strlcat(obuf, p, olen); | ^~~~ | | | u_char * {aka unsigned char *} In file included from ./decode_nntp.c:18: ./missing/strlcat.h:1:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 1 | size_t strlcat(char *dst, const char *src, size_t siz); | ~~~~~~^~~ ./decode_nntp.c:35:33: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] 35 | strlcat(obuf, "\n", olen); | ^~~~ | | | u_char * {aka unsigned char *} ./missing/strlcat.h:1:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 1 | size_t strlcat(char *dst, const char *src, size_t siz); | ~~~~~~^~~ ./decode_nntp.c:39:33: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] 39 | strlcat(obuf, p, olen); | ^~~~ | | | u_char * {aka unsigned char *} ./missing/strlcat.h:1:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 1 | size_t strlcat(char *dst, const char *src, size_t siz); | ~~~~~~^~~ ./decode_nntp.c:50:60: warning: pointer targets in passing argument 2 of 'base64_pton' differ in signedness [-Wpointer-sign] 50 | i = base64_pton(p, p, strlen(p)); | ^ | | | char * In file included from ./decode_nntp.c:20: ./base64.h:12:35: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 12 | int base64_pton(char const *, u_char *, size_t); | ^~~~~~~~ ./decode_nntp.c:52:52: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 52 | i = strlen(obuf); | ^~~~ | | | u_char * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ./decode_nntp.c:53:55: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 53 | snprintf(obuf + i, olen - i, | ~~~~~^~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:491, from /usr/include/sys/types.h:25, from ./decode_nntp.c:14: /usr/include/bits/stdio2.h:51:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 51 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ ./decode_nntp.c:57:33: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] 57 | strlcat(obuf, "\n", olen); | ^~~~ | | | u_char * {aka unsigned char *} ./missing/strlcat.h:1:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 1 | size_t strlcat(char *dst, const char *src, size_t siz); | ~~~~~~^~~ ./decode_nntp.c:60:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 60 | return (strlen(obuf)); | ^~~~ | | | u_char * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./decode_mountd.c ./decode_mountd.c: In function 'decode_mountd': ./decode_mountd.c:47:42: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] 47 | xdrmem_create(&xdrs, buf + hdrlen, len - hdrlen, XDR_DECODE); | ~~~~^~~~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/tirpc/rpc/rpc.h:43, from ./decode_mountd.c:17: /usr/include/tirpc/rpc/xdr.h:355:36: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 355 | extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); | ^~~~~~ ./decode_mountd.c:59:50: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] 59 | xdrmem_create(&xdrs, buf + hdrlen, len - hdrlen, | ~~~~^~~~~~~~ | | | u_char * {aka unsigned char *} /usr/include/tirpc/rpc/xdr.h:355:36: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 355 | extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); | ^~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./decode_ospf.c ./decode_ospf.c: In function 'decode_ospf': ./decode_ospf.c:31:26: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 31 | return (snprintf(obuf, olen, "%s\n", buf + 16)); | ^~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:491, from /usr/include/sys/types.h:25, from ./decode_ospf.c:13: /usr/include/bits/stdio2.h:51:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 51 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./decode_oracle.c ./decode_oracle.c: In function 'decode_oracle': ./decode_oracle.c:42:18: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 42 | snprintf(obuf, olen, "%s\n", q); | ^~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:491, from /usr/include/sys/types.h:25, from ./decode_oracle.c:13: /usr/include/bits/stdio2.h:51:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 51 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ ./decode_oracle.c:46:33: warning: pointer targets in passing argument 3 of 'bufbuf' differ in signedness [-Wpointer-sign] 46 | if ((p = bufbuf(p, len, "(TNS V", 6)) == NULL) return (0); | ^~~~~~~~ | | | char * In file included from ./decode_oracle.c:18: ./decode.h:48:47: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 48 | u_char *bufbuf(u_char *big, int blen, u_char *little, int llen); | ~~~~~~~~^~~~~~ ./decode_oracle.c:66:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 66 | j = strlen(obuf); | ^~~~ | | | u_char * {aka unsigned char *} In file included from ./decode_oracle.c:16: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ./decode_oracle.c:67:31: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 67 | snprintf(obuf + j, olen + j, "%s\n", p + 117); | ~~~~~^~~ | | | u_char * {aka unsigned char *} /usr/include/bits/stdio2.h:51:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 51 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ ./decode_oracle.c:70:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 70 | return (gotauth ? strlen(obuf) : 0); | ^~~~ | | | u_char * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./decode_pcanywhere.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./decode_postgresql.c ./decode_postgresql.c: In function 'decode_postgresql': ./decode_postgresql.c:46:36: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 46 | db = p + 4; db[63] = '\0'; | ^ ./decode_postgresql.c:52:48: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 52 | snprintf(obuf + strlen(obuf), | ^~~~ | | | u_char * {aka unsigned char *} In file included from ./decode_postgresql.c:18: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ./decode_postgresql.c:53:48: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 53 | olen - strlen(obuf), | ^~~~ | | | u_char * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ./decode_postgresql.c:52:39: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 52 | snprintf(obuf + strlen(obuf), | ~~~~~^~~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:491, from /usr/include/sys/types.h:25, from ./decode_postgresql.c:15: /usr/include/bits/stdio2.h:51:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 51 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ ./decode_postgresql.c:60:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 60 | return (strlen(obuf)); | ^~~~ | | | u_char * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./decode_pop.c ./decode_pop.c: In function 'decode_poppass': ./decode_pop.c:32:25: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] 32 | for (p = strtok(buf, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) { | ^~~ | | | u_char * {aka unsigned char *} In file included from ./decode_pop.c:18: /usr/include/string.h:356:39: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 356 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ~~~~~~~~~~~~~~~~~^~~ ./decode_pop.c:36:33: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] 36 | strlcat(obuf, p, olen); | ^~~~ | | | u_char * {aka unsigned char *} In file included from ./decode_pop.c:19: ./missing/strlcat.h:1:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 1 | size_t strlcat(char *dst, const char *src, size_t siz); | ~~~~~~^~~ ./decode_pop.c:37:33: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] 37 | strlcat(obuf, "\n", olen); | ^~~~ | | | u_char * {aka unsigned char *} ./missing/strlcat.h:1:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 1 | size_t strlcat(char *dst, const char *src, size_t siz); | ~~~~~~^~~ ./decode_pop.c:40:25: warning: pointer targets in passing argument 1 of 'strip_lines' differ in signedness [-Wpointer-sign] 40 | if (strip_lines(obuf, Opt_lines) < 3) | ^~~~ | | | u_char * {aka unsigned char *} In file included from ./decode_pop.c:23: ./decode.h:44:27: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 44 | int strip_lines(char *buf, int max_lines); | ~~~~~~^~~ ./decode_pop.c:43:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 43 | return (strlen(obuf)); | ^~~~ | | | u_char * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ./decode_pop.c: In function 'decode_pop': ./decode_pop.c:64:25: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] 64 | for (p = strtok(buf, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) { | ^~~ | | | u_char * {aka unsigned char *} /usr/include/string.h:356:39: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 356 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ~~~~~~~~~~~~~~~~~^~~ ./decode_pop.c:93:44: warning: pointer targets in passing argument 2 of 'base64_pton' differ in signedness [-Wpointer-sign] 93 | j = base64_pton(p, p, strlen(p)); | ^ | | | char * In file included from ./decode_pop.c:21: ./base64.h:12:35: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 12 | int base64_pton(char const *, u_char *, size_t); | ^~~~~~~~ ./decode_pop.c:113:44: warning: pointer targets in passing argument 2 of 'base64_pton' differ in signedness [-Wpointer-sign] 113 | j = base64_pton(p, p, strlen(p)); | ^ | | | char * ./base64.h:12:35: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 12 | int base64_pton(char const *, u_char *, size_t); | ^~~~~~~~ ./decode_pop.c:124:33: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] 124 | strlcat(obuf, "\nusername [", olen); | ^~~~ | | | u_char * {aka unsigned char *} ./missing/strlcat.h:1:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 1 | size_t strlcat(char *dst, const char *src, size_t siz); | ~~~~~~^~~ ./decode_pop.c:125:33: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] 125 | strlcat(obuf, user, olen); | ^~~~ | | | u_char * {aka unsigned char *} ./missing/strlcat.h:1:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 1 | size_t strlcat(char *dst, const char *src, size_t siz); | ~~~~~~^~~ ./decode_pop.c:126:33: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] 126 | strlcat(obuf, "] password [", olen); | ^~~~ | | | u_char * {aka unsigned char *} ./missing/strlcat.h:1:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 1 | size_t strlcat(char *dst, const char *src, size_t siz); | ~~~~~~^~~ ./decode_pop.c:127:33: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] 127 | strlcat(obuf, password, olen); | ^~~~ | | | u_char * {aka unsigned char *} ./missing/strlcat.h:1:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 1 | size_t strlcat(char *dst, const char *src, size_t siz); | ~~~~~~^~~ ./decode_pop.c:128:33: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] 128 | strlcat(obuf, "]\n", olen); | ^~~~ | | | u_char * {aka unsigned char *} ./missing/strlcat.h:1:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 1 | size_t strlcat(char *dst, const char *src, size_t siz); | ~~~~~~^~~ ./decode_pop.c:133:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 133 | return (strlen(obuf)); | ^~~~ | | | u_char * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ./decode_pop.c:52:13: warning: unused variable 'i' [-Wunused-variable] 52 | int i, j; | ^ ./decode_pop.c:115:28: warning: 'user' may be used uninitialized [-Wmaybe-uninitialized] 115 | if (!user) { | ^ ./decode_pop.c:53:15: note: 'user' was declared here 53 | char *user; | ^~~~ ./decode_pop.c:123:26: warning: 'password' may be used uninitialized [-Wmaybe-uninitialized] 123 | if (user && password) { | ~~~~~^~~~~~~~~~~ ./decode_pop.c:54:15: note: 'password' was declared here 54 | char *password; | ^~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./decode_rip.c ./decode_rip.c: In function 'decode_rip': ./decode_rip.c:32:26: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 32 | return (snprintf(obuf, olen, "%s\n", buf + 20)); | ^~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:491, from /usr/include/sys/types.h:25, from ./decode_rip.c:13: /usr/include/bits/stdio2.h:51:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 51 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./decode_portmap.c ./decode_portmap.c: In function 'decode_portmap': ./decode_portmap.c:41:42: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] 41 | xdrmem_create(&xdrs, buf + hdrlen, len - hdrlen, XDR_DECODE); | ~~~~^~~~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/tirpc/rpc/rpc.h:43, from ./decode_portmap.c:14: /usr/include/tirpc/rpc/xdr.h:355:36: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 355 | extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); | ^~~~~~ ./decode_portmap.c:56:50: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] 56 | xdrmem_create(&xdrs, buf + hdrlen, len - hdrlen, | ~~~~^~~~~~~~ | | | u_char * {aka unsigned char *} /usr/include/tirpc/rpc/xdr.h:355:36: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 355 | extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); | ^~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./decode_rlogin.c ./decode_rlogin.c: In function 'decode_rlogin': ./decode_rlogin.c:32:17: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] 32 | strlcpy(obuf, "[", olen); | ^~~~ | | | u_char * {aka unsigned char *} In file included from ./decode_rlogin.c:17: ./missing/strlcpy.h:1:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 1 | size_t strlcpy(char *dst, const char *src, size_t siz); | ~~~~~~^~~ ./decode_rlogin.c:33:17: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] 33 | strlcat(obuf, p, olen); /* Local username */ | ^~~~ | | | u_char * {aka unsigned char *} In file included from ./decode_rlogin.c:18: ./missing/strlcat.h:1:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 1 | size_t strlcat(char *dst, const char *src, size_t siz); | ~~~~~~^~~ ./decode_rlogin.c:33:23: warning: pointer targets in passing argument 2 of 'strlcat' differ in signedness [-Wpointer-sign] 33 | strlcat(obuf, p, olen); /* Local username */ | ^ | | | u_char * {aka unsigned char *} ./missing/strlcat.h:1:39: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 1 | size_t strlcat(char *dst, const char *src, size_t siz); | ~~~~~~~~~~~~^~~ ./decode_rlogin.c:34:17: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] 34 | strlcat(obuf, ":", olen); | ^~~~ | | | u_char * {aka unsigned char *} ./missing/strlcat.h:1:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 1 | size_t strlcat(char *dst, const char *src, size_t siz); | ~~~~~~^~~ ./decode_rlogin.c:35:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 35 | p += strlen(p) + 1; | ^ | | | u_char * {aka unsigned char *} In file included from ./decode_rlogin.c:16: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ./decode_rlogin.c:37:17: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] 37 | strlcat(obuf, p, olen); /* Remote username */ | ^~~~ | | | u_char * {aka unsigned char *} ./missing/strlcat.h:1:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 1 | size_t strlcat(char *dst, const char *src, size_t siz); | ~~~~~~^~~ ./decode_rlogin.c:37:23: warning: pointer targets in passing argument 2 of 'strlcat' differ in signedness [-Wpointer-sign] 37 | strlcat(obuf, p, olen); /* Remote username */ | ^ | | | u_char * {aka unsigned char *} ./missing/strlcat.h:1:39: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 1 | size_t strlcat(char *dst, const char *src, size_t siz); | ~~~~~~~~~~~~^~~ ./decode_rlogin.c:38:17: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] 38 | strlcat(obuf, "]\n", olen); | ^~~~ | | | u_char * {aka unsigned char *} ./missing/strlcat.h:1:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 1 | size_t strlcat(char *dst, const char *src, size_t siz); | ~~~~~~^~~ ./decode_rlogin.c:39:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 39 | p += strlen(p) + 1; | ^ | | | u_char * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ./decode_rlogin.c:41:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 41 | p += strlen(p) + 1; /* Skip term info */ | ^ | | | u_char * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ./decode_rlogin.c:43:25: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] 43 | if ((q = strstr(p, "\xff\xffss")) != NULL) /* Skip window size */ | ^ | | | u_char * {aka unsigned char *} /usr/include/string.h:350:34: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 350 | extern char *strstr (const char *__haystack, const char *__needle) | ~~~~~~~~~~~~^~~~~~~~~~ ./decode_rlogin.c:43:16: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 43 | if ((q = strstr(p, "\xff\xffss")) != NULL) /* Skip window size */ | ^ ./decode_rlogin.c:46:25: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] 46 | for (p = strtok(p, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) { | ^ | | | u_char * {aka unsigned char *} /usr/include/string.h:356:39: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 356 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ~~~~~~~~~~~~~~~~~^~~ ./decode_rlogin.c:46:16: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 46 | for (p = strtok(p, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) { | ^ ./decode_rlogin.c:46:50: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 46 | for (p = strtok(p, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) { | ^ ./decode_rlogin.c:47:25: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] 47 | strlcat(obuf, p, olen); | ^~~~ | | | u_char * {aka unsigned char *} ./missing/strlcat.h:1:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 1 | size_t strlcat(char *dst, const char *src, size_t siz); | ~~~~~~^~~ ./decode_rlogin.c:47:31: warning: pointer targets in passing argument 2 of 'strlcat' differ in signedness [-Wpointer-sign] 47 | strlcat(obuf, p, olen); | ^ | | | u_char * {aka unsigned char *} ./missing/strlcat.h:1:39: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 1 | size_t strlcat(char *dst, const char *src, size_t siz); | ~~~~~~~~~~~~^~~ ./decode_rlogin.c:48:25: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] 48 | strlcat(obuf, "\n", olen); | ^~~~ | | | u_char * {aka unsigned char *} ./missing/strlcat.h:1:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 1 | size_t strlcat(char *dst, const char *src, size_t siz); | ~~~~~~^~~ ./decode_rlogin.c:50:26: warning: pointer targets in passing argument 1 of 'strip_lines' differ in signedness [-Wpointer-sign] 50 | if (!strip_lines(obuf, Opt_lines)) | ^~~~ | | | u_char * {aka unsigned char *} In file included from ./decode_rlogin.c:21: ./decode.h:44:27: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 44 | int strip_lines(char *buf, int max_lines); | ~~~~~~^~~ ./decode_rlogin.c:53:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 53 | return (strlen(obuf)); | ^~~~ | | | u_char * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./decode_pptp.c ./decode_pptp.c: In function 'decode_pptp': ./decode_pptp.c:187:41: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 187 | if ((p = strchr(name, '\\')) == NULL) | ^~~~ | | | u_char * {aka unsigned char *} In file included from ./decode_pptp.c:18: /usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ ./decode_pptp.c:187:32: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 187 | if ((p = strchr(name, '\\')) == NULL) | ^ ./decode_pptp.c:190:25: warning: 'SHA1_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 190 | SHA1_Init(&ctx); | ^~~~~~~~~ In file included from ./decode_pptp.c:15: /usr/include/openssl/sha.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); | ^~~~~~~~~ ./decode_pptp.c:191:25: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 191 | SHA1_Update(&ctx, chapch->value.response_v2.peer_challenge, 16); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ ./decode_pptp.c:192:25: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 192 | SHA1_Update(&ctx, save_challenge.challenge, 16); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ ./decode_pptp.c:193:25: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 193 | SHA1_Update(&ctx, p, strlen(p)); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ ./decode_pptp.c:193:53: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 193 | SHA1_Update(&ctx, p, strlen(p)); | ^ | | | u_char * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ./decode_pptp.c:194:25: warning: 'SHA1_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 194 | SHA1_Final(digest, &ctx); | ^~~~~~~~~~ /usr/include/openssl/sha.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); | ^~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./decode_smtp.c ./decode_smtp.c: In function 'decode_smtp': ./decode_smtp.c:31:25: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] 31 | for (p = strtok(buf, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) { | ^~~ | | | u_char * {aka unsigned char *} In file included from ./decode_smtp.c:16: /usr/include/string.h:356:39: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 356 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ~~~~~~~~~~~~~~~~~^~~ ./decode_smtp.c:33:33: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] 33 | strlcat(obuf, p, olen); | ^~~~ | | | u_char * {aka unsigned char *} In file included from ./decode_smtp.c:17: ./missing/strlcat.h:1:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 1 | size_t strlcat(char *dst, const char *src, size_t siz); | ~~~~~~^~~ ./decode_smtp.c:34:44: warning: pointer targets in passing argument 2 of 'base64_pton' differ in signedness [-Wpointer-sign] 34 | i = base64_pton(p, p, strlen(p)); | ^ | | | char * In file included from ./decode_smtp.c:19: ./base64.h:12:35: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 12 | int base64_pton(char const *, u_char *, size_t); | ^~~~~~~~ ./decode_smtp.c:36:36: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 36 | j = strlen(obuf); | ^~~~ | | | u_char * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ./decode_smtp.c:37:39: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 37 | snprintf(obuf + j, olen - j, " [%s]\n", p); | ~~~~~^~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:491, from /usr/include/sys/types.h:25, from ./decode_smtp.c:13: /usr/include/bits/stdio2.h:51:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 51 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ ./decode_smtp.c:41:33: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] 41 | strlcat(obuf, p, olen); | ^~~~ | | | u_char * {aka unsigned char *} ./missing/strlcat.h:1:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 1 | size_t strlcat(char *dst, const char *src, size_t siz); | ~~~~~~^~~ ./decode_smtp.c:43:44: warning: pointer targets in passing argument 2 of 'base64_pton' differ in signedness [-Wpointer-sign] 43 | i = base64_pton(p, p, strlen(p)); | ^ | | | char * ./base64.h:12:35: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 12 | int base64_pton(char const *, u_char *, size_t); | ^~~~~~~~ ./decode_smtp.c:45:36: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 45 | j = strlen(obuf); | ^~~~ | | | u_char * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ./decode_smtp.c:46:39: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 46 | snprintf(obuf + j, olen - j, " [%s]\n", p); | ~~~~~^~~ | | | u_char * {aka unsigned char *} /usr/include/bits/stdio2.h:51:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 51 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ ./decode_smtp.c:55:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 55 | return (strlen(obuf)); | ^~~~ | | | u_char * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./decode_smb.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./decode_sniffer.c ./decode_smb.c: In function 'decode_smb': ./decode_smb.c:67:30: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 67 | pass = q + 6; | ^ ./decode_smb.c:75:30: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 75 | pass = q + 12; | ^ ./decode_smb.c:83:33: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] 83 | strlcat(obuf, user, olen); | ^~~~ | | | u_char * {aka unsigned char *} In file included from ./decode_smb.c:18: ./missing/strlcat.h:1:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 1 | size_t strlcat(char *dst, const char *src, size_t siz); | ~~~~~~^~~ ./decode_smb.c:84:33: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] 84 | strlcat(obuf, " ", olen); | ^~~~ | | | u_char * {aka unsigned char *} ./missing/strlcat.h:1:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 1 | size_t strlcat(char *dst, const char *src, size_t siz); | ~~~~~~^~~ ./decode_smb.c:85:33: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] 85 | strlcat(obuf, pass, olen); | ^~~~ | | | u_char * {aka unsigned char *} ./missing/strlcat.h:1:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 1 | size_t strlcat(char *dst, const char *src, size_t siz); | ~~~~~~^~~ ./decode_smb.c:86:33: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] 86 | strlcat(obuf, "\n", olen); | ^~~~ | | | u_char * {aka unsigned char *} ./missing/strlcat.h:1:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 1 | size_t strlcat(char *dst, const char *src, size_t siz); | ~~~~~~^~~ ./decode_smb.c:89:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 89 | return (strlen(obuf)); | ^~~~ | | | u_char * {aka unsigned char *} In file included from ./decode_smb.c:17: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ./decode_sniffer.c: In function 'decode_sniffer': ./decode_sniffer.c:36:41: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] 36 | return (strlcpy(obuf, "[]\n", olen)); | ^~~~ | | | u_char * {aka unsigned char *} In file included from ./decode_sniffer.c:19: ./missing/strlcpy.h:1:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 1 | size_t strlcpy(char *dst, const char *src, size_t siz); | ~~~~~~^~~ ./decode_sniffer.c:40:41: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] 40 | return (strlcpy(obuf, "[]\n", olen)); | ^~~~ | | | u_char * {aka unsigned char *} ./missing/strlcpy.h:1:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 1 | size_t strlcpy(char *dst, const char *src, size_t siz); | ~~~~~~^~~ ./decode_sniffer.c:44:36: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] 44 | buf[len - 3]= '\0'; strtok(&buf[32], "\r\n"); | ^~~~~~~~ | | | u_char * {aka unsigned char *} In file included from ./decode_sniffer.c:17: /usr/include/string.h:356:39: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 356 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ~~~~~~~~~~~~~~~~~^~~ ./decode_sniffer.c:45:18: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 45 | snprintf(obuf, olen, "%s [", &buf[32]); | ^~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:491, from /usr/include/sys/types.h:25, from ./decode_sniffer.c:14: /usr/include/bits/stdio2.h:51:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 51 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ ./decode_sniffer.c:46:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 46 | len = strlen(obuf); | ^~~~ | | | u_char * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ./decode_sniffer.c:47:25: warning: pointer targets in passing argument 1 of 'base64_pton' differ in signedness [-Wpointer-sign] 47 | i = base64_pton(&buf[32], &obuf[len], olen - len - 3); | ^~~~~~~~ | | | u_char * {aka unsigned char *} In file included from ./decode_sniffer.c:21: ./base64.h:12:21: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 12 | int base64_pton(char const *, u_char *, size_t); | ^~~~~~~~~~~~ ./decode_sniffer.c:49:17: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] 49 | strlcat(obuf, "]\n", olen); | ^~~~ | | | u_char * {aka unsigned char *} In file included from ./decode_sniffer.c:18: ./missing/strlcat.h:1:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 1 | size_t strlcat(char *dst, const char *src, size_t siz); | ~~~~~~^~~ ./decode_sniffer.c:51:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 51 | return (strlen(obuf)); | ^~~~ | | | u_char * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./decode_snmp.c ./decode_snmp.c: In function 'decode_snmp': ./decode_snmp.c:47:11: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 47 | p = buf_strdup(b); | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./decode_telnet.c ./decode_telnet.c: In function 'decode_telnet': ./decode_telnet.c:28:30: warning: pointer targets in passing argument 1 of 'is_ascii_string' differ in signedness [-Wpointer-sign] 28 | if (!is_ascii_string(buf, len)) | ^~~ | | | u_char * {aka unsigned char *} In file included from ./decode_telnet.c:20: ./decode.h:46:31: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 46 | int is_ascii_string(char *buf, int len); | ~~~~~~^~~ ./decode_telnet.c:31:25: warning: pointer targets in passing argument 1 of 'strip_lines' differ in signedness [-Wpointer-sign] 31 | if (strip_lines(buf, Opt_lines) < 2) | ^~~ | | | u_char * {aka unsigned char *} ./decode.h:44:27: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 44 | int strip_lines(char *buf, int max_lines); | ~~~~~~^~~ ./decode_telnet.c:34:17: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] 34 | strlcpy(obuf, buf, olen); | ^~~~ | | | u_char * {aka unsigned char *} In file included from ./decode_telnet.c:17: ./missing/strlcpy.h:1:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 1 | size_t strlcpy(char *dst, const char *src, size_t siz); | ~~~~~~^~~ ./decode_telnet.c:34:23: warning: pointer targets in passing argument 2 of 'strlcpy' differ in signedness [-Wpointer-sign] 34 | strlcpy(obuf, buf, olen); | ^~~ | | | u_char * {aka unsigned char *} ./missing/strlcpy.h:1:39: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 1 | size_t strlcpy(char *dst, const char *src, size_t siz); | ~~~~~~~~~~~~^~~ ./decode_telnet.c:36:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 36 | return (strlen(obuf)); | ^~~~ | | | u_char * {aka unsigned char *} In file included from ./decode_telnet.c:16: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./decode_socks.c ./decode_socks.c: In function 'decode_socks': ./decode_socks.c:48:18: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 48 | snprintf(obuf, olen, "%s ", p - 1); | ^~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:491, from /usr/include/sys/types.h:25, from ./decode_socks.c:13: /usr/include/bits/stdio2.h:51:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 51 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ ./decode_socks.c:56:17: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] 56 | strlcat(obuf, p - 1, olen); | ^~~~ | | | u_char * {aka unsigned char *} In file included from ./decode_socks.c:17: ./missing/strlcat.h:1:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 1 | size_t strlcat(char *dst, const char *src, size_t siz); | ~~~~~~^~~ ./decode_socks.c:56:25: warning: pointer targets in passing argument 2 of 'strlcat' differ in signedness [-Wpointer-sign] 56 | strlcat(obuf, p - 1, olen); | ~~^~~ | | | u_char * {aka unsigned char *} ./missing/strlcat.h:1:39: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 1 | size_t strlcat(char *dst, const char *src, size_t siz); | ~~~~~~~~~~~~^~~ ./decode_socks.c:57:17: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] 57 | strlcat(obuf, "\n", olen); | ^~~~ | | | u_char * {aka unsigned char *} ./missing/strlcat.h:1:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 1 | size_t strlcat(char *dst, const char *src, size_t siz); | ~~~~~~^~~ ./decode_socks.c:59:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 59 | return (strlen(obuf)); | ^~~~ | | | u_char * {aka unsigned char *} In file included from ./decode_socks.c:16: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./decode_vrrp.c rpcgen -h nfs_prot.x -o nfs_prot.h rpcgen -c nfs_prot.x -o nfs_prot.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./decode_x11.c ./decode_x11.c: In function 'decode_x11': ./decode_x11.c:28:11: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 28 | p = buf + 12; | ^ ./decode_x11.c:33:17: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] 33 | strlcpy(obuf, "MIT-MAGIC-COOKIE-1 ", olen); | ^~~~ | | | u_char * {aka unsigned char *} In file included from ./decode_x11.c:18: ./missing/strlcpy.h:1:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 1 | size_t strlcpy(char *dst, const char *src, size_t siz); | ~~~~~~^~~ ./decode_x11.c:37:11: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 37 | q = obuf + 19; | ^ ./decode_x11.c:41:17: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] 41 | strlcat(obuf, "\n", olen); | ^~~~ | | | u_char * {aka unsigned char *} In file included from ./decode_x11.c:17: ./missing/strlcat.h:1:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 1 | size_t strlcat(char *dst, const char *src, size_t siz); | ~~~~~~^~~ ./decode_x11.c:43:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 43 | return (strlen(obuf)); | ^~~~ | | | u_char * {aka unsigned char *} In file included from ./decode_x11.c:16: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./decode_tds.c ./decode_tds.c: In function 'decode_tds': ./decode_tds.c:163:33: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] 163 | strlcat(obuf, tl->username, olen); | ^~~~ | | | u_char * {aka unsigned char *} In file included from ./decode_tds.c:21: ./missing/strlcat.h:1:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 1 | size_t strlcat(char *dst, const char *src, size_t siz); | ~~~~~~^~~ ./decode_tds.c:164:33: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] 164 | strlcat(obuf, "\n", olen); | ^~~~ | | | u_char * {aka unsigned char *} ./missing/strlcat.h:1:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 1 | size_t strlcat(char *dst, const char *src, size_t siz); | ~~~~~~^~~ ./decode_tds.c:170:33: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] 170 | strlcat(obuf, tl->password, olen); | ^~~~ | | | u_char * {aka unsigned char *} ./missing/strlcat.h:1:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 1 | size_t strlcat(char *dst, const char *src, size_t siz); | ~~~~~~^~~ ./decode_tds.c:171:33: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] 171 | strlcat(obuf, "\n", olen); | ^~~~ | | | u_char * {aka unsigned char *} ./missing/strlcat.h:1:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 1 | size_t strlcat(char *dst, const char *src, size_t siz); | ~~~~~~^~~ ./decode_tds.c:204:48: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 204 | snprintf(obuf + strlen(obuf), | ^~~~ | | | u_char * {aka unsigned char *} In file included from ./decode_tds.c:20: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ./decode_tds.c:205:48: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 205 | olen - strlen(obuf), | ^~~~ | | | u_char * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ./decode_tds.c:204:39: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 204 | snprintf(obuf + strlen(obuf), | ~~~~~^~~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:491, from /usr/include/sys/types.h:25, from ./decode_tds.c:17: /usr/include/bits/stdio2.h:51:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 51 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ ./decode_tds.c:207:39: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 207 | return(strlen(obuf)); | ^~~~ | | | u_char * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ./decode_tds.c:210:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 210 | return (strlen(obuf)); | ^~~~ | | | u_char * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ./decode_tds.c:137:34: warning: variable 'myt7l' set but not used [-Wunused-but-set-variable] 137 | struct tds7_login *t7l, *myt7l; | ^~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./decode_yp.c ./decode_yp.c: In function 'decode_yppasswd': ./decode_yp.c:86:42: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] 86 | xdrmem_create(&xdrs, buf + hdrlen, len - hdrlen, XDR_DECODE); | ~~~~^~~~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/tirpc/rpc/rpc.h:43, from ./decode_yp.c:17: /usr/include/tirpc/rpc/xdr.h:355:36: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 355 | extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); | ^~~~~~ ./decode_yp.c:89:34: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 89 | snprintf(obuf, olen, | ^~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:491, from /usr/include/sys/types.h:25, from ./decode_yp.c:15: /usr/include/bits/stdio2.h:51:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 51 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ ./decode_yp.c:98:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 98 | return (strlen(obuf)); | ^~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/sys/un.h:38, from /usr/include/tirpc/rpc/clnt.h:46, from /usr/include/tirpc/rpc/rpc.h:49: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ./decode_yp.c: In function 'decode_ypserv': ./decode_yp.c:119:42: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] 119 | xdrmem_create(&xdrs, buf + hdrlen, len - hdrlen, XDR_DECODE); | ~~~~^~~~~~~~ | | | u_char * {aka unsigned char *} /usr/include/tirpc/rpc/xdr.h:355:36: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 355 | extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); | ^~~~~~ ./decode_yp.c:132:50: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] 132 | xdrmem_create(&xdrs, buf + hdrlen, len - hdrlen, | ~~~~^~~~~~~~ | | | u_char * {aka unsigned char *} /usr/include/tirpc/rpc/xdr.h:355:36: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 355 | extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); | ^~~~~~ ./decode_yp.c:136:50: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 136 | snprintf(obuf, olen, "%s\n", | ^~~~ | | | u_char * {aka unsigned char *} /usr/include/bits/stdio2.h:51:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 51 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ ./decode_yp.c:144:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 144 | return (strlen(obuf)); | ^~~~ | | | u_char * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./macof.c ./macof.c: In function 'main': ./macof.c:105:9: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 105 | if (!Intf && (Intf = pcap_lookupdev(pcap_ebuf)) == NULL) | ^~ In file included from /usr/include/pcap.h:43, from ./macof.c:24: /usr/include/pcap/pcap.h:395:18: note: declared here 395 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~ ./macof.c:61:33: warning: unused variable 'llif' [-Wunused-variable] 61 | struct libnet_link_int *llif; | ^~~~ ./macof.c:75:31: warning: 'l' may be used uninitialized [-Wmaybe-uninitialized] 75 | Src = libnet_name2addr4(l, optarg, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./macof.c:68:19: note: 'l' was declared here 68 | libnet_t *l; | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./mailsnarf.c ./mailsnarf.c: In function 'process_pop_client': ./mailsnarf.c:118:24: warning: pointer targets in passing argument 2 of 'buf_init' differ in signedness [-Wpointer-sign] 118 | buf_init(&buf, data, len); | ^~~~ | | | char * In file included from ./mailsnarf.c:27: ./buf.h:22:37: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 22 | void buf_init(buf_t buf, u_char *data, int len); | ~~~~~~~~^~~~ ./buf.h:31:36: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 31 | #define buf_ptr(b) ((b)->base + (b)->offset) | ~~~~~~~~~~~^~~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} ./mailsnarf.c:124:33: note: in expansion of macro 'buf_ptr' 124 | if (strncasecmp(buf_ptr(line), "RETR ", 5) == 0) { | ^~~~~~~ In file included from /usr/include/string.h:462, from ./mailsnarf.c:18: /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ ./mailsnarf.c: In function 'process_pop_server': ./mailsnarf.c:138:24: warning: pointer targets in passing argument 2 of 'buf_init' differ in signedness [-Wpointer-sign] 138 | buf_init(&buf, data, len); | ^~~~ | | | char * ./buf.h:22:37: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 22 | void buf_init(buf_t buf, u_char *data, int len); | ~~~~~~~~^~~~ ./buf.h:31:36: warning: pointer targets in passing argument 1 of 'regex_match' differ in signedness [-Wpointer-sign] 31 | #define buf_ptr(b) ((b)->base + (b)->offset) | ~~~~~~~~~~~^~~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} ./mailsnarf.c:160:41: note: in expansion of macro 'buf_ptr' 160 | if (regex_match(buf_ptr(body))) | ^~~~~~~ ./mailsnarf.c:67:19: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 67 | regex_match(char *string) | ~~~~~~^~~~~~ ./buf.h:31:36: warning: pointer targets in passing argument 2 of 'print_mbox_msg' differ in signedness [-Wpointer-sign] 31 | #define buf_ptr(b) ((b)->base + (b)->offset) | ~~~~~~~~~~~^~~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} ./mailsnarf.c:161:54: note: in expansion of macro 'buf_ptr' 161 | print_mbox_msg(NULL, buf_ptr(body)); | ^~~~~~~ ./mailsnarf.c:89:34: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 89 | print_mbox_msg(char *from, char *msg) | ~~~~~~^~~ ./mailsnarf.c: In function 'process_smtp_client': ./mailsnarf.c:176:24: warning: pointer targets in passing argument 2 of 'buf_init' differ in signedness [-Wpointer-sign] 176 | buf_init(&buf, data, len); | ^~~~ | | | char * ./buf.h:22:37: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 22 | void buf_init(buf_t buf, u_char *data, int len); | ~~~~~~~~^~~~ ./mailsnarf.c:182:27: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 182 | p = buf_ptr(line); | ^ ./buf.h:31:36: warning: pointer targets in passing argument 1 of 'regex_match' differ in signedness [-Wpointer-sign] 31 | #define buf_ptr(b) ((b)->base + (b)->offset) | ~~~~~~~~~~~^~~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} ./mailsnarf.c:216:41: note: in expansion of macro 'buf_ptr' 216 | if (regex_match(buf_ptr(body))) | ^~~~~~~ ./mailsnarf.c:67:19: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 67 | regex_match(char *string) | ~~~~~~^~~~~~ ./buf.h:31:36: warning: pointer targets in passing argument 2 of 'print_mbox_msg' differ in signedness [-Wpointer-sign] 31 | #define buf_ptr(b) ((b)->base + (b)->offset) | ~~~~~~~~~~~^~~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} ./mailsnarf.c:217:60: note: in expansion of macro 'buf_ptr' 217 | print_mbox_msg(smtp->from, buf_ptr(body)); | ^~~~~~~ ./mailsnarf.c:89:34: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 89 | print_mbox_msg(char *from, char *msg) | ~~~~~~^~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./filesnarf.c ./filesnarf.c: In function 'nfs2_call': ./filesnarf.c:161:38: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] 161 | xdrmem_create(&xdrs, buf, len, XDR_DECODE); | ^~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/tirpc/rpc/rpc.h:43, from ./filesnarf.c:14: /usr/include/tirpc/rpc/xdr.h:355:36: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 355 | extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); | ^~~~~~ ./filesnarf.c:174:38: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] 174 | xdrmem_create(&xdrs, buf, len, XDR_DECODE); | ^~~ | | | u_char * {aka unsigned char *} /usr/include/tirpc/rpc/xdr.h:355:36: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 355 | extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); | ^~~~~~ ./filesnarf.c:177:55: warning: pointer targets in passing argument 1 of 'fh_map_find' differ in signedness [-Wpointer-sign] 177 | fname = fh_map_find(rargs.file.data, NFS_FHSIZE); | ~~~~~~~~~~^~~~~ | | | char * ./filesnarf.c:105:21: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 105 | fh_map_find(u_char *fh, int len) | ~~~~~~~~^~ ./filesnarf.c: In function 'nfs2_reply': ./filesnarf.c:205:38: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] 205 | xdrmem_create(&xdrs, buf, len, XDR_DECODE); | ^~~ | | | u_char * {aka unsigned char *} /usr/include/tirpc/rpc/xdr.h:355:36: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 355 | extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); | ^~~~~~ ./filesnarf.c:211:73: warning: pointer targets in passing argument 2 of 'fh_map_add' differ in signedness [-Wpointer-sign] 211 | dres.diropres_u.diropres.file.data, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ | | | char * ./filesnarf.c:89:36: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 89 | fh_map_add(char *filename, u_char *fh, int len) | ~~~~~~~~^~ ./filesnarf.c:218:38: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] 218 | xdrmem_create(&xdrs, buf, len, XDR_DECODE); | ^~~ | | | u_char * {aka unsigned char *} /usr/include/tirpc/rpc/xdr.h:355:36: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 355 | extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); | ^~~~~~ ./filesnarf.c:224:67: warning: pointer targets in passing argument 3 of 'nfs_save' differ in signedness [-Wpointer-sign] 224 | rres.readres_u.reply.data.data_val, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ | | | char * ./filesnarf.c:132:62: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 132 | nfs_save(struct tuple4 *addr, struct myreadargs *ma, u_char *buf, int len) | ~~~~~~~~^~~ ./filesnarf.c: In function 'nfs3_call': ./filesnarf.c:246:38: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] 246 | xdrmem_create(&xdrs, buf, len, XDR_DECODE); | ^~~ | | | u_char * {aka unsigned char *} /usr/include/tirpc/rpc/xdr.h:355:36: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 355 | extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); | ^~~~~~ ./filesnarf.c:259:38: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] 259 | xdrmem_create(&xdrs, buf, len, XDR_DECODE); | ^~~ | | | u_char * {aka unsigned char *} /usr/include/tirpc/rpc/xdr.h:355:36: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 355 | extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); | ^~~~~~ ./filesnarf.c:262:60: warning: pointer targets in passing argument 1 of 'fh_map_find' differ in signedness [-Wpointer-sign] 262 | fname = fh_map_find(rargs.file.data.data_val, | ~~~~~~~~~~~~~~~^~~~~~~~~ | | | char * ./filesnarf.c:105:21: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 105 | fh_map_find(u_char *fh, int len) | ~~~~~~~~^~ ./filesnarf.c: In function 'nfs3_reply': ./filesnarf.c:290:38: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] 290 | xdrmem_create(&xdrs, buf, len, XDR_DECODE); | ^~~ | | | u_char * {aka unsigned char *} /usr/include/tirpc/rpc/xdr.h:355:36: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 355 | extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); | ^~~~~~ ./filesnarf.c:296:69: warning: pointer targets in passing argument 2 of 'fh_map_add' differ in signedness [-Wpointer-sign] 296 | lres.LOOKUP3res_u.resok.object.data.data_val, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ | | | char * ./filesnarf.c:89:36: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 89 | fh_map_add(char *filename, u_char *fh, int len) | ~~~~~~~~^~ ./filesnarf.c:304:38: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] 304 | xdrmem_create(&xdrs, buf, len, XDR_DECODE); | ^~~ | | | u_char * {aka unsigned char *} /usr/include/tirpc/rpc/xdr.h:355:36: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 355 | extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); | ^~~~~~ ./filesnarf.c:308:41: warning: comparison between 'nfsstat' and 'enum nfsstat3' [-Wenum-compare] 308 | if (rres.status == NFS3_OK) { | ^~ ./filesnarf.c:310:68: warning: pointer targets in passing argument 3 of 'nfs_save' differ in signedness [-Wpointer-sign] 310 | rres.READ3res_u.resok.data.data_val, | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ | | | char * ./filesnarf.c:132:62: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 132 | nfs_save(struct tuple4 *addr, struct myreadargs *ma, u_char *buf, int len) | ~~~~~~~~^~~ ./filesnarf.c: In function 'decode_tcp_nfs_half': ./filesnarf.c:395:13: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 395 | buf = hs->data; | ^ ./filesnarf.c: In function 'nfs_save': ./filesnarf.c:143:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 143 | write(fd, buf, len); | ^~~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./sshcrypto.c ./sshcrypto.c: In function 'rsa_public_encrypt': ./sshcrypto.c:46:9: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 46 | RSA_get0_key(key, &n, &e, NULL); | ^~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/ssl.h:31, from ./sshcrypto.c:16: /usr/include/openssl/rsa.h:222:28: note: declared here 222 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ ./sshcrypto.c:68:9: warning: 'RSA_public_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 68 | if ((len = RSA_public_encrypt(ilen, inbuf, outbuf, key, | ^~ /usr/include/openssl/rsa.h:287:5: note: declared here 287 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ ./sshcrypto.c: In function 'rsa_private_decrypt': ./sshcrypto.c:88:9: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 88 | RSA_get0_key(key, &n, NULL, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:222:28: note: declared here 222 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ ./sshcrypto.c:103:9: warning: 'RSA_private_decrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 103 | if ((len = RSA_private_decrypt(ilen, inbuf, outbuf, key, | ^~ /usr/include/openssl/rsa.h:296:5: note: declared here 296 | int RSA_private_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ ./sshcrypto.c: In function 'blowfish_init': ./sshcrypto.c:137:9: warning: 'BF_set_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 137 | BF_set_key(&state->key, len, sesskey); | ^~~~~~~~~~ In file included from ./sshcrypto.c:17: /usr/include/openssl/blowfish.h:50:28: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 void BF_set_key(BF_KEY *key, int len, | ^~~~~~~~~~ ./sshcrypto.c: In function 'blowfish_encrypt': ./sshcrypto.c:150:9: warning: 'BF_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 150 | BF_cbc_encrypt((void *)dst, dst, len, &estate->key, estate->iv, | ^~~~~~~~~~~~~~ /usr/include/openssl/blowfish.h:57:28: note: declared here 57 | OSSL_DEPRECATEDIN_3_0 void BF_cbc_encrypt(const unsigned char *in, | ^~~~~~~~~~~~~~ ./sshcrypto.c: In function 'blowfish_decrypt': ./sshcrypto.c:162:9: warning: 'BF_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 162 | BF_cbc_encrypt((void *)dst, dst, len, &dstate->key, dstate->iv, | ^~~~~~~~~~~~~~ /usr/include/openssl/blowfish.h:57:28: note: declared here 57 | OSSL_DEPRECATEDIN_3_0 void BF_cbc_encrypt(const unsigned char *in, | ^~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./msgsnarf.c ./msgsnarf.c: In function 'process_aim': ./msgsnarf.c:146:35: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 146 | p = buf_strdup(msg); | ^ ./msgsnarf.c:148:49: warning: pointer targets in passing argument 1 of 'regex_match' differ in signedness [-Wpointer-sign] 148 | if (regex_match(p)) | ^ | | | u_char * {aka unsigned char *} ./msgsnarf.c:67:19: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 67 | regex_match(char *string) | ~~~~~~^~~~~~ ./msgsnarf.c:162:35: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 162 | p = buf_strdup(msg); | ^ ./msgsnarf.c:164:49: warning: pointer targets in passing argument 1 of 'regex_match' differ in signedness [-Wpointer-sign] 164 | if (regex_match(p)) | ^ | | | u_char * {aka unsigned char *} ./msgsnarf.c:67:19: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 67 | regex_match(char *string) | ~~~~~~^~~~~~ ./msgsnarf.c:198:35: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 198 | p = buf_strdup(msg); | ^ ./msgsnarf.c:200:49: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 200 | if (p && strlen(p) && regex_match(p)) { | ^ | | | u_char * {aka unsigned char *} In file included from ./msgsnarf.c:19: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ./msgsnarf.c:200:67: warning: pointer targets in passing argument 1 of 'regex_match' differ in signedness [-Wpointer-sign] 200 | if (p && strlen(p) && regex_match(p)) { | ^ | | | u_char * {aka unsigned char *} ./msgsnarf.c:67:19: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 67 | regex_match(char *string) | ~~~~~~^~~~~~ ./msgsnarf.c: In function 'sniff_msgs': ./msgsnarf.c:599:55: warning: pointer targets in passing argument 2 of 'process_msgs' differ in signedness [-Wpointer-sign] 599 | i = process_msgs(c, ts->server.data, | ~~~~~~~~~~^~~~~ | | | char * ./msgsnarf.c:599:55: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' ./msgsnarf.c:604:55: warning: pointer targets in passing argument 2 of 'process_msgs' differ in signedness [-Wpointer-sign] 604 | i = process_msgs(c, ts->client.data, | ~~~~~~~~~~^~~~~ | | | char * ./msgsnarf.c:604:55: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' ./msgsnarf.c:615:51: warning: pointer targets in passing argument 2 of 'process_msgs' differ in signedness [-Wpointer-sign] 615 | process_msgs(c, ts->server.data, | ~~~~~~~~~~^~~~~ | | | char * ./msgsnarf.c:615:51: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' ./msgsnarf.c:618:51: warning: pointer targets in passing argument 2 of 'process_msgs' differ in signedness [-Wpointer-sign] 618 | process_msgs(c, ts->client.data, | ~~~~~~~~~~^~~~~ | | | char * ./msgsnarf.c:618:51: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./sshmitm.c ./sshmitm.c:45:22: warning: built-in function 'csin' declared as non-function [-Wbuiltin-declaration-mismatch] 45 | struct sockaddr_in csin, ssin; | ^~~~ ./sshmitm.c: In function 'mitm_init': ./sshmitm.c:135:9: warning: 'RSA_generate_key' is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] 135 | ssh_client_ctx->hostkey = RSA_generate_key(1024, 35, NULL, NULL); | ^~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/ssl.h:31, from ./sshmitm.c:18: /usr/include/openssl/rsa.h:258:30: note: declared here 258 | OSSL_DEPRECATEDIN_0_9_8 RSA *RSA_generate_key(int bits, unsigned long e, void | ^~~~~~~~~~~~~~~~ ./sshmitm.c:136:9: warning: 'RSA_generate_key' is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] 136 | ssh_client_ctx->servkey = RSA_generate_key(768, 35, NULL, NULL); | ^~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:258:30: note: declared here 258 | OSSL_DEPRECATEDIN_0_9_8 RSA *RSA_generate_key(int bits, unsigned long e, void | ^~~~~~~~~~~~~~~~ ./sshmitm.c: In function 'mitm_child': ./sshmitm.c:204:53: warning: pointer targets in passing argument 3 of 'ssh_strlcat' differ in signedness [-Wpointer-sign] 204 | ssh_strlcat(userpass, sizeof(userpass), buf + 1, i - 1); | ~~~~^~~ | | | u_char * {aka unsigned char *} ./sshmitm.c:59:40: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 59 | ssh_strlcat(char *dst, int size, char *src, int len) | ~~~~~~^~~ ./sshmitm.c:237:57: warning: pointer targets in passing argument 3 of 'ssh_strlcat' differ in signedness [-Wpointer-sign] 237 | buf + 1, i - 1); | ~~~~^~~ | | | u_char * {aka unsigned char *} ./sshmitm.c:59:40: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 59 | ssh_strlcat(char *dst, int size, char *src, int len) | ~~~~~~^~~ ./sshmitm.c:248:48: warning: pointer targets in passing argument 7 of 'record' differ in signedness [-Wpointer-sign] 248 | userpass, strlen(userpass)); | ^~~~~~~~ | | | char * In file included from ./sshmitm.c:30: ./record.h:17:51: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 17 | u_short dport, char *name, u_char *buf, int len); | ~~~~~~~~^~~ ./sshmitm.c: In function 'mitm_run': ./sshmitm.c:342:70: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] 342 | (struct sockaddr *)&csin, &i); | ^~ | | | int * In file included from ./sshmitm.c:15: /usr/include/sys/socket.h:307:42: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 307 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./ssh.c ./ssh.c: In function 'ssh_session_id': ./ssh.c:139:9: warning: 'MD5' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 139 | MD5(p, i + j + 8, sessid); | ^~~ In file included from ./ssh.c:19: /usr/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~ ./ssh.c: In function 'SSH_accept': ./ssh.c:251:9: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 251 | RSA_get0_key(ssh->ctx->servkey, &servkey_n, &servkey_e, NULL); | ^~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/ssl.h:31, from ./ssh.c:16: /usr/include/openssl/rsa.h:222:28: note: declared here 222 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ ./ssh.c:252:16: warning: passing argument 1 of 'put_bn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 252 | put_bn(servkey_e, &p); /* servkey exponent */ | ^~~~~~~~~ ./ssh.c:92:16: note: expected 'BIGNUM *' {aka 'struct bignum_st *'} but argument is of type 'const BIGNUM *' {aka 'const struct bignum_st *'} 92 | put_bn(BIGNUM *bn, u_char **pp) | ~~~~~~~~^~ ./ssh.c:253:16: warning: passing argument 1 of 'put_bn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 253 | put_bn(servkey_n, &p); /* servkey modulus */ | ^~~~~~~~~ ./ssh.c:92:16: note: expected 'BIGNUM *' {aka 'struct bignum_st *'} but argument is of type 'const BIGNUM *' {aka 'const struct bignum_st *'} 92 | put_bn(BIGNUM *bn, u_char **pp) | ~~~~~~~~^~ ./ssh.c:260:9: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 260 | RSA_get0_key(ssh->ctx->hostkey, &hostkey_n, &hostkey_e, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:222:28: note: declared here 222 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ ./ssh.c:261:16: warning: passing argument 1 of 'put_bn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 261 | put_bn(hostkey_e, &p); /* hostkey exponent */ | ^~~~~~~~~ ./ssh.c:92:16: note: expected 'BIGNUM *' {aka 'struct bignum_st *'} but argument is of type 'const BIGNUM *' {aka 'const struct bignum_st *'} 92 | put_bn(BIGNUM *bn, u_char **pp) | ~~~~~~~~^~ ./ssh.c:262:16: warning: passing argument 1 of 'put_bn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 262 | put_bn(hostkey_n, &p); /* hostkey modulus */ | ^~~~~~~~~ ./ssh.c:92:16: note: expected 'BIGNUM *' {aka 'struct bignum_st *'} but argument is of type 'const BIGNUM *' {aka 'const struct bignum_st *'} 92 | put_bn(BIGNUM *bn, u_char **pp) | ~~~~~~~~^~ ./ssh.c:342:41: warning: passing argument 2 of 'ssh_session_id' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 342 | if ((p = ssh_session_id(cookie, hostkey_n, | ^~~~~~~~~ ./ssh.c:122:40: note: expected 'BIGNUM *' {aka 'struct bignum_st *'} but argument is of type 'const BIGNUM *' {aka 'const struct bignum_st *'} 122 | ssh_session_id(u_char *cookie, BIGNUM *hostkey_n, BIGNUM *servkey_n) | ~~~~~~~~^~~~~~~~~ ./ssh.c:343:33: warning: passing argument 3 of 'ssh_session_id' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 343 | servkey_n)) == NULL) { | ^~~~~~~~~ ./ssh.c:122:59: note: expected 'BIGNUM *' {aka 'struct bignum_st *'} but argument is of type 'const BIGNUM *' {aka 'const struct bignum_st *'} 122 | ssh_session_id(u_char *cookie, BIGNUM *hostkey_n, BIGNUM *servkey_n) | ~~~~~~~~^~~~~~~~~ ./ssh.c: In function 'SSH_connect': ./ssh.c:415:9: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 415 | ssh->ctx->servkey = RSA_new(); | ^~~ /usr/include/openssl/rsa.h:206:28: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ ./ssh.c:419:9: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 419 | RSA_set0_key(ssh->ctx->servkey, servkey_n, servkey_e, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:212:27: note: declared here 212 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ ./ssh.c:435:9: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 435 | ssh->ctx->hostkey = RSA_new(); | ^~~ /usr/include/openssl/rsa.h:206:28: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ ./ssh.c:439:9: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 439 | RSA_set0_key(ssh->ctx->hostkey, hostkey_n, hostkey_e, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:212:27: note: declared here 212 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ ./ssh.c:498:9: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 498 | RSA_free(ssh->ctx->servkey); | ^~~~~~~~ /usr/include/openssl/rsa.h:298:28: note: declared here 298 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ ./ssh.c:499:9: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 499 | RSA_free(ssh->ctx->hostkey); | ^~~~~~~~ /usr/include/openssl/rsa.h:298:28: note: declared here 298 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./tcpkill.c ./tcpkill.c: In function 'tcp_kill_cb': ./tcpkill.c:64:18: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 64 | snprintf(ctext, sizeof(ctext), "%s:%d > %s:%d:", | ^~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:491, from /usr/include/sys/types.h:25, from ./tcpkill.c:13: /usr/include/bits/stdio2.h:51:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 51 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ ./tcpkill.c:87:41: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'u_int32_t' {aka 'unsigned int'} [-Wformat=] 87 | fprintf(stderr, "%s R %lu:%lu(0) win 0\n", ctext, seq, seq); | ~~^ ~~~ | | | | long unsigned int u_int32_t {aka unsigned int} | %u ./tcpkill.c:87:45: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'u_int32_t' {aka 'unsigned int'} [-Wformat=] 87 | fprintf(stderr, "%s R %lu:%lu(0) win 0\n", ctext, seq, seq); | ~~^ ~~~ | | | | long unsigned int u_int32_t {aka unsigned int} | %u ./tcpkill.c:46:16: warning: variable 'len' set but not used [-Wunused-but-set-variable] 46 | int i, len; | ^~~ ./tcpkill.c: In function 'main': ./tcpkill.c:122:9: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 122 | if (intf == NULL && (intf = pcap_lookupdev(ebuf)) == NULL) | ^~ In file included from /usr/include/pcap.h:43, from ./tcpkill.c:21: /usr/include/pcap/pcap.h:395:18: note: declared here 395 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./tcpnice.c ./tcpnice.c: In function 'send_tcp_window_advertisement': ./tcpnice.c:65:49: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type '__uint32_t' {aka 'unsigned int'} [-Wformat=] 65 | fprintf(stderr, "%s:%d > %s:%d: . ack %lu win %d\n", | ~~^ | | | long unsigned int | %u ./tcpnice.c: In function 'tcp_nice_cb': ./tcpnice.c:136:13: warning: variable 'len' set but not used [-Wunused-but-set-variable] 136 | int len; | ^~~ ./tcpnice.c: In function 'main': ./tcpnice.c:193:9: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 193 | if (intf == NULL && (intf = pcap_lookupdev(ebuf)) == NULL) | ^~ In file included from /usr/include/pcap.h:43, from ./tcpnice.c:21: /usr/include/pcap/pcap.h:395:18: note: declared here 395 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./webspy.c In file included from ./webspy.c:29: ./webspy.c: In function 'process_http_request': ./buf.h:31:36: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] 31 | #define buf_ptr(b) ((b)->base + (b)->offset) | ~~~~~~~~~~~^~~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} ./webspy.c:98:30: note: in expansion of macro 'buf_ptr' 98 | req = strtok(buf_ptr(msg), "\r\n"); | ^~~~~~~ In file included from ./webspy.c:22: /usr/include/string.h:356:39: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 356 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ~~~~~~~~~~~~~~~~~^~~ ./webspy.c:119:52: warning: pointer targets in passing argument 2 of 'base64_pton' differ in signedness [-Wpointer-sign] 119 | i = base64_pton(p, p, strlen(p)); | ^ | | | char * In file included from ./webspy.c:28: ./base64.h:12:35: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 12 | int base64_pton(char const *, u_char *, size_t); | ^~~~~~~~ ./webspy.c: In function 'sniff_http_client': ./webspy.c:159:71: warning: pointer targets in passing argument 2 of 'process_http_request' differ in signedness [-Wpointer-sign] 159 | i = process_http_request(&ts->addr, ts->server.data, | ~~~~~~~~~~^~~~~ | | | char * ./webspy.c:85:51: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 85 | process_http_request(struct tuple4 *addr, u_char *data, int len) | ~~~~~~~~^~~~ ./webspy.c:168:67: warning: pointer targets in passing argument 2 of 'process_http_request' differ in signedness [-Wpointer-sign] 168 | process_http_request(&ts->addr, ts->server.data, | ~~~~~~~~~~^~~~~ | | | char * ./webspy.c:85:51: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 85 | process_http_request(struct tuple4 *addr, u_char *data, int len) | ~~~~~~~~^~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./urlsnarf.c ./urlsnarf.c: In function 'escape_log_entry': ./urlsnarf.c:102:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 102 | for (c = string, len = 0; *c; c++) { | ^ ./urlsnarf.c:113:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 113 | for (c = string, o = out; *c; c++, o++) { | ^ ./urlsnarf.c:113:28: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 113 | for (c = string, o = out; *c; c++, o++) { | ^ ./urlsnarf.c:115:34: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 115 | snprintf(o, 5, "\\x%02x", *c); | ^ | | | unsigned char * In file included from /usr/include/features.h:491, from /usr/include/sys/types.h:25, from ./urlsnarf.c:13: /usr/include/bits/stdio2.h:51:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 51 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ In file included from ./urlsnarf.c:30: ./urlsnarf.c: In function 'process_http_request': ./buf.h:31:36: warning: pointer targets in passing argument 1 of 'regex_match' differ in signedness [-Wpointer-sign] 31 | #define buf_ptr(b) ((b)->base + (b)->offset) | ~~~~~~~~~~~^~~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} ./urlsnarf.c:142:34: note: in expansion of macro 'buf_ptr' 142 | if (!regex_match(buf_ptr(msg))) | ^~~~~~~ ./urlsnarf.c:50:19: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 50 | regex_match(char *string) | ~~~~~~^~~~~~ ./buf.h:31:36: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] 31 | #define buf_ptr(b) ((b)->base + (b)->offset) | ~~~~~~~~~~~^~~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} ./urlsnarf.c:145:35: note: in expansion of macro 'buf_ptr' 145 | if ((req = strtok(buf_ptr(msg), "\r\n")) == NULL) | ^~~~~~~ In file included from ./urlsnarf.c:21: /usr/include/string.h:356:39: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 356 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ~~~~~~~~~~~~~~~~~^~~ ./urlsnarf.c:166:52: warning: pointer targets in passing argument 2 of 'base64_pton' differ in signedness [-Wpointer-sign] 166 | i = base64_pton(p, p, strlen(p)); | ^ | | | char * In file included from ./urlsnarf.c:31: ./base64.h:12:35: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 12 | int base64_pton(char const *, u_char *, size_t); | ^~~~~~~~ ./urlsnarf.c: In function 'sniff_http_client': ./urlsnarf.c:224:71: warning: pointer targets in passing argument 2 of 'process_http_request' differ in signedness [-Wpointer-sign] 224 | i = process_http_request(&ts->addr, ts->server.data, | ~~~~~~~~~~^~~~~ | | | char * ./urlsnarf.c:129:51: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 129 | process_http_request(struct tuple4 *addr, u_char *data, int len) | ~~~~~~~~^~~~ ./urlsnarf.c:233:67: warning: pointer targets in passing argument 2 of 'process_http_request' differ in signedness [-Wpointer-sign] 233 | process_http_request(&ts->addr, ts->server.data, | ~~~~~~~~~~^~~~~ | | | char * ./urlsnarf.c:129:51: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 129 | process_http_request(struct tuple4 *addr, u_char *data, int len) | ~~~~~~~~^~~~ ./urlsnarf.c: In function 'main': ./urlsnarf.c:346:42: warning: passing argument 3 of 'pcap_next_ex' from incompatible pointer type [-Wincompatible-pointer-types] 346 | while ((rc = pcap_next_ex(p, &h, &d)) == 1) { | ^~ | | | u_char ** {aka unsigned char **} In file included from /usr/include/pcap.h:43, from /usr/include/nids.h:14, from ./urlsnarf.c:26: /usr/include/pcap/pcap.h:574:63: note: expected 'const u_char **' {aka 'const unsigned char **'} but argument is of type 'u_char **' {aka 'unsigned char **'} 574 | PCAP_API int pcap_next_ex(pcap_t *, struct pcap_pkthdr **, const u_char **); | ^~~~~~~~~~~~~~~ ar -cr libmissing.a dummy.o strlcpy.o strlcat.o md5.o ranlib libmissing.a gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./sshow.c ./sshow.c: In function 'client_to_server': ./sshow.c:221:14: warning: unused variable 'CLK_TCK' [-Wunused-variable] 221 | long CLK_TCK = sysconf(_SC_CLK_TCK); | ^~~~~~~ ./sshow.c: In function 'server_to_client': ./sshow.c:272:14: warning: unused variable 'CLK_TCK' [-Wunused-variable] 272 | long CLK_TCK = sysconf(_SC_CLK_TCK); | ^~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./webmitm.c ./webmitm.c:46:22: warning: built-in function 'csin' declared as non-function [-Wbuiltin-declaration-mismatch] 46 | struct sockaddr_in csin, ssin; | ^~~~ ./webmitm.c: In function 'grep_passwords': ./webmitm.c:108:32: warning: pointer targets in passing argument 7 of 'record' differ in signedness [-Wpointer-sign] 108 | "http", obuf, len); | ^~~~ | | | char * In file included from ./webmitm.c:31: ./record.h:17:51: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 17 | u_short dport, char *name, u_char *buf, int len); | ~~~~~~~~^~~ ./webmitm.c: In function 'client_request': ./webmitm.c:170:18: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 170 | req.base = buf; | ^ ./webmitm.c:175:42: warning: pointer targets in passing argument 1 of 'client_read' differ in signedness [-Wpointer-sign] 175 | while ((i = client_read(req.base + req.end, req.size - req.end)) > 0) { | ~~~~~~~~~^~~~~~~~~ | | | u_char * {aka unsigned char *} ./webmitm.c:154:19: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 154 | client_read(char *buf, int size) | ~~~~~~^~~ ./webmitm.c: In function 'server_init': ./webmitm.c:230:32: warning: pointer targets in passing argument 2 of 'buf_init' differ in signedness [-Wpointer-sign] 230 | buf_init(&msg, buf, size); | ^~~ | | | char * In file included from ./webmitm.c:30: ./buf.h:22:37: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 22 | void buf_init(buf_t buf, u_char *data, int len); | ~~~~~~~~^~~~ ./webmitm.c: In function 'mitm_child': ./webmitm.c:364:33: warning: pointer targets in passing argument 1 of 'client_request' differ in signedness [-Wpointer-sign] 364 | if ((i = client_request(buf, sizeof(buf))) < 0) | ^~~ | | | u_char * {aka unsigned char *} ./webmitm.c:163:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 163 | client_request(char *buf, int size) | ~~~~~~^~~ ./webmitm.c:373:21: warning: pointer targets in passing argument 1 of 'server_init' differ in signedness [-Wpointer-sign] 373 | server_init(buf, i); | ^~~ | | | u_char * {aka unsigned char *} ./webmitm.c:219:19: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 219 | server_init(char *buf, int size) | ~~~~~~^~~ ./webmitm.c:375:26: warning: pointer targets in passing argument 1 of 'server_write' differ in signedness [-Wpointer-sign] 375 | if (server_write(buf, i) != i) | ^~~ | | | u_char * {aka unsigned char *} ./webmitm.c:285:20: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 285 | server_write(char *buf, int size) | ~~~~~~^~~ ./webmitm.c:379:32: warning: pointer targets in passing argument 1 of 'grep_passwords' differ in signedness [-Wpointer-sign] 379 | grep_passwords(buf, i); | ^~~ | | | u_char * {aka unsigned char *} ./webmitm.c:101:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 101 | grep_passwords(char *buf, int len) | ~~~~~~^~~ ./webmitm.c:393:49: warning: pointer targets in passing argument 1 of 'client_request' differ in signedness [-Wpointer-sign] 393 | if ((i = client_request(buf, i)) <= 0) | ^~~ | | | u_char * {aka unsigned char *} ./webmitm.c:163:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 163 | client_request(char *buf, int size) | ~~~~~~^~~ ./webmitm.c:403:42: warning: pointer targets in passing argument 1 of 'server_write' differ in signedness [-Wpointer-sign] 403 | if (server_write(buf, i) != i) | ^~~ | | | u_char * {aka unsigned char *} ./webmitm.c:285:20: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 285 | server_write(char *buf, int size) | ~~~~~~^~~ ./webmitm.c:407:48: warning: pointer targets in passing argument 1 of 'grep_passwords' differ in signedness [-Wpointer-sign] 407 | grep_passwords(buf, i); | ^~~ | | | u_char * {aka unsigned char *} ./webmitm.c:101:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 101 | grep_passwords(char *buf, int len) | ~~~~~~^~~ ./webmitm.c:411:46: warning: pointer targets in passing argument 1 of 'server_read' differ in signedness [-Wpointer-sign] 411 | if ((i = server_read(buf, i)) <= 0) | ^~~ | | | u_char * {aka unsigned char *} ./webmitm.c:276:19: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 276 | server_read(char *buf, int size) | ~~~~~~^~~ ./webmitm.c:421:42: warning: pointer targets in passing argument 1 of 'client_write' differ in signedness [-Wpointer-sign] 421 | if (client_write(buf, i) != i) | ^~~ | | | u_char * {aka unsigned char *} ./webmitm.c:201:20: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 201 | client_write(char *buf, int size) | ~~~~~~^~~ ./webmitm.c: In function 'mitm_run': ./webmitm.c:471:79: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] 471 | client_fd = accept(http_fd, (struct sockaddr *)&csin, &i); | ^~ | | | int * In file included from ./webmitm.c:15: /usr/include/sys/socket.h:307:42: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 307 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ ./webmitm.c:475:80: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] 475 | client_fd = accept(https_fd, (struct sockaddr *)&csin, &i); | ^~ | | | int * /usr/include/sys/socket.h:307:42: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 307 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ ./webmitm.c: In function 'mitm_child': ./webmitm.c:371:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 371 | write(STDERR_FILENO, buf, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./webmitm.c:401:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 401 | write(STDERR_FILENO, buf, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./webmitm.c:419:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 419 | write(STDERR_FILENO, buf, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o macof macof.o -lresolv -lnsl -L. -lmissing -L/usr/lib -lpcap -L/usr/lib -lnet gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./remote.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/etc/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I./missing -c ./nfs_prot.c ./nfs_prot.c: In function 'xdr_nfsstat': ./nfs_prot.c:12:27: warning: unused variable 'buf' [-Wunused-variable] 12 | register int32_t *buf; | ^~~ ./nfs_prot.c: In function 'xdr_ftype': ./nfs_prot.c:22:27: warning: unused variable 'buf' [-Wunused-variable] 22 | register int32_t *buf; | ^~~ ./nfs_prot.c: In function 'xdr_nfs_fh': ./nfs_prot.c:34:13: warning: unused variable 'i' [-Wunused-variable] 34 | int i; | ^ ./nfs_prot.c:32:27: warning: unused variable 'buf' [-Wunused-variable] 32 | register int32_t *buf; | ^~~ ./nfs_prot.c: In function 'xdr_nfstime': ./nfs_prot.c:43:27: warning: unused variable 'buf' [-Wunused-variable] 43 | register int32_t *buf; | ^~~ ./nfs_prot.c: In function 'xdr_filename': ./nfs_prot.c:184:27: warning: unused variable 'buf' [-Wunused-variable] 184 | register int32_t *buf; | ^~~ ./nfs_prot.c: In function 'xdr_nfspath': ./nfs_prot.c:194:27: warning: unused variable 'buf' [-Wunused-variable] 194 | register int32_t *buf; | ^~~ ./nfs_prot.c: In function 'xdr_diropargs': ./nfs_prot.c:204:27: warning: unused variable 'buf' [-Wunused-variable] 204 | register int32_t *buf; | ^~~ ./nfs_prot.c: In function 'xdr_diropokres': ./nfs_prot.c:216:27: warning: unused variable 'buf' [-Wunused-variable] 216 | register int32_t *buf; | ^~~ ./nfs_prot.c: In function 'xdr_diropres': ./nfs_prot.c:228:27: warning: unused variable 'buf' [-Wunused-variable] 228 | register int32_t *buf; | ^~~ ./nfs_prot.c: In function 'xdr_readargs': ./nfs_prot.c:246:27: warning: unused variable 'buf' [-Wunused-variable] 246 | register int32_t *buf; | ^~~ ./nfs_prot.c: In function 'xdr_readokres': ./nfs_prot.c:262:27: warning: unused variable 'buf' [-Wunused-variable] 262 | register int32_t *buf; | ^~~ ./nfs_prot.c: In function 'xdr_readres': ./nfs_prot.c:274:27: warning: unused variable 'buf' [-Wunused-variable] 274 | register int32_t *buf; | ^~~ ./nfs_prot.c: In function 'xdr_uint64': ./nfs_prot.c:292:27: warning: unused variable 'buf' [-Wunused-variable] 292 | register int32_t *buf; | ^~~ ./nfs_prot.c: In function 'xdr_int64': ./nfs_prot.c:302:27: warning: unused variable 'buf' [-Wunused-variable] 302 | register int32_t *buf; | ^~~ ./nfs_prot.c: In function 'xdr_uint32': ./nfs_prot.c:312:27: warning: unused variable 'buf' [-Wunused-variable] 312 | register int32_t *buf; | ^~~ ./nfs_prot.c: In function 'xdr_int32': ./nfs_prot.c:322:27: warning: unused variable 'buf' [-Wunused-variable] 322 | register int32_t *buf; | ^~~ ./nfs_prot.c: In function 'xdr_filename3': ./nfs_prot.c:332:27: warning: unused variable 'buf' [-Wunused-variable] 332 | register int32_t *buf; | ^~~ ./nfs_prot.c: In function 'xdr_nfspath3': ./nfs_prot.c:342:27: warning: unused variable 'buf' [-Wunused-variable] 342 | register int32_t *buf; | ^~~ ./nfs_prot.c: In function 'xdr_fileid3': ./nfs_prot.c:352:27: warning: unused variable 'buf' [-Wunused-variable] 352 | register int32_t *buf; | ^~~ ./nfs_prot.c: In function 'xdr_cookie3': ./nfs_prot.c:362:27: warning: unused variable 'buf' [-Wunused-variable] 362 | register int32_t *buf; | ^~~ ./nfs_prot.c: In function 'xdr_cookieverf3': ./nfs_prot.c:372:27: warning: unused variable 'buf' [-Wunused-variable] 372 | register int32_t *buf; | ^~~ ./nfs_prot.c: In function 'xdr_createverf3': ./nfs_prot.c:382:27: warning: unused variable 'buf' [-Wunused-variable] 382 | register int32_t *buf; | ^~~ ./nfs_prot.c: In function 'xdr_writeverf3': ./nfs_prot.c:392:27: warning: unused variable 'buf' [-Wunused-variable] 392 | register int32_t *buf; | ^~~ ./nfs_prot.c: In function 'xdr_uid3': ./nfs_prot.c:402:27: warning: unused variable 'buf' [-Wunused-variable] 402 | register int32_t *buf; | ^~~ ./nfs_prot.c: In function 'xdr_gid3': ./nfs_prot.c:412:27: warning: unused variable 'buf' [-Wunused-variable] 412 | register int32_t *buf; | ^~~ ./nfs_prot.c: In function 'xdr_size3': ./nfs_prot.c:422:27: warning: unused variable 'buf' [-Wunused-variable] 422 | register int32_t *buf; | ^~~ ./nfs_prot.c: In function 'xdr_offset3': ./nfs_prot.c:432:27: warning: unused variable 'buf' [-Wunused-variable] 432 | register int32_t *buf; | ^~~ ./nfs_prot.c: In function 'xdr_mode3': ./nfs_prot.c:442:27: warning: unused variable 'buf' [-Wunused-variable] 442 | register int32_t *buf; | ^~~ ./nfs_prot.c: In function 'xdr_count3': ./nfs_prot.c:452:27: warning: unused variable 'buf' [-Wunused-variable] 452 | register int32_t *buf; | ^~~ ./nfs_prot.c: In function 'xdr_nfsstat3': ./nfs_prot.c:462:27: warning: unused variable 'buf' [-Wunused-variable] 462 | register int32_t *buf; | ^~~ ./nfs_prot.c: In function 'xdr_ftype3': ./nfs_prot.c:472:27: warning: unused variable 'buf' [-Wunused-variable] 472 | register int32_t *buf; | ^~~ ./nfs_prot.c: In function 'xdr_specdata3': ./nfs_prot.c:482:27: warning: unused variable 'buf' [-Wunused-variable] 482 | register int32_t *buf; | ^~~ ./nfs_prot.c: In function 'xdr_nfs_fh3': ./nfs_prot.c:494:27: warning: unused variable 'buf' [-Wunused-variable] 494 | register int32_t *buf; | ^~~ ./nfs_prot.c: In function 'xdr_nfstime3': ./nfs_prot.c:504:27: warning: unused variable 'buf' [-Wunused-variable] 504 | register int32_t *buf; | ^~~ ./nfs_prot.c: In function 'xdr_fattr3': ./nfs_prot.c:516:27: warning: unused variable 'buf' [-Wunused-variable] 516 | register int32_t *buf; | ^~~ ./nfs_prot.c: In function 'xdr_post_op_attr': ./nfs_prot.c:550:27: warning: unused variable 'buf' [-Wunused-variable] 550 | register int32_t *buf; | ^~~ ./nfs_prot.c: In function 'xdr_wcc_attr': ./nfs_prot.c:570:27: warning: unused variable 'buf' [-Wunused-variable] 570 | register int32_t *buf; | ^~~ ./nfs_prot.c: In function 'xdr_pre_op_attr': ./nfs_prot.c:584:27: warning: unused variable 'buf' [-Wunused-variable] 584 | register int32_t *buf; | ^~~ ./nfs_prot.c: In function 'xdr_wcc_data': ./nfs_prot.c:604:27: warning: unused variable 'buf' [-Wunused-variable] 604 | register int32_t *buf; | ^~~ ./nfs_prot.c: In function 'xdr_diropargs3': ./nfs_prot.c:616:27: warning: unused variable 'buf' [-Wunused-variable] 616 | register int32_t *buf; | ^~~ ./nfs_prot.c: In function 'xdr_LOOKUP3args': ./nfs_prot.c:628:27: warning: unused variable 'buf' [-Wunused-variable] 628 | register int32_t *buf; | ^~~ ./nfs_prot.c: In function 'xdr_LOOKUP3resok': ./nfs_prot.c:638:27: warning: unused variable 'buf' [-Wunused-variable] 638 | register int32_t *buf; | ^~~ ./nfs_prot.c: In function 'xdr_LOOKUP3resfail': ./nfs_prot.c:652:27: warning: unused variable 'buf' [-Wunused-variable] 652 | register int32_t *buf; | ^~~ ./nfs_prot.c: In function 'xdr_LOOKUP3res': ./nfs_prot.c:662:27: warning: unused variable 'buf' [-Wunused-variable] 662 | register int32_t *buf; | ^~~ ./nfs_prot.c: In function 'xdr_READ3args': ./nfs_prot.c:682:27: warning: unused variable 'buf' [-Wunused-variable] 682 | register int32_t *buf; | ^~~ ./nfs_prot.c: In function 'xdr_READ3resok': ./nfs_prot.c:696:27: warning: unused variable 'buf' [-Wunused-variable] 696 | register int32_t *buf; | ^~~ ./nfs_prot.c: In function 'xdr_READ3resfail': ./nfs_prot.c:712:27: warning: unused variable 'buf' [-Wunused-variable] 712 | register int32_t *buf; | ^~~ ./nfs_prot.c: In function 'xdr_READ3res': ./nfs_prot.c:722:27: warning: unused variable 'buf' [-Wunused-variable] 722 | register int32_t *buf; | ^~~ gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tcpkill tcpkill.o pcaputil.o -lresolv -lnsl -L. -lmissing -L/usr/lib -lpcap -L/usr/lib -lnet gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tcpnice tcpnice.o pcaputil.o -lresolv -lnsl -L. -lmissing -L/usr/lib -lpcap -L/usr/lib -lnet gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o arpspoof arpspoof.o arp.o -lresolv -lnsl -L. -lmissing -L/usr/lib -lpcap -L/usr/lib -lnet gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o dnsspoof dnsspoof.o pcaputil.o -lresolv -lnsl -L. -lmissing -L/usr/lib -lpcap -L/usr/lib -lnet gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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 ./options.h:15:17: warning: type of 'Opt_dns' does not match original declaration [-Wlto-type-mismatch] 15 | extern u_short Opt_dns; | ^ ./webmitm.c:40:10: note: type 'int' should match type 'u_short' 40 | int Opt_dns = 1; | ^ ./webmitm.c:40:10: note: 'Opt_dns' was previously declared here ./webmitm.c:40:10: note: code may be misoptimized unless '-fno-strict-aliasing' is used gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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 gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ujHwrB + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/dsniff-2.4-0.41.b1.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/dsniff-2.4-0.41.b1.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/dsniff-2.4-0.41.b1.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/dsniff-2.4-0.41.b1.fc38.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd dsniff-2.4 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/dsniff-2.4-0.41.b1.fc38.riscv64 'INSTALL=/usr/bin/install -p' install_prefix=/builddir/build/BUILDROOT/dsniff-2.4-0.41.b1.fc38.riscv64 test -d /builddir/build/BUILDROOT/dsniff-2.4-0.41.b1.fc38.riscv64/usr/sbin || \ /usr/bin/install -p -d /builddir/build/BUILDROOT/dsniff-2.4-0.41.b1.fc38.riscv64/usr/sbin for file in arpspoof dnsspoof dsniff filesnarf macof mailsnarf msgsnarf sshmitm sshow tcpkill tcpnice urlsnarf webmitm webspy ; do \ /usr/bin/install -p -m 755 $file /builddir/build/BUILDROOT/dsniff-2.4-0.41.b1.fc38.riscv64/usr/sbin; \ done test -d /builddir/build/BUILDROOT/dsniff-2.4-0.41.b1.fc38.riscv64/etc/dsniff || \ /usr/bin/install -p -d /builddir/build/BUILDROOT/dsniff-2.4-0.41.b1.fc38.riscv64/etc/dsniff for file in dsniff.magic dsniff.services dnsspoof.hosts; do \ /usr/bin/install -p -m 644 $file /builddir/build/BUILDROOT/dsniff-2.4-0.41.b1.fc38.riscv64/etc/dsniff; \ done test -d /builddir/build/BUILDROOT/dsniff-2.4-0.41.b1.fc38.riscv64/usr/share/man/man8 || \ /usr/bin/install -p -d /builddir/build/BUILDROOT/dsniff-2.4-0.41.b1.fc38.riscv64/usr/share/man/man8 for file in *.8; do \ /usr/bin/install -p -m 644 $file /builddir/build/BUILDROOT/dsniff-2.4-0.41.b1.fc38.riscv64/usr/share/man/man8; \ done + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 2.4-0.41.b1.fc38 --unique-debug-suffix -2.4-0.41.b1.fc38.riscv64 --unique-debug-src-base dsniff-2.4-0.41.b1.fc38.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.41.b1.fc38.riscv64/usr/sbin/arpspoof extracting debug info from /builddir/build/BUILDROOT/dsniff-2.4-0.41.b1.fc38.riscv64/usr/sbin/dsniff extracting debug info from /builddir/build/BUILDROOT/dsniff-2.4-0.41.b1.fc38.riscv64/usr/sbin/dnsspoof extracting debug info from /builddir/build/BUILDROOT/dsniff-2.4-0.41.b1.fc38.riscv64/usr/sbin/filesnarf extracting debug info from /builddir/build/BUILDROOT/dsniff-2.4-0.41.b1.fc38.riscv64/usr/sbin/macof extracting debug info from /builddir/build/BUILDROOT/dsniff-2.4-0.41.b1.fc38.riscv64/usr/sbin/mailsnarf extracting debug info from /builddir/build/BUILDROOT/dsniff-2.4-0.41.b1.fc38.riscv64/usr/sbin/msgsnarf extracting debug info from /builddir/build/BUILDROOT/dsniff-2.4-0.41.b1.fc38.riscv64/usr/sbin/sshmitm extracting debug info from /builddir/build/BUILDROOT/dsniff-2.4-0.41.b1.fc38.riscv64/usr/sbin/sshow extracting debug info from /builddir/build/BUILDROOT/dsniff-2.4-0.41.b1.fc38.riscv64/usr/sbin/tcpkill extracting debug info from /builddir/build/BUILDROOT/dsniff-2.4-0.41.b1.fc38.riscv64/usr/sbin/tcpnice extracting debug info from /builddir/build/BUILDROOT/dsniff-2.4-0.41.b1.fc38.riscv64/usr/sbin/urlsnarf extracting debug info from /builddir/build/BUILDROOT/dsniff-2.4-0.41.b1.fc38.riscv64/usr/sbin/webmitm extracting debug info from /builddir/build/BUILDROOT/dsniff-2.4-0.41.b1.fc38.riscv64/usr/sbin/webspy original debug info size: 2876kB, size after compression: 2736kB /usr/bin/sepdebugcrcfix: Updated 14 CRC32s, 0 CRC32s did match. 684 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: dsniff-2.4-0.41.b1.fc38.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.yqrINb + umask 022 + cd /builddir/build/BUILD + cd dsniff-2.4 + DOCDIR=/builddir/build/BUILDROOT/dsniff-2.4-0.41.b1.fc38.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.41.b1.fc38.riscv64/usr/share/doc/dsniff + cp -pr CHANGES /builddir/build/BUILDROOT/dsniff-2.4-0.41.b1.fc38.riscv64/usr/share/doc/dsniff + cp -pr README /builddir/build/BUILDROOT/dsniff-2.4-0.41.b1.fc38.riscv64/usr/share/doc/dsniff + cp -pr TODO /builddir/build/BUILDROOT/dsniff-2.4-0.41.b1.fc38.riscv64/usr/share/doc/dsniff + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.THiQsO + umask 022 + cd /builddir/build/BUILD + cd dsniff-2.4 + LICENSEDIR=/builddir/build/BUILDROOT/dsniff-2.4-0.41.b1.fc38.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.41.b1.fc38.riscv64/usr/share/licenses/dsniff + cp -pr LICENSE /builddir/build/BUILDROOT/dsniff-2.4-0.41.b1.fc38.riscv64/usr/share/licenses/dsniff + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(dsniff) = 2.4-0.41.b1.fc38 dsniff = 2.4-0.41.b1.fc38 dsniff(riscv-64) = 2.4-0.41.b1.fc38 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) libX11.so.6()(64bit) libXmu.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libdb-5.3.so()(64bit) libnet.so.1()(64bit) libnids.so.1.24()(64bit) libpcap.so.1()(64bit) libssl.so.3()(64bit) libssl.so.3(OPENSSL_3.0.0)(64bit) libtirpc.so.3()(64bit) libtirpc.so.3(TIRPC_0.3.0)(64bit) rtld(GNU_HASH) Processing files: dsniff-debugsource-2.4-0.41.b1.fc38.riscv64 Provides: dsniff-debugsource = 2.4-0.41.b1.fc38 dsniff-debugsource(riscv-64) = 2.4-0.41.b1.fc38 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.41.b1.fc38.riscv64 Provides: debuginfo(build-id) = 00c21949abec7b84501b1baa867470ff6ce1b5f2 debuginfo(build-id) = 156a30acf9746d701c9d59315a16a524afc260be debuginfo(build-id) = 2713b4d3e215def5a31fc6ab7fb49536fcabb6ce debuginfo(build-id) = 3ba59de79bfa79a74d31892e74abfb65991163cb debuginfo(build-id) = 684cfb2283f8b86e43ad9aaa2cbf164de02b4489 debuginfo(build-id) = 7495ffb811ce05cc063fac49eed215375cc3201f debuginfo(build-id) = 97331da58b2967efe4254cbb9d7a3e58c2dfa2c0 debuginfo(build-id) = a32237380b22658c97ffaff928b55a2204186f94 debuginfo(build-id) = baf0de3a3e3ccfb478d58b6ae6c3b74b76ce44a3 debuginfo(build-id) = bda3193e5258b62e96283d7f865fb0c726163e8c debuginfo(build-id) = bf6dcf909e9d609cb3effb0c1a01a48c70424c00 debuginfo(build-id) = bfce75b80e9ae115aa11e48e23887488a1774fb7 debuginfo(build-id) = d1c4751d179c3ee642d89d86bdefb78cd5f7628d debuginfo(build-id) = f0706275edeeb195f77ccc9fc6796b84ed162372 dsniff-debuginfo = 2.4-0.41.b1.fc38 dsniff-debuginfo(riscv-64) = 2.4-0.41.b1.fc38 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.41.b1.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/dsniff-2.4-0.41.b1.fc38.riscv64 Wrote: /builddir/build/RPMS/dsniff-2.4-0.41.b1.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/dsniff-debugsource-2.4-0.41.b1.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/dsniff-debuginfo-2.4-0.41.b1.fc38.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.QlwpqE + umask 022 + cd /builddir/build/BUILD + cd dsniff-2.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/dsniff-2.4-0.41.b1.fc38.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.jlGR2q + umask 022 + cd /builddir/build/BUILD + rm -rf dsniff-2.4 dsniff-2.4.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: %patchN is deprecated (36 usages found), use %patch N (or %patch -P N) Child return code was: 0