* Package: net-analyzer/dsniff-2.4_beta1_p30:0 * Repository: gentoo * Maintainer: netmon@gentoo.org * USE: X abi_x86_64 amd64 elibc_glibc kernel_linux * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking dsniff_2.4b1+debian.orig.tar.gz to /var/tmp/portage/net-analyzer/dsniff-2.4_beta1_p30/work >>> Unpacking dsniff_2.4b1+debian-30.debian.tar.xz to /var/tmp/portage/net-analyzer/dsniff-2.4_beta1_p30/work >>> Source unpacked in /var/tmp/portage/net-analyzer/dsniff-2.4_beta1_p30/work >>> Preparing source in /var/tmp/portage/net-analyzer/dsniff-2.4_beta1_p30/work/dsniff-2.4 ... * Applying patches from /var/tmp/portage/net-analyzer/dsniff-2.4_beta1_p30/work/debian/patches/ ... * 01_time.h.patch ... [ ok ] * 02_mailsnarf_corrupt.patch ... [ ok ] * 03_pcap_read_dump.patch ... [ ok ] * 04_multiple_intf.patch ... [ ok ] * 05_amd64_fix.patch ... [ ok ] * 06_urlsnarf_zeropad.patch ... [ ok ] * 07_libnet_1.1.patch ... [ ok ] * 08_openssl-0.9.8.patch ... [ ok ] * 09_sysconf_clocks.patch ... [ ok ] * 10_urlsnarf_escape.patch ... [ ok ] * 11_string_header.patch ... [ ok ] * 12_arpa_inet_header.patch ... [ ok ] * 13_pop_with_version.patch ... [ ok ] * 14_obsolete_time.patch ... [ ok ] * 15_checksum_libnids.patch ... [ ok ] * 16_TDS_decoder.patch ... [ ok ] * 17_checksum.patch ... [ ok ] * 18_sshcrypto.patch ... [ ok ] * 19_rewrite-and-modernize-POP-decoder.patch ... [ ok ] * 20_debian_dirs.patch ... [ ok ] * 21_msgsnarf_segfault.patch ... [ ok ] * 22_handlepp.patch ... [ ok ] * 23_urlsnarf_timestamp.patch ... [ ok ] * 24_Fix-OpenSSL1.1.0-Build.patch ... [ ok ] * 25_fix-spelling-errors.patch ... [ ok ] * 26_arpspoof-add-r-switch-to-poison-both-directions.patch ... [ ok ] * 27_arpspoof-allow-use-of-of-multiple-targets.patch ... [ ok ] * 28_arpspoof-allow-selection-of-source-hw-address.patch ... [ ok ] * 29_libnet_name2addr4.patch ... [ ok ] * 30_pntohl_shift.patch ... [ ok ] * 31_sysconf_clocks.patch ... [ ok ] * 32_rpc_segfault.patch ... [ ok ] * 33_sshcrypto_DES.patch ... [ ok ] * 34_fix-parallel-FTBFS.patch ... [ ok ] * 35_Add_CPPFLAGS.patch ... [ ok ] * 36_implicit_declarations.patch ... [ ok ] * 37_fix-lib-and-share-dirs.patch ... [ ok ] * 38_fix-pcap_init.patch ... [ ok ] * 39_libtirpc.patch ... [ ok ] * Applying dsniff-2.4_beta1_p30-httppostfix.patch ... [ ok ] * Applying dsniff-2.4_beta1_p30-libdir-configure.patch ... [ ok ] * Applying dsniff-2.4_beta1_p30-respect-AR.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/net-analyzer/dsniff-2.4_beta1_p30/work/dsniff-2.4' ... * Running 'aclocal --system-acdir=/var/tmp/portage/net-analyzer/dsniff-2.4_beta1_p30/temp/aclocal' ... [ ok ] * Running 'autoconf --force' ... [ ok ] * Running 'autoheader' ... [ ok ] * Running elibtoolize in: dsniff-2.4/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-analyzer/dsniff-2.4_beta1_p30/work/dsniff-2.4 ... * econf: updating dsniff-2.4/config.guess with /usr/share/gnuconfig/config.guess * econf: updating dsniff-2.4/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --docdir=/usr/share/doc/dsniff-2.4_beta1_p30 --htmldir=/usr/share/doc/dsniff-2.4_beta1_p30/html --libdir=/usr/lib64 --with-x configure: loading site script /usr/share/config.site configure: loading site script /usr/share/config.site.d/80crossdev.conf checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... none needed checking for a BSD-compatible install... /usr/lib/portage/python3.11/ebuild-helpers/xattr/install -c checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for ar... x86_64-pc-linux-gnu-ar checking how to run the C preprocessor... x86_64-pc-linux-gnu-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 stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for err.h... yes checking for fcntl.h... yes checking for sys/ioctl.h... yes checking for sys/queue.h... yes checking for unistd.h... (cached) yes checking for libgen.h... yes checking for net/if_tun.h... no checking for MIN and MAX in sys/param.h... yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for u_int32_t... yes checking for u_int64_t... yes checking for in_addr_t... no checking whether x86_64-pc-linux-gnu-gcc needs -traditional... no checking for working memcmp... yes checking return type of signal handlers... void checking for strftime... yes checking for gethostname... yes checking for socket... yes checking for strdup... yes checking for strstr... yes checking for xdr_fhstatus in -lrpcsvc... no checking for socket in -lsocket... no checking for gethostbyname in -lnsl... yes checking for dn_expand in -lresolv... yes checking for __dn_expand in -lresolv... no checking for dirname... yes checking for strlcpy... 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 configure: creating ./config.status config.status: creating Makefile config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting config.status: creating config.h >>> Source configured. >>> Compiling source in /var/tmp/portage/net-analyzer/dsniff-2.4_beta1_p30/work/dsniff-2.4 ... make -j4 CC=x86_64-pc-linux-gnu-gcc x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./arpspoof.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./arp.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./missing/dummy.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./missing/md5.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./dnsspoof.c ./arpspoof.c: In function ‘main’: ./arpspoof.c:274:9: warning: ‘pcap_lookupdev’ is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 274 | if (intf == NULL && (intf = pcap_lookupdev(pcap_ebuf)) == NULL) | ^~ In file included from /usr/include/pcap.h:43, from ./arpspoof.c:25: /usr/include/pcap/pcap.h:395:18: note: declared here 395 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./pcaputil.c ./dnsspoof.c: In function ‘main’: ./dnsspoof.c:300:9: warning: ‘pcap_lookupdev’ is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 300 | if (dev == NULL && (dev = pcap_lookupdev(buf)) == NULL) | ^~ In file included from /usr/include/pcap.h:43, from ./dnsspoof.c:27: /usr/include/pcap/pcap.h:395:18: note: declared here 395 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~ ./pcaputil.c: In function ‘pcap_init_dsniff’: ./pcaputil.c:73:9: warning: ‘pcap_lookupdev’ is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 73 | if (intf == NULL && (intf = pcap_lookupdev(ebuf)) == NULL) { | ^~ In file included from /usr/include/pcap.h:43, from ./pcaputil.c:19: /usr/include/pcap/pcap.h:395:18: note: declared here 395 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~ rpcgen -c mount.x -o mount.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./asn1.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./base64.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./buf.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./hex.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./magic.c rpcgen -h mount.x -o mount.h x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./rpc.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./tcp_raw.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./trigger.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./record.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./dsniff.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_aim.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_citrix.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_cvs.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_ftp.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_hex.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_http.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_icq.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_imap.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_irc.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_ldap.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_mmxp.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_mountd.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_napster.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_nntp.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_oracle.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_ospf.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_pcanywhere.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_pop.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_portmap.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_postgresql.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_pptp.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_rip.c ./decode_pptp.c: In function ‘decode_pptp’: ./decode_pptp.c:190:25: warning: ‘SHA1_Init’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 190 | SHA1_Init(&ctx); | ^~~~~~~~~ In file included from ./decode_pptp.c:15: /usr/include/openssl/sha.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); | ^~~~~~~~~ ./decode_pptp.c:191:25: warning: ‘SHA1_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 191 | SHA1_Update(&ctx, chapch->value.response_v2.peer_challenge, 16); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ ./decode_pptp.c:192:25: warning: ‘SHA1_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 192 | SHA1_Update(&ctx, save_challenge.challenge, 16); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ ./decode_pptp.c:193:25: warning: ‘SHA1_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 193 | SHA1_Update(&ctx, p, strlen(p)); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ ./decode_pptp.c:194:25: warning: ‘SHA1_Final’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 194 | SHA1_Final(digest, &ctx); | ^~~~~~~~~~ /usr/include/openssl/sha.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); | ^~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_rlogin.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_smb.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_smtp.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_sniffer.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_snmp.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_socks.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_tds.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_telnet.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_vrrp.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_yp.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./decode_x11.c rpcgen -c nfs_prot.x -o nfs_prot.c rpcgen -h nfs_prot.x -o nfs_prot.h x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./macof.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./mailsnarf.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./msgsnarf.c ./macof.c: In function ‘main’: ./macof.c:105:9: warning: ‘pcap_lookupdev’ is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 105 | if (!Intf && (Intf = pcap_lookupdev(pcap_ebuf)) == NULL) | ^~ In file included from /usr/include/pcap.h:43, from ./macof.c:24: /usr/include/pcap/pcap.h:395:18: note: declared here 395 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./sshmitm.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./ssh.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./sshcrypto.c ./sshmitm.c:45:22: warning: built-in function ‘csin’ declared as non-function [-Wbuiltin-declaration-mismatch] 45 | struct sockaddr_in csin, ssin; | ^~~~ ./sshmitm.c: In function ‘mitm_init’: ./sshmitm.c:135:9: warning: ‘RSA_generate_key’ is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] 135 | ssh_client_ctx->hostkey = RSA_generate_key(1024, 35, NULL, NULL); | ^~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/ssl.h:31, from ./sshmitm.c:18: /usr/include/openssl/rsa.h:259:30: note: declared here 259 | OSSL_DEPRECATEDIN_0_9_8 RSA *RSA_generate_key(int bits, unsigned long e, void | ^~~~~~~~~~~~~~~~ ./sshmitm.c:136:9: warning: ‘RSA_generate_key’ is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] 136 | ssh_client_ctx->servkey = RSA_generate_key(768, 35, NULL, NULL); | ^~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:259:30: note: declared here 259 | OSSL_DEPRECATEDIN_0_9_8 RSA *RSA_generate_key(int bits, unsigned long e, void | ^~~~~~~~~~~~~~~~ ./ssh.c: In function ‘ssh_session_id’: ./ssh.c:139:9: warning: ‘MD5’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 139 | MD5(p, i + j + 8, sessid); | ^~~ In file included from ./ssh.c:19: /usr/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~ ./ssh.c: In function ‘SSH_accept’: ./ssh.c:249:9: warning: ‘RSA_get0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 249 | RSA_get0_key(ssh->ctx->servkey, &servkey_n, &servkey_e, NULL); | ^~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/ssl.h:31, from ./ssh.c:16: /usr/include/openssl/rsa.h:223:28: note: declared here 223 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ ./ssh.c:250:16: warning: passing argument 1 of ‘put_bn’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 250 | put_bn(servkey_e, &p); /* servkey exponent */ | ^~~~~~~~~ ./ssh.c:92:16: note: expected ‘BIGNUM *’ {aka ‘struct bignum_st *’} but argument is of type ‘const BIGNUM *’ {aka ‘const struct bignum_st *’} 92 | put_bn(BIGNUM *bn, u_char **pp) | ~~~~~~~~^~ ./ssh.c:251:16: warning: passing argument 1 of ‘put_bn’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 251 | put_bn(servkey_n, &p); /* servkey modulus */ | ^~~~~~~~~ ./ssh.c:92:16: note: expected ‘BIGNUM *’ {aka ‘struct bignum_st *’} but argument is of type ‘const BIGNUM *’ {aka ‘const struct bignum_st *’} 92 | put_bn(BIGNUM *bn, u_char **pp) | ~~~~~~~~^~ ./ssh.c:253:9: warning: ‘RSA_get0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 253 | RSA_get0_key(ssh->ctx->hostkey, &hostkey_n, &hostkey_e, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:223:28: note: declared here 223 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ ./ssh.c:254:16: warning: passing argument 1 of ‘put_bn’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 254 | put_bn(hostkey_e, &p); /* hostkey exponent */ | ^~~~~~~~~ ./ssh.c:92:16: note: expected ‘BIGNUM *’ {aka ‘struct bignum_st *’} but argument is of type ‘const BIGNUM *’ {aka ‘const struct bignum_st *’} 92 | put_bn(BIGNUM *bn, u_char **pp) | ~~~~~~~~^~ ./ssh.c:255:16: warning: passing argument 1 of ‘put_bn’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 255 | put_bn(hostkey_n, &p); /* hostkey modulus */ | ^~~~~~~~~ ./ssh.c:92:16: note: expected ‘BIGNUM *’ {aka ‘struct bignum_st *’} but argument is of type ‘const BIGNUM *’ {aka ‘const struct bignum_st *’} 92 | put_bn(BIGNUM *bn, u_char **pp) | ~~~~~~~~^~ ./ssh.c:326:41: warning: passing argument 2 of ‘ssh_session_id’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 326 | if ((p = ssh_session_id(cookie, hostkey_n, | ^~~~~~~~~ ./ssh.c:122:40: note: expected ‘BIGNUM *’ {aka ‘struct bignum_st *’} but argument is of type ‘const BIGNUM *’ {aka ‘const struct bignum_st *’} 122 | ssh_session_id(u_char *cookie, BIGNUM *hostkey_n, BIGNUM *servkey_n) | ~~~~~~~~^~~~~~~~~ ./ssh.c:327:33: warning: passing argument 3 of ‘ssh_session_id’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 327 | servkey_n)) == NULL) { | ^~~~~~~~~ ./ssh.c:122:59: note: expected ‘BIGNUM *’ {aka ‘struct bignum_st *’} but argument is of type ‘const BIGNUM *’ {aka ‘const struct bignum_st *’} 122 | ssh_session_id(u_char *cookie, BIGNUM *hostkey_n, BIGNUM *servkey_n) | ~~~~~~~~^~~~~~~~~ ./ssh.c: In function ‘SSH_connect’: ./ssh.c:387:9: warning: ‘RSA_new’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 387 | ssh->ctx->servkey = RSA_new(); | ^~~ /usr/include/openssl/rsa.h:207:28: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ ./ssh.c:390:9: warning: ‘RSA_set0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 390 | RSA_set0_key(ssh->ctx->servkey, servkey_n, servkey_e, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:213:27: note: declared here 213 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ ./ssh.c:397:9: warning: ‘RSA_new’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 397 | ssh->ctx->hostkey = RSA_new(); | ^~~ /usr/include/openssl/rsa.h:207:28: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ ./ssh.c:400:9: warning: ‘RSA_set0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 400 | RSA_set0_key(ssh->ctx->hostkey, hostkey_n, hostkey_e, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:213:27: note: declared here 213 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ ./ssh.c:441:9: warning: ‘RSA_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 441 | RSA_free(ssh->ctx->servkey); | ^~~~~~~~ /usr/include/openssl/rsa.h:299:28: note: declared here 299 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ ./ssh.c:442:9: warning: ‘RSA_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 442 | RSA_free(ssh->ctx->hostkey); | ^~~~~~~~ /usr/include/openssl/rsa.h:299:28: note: declared here 299 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ ./sshcrypto.c: In function ‘rsa_public_encrypt’: ./sshcrypto.c:46:9: warning: ‘RSA_get0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 46 | RSA_get0_key(key, &n, &e, NULL); | ^~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/ssl.h:31, from ./sshcrypto.c:16: /usr/include/openssl/rsa.h:223:28: note: declared here 223 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ ./sshcrypto.c:61:9: warning: ‘RSA_public_encrypt’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 61 | if ((len = RSA_public_encrypt(ilen, inbuf, outbuf, key, | ^~ /usr/include/openssl/rsa.h:288:5: note: declared here 288 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ ./sshcrypto.c: In function ‘rsa_private_decrypt’: ./sshcrypto.c:80:9: warning: ‘RSA_get0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 80 | RSA_get0_key(key, &n, NULL, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:223:28: note: declared here 223 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ ./sshcrypto.c:92:9: warning: ‘RSA_private_decrypt’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 92 | if ((len = RSA_private_decrypt(ilen, inbuf, outbuf, key, | ^~ /usr/include/openssl/rsa.h:297:5: note: declared here 297 | int RSA_private_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ ./sshcrypto.c: In function ‘blowfish_init’: ./sshcrypto.c:126:9: warning: ‘BF_set_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 126 | BF_set_key(&state->key, len, sesskey); | ^~~~~~~~~~ In file included from ./sshcrypto.c:17: /usr/include/openssl/blowfish.h:50:28: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 void BF_set_key(BF_KEY *key, int len, | ^~~~~~~~~~ ./sshcrypto.c: In function ‘blowfish_encrypt’: ./sshcrypto.c:139:9: warning: ‘BF_cbc_encrypt’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 139 | BF_cbc_encrypt((void *)dst, dst, len, &estate->key, estate->iv, | ^~~~~~~~~~~~~~ /usr/include/openssl/blowfish.h:57:28: note: declared here 57 | OSSL_DEPRECATEDIN_3_0 void BF_cbc_encrypt(const unsigned char *in, | ^~~~~~~~~~~~~~ ./sshcrypto.c: In function ‘blowfish_decrypt’: ./sshcrypto.c:151:9: warning: ‘BF_cbc_encrypt’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 151 | BF_cbc_encrypt((void *)dst, dst, len, &dstate->key, dstate->iv, | ^~~~~~~~~~~~~~ /usr/include/openssl/blowfish.h:57:28: note: declared here 57 | OSSL_DEPRECATEDIN_3_0 void BF_cbc_encrypt(const unsigned char *in, | ^~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./sshow.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./tcpkill.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./tcpnice.c ./tcpkill.c: In function ‘tcp_kill_cb’: ./tcpkill.c:87:41: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘u_int32_t’ {aka ‘unsigned int’} [-Wformat=] 87 | fprintf(stderr, "%s R %lu:%lu(0) win 0\n", ctext, seq, seq); | ~~^ ~~~ | | | | long unsigned int u_int32_t {aka unsigned int} | %u ./tcpkill.c:87:45: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘u_int32_t’ {aka ‘unsigned int’} [-Wformat=] 87 | fprintf(stderr, "%s R %lu:%lu(0) win 0\n", ctext, seq, seq); | ~~^ ~~~ | | | | long unsigned int u_int32_t {aka unsigned int} | %u ./tcpkill.c: In function ‘main’: ./tcpkill.c:122:9: warning: ‘pcap_lookupdev’ is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 122 | if (intf == NULL && (intf = pcap_lookupdev(ebuf)) == NULL) | ^~ In file included from /usr/include/pcap.h:43, from ./tcpkill.c:21: /usr/include/pcap/pcap.h:395:18: note: declared here 395 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./urlsnarf.c ./tcpnice.c: In function ‘send_tcp_window_advertisement’: ./tcpnice.c:65:49: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘__uint32_t’ {aka ‘unsigned int’} [-Wformat=] 65 | fprintf(stderr, "%s:%d > %s:%d: . ack %lu win %d\n", | ~~^ | | | long unsigned int | %u ./tcpnice.c: In function ‘main’: ./tcpnice.c:193:9: warning: ‘pcap_lookupdev’ is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 193 | if (intf == NULL && (intf = pcap_lookupdev(ebuf)) == NULL) | ^~ In file included from /usr/include/pcap.h:43, from ./tcpnice.c:21: /usr/include/pcap/pcap.h:395:18: note: declared here 395 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./webmitm.c ./urlsnarf.c: In function ‘main’: ./urlsnarf.c:346:42: error: passing argument 3 of ‘pcap_next_ex’ from incompatible pointer type [-Wincompatible-pointer-types] 346 | while ((rc = pcap_next_ex(p, &h, &d)) == 1) { | ^~ | | | u_char ** {aka unsigned char **} In file included from /usr/include/pcap.h:43, from /usr/include/nids.h:14, from ./urlsnarf.c:26: /usr/include/pcap/pcap.h:574:63: note: expected ‘const u_char **’ {aka ‘const unsigned char **’} but argument is of type ‘u_char **’ {aka ‘unsigned char **’} 574 | AP_API int pcap_next_ex(pcap_t *, struct pcap_pkthdr **, const u_char **); | ^~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./webspy.c make: *** [Makefile:78: urlsnarf.o] Error 1 make: *** Waiting for unfinished jobs.... ./webmitm.c:46:22: warning: built-in function ‘csin’ declared as non-function [-Wbuiltin-declaration-mismatch] 46 | struct sockaddr_in csin, ssin; | ^~~~ ./webmitm.c: In function ‘mitm_child’: ./webmitm.c:371:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 371 | write(STDERR_FILENO, buf, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./webmitm.c:401:33: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 401 | write(STDERR_FILENO, buf, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./webmitm.c:419:33: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 419 | write(STDERR_FILENO, buf, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ * ERROR: net-analyzer/dsniff-2.4_beta1_p30::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-analyzer/dsniff-2.4_beta1_p30::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-analyzer/dsniff-2.4_beta1_p30::gentoo'`. * The complete build log is located at '/var/log/portage/net-analyzer:dsniff-2.4_beta1_p30:20231209-054242.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/dsniff-2.4_beta1_p30/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/dsniff-2.4_beta1_p30/temp/environment'. * Working directory: '/var/tmp/portage/net-analyzer/dsniff-2.4_beta1_p30/work/dsniff-2.4' * S: '/var/tmp/portage/net-analyzer/dsniff-2.4_beta1_p30/work/dsniff-2.4'