<86>Jul 20 10:44:18 userdel[2635]: delete user 'rooter' <86>Jul 20 10:44:18 userdel[2635]: removed group 'rooter' owned by 'rooter' <86>Jul 20 10:44:18 groupadd[2644]: group added to /etc/group: name=rooter, GID=693 <86>Jul 20 10:44:18 groupadd[2644]: group added to /etc/gshadow: name=rooter <86>Jul 20 10:44:18 groupadd[2644]: new group: name=rooter, GID=693 <86>Jul 20 10:44:18 useradd[2651]: new user: name=rooter, UID=693, GID=693, home=/root, shell=/bin/bash <86>Jul 20 10:44:18 userdel[2664]: delete user 'builder' <86>Jul 20 10:44:18 userdel[2664]: removed group 'builder' owned by 'builder' <86>Jul 20 10:44:18 userdel[2664]: removed shadow group 'builder' owned by 'builder' <86>Jul 20 10:44:18 groupadd[2672]: group added to /etc/group: name=builder, GID=694 <86>Jul 20 10:44:18 groupadd[2672]: group added to /etc/gshadow: name=builder <86>Jul 20 10:44:18 groupadd[2672]: new group: name=builder, GID=694 <86>Jul 20 10:44:18 useradd[2678]: new user: name=builder, UID=694, GID=694, home=/usr/src, shell=/bin/bash <13>Jul 20 10:44:20 rpmi: xorg-proto-devel-2019.1-alt1 sisyphus+232786.100.1.1 1561106722 installed <13>Jul 20 10:44:20 rpmi: libICE-1.0.9-alt1 1409902721 installed <13>Jul 20 10:44:20 rpmi: libSM-1.2.3-alt1 sisyphus+226734.100.2.1 1554586158 installed <13>Jul 20 10:44:20 rpmi: libnet2-1.1.6-alt1 1333397569 installed <13>Jul 20 10:44:20 rpmi: libnet2-devel-1.1.6-alt1 1333397569 installed <13>Jul 20 10:44:20 rpmi: libICE-devel-1.0.9-alt1 1409902721 installed <13>Jul 20 10:44:20 rpmi: libSM-devel-1.2.3-alt1 sisyphus+226734.100.2.1 1554586158 installed <13>Jul 20 10:44:20 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Jul 20 10:44:20 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512089 installed <13>Jul 20 10:44:20 rpmi: liblz4-1:1.9.1-alt1 sisyphus+228057.100.1.1 1556059318 installed <13>Jul 20 10:44:20 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521082 installed <13>Jul 20 10:44:20 rpmi: libgcrypt20-1.8.4-alt3 sisyphus+232944.100.1.1 1561281975 installed <13>Jul 20 10:44:20 rpmi: libsystemd-1:242-alt10 sisyphus+234731.100.1.1 1563376241 installed <13>Jul 20 10:44:20 rpmi: libdbus-1.12.12-alt2 sisyphus+221234.100.1.2 1549918047 installed <13>Jul 20 10:44:20 rpmi: libpcap0.8-2:1.9.0-alt2 sisyphus+225217.100.2.1 1552930671 installed <13>Jul 20 10:44:20 rpmi: libnids-1.24-alt4 1511333123 installed <13>Jul 20 10:44:20 rpmi: libpcap-devel-2:1.9.0-alt2 sisyphus+225217.100.2.1 1552930671 installed <13>Jul 20 10:44:20 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <13>Jul 20 10:44:20 rpmi: libX11-locales-3:1.6.8-alt1 sisyphus+232786.200.1.1 1561106874 installed <13>Jul 20 10:44:20 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949353 installed <13>Jul 20 10:44:20 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed <13>Jul 20 10:44:20 rpmi: libxcb-1.13.1-alt1 sisyphus+226527.100.2.2 1554593801 installed <13>Jul 20 10:44:20 rpmi: libX11-3:1.6.8-alt1 sisyphus+232786.200.1.1 1561106876 installed <13>Jul 20 10:44:20 rpmi: libXt-1.1.4-alt1 1369984722 installed <13>Jul 20 10:44:20 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949429 installed <13>Jul 20 10:44:20 rpmi: libXmu-1.1.3-alt1 sisyphus+225206.1200.1.2 1552949641 installed <13>Jul 20 10:44:23 rpmi: libxcb-devel-1.13.1-alt1 sisyphus+226527.100.2.2 1554593801 installed <13>Jul 20 10:44:23 rpmi: libX11-devel-3:1.6.8-alt1 sisyphus+232786.200.1.1 1561106876 installed <13>Jul 20 10:44:23 rpmi: libXt-devel-1.1.4-alt1 1369984722 installed <13>Jul 20 10:44:23 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Jul 20 10:44:23 rpmi: libtasn1-4.13-alt2 1521133850 installed <13>Jul 20 10:44:23 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jul 20 10:44:23 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jul 20 10:44:23 rpmi: ca-certificates-2019.07.11-alt1 sisyphus+234280.200.1.1 1562839906 installed <13>Jul 20 10:44:23 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Jul 20 10:44:23 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Jul 20 10:44:23 rpmi: libcrypto1.1-1.1.1b-alt2 sisyphus+227249.100.2.1 1555667822 installed <13>Jul 20 10:44:23 rpmi: libssl1.1-1.1.1b-alt2 sisyphus+227249.100.2.1 1555667822 installed <86>Jul 20 10:44:23 groupadd[14335]: group added to /etc/group: name=_keytab, GID=499 <86>Jul 20 10:44:23 groupadd[14335]: group added to /etc/gshadow: name=_keytab <86>Jul 20 10:44:23 groupadd[14335]: new group: name=_keytab, GID=499 <13>Jul 20 10:44:23 rpmi: libkrb5-1.16.3-alt1 sisyphus+223678.100.1.1 1551746516 installed <13>Jul 20 10:44:23 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Jul 20 10:44:23 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Jul 20 10:44:23 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548749 installed <13>Jul 20 10:44:23 rpmi: libssl-devel-1.1.1b-alt2 sisyphus+227249.100.2.1 1555667822 installed <13>Jul 20 10:44:23 rpmi: libXmu-devel-1.1.3-alt1 sisyphus+225206.1200.1.2 1552949641 installed <13>Jul 20 10:44:23 rpmi: libnids-devel-1.24-alt4 1511333123 installed <13>Jul 20 10:44:23 rpmi: xorg-cf-files-1.0.6-alt1 1453137637 installed <13>Jul 20 10:44:23 rpmi: libdb4.7-devel-4.7.25-alt9 1490438479 installed <13>Jul 20 10:44:23 rpmi: imake-1.0.7-alt3 1518797773 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/dsniff-2.4-alt0.13.b1.nosrc.rpm <13>Jul 20 10:44:28 rpmi: perl-ph-0.11.1-alt2 sisyphus+227135.100.1.1 1555247484 installed <13>Jul 20 10:44:28 rpmi: perl-Perl4-CoreLibs-0.004-alt1 1502964039 installed <13>Jul 20 10:44:28 rpmi: autoconf_2.13-2:2.13-alt13 1533423976 installed Installing dsniff-2.4-alt0.13.b1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.31495 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf dsniff-2.4 + echo 'Source #0 (dsniff-2.4b1.tar):' Source #0 (dsniff-2.4b1.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/dsniff-2.4b1.tar + cd dsniff-2.4 + /bin/chmod -c -Rf u+rwX,go-w . + install -pm644 /usr/src/RPM/SOURCES/dsniff-faq.html faq.html + echo 'Patch #0 (dsniff-2.4-alt-configure.patch):' Patch #0 (dsniff-2.4-alt-configure.patch): + /usr/bin/patch -p1 patching file configure.in + echo 'Patch #1 (dsniff-2.4-alt-makefile.patch):' Patch #1 (dsniff-2.4-alt-makefile.patch): + /usr/bin/patch -p1 patching file Makefile.in + echo 'Patch #2 (dsniff-2.4-alt-fixes.patch):' Patch #2 (dsniff-2.4-alt-fixes.patch): + /usr/bin/patch -p1 patching file arp.c patching file buf.c 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 filesnarf.c patching file msgsnarf.c patching file rpc.c patching file ssh.c patching file sshcrypto.c patching file sshmitm.c patching file sshow.c patching file tcpkill.c patching file tcpnice.c + echo 'Patch #3 (dsniff-2.4b1-alt-CLK_TCK.patch):' Patch #3 (dsniff-2.4b1-alt-CLK_TCK.patch): + /usr/bin/patch -p1 patching file sshow.c Hunk #1 succeeded at 86 (offset 1 line). Hunk #2 succeeded at 238 (offset 1 line). Hunk #3 succeeded at 286 (offset 1 line). Hunk #4 succeeded at 315 (offset 1 line). + echo 'Patch #4 (dsniff-2.4b1-deb-mailsnarf.patch):' Patch #4 (dsniff-2.4b1-deb-mailsnarf.patch): + /usr/bin/patch -p1 patching file mailsnarf.c + echo 'Patch #5 (dsniff-2.4b1-deb-pcap-read-dump.patch):' Patch #5 (dsniff-2.4b1-deb-pcap-read-dump.patch): + /usr/bin/patch -p1 patching file dsniff.8 patching file dsniff.c patching file filesnarf.8 patching file filesnarf.c Hunk #1 succeeded at 52 (offset 1 line). Hunk #2 succeeded at 465 (offset 1 line). Hunk #3 succeeded at 502 (offset 1 line). patching file mailsnarf.8 patching file mailsnarf.c patching file msgsnarf.8 patching file msgsnarf.c patching file sshow.8 patching file sshow.c Hunk #2 succeeded at 631 (offset 15 lines). Hunk #3 succeeded at 639 (offset 15 lines). Hunk #4 succeeded at 670 (offset 15 lines). patching file urlsnarf.8 patching file urlsnarf.c patching file webspy.8 patching file webspy.c + echo 'Patch #6 (dsniff-2.4b1-deb-arp.patch):' Patch #6 (dsniff-2.4b1-deb-arp.patch): + /usr/bin/patch -p1 patching file arp.c Hunk #1 succeeded at 40 (offset 1 line). Hunk #2 succeeded at 92 (offset 1 line). Hunk #3 succeeded at 100 (offset 1 line). patching file arp.h patching file arpspoof.c + echo 'Patch #7 (dsniff-2.4b1-deb-urlsnarf.patch):' Patch #7 (dsniff-2.4b1-deb-urlsnarf.patch): + /usr/bin/patch -p1 patching file urlsnarf.c + echo 'Patch #8 (dsniff-2.4b1-deb-libnet.patch):' Patch #8 (dsniff-2.4b1-deb-libnet.patch): + /usr/bin/patch -p1 patching file arpspoof.c patching file dnsspoof.c patching file filesnarf.c Hunk #1 succeeded at 135 (offset 1 line). Hunk #2 succeeded at 354 (offset 1 line). patching file macof.c patching file record.c patching file sshmitm.c Hunk #1 succeeded at 390 (offset 1 line). patching file tcpkill.c Hunk #1 succeeded at 40 (offset 1 line). Hunk #2 succeeded at 59 (offset 1 line). Hunk #3 succeeded at 94 (offset 1 line). Hunk #4 succeeded at 137 (offset 1 line). patching file tcpnice.c Hunk #1 succeeded at 42 (offset 1 line). Hunk #2 succeeded at 151 (offset 1 line). Hunk #3 succeeded at 164 (offset 1 line). Hunk #4 succeeded at 211 (offset 1 line). patching file tcp_raw.c patching file tcp_raw.h patching file trigger.c patching file trigger.h patching file urlsnarf.c patching file webmitm.c patching file webspy.c + echo 'Patch #9 (dsniff-2.4b1-deb-openssl.patch):' Patch #9 (dsniff-2.4b1-deb-openssl.patch): + /usr/bin/patch -p1 patching file sshcrypto.c + echo 'Patch #10 (dsniff-2.4b1-deb-checksum.patch):' Patch #10 (dsniff-2.4b1-deb-checksum.patch): + /usr/bin/patch -p1 patching file urlsnarf.c + echo 'Patch #11 (dsniff-2.4b1-deb-urlsnarf-escape.patch):' Patch #11 (dsniff-2.4b1-deb-urlsnarf-escape.patch): + /usr/bin/patch -p1 patching file urlsnarf.c Hunk #2 succeeded at 179 with fuzz 1. + echo 'Patch #12 (dsniff-2.4b1-deb-pop-version.patch):' Patch #12 (dsniff-2.4b1-deb-pop-version.patch): + /usr/bin/patch -p1 patching file decode.c patching file dsniff.services + echo 'Patch #13 (dsniff-2.4b1-deb-checksum-libnids.patch):' Patch #13 (dsniff-2.4b1-deb-checksum-libnids.patch): + /usr/bin/patch -p1 patching file dsniff.c + echo 'Patch #14 (dsniff-2.4b1-deb-fix-openssl1.1.0-build.patch):' Patch #14 (dsniff-2.4b1-deb-fix-openssl1.1.0-build.patch): + /usr/bin/patch -p1 patching file ssh.c Hunk #1 succeeded at 233 (offset -1 lines). Hunk #2 succeeded at 245 (offset -1 lines). Hunk #3 succeeded at 302 (offset -1 lines). Hunk #4 succeeded at 322 (offset -1 lines). Hunk #5 succeeded at 332 (offset -1 lines). Hunk #6 succeeded at 359 (offset -1 lines). Hunk #7 succeeded at 384 (offset -1 lines). Hunk #8 succeeded at 412 (offset -1 lines). Hunk #9 succeeded at 429 (offset -1 lines). Hunk #10 succeeded at 477 (offset -1 lines). patching file sshcrypto.c Hunk #1 succeeded at 29 (offset 1 line). Hunk #2 succeeded at 42 (offset 1 line). Hunk #3 succeeded at 76 (offset 1 line). Hunk #4 succeeded at 153 (offset 1 line). Hunk #5 succeeded at 202 (offset 1 line). + echo 'Patch #15 (dsniff-2.4b1-deb-tds_decoder.patch):' Patch #15 (dsniff-2.4b1-deb-tds_decoder.patch): + /usr/bin/patch -p1 patching file decode_tds.c Hunk #1 succeeded at 143 (offset -1 lines). + echo 'Patch #16 (dsniff-2.4b1-deb-msgsnarf_segfault.patch):' Patch #16 (dsniff-2.4b1-deb-msgsnarf_segfault.patch): + /usr/bin/patch -p1 patching file msgsnarf.c + echo 'Patch #17 (dsniff-2.4b1-deb-handlepp.patch):' Patch #17 (dsniff-2.4b1-deb-handlepp.patch): + /usr/bin/patch -p1 patching file pcaputil.c + echo 'Patch #18 (dsniff-2.4b1-fc-pntohl_shift.patch):' Patch #18 (dsniff-2.4b1-fc-pntohl_shift.patch): + /usr/bin/patch -p1 patching file decode.h + echo 'Patch #19 (dsniff-2.4b1-fc-sysconf_clocks.patch):' Patch #19 (dsniff-2.4b1-fc-sysconf_clocks.patch): + /usr/bin/patch -p1 patching file sshow.c Hunk #1 succeeded at 232 (offset 15 lines). Hunk #2 succeeded at 283 (offset 15 lines). + echo 'Patch #20 (dsniff-2.4b1-deb-fix-parallel-FTBFS.patch):' Patch #20 (dsniff-2.4b1-deb-fix-parallel-FTBFS.patch): + /usr/bin/patch -p1 patching file Makefile.in Hunk #1 succeeded at 76 (offset 1 line). Hunk #2 succeeded at 105 (offset 1 line). + grep -FZl /usr/local/lib/ Makefile.in Makefile.in.orig acconfig.h arp.c arp.c.orig arp.h arpspoof.8 arpspoof.c asn1.c asn1.h base64.c base64.h buf.c buf.h config.h.in configure.in decode.c decode.h decode_aim.c decode_citrix.c decode_cvs.c decode_ftp.c decode_hex.c decode_http.c decode_icq.c decode_imap.c decode_irc.c decode_ldap.c decode_mmxp.c decode_mountd.c decode_napster.c decode_nntp.c decode_oracle.c decode_ospf.c decode_pcanywhere.c decode_pop.c decode_portmap.c decode_postgresql.c decode_pptp.c decode_rip.c decode_rlogin.c decode_smb.c decode_smtp.c decode_sniffer.c decode_snmp.c decode_socks.c decode_tds.c decode_tds.c.orig decode_telnet.c decode_vrrp.c decode_x11.c decode_yp.c dnsspoof.8 dnsspoof.c dnsspoof.hosts dsniff.8 dsniff.c dsniff.magic dsniff.services faq.html filesnarf.8 filesnarf.c filesnarf.c.orig hex.c hex.h macof.8 macof.c magic.c magic.h mailsnarf.8 mailsnarf.c mount.x msgsnarf.8 msgsnarf.c nfs_prot.x options.h pathnames.h pcaputil.c pcaputil.h record.c record.h remote.c rpc.c rpc.h ssh.c ssh.c.orig ssh.h sshcrypto.c sshcrypto.c.orig sshcrypto.h sshmitm.8 sshmitm.c sshmitm.c.orig sshow.8 sshow.c sshow.c.orig tcp_raw.c tcp_raw.h tcpkill.8 tcpkill.c tcpkill.c.orig tcpnice.8 tcpnice.c tcpnice.c.orig trigger.c trigger.h urlsnarf.8 urlsnarf.c urlsnarf.c.orig version.h vroot.h webmitm.8 webmitm.c webspy.8 webspy.c + xargs -r0 sed -i s,/usr/local/lib/,/usr/share/dsniff/, -- + sed -i 's/dn_expand/__&/g' configure.in + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.31495 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd dsniff-2.4 + autoconf + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl' + export FFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --libdir=/usr/share/dsniff creating cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl ) works... yes checking whether the C compiler (gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl ) 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... /bin/install -c checking for ranlib... ranlib checking how to run the C preprocessor... gcc -E checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for ANSI C header files... yes checking for err.h... yes checking for fcntl.h... yes checking for sys/ioctl.h... yes checking for sys/queue.h... yes checking for unistd.h... yes checking for libgen.h... yes checking for net/if_tun.h... no checking for MIN and MAX in sys/param.h... yes checking for working const... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for u_int32_t... yes checking for u_int64_t... yes checking for in_addr_t... no checking whether gcc needs -traditional... no checking for 8-bit clean memcmp... yes checking return type of signal handlers... void checking for strftime... yes checking for gethostname... yes checking for socket... yes checking for strdup... yes checking for strstr... yes checking for xdr_fhstatus in -lrpcsvc... yes checking for socket in -lsocket... no checking for gethostbyname in -lnsl... no checking for __dn_expand in -lresolv... yes checking for dirname... yes checking for strlcpy... yes checking for strlcat... yes 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 + sed -i 's,[[:space:]]\+-\(I/usr/include\|L/usr/lib\)\([[:space:]]\|$\),\2,g' Makefile + make -j8 make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' rpcgen -c mount.x -o mount.c make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./missing/dummy.c make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./arpspoof.c In file included from /usr/include/sys/types.h:25, from ./arpspoof.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ./arpspoof.c: In function 'arp_send': ./arpspoof.c:58:7: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] tha = "\xff\xff\xff\xff\xff\xff"; ^ ./arpspoof.c: In function 'main': ./arpspoof.c:185:2: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] if (intf == NULL && (intf = pcap_lookupdev(pcap_ebuf)) == NULL) ^~ In file included from /usr/include/pcap.h:43, from ./arpspoof.c:23: /usr/include/pcap/pcap.h:328:16: note: declared here PCAP_API char *pcap_lookupdev(char *) ^~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./dnsspoof.c In file included from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from ./dnsspoof.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ./dnsspoof.c: In function 'dns_spoof': ./dnsspoof.c:226:10: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] if ((q = dns_lookup_ptr(name)) == NULL) ^ ./dnsspoof.c:230:20: warning: pointer targets in passing argument 1 of '__dn_comp' differ in signedness [-Wpointer-sign] anslen = dn_comp(q, p + 12, 256, NULL, NULL); ^ In file included from ./dnsspoof.c:23: /usr/include/resolv.h:271:6: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} int dn_comp (const char *, unsigned char *, int, unsigned char **, ^~~~~~~ ./dnsspoof.c: In function 'main': ./dnsspoof.c:299:2: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] if (dev == NULL && (dev = pcap_lookupdev(buf)) == NULL) ^~ In file included from /usr/include/pcap.h:43, from ./dnsspoof.c:26: /usr/include/pcap/pcap.h:328:16: note: declared here PCAP_API char *pcap_lookupdev(char *) ^~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./hex.c In file included from /usr/include/sys/types.h:25, from ./hex.c:11: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./pcaputil.c In file included from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from ./pcaputil.c:11: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ./pcaputil.c: In function 'pcap_init': ./pcaputil.c:73:2: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 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:328:16: note: declared here PCAP_API char *pcap_lookupdev(char *) ^~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' rpcgen -h mount.x -o mount.h make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./base64.c In file included from /usr/include/sys/types.h:25, from ./base64.c:44: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./tcp_raw.c In file included from /usr/include/sys/types.h:25, from ./tcp_raw.c:11: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./asn1.c In file included from /usr/include/sys/types.h:25, from ./asn1.c:11: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./record.c In file included from /usr/include/sys/types.h:25, from ./record.c:11: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ./record.c: In function 'record_hash': ./record.c:104:27: warning: pointer targets in passing argument 2 of 'MD5Update' differ in signedness [-Wpointer-sign] MD5Update(&ctx, rec->name.n_bytes, rec->name.n_len); ~~~~~~~~~^~~~~~~~ In file included from ./record.c:17: ./missing/md5.h:11:6: note: expected 'const unsigned char *' but argument is of type 'char *' void MD5Update(struct MD5Context *context, unsigned char const *buf, ^~~~~~~~~ ./record.c:105:27: warning: pointer targets in passing argument 2 of 'MD5Update' differ in signedness [-Wpointer-sign] MD5Update(&ctx, rec->data.n_bytes, rec->data.n_len); ~~~~~~~~~^~~~~~~~ In file included from ./record.c:17: ./missing/md5.h:11:6: note: expected 'const unsigned char *' but argument is of type 'char *' void MD5Update(struct MD5Context *context, unsigned char const *buf, ^~~~~~~~~ ./record.c: In function 'record_save': ./record.c:121:23: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] xdrmem_create(&xdrs, buf, sizeof(buf), XDR_ENCODE); ^~~ In file included from /usr/include/rpc/rpc.h:42, from ./record.c:13: /usr/include/rpc/xdr.h:350:13: note: expected 'caddr_t' {aka 'char * const'} but argument is of type 'u_char *' {aka 'unsigned char *'} extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^~~~~~~~~~~~~ ./record.c: In function 'record': ./record.c:195:19: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] rec.data.n_bytes = buf; ^ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./arp.c In file included from /usr/include/sys/types.h:25, from ./arp.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./rpc.c In file included from /usr/include/sys/types.h:25, from ./rpc.c:11: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ./rpc.c: In function 'rpc_decode': ./rpc.c:113:24: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] xdrmem_create(&xdrs, buf, len, XDR_DECODE); ^~~ In file included from /usr/include/rpc/rpc.h:42, from ./rpc.c:12: /usr/include/rpc/xdr.h:350:13: note: expected 'caddr_t' {aka 'char * const'} but argument is of type 'u_char *' {aka 'unsigned char *'} extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^~~~~~~~~~~~~ ./rpc.c:122:24: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] xdrmem_create(&xdrs, buf, len, XDR_DECODE); ^~~ In file included from /usr/include/rpc/rpc.h:42, from ./rpc.c:12: /usr/include/rpc/xdr.h:350:13: note: expected 'caddr_t' {aka 'char * const'} but argument is of type 'u_char *' {aka 'unsigned char *'} extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./decode_aim.c In file included from /usr/include/sys/types.h:25, from ./decode_aim.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ./decode_aim.c: In function 'decode_aim': ./decode_aim.c:67:22: warning: pointer targets in passing argument 1 of 'strcspn' differ in signedness [-Wpointer-sign] if ((j = strcspn(p, " ")) > 0) ^ In file included from ./decode_aim.c:16: /usr/include/string.h:272:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} extern size_t strcspn (const char *__s, const char *__reject) ^~~~~~~ ./decode_aim.c:70:15: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] if (strtok(p, " ") == NULL) ^ In file included from ./decode_aim.c:16: /usr/include/string.h:335:14: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^~~~~~ ./decode_aim.c:75:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] i = strlen(p); ^ In file included from ./decode_aim.c:16: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ ./decode_aim.c:76:19: warning: pointer targets in passing argument 1 of 'hex_decode' differ in signedness [-Wpointer-sign] j = hex_decode(p, i, p, i); ^ In file included from ./decode_aim.c:19: ./hex.h:14:5: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} int hex_decode(char *src, int srclen, u_char *buf, int len); ^~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./decode.c In file included from /usr/include/sys/types.h:25, from ./decode.c:11: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ./decode.c: In function 'strip_telopts': ./decode.c:123:7: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] p = buf + i + 1; ^ ./decode.c:124:21: warning: pointer targets in passing argument 1 of 'bufbuf' differ in signedness [-Wpointer-sign] if ((q = bufbuf(p, len - i, "\xff", 1)) ^ In file included from ./decode.c:19: ./decode.h:48:9: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' u_char *bufbuf(u_char *big, int blen, u_char *little, int llen); ^~~~~~ ./decode.c:124:33: warning: pointer targets in passing argument 3 of 'bufbuf' differ in signedness [-Wpointer-sign] if ((q = bufbuf(p, len - i, "\xff", 1)) ^~~~~~ In file included from ./decode.c:19: ./decode.h:48:9: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' u_char *bufbuf(u_char *big, int blen, u_char *little, int llen); ^~~~~~ ./decode.c:124:12: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] if ((q = bufbuf(p, len - i, "\xff", 1)) ^ ./decode.c:126:22: warning: pointer targets in passing argument 1 of 'bufbuf' differ in signedness [-Wpointer-sign] if ((p = bufbuf(p, q - p, "USER\x01", ^ In file included from ./decode.c:19: ./decode.h:48:9: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' u_char *bufbuf(u_char *big, int blen, u_char *little, int llen); ^~~~~~ ./decode.c:126:32: warning: pointer targets in passing argument 3 of 'bufbuf' differ in signedness [-Wpointer-sign] if ((p = bufbuf(p, q - p, "USER\x01", ^~~~~~~~~~ In file included from ./decode.c:19: ./decode.h:48:9: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' u_char *bufbuf(u_char *big, int blen, u_char *little, int llen); ^~~~~~ ./decode.c:126:13: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] if ((p = bufbuf(p, q - p, "USER\x01", ^ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./magic.c In file included from /usr/include/sys/types.h:25, from ./magic.c:34: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./missing/md5.c In file included from /usr/include/sys/types.h:25, from ./missing/md5.c:20: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ./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] memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ ^ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./buf.c In file included from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from ./buf.c:11: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ./buf.c:22: ./buf.c: In function 'buf_putf': ./buf.h:31:31: warning: pointer targets in passing argument 1 of 'vsnprintf' differ in signedness [-Wpointer-sign] #define buf_ptr(b) ((b)->base + (b)->offset) ~~~~~~~~~~~^~~~~~~~~~~~~~ ./buf.c:113:16: note: in expansion of macro 'buf_ptr' i = vsnprintf(buf_ptr(buf), buf_len(buf), fmt, ap); ^~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from ./buf.c:11: /usr/include/bits/stdio2.h:74:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (vsnprintf (char *__restrict __s, size_t __n, ^~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./decode_citrix.c In file included from /usr/include/sys/types.h:25, from ./decode_citrix.c:19: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./dsniff.c In file included from /usr/include/sys/types.h:25, from ./dsniff.c:15: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ./dsniff.c: In function 'get_all_ifaces': ./dsniff.c:120:15: warning: unused variable 'i' [-Wunused-variable] unsigned int i; ^ ./dsniff.c: In function 'all_local_ipaddrs_chksum_disable': ./dsniff.c:104:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./decode_ftp.c In file included from /usr/include/sys/types.h:25, from ./decode_ftp.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ./decode_ftp.c:19: ./decode_ftp.c: In function 'decode_ftp': ./buf.h:31:31: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] #define buf_ptr(b) ((b)->base + (b)->offset) ~~~~~~~~~~~^~~~~~~~~~~~~~ ./decode_ftp.c:47:19: note: in expansion of macro 'buf_ptr' if (strncasecmp(buf_ptr(line), "USER ", 5) == 0 || ^~~~~~~ In file included from /usr/include/string.h:431, from ./decode_ftp.c:16: /usr/include/strings.h:120:12: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~~~~~ In file included from ./decode_ftp.c:19: ./buf.h:31:31: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] #define buf_ptr(b) ((b)->base + (b)->offset) ~~~~~~~~~~~^~~~~~~~~~~~~~ ./decode_ftp.c:48:19: note: in expansion of macro 'buf_ptr' strncasecmp(buf_ptr(line), "ACCT ", 5) == 0 || ^~~~~~~ In file included from /usr/include/string.h:431, from ./decode_ftp.c:16: /usr/include/strings.h:120:12: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~~~~~ In file included from ./decode_ftp.c:19: ./buf.h:31:31: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] #define buf_ptr(b) ((b)->base + (b)->offset) ~~~~~~~~~~~^~~~~~~~~~~~~~ ./decode_ftp.c:49:19: note: in expansion of macro 'buf_ptr' strncasecmp(buf_ptr(line), "PASS ", 5) == 0) { ^~~~~~~ In file included from /usr/include/string.h:431, from ./decode_ftp.c:16: /usr/include/strings.h:120:12: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./decode_cvs.c In file included from /usr/include/sys/types.h:25, from ./decode_cvs.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./decode_imap.c In file included from /usr/include/sys/types.h:25, from ./decode_imap.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./decode_hex.c In file included from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from ./decode_hex.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./decode_irc.c In file included from /usr/include/sys/types.h:25, from ./decode_irc.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./decode_mmxp.c In file included from /usr/include/sys/types.h:25, from ./decode_mmxp.c:19: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ./decode_mmxp.c:29:19: warning: pointer targets in initialization of 'u_char *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] #define MM_SECRET "Thisisastupidwasteoftimeandspace" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./decode_mmxp.c:29:19: note: in definition of macro 'MM_SECRET' #define MM_SECRET "Thisisastupidwasteoftimeandspace" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./decode_ldap.c In file included from /usr/include/sys/types.h:25, from ./decode_ldap.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./decode_icq.c In file included from /usr/include/sys/types.h:25, from ./decode_icq.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./decode_ospf.c In file included from /usr/include/sys/types.h:25, from ./decode_ospf.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ./decode_ospf.c: In function 'decode_ospf': ./decode_ospf.c:31:19: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] return (snprintf(obuf, olen, "%s\n", buf + 16)); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_ospf.c:13: /usr/include/bits/stdio2.h:61:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (snprintf (char *__restrict __s, size_t __n, ^~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./decode_napster.c In file included from /usr/include/sys/types.h:25, from ./decode_napster.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./decode_mountd.c In file included from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from ./decode_mountd.c:15: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ./decode_mountd.c: In function 'decode_mountd': ./decode_mountd.c:47:28: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] xdrmem_create(&xdrs, buf + hdrlen, len - hdrlen, XDR_DECODE); ~~~~^~~~~~~~ In file included from /usr/include/rpc/rpc.h:42, from ./decode_mountd.c:17: /usr/include/rpc/xdr.h:350:13: note: expected 'caddr_t' {aka 'char * const'} but argument is of type 'u_char *' {aka 'unsigned char *'} extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^~~~~~~~~~~~~ ./decode_mountd.c:59:29: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] xdrmem_create(&xdrs, buf + hdrlen, len - hdrlen, ~~~~^~~~~~~~ In file included from /usr/include/rpc/rpc.h:42, from ./decode_mountd.c:17: /usr/include/rpc/xdr.h:350:13: note: expected 'caddr_t' {aka 'char * const'} but argument is of type 'u_char *' {aka 'unsigned char *'} extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./trigger.c In file included from /usr/include/sys/types.h:25, from ./trigger.c:11: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ./trigger.c: In function 'trigger_ip': ./trigger.c:300:42: warning: pointer targets in passing argument 3 of 't->decode->dc_func' differ in signedness [-Wpointer-sign] if ((len = t->decode->dc_func(buf, len, obuf, sizeof(obuf))) > 0) { ^~~~ ./trigger.c:300:42: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' ./trigger.c:302:36: warning: pointer targets in passing argument 7 of 'record' differ in signedness [-Wpointer-sign] 0, 0, t->decode->dc_name, obuf, len); ^~~~ In file included from ./trigger.c:24: ./record.h:16:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' int record(u_int32_t src, u_int32_t dst, int proto, u_short sport, ^~~~~~ ./trigger.c: In function 'trigger_udp': ./trigger.c:346:42: warning: pointer targets in passing argument 3 of 't->decode->dc_func' differ in signedness [-Wpointer-sign] if ((len = t->decode->dc_func(buf, len, obuf, sizeof(obuf))) > 0) { ^~~~ ./trigger.c:346:42: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' ./trigger.c:349:30: warning: pointer targets in passing argument 7 of 'record' differ in signedness [-Wpointer-sign] t->decode->dc_name, obuf, len); ^~~~ In file included from ./trigger.c:24: ./record.h:16:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' int record(u_int32_t src, u_int32_t dst, int proto, u_short sport, ^~~~~~ ./trigger.c: In function 'trigger_tcp_half': ./trigger.c:360:6: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] buf = hs->data; ^ ./trigger.c:378:12: warning: pointer targets in passing argument 3 of 't->decode->dc_func' differ in signedness [-Wpointer-sign] obuf, sizeof(obuf))) > 0) { ^~~~ ./trigger.c:378:12: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' ./trigger.c:381:11: warning: pointer targets in passing argument 7 of 'record' differ in signedness [-Wpointer-sign] obuf, len); ^~~~ In file included from ./trigger.c:24: ./record.h:16:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' int record(u_int32_t src, u_int32_t dst, int proto, u_short sport, ^~~~~~ ./trigger.c: In function 'trigger_tcp_raw': ./trigger.c:478:7: warning: pointer targets in passing argument 3 of 't->decode->dc_func' differ in signedness [-Wpointer-sign] obuf, sizeof(obuf)); ^~~~ ./trigger.c:478:7: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' ./trigger.c:484:11: warning: pointer targets in passing argument 7 of 'record' differ in signedness [-Wpointer-sign] obuf, len); ^~~~ In file included from ./trigger.c:24: ./record.h:16:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' int record(u_int32_t src, u_int32_t dst, int proto, u_short sport, ^~~~~~ ./trigger.c: In function 'trigger_tcp_raw_callback': ./trigger.c:512:12: warning: pointer targets in passing argument 3 of 't->decode->dc_func' differ in signedness [-Wpointer-sign] obuf, sizeof(obuf))) > 0) { ^~~~ ./trigger.c:512:12: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' ./trigger.c:514:31: warning: pointer targets in passing argument 7 of 'record' differ in signedness [-Wpointer-sign] t->decode->dc_name, obuf, len); ^~~~ In file included from ./trigger.c:24: ./record.h:16:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' int record(u_int32_t src, u_int32_t dst, int proto, u_short sport, ^~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./decode_pcanywhere.c In file included from /usr/include/sys/types.h:25, from ./decode_pcanywhere.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./decode_pop.c In file included from /usr/include/sys/types.h:25, from ./decode_pop.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ./decode_pop.c: In function 'decode_poppass': ./decode_pop.c:29:18: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] for (p = strtok(buf, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) { ^~~ In file included from ./decode_pop.c:16: /usr/include/string.h:335:14: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^~~~~~ ./decode_pop.c:33:12: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, p, olen); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_pop.c:13: /usr/include/bits/string_fortified.h:178:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, ^~~~~ ./decode_pop.c:34:12: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, "\n", olen); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_pop.c:13: /usr/include/bits/string_fortified.h:178:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, ^~~~~ ./decode_pop.c:37:18: warning: pointer targets in passing argument 1 of 'strip_lines' differ in signedness [-Wpointer-sign] if (strip_lines(obuf, Opt_lines) < 3) ^~~~ In file included from ./decode_pop.c:20: ./decode.h:44:5: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} int strip_lines(char *buf, int max_lines); ^~~~~~~~~~~ ./decode_pop.c:40:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] return (strlen(obuf)); ^~~~ In file included from ./decode_pop.c:16: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ ./decode_pop.c: In function 'decode_pop': ./decode_pop.c:51:18: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] for (p = strtok(buf, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) { ^~~ In file included from ./decode_pop.c:16: /usr/include/string.h:335:14: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^~~~~~ ./decode_pop.c:54:12: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, p, olen); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_pop.c:13: /usr/include/bits/string_fortified.h:178:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, ^~~~~ ./decode_pop.c:55:12: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, "\n", olen); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_pop.c:13: /usr/include/bits/string_fortified.h:178:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, ^~~~~ ./decode_pop.c:59:13: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, p, olen); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_pop.c:13: /usr/include/bits/string_fortified.h:178:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, ^~~~~ ./decode_pop.c:60:24: warning: pointer targets in passing argument 2 of 'base64_pton' differ in signedness [-Wpointer-sign] j = base64_pton(p, p, strlen(p)); ^ In file included from ./decode_pop.c:18: ./base64.h:12:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' int base64_pton(char const *, u_char *, size_t); ^~~~~~~~~~~ ./decode_pop.c:62:13: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, " [", olen); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_pop.c:13: /usr/include/bits/string_fortified.h:178:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, ^~~~~ ./decode_pop.c:63:13: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, p, olen); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_pop.c:13: /usr/include/bits/string_fortified.h:178:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, ^~~~~ ./decode_pop.c:64:13: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, "]\n", olen); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_pop.c:13: /usr/include/bits/string_fortified.h:178:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, ^~~~~ ./decode_pop.c:71:12: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, p, olen); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_pop.c:13: /usr/include/bits/string_fortified.h:178:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, ^~~~~ ./decode_pop.c:72:12: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, "\n", olen); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_pop.c:13: /usr/include/bits/string_fortified.h:178:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, ^~~~~ ./decode_pop.c:75:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] return (strlen(obuf)); ^~~~ In file included from ./decode_pop.c:16: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./decode_nntp.c In file included from /usr/include/sys/types.h:25, from ./decode_nntp.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ./decode_nntp.c: In function 'decode_nntp': ./decode_nntp.c:31:18: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] for (p = strtok(buf, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) { ^~~ In file included from ./decode_nntp.c:17: /usr/include/string.h:335:14: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^~~~~~ ./decode_nntp.c:33:12: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, p, olen); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_nntp.c:14: /usr/include/bits/string_fortified.h:178:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, ^~~~~ ./decode_nntp.c:34:12: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, "\n", olen); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_nntp.c:14: /usr/include/bits/string_fortified.h:178:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, ^~~~~ ./decode_nntp.c:38:12: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, p, olen); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_nntp.c:14: /usr/include/bits/string_fortified.h:178:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, ^~~~~ ./decode_nntp.c:49:25: warning: pointer targets in passing argument 2 of 'base64_pton' differ in signedness [-Wpointer-sign] i = base64_pton(p, p, strlen(p)); ^ In file included from ./decode_nntp.c:19: ./base64.h:12:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' int base64_pton(char const *, u_char *, size_t); ^~~~~~~~~~~ ./decode_nntp.c:51:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] i = strlen(obuf); ^~~~ In file included from ./decode_nntp.c:17: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ ./decode_nntp.c:52:20: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(obuf + i, olen - i, ~~~~~^~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_nntp.c:14: /usr/include/bits/stdio2.h:61:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (snprintf (char *__restrict __s, size_t __n, ^~~~~ ./decode_nntp.c:56:12: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, "\n", olen); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_nntp.c:14: /usr/include/bits/string_fortified.h:178:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, ^~~~~ ./decode_nntp.c:59:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] return (strlen(obuf)); ^~~~ In file included from ./decode_nntp.c:17: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./decode_rip.c In file included from /usr/include/sys/types.h:25, from ./decode_rip.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ./decode_rip.c: In function 'decode_rip': ./decode_rip.c:32:19: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] return (snprintf(obuf, olen, "%s\n", buf + 20)); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_rip.c:13: /usr/include/bits/stdio2.h:61:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (snprintf (char *__restrict __s, size_t __n, ^~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./decode_postgresql.c In file included from /usr/include/sys/types.h:25, from ./decode_postgresql.c:15: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ./decode_postgresql.c: In function 'decode_postgresql': ./decode_postgresql.c:46:8: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] db = p + 4; db[63] = '\0'; ^ ./decode_postgresql.c:52:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] snprintf(obuf + strlen(obuf), ^~~~ In file included from ./decode_postgresql.c:18: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ ./decode_postgresql.c:53:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] olen - strlen(obuf), ^~~~ In file included from ./decode_postgresql.c:18: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ ./decode_postgresql.c:52:18: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(obuf + strlen(obuf), ~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_postgresql.c:15: /usr/include/bits/stdio2.h:61:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (snprintf (char *__restrict __s, size_t __n, ^~~~~ ./decode_postgresql.c:60:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] return (strlen(obuf)); ^~~~ In file included from ./decode_postgresql.c:18: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./decode_http.c In file included from /usr/include/sys/types.h:25, from ./decode_http.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ./decode_http.c:23: ./decode_http.c: In function 'decode_http': ./buf.h:31:31: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] #define buf_ptr(b) ((b)->base + (b)->offset) ~~~~~~~~~~~^~~~~~~~~~~~~~ ./decode_http.c:119:21: note: in expansion of macro 'buf_ptr' if ((req = strtok(buf_ptr(msg), "\r\n")) == NULL) ^~~~~~~ In file included from ./decode_http.c:16: /usr/include/string.h:335:14: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^~~~~~ ./decode_http.c:157:12: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] query = buf_ptr(msg); ^ ./decode_http.c:176:24: warning: pointer targets in passing argument 2 of 'base64_pton' differ in signedness [-Wpointer-sign] i = base64_pton(p, p, strlen(p)); ^ In file included from ./decode_http.c:22: ./base64.h:12:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' int base64_pton(char const *, u_char *, size_t); ^~~~~~~~~~~ ./decode_http.c:183:24: warning: pointer targets in passing argument 2 of 'base64_pton' differ in signedness [-Wpointer-sign] i = base64_pton(p, p, strlen(p)); ^ In file included from ./decode_http.c:22: ./base64.h:12:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' int base64_pton(char const *, u_char *, size_t); ^~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./decode_oracle.c In file included from /usr/include/sys/types.h:25, from ./decode_oracle.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ./decode_oracle.c: In function 'decode_oracle': ./decode_oracle.c:42:11: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(obuf, olen, "%s\n", q); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_oracle.c:13: /usr/include/bits/stdio2.h:61:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (snprintf (char *__restrict __s, size_t __n, ^~~~~ ./decode_oracle.c:46:26: warning: pointer targets in passing argument 3 of 'bufbuf' differ in signedness [-Wpointer-sign] if ((p = bufbuf(p, len, "(TNS V", 6)) == NULL) return (0); ^~~~~~~~ In file included from ./decode_oracle.c:18: ./decode.h:48:9: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' u_char *bufbuf(u_char *big, int blen, u_char *little, int llen); ^~~~~~ ./decode_oracle.c:66:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] j = strlen(obuf); ^~~~ In file included from ./decode_oracle.c:16: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ ./decode_oracle.c:67:17: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(obuf + j, olen + j, "%s\n", p + 117); ~~~~~^~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_oracle.c:13: /usr/include/bits/stdio2.h:61:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (snprintf (char *__restrict __s, size_t __n, ^~~~~ ./decode_oracle.c:70:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] return (gotauth ? strlen(obuf) : 0); ^~~~ In file included from ./decode_oracle.c:16: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./decode_pptp.c In file included from /usr/include/sys/types.h:25, from ./decode_pptp.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ./decode_pptp.c: In function 'decode_pptp': ./decode_pptp.c:187:20: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] if ((p = strchr(name, '\\')) == NULL) ^~~~ In file included from ./decode_pptp.c:18: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} extern char *strchr (const char *__s, int __c) ^~~~~~ ./decode_pptp.c:187:11: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] if ((p = strchr(name, '\\')) == NULL) ^ ./decode_pptp.c:193:32: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] SHA1_Update(&ctx, p, strlen(p)); ^ In file included from ./decode_pptp.c:18: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./decode_rlogin.c In file included from /usr/include/sys/types.h:25, from ./decode_rlogin.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ./decode_rlogin.c: In function 'decode_rlogin': ./decode_rlogin.c:30:10: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] strlcpy(obuf, "[", olen); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_rlogin.c:13: /usr/include/bits/string_fortified.h:151:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ ./decode_rlogin.c:31:10: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, p, olen); /* Local username */ ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_rlogin.c:13: /usr/include/bits/string_fortified.h:178:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, ^~~~~ ./decode_rlogin.c:31:16: warning: pointer targets in passing argument 2 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, p, olen); /* Local username */ ^ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_rlogin.c:13: /usr/include/bits/string_fortified.h:178:1: note: expected 'const char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, ^~~~~ ./decode_rlogin.c:32:10: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, ":", olen); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_rlogin.c:13: /usr/include/bits/string_fortified.h:178:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, ^~~~~ ./decode_rlogin.c:33:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] p += strlen(p) + 1; ^ In file included from ./decode_rlogin.c:16: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ ./decode_rlogin.c:35:10: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, p, olen); /* Remote username */ ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_rlogin.c:13: /usr/include/bits/string_fortified.h:178:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, ^~~~~ ./decode_rlogin.c:35:16: warning: pointer targets in passing argument 2 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, p, olen); /* Remote username */ ^ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_rlogin.c:13: /usr/include/bits/string_fortified.h:178:1: note: expected 'const char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, ^~~~~ ./decode_rlogin.c:36:10: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, "]\n", olen); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_rlogin.c:13: /usr/include/bits/string_fortified.h:178:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, ^~~~~ ./decode_rlogin.c:37:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] p += strlen(p) + 1; ^ In file included from ./decode_rlogin.c:16: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ ./decode_rlogin.c:39:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] p += strlen(p) + 1; /* Skip term info */ ^ In file included from ./decode_rlogin.c:16: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ ./decode_rlogin.c:41:18: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if ((q = strstr(p, "\xff\xffss")) != NULL) /* Skip window size */ ^ In file included from ./decode_rlogin.c:16: /usr/include/string.h:329:14: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} extern char *strstr (const char *__haystack, const char *__needle) ^~~~~~ ./decode_rlogin.c:41:9: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] if ((q = strstr(p, "\xff\xffss")) != NULL) /* Skip window size */ ^ ./decode_rlogin.c:44:18: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] for (p = strtok(p, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) { ^ In file included from ./decode_rlogin.c:16: /usr/include/string.h:335:14: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^~~~~~ ./decode_rlogin.c:44:9: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] for (p = strtok(p, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) { ^ ./decode_rlogin.c:44:43: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] for (p = strtok(p, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) { ^ ./decode_rlogin.c:45:11: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, p, olen); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_rlogin.c:13: /usr/include/bits/string_fortified.h:178:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, ^~~~~ ./decode_rlogin.c:45:17: warning: pointer targets in passing argument 2 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, p, olen); ^ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_rlogin.c:13: /usr/include/bits/string_fortified.h:178:1: note: expected 'const char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, ^~~~~ ./decode_rlogin.c:46:11: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, "\n", olen); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_rlogin.c:13: /usr/include/bits/string_fortified.h:178:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, ^~~~~ ./decode_rlogin.c:48:19: warning: pointer targets in passing argument 1 of 'strip_lines' differ in signedness [-Wpointer-sign] if (!strip_lines(obuf, Opt_lines)) ^~~~ In file included from ./decode_rlogin.c:19: ./decode.h:44:5: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} int strip_lines(char *buf, int max_lines); ^~~~~~~~~~~ ./decode_rlogin.c:51:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] return (strlen(obuf)); ^~~~ In file included from ./decode_rlogin.c:16: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./decode_sniffer.c In file included from /usr/include/sys/types.h:25, from ./decode_sniffer.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ./decode_sniffer.c: In function 'decode_sniffer': ./decode_sniffer.c:34:20: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] return (strlcpy(obuf, "[]\n", olen)); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_sniffer.c:14: /usr/include/bits/string_fortified.h:151:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ ./decode_sniffer.c:38:20: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] return (strlcpy(obuf, "[]\n", olen)); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_sniffer.c:14: /usr/include/bits/string_fortified.h:151:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ ./decode_sniffer.c:42:29: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] buf[len - 3]= '\0'; strtok(&buf[32], "\r\n"); ^~~~~~~~ In file included from ./decode_sniffer.c:17: /usr/include/string.h:335:14: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^~~~~~ ./decode_sniffer.c:43:11: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(obuf, olen, "%s [", &buf[32]); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_sniffer.c:14: /usr/include/bits/stdio2.h:61:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (snprintf (char *__restrict __s, size_t __n, ^~~~~ ./decode_sniffer.c:44:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = strlen(obuf); ^~~~ In file included from ./decode_sniffer.c:17: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ ./decode_sniffer.c:45:18: warning: pointer targets in passing argument 1 of 'base64_pton' differ in signedness [-Wpointer-sign] i = base64_pton(&buf[32], &obuf[len], olen - len - 3); ^~~~~~~~ In file included from ./decode_sniffer.c:19: ./base64.h:12:5: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} int base64_pton(char const *, u_char *, size_t); ^~~~~~~~~~~ ./decode_sniffer.c:47:10: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, "]\n", olen); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_sniffer.c:14: /usr/include/bits/string_fortified.h:178:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, ^~~~~ ./decode_sniffer.c:49:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] return (strlen(obuf)); ^~~~ In file included from ./decode_sniffer.c:17: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./decode_smb.c In file included from /usr/include/sys/types.h:25, from ./decode_smb.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ./decode_smb.c: In function 'decode_smb': ./decode_smb.c:66:9: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] pass = q + 6; ^ ./decode_smb.c:74:9: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] pass = q + 12; ^ ./decode_smb.c:82:12: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, user, olen); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_smb.c:13: /usr/include/bits/string_fortified.h:178:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, ^~~~~ ./decode_smb.c:83:12: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, " ", olen); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_smb.c:13: /usr/include/bits/string_fortified.h:178:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, ^~~~~ ./decode_smb.c:84:12: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, pass, olen); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_smb.c:13: /usr/include/bits/string_fortified.h:178:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, ^~~~~ ./decode_smb.c:85:12: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, "\n", olen); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_smb.c:13: /usr/include/bits/string_fortified.h:178:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, ^~~~~ ./decode_smb.c:88:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] return (strlen(obuf)); ^~~~ In file included from ./decode_smb.c:17: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./decode_snmp.c In file included from /usr/include/sys/types.h:25, from ./decode_snmp.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ./decode_snmp.c: In function 'decode_snmp': ./decode_snmp.c:47:4: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] p = buf_strdup(b); ^ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./decode_smtp.c In file included from /usr/include/sys/types.h:25, from ./decode_smtp.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ./decode_smtp.c: In function 'decode_smtp': ./decode_smtp.c:30:18: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] for (p = strtok(buf, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) { ^~~ In file included from ./decode_smtp.c:16: /usr/include/string.h:335:14: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^~~~~~ ./decode_smtp.c:32:12: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, p, olen); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_smtp.c:13: /usr/include/bits/string_fortified.h:178:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, ^~~~~ ./decode_smtp.c:33:23: warning: pointer targets in passing argument 2 of 'base64_pton' differ in signedness [-Wpointer-sign] i = base64_pton(p, p, strlen(p)); ^ In file included from ./decode_smtp.c:18: ./base64.h:12:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' int base64_pton(char const *, u_char *, size_t); ^~~~~~~~~~~ ./decode_smtp.c:35:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] j = strlen(obuf); ^~~~ In file included from ./decode_smtp.c:16: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ ./decode_smtp.c:36:18: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(obuf + j, olen - j, " [%s]\n", p); ~~~~~^~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_smtp.c:13: /usr/include/bits/stdio2.h:61:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (snprintf (char *__restrict __s, size_t __n, ^~~~~ ./decode_smtp.c:40:12: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, p, olen); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_smtp.c:13: /usr/include/bits/string_fortified.h:178:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, ^~~~~ ./decode_smtp.c:42:23: warning: pointer targets in passing argument 2 of 'base64_pton' differ in signedness [-Wpointer-sign] i = base64_pton(p, p, strlen(p)); ^ In file included from ./decode_smtp.c:18: ./base64.h:12:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' int base64_pton(char const *, u_char *, size_t); ^~~~~~~~~~~ ./decode_smtp.c:44:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] j = strlen(obuf); ^~~~ In file included from ./decode_smtp.c:16: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ ./decode_smtp.c:45:18: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(obuf + j, olen - j, " [%s]\n", p); ~~~~~^~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_smtp.c:13: /usr/include/bits/stdio2.h:61:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (snprintf (char *__restrict __s, size_t __n, ^~~~~ ./decode_smtp.c:54:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] return (strlen(obuf)); ^~~~ In file included from ./decode_smtp.c:16: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' rpcgen -c nfs_prot.x -o nfs_prot.c make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./decode_telnet.c In file included from /usr/include/sys/types.h:25, from ./decode_telnet.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ./decode_telnet.c: In function 'decode_telnet': ./decode_telnet.c:27:23: warning: pointer targets in passing argument 1 of 'is_ascii_string' differ in signedness [-Wpointer-sign] if (!is_ascii_string(buf, len)) ^~~ In file included from ./decode_telnet.c:19: ./decode.h:46:5: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} int is_ascii_string(char *buf, int len); ^~~~~~~~~~~~~~~ ./decode_telnet.c:30:18: warning: pointer targets in passing argument 1 of 'strip_lines' differ in signedness [-Wpointer-sign] if (strip_lines(buf, Opt_lines) < 2) ^~~ In file included from ./decode_telnet.c:19: ./decode.h:44:5: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} int strip_lines(char *buf, int max_lines); ^~~~~~~~~~~ ./decode_telnet.c:33:10: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] strlcpy(obuf, buf, olen); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_telnet.c:13: /usr/include/bits/string_fortified.h:151:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ ./decode_telnet.c:33:16: warning: pointer targets in passing argument 2 of 'strlcpy' differ in signedness [-Wpointer-sign] strlcpy(obuf, buf, olen); ^~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_telnet.c:13: /usr/include/bits/string_fortified.h:151:1: note: expected 'const char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ ./decode_telnet.c:35:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] return (strlen(obuf)); ^~~~ In file included from ./decode_telnet.c:16: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./decode_socks.c In file included from /usr/include/sys/types.h:25, from ./decode_socks.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ./decode_socks.c: In function 'decode_socks': ./decode_socks.c:47:11: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(obuf, olen, "%s ", p - 1); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_socks.c:13: /usr/include/bits/stdio2.h:61:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (snprintf (char *__restrict __s, size_t __n, ^~~~~ ./decode_socks.c:55:10: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, p - 1, olen); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_socks.c:13: /usr/include/bits/string_fortified.h:178:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, ^~~~~ ./decode_socks.c:55:18: warning: pointer targets in passing argument 2 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, p - 1, olen); ~~^~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_socks.c:13: /usr/include/bits/string_fortified.h:178:1: note: expected 'const char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, ^~~~~ ./decode_socks.c:56:10: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, "\n", olen); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_socks.c:13: /usr/include/bits/string_fortified.h:178:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, ^~~~~ ./decode_socks.c:58:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] return (strlen(obuf)); ^~~~ In file included from ./decode_socks.c:16: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./decode_portmap.c In file included from /usr/include/sys/types.h:25, from ./decode_portmap.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ./decode_portmap.c: In function 'decode_portmap': ./decode_portmap.c:41:28: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] xdrmem_create(&xdrs, buf + hdrlen, len - hdrlen, XDR_DECODE); ~~~~^~~~~~~~ In file included from /usr/include/rpc/rpc.h:42, from ./decode_portmap.c:14: /usr/include/rpc/xdr.h:350:13: note: expected 'caddr_t' {aka 'char * const'} but argument is of type 'u_char *' {aka 'unsigned char *'} extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^~~~~~~~~~~~~ ./decode_portmap.c:56:29: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] xdrmem_create(&xdrs, buf + hdrlen, len - hdrlen, ~~~~^~~~~~~~ In file included from /usr/include/rpc/rpc.h:42, from ./decode_portmap.c:14: /usr/include/rpc/xdr.h:350:13: note: expected 'caddr_t' {aka 'char * const'} but argument is of type 'u_char *' {aka 'unsigned char *'} extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' rpcgen -h nfs_prot.x -o nfs_prot.h make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./decode_vrrp.c In file included from /usr/include/sys/types.h:25, from ./decode_vrrp.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./decode_x11.c In file included from /usr/include/sys/types.h:25, from ./decode_x11.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ./decode_x11.c: In function 'decode_x11': ./decode_x11.c:26:4: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] p = buf + 12; ^ ./decode_x11.c:31:10: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] strlcpy(obuf, "MIT-MAGIC-COOKIE-1 ", olen); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_x11.c:13: /usr/include/bits/string_fortified.h:151:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ ./decode_x11.c:35:4: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] q = obuf + 19; ^ ./decode_x11.c:39:10: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, "\n", olen); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_x11.c:13: /usr/include/bits/string_fortified.h:178:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, ^~~~~ ./decode_x11.c:41:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] return (strlen(obuf)); ^~~~ In file included from ./decode_x11.c:16: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./decode_tds.c In file included from /usr/include/sys/types.h:25, from ./decode_tds.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ./decode_tds.c: In function 'decode_tds': ./decode_tds.c:162:12: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, tl->username, olen); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_tds.c:17: /usr/include/bits/string_fortified.h:178:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, ^~~~~ ./decode_tds.c:163:12: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, "\n", olen); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_tds.c:17: /usr/include/bits/string_fortified.h:178:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, ^~~~~ ./decode_tds.c:169:12: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, tl->password, olen); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_tds.c:17: /usr/include/bits/string_fortified.h:178:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, ^~~~~ ./decode_tds.c:170:12: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] strlcat(obuf, "\n", olen); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_tds.c:17: /usr/include/bits/string_fortified.h:178:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, ^~~~~ ./decode_tds.c:203:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] snprintf(obuf + strlen(obuf), ^~~~ In file included from ./decode_tds.c:20: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ ./decode_tds.c:204:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] olen - strlen(obuf), ^~~~ In file included from ./decode_tds.c:20: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ ./decode_tds.c:203:18: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(obuf + strlen(obuf), ~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_tds.c:17: /usr/include/bits/stdio2.h:61:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (snprintf (char *__restrict __s, size_t __n, ^~~~~ ./decode_tds.c:206:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] return(strlen(obuf)); ^~~~ In file included from ./decode_tds.c:20: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ ./decode_tds.c:209:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] return (strlen(obuf)); ^~~~ In file included from ./decode_tds.c:20: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ ./decode_tds.c:136:27: warning: variable 'myt7l' set but not used [-Wunused-but-set-variable] struct tds7_login *t7l, *myt7l; ^~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./decode_yp.c In file included from /usr/include/sys/types.h:25, from ./decode_yp.c:15: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ./decode_yp.c: In function 'decode_yppasswd': ./decode_yp.c:86:28: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] xdrmem_create(&xdrs, buf + hdrlen, len - hdrlen, XDR_DECODE); ~~~~^~~~~~~~ In file included from /usr/include/rpc/rpc.h:42, from ./decode_yp.c:17: /usr/include/rpc/xdr.h:350:13: note: expected 'caddr_t' {aka 'char * const'} but argument is of type 'u_char *' {aka 'unsigned char *'} extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^~~~~~~~~~~~~ ./decode_yp.c:89:13: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(obuf, olen, ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_yp.c:15: /usr/include/bits/stdio2.h:61:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (snprintf (char *__restrict __s, size_t __n, ^~~~~ ./decode_yp.c:98:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] return (strlen(obuf)); ^~~~ In file included from /usr/include/sys/un.h:37, from /usr/include/rpc/clnt.h:41, from /usr/include/rpc/rpc.h:48, from ./decode_yp.c:17: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ ./decode_yp.c: In function 'decode_ypserv': ./decode_yp.c:119:28: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] xdrmem_create(&xdrs, buf + hdrlen, len - hdrlen, XDR_DECODE); ~~~~^~~~~~~~ In file included from /usr/include/rpc/rpc.h:42, from ./decode_yp.c:17: /usr/include/rpc/xdr.h:350:13: note: expected 'caddr_t' {aka 'char * const'} but argument is of type 'u_char *' {aka 'unsigned char *'} extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^~~~~~~~~~~~~ ./decode_yp.c:132:29: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] xdrmem_create(&xdrs, buf + hdrlen, len - hdrlen, ~~~~^~~~~~~~ In file included from /usr/include/rpc/rpc.h:42, from ./decode_yp.c:17: /usr/include/rpc/xdr.h:350:13: note: expected 'caddr_t' {aka 'char * const'} but argument is of type 'u_char *' {aka 'unsigned char *'} extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^~~~~~~~~~~~~ ./decode_yp.c:136:15: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(obuf, olen, "%s\n", ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./decode_yp.c:15: /usr/include/bits/stdio2.h:61:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (snprintf (char *__restrict __s, size_t __n, ^~~~~ ./decode_yp.c:144:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] return (strlen(obuf)); ^~~~ In file included from /usr/include/sys/un.h:37, from /usr/include/rpc/clnt.h:41, from /usr/include/rpc/rpc.h:48, from ./decode_yp.c:17: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./sshcrypto.c In file included from /usr/include/sys/types.h:25, from ./sshcrypto.c:15: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./sshmitm.c In file included from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from ./sshmitm.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ./sshmitm.c:45:21: warning: built-in function 'csin' declared as non-function [-Wbuiltin-declaration-mismatch] struct sockaddr_in csin, ssin; ^~~~ ./sshmitm.c: In function 'mitm_init': ./sshmitm.c:133:2: warning: 'RSA_generate_key' is deprecated [-Wdeprecated-declarations] ssh_client_ctx->hostkey = RSA_generate_key(1024, 35, NULL, NULL); ^~~~~~~~~~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/ssl.h:15, from ./sshmitm.c:18: /usr/include/openssl/rsa.h:234:1: note: declared here DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void ^~~~~~~~~~~~~~~~~~ ./sshmitm.c:134:2: warning: 'RSA_generate_key' is deprecated [-Wdeprecated-declarations] ssh_client_ctx->servkey = RSA_generate_key(768, 35, NULL, NULL); ^~~~~~~~~~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/ssl.h:15, from ./sshmitm.c:18: /usr/include/openssl/rsa.h:234:1: note: declared here DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void ^~~~~~~~~~~~~~~~~~ ./sshmitm.c: In function 'mitm_child': ./sshmitm.c:202:46: warning: pointer targets in passing argument 3 of 'ssh_strlcat' differ in signedness [-Wpointer-sign] ssh_strlcat(userpass, sizeof(userpass), buf + 1, i - 1); ~~~~^~~ ./sshmitm.c:57:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} ssh_strlcat(char *dst, int size, char *src, int len) ^~~~~~~~~~~ ./sshmitm.c:235:15: warning: pointer targets in passing argument 3 of 'ssh_strlcat' differ in signedness [-Wpointer-sign] buf + 1, i - 1); ~~~~^~~ ./sshmitm.c:57:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} ssh_strlcat(char *dst, int size, char *src, int len) ^~~~~~~~~~~ ./sshmitm.c:246:13: warning: pointer targets in passing argument 7 of 'record' differ in signedness [-Wpointer-sign] userpass, strlen(userpass)); ^~~~~~~~ In file included from ./sshmitm.c:30: ./record.h:16:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' int record(u_int32_t src, u_int32_t dst, int proto, u_short sport, ^~~~~~ ./sshmitm.c: In function 'mitm_run': ./sshmitm.c:340:35: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] (struct sockaddr *)&csin, &i); ^~ In file included from ./sshmitm.c:15: /usr/include/sys/socket.h:232:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' extern int accept (int __fd, __SOCKADDR_ARG __addr, ^~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./tcpnice.c In file included from /usr/include/sys/types.h:25, from ./tcpnice.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ./tcpnice.c: In function 'send_tcp_window_advertisement': ./tcpnice.c:66:42: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'unsigned int' [-Wformat=] fprintf(stderr, "%s:%d > %s:%d: . ack %lu win %d\n", ~~^ %u ./tcpnice.c: In function 'tcp_nice_cb': ./tcpnice.c:137:6: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len; ^~~ ./tcpnice.c: In function 'main': ./tcpnice.c:194:2: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 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:328:16: note: declared here PCAP_API char *pcap_lookupdev(char *) ^~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./tcpkill.c In file included from /usr/include/sys/types.h:25, from ./tcpkill.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ./tcpkill.c: In function 'tcp_kill_cb': ./tcpkill.c:65:11: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(ctext, sizeof(ctext), "%s:%d > %s:%d:", ^~~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./tcpkill.c:13: /usr/include/bits/stdio2.h:61:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (snprintf (char *__restrict __s, size_t __n, ^~~~~ ./tcpkill.c:88:27: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'u_int32_t' {aka 'unsigned int'} [-Wformat=] fprintf(stderr, "%s R %lu:%lu(0) win 0\n", ctext, seq, seq); ~~^ ~~~ %u ./tcpkill.c:88:31: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'u_int32_t' {aka 'unsigned int'} [-Wformat=] fprintf(stderr, "%s R %lu:%lu(0) win 0\n", ctext, seq, seq); ~~^ ~~~ %u ./tcpkill.c:47:9: warning: variable 'len' set but not used [-Wunused-but-set-variable] int i, len; ^~~ ./tcpkill.c: In function 'main': ./tcpkill.c:123:2: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 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:328:16: note: declared here PCAP_API char *pcap_lookupdev(char *) ^~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./macof.c In file included from /usr/include/sys/types.h:25, from ./macof.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ./macof.c: In function 'main': ./macof.c:105:2: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 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:328:16: note: declared here PCAP_API char *pcap_lookupdev(char *) ^~~~~~~~~~~~~~ ./macof.c:61:26: warning: unused variable 'llif' [-Wunused-variable] struct libnet_link_int *llif; ^~~~ ./macof.c:75:10: warning: 'l' may be used uninitialized in this function [-Wmaybe-uninitialized] Src = libnet_name2addr4(l, optarg, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./urlsnarf.c In file included from /usr/include/sys/types.h:25, from ./urlsnarf.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ./urlsnarf.c: In function 'escape_log_entry': ./urlsnarf.c:98:9: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] for (c = string, len = 0; *c; c++) { ^ ./urlsnarf.c:109:9: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] for (c = string, o = out; *c; c++, o++) { ^ ./urlsnarf.c:109:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] for (c = string, o = out; *c; c++, o++) { ^ ./urlsnarf.c:111:13: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(o, 5, "\\x%02x", *c); ^ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from ./urlsnarf.c:13: /usr/include/bits/stdio2.h:61:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (snprintf (char *__restrict __s, size_t __n, ^~~~~ In file included from ./urlsnarf.c:30: ./urlsnarf.c: In function 'process_http_request': ./buf.h:31:31: warning: pointer targets in passing argument 1 of 'regex_match' differ in signedness [-Wpointer-sign] #define buf_ptr(b) ((b)->base + (b)->offset) ~~~~~~~~~~~^~~~~~~~~~~~~~ ./urlsnarf.c:138:20: note: in expansion of macro 'buf_ptr' if (!regex_match(buf_ptr(msg))) ^~~~~~~ ./urlsnarf.c:49:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} regex_match(char *string) ^~~~~~~~~~~ In file included from ./urlsnarf.c:30: ./buf.h:31:31: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] #define buf_ptr(b) ((b)->base + (b)->offset) ~~~~~~~~~~~^~~~~~~~~~~~~~ ./urlsnarf.c:141:21: note: in expansion of macro 'buf_ptr' if ((req = strtok(buf_ptr(msg), "\r\n")) == NULL) ^~~~~~~ In file included from ./urlsnarf.c:21: /usr/include/string.h:335:14: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^~~~~~ ./urlsnarf.c:162:24: warning: pointer targets in passing argument 2 of 'base64_pton' differ in signedness [-Wpointer-sign] i = base64_pton(p, p, strlen(p)); ^ In file included from ./urlsnarf.c:31: ./base64.h:12:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' int base64_pton(char const *, u_char *, size_t); ^~~~~~~~~~~ ./urlsnarf.c: In function 'sniff_http_client': ./urlsnarf.c:220:50: warning: pointer targets in passing argument 2 of 'process_http_request' differ in signedness [-Wpointer-sign] i = process_http_request(&ts->addr, ts->server.data, ~~~~~~~~~~^~~~~ ./urlsnarf.c:125:1: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' process_http_request(struct tuple4 *addr, u_char *data, int len) ^~~~~~~~~~~~~~~~~~~~ ./urlsnarf.c:229:46: warning: pointer targets in passing argument 2 of 'process_http_request' differ in signedness [-Wpointer-sign] process_http_request(&ts->addr, ts->server.data, ~~~~~~~~~~^~~~~ ./urlsnarf.c:125:1: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' process_http_request(struct tuple4 *addr, u_char *data, int len) ^~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' ar -cr libmissing.a dummy.o md5.o ranlib libmissing.a make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./remote.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ./remote.c:31: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./ssh.c In file included from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from ./ssh.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ./ssh.c: In function 'ssh_session_id': ./ssh.c:138:2: warning: implicit declaration of function 'MD5' [-Wimplicit-function-declaration] MD5(p, i + j + 8, sessid); ^~~ ./ssh.c: In function 'SSH_accept': ./ssh.c:249:9: warning: passing argument 1 of 'put_bn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] put_bn(servkey_e, &p); /* servkey exponent */ ^~~~~~~~~ ./ssh.c:91:16: note: expected 'BIGNUM *' {aka 'struct bignum_st *'} but argument is of type 'const BIGNUM *' {aka 'const struct bignum_st *'} put_bn(BIGNUM *bn, u_char **pp) ~~~~~~~~^~ ./ssh.c:250:9: warning: passing argument 1 of 'put_bn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] put_bn(servkey_n, &p); /* servkey modulus */ ^~~~~~~~~ ./ssh.c:91:16: note: expected 'BIGNUM *' {aka 'struct bignum_st *'} but argument is of type 'const BIGNUM *' {aka 'const struct bignum_st *'} put_bn(BIGNUM *bn, u_char **pp) ~~~~~~~~^~ ./ssh.c:253:9: warning: passing argument 1 of 'put_bn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] put_bn(hostkey_e, &p); /* hostkey exponent */ ^~~~~~~~~ ./ssh.c:91:16: note: expected 'BIGNUM *' {aka 'struct bignum_st *'} but argument is of type 'const BIGNUM *' {aka 'const struct bignum_st *'} put_bn(BIGNUM *bn, u_char **pp) ~~~~~~~~^~ ./ssh.c:254:9: warning: passing argument 1 of 'put_bn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] put_bn(hostkey_n, &p); /* hostkey modulus */ ^~~~~~~~~ ./ssh.c:91:16: note: expected 'BIGNUM *' {aka 'struct bignum_st *'} but argument is of type 'const BIGNUM *' {aka 'const struct bignum_st *'} put_bn(BIGNUM *bn, u_char **pp) ~~~~~~~~^~ ./ssh.c:325:34: warning: passing argument 2 of 'ssh_session_id' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if ((p = ssh_session_id(cookie, hostkey_n, ^~~~~~~~~ ./ssh.c:121:40: note: expected 'BIGNUM *' {aka 'struct bignum_st *'} but argument is of type 'const BIGNUM *' {aka 'const struct bignum_st *'} ssh_session_id(u_char *cookie, BIGNUM *hostkey_n, BIGNUM *servkey_n) ~~~~~~~~^~~~~~~~~ ./ssh.c:326:5: warning: passing argument 3 of 'ssh_session_id' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] servkey_n)) == NULL) { ^~~~~~~~~ ./ssh.c:121:59: note: expected 'BIGNUM *' {aka 'struct bignum_st *'} but argument is of type 'const BIGNUM *' {aka 'const struct bignum_st *'} ssh_session_id(u_char *cookie, BIGNUM *hostkey_n, BIGNUM *servkey_n) ~~~~~~~~^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./webspy.c In file included from /usr/include/sys/types.h:25, from ./webspy.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ./webspy.c:29: ./webspy.c: In function 'process_http_request': ./buf.h:31:31: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] #define buf_ptr(b) ((b)->base + (b)->offset) ~~~~~~~~~~~^~~~~~~~~~~~~~ ./webspy.c:97:16: note: in expansion of macro 'buf_ptr' req = strtok(buf_ptr(msg), "\r\n"); ^~~~~~~ In file included from ./webspy.c:22: /usr/include/string.h:335:14: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^~~~~~ ./webspy.c:118:24: warning: pointer targets in passing argument 2 of 'base64_pton' differ in signedness [-Wpointer-sign] i = base64_pton(p, p, strlen(p)); ^ In file included from ./webspy.c:28: ./base64.h:12:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' int base64_pton(char const *, u_char *, size_t); ^~~~~~~~~~~ ./webspy.c: In function 'sniff_http_client': ./webspy.c:158:50: warning: pointer targets in passing argument 2 of 'process_http_request' differ in signedness [-Wpointer-sign] i = process_http_request(&ts->addr, ts->server.data, ~~~~~~~~~~^~~~~ ./webspy.c:84:1: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' process_http_request(struct tuple4 *addr, u_char *data, int len) ^~~~~~~~~~~~~~~~~~~~ ./webspy.c:167:46: warning: pointer targets in passing argument 2 of 'process_http_request' differ in signedness [-Wpointer-sign] process_http_request(&ts->addr, ts->server.data, ~~~~~~~~~~^~~~~ ./webspy.c:84:1: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' process_http_request(struct tuple4 *addr, u_char *data, int len) ^~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./filesnarf.c In file included from /usr/include/sys/types.h:25, from ./filesnarf.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ./filesnarf.c: In function 'nfs2_call': ./filesnarf.c:162:24: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] xdrmem_create(&xdrs, buf, len, XDR_DECODE); ^~~ In file included from /usr/include/rpc/rpc.h:42, from ./filesnarf.c:14: /usr/include/rpc/xdr.h:350:13: note: expected 'caddr_t' {aka 'char * const'} but argument is of type 'u_char *' {aka 'unsigned char *'} extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^~~~~~~~~~~~~ ./filesnarf.c:175:24: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] xdrmem_create(&xdrs, buf, len, XDR_DECODE); ^~~ In file included from /usr/include/rpc/rpc.h:42, from ./filesnarf.c:14: /usr/include/rpc/xdr.h:350:13: note: expected 'caddr_t' {aka 'char * const'} but argument is of type 'u_char *' {aka 'unsigned char *'} extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^~~~~~~~~~~~~ ./filesnarf.c:178:34: warning: pointer targets in passing argument 1 of 'fh_map_find' differ in signedness [-Wpointer-sign] fname = fh_map_find(rargs.file.data, NFS_FHSIZE); ~~~~~~~~~~^~~~~ ./filesnarf.c:106:1: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' fh_map_find(u_char *fh, int len) ^~~~~~~~~~~ ./filesnarf.c: In function 'nfs2_reply': ./filesnarf.c:206:24: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] xdrmem_create(&xdrs, buf, len, XDR_DECODE); ^~~ In file included from /usr/include/rpc/rpc.h:42, from ./filesnarf.c:14: /usr/include/rpc/xdr.h:350:13: note: expected 'caddr_t' {aka 'char * const'} but argument is of type 'u_char *' {aka 'unsigned char *'} extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^~~~~~~~~~~~~ ./filesnarf.c:212:38: warning: pointer targets in passing argument 2 of 'fh_map_add' differ in signedness [-Wpointer-sign] dres.diropres_u.diropres.file.data, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./filesnarf.c:90:1: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' fh_map_add(char *filename, u_char *fh, int len) ^~~~~~~~~~ ./filesnarf.c:219:24: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] xdrmem_create(&xdrs, buf, len, XDR_DECODE); ^~~ In file included from /usr/include/rpc/rpc.h:42, from ./filesnarf.c:14: /usr/include/rpc/xdr.h:350:13: note: expected 'caddr_t' {aka 'char * const'} but argument is of type 'u_char *' {aka 'unsigned char *'} extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^~~~~~~~~~~~~ ./filesnarf.c:225:32: warning: pointer targets in passing argument 3 of 'nfs_save' differ in signedness [-Wpointer-sign] rres.readres_u.reply.data.data_val, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ./filesnarf.c:133:1: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' nfs_save(struct tuple4 *addr, struct myreadargs *ma, u_char *buf, int len) ^~~~~~~~ ./filesnarf.c: In function 'nfs3_call': ./filesnarf.c:247:24: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] xdrmem_create(&xdrs, buf, len, XDR_DECODE); ^~~ In file included from /usr/include/rpc/rpc.h:42, from ./filesnarf.c:14: /usr/include/rpc/xdr.h:350:13: note: expected 'caddr_t' {aka 'char * const'} but argument is of type 'u_char *' {aka 'unsigned char *'} extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^~~~~~~~~~~~~ ./filesnarf.c:260:24: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] xdrmem_create(&xdrs, buf, len, XDR_DECODE); ^~~ In file included from /usr/include/rpc/rpc.h:42, from ./filesnarf.c:14: /usr/include/rpc/xdr.h:350:13: note: expected 'caddr_t' {aka 'char * const'} but argument is of type 'u_char *' {aka 'unsigned char *'} extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^~~~~~~~~~~~~ ./filesnarf.c:263:39: warning: pointer targets in passing argument 1 of 'fh_map_find' differ in signedness [-Wpointer-sign] fname = fh_map_find(rargs.file.data.data_val, ~~~~~~~~~~~~~~~^~~~~~~~~ ./filesnarf.c:106:1: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' fh_map_find(u_char *fh, int len) ^~~~~~~~~~~ ./filesnarf.c: In function 'nfs3_reply': ./filesnarf.c:291:24: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] xdrmem_create(&xdrs, buf, len, XDR_DECODE); ^~~ In file included from /usr/include/rpc/rpc.h:42, from ./filesnarf.c:14: /usr/include/rpc/xdr.h:350:13: note: expected 'caddr_t' {aka 'char * const'} but argument is of type 'u_char *' {aka 'unsigned char *'} extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^~~~~~~~~~~~~ ./filesnarf.c:297:41: warning: pointer targets in passing argument 2 of 'fh_map_add' differ in signedness [-Wpointer-sign] lres.LOOKUP3res_u.resok.object.data.data_val, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ./filesnarf.c:90:1: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' fh_map_add(char *filename, u_char *fh, int len) ^~~~~~~~~~ ./filesnarf.c:305:24: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign] xdrmem_create(&xdrs, buf, len, XDR_DECODE); ^~~ In file included from /usr/include/rpc/rpc.h:42, from ./filesnarf.c:14: /usr/include/rpc/xdr.h:350:13: note: expected 'caddr_t' {aka 'char * const'} but argument is of type 'u_char *' {aka 'unsigned char *'} extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr, ^~~~~~~~~~~~~ ./filesnarf.c:309:20: warning: comparison between 'nfsstat' {aka 'enum nfsstat'} and 'enum nfsstat3' [-Wenum-compare] if (rres.status == NFS3_OK) { ^~ ./filesnarf.c:311:33: warning: pointer targets in passing argument 3 of 'nfs_save' differ in signedness [-Wpointer-sign] rres.READ3res_u.resok.data.data_val, ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ./filesnarf.c:133:1: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' nfs_save(struct tuple4 *addr, struct myreadargs *ma, u_char *buf, int len) ^~~~~~~~ ./filesnarf.c: In function 'decode_tcp_nfs_half': ./filesnarf.c:396:6: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] buf = hs->data; ^ ./filesnarf.c: In function 'nfs_save': ./filesnarf.c:144:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, buf, len); ^~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./nfs_prot.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from /usr/include/rpc/types.h:60, from /usr/include/rpc/rpc.h:38, from ./nfs_prot.h:9, from ./nfs_prot.c:6: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ./nfs_prot.c: In function 'xdr_nfsstat': ./nfs_prot.c:12:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./nfs_prot.c: In function 'xdr_ftype': ./nfs_prot.c:22:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./nfs_prot.c: In function 'xdr_nfs_fh': ./nfs_prot.c:34:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ ./nfs_prot.c:32:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./nfs_prot.c: In function 'xdr_nfstime': ./nfs_prot.c:43:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./nfs_prot.c: In function 'xdr_filename': ./nfs_prot.c:184:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./nfs_prot.c: In function 'xdr_nfspath': ./nfs_prot.c:194:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./nfs_prot.c: In function 'xdr_diropargs': ./nfs_prot.c:204:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./nfs_prot.c: In function 'xdr_diropokres': ./nfs_prot.c:216:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./nfs_prot.c: In function 'xdr_diropres': ./nfs_prot.c:228:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./nfs_prot.c: In function 'xdr_readargs': ./nfs_prot.c:246:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./nfs_prot.c: In function 'xdr_readokres': ./nfs_prot.c:262:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./nfs_prot.c: In function 'xdr_readres': ./nfs_prot.c:274:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./nfs_prot.c: In function 'xdr_uint64': ./nfs_prot.c:294:8: warning: implicit declaration of function 'xdr_u_int64_t'; did you mean 'xdr_uint64_t'? [-Wimplicit-function-declaration] if (!xdr_u_int64_t (xdrs, objp)) ^~~~~~~~~~~~~ xdr_uint64_t ./nfs_prot.c:292:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./nfs_prot.c: In function 'xdr_int64': ./nfs_prot.c:302:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./nfs_prot.c: In function 'xdr_uint32': ./nfs_prot.c:312:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./nfs_prot.c: In function 'xdr_int32': ./nfs_prot.c:322:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./nfs_prot.c: In function 'xdr_filename3': ./nfs_prot.c:332:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./nfs_prot.c: In function 'xdr_nfspath3': ./nfs_prot.c:342:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./nfs_prot.c: In function 'xdr_fileid3': ./nfs_prot.c:352:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./nfs_prot.c: In function 'xdr_cookie3': ./nfs_prot.c:362:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./nfs_prot.c: In function 'xdr_cookieverf3': ./nfs_prot.c:372:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./nfs_prot.c: In function 'xdr_createverf3': ./nfs_prot.c:382:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./nfs_prot.c: In function 'xdr_writeverf3': ./nfs_prot.c:392:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./nfs_prot.c: In function 'xdr_uid3': ./nfs_prot.c:402:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./nfs_prot.c: In function 'xdr_gid3': ./nfs_prot.c:412:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./nfs_prot.c: In function 'xdr_size3': ./nfs_prot.c:422:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./nfs_prot.c: In function 'xdr_offset3': ./nfs_prot.c:432:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./nfs_prot.c: In function 'xdr_mode3': ./nfs_prot.c:442:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./nfs_prot.c: In function 'xdr_count3': ./nfs_prot.c:452:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./nfs_prot.c: In function 'xdr_nfsstat3': ./nfs_prot.c:462:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./nfs_prot.c: In function 'xdr_ftype3': ./nfs_prot.c:472:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./nfs_prot.c: In function 'xdr_specdata3': ./nfs_prot.c:482:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./nfs_prot.c: In function 'xdr_nfs_fh3': ./nfs_prot.c:494:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./nfs_prot.c: In function 'xdr_nfstime3': ./nfs_prot.c:504:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./nfs_prot.c: In function 'xdr_fattr3': ./nfs_prot.c:516:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./nfs_prot.c: In function 'xdr_post_op_attr': ./nfs_prot.c:550:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./nfs_prot.c: In function 'xdr_wcc_attr': ./nfs_prot.c:570:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./nfs_prot.c: In function 'xdr_pre_op_attr': ./nfs_prot.c:584:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./nfs_prot.c: In function 'xdr_wcc_data': ./nfs_prot.c:604:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./nfs_prot.c: In function 'xdr_diropargs3': ./nfs_prot.c:616:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./nfs_prot.c: In function 'xdr_LOOKUP3args': ./nfs_prot.c:628:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./nfs_prot.c: In function 'xdr_LOOKUP3resok': ./nfs_prot.c:638:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./nfs_prot.c: In function 'xdr_LOOKUP3resfail': ./nfs_prot.c:652:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./nfs_prot.c: In function 'xdr_LOOKUP3res': ./nfs_prot.c:662:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./nfs_prot.c: In function 'xdr_READ3args': ./nfs_prot.c:682:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./nfs_prot.c: In function 'xdr_READ3resok': ./nfs_prot.c:696:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./nfs_prot.c: In function 'xdr_READ3resfail': ./nfs_prot.c:712:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./nfs_prot.c: In function 'xdr_READ3res': ./nfs_prot.c:722:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./mailsnarf.c In file included from /usr/include/sys/types.h:25, from ./mailsnarf.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ./mailsnarf.c: In function 'process_pop_client': ./mailsnarf.c:118:17: warning: pointer targets in passing argument 2 of 'buf_init' differ in signedness [-Wpointer-sign] buf_init(&buf, data, len); ^~~~ In file included from ./mailsnarf.c:27: ./buf.h:22:6: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' void buf_init(buf_t buf, u_char *data, int len); ^~~~~~~~ ./buf.h:31:31: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] #define buf_ptr(b) ((b)->base + (b)->offset) ~~~~~~~~~~~^~~~~~~~~~~~~~ ./mailsnarf.c:124:19: note: in expansion of macro 'buf_ptr' if (strncasecmp(buf_ptr(line), "RETR ", 5) == 0) { ^~~~~~~ In file included from /usr/include/string.h:431, from ./mailsnarf.c:18: /usr/include/strings.h:120:12: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~~~~~ ./mailsnarf.c: In function 'process_pop_server': ./mailsnarf.c:138:17: warning: pointer targets in passing argument 2 of 'buf_init' differ in signedness [-Wpointer-sign] buf_init(&buf, data, len); ^~~~ In file included from ./mailsnarf.c:27: ./buf.h:22:6: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' void buf_init(buf_t buf, u_char *data, int len); ^~~~~~~~ ./buf.h:31:31: warning: pointer targets in passing argument 1 of 'regex_match' differ in signedness [-Wpointer-sign] #define buf_ptr(b) ((b)->base + (b)->offset) ~~~~~~~~~~~^~~~~~~~~~~~~~ ./mailsnarf.c:160:20: note: in expansion of macro 'buf_ptr' if (regex_match(buf_ptr(body))) ^~~~~~~ ./mailsnarf.c:67:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} regex_match(char *string) ^~~~~~~~~~~ In file included from ./mailsnarf.c:27: ./buf.h:31:31: warning: pointer targets in passing argument 2 of 'print_mbox_msg' differ in signedness [-Wpointer-sign] #define buf_ptr(b) ((b)->base + (b)->offset) ~~~~~~~~~~~^~~~~~~~~~~~~~ ./mailsnarf.c:161:26: note: in expansion of macro 'buf_ptr' print_mbox_msg(NULL, buf_ptr(body)); ^~~~~~~ ./mailsnarf.c:89:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} print_mbox_msg(char *from, char *msg) ^~~~~~~~~~~~~~ ./mailsnarf.c: In function 'process_smtp_client': ./mailsnarf.c:176:17: warning: pointer targets in passing argument 2 of 'buf_init' differ in signedness [-Wpointer-sign] buf_init(&buf, data, len); ^~~~ In file included from ./mailsnarf.c:27: ./buf.h:22:6: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' void buf_init(buf_t buf, u_char *data, int len); ^~~~~~~~ ./mailsnarf.c:182:6: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] p = buf_ptr(line); ^ In file included from ./mailsnarf.c:27: ./buf.h:31:31: warning: pointer targets in passing argument 1 of 'regex_match' differ in signedness [-Wpointer-sign] #define buf_ptr(b) ((b)->base + (b)->offset) ~~~~~~~~~~~^~~~~~~~~~~~~~ ./mailsnarf.c:216:20: note: in expansion of macro 'buf_ptr' if (regex_match(buf_ptr(body))) ^~~~~~~ ./mailsnarf.c:67:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} regex_match(char *string) ^~~~~~~~~~~ In file included from ./mailsnarf.c:27: ./buf.h:31:31: warning: pointer targets in passing argument 2 of 'print_mbox_msg' differ in signedness [-Wpointer-sign] #define buf_ptr(b) ((b)->base + (b)->offset) ~~~~~~~~~~~^~~~~~~~~~~~~~ ./mailsnarf.c:217:32: note: in expansion of macro 'buf_ptr' print_mbox_msg(smtp->from, buf_ptr(body)); ^~~~~~~ ./mailsnarf.c:89:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} print_mbox_msg(char *from, char *msg) ^~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -o tcpkill tcpkill.o pcaputil.o -lresolv -lrpcsvc -L. -lmissing -lpcap -lnet make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./mount.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from /usr/include/rpc/types.h:60, from /usr/include/rpc/rpc.h:38, from ./mount.h:9, from ./mount.c:6: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ./mount.c: In function 'xdr_fhandle': ./mount.c:11:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./mount.c: In function 'xdr_fhandle3': ./mount.c:21:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./mount.c: In function 'xdr_fhstatus': ./mount.c:31:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./mount.c: In function 'xdr_mountstat3': ./mount.c:51:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./mount.c: In function 'xdr_mountres3_ok': ./mount.c:61:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./mount.c: In function 'xdr_mountres3': ./mount.c:74:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ ./mount.c: In function 'xdr_dirpath': ./mount.c:92:20: warning: unused variable 'buf' [-Wunused-variable] register int32_t *buf; ^~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -o macof macof.o -lresolv -lrpcsvc -L. -lmissing -lpcap -lnet make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -o arpspoof arpspoof.o arp.o -lresolv -lrpcsvc -L. -lmissing -lpcap -lnet make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -o webspy webspy.o base64.o buf.o remote.o -lresolv -lrpcsvc -L. -lmissing -lnids -lpcap -lnet -lSM -lICE -lXmu -lX11 make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -o tcpnice tcpnice.o pcaputil.o -lresolv -lrpcsvc -L. -lmissing -lpcap -lnet make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -o urlsnarf urlsnarf.o base64.o buf.o pcaputil.o -lresolv -lrpcsvc -L. -lmissing -lnids -lpcap -lnet make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -o filesnarf filesnarf.o nfs_prot.o pcaputil.o rpc.o -lresolv -lrpcsvc -L. -lmissing -lnids -lpcap -lnet make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -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 -lrpcsvc -L. -lmissing -lnids -lpcap -lnet -ldb-4 -lssl -lcrypto make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -o sshmitm sshmitm.o buf.o hex.o record.o ssh.o sshcrypto.o -lresolv -lrpcsvc -L. -lmissing -lnet -ldb-4 -lssl -lcrypto make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -o dnsspoof dnsspoof.o pcaputil.o -lresolv -lrpcsvc -L. -lmissing -lpcap -lnet make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -o mailsnarf mailsnarf.o buf.o pcaputil.o -lresolv -lrpcsvc -L. -lmissing -lnids -lpcap -lnet make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./msgsnarf.c In file included from /usr/include/sys/types.h:25, from ./msgsnarf.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ./msgsnarf.c: In function 'process_aim': ./msgsnarf.c:146:7: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] p = buf_strdup(msg); ^ ./msgsnarf.c:148:21: warning: pointer targets in passing argument 1 of 'regex_match' differ in signedness [-Wpointer-sign] if (regex_match(p)) ^ ./msgsnarf.c:67:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} regex_match(char *string) ^~~~~~~~~~~ ./msgsnarf.c:162:7: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] p = buf_strdup(msg); ^ ./msgsnarf.c:164:21: warning: pointer targets in passing argument 1 of 'regex_match' differ in signedness [-Wpointer-sign] if (regex_match(p)) ^ ./msgsnarf.c:67:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} regex_match(char *string) ^~~~~~~~~~~ ./msgsnarf.c:198:7: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] p = buf_strdup(msg); ^ ./msgsnarf.c:200:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (p && strlen(p) && regex_match(p)) { ^ In file included from ./msgsnarf.c:19: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ ./msgsnarf.c:200:39: warning: pointer targets in passing argument 1 of 'regex_match' differ in signedness [-Wpointer-sign] if (p && strlen(p) && regex_match(p)) { ^ ./msgsnarf.c:67:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} regex_match(char *string) ^~~~~~~~~~~ ./msgsnarf.c: In function 'sniff_msgs': ./msgsnarf.c:599:34: warning: pointer targets in passing argument 2 of 'process_msgs' differ in signedness [-Wpointer-sign] i = process_msgs(c, ts->server.data, ~~~~~~~~~~^~~~~ ./msgsnarf.c:599:34: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' ./msgsnarf.c:604:34: warning: pointer targets in passing argument 2 of 'process_msgs' differ in signedness [-Wpointer-sign] i = process_msgs(c, ts->client.data, ~~~~~~~~~~^~~~~ ./msgsnarf.c:604:34: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' ./msgsnarf.c:615:30: warning: pointer targets in passing argument 2 of 'process_msgs' differ in signedness [-Wpointer-sign] process_msgs(c, ts->server.data, ~~~~~~~~~~^~~~~ ./msgsnarf.c:615:30: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' ./msgsnarf.c:618:30: warning: pointer targets in passing argument 2 of 'process_msgs' differ in signedness [-Wpointer-sign] process_msgs(c, ts->client.data, ~~~~~~~~~~^~~~~ ./msgsnarf.c:618:30: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./sshow.c In file included from /usr/include/sys/types.h:25, from ./sshow.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ./sshow.c: In function 'client_to_server': ./sshow.c:236:7: warning: unused variable 'CLK_TCK' [-Wunused-variable] long CLK_TCK = sysconf(_SC_CLK_TCK); ^~~~~~~ ./sshow.c: In function 'server_to_client': ./sshow.c:287:7: warning: unused variable 'CLK_TCK' [-Wunused-variable] long CLK_TCK = sysconf(_SC_CLK_TCK); ^~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -o msgsnarf msgsnarf.o buf.o pcaputil.o -lresolv -lrpcsvc -L. -lmissing -lnids -lpcap -lnet make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -o sshow sshow.o pcaputil.o -lresolv -lrpcsvc -L. -lmissing -lnids -lpcap -lnet make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/nsl -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I/usr/include/db4 -I./missing -c ./webmitm.c In file included from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from ./webmitm.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ./webmitm.c:46:21: warning: built-in function 'csin' declared as non-function [-Wbuiltin-declaration-mismatch] struct sockaddr_in csin, ssin; ^~~~ ./webmitm.c: In function 'grep_passwords': ./webmitm.c:106:18: warning: pointer targets in passing argument 7 of 'record' differ in signedness [-Wpointer-sign] "http", obuf, len); ^~~~ In file included from ./webmitm.c:31: ./record.h:16:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' int record(u_int32_t src, u_int32_t dst, int proto, u_short sport, ^~~~~~ ./webmitm.c: In function 'client_request': ./webmitm.c:168:11: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] req.base = buf; ^ ./webmitm.c:173:35: warning: pointer targets in passing argument 1 of 'client_read' differ in signedness [-Wpointer-sign] while ((i = client_read(req.base + req.end, req.size - req.end)) > 0) { ~~~~~~~~~^~~~~~~~~ ./webmitm.c:152:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} client_read(char *buf, int size) ^~~~~~~~~~~ ./webmitm.c: In function 'server_init': ./webmitm.c:228:18: warning: pointer targets in passing argument 2 of 'buf_init' differ in signedness [-Wpointer-sign] buf_init(&msg, buf, size); ^~~ In file included from ./webmitm.c:30: ./buf.h:22:6: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' void buf_init(buf_t buf, u_char *data, int len); ^~~~~~~~ ./webmitm.c: In function 'mitm_child': ./webmitm.c:362:26: warning: pointer targets in passing argument 1 of 'client_request' differ in signedness [-Wpointer-sign] if ((i = client_request(buf, sizeof(buf))) < 0) ^~~ ./webmitm.c:161:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} client_request(char *buf, int size) ^~~~~~~~~~~~~~ ./webmitm.c:371:14: warning: pointer targets in passing argument 1 of 'server_init' differ in signedness [-Wpointer-sign] server_init(buf, i); ^~~ ./webmitm.c:217:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} server_init(char *buf, int size) ^~~~~~~~~~~ ./webmitm.c:373:19: warning: pointer targets in passing argument 1 of 'server_write' differ in signedness [-Wpointer-sign] if (server_write(buf, i) != i) ^~~ ./webmitm.c:283:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} server_write(char *buf, int size) ^~~~~~~~~~~~ ./webmitm.c:377:18: warning: pointer targets in passing argument 1 of 'grep_passwords' differ in signedness [-Wpointer-sign] grep_passwords(buf, i); ^~~ ./webmitm.c:99:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} grep_passwords(char *buf, int len) ^~~~~~~~~~~~~~ ./webmitm.c:391:28: warning: pointer targets in passing argument 1 of 'client_request' differ in signedness [-Wpointer-sign] if ((i = client_request(buf, i)) <= 0) ^~~ ./webmitm.c:161:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} client_request(char *buf, int size) ^~~~~~~~~~~~~~ ./webmitm.c:401:21: warning: pointer targets in passing argument 1 of 'server_write' differ in signedness [-Wpointer-sign] if (server_write(buf, i) != i) ^~~ ./webmitm.c:283:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} server_write(char *buf, int size) ^~~~~~~~~~~~ ./webmitm.c:405:20: warning: pointer targets in passing argument 1 of 'grep_passwords' differ in signedness [-Wpointer-sign] grep_passwords(buf, i); ^~~ ./webmitm.c:99:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} grep_passwords(char *buf, int len) ^~~~~~~~~~~~~~ ./webmitm.c:409:25: warning: pointer targets in passing argument 1 of 'server_read' differ in signedness [-Wpointer-sign] if ((i = server_read(buf, i)) <= 0) ^~~ ./webmitm.c:274:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} server_read(char *buf, int size) ^~~~~~~~~~~ ./webmitm.c:419:21: warning: pointer targets in passing argument 1 of 'client_write' differ in signedness [-Wpointer-sign] if (client_write(buf, i) != i) ^~~ ./webmitm.c:199:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} client_write(char *buf, int size) ^~~~~~~~~~~~ ./webmitm.c: In function 'mitm_run': ./webmitm.c:469:58: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] client_fd = accept(http_fd, (struct sockaddr *)&csin, &i); ^~ In file included from ./webmitm.c:15: /usr/include/sys/socket.h:232:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' extern int accept (int __fd, __SOCKADDR_ARG __addr, ^~~~~~ ./webmitm.c:473:59: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] client_fd = accept(https_fd, (struct sockaddr *)&csin, &i); ^~ In file included from ./webmitm.c:15: /usr/include/sys/socket.h:232:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' extern int accept (int __fd, __SOCKADDR_ARG __addr, ^~~~~~ ./webmitm.c: In function 'mitm_child': ./webmitm.c:369:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(STDERR_FILENO, buf, i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./webmitm.c:399:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(STDERR_FILENO, buf, i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./webmitm.c:417:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(STDERR_FILENO, buf, i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' gcc -o webmitm webmitm.o base64.o buf.o decode_http.o record.o -lresolv -lrpcsvc -L. -lmissing -lnet -ldb-4 -lssl -lcrypto make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.77342 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/dsniff-buildroot + : + /bin/rm -rf -- /usr/src/tmp/dsniff-buildroot + cd dsniff-2.4 + make 'INSTALL=/bin/install -p' install install_prefix=/usr/src/tmp/dsniff-buildroot make: Entering directory '/usr/src/RPM/BUILD/dsniff-2.4' test -d /usr/src/tmp/dsniff-buildroot/usr/sbin || \ /bin/install -p -d /usr/src/tmp/dsniff-buildroot/usr/sbin for file in arpspoof dnsspoof dsniff filesnarf macof mailsnarf msgsnarf sshmitm sshow tcpkill tcpnice urlsnarf webmitm webspy ; do \ /bin/install -p -m 755 $file /usr/src/tmp/dsniff-buildroot/usr/sbin; \ done test -d /usr/src/tmp/dsniff-buildroot/usr/share/dsniff || \ /bin/install -p -d /usr/src/tmp/dsniff-buildroot/usr/share/dsniff for file in dsniff.magic dsniff.services dnsspoof.hosts; do \ /bin/install -p -m 644 $file /usr/src/tmp/dsniff-buildroot/usr/share/dsniff; \ done test -d /usr/src/tmp/dsniff-buildroot/usr/share/man/man8 || \ /bin/install -p -d /usr/src/tmp/dsniff-buildroot/usr/share/man/man8 for file in *.8; do \ /bin/install -p -m 644 $file /usr/src/tmp/dsniff-buildroot/usr/share/man/man8; \ done make: Leaving directory '/usr/src/RPM/BUILD/dsniff-2.4' + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/dsniff-buildroot (auto) Verifying and fixing files in /usr/src/tmp/dsniff-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/dsniff-buildroot/ (default) Compressing files in /usr/src/tmp/dsniff-buildroot (auto) Verifying ELF objects in /usr/src/tmp/dsniff-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/sbin/webmitm: uses non-LFS functions: __xstat verify-elf: WARNING: ./usr/sbin/filesnarf: uses non-LFS functions: lseek open verify-elf: WARNING: ./usr/sbin/dsniff: uses non-LFS functions: fopen verify-elf: WARNING: ./usr/sbin/dnsspoof: uses non-LFS functions: fopen Hardlinking identical .pyc and .pyo files Processing files: dsniff-2.4-alt0.13.b1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.61183 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd dsniff-2.4 + DOCDIR=/usr/src/tmp/dsniff-buildroot/usr/share/doc/dsniff-2.4 + export DOCDIR + rm -rf /usr/src/tmp/dsniff-buildroot/usr/share/doc/dsniff-2.4 + /bin/mkdir -p /usr/src/tmp/dsniff-buildroot/usr/share/doc/dsniff-2.4 + cp -prL README CHANGES faq.html /usr/src/tmp/dsniff-buildroot/usr/share/doc/dsniff-2.4 + chmod -R go-w /usr/src/tmp/dsniff-buildroot/usr/share/doc/dsniff-2.4 + chmod -R a+rX /usr/src/tmp/dsniff-buildroot/usr/share/doc/dsniff-2.4 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Yav8nB find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.9QLQch find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Requires: /lib/ld-linux.so.2, libc.so.6 >= set:pnCE0ZdiC7, libc.so.6(ALT_2.24), libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.15), libc.so.6(GLIBC_2.2.5), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libcrypto.so.1.1 >= set:qlvV26PLPobDnA4zZsACBO7QtTIzB3tRJQz24AhXjkVUPrcL1aZhaMDYZFtOIIbh19HPD3ISzvfYbftayvJwuTW92JZwzQ3ZAopyn, libcrypto.so.1.1(OPENSSL_1_1_0), libdb-4.7.so >= set:jiZ0W, libnet.so.2 >= set:lgWK707Hs7hYZ7AbfYhyxiMLKCgjIZmrj0SziDrn6jHqHjA21, libnids.so.1.24 >= set:jfYRzZ3XVi2Iwotx0Dhln0, libpcap.so.0.8 >= set:kgRPXr3AvZmoab8QpyI5KLxr71, libresolv.so.2(GLIBC_2.0), libresolv.so.2(GLIBC_2.2), libssl.so.1.1 >= set:mikIZpZsIBiSMLBfHG0HAG50o5iUBzF0ePa4BgpFQFZ93, libssl.so.1.1(OPENSSL_1_1_0), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.nLBwEh Creating dsniff-debuginfo package Processing files: dsniff-X11-2.4-alt0.13.b1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.bDxvTn find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.0sCpHK find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Requires: dsniff = 2.4-alt0.13.b1, /lib/ld-linux.so.2, libX11.so.6 >= set:okJ5tfbmTzZvKmfPd23gx9v0vJtx1RcDQEXQ2, libXmu.so.6 >= set:lkrXI, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libnet.so.2 >= set:ljtT7JQ8, libnids.so.1.24 >= set:jgZq79ZD2c1NMMYR52, rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Sjhmjn Creating dsniff-X11-debuginfo package Processing files: dsniff-debuginfo-2.4-alt0.13.b1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.9cHhvl find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.apVM7o find-requires: running scripts (debuginfo) Requires: dsniff = 2.4-alt0.13.b1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6), debug(libcrypto.so.1.1), debug(libdb-4.7.so), debug(libnet.so.2), debug(libnids.so.1.24), debug(libpcap.so.0.8), debug(libresolv.so.2), debug(libssl.so.1.1) Processing files: dsniff-X11-debuginfo-2.4-alt0.13.b1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.3B2qRK find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.F7pv7C find-requires: running scripts (debuginfo) Requires: dsniff-X11 = 2.4-alt0.13.b1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libX11.so.6), debug(libXmu.so.6), debug(libc.so.6), debug(libnet.so.2), debug(libnids.so.1.24) Adding to dsniff-X11 a strict dependency on dsniff Adding to dsniff-debuginfo a strict dependency on dsniff Adding to dsniff-X11-debuginfo a strict dependency on dsniff-X11 Adding to dsniff-X11-debuginfo a strict dependency on dsniff-debuginfo Removing from dsniff-X11-debuginfo 5 sources provided by dsniff-debuginfo also prunning dir /usr/src/debug/dsniff-2.4/missing Removing 9 extra deps from dsniff-X11 due to repentancy on dsniff Removing 4 extra deps from dsniff-X11-debuginfo due to repentancy on dsniff-debuginfo Wrote: /usr/src/RPM/RPMS/i586/dsniff-2.4-alt0.13.b1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/dsniff-X11-2.4-alt0.13.b1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/dsniff-debuginfo-2.4-alt0.13.b1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/dsniff-X11-debuginfo-2.4-alt0.13.b1.i586.rpm 20.19user 5.01system 0:28.11elapsed 89%CPU (0avgtext+0avgdata 34980maxresident)k 0inputs+0outputs (0major+1520355minor)pagefaults 0swaps 29.32user 8.47system 0:43.02elapsed 87%CPU (0avgtext+0avgdata 115044maxresident)k 0inputs+0outputs (0major+1977928minor)pagefaults 0swaps