Running as unit: rb-build-amd64_4-45827.service ==================================================================================== Sat Feb 22 21:18:55 UTC 2025 - running /srv/jenkins/bin/reproducible_build.sh (for job reproducible_builder_amd64_4) on jenkins, called using "ionos15-amd64 ionos1-amd64" as arguments. Sat Feb 22 21:18:55 UTC 2025 - actually running "reproducible_build.sh" (md5sum 68e686e434c9ab7bc3ec047d8b309cbc) as "/tmp/jenkins-script-rWrgcM3W" $ git clone https://salsa.debian.org/qa/jenkins.debian.net.git ; more CONTRIBUTING Sat Feb 22 21:18:55 UTC 2025 - checking /var/lib/jenkins/offline_nodes if ionos15-amd64.debian.net is marked as down. Sat Feb 22 21:18:55 UTC 2025 - checking via ssh if ionos15-amd64.debian.net is up. removed '/tmp/read-only-fs-test-BySTWs' Sat Feb 22 21:18:56 UTC 2025 - checking /var/lib/jenkins/offline_nodes if ionos1-amd64.debian.net is marked as down. Sat Feb 22 21:18:56 UTC 2025 - checking via ssh if ionos1-amd64.debian.net is up. removed '/tmp/read-only-fs-test-V2gTfD' ok, let's check if hunt is building anywhere yet… ok, hunt is not building anywhere… UPDATE 1 ============================================================================= Initialising reproducibly build of hunt in trixie on amd64 on jenkins now. 1st build will be done on ionos15-amd64.debian.net. 2nd build will be done on ionos1-amd64.debian.net. ============================================================================= Sat Feb 22 21:19:03 UTC 2025 I: starting to build hunt/trixie/amd64 on jenkins on '2025-02-22 21:18' Sat Feb 22 21:19:03 UTC 2025 I: The jenkins build log is/was available at https://jenkins.debian.net/userContent/reproducible/debian/build_service/amd64_4/45827/console.log 1740259143 amd64 trixie hunt Sat Feb 22 21:19:03 UTC 2025 I: Downloading source for trixie/hunt=1.5-10 --2025-02-22 21:19:03-- http://deb.debian.org/debian/pool/main/h/hunt/hunt_1.5-10.dsc Connecting to 46.16.76.132:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 1821 (1.8K) [text/prs.lines.tag] Saving to: ‘hunt_1.5-10.dsc’ 0K . 100% 306M=0s 2025-02-22 21:19:03 (306 MB/s) - ‘hunt_1.5-10.dsc’ saved [1821/1821] --2025-02-22 21:19:03-- http://deb.debian.org/debian/pool/main/h/hunt/hunt_1.5-10.dsc Connecting to 46.16.76.132:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 1821 (1.8K) [text/prs.lines.tag] Saving to: ‘hunt_1.5-10.dsc’ 0K . 100% 306M=0s 2025-02-22 21:19:03 (306 MB/s) - ‘hunt_1.5-10.dsc’ saved [1821/1821] Sat Feb 22 21:19:03 UTC 2025 I: hunt_1.5-10.dsc -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 3.0 (quilt) Source: hunt Binary: hunt Architecture: any Version: 1.5-10 Maintainer: Debian QA Group Homepage: http://lin.fsid.cvut.cz/~kra/hunt/ Standards-Version: 4.6.1 Vcs-Browser: https://salsa.debian.org/debian/hunt Vcs-Git: https://salsa.debian.org/debian/hunt.git Testsuite: autopkgtest Build-Depends: debhelper-compat (= 13) Package-List: hunt deb net optional arch=any Checksums-Sha1: 3a772b1b9af58c566930ca67121e4a817b65a9a7 99241 hunt_1.5.orig.tar.gz 708cbe9bc118103f1e175896d2def84c0ffff312 19932 hunt_1.5-10.debian.tar.xz Checksums-Sha256: a8a1978f3bd05ca3f01c168c13c9a09b1e1e9038c14fdfe43694c07fe3a0e328 99241 hunt_1.5.orig.tar.gz 0b55bc1a0b5837275926c98437a0e5f603362c39654c74e8fe8da5cd43fccf8c 19932 hunt_1.5-10.debian.tar.xz Files: 5a8886784d1668a8518d5562bfd01ae7 99241 hunt_1.5.orig.tar.gz ca9e03dc7740157f1078cfcca5410fbc 19932 hunt_1.5-10.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQJEBAEBCAAuFiEE6/MKMKjZxjvaRMaUX7M/k1np7QgFAmbOtN0QHGFuYmVAZGVi aWFuLm9yZwAKCRBfsz+TWentCAUgD/0QV5XSXkGezxuGySviIiVBv9WFwdgZ5Xpx nwalsgS+Gla+XA74A7Kz99zUIfSm2PAf3wwafgG1W9TDuq2RZgXS8d6vm0ienO/J 5MQafOASB5z3Gr4Hc18EJyU2A5KTSYeO81lATOm3L7D1/e8UPXeSG74tsZK3MJN9 bFQQgeU0J8vaehTF2UsxVa1QlYnA8A4989Z0CqIvIxcal0KqquxylWg0omcf5xq+ waef7VdvuMb6JaBGouVWxIQfaj72u5F4Ig78dleuQjrTkafDwex8+dss1ZFVrOL3 If61ZEWufS5eMvjWuIAXwnxfF8yEJmi5sxGz1rLtERFPDgZ+uNeoMYv5Qth6IgaP FvKAMF0kxaVxCKy8w1U0aRieL+RENteZRu3hDOmdfM/3WbVVelpriJnXee2peW3Q Mm2JWcE3kqisikICJimiLxsrRsrU4KT4TiYTzMJb9XJELRvA6PQP/xkX+vz3ecFJ adnLNSoemlshivfLjk1eJNrzzc4g2AYenbgfEpNB7hcsakA/0PJCmk8Z0NuSUp3x z906amYVmlTQ29E+6sE+3D90X9wikyir6OIfAFQ2RaYg695d09Wlai1i1gqN1aiU CgDsiY16Zxm/ZfOUbGtHq3zK+XMy0omQRIpvzPHzQbxo6I/Lfv4w3RTcKXIHPaF1 G1XJ2bsF9Q== =VZSV -----END PGP SIGNATURE----- Sat Feb 22 21:19:03 UTC 2025 I: Checking whether the package is not for us Sat Feb 22 21:19:03 UTC 2025 I: Starting 1st build on remote node ionos15-amd64.debian.net. Sat Feb 22 21:19:03 UTC 2025 I: Preparing to do remote build '1' on ionos15-amd64.debian.net. Sat Feb 22 21:19:03 UTC 2025 - checking /var/lib/jenkins/offline_nodes if ionos15-amd64.debian.net is marked as down. Sat Feb 22 21:19:03 UTC 2025 - checking via ssh if ionos15-amd64.debian.net is up. removed '/tmp/read-only-fs-test-JvXAVQ' ==================================================================================== Sat Mar 28 03:42:04 UTC 2026 - running /srv/jenkins/bin/reproducible_build.sh (for job /srv/jenkins/bin/reproducible_build.sh) on ionos15-amd64, called using "1 hunt trixie /srv/reproducible-results/rbuild-debian/r-b-build.jOL6eQL5 1.5-10" as arguments. Sat Mar 28 03:42:04 UTC 2026 - actually running "reproducible_build.sh" (md5sum 68e686e434c9ab7bc3ec047d8b309cbc) as "/tmp/jenkins-script-EsQ3KYdd" $ git clone https://salsa.debian.org/qa/jenkins.debian.net.git ; more CONTRIBUTING Sat Mar 28 03:42:04 UTC 2026 I: Downloading source for trixie/hunt=1.5-10 Reading package lists... NOTICE: 'hunt' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/debian/hunt.git Please use: git clone https://salsa.debian.org/debian/hunt.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 121 kB of source archives. Get:1 http://deb.debian.org/debian trixie/main hunt 1.5-10 (dsc) [1821 B] Get:2 http://deb.debian.org/debian trixie/main hunt 1.5-10 (tar) [99.2 kB] Get:3 http://deb.debian.org/debian trixie/main hunt 1.5-10 (diff) [19.9 kB] Fetched 121 kB in 0s (3803 kB/s) Download complete and in download only mode Reading package lists... NOTICE: 'hunt' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/debian/hunt.git Please use: git clone https://salsa.debian.org/debian/hunt.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 121 kB of source archives. Get:1 http://deb.debian.org/debian trixie/main hunt 1.5-10 (dsc) [1821 B] Get:2 http://deb.debian.org/debian trixie/main hunt 1.5-10 (tar) [99.2 kB] Get:3 http://deb.debian.org/debian trixie/main hunt 1.5-10 (diff) [19.9 kB] Fetched 121 kB in 0s (3803 kB/s) Download complete and in download only mode ============================================================================= Building hunt in trixie on amd64 on ionos15-amd64 now. Date: Sat Mar 28 03:42:04 UTC 2026 Date UTC: Sat Mar 28 03:42:04 UTC 2026 ============================================================================= W: /root/.pbuilderrc does not exist I: Logging to b1/build.log I: pbuilder: network access will be disabled during build I: Current time: Fri Mar 27 15:42:04 -12 2026 I: pbuilder-time-stamp: 1774669324 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [hunt_1.5-10.dsc] I: copying [./hunt_1.5.orig.tar.gz] I: copying [./hunt_1.5-10.debian.tar.xz] I: Extracting source dpkg-source: warning: cannot verify inline signature for ./hunt_1.5-10.dsc: unsupported subcommand dpkg-source: info: extracting hunt in hunt-1.5 dpkg-source: info: unpacking hunt_1.5.orig.tar.gz dpkg-source: info: unpacking hunt_1.5-10.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 000_old.patch dpkg-source: info: applying 010_fix-manpage.patch dpkg-source: info: applying 020_fix-GCC-hardening-hunt.patch dpkg-source: info: applying 030_add-GCC-hardening-tpserv.patch dpkg-source: info: applying 040_fix-arguments-synchijack.patch dpkg-source: info: applying 050_fix-spelling-rstd.patch dpkg-source: info: applying missing-prototypes.patch dpkg-source: info: applying gcc-14.patch I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/3178819/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build/reproducible-path' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='amd64' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' DISTRIBUTION='trixie' HOME='/root' HOST_ARCH='amd64' IFS=' ' INVOCATION_ID='00bc7a636536474996f40f270ed81fcf' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' PBCURRENTCOMMANDLINEOPERATION='build' PBUILDER_OPERATION='build' PBUILDER_PKGDATADIR='/usr/share/pbuilder' PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' PBUILDER_SYSCONFDIR='/etc' PPID='3178819' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.jOL6eQL5/pbuilderrc_xLwh --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.jOL6eQL5/b1 --logfile b1/build.log hunt_1.5-10.dsc' SUDO_GID='111' SUDO_UID='106' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' http_proxy='http://213.165.73.152:3128' I: uname -a Linux ionos15-amd64 6.12.9+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.9-1~bpo12+1 (2025-01-19) x86_64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin I: user script /srv/workspace/pbuilder/3178819/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: amd64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 13) dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19858 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdebhelper-perl{a} libelf1t64{a} libfile-stripnondeterminism-perl{a} libicu72{a} libmagic-mgc{a} libmagic1t64{a} libpipeline1{a} libtool{a} libuchardet0{a} libunistring5{a} libxml2{a} m4{a} man-db{a} po-debconf{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libltdl-dev libmail-sendmail-perl lynx wget 0 packages upgraded, 30 newly installed, 0 to remove and 0 not upgraded. Need to get 20.6 MB of archives. After unpacking 77.9 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian trixie/main amd64 sensible-utils all 0.0.24 [24.8 kB] Get: 2 http://deb.debian.org/debian trixie/main amd64 libmagic-mgc amd64 1:5.45-3+b1 [314 kB] Get: 3 http://deb.debian.org/debian trixie/main amd64 libmagic1t64 amd64 1:5.45-3+b1 [108 kB] Get: 4 http://deb.debian.org/debian trixie/main amd64 file amd64 1:5.45-3+b1 [43.3 kB] Get: 5 http://deb.debian.org/debian trixie/main amd64 gettext-base amd64 0.23.1-1 [243 kB] Get: 6 http://deb.debian.org/debian trixie/main amd64 libuchardet0 amd64 0.0.8-1+b2 [68.9 kB] Get: 7 http://deb.debian.org/debian trixie/main amd64 groff-base amd64 1.23.0-7 [1185 kB] Get: 8 http://deb.debian.org/debian trixie/main amd64 bsdextrautils amd64 2.40.4-3 [92.1 kB] Get: 9 http://deb.debian.org/debian trixie/main amd64 libpipeline1 amd64 1.5.8-1 [42.0 kB] Get: 10 http://deb.debian.org/debian trixie/main amd64 man-db amd64 2.13.0-1 [1420 kB] Get: 11 http://deb.debian.org/debian trixie/main amd64 m4 amd64 1.4.19-5 [294 kB] Get: 12 http://deb.debian.org/debian trixie/main amd64 autoconf all 2.72-3 [493 kB] Get: 13 http://deb.debian.org/debian trixie/main amd64 autotools-dev all 20220109.1 [51.6 kB] Get: 14 http://deb.debian.org/debian trixie/main amd64 automake all 1:1.17-3 [862 kB] Get: 15 http://deb.debian.org/debian trixie/main amd64 autopoint all 0.23.1-1 [770 kB] Get: 16 http://deb.debian.org/debian trixie/main amd64 libdebhelper-perl all 13.24.1 [90.9 kB] Get: 17 http://deb.debian.org/debian trixie/main amd64 libtool all 2.5.4-3 [539 kB] Get: 18 http://deb.debian.org/debian trixie/main amd64 dh-autoreconf all 20 [17.1 kB] Get: 19 http://deb.debian.org/debian trixie/main amd64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 20 http://deb.debian.org/debian trixie/main amd64 libfile-stripnondeterminism-perl all 1.14.1-2 [19.7 kB] Get: 21 http://deb.debian.org/debian trixie/main amd64 dh-strip-nondeterminism all 1.14.1-2 [8620 B] Get: 22 http://deb.debian.org/debian trixie/main amd64 libelf1t64 amd64 0.192-4 [189 kB] Get: 23 http://deb.debian.org/debian trixie/main amd64 dwz amd64 0.15-1+b1 [110 kB] Get: 24 http://deb.debian.org/debian trixie/main amd64 libunistring5 amd64 1.3-1 [476 kB] Get: 25 http://deb.debian.org/debian trixie/main amd64 libicu72 amd64 72.1-6 [9421 kB] Get: 26 http://deb.debian.org/debian trixie/main amd64 libxml2 amd64 2.12.7+dfsg+really2.9.14-0.2+b1 [699 kB] Get: 27 http://deb.debian.org/debian trixie/main amd64 gettext amd64 0.23.1-1 [1680 kB] Get: 28 http://deb.debian.org/debian trixie/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 29 http://deb.debian.org/debian trixie/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 30 http://deb.debian.org/debian trixie/main amd64 debhelper all 13.24.1 [920 kB] Fetched 20.6 MB in 0s (142 MB/s) Preconfiguring packages ... Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19858 files and directories currently installed.) Preparing to unpack .../00-sensible-utils_0.0.24_all.deb ... Unpacking sensible-utils (0.0.24) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../01-libmagic-mgc_1%3a5.45-3+b1_amd64.deb ... Unpacking libmagic-mgc (1:5.45-3+b1) ... Selecting previously unselected package libmagic1t64:amd64. Preparing to unpack .../02-libmagic1t64_1%3a5.45-3+b1_amd64.deb ... Unpacking libmagic1t64:amd64 (1:5.45-3+b1) ... Selecting previously unselected package file. Preparing to unpack .../03-file_1%3a5.45-3+b1_amd64.deb ... Unpacking file (1:5.45-3+b1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../04-gettext-base_0.23.1-1_amd64.deb ... Unpacking gettext-base (0.23.1-1) ... Selecting previously unselected package libuchardet0:amd64. Preparing to unpack .../05-libuchardet0_0.0.8-1+b2_amd64.deb ... Unpacking libuchardet0:amd64 (0.0.8-1+b2) ... Selecting previously unselected package groff-base. Preparing to unpack .../06-groff-base_1.23.0-7_amd64.deb ... Unpacking groff-base (1.23.0-7) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../07-bsdextrautils_2.40.4-3_amd64.deb ... Unpacking bsdextrautils (2.40.4-3) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../08-libpipeline1_1.5.8-1_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.8-1) ... Selecting previously unselected package man-db. Preparing to unpack .../09-man-db_2.13.0-1_amd64.deb ... Unpacking man-db (2.13.0-1) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.19-5_amd64.deb ... Unpacking m4 (1.4.19-5) ... Selecting previously unselected package autoconf. Preparing to unpack .../11-autoconf_2.72-3_all.deb ... Unpacking autoconf (2.72-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../12-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../13-automake_1%3a1.17-3_all.deb ... Unpacking automake (1:1.17-3) ... Selecting previously unselected package autopoint. Preparing to unpack .../14-autopoint_0.23.1-1_all.deb ... Unpacking autopoint (0.23.1-1) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../15-libdebhelper-perl_13.24.1_all.deb ... Unpacking libdebhelper-perl (13.24.1) ... Selecting previously unselected package libtool. Preparing to unpack .../16-libtool_2.5.4-3_all.deb ... Unpacking libtool (2.5.4-3) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../17-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../18-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../19-libfile-stripnondeterminism-perl_1.14.1-2_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.14.1-2) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../20-dh-strip-nondeterminism_1.14.1-2_all.deb ... Unpacking dh-strip-nondeterminism (1.14.1-2) ... Selecting previously unselected package libelf1t64:amd64. Preparing to unpack .../21-libelf1t64_0.192-4_amd64.deb ... Unpacking libelf1t64:amd64 (0.192-4) ... Selecting previously unselected package dwz. Preparing to unpack .../22-dwz_0.15-1+b1_amd64.deb ... Unpacking dwz (0.15-1+b1) ... Selecting previously unselected package libunistring5:amd64. Preparing to unpack .../23-libunistring5_1.3-1_amd64.deb ... Unpacking libunistring5:amd64 (1.3-1) ... Selecting previously unselected package libicu72:amd64. Preparing to unpack .../24-libicu72_72.1-6_amd64.deb ... Unpacking libicu72:amd64 (72.1-6) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../25-libxml2_2.12.7+dfsg+really2.9.14-0.2+b1_amd64.deb ... Unpacking libxml2:amd64 (2.12.7+dfsg+really2.9.14-0.2+b1) ... Selecting previously unselected package gettext. Preparing to unpack .../26-gettext_0.23.1-1_amd64.deb ... Unpacking gettext (0.23.1-1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../27-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../28-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../29-debhelper_13.24.1_all.deb ... Unpacking debhelper (13.24.1) ... Setting up libpipeline1:amd64 (1.5.8-1) ... Setting up libicu72:amd64 (72.1-6) ... Setting up bsdextrautils (2.40.4-3) ... Setting up libmagic-mgc (1:5.45-3+b1) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.24.1) ... Setting up libmagic1t64:amd64 (1:5.45-3+b1) ... Setting up gettext-base (0.23.1-1) ... Setting up m4 (1.4.19-5) ... Setting up file (1:5.45-3+b1) ... Setting up libelf1t64:amd64 (0.192-4) ... Setting up autotools-dev (20220109.1) ... Setting up libunistring5:amd64 (1.3-1) ... Setting up autopoint (0.23.1-1) ... Setting up autoconf (2.72-3) ... Setting up dwz (0.15-1+b1) ... Setting up sensible-utils (0.0.24) ... Setting up libuchardet0:amd64 (0.0.8-1+b2) ... Setting up libxml2:amd64 (2.12.7+dfsg+really2.9.14-0.2+b1) ... Setting up automake (1:1.17-3) ... update-alternatives: using /usr/bin/automake-1.17 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.14.1-2) ... Setting up gettext (0.23.1-1) ... Setting up libtool (2.5.4-3) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up dh-strip-nondeterminism (1.14.1-2) ... Setting up groff-base (1.23.0-7) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.13.0-1) ... Not building database; man-db/auto-update is not 'true'. Setting up debhelper (13.24.1) ... Processing triggers for libc-bin (2.40-7) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps I: Building the package I: Running cd /build/reproducible-path/hunt-1.5/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../hunt_1.5-10_source.changes dpkg-buildpackage: info: source package hunt dpkg-buildpackage: info: source version 1.5-10 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Andreas Beckmann dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean dh clean dh_auto_clean make -j42 distclean make[1]: Entering directory '/build/reproducible-path/hunt-1.5' rm -f *.o core c/*.o c/core c/list_test c/hash_test c/array_test rm -f hunt hunt_static make -C tpserv distclean make[2]: Entering directory '/build/reproducible-path/hunt-1.5/tpserv' rm -f *.o rm -f tpserv make[2]: Leaving directory '/build/reproducible-path/hunt-1.5/tpserv' make[1]: Leaving directory '/build/reproducible-path/hunt-1.5' dh_clean debian/rules binary dh binary dh_update_autotools_config dh_autoreconf dh_auto_configure debian/rules override_dh_auto_build make[1]: Entering directory '/build/reproducible-path/hunt-1.5' dh_auto_build make -j42 "INSTALL=install --strip-program=true" make[2]: Entering directory '/build/reproducible-path/hunt-1.5' cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o hunt.o hunt.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o main.o main.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o c/list.o c/list.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o c/hash.o c/hash.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o c/array.o c/array.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o util.o util.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o net.o net.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o rst.o rst.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o menu.o menu.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o hijack.o hijack.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o rstd.o rstd.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o sniff.o sniff.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o macdisc.o macdisc.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tap.o tap.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o arphijack.o arphijack.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tty.o tty.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o synchijack.o synchijack.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o arpspoof.o arpspoof.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o hostup.o hostup.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o addpolicy.o addpolicy.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o options.o options.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o resolv.o resolv.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o timer.o timer.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o pktrelay.o pktrelay.c In file included from c/array.c:10: c/array.c: In function 'array_init': c/array.c:27:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 27 | assert(a->a_arr = malloc(size * sizeof(struct array_item))); | ^ c/list.c: In function '__func_remove_at': c/list.c:252:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 252 | if (nr == (int) m) | ^ c/list.c: In function 'list_remove_at': c/list.c:297:51: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 297 | return __list_remove(l, __func_remove_at, (void *) nr); | ^ menu.c: In function 'menu_choose_mac': menu.c:254:36: warning: pointer targets in passing argument 2 of 'parse_mac' differ in signedness [-Wpointer-sign] 254 | if (parse_mac(buf, mac_ret) == 0) | ^~~~~~~ | | | unsigned char * menu.c:173:32: note: expected 'char *' but argument is of type 'unsigned char *' 173 | int parse_mac(char *buf, char *mac_ret) | ~~~~~~^~~~~~~ menu.c: In function 'menu_choose_ports': menu.c:281:38: warning: pointer targets in passing argument 2 of 'parse_ports' differ in signedness [-Wpointer-sign] 281 | if (parse_ports(buf, ret_ports) == 0) | ^~~~~~~~~ | | | int * menu.c:58:42: note: expected 'unsigned int *' but argument is of type 'int *' 58 | int parse_ports(char *buf, unsigned int *ret_ports) | ~~~~~~~~~~~~~~^~~~~~~~~ net.c: In function 'is_icmp_reply': net.c:189:24: warning: variable 'seq' set but not used [-Wunused-but-set-variable] 189 | unsigned short seq, id; | ^~~ menu.c: In function 'menu_choose_host_mask_ports_dfl': menu.c:347:43: warning: pointer targets in passing argument 1 of 'sprintf_db_ports' differ in signedness [-Wpointer-sign] 347 | buf_p += sprintf_db_ports(dfl_ports, buf_p, | ^~~~~~~~~ | | | int * In file included from menu.c:9: hunt.h:415:36: note: expected 'unsigned int *' but argument is of type 'int *' 415 | int sprintf_db_ports(unsigned int *ports, char *buf, int buf_size, int all); | ~~~~~~~~~~~~~~^~~~~ macdisc.c: In function 'mac_discover': macdisc.c:40:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 40 | as.src_mac = my_eth_mac; | ^ macdisc.c:41:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 41 | as.dst_mac = mac_broadcast; | ^ macdisc.c:43:23: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 43 | as.sender_mac = my_eth_mac; | ^ macdisc.c:45:23: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 45 | as.target_mac = mac_zero; | ^ menu.c: In function 'menu': rst.c: In function 'rst': rst.c:60:28: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 60 | ts.src_mac = ci->dst.dst_mac; | ^ menu.c:522:26: warning: field width specifier '*' expects argument of type 'int', but argument 2 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 522 | printf("%*s", strlen(head) + 9, " "); | ~^~ ~~~~~~~~~~~~~~~~ | | | | int size_t {aka long unsigned int} rst.c:61:28: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 61 | ts.dst_mac = ci->dst.src_mac; | ^ rst.c:69:28: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 69 | ts.src_mac = ci->src.dst_mac; | ^ rst.c:70:28: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 70 | ts.dst_mac = ci->src.src_mac; | ^ rstd.c: In function 'func_tcp_packet': rstd.c:86:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 86 | p->p_arg[MODULE_RSTD] = (void *) dbi->rst_mode; | ^ rstd.c: In function 'rst_daemon_thr': rstd.c:140:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 140 | rst_mode = (int) p->p_arg[MODULE_RSTD]; | ^ hijack.c: In function 'fast_ack_to_dst': hijack.c:89:36: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 89 | ts.src_mac = ci->src.src_mac; | ^ hijack.c:90:36: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 90 | ts.dst_mac = ci->dst.src_mac; | ^ rstd.c: In function 'rst_add_item': rstd.c:265:44: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 265 | &src_mask, src_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ | | | int * menu.c: In function 'menu_prompt': menu.c:33:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 33 | fgets(buf, buf_size, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from rstd.c:9: hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ hijack.c: In function 'stormack_hijack': hijack.c:223:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 223 | ts.src_mac = ci->dst.dst_mac; | ^ hijack.c:224:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 224 | ts.dst_mac = ci->dst.src_mac; | ^ rstd.c:268:44: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 268 | &dst_mask, dst_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ | | | int * hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ hunt.c: In function 'conn_add_update': arphijack.c: In function 'watch_tty': arphijack.c:81:28: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 81 | ts.dst_mac = wtd->ci->dst.src_mac; | ^ main.c: In function 'a_hijack': hunt.c:393:51: warning: variable 'h_dst' set but not used [-Wunused-but-set-variable] 393 | struct host_info *h_src, *h_dst; | ^~~~~ main.c:350:48: warning: pointer targets in passing argument 2 of 'user_arp_hijack' differ in signedness [-Wpointer-sign] 350 | retval = user_arp_hijack(&uci, src_fake_mac, dst_fake_mac, input_mode); | ^~~~~~~~~~~~ | | | unsigned char * In file included from main.c:9: hunt.h:503:55: note: expected 'char *' but argument is of type 'unsigned char *' 503 | int user_arp_hijack(struct user_conn_info *uci, char *src_fake_mac, | ~~~~~~^~~~~~~~~~~~ rstd.c:281:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 281 | port_htons(src_ports); | ^~~~~~~~~ | | | int * hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ arphijack.c: In function 'arp_hijack': arphijack.c:122:54: warning: pointer targets in passing argument 3 of 'start_arp_spoof' differ in signedness [-Wpointer-sign] 122 | ci->src.src_mac, ci->dst.src_mac, | ~~~~~~~^~~~~~~~ | | | unsigned char * main.c:350:62: warning: pointer targets in passing argument 3 of 'user_arp_hijack' differ in signedness [-Wpointer-sign] 350 | retval = user_arp_hijack(&uci, src_fake_mac, dst_fake_mac, input_mode); | ^~~~~~~~~~~~ | | | unsigned char * hunt.h:504:27: note: expected 'char *' but argument is of type 'unsigned char *' 504 | char *dst_fake_mac, int input_mode); | ~~~~~~^~~~~~~~~~~~ rstd.c:285:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 285 | port_htons(dst_ports); | ^~~~~~~~~ | | | int * hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ In file included from arphijack.c:9: hunt.h:522:23: note: expected 'char *' but argument is of type 'unsigned char *' 522 | char *src_mac, char *dst_mac, char *src_fake_mac, | ~~~~~~^~~~~~~ arphijack.c:122:71: warning: pointer targets in passing argument 4 of 'start_arp_spoof' differ in signedness [-Wpointer-sign] 122 | ci->src.src_mac, ci->dst.src_mac, | ~~~~~~~^~~~~~~~ | | | unsigned char * hunt.h:522:38: note: expected 'char *' but argument is of type 'unsigned char *' 522 | char *src_mac, char *dst_mac, char *src_fake_mac, | ~~~~~~^~~~~~~ menu.c: In function 'menu_choose_char_nconn': main.c:373:38: warning: pointer targets in passing argument 1 of 'user_arp_hijack_done' differ in signedness [-Wpointer-sign] 373 | user_arp_hijack_done(src_fake_mac, dst_fake_mac); | ^~~~~~~~~~~~ | | | unsigned char * rstd.c: In function 'rst_mod_item': hunt.h:505:33: note: expected 'char *' but argument is of type 'unsigned char *' 505 | void user_arp_hijack_done(char *src_fake_mac, char *dst_fake_mac); | ~~~~~~^~~~~~~~~~~~ menu.c:426:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 426 | fgets(buf, sizeof(buf), stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rstd.c:314:49: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 314 | &src_ip, &src_mask, src_ports, | ^~~~~~~~~ | | | int * arphijack.c:143:54: warning: pointer targets in passing argument 3 of 'start_arp_spoof' differ in signedness [-Wpointer-sign] 143 | ci->dst.src_mac, ci->src.src_mac, | ~~~~~~~^~~~~~~~ | | | unsigned char * hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ hunt.h:522:23: note: expected 'char *' but argument is of type 'unsigned char *' 522 | char *src_mac, char *dst_mac, char *src_fake_mac, | ~~~~~~^~~~~~~ main.c:373:52: warning: pointer targets in passing argument 2 of 'user_arp_hijack_done' differ in signedness [-Wpointer-sign] 373 | user_arp_hijack_done(src_fake_mac, dst_fake_mac); | ^~~~~~~~~~~~ | | | unsigned char * hunt.h:505:53: note: expected 'char *' but argument is of type 'unsigned char *' 505 | void user_arp_hijack_done(char *src_fake_mac, char *dst_fake_mac); | ~~~~~~^~~~~~~~~~~~ arphijack.c:143:71: warning: pointer targets in passing argument 4 of 'start_arp_spoof' differ in signedness [-Wpointer-sign] 143 | ci->dst.src_mac, ci->src.src_mac, | ~~~~~~~^~~~~~~~ | | | unsigned char * hunt.h:522:38: note: expected 'char *' but argument is of type 'unsigned char *' 522 | char *src_mac, char *dst_mac, char *src_fake_mac, | ~~~~~~^~~~~~~ rstd.c:315:62: warning: pointer targets in passing argument 7 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 315 | dbi->src_addr, dbi->src_mask, dbi->src_ports) < 0) | ~~~^~~~~~~~~~~ | | | unsigned int * hunt.h:372:66: note: expected 'int *' but argument is of type 'unsigned int *' 372 | unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); | ~~~~~^~~~~~~~~ menu.c: In function 'menu_choose_string': rstd.c:318:49: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 318 | &dst_ip, &dst_mask, dst_ports, | ^~~~~~~~~ | | | int * hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ arphijack.c:169:26: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 169 | wtd.src_fake_mac = asi_src ? asi_src->src_fake_mac : ci->src.src_mac; | ^ rstd.c:319:62: warning: pointer targets in passing argument 7 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 319 | dbi->dst_addr, dbi->dst_mask, dbi->dst_ports) < 0) | ~~~^~~~~~~~~~~ | | | unsigned int * hunt.h:372:66: note: expected 'int *' but argument is of type 'unsigned int *' 372 | unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); | ~~~~~^~~~~~~~~ menu.c:487:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 487 | fgets(buf, sizeof(buf), stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arpspoof.c: In function 'send_src_spoof_to_dst': rstd.c:326:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 326 | port_htons(src_ports); | ^~~~~~~~~ | | | int * hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ arpspoof.c:85:24: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 85 | as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : asi->src_fake_mac; | ^ arpspoof.c:86:24: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 86 | as_dst.dst_mac = asi->dst_mac; | ^ rstd.c:327:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 327 | port_htons(dst_ports); | ^~~~~~~~~ | | | int * hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ arpspoof.c:88:27: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 88 | as_dst.sender_mac = asi->src_fake_mac; | ^ arpspoof.c:90:27: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 90 | as_dst.target_mac = asi->dst_mac; | ^ arphijack.c:200:44: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 200 | ts.src_mac = asi_src ? asi_src->src_fake_mac : | ^ arpspoof.c: In function 'send_src_spoof_to_dst_through_request': arpspoof.c:117:24: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 117 | as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : asi->src_fake_mac; | ^ arphijack.c:202:44: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 202 | ts.dst_mac = ci->dst.src_mac; | ^ arpspoof.c:118:24: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 118 | as_dst.dst_mac = asi->dst_mac; /* don't use broadcast - we want that it is received only by the target */ | ^ arpspoof.c:120:27: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 120 | as_dst.sender_mac = asi->src_fake_mac; | ^ arpspoof.c:122:27: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 122 | as_dst.target_mac = mac_zero; | ^ arphijack.c:224:44: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 224 | ts.src_mac = asi_dst ? asi_dst->src_fake_mac : | ^ hunt.c: In function 'mac_arp_learn': arphijack.c:226:44: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 226 | ts.dst_mac = ci->src.src_mac; | ^ main.c: In function 'main': hunt.c:696:21: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 696 | mac = arpethh->ar_sha; | ^ main.c:509:70: warning: backslash and newline separated by space 509 | fprintf(stderr, "Network interface %s does not have "\ synchijack.c: In function 'hijack_sync_init_msg': synchijack.c:153:28: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 153 | ts.src_mac = ci->src.dst_mac; | ^ hunt.c: In function 'mac_ip_learn': synchijack.c:154:28: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 154 | ts.dst_mac = ci->src.src_mac; | ^ hunt.c:710:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 710 | mac = p->p_ethh->h_source; | ^ synchijack.c: In function 'need_read_write_negative': synchijack.c:220:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 220 | ts.src_mac = ci->dst.dst_mac; | ^ synchijack.c:221:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 221 | ts.dst_mac = ci->dst.src_mac; | ^ synchijack.c: In function 'need_write_positive': synchijack.c:245:28: warning: format '%f' expects argument of type 'double', but argument 3 has type 'char *' [-Wformat=] 245 | sprintf(fin_msg, "%f%", suggest_sync_msg(0)); | ~^ ~~~~~~~~~~~~~~~~~~~ | | | | | char * | double | %s synchijack.c:245:29: warning: spurious trailing '%' in format [-Wformat=] 245 | sprintf(fin_msg, "%f%", suggest_sync_msg(0)); | ^ hostup.c: In function 'perform_ping': hostup.c:87:63: warning: pointer targets in passing argument 3 of 'send_icmp_request' differ in signedness [-Wpointer-sign] 87 | ip, my_eth_mac, | ^~~~~~~~~~ | | | unsigned char * addpolicy.c: In function 'addpolicy_add_item': In file included from hostup.c:9: hunt.h:698:30: note: expected 'char *' but argument is of type 'unsigned char *' 698 | char *src_mac, char *dst_mac, unsigned short seq); | ~~~~~~^~~~~~~ addpolicy.c:113:44: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 113 | &src_mask, src_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ | | | int * hostup.c:93:49: warning: pointer targets in passing argument 3 of 'send_icmp_request' differ in signedness [-Wpointer-sign] 93 | my_eth_mac, fake_mac, htons(j + 2000)); | ^~~~~~~~~~ | | | unsigned char * hunt.h:698:30: note: expected 'char *' but argument is of type 'unsigned char *' 698 | char *src_mac, char *dst_mac, unsigned short seq); | ~~~~~~^~~~~~~ In file included from addpolicy.c:9: hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ hostup.c:93:61: warning: pointer targets in passing argument 4 of 'send_icmp_request' differ in signedness [-Wpointer-sign] 93 | my_eth_mac, fake_mac, htons(j + 2000)); | ^~~~~~~~ | | | unsigned char * hunt.h:698:45: note: expected 'char *' but argument is of type 'unsigned char *' 698 | char *src_mac, char *dst_mac, unsigned short seq); | ~~~~~~^~~~~~~ addpolicy.c:116:44: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 116 | &dst_mask, dst_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ | | | int * hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ hostup.c:106:52: warning: pointer targets in passing argument 4 of 'is_icmp_reply' differ in signedness [-Wpointer-sign] 106 | p->p_ethh->h_source, my_eth_mac) || | ~~~~~~~~~^~~~~~~~~~ | | | unsigned char * hunt.h:700:25: note: expected 'char *' but argument is of type 'unsigned char *' 700 | char *src_mac, char *dst_mac); | ~~~~~~^~~~~~~ arpspoof.c: In function 'stop_arp_spoof': hostup.c:106:64: warning: pointer targets in passing argument 5 of 'is_icmp_reply' differ in signedness [-Wpointer-sign] 106 | p->p_ethh->h_source, my_eth_mac) || | ^~~~~~~~~~ | | | unsigned char * addpolicy.c:125:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 125 | port_htons(src_ports); | ^~~~~~~~~ | | | int * hunt.h:700:40: note: expected 'char *' but argument is of type 'unsigned char *' 700 | char *src_mac, char *dst_mac); | ~~~~~~^~~~~~~ synchijack.c:279:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 279 | ts.src_mac = ci->src.dst_mac; | ^ hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ hostup.c:108:43: warning: pointer targets in passing argument 4 of 'is_icmp_reply' differ in signedness [-Wpointer-sign] 108 | fake_mac, my_eth_mac))) { | ^~~~~~~~ | | | unsigned char * hunt.h:700:25: note: expected 'char *' but argument is of type 'unsigned char *' 700 | char *src_mac, char *dst_mac); | ~~~~~~^~~~~~~ hostup.c:108:53: warning: pointer targets in passing argument 5 of 'is_icmp_reply' differ in signedness [-Wpointer-sign] 108 | fake_mac, my_eth_mac))) { | ^~~~~~~~~~ | | | unsigned char * addpolicy.c:129:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 129 | port_htons(dst_ports); | ^~~~~~~~~ | | | int * hunt.h:700:40: note: expected 'char *' but argument is of type 'unsigned char *' 700 | char *src_mac, char *dst_mac); | ~~~~~~^~~~~~~ hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ synchijack.c:280:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 280 | ts.dst_mac = ci->src.src_mac; | ^ arpspoof.c:543:40: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 543 | as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : | ^ hostup.c: In function 'send_arp_message': addpolicy.c: In function 'addpolicy_mod_item': hostup.c:125:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 125 | as.src_mac = my_eth_mac; | ^ addpolicy.c:150:49: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 150 | &src_ip, &src_mask, src_ports, | ^~~~~~~~~ | | | int * hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ hostup.c:128:23: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 128 | as.sender_mac = my_eth_mac; | ^ addpolicy.c:151:62: warning: pointer targets in passing argument 7 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 151 | api->src_addr, api->src_mask, api->src_ports) < 0) | ~~~^~~~~~~~~~~ | | | unsigned int * hostup.c:130:23: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 130 | as.target_mac = mac_zero; | ^ hunt.h:372:66: note: expected 'int *' but argument is of type 'unsigned int *' 372 | unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); | ~~~~~^~~~~~~~~ arpspoof.c:546:40: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 546 | as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : | ^ addpolicy.c:154:49: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 154 | &dst_ip, &dst_mask, dst_ports, | ^~~~~~~~~ | | | int * hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ addpolicy.c:155:62: warning: pointer targets in passing argument 7 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 155 | api->dst_addr, api->dst_mask, api->dst_ports) < 0) | ~~~^~~~~~~~~~~ | | | unsigned int * hunt.h:372:66: note: expected 'int *' but argument is of type 'unsigned int *' 372 | unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); | ~~~~~^~~~~~~~~ synchijack.c: In function 'need_read_positive': main.c: In function 'simple_hijack': hostup.c: In function 'perform_arp': addpolicy.c:157:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 157 | port_htons(src_ports); | ^~~~~~~~~ | | | int * hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ hostup.c:159:62: warning: pointer targets in passing argument 2 of 'send_arp_message' differ in signedness [-Wpointer-sign] 159 | send_arp_message(ip, mac_broadcast); | ^~~~~~~~~~~~~ | | | unsigned char * addpolicy.c:158:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 158 | port_htons(dst_ports); | ^~~~~~~~~ | | | int * main.c:250:25: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 250 | fgets(cmdbuf, sizeof(cmdbuf), stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arpspoof.c:548:32: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 548 | as_dst.dst_mac = asi->dst_mac; | ^ hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ hostup.c:121:53: note: expected 'char *' but argument is of type 'unsigned char *' 121 | static void send_arp_message(unsigned int ip, char *dst_mac) | ~~~~~~^~~~~~~ synchijack.c:307:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 307 | ts.src_mac = ci->src.dst_mac; | ^ hostup.c:161:62: warning: pointer targets in passing argument 2 of 'send_arp_message' differ in signedness [-Wpointer-sign] 161 | send_arp_message(ip, fake_mac); | ^~~~~~~~ | | | unsigned char * hostup.c:121:53: note: expected 'char *' but argument is of type 'unsigned char *' 121 | static void send_arp_message(unsigned int ip, char *dst_mac) | ~~~~~~^~~~~~~ arpspoof.c:550:35: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 550 | as_dst.sender_mac = asi_src_mac; | ^ synchijack.c:308:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 308 | ts.dst_mac = ci->src.src_mac; | ^ sniff.c: In function 'sniff_item_print': sniff.c:128:28: warning: pointer targets in passing argument 1 of 'sprintf_db_ports' differ in signedness [-Wpointer-sign] 128 | sprintf_db_ports(si->src_ports, buf_src_ports, sizeof(buf_src_ports), 1); | ~~^~~~~~~~~~~ | | | int * In file included from sniff.c:9: hunt.h:415:36: note: expected 'unsigned int *' but argument is of type 'int *' 415 | int sprintf_db_ports(unsigned int *ports, char *buf, int buf_size, int all); | ~~~~~~~~~~~~~~^~~~~ sniff.c:129:28: warning: pointer targets in passing argument 1 of 'sprintf_db_ports' differ in signedness [-Wpointer-sign] 129 | sprintf_db_ports(si->dst_ports, buf_dst_ports, sizeof(buf_dst_ports), 1); | ~~^~~~~~~~~~~ | | | int * arpspoof.c:552:35: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 552 | as_dst.target_mac = asi->dst_mac; | ^ hunt.h:415:36: note: expected 'unsigned int *' but argument is of type 'int *' 415 | int sprintf_db_ports(unsigned int *ports, char *buf, int buf_size, int all); | ~~~~~~~~~~~~~~^~~~~ tap.c: In function 'get_ifc_info': arpspoof.c:565:40: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 565 | as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : | ^ tap.c:135:31: warning: pointer targets in passing argument 1 of 'print_eth_mac' differ in signedness [-Wpointer-sign] 135 | print_eth_mac(mac); | ^~~ | | | char * In file included from tap.c:31: hunt.h:421:34: note: expected 'unsigned char *' but argument is of type 'char *' 421 | int print_eth_mac(unsigned char *mac); | ~~~~~~~~~~~~~~~^~~ synchijack.c: In function 'f_hijack_sync': arpspoof.c:568:40: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 568 | as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : | ^ synchijack.c:419:44: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 419 | ts.src_mac = ci->dst.dst_mac; | ^ arpspoof.c:570:32: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 570 | as_dst.src_mac = asi->src_mac; | ^ sniff.c: In function 'sniff_packet_match': synchijack.c:420:44: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 420 | ts.dst_mac = ci->dst.src_mac; | ^ sniff.c:174:41: warning: pointer targets in passing argument 2 of 'port_match' differ in signedness [-Wpointer-sign] 174 | port_match(tcph->source, si->src_ports) && | ~~^~~~~~~~~~~ | | | int * hunt.h:427:40: note: expected 'unsigned int *' but argument is of type 'int *' 427 | int port_match(int port, unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ sniff.c:175:39: warning: pointer targets in passing argument 2 of 'port_match' differ in signedness [-Wpointer-sign] 175 | port_match(tcph->dest, si->dst_ports)) | ~~^~~~~~~~~~~ | | | int * hunt.h:427:40: note: expected 'unsigned int *' but argument is of type 'int *' 427 | int port_match(int port, unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ hostup.c: In function 'host_up': hostup.c:299:33: warning: pointer targets in passing argument 1 of 'sprintf_eth_mac' differ in signedness [-Wpointer-sign] 299 | sprintf_eth_mac(buf_mac, suggest_mac()); | ^~~~~~~ | | | unsigned char * arpspoof.c:571:32: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 571 | as_dst.dst_mac = asi->dst_mac; | ^ hunt.c: In function 'print_mac_table': hunt.h:422:27: note: expected 'char *' but argument is of type 'unsigned char *' 422 | int sprintf_eth_mac(char *b, unsigned char *mac); | ~~~~~~^ sniff.c:181:41: warning: pointer targets in passing argument 2 of 'port_match' differ in signedness [-Wpointer-sign] 181 | port_match(tcph->source, si->dst_ports) && | ~~^~~~~~~~~~~ | | | int * hunt.h:427:40: note: expected 'unsigned int *' but argument is of type 'int *' 427 | int port_match(int port, unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ sniff.c:182:39: warning: pointer targets in passing argument 2 of 'port_match' differ in signedness [-Wpointer-sign] 182 | port_match(tcph->dest, si->src_ports)) | ~~^~~~~~~~~~~ | | | int * hunt.h:427:40: note: expected 'unsigned int *' but argument is of type 'int *' 427 | int port_match(int port, unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ hostup.c:300:84: warning: pointer targets in passing argument 3 of 'menu_choose_mac' differ in signedness [-Wpointer-sign] 300 | if (menu_choose_mac("choose unused MAC in your network", fake_mac, buf_mac) >= 0) { | ^~~~~~~ | | | unsigned char * arpspoof.c:573:35: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 573 | as_dst.sender_mac = asi_src_mac; | ^ hunt.h:365:64: note: expected 'char *' but argument is of type 'unsigned char *' 365 | int menu_choose_mac(char *label, unsigned char *mac_ret, char *dfl); | ~~~~~~^~~ hunt.c:1016:40: warning: pointer targets in passing argument 2 of 'sprintf_eth_mac' differ in signedness [-Wpointer-sign] 1016 | sprintf_eth_mac(buf, mi->mac); | ~~^~~~~ | | | char * arpspoof.c:575:35: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 575 | as_dst.target_mac = mac_zero; | ^ In file included from hunt.c:9: hunt.h:422:45: note: expected 'unsigned char *' but argument is of type 'char *' 422 | int sprintf_eth_mac(char *b, unsigned char *mac); | ~~~~~~~~~~~~~~~^~~ synchijack.c: In function 'hijack_sync': hostup.c:314:33: warning: pointer targets in passing argument 1 of 'sprintf_eth_mac' differ in signedness [-Wpointer-sign] 314 | sprintf_eth_mac(buf_mac, suggest_mac()); | ^~~~~~~ | | | unsigned char * hunt.h:422:27: note: expected 'char *' but argument is of type 'unsigned char *' 422 | int sprintf_eth_mac(char *b, unsigned char *mac); | ~~~~~~^ synchijack.c:464:25: warning: variable 'absts' set but not used [-Wunused-but-set-variable] 464 | struct timespec absts; | ^~~~~ hostup.c:315:84: warning: pointer targets in passing argument 3 of 'menu_choose_mac' differ in signedness [-Wpointer-sign] 315 | if (menu_choose_mac("choose unused MAC in your network", fake_mac, buf_mac) >= 0) { | ^~~~~~~ | | | unsigned char * hunt.h:365:64: note: expected 'char *' but argument is of type 'unsigned char *' 365 | int menu_choose_mac(char *label, unsigned char *mac_ret, char *dfl); | ~~~~~~^~~ arpspoof.c: In function 'arp_spoof_range_list': arpspoof.c:951:41: warning: pointer targets in passing argument 2 of 'sprintf_eth_mac' differ in signedness [-Wpointer-sign] 951 | sprintf_eth_mac(buf, asr->src_fake_mac); | ~~~^~~~~~~~~~~~~~ | | | char * In file included from arpspoof.c:9: hunt.h:422:45: note: expected 'unsigned char *' but argument is of type 'char *' 422 | int sprintf_eth_mac(char *b, unsigned char *mac); | ~~~~~~~~~~~~~~~^~~ sniff.c: In function 'sniff_add_item': sniff.c:664:25: warning: pointer targets in passing argument 3 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 664 | &src_mask, src_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ | | | int * hunt.h:371:31: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~ arpspoof.c: In function 'arp_spoof_add_item': sniff.c:664:36: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 664 | &src_mask, src_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ | | | int * hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ sniff.c:667:25: warning: pointer targets in passing argument 3 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 667 | &dst_mask, dst_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ | | | int * hunt.h:371:31: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~ arpspoof.c:1008:71: warning: pointer targets in passing argument 5 of 'start_arp_spoof' differ in signedness [-Wpointer-sign] 1008 | mi_dst ? mi_dst->mac : NULL, src_fake_mac, | ^~~~~~~~~~~~ | | | unsigned char * arpspoof.c:398:53: note: expected 'char *' but argument is of type 'unsigned char *' 398 | char *src_mac, char *dst_mac, char *src_fake_mac, | ~~~~~~^~~~~~~~~~~~ sniff.c:667:36: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 667 | &dst_mask, dst_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ | | | int * hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ sniff.c:705:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 705 | port_htons(src_ports); | ^~~~~~~~~ | | | int * hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ sniff.c:709:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 709 | port_htons(dst_ports); | ^~~~~~~~~ | | | int * hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ arpspoof.c: In function 'arp_spoof_add_h': sniff.c: In function 'sniff_mod_item': arpspoof.c:1163:84: warning: pointer targets in passing argument 5 of 'start_arp_spoof' differ in signedness [-Wpointer-sign] 1163 | asi_src_in_dst = start_arp_spoof(src_ip, dst_ip, mi_src->mac, mi_dst->mac, src_fake_mac, | ^~~~~~~~~~~~ | | | unsigned char * sniff.c:747:38: warning: pointer targets in passing argument 3 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 747 | &src_ip, &src_mask, src_ports, | ^~~~~~~~~ | | | int * hunt.h:371:31: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~ arpspoof.c:398:53: note: expected 'char *' but argument is of type 'unsigned char *' 398 | char *src_mac, char *dst_mac, char *src_fake_mac, | ~~~~~~^~~~~~~~~~~~ sniff.c:747:49: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 747 | &src_ip, &src_mask, src_ports, | ^~~~~~~~~ | | | int * hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ arpspoof.c:1165:84: warning: pointer targets in passing argument 5 of 'start_arp_spoof' differ in signedness [-Wpointer-sign] 1165 | asi_dst_in_src = start_arp_spoof(dst_ip, src_ip, mi_dst->mac, mi_src->mac, dst_fake_mac, | ^~~~~~~~~~~~ | | | unsigned char * arpspoof.c:398:53: note: expected 'char *' but argument is of type 'unsigned char *' 398 | char *src_mac, char *dst_mac, char *src_fake_mac, | ~~~~~~^~~~~~~~~~~~ sniff.c:751:38: warning: pointer targets in passing argument 3 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 751 | &dst_ip, &dst_mask, dst_ports, | ^~~~~~~~~ | | | int * hunt.h:371:31: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~ sniff.c:751:49: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 751 | &dst_ip, &dst_mask, dst_ports, | ^~~~~~~~~ | | | int * hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ sniff.c:770:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 770 | port_htons(src_ports); | ^~~~~~~~~ | | | int * hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ sniff.c:771:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 771 | port_htons(dst_ports); | ^~~~~~~~~ | | | int * hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ arpspoof.c: In function 'arpspoof_test': arpspoof.c:1390:68: warning: pointer targets in passing argument 3 of 'send_icmp_request' differ in signedness [-Wpointer-sign] 1390 | send_icmp_request(asi->src_addr, asi->dst_addr, asi->src_fake_mac, | ~~~^~~~~~~~~~~~~~ | | | unsigned char * hunt.h:698:30: note: expected 'char *' but argument is of type 'unsigned char *' 698 | char *src_mac, char *dst_mac, unsigned short seq); | ~~~~~~^~~~~~~ arpspoof.c:1391:38: warning: pointer targets in passing argument 4 of 'send_icmp_request' differ in signedness [-Wpointer-sign] 1391 | asi->dst_mac, 1 + i); | ~~~^~~~~~~~~ | | | unsigned char * hunt.h:698:45: note: expected 'char *' but argument is of type 'unsigned char *' 698 | char *src_mac, char *dst_mac, unsigned short seq); | ~~~~~~^~~~~~~ arpspoof.c:1397:51: warning: pointer targets in passing argument 4 of 'is_icmp_reply' differ in signedness [-Wpointer-sign] 1397 | asi->dst_mac, asi->src_fake_mac); | ~~~^~~~~~~~~ | | | unsigned char * hunt.h:700:25: note: expected 'char *' but argument is of type 'unsigned char *' 700 | char *src_mac, char *dst_mac); | ~~~~~~^~~~~~~ arpspoof.c:1397:65: warning: pointer targets in passing argument 5 of 'is_icmp_reply' differ in signedness [-Wpointer-sign] 1397 | asi->dst_mac, asi->src_fake_mac); | ~~~^~~~~~~~~~~~~~ | | | unsigned char * hunt.h:700:40: note: expected 'char *' but argument is of type 'unsigned char *' 700 | char *src_mac, char *dst_mac); | ~~~~~~^~~~~~~ addpolicy.c: In function 'addpolicy_item_print': addpolicy.c:79:35: warning: '%s' directive writing up to 511 bytes into a region of size 508 [-Wformat-overflow=] 79 | sprintf(host_buf, "%s/%d [%s]", host_lookup(api->src_addr, hl_mode), | ^~ 80 | count_mask(api->src_mask), buf_src_ports); | ~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:970, from addpolicy.c:10: In function 'sprintf', inlined from 'addpolicy_item_print' at addpolicy.c:79:2: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 517) into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ net.c: In function 'send_tcp_packet': net.c:85:9: warning: '__builtin_strncpy' specified bound 14 equals destination size [-Wstringop-truncation] 85 | strncpy(spkt.sa_data, eth_device, sizeof(spkt.sa_data)); | ^ resolv.c: In function 'update_thr': resolv.c:131:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 131 | int fd = (int) arg; | ^ net.c: In function 'send_icmp_packet': net.c:151:9: warning: '__builtin_strncpy' specified bound 14 equals destination size [-Wstringop-truncation] 151 | strncpy(spkt.sa_data, eth_device, sizeof(spkt.sa_data)); | ^ pktrelay.c: In function 'relay_add_item': pktrelay.c:270:44: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 270 | &src_mask, src_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ | | | int * In file included from pktrelay.c:9: hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ pktrelay.c:273:44: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 273 | &dst_mask, dst_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ | | | int * hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ pktrelay.c:294:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 294 | port_htons(src_ports); | ^~~~~~~~~ | | | int * hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ pktrelay.c:298:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 298 | port_htons(dst_ports); | ^~~~~~~~~ | | | int * hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ pktrelay.c: In function 'relay_mod_item': pktrelay.c:334:49: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 334 | &src_ip, &src_mask, src_ports, | ^~~~~~~~~ | | | int * resolv.c: In function 'resolv_init': hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ pktrelay.c:335:59: warning: pointer targets in passing argument 7 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 335 | ri->src_addr, ri->src_mask, ri->src_ports) < 0) | ~~^~~~~~~~~~~ | | | unsigned int * resolv.c:485:59: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 485 | pthread_create(&res_update_thr, NULL, update_thr, (void *) fd_req); | ^ hunt.h:372:66: note: expected 'int *' but argument is of type 'unsigned int *' 372 | unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); | ~~~~~^~~~~~~~~ pktrelay.c:338:49: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 338 | &dst_ip, &dst_mask, dst_ports, | ^~~~~~~~~ | | | int * hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ pktrelay.c:339:59: warning: pointer targets in passing argument 7 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 339 | ri->dst_addr, ri->dst_mask, ri->dst_ports) < 0) | ~~^~~~~~~~~~~ | | | unsigned int * hunt.h:372:66: note: expected 'int *' but argument is of type 'unsigned int *' 372 | unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); | ~~~~~^~~~~~~~~ rstd.c: In function 'db_item_print': rstd.c:228:30: warning: '%s' directive writing up to 511 bytes into a region of size 508 [-Wformat-overflow=] 228 | sprintf(buf, "%s/%d [%s]", host_lookup(dbi->src_addr, hl_mode), | ^~ 229 | count_mask(dbi->src_mask), buf_src_ports); | ~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:970, from rstd.c:10: In function 'sprintf', inlined from 'db_item_print' at rstd.c:228:2: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 517) into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pktrelay.c:367:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 367 | port_htons(src_ports); | ^~~~~~~~~ | | | int * hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ pktrelay.c:368:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 368 | port_htons(dst_ports); | ^~~~~~~~~ | | | int * hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ resolv.c: In function 'resolv_request': resolv.c:105:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 105 | write(fd_req, &req, sizeof(struct req)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resolv.c: In function 'handle_response': resolv.c:337:25: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 337 | read(sl->s_fd, res + 1, res->name_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resolv.c:339:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 339 | write(fd, buf, sizeof(struct res) + res->name_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resolv.c: In function 'send_req_to_slave': resolv.c:257:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 257 | write(sl->s_fd, &req, sizeof(struct req)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resolv.c:285:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 285 | write(sl->s_fd, &req, sizeof(struct req)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resolv.c: In function 'resolv_slave': resolv.c:226:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 226 | write(fd, res, sizeof(struct res) + res->name_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sniff.c: In function 'sniff_item_print': sniff.c:135:35: warning: '%s' directive writing up to 511 bytes into a region of size 508 [-Wformat-overflow=] 135 | sprintf(host_buf, "%s/%d [%s]", host_lookup(si->src_addr, hl_mode), | ^~ 136 | count_mask(si->src_mask), buf_src_ports); | ~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:970, from sniff.c:12: In function 'sprintf', inlined from 'sniff_item_print' at sniff.c:135:2: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 517) into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ net.c: In function 'send_arp_packet': net.c:246:9: warning: '__builtin_strncpy' specified bound 14 equals destination size [-Wstringop-truncation] 246 | strncpy(spkt.sa_data, eth_device, sizeof(spkt.sa_data)); | ^ net.c: In function 'send_packet': net.c:274:9: warning: '__builtin_strncpy' specified bound 14 equals destination size [-Wstringop-truncation] 274 | strncpy(spkt.sa_data, eth_device, sizeof(spkt.sa_data)); | ^ pktrelay.c: In function 'relay_item_print': pktrelay.c:225:30: warning: '%s' directive writing up to 511 bytes into a region of size 508 [-Wformat-overflow=] 225 | sprintf(buf, "%s/%d [%s]", host_lookup(ri->src_addr, hl_mode), | ^~ 226 | count_mask(ri->src_mask), buf_src_ports); | ~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:970, from pktrelay.c:12: In function 'sprintf', inlined from 'relay_item_print' at pktrelay.c:225:2: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 517) into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sniff.c: In function 'sniffer_log_print': sniff.c:236:56: warning: '%d' directive writing between 1 and 10 bytes into a region of size between 0 and 511 [-Wformat-overflow=] 236 | sprintf(file_name, "%s_%d", file_name_buf, ++i); | ^~ sniff.c:236:52: note: directive argument in the range [1, 2147483647] 236 | sprintf(file_name, "%s_%d", file_name_buf, ++i); | ^~~~~~~ In function 'sprintf', inlined from 'sniffer_log_print' at sniff.c:236:5: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 3 and 523 bytes into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cc -Wl,-z,relro -Wl,-z,now -o hunt hunt.o main.o c/list.o c/hash.o c/array.o util.o net.o rst.o menu.o hijack.o rstd.o sniff.o macdisc.o tap.o arphijack.o tty.o synchijack.o arpspoof.o hostup.o addpolicy.o options.o resolv.o timer.o pktrelay.o -lpthread make[2]: Leaving directory '/build/reproducible-path/hunt-1.5' dh_auto_build --sourcedirectory=tpserv cd tpserv && make -j42 "INSTALL=install --strip-program=true" make[2]: Entering directory '/build/reproducible-path/hunt-1.5/tpserv' cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -ffile-prefix-map=/build/reproducible-path/hunt-1.5/tpserv=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tpserv.o tpserv.c tpserv.c: In function 'main': tpserv.c:337:75: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] 337 | clifd = accept(lfd, (struct sockaddr *) &cliaddr, &clilen); | ^~~~~~~ | | | int * In file included from tpserv.c:11: /usr/include/x86_64-linux-gnu/sys/socket.h:307:42: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 307 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ tpserv.c:328:17: warning: ignoring return value of 'daemon' declared with attribute 'warn_unused_result' [-Wunused-result] 328 | daemon(0, 0); | ^~~~~~~~~~~~ cc -Wl,-z,relro -Wl,-z,now -o tpserv tpserv.o make[2]: Leaving directory '/build/reproducible-path/hunt-1.5/tpserv' make[1]: Leaving directory '/build/reproducible-path/hunt-1.5' dh_auto_test create-stamp debian/debhelper-build-stamp dh_prep dh_auto_install --destdir=debian/hunt/ dh_install dh_installdocs dh_installchangelogs dh_installman dh_perl dh_link dh_strip_nondeterminism dh_compress dh_fixperms dh_missing dh_dwz -a dwz: debian/hunt/usr/sbin/hunt: DWARF compression not beneficial - old size 194823 new size 197396 dh_strip -a dh_makeshlibs -a dh_shlibdeps -a dh_installdeb dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'hunt' in '../hunt_1.5-10_amd64.deb'. dpkg-deb: building package 'hunt-dbgsym' in '../hunt-dbgsym_1.5-10_amd64.deb'. dpkg-genbuildinfo --build=binary -O../hunt_1.5-10_amd64.buildinfo dpkg-genchanges --build=binary -O../hunt_1.5-10_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/3178819 and its subdirectories I: Current time: Fri Mar 27 15:42:30 -12 2026 I: pbuilder-time-stamp: 1774669350 Sat Mar 28 03:42:30 UTC 2026 I: Signing ./b1/hunt_1.5-10_amd64.buildinfo as hunt_1.5-10_amd64.buildinfo.asc Sat Mar 28 03:42:30 UTC 2026 I: Signed ./b1/hunt_1.5-10_amd64.buildinfo as ./b1/hunt_1.5-10_amd64.buildinfo.asc Sat Mar 28 03:42:30 UTC 2026 - build #1 for hunt/trixie/amd64 on ionos15-amd64 done. Starting cleanup. All cleanup done. Sat Mar 28 03:42:30 UTC 2026 - reproducible_build.sh stopped running as /tmp/jenkins-script-EsQ3KYdd, removing. /srv/reproducible-results/rbuild-debian/r-b-build.jOL6eQL5: total 16 drwxr-xr-x 2 jenkins jenkins 4096 Feb 22 21:19 b1 drwxr-xr-x 2 jenkins jenkins 4096 Feb 22 21:19 b2 -rw-r--r-- 1 jenkins jenkins 1821 Aug 28 05:35 hunt_1.5-10.dsc -rw------- 1 jenkins jenkins 2892 Feb 22 21:19 rbuildlog.kh5W8r2 /srv/reproducible-results/rbuild-debian/r-b-build.jOL6eQL5/b1: total 428 -rw-r--r-- 1 jenkins jenkins 103335 Feb 22 21:19 build.log -rw-r--r-- 1 jenkins jenkins 188232 Feb 22 21:19 hunt-dbgsym_1.5-10_amd64.deb -rw-r--r-- 1 jenkins jenkins 19932 Feb 22 21:19 hunt_1.5-10.debian.tar.xz -rw-r--r-- 1 jenkins jenkins 1821 Feb 22 21:19 hunt_1.5-10.dsc -rw-r--r-- 1 jenkins jenkins 4828 Feb 22 21:19 hunt_1.5-10_amd64.buildinfo -rw-r--r-- 1 jenkins jenkins 5710 Feb 22 21:19 hunt_1.5-10_amd64.buildinfo.asc -rw-r--r-- 1 jenkins jenkins 1273 Feb 22 21:19 hunt_1.5-10_amd64.changes -rw-r--r-- 1 jenkins jenkins 92272 Feb 22 21:19 hunt_1.5-10_amd64.deb -rw-r--r-- 1 jenkins jenkins 1138 Feb 22 21:19 hunt_1.5-10_source.changes /srv/reproducible-results/rbuild-debian/r-b-build.jOL6eQL5/b2: total 0 Sat Feb 22 21:19:31 UTC 2025 I: Deleting $TMPDIR on ionos15-amd64.debian.net. I: pbuilder: network access will be disabled during build I: Current time: Fri Mar 27 15:42:04 -12 2026 I: pbuilder-time-stamp: 1774669324 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [hunt_1.5-10.dsc] I: copying [./hunt_1.5.orig.tar.gz] I: copying [./hunt_1.5-10.debian.tar.xz] I: Extracting source dpkg-source: warning: cannot verify inline signature for ./hunt_1.5-10.dsc: unsupported subcommand dpkg-source: info: extracting hunt in hunt-1.5 dpkg-source: info: unpacking hunt_1.5.orig.tar.gz dpkg-source: info: unpacking hunt_1.5-10.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 000_old.patch dpkg-source: info: applying 010_fix-manpage.patch dpkg-source: info: applying 020_fix-GCC-hardening-hunt.patch dpkg-source: info: applying 030_add-GCC-hardening-tpserv.patch dpkg-source: info: applying 040_fix-arguments-synchijack.patch dpkg-source: info: applying 050_fix-spelling-rstd.patch dpkg-source: info: applying missing-prototypes.patch dpkg-source: info: applying gcc-14.patch I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/3178819/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build/reproducible-path' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='amd64' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' DISTRIBUTION='trixie' HOME='/root' HOST_ARCH='amd64' IFS=' ' INVOCATION_ID='00bc7a636536474996f40f270ed81fcf' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' PBCURRENTCOMMANDLINEOPERATION='build' PBUILDER_OPERATION='build' PBUILDER_PKGDATADIR='/usr/share/pbuilder' PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' PBUILDER_SYSCONFDIR='/etc' PPID='3178819' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.jOL6eQL5/pbuilderrc_xLwh --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.jOL6eQL5/b1 --logfile b1/build.log hunt_1.5-10.dsc' SUDO_GID='111' SUDO_UID='106' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' http_proxy='http://213.165.73.152:3128' I: uname -a Linux ionos15-amd64 6.12.9+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.9-1~bpo12+1 (2025-01-19) x86_64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin I: user script /srv/workspace/pbuilder/3178819/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: amd64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 13) dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19858 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdebhelper-perl{a} libelf1t64{a} libfile-stripnondeterminism-perl{a} libicu72{a} libmagic-mgc{a} libmagic1t64{a} libpipeline1{a} libtool{a} libuchardet0{a} libunistring5{a} libxml2{a} m4{a} man-db{a} po-debconf{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libltdl-dev libmail-sendmail-perl lynx wget 0 packages upgraded, 30 newly installed, 0 to remove and 0 not upgraded. Need to get 20.6 MB of archives. After unpacking 77.9 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian trixie/main amd64 sensible-utils all 0.0.24 [24.8 kB] Get: 2 http://deb.debian.org/debian trixie/main amd64 libmagic-mgc amd64 1:5.45-3+b1 [314 kB] Get: 3 http://deb.debian.org/debian trixie/main amd64 libmagic1t64 amd64 1:5.45-3+b1 [108 kB] Get: 4 http://deb.debian.org/debian trixie/main amd64 file amd64 1:5.45-3+b1 [43.3 kB] Get: 5 http://deb.debian.org/debian trixie/main amd64 gettext-base amd64 0.23.1-1 [243 kB] Get: 6 http://deb.debian.org/debian trixie/main amd64 libuchardet0 amd64 0.0.8-1+b2 [68.9 kB] Get: 7 http://deb.debian.org/debian trixie/main amd64 groff-base amd64 1.23.0-7 [1185 kB] Get: 8 http://deb.debian.org/debian trixie/main amd64 bsdextrautils amd64 2.40.4-3 [92.1 kB] Get: 9 http://deb.debian.org/debian trixie/main amd64 libpipeline1 amd64 1.5.8-1 [42.0 kB] Get: 10 http://deb.debian.org/debian trixie/main amd64 man-db amd64 2.13.0-1 [1420 kB] Get: 11 http://deb.debian.org/debian trixie/main amd64 m4 amd64 1.4.19-5 [294 kB] Get: 12 http://deb.debian.org/debian trixie/main amd64 autoconf all 2.72-3 [493 kB] Get: 13 http://deb.debian.org/debian trixie/main amd64 autotools-dev all 20220109.1 [51.6 kB] Get: 14 http://deb.debian.org/debian trixie/main amd64 automake all 1:1.17-3 [862 kB] Get: 15 http://deb.debian.org/debian trixie/main amd64 autopoint all 0.23.1-1 [770 kB] Get: 16 http://deb.debian.org/debian trixie/main amd64 libdebhelper-perl all 13.24.1 [90.9 kB] Get: 17 http://deb.debian.org/debian trixie/main amd64 libtool all 2.5.4-3 [539 kB] Get: 18 http://deb.debian.org/debian trixie/main amd64 dh-autoreconf all 20 [17.1 kB] Get: 19 http://deb.debian.org/debian trixie/main amd64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 20 http://deb.debian.org/debian trixie/main amd64 libfile-stripnondeterminism-perl all 1.14.1-2 [19.7 kB] Get: 21 http://deb.debian.org/debian trixie/main amd64 dh-strip-nondeterminism all 1.14.1-2 [8620 B] Get: 22 http://deb.debian.org/debian trixie/main amd64 libelf1t64 amd64 0.192-4 [189 kB] Get: 23 http://deb.debian.org/debian trixie/main amd64 dwz amd64 0.15-1+b1 [110 kB] Get: 24 http://deb.debian.org/debian trixie/main amd64 libunistring5 amd64 1.3-1 [476 kB] Get: 25 http://deb.debian.org/debian trixie/main amd64 libicu72 amd64 72.1-6 [9421 kB] Get: 26 http://deb.debian.org/debian trixie/main amd64 libxml2 amd64 2.12.7+dfsg+really2.9.14-0.2+b1 [699 kB] Get: 27 http://deb.debian.org/debian trixie/main amd64 gettext amd64 0.23.1-1 [1680 kB] Get: 28 http://deb.debian.org/debian trixie/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 29 http://deb.debian.org/debian trixie/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 30 http://deb.debian.org/debian trixie/main amd64 debhelper all 13.24.1 [920 kB] Fetched 20.6 MB in 0s (142 MB/s) Preconfiguring packages ... Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19858 files and directories currently installed.) Preparing to unpack .../00-sensible-utils_0.0.24_all.deb ... Unpacking sensible-utils (0.0.24) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../01-libmagic-mgc_1%3a5.45-3+b1_amd64.deb ... Unpacking libmagic-mgc (1:5.45-3+b1) ... Selecting previously unselected package libmagic1t64:amd64. Preparing to unpack .../02-libmagic1t64_1%3a5.45-3+b1_amd64.deb ... Unpacking libmagic1t64:amd64 (1:5.45-3+b1) ... Selecting previously unselected package file. Preparing to unpack .../03-file_1%3a5.45-3+b1_amd64.deb ... Unpacking file (1:5.45-3+b1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../04-gettext-base_0.23.1-1_amd64.deb ... Unpacking gettext-base (0.23.1-1) ... Selecting previously unselected package libuchardet0:amd64. Preparing to unpack .../05-libuchardet0_0.0.8-1+b2_amd64.deb ... Unpacking libuchardet0:amd64 (0.0.8-1+b2) ... Selecting previously unselected package groff-base. Preparing to unpack .../06-groff-base_1.23.0-7_amd64.deb ... Unpacking groff-base (1.23.0-7) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../07-bsdextrautils_2.40.4-3_amd64.deb ... Unpacking bsdextrautils (2.40.4-3) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../08-libpipeline1_1.5.8-1_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.8-1) ... Selecting previously unselected package man-db. Preparing to unpack .../09-man-db_2.13.0-1_amd64.deb ... Unpacking man-db (2.13.0-1) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.19-5_amd64.deb ... Unpacking m4 (1.4.19-5) ... Selecting previously unselected package autoconf. Preparing to unpack .../11-autoconf_2.72-3_all.deb ... Unpacking autoconf (2.72-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../12-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../13-automake_1%3a1.17-3_all.deb ... Unpacking automake (1:1.17-3) ... Selecting previously unselected package autopoint. Preparing to unpack .../14-autopoint_0.23.1-1_all.deb ... Unpacking autopoint (0.23.1-1) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../15-libdebhelper-perl_13.24.1_all.deb ... Unpacking libdebhelper-perl (13.24.1) ... Selecting previously unselected package libtool. Preparing to unpack .../16-libtool_2.5.4-3_all.deb ... Unpacking libtool (2.5.4-3) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../17-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../18-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../19-libfile-stripnondeterminism-perl_1.14.1-2_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.14.1-2) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../20-dh-strip-nondeterminism_1.14.1-2_all.deb ... Unpacking dh-strip-nondeterminism (1.14.1-2) ... Selecting previously unselected package libelf1t64:amd64. Preparing to unpack .../21-libelf1t64_0.192-4_amd64.deb ... Unpacking libelf1t64:amd64 (0.192-4) ... Selecting previously unselected package dwz. Preparing to unpack .../22-dwz_0.15-1+b1_amd64.deb ... Unpacking dwz (0.15-1+b1) ... Selecting previously unselected package libunistring5:amd64. Preparing to unpack .../23-libunistring5_1.3-1_amd64.deb ... Unpacking libunistring5:amd64 (1.3-1) ... Selecting previously unselected package libicu72:amd64. Preparing to unpack .../24-libicu72_72.1-6_amd64.deb ... Unpacking libicu72:amd64 (72.1-6) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../25-libxml2_2.12.7+dfsg+really2.9.14-0.2+b1_amd64.deb ... Unpacking libxml2:amd64 (2.12.7+dfsg+really2.9.14-0.2+b1) ... Selecting previously unselected package gettext. Preparing to unpack .../26-gettext_0.23.1-1_amd64.deb ... Unpacking gettext (0.23.1-1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../27-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../28-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../29-debhelper_13.24.1_all.deb ... Unpacking debhelper (13.24.1) ... Setting up libpipeline1:amd64 (1.5.8-1) ... Setting up libicu72:amd64 (72.1-6) ... Setting up bsdextrautils (2.40.4-3) ... Setting up libmagic-mgc (1:5.45-3+b1) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.24.1) ... Setting up libmagic1t64:amd64 (1:5.45-3+b1) ... Setting up gettext-base (0.23.1-1) ... Setting up m4 (1.4.19-5) ... Setting up file (1:5.45-3+b1) ... Setting up libelf1t64:amd64 (0.192-4) ... Setting up autotools-dev (20220109.1) ... Setting up libunistring5:amd64 (1.3-1) ... Setting up autopoint (0.23.1-1) ... Setting up autoconf (2.72-3) ... Setting up dwz (0.15-1+b1) ... Setting up sensible-utils (0.0.24) ... Setting up libuchardet0:amd64 (0.0.8-1+b2) ... Setting up libxml2:amd64 (2.12.7+dfsg+really2.9.14-0.2+b1) ... Setting up automake (1:1.17-3) ... update-alternatives: using /usr/bin/automake-1.17 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.14.1-2) ... Setting up gettext (0.23.1-1) ... Setting up libtool (2.5.4-3) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up dh-strip-nondeterminism (1.14.1-2) ... Setting up groff-base (1.23.0-7) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.13.0-1) ... Not building database; man-db/auto-update is not 'true'. Setting up debhelper (13.24.1) ... Processing triggers for libc-bin (2.40-7) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps I: Building the package I: Running cd /build/reproducible-path/hunt-1.5/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../hunt_1.5-10_source.changes dpkg-buildpackage: info: source package hunt dpkg-buildpackage: info: source version 1.5-10 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Andreas Beckmann dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean dh clean dh_auto_clean make -j42 distclean make[1]: Entering directory '/build/reproducible-path/hunt-1.5' rm -f *.o core c/*.o c/core c/list_test c/hash_test c/array_test rm -f hunt hunt_static make -C tpserv distclean make[2]: Entering directory '/build/reproducible-path/hunt-1.5/tpserv' rm -f *.o rm -f tpserv make[2]: Leaving directory '/build/reproducible-path/hunt-1.5/tpserv' make[1]: Leaving directory '/build/reproducible-path/hunt-1.5' dh_clean debian/rules binary dh binary dh_update_autotools_config dh_autoreconf dh_auto_configure debian/rules override_dh_auto_build make[1]: Entering directory '/build/reproducible-path/hunt-1.5' dh_auto_build make -j42 "INSTALL=install --strip-program=true" make[2]: Entering directory '/build/reproducible-path/hunt-1.5' cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o hunt.o hunt.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o main.o main.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o c/list.o c/list.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o c/hash.o c/hash.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o c/array.o c/array.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o util.o util.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o net.o net.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o rst.o rst.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o menu.o menu.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o hijack.o hijack.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o rstd.o rstd.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o sniff.o sniff.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o macdisc.o macdisc.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tap.o tap.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o arphijack.o arphijack.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tty.o tty.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o synchijack.o synchijack.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o arpspoof.o arpspoof.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o hostup.o hostup.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o addpolicy.o addpolicy.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o options.o options.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o resolv.o resolv.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o timer.o timer.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o pktrelay.o pktrelay.c In file included from c/array.c:10: c/array.c: In function 'array_init': c/array.c:27:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 27 | assert(a->a_arr = malloc(size * sizeof(struct array_item))); | ^ c/list.c: In function '__func_remove_at': c/list.c:252:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 252 | if (nr == (int) m) | ^ c/list.c: In function 'list_remove_at': c/list.c:297:51: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 297 | return __list_remove(l, __func_remove_at, (void *) nr); | ^ menu.c: In function 'menu_choose_mac': menu.c:254:36: warning: pointer targets in passing argument 2 of 'parse_mac' differ in signedness [-Wpointer-sign] 254 | if (parse_mac(buf, mac_ret) == 0) | ^~~~~~~ | | | unsigned char * menu.c:173:32: note: expected 'char *' but argument is of type 'unsigned char *' 173 | int parse_mac(char *buf, char *mac_ret) | ~~~~~~^~~~~~~ menu.c: In function 'menu_choose_ports': menu.c:281:38: warning: pointer targets in passing argument 2 of 'parse_ports' differ in signedness [-Wpointer-sign] 281 | if (parse_ports(buf, ret_ports) == 0) | ^~~~~~~~~ | | | int * menu.c:58:42: note: expected 'unsigned int *' but argument is of type 'int *' 58 | int parse_ports(char *buf, unsigned int *ret_ports) | ~~~~~~~~~~~~~~^~~~~~~~~ net.c: In function 'is_icmp_reply': net.c:189:24: warning: variable 'seq' set but not used [-Wunused-but-set-variable] 189 | unsigned short seq, id; | ^~~ menu.c: In function 'menu_choose_host_mask_ports_dfl': menu.c:347:43: warning: pointer targets in passing argument 1 of 'sprintf_db_ports' differ in signedness [-Wpointer-sign] 347 | buf_p += sprintf_db_ports(dfl_ports, buf_p, | ^~~~~~~~~ | | | int * In file included from menu.c:9: hunt.h:415:36: note: expected 'unsigned int *' but argument is of type 'int *' 415 | int sprintf_db_ports(unsigned int *ports, char *buf, int buf_size, int all); | ~~~~~~~~~~~~~~^~~~~ macdisc.c: In function 'mac_discover': macdisc.c:40:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 40 | as.src_mac = my_eth_mac; | ^ macdisc.c:41:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 41 | as.dst_mac = mac_broadcast; | ^ macdisc.c:43:23: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 43 | as.sender_mac = my_eth_mac; | ^ macdisc.c:45:23: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 45 | as.target_mac = mac_zero; | ^ menu.c: In function 'menu': rst.c: In function 'rst': rst.c:60:28: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 60 | ts.src_mac = ci->dst.dst_mac; | ^ menu.c:522:26: warning: field width specifier '*' expects argument of type 'int', but argument 2 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 522 | printf("%*s", strlen(head) + 9, " "); | ~^~ ~~~~~~~~~~~~~~~~ | | | | int size_t {aka long unsigned int} rst.c:61:28: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 61 | ts.dst_mac = ci->dst.src_mac; | ^ rst.c:69:28: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 69 | ts.src_mac = ci->src.dst_mac; | ^ rst.c:70:28: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 70 | ts.dst_mac = ci->src.src_mac; | ^ rstd.c: In function 'func_tcp_packet': rstd.c:86:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 86 | p->p_arg[MODULE_RSTD] = (void *) dbi->rst_mode; | ^ rstd.c: In function 'rst_daemon_thr': rstd.c:140:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 140 | rst_mode = (int) p->p_arg[MODULE_RSTD]; | ^ hijack.c: In function 'fast_ack_to_dst': hijack.c:89:36: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 89 | ts.src_mac = ci->src.src_mac; | ^ hijack.c:90:36: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 90 | ts.dst_mac = ci->dst.src_mac; | ^ rstd.c: In function 'rst_add_item': rstd.c:265:44: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 265 | &src_mask, src_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ | | | int * menu.c: In function 'menu_prompt': menu.c:33:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 33 | fgets(buf, buf_size, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from rstd.c:9: hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ hijack.c: In function 'stormack_hijack': hijack.c:223:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 223 | ts.src_mac = ci->dst.dst_mac; | ^ hijack.c:224:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 224 | ts.dst_mac = ci->dst.src_mac; | ^ rstd.c:268:44: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 268 | &dst_mask, dst_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ | | | int * hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ hunt.c: In function 'conn_add_update': arphijack.c: In function 'watch_tty': arphijack.c:81:28: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 81 | ts.dst_mac = wtd->ci->dst.src_mac; | ^ main.c: In function 'a_hijack': hunt.c:393:51: warning: variable 'h_dst' set but not used [-Wunused-but-set-variable] 393 | struct host_info *h_src, *h_dst; | ^~~~~ main.c:350:48: warning: pointer targets in passing argument 2 of 'user_arp_hijack' differ in signedness [-Wpointer-sign] 350 | retval = user_arp_hijack(&uci, src_fake_mac, dst_fake_mac, input_mode); | ^~~~~~~~~~~~ | | | unsigned char * In file included from main.c:9: hunt.h:503:55: note: expected 'char *' but argument is of type 'unsigned char *' 503 | int user_arp_hijack(struct user_conn_info *uci, char *src_fake_mac, | ~~~~~~^~~~~~~~~~~~ rstd.c:281:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 281 | port_htons(src_ports); | ^~~~~~~~~ | | | int * hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ arphijack.c: In function 'arp_hijack': arphijack.c:122:54: warning: pointer targets in passing argument 3 of 'start_arp_spoof' differ in signedness [-Wpointer-sign] 122 | ci->src.src_mac, ci->dst.src_mac, | ~~~~~~~^~~~~~~~ | | | unsigned char * main.c:350:62: warning: pointer targets in passing argument 3 of 'user_arp_hijack' differ in signedness [-Wpointer-sign] 350 | retval = user_arp_hijack(&uci, src_fake_mac, dst_fake_mac, input_mode); | ^~~~~~~~~~~~ | | | unsigned char * hunt.h:504:27: note: expected 'char *' but argument is of type 'unsigned char *' 504 | char *dst_fake_mac, int input_mode); | ~~~~~~^~~~~~~~~~~~ rstd.c:285:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 285 | port_htons(dst_ports); | ^~~~~~~~~ | | | int * hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ In file included from arphijack.c:9: hunt.h:522:23: note: expected 'char *' but argument is of type 'unsigned char *' 522 | char *src_mac, char *dst_mac, char *src_fake_mac, | ~~~~~~^~~~~~~ arphijack.c:122:71: warning: pointer targets in passing argument 4 of 'start_arp_spoof' differ in signedness [-Wpointer-sign] 122 | ci->src.src_mac, ci->dst.src_mac, | ~~~~~~~^~~~~~~~ | | | unsigned char * hunt.h:522:38: note: expected 'char *' but argument is of type 'unsigned char *' 522 | char *src_mac, char *dst_mac, char *src_fake_mac, | ~~~~~~^~~~~~~ menu.c: In function 'menu_choose_char_nconn': main.c:373:38: warning: pointer targets in passing argument 1 of 'user_arp_hijack_done' differ in signedness [-Wpointer-sign] 373 | user_arp_hijack_done(src_fake_mac, dst_fake_mac); | ^~~~~~~~~~~~ | | | unsigned char * rstd.c: In function 'rst_mod_item': hunt.h:505:33: note: expected 'char *' but argument is of type 'unsigned char *' 505 | void user_arp_hijack_done(char *src_fake_mac, char *dst_fake_mac); | ~~~~~~^~~~~~~~~~~~ menu.c:426:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 426 | fgets(buf, sizeof(buf), stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rstd.c:314:49: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 314 | &src_ip, &src_mask, src_ports, | ^~~~~~~~~ | | | int * arphijack.c:143:54: warning: pointer targets in passing argument 3 of 'start_arp_spoof' differ in signedness [-Wpointer-sign] 143 | ci->dst.src_mac, ci->src.src_mac, | ~~~~~~~^~~~~~~~ | | | unsigned char * hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ hunt.h:522:23: note: expected 'char *' but argument is of type 'unsigned char *' 522 | char *src_mac, char *dst_mac, char *src_fake_mac, | ~~~~~~^~~~~~~ main.c:373:52: warning: pointer targets in passing argument 2 of 'user_arp_hijack_done' differ in signedness [-Wpointer-sign] 373 | user_arp_hijack_done(src_fake_mac, dst_fake_mac); | ^~~~~~~~~~~~ | | | unsigned char * hunt.h:505:53: note: expected 'char *' but argument is of type 'unsigned char *' 505 | void user_arp_hijack_done(char *src_fake_mac, char *dst_fake_mac); | ~~~~~~^~~~~~~~~~~~ arphijack.c:143:71: warning: pointer targets in passing argument 4 of 'start_arp_spoof' differ in signedness [-Wpointer-sign] 143 | ci->dst.src_mac, ci->src.src_mac, | ~~~~~~~^~~~~~~~ | | | unsigned char * hunt.h:522:38: note: expected 'char *' but argument is of type 'unsigned char *' 522 | char *src_mac, char *dst_mac, char *src_fake_mac, | ~~~~~~^~~~~~~ rstd.c:315:62: warning: pointer targets in passing argument 7 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 315 | dbi->src_addr, dbi->src_mask, dbi->src_ports) < 0) | ~~~^~~~~~~~~~~ | | | unsigned int * hunt.h:372:66: note: expected 'int *' but argument is of type 'unsigned int *' 372 | unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); | ~~~~~^~~~~~~~~ menu.c: In function 'menu_choose_string': rstd.c:318:49: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 318 | &dst_ip, &dst_mask, dst_ports, | ^~~~~~~~~ | | | int * hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ arphijack.c:169:26: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 169 | wtd.src_fake_mac = asi_src ? asi_src->src_fake_mac : ci->src.src_mac; | ^ rstd.c:319:62: warning: pointer targets in passing argument 7 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 319 | dbi->dst_addr, dbi->dst_mask, dbi->dst_ports) < 0) | ~~~^~~~~~~~~~~ | | | unsigned int * hunt.h:372:66: note: expected 'int *' but argument is of type 'unsigned int *' 372 | unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); | ~~~~~^~~~~~~~~ menu.c:487:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 487 | fgets(buf, sizeof(buf), stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arpspoof.c: In function 'send_src_spoof_to_dst': rstd.c:326:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 326 | port_htons(src_ports); | ^~~~~~~~~ | | | int * hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ arpspoof.c:85:24: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 85 | as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : asi->src_fake_mac; | ^ arpspoof.c:86:24: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 86 | as_dst.dst_mac = asi->dst_mac; | ^ rstd.c:327:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 327 | port_htons(dst_ports); | ^~~~~~~~~ | | | int * hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ arpspoof.c:88:27: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 88 | as_dst.sender_mac = asi->src_fake_mac; | ^ arpspoof.c:90:27: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 90 | as_dst.target_mac = asi->dst_mac; | ^ arphijack.c:200:44: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 200 | ts.src_mac = asi_src ? asi_src->src_fake_mac : | ^ arpspoof.c: In function 'send_src_spoof_to_dst_through_request': arpspoof.c:117:24: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 117 | as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : asi->src_fake_mac; | ^ arphijack.c:202:44: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 202 | ts.dst_mac = ci->dst.src_mac; | ^ arpspoof.c:118:24: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 118 | as_dst.dst_mac = asi->dst_mac; /* don't use broadcast - we want that it is received only by the target */ | ^ arpspoof.c:120:27: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 120 | as_dst.sender_mac = asi->src_fake_mac; | ^ arpspoof.c:122:27: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 122 | as_dst.target_mac = mac_zero; | ^ arphijack.c:224:44: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 224 | ts.src_mac = asi_dst ? asi_dst->src_fake_mac : | ^ hunt.c: In function 'mac_arp_learn': arphijack.c:226:44: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 226 | ts.dst_mac = ci->src.src_mac; | ^ main.c: In function 'main': hunt.c:696:21: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 696 | mac = arpethh->ar_sha; | ^ main.c:509:70: warning: backslash and newline separated by space 509 | fprintf(stderr, "Network interface %s does not have "\ synchijack.c: In function 'hijack_sync_init_msg': synchijack.c:153:28: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 153 | ts.src_mac = ci->src.dst_mac; | ^ hunt.c: In function 'mac_ip_learn': synchijack.c:154:28: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 154 | ts.dst_mac = ci->src.src_mac; | ^ hunt.c:710:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 710 | mac = p->p_ethh->h_source; | ^ synchijack.c: In function 'need_read_write_negative': synchijack.c:220:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 220 | ts.src_mac = ci->dst.dst_mac; | ^ synchijack.c:221:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 221 | ts.dst_mac = ci->dst.src_mac; | ^ synchijack.c: In function 'need_write_positive': synchijack.c:245:28: warning: format '%f' expects argument of type 'double', but argument 3 has type 'char *' [-Wformat=] 245 | sprintf(fin_msg, "%f%", suggest_sync_msg(0)); | ~^ ~~~~~~~~~~~~~~~~~~~ | | | | | char * | double | %s synchijack.c:245:29: warning: spurious trailing '%' in format [-Wformat=] 245 | sprintf(fin_msg, "%f%", suggest_sync_msg(0)); | ^ hostup.c: In function 'perform_ping': hostup.c:87:63: warning: pointer targets in passing argument 3 of 'send_icmp_request' differ in signedness [-Wpointer-sign] 87 | ip, my_eth_mac, | ^~~~~~~~~~ | | | unsigned char * addpolicy.c: In function 'addpolicy_add_item': In file included from hostup.c:9: hunt.h:698:30: note: expected 'char *' but argument is of type 'unsigned char *' 698 | char *src_mac, char *dst_mac, unsigned short seq); | ~~~~~~^~~~~~~ addpolicy.c:113:44: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 113 | &src_mask, src_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ | | | int * hostup.c:93:49: warning: pointer targets in passing argument 3 of 'send_icmp_request' differ in signedness [-Wpointer-sign] 93 | my_eth_mac, fake_mac, htons(j + 2000)); | ^~~~~~~~~~ | | | unsigned char * hunt.h:698:30: note: expected 'char *' but argument is of type 'unsigned char *' 698 | char *src_mac, char *dst_mac, unsigned short seq); | ~~~~~~^~~~~~~ In file included from addpolicy.c:9: hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ hostup.c:93:61: warning: pointer targets in passing argument 4 of 'send_icmp_request' differ in signedness [-Wpointer-sign] 93 | my_eth_mac, fake_mac, htons(j + 2000)); | ^~~~~~~~ | | | unsigned char * hunt.h:698:45: note: expected 'char *' but argument is of type 'unsigned char *' 698 | char *src_mac, char *dst_mac, unsigned short seq); | ~~~~~~^~~~~~~ addpolicy.c:116:44: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 116 | &dst_mask, dst_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ | | | int * hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ hostup.c:106:52: warning: pointer targets in passing argument 4 of 'is_icmp_reply' differ in signedness [-Wpointer-sign] 106 | p->p_ethh->h_source, my_eth_mac) || | ~~~~~~~~~^~~~~~~~~~ | | | unsigned char * hunt.h:700:25: note: expected 'char *' but argument is of type 'unsigned char *' 700 | char *src_mac, char *dst_mac); | ~~~~~~^~~~~~~ arpspoof.c: In function 'stop_arp_spoof': hostup.c:106:64: warning: pointer targets in passing argument 5 of 'is_icmp_reply' differ in signedness [-Wpointer-sign] 106 | p->p_ethh->h_source, my_eth_mac) || | ^~~~~~~~~~ | | | unsigned char * addpolicy.c:125:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 125 | port_htons(src_ports); | ^~~~~~~~~ | | | int * hunt.h:700:40: note: expected 'char *' but argument is of type 'unsigned char *' 700 | char *src_mac, char *dst_mac); | ~~~~~~^~~~~~~ synchijack.c:279:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 279 | ts.src_mac = ci->src.dst_mac; | ^ hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ hostup.c:108:43: warning: pointer targets in passing argument 4 of 'is_icmp_reply' differ in signedness [-Wpointer-sign] 108 | fake_mac, my_eth_mac))) { | ^~~~~~~~ | | | unsigned char * hunt.h:700:25: note: expected 'char *' but argument is of type 'unsigned char *' 700 | char *src_mac, char *dst_mac); | ~~~~~~^~~~~~~ hostup.c:108:53: warning: pointer targets in passing argument 5 of 'is_icmp_reply' differ in signedness [-Wpointer-sign] 108 | fake_mac, my_eth_mac))) { | ^~~~~~~~~~ | | | unsigned char * addpolicy.c:129:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 129 | port_htons(dst_ports); | ^~~~~~~~~ | | | int * hunt.h:700:40: note: expected 'char *' but argument is of type 'unsigned char *' 700 | char *src_mac, char *dst_mac); | ~~~~~~^~~~~~~ hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ synchijack.c:280:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 280 | ts.dst_mac = ci->src.src_mac; | ^ arpspoof.c:543:40: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 543 | as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : | ^ hostup.c: In function 'send_arp_message': addpolicy.c: In function 'addpolicy_mod_item': hostup.c:125:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 125 | as.src_mac = my_eth_mac; | ^ addpolicy.c:150:49: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 150 | &src_ip, &src_mask, src_ports, | ^~~~~~~~~ | | | int * hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ hostup.c:128:23: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 128 | as.sender_mac = my_eth_mac; | ^ addpolicy.c:151:62: warning: pointer targets in passing argument 7 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 151 | api->src_addr, api->src_mask, api->src_ports) < 0) | ~~~^~~~~~~~~~~ | | | unsigned int * hostup.c:130:23: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 130 | as.target_mac = mac_zero; | ^ hunt.h:372:66: note: expected 'int *' but argument is of type 'unsigned int *' 372 | unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); | ~~~~~^~~~~~~~~ arpspoof.c:546:40: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 546 | as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : | ^ addpolicy.c:154:49: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 154 | &dst_ip, &dst_mask, dst_ports, | ^~~~~~~~~ | | | int * hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ addpolicy.c:155:62: warning: pointer targets in passing argument 7 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 155 | api->dst_addr, api->dst_mask, api->dst_ports) < 0) | ~~~^~~~~~~~~~~ | | | unsigned int * hunt.h:372:66: note: expected 'int *' but argument is of type 'unsigned int *' 372 | unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); | ~~~~~^~~~~~~~~ synchijack.c: In function 'need_read_positive': main.c: In function 'simple_hijack': hostup.c: In function 'perform_arp': addpolicy.c:157:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 157 | port_htons(src_ports); | ^~~~~~~~~ | | | int * hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ hostup.c:159:62: warning: pointer targets in passing argument 2 of 'send_arp_message' differ in signedness [-Wpointer-sign] 159 | send_arp_message(ip, mac_broadcast); | ^~~~~~~~~~~~~ | | | unsigned char * addpolicy.c:158:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 158 | port_htons(dst_ports); | ^~~~~~~~~ | | | int * main.c:250:25: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 250 | fgets(cmdbuf, sizeof(cmdbuf), stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arpspoof.c:548:32: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 548 | as_dst.dst_mac = asi->dst_mac; | ^ hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ hostup.c:121:53: note: expected 'char *' but argument is of type 'unsigned char *' 121 | static void send_arp_message(unsigned int ip, char *dst_mac) | ~~~~~~^~~~~~~ synchijack.c:307:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 307 | ts.src_mac = ci->src.dst_mac; | ^ hostup.c:161:62: warning: pointer targets in passing argument 2 of 'send_arp_message' differ in signedness [-Wpointer-sign] 161 | send_arp_message(ip, fake_mac); | ^~~~~~~~ | | | unsigned char * hostup.c:121:53: note: expected 'char *' but argument is of type 'unsigned char *' 121 | static void send_arp_message(unsigned int ip, char *dst_mac) | ~~~~~~^~~~~~~ arpspoof.c:550:35: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 550 | as_dst.sender_mac = asi_src_mac; | ^ synchijack.c:308:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 308 | ts.dst_mac = ci->src.src_mac; | ^ sniff.c: In function 'sniff_item_print': sniff.c:128:28: warning: pointer targets in passing argument 1 of 'sprintf_db_ports' differ in signedness [-Wpointer-sign] 128 | sprintf_db_ports(si->src_ports, buf_src_ports, sizeof(buf_src_ports), 1); | ~~^~~~~~~~~~~ | | | int * In file included from sniff.c:9: hunt.h:415:36: note: expected 'unsigned int *' but argument is of type 'int *' 415 | int sprintf_db_ports(unsigned int *ports, char *buf, int buf_size, int all); | ~~~~~~~~~~~~~~^~~~~ sniff.c:129:28: warning: pointer targets in passing argument 1 of 'sprintf_db_ports' differ in signedness [-Wpointer-sign] 129 | sprintf_db_ports(si->dst_ports, buf_dst_ports, sizeof(buf_dst_ports), 1); | ~~^~~~~~~~~~~ | | | int * arpspoof.c:552:35: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 552 | as_dst.target_mac = asi->dst_mac; | ^ hunt.h:415:36: note: expected 'unsigned int *' but argument is of type 'int *' 415 | int sprintf_db_ports(unsigned int *ports, char *buf, int buf_size, int all); | ~~~~~~~~~~~~~~^~~~~ tap.c: In function 'get_ifc_info': arpspoof.c:565:40: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 565 | as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : | ^ tap.c:135:31: warning: pointer targets in passing argument 1 of 'print_eth_mac' differ in signedness [-Wpointer-sign] 135 | print_eth_mac(mac); | ^~~ | | | char * In file included from tap.c:31: hunt.h:421:34: note: expected 'unsigned char *' but argument is of type 'char *' 421 | int print_eth_mac(unsigned char *mac); | ~~~~~~~~~~~~~~~^~~ synchijack.c: In function 'f_hijack_sync': arpspoof.c:568:40: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 568 | as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : | ^ synchijack.c:419:44: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 419 | ts.src_mac = ci->dst.dst_mac; | ^ arpspoof.c:570:32: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 570 | as_dst.src_mac = asi->src_mac; | ^ sniff.c: In function 'sniff_packet_match': synchijack.c:420:44: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 420 | ts.dst_mac = ci->dst.src_mac; | ^ sniff.c:174:41: warning: pointer targets in passing argument 2 of 'port_match' differ in signedness [-Wpointer-sign] 174 | port_match(tcph->source, si->src_ports) && | ~~^~~~~~~~~~~ | | | int * hunt.h:427:40: note: expected 'unsigned int *' but argument is of type 'int *' 427 | int port_match(int port, unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ sniff.c:175:39: warning: pointer targets in passing argument 2 of 'port_match' differ in signedness [-Wpointer-sign] 175 | port_match(tcph->dest, si->dst_ports)) | ~~^~~~~~~~~~~ | | | int * hunt.h:427:40: note: expected 'unsigned int *' but argument is of type 'int *' 427 | int port_match(int port, unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ hostup.c: In function 'host_up': hostup.c:299:33: warning: pointer targets in passing argument 1 of 'sprintf_eth_mac' differ in signedness [-Wpointer-sign] 299 | sprintf_eth_mac(buf_mac, suggest_mac()); | ^~~~~~~ | | | unsigned char * arpspoof.c:571:32: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 571 | as_dst.dst_mac = asi->dst_mac; | ^ hunt.c: In function 'print_mac_table': hunt.h:422:27: note: expected 'char *' but argument is of type 'unsigned char *' 422 | int sprintf_eth_mac(char *b, unsigned char *mac); | ~~~~~~^ sniff.c:181:41: warning: pointer targets in passing argument 2 of 'port_match' differ in signedness [-Wpointer-sign] 181 | port_match(tcph->source, si->dst_ports) && | ~~^~~~~~~~~~~ | | | int * hunt.h:427:40: note: expected 'unsigned int *' but argument is of type 'int *' 427 | int port_match(int port, unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ sniff.c:182:39: warning: pointer targets in passing argument 2 of 'port_match' differ in signedness [-Wpointer-sign] 182 | port_match(tcph->dest, si->src_ports)) | ~~^~~~~~~~~~~ | | | int * hunt.h:427:40: note: expected 'unsigned int *' but argument is of type 'int *' 427 | int port_match(int port, unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ hostup.c:300:84: warning: pointer targets in passing argument 3 of 'menu_choose_mac' differ in signedness [-Wpointer-sign] 300 | if (menu_choose_mac("choose unused MAC in your network", fake_mac, buf_mac) >= 0) { | ^~~~~~~ | | | unsigned char * arpspoof.c:573:35: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 573 | as_dst.sender_mac = asi_src_mac; | ^ hunt.h:365:64: note: expected 'char *' but argument is of type 'unsigned char *' 365 | int menu_choose_mac(char *label, unsigned char *mac_ret, char *dfl); | ~~~~~~^~~ hunt.c:1016:40: warning: pointer targets in passing argument 2 of 'sprintf_eth_mac' differ in signedness [-Wpointer-sign] 1016 | sprintf_eth_mac(buf, mi->mac); | ~~^~~~~ | | | char * arpspoof.c:575:35: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 575 | as_dst.target_mac = mac_zero; | ^ In file included from hunt.c:9: hunt.h:422:45: note: expected 'unsigned char *' but argument is of type 'char *' 422 | int sprintf_eth_mac(char *b, unsigned char *mac); | ~~~~~~~~~~~~~~~^~~ synchijack.c: In function 'hijack_sync': hostup.c:314:33: warning: pointer targets in passing argument 1 of 'sprintf_eth_mac' differ in signedness [-Wpointer-sign] 314 | sprintf_eth_mac(buf_mac, suggest_mac()); | ^~~~~~~ | | | unsigned char * hunt.h:422:27: note: expected 'char *' but argument is of type 'unsigned char *' 422 | int sprintf_eth_mac(char *b, unsigned char *mac); | ~~~~~~^ synchijack.c:464:25: warning: variable 'absts' set but not used [-Wunused-but-set-variable] 464 | struct timespec absts; | ^~~~~ hostup.c:315:84: warning: pointer targets in passing argument 3 of 'menu_choose_mac' differ in signedness [-Wpointer-sign] 315 | if (menu_choose_mac("choose unused MAC in your network", fake_mac, buf_mac) >= 0) { | ^~~~~~~ | | | unsigned char * hunt.h:365:64: note: expected 'char *' but argument is of type 'unsigned char *' 365 | int menu_choose_mac(char *label, unsigned char *mac_ret, char *dfl); | ~~~~~~^~~ arpspoof.c: In function 'arp_spoof_range_list': arpspoof.c:951:41: warning: pointer targets in passing argument 2 of 'sprintf_eth_mac' differ in signedness [-Wpointer-sign] 951 | sprintf_eth_mac(buf, asr->src_fake_mac); | ~~~^~~~~~~~~~~~~~ | | | char * In file included from arpspoof.c:9: hunt.h:422:45: note: expected 'unsigned char *' but argument is of type 'char *' 422 | int sprintf_eth_mac(char *b, unsigned char *mac); | ~~~~~~~~~~~~~~~^~~ sniff.c: In function 'sniff_add_item': sniff.c:664:25: warning: pointer targets in passing argument 3 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 664 | &src_mask, src_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ | | | int * hunt.h:371:31: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~ arpspoof.c: In function 'arp_spoof_add_item': sniff.c:664:36: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 664 | &src_mask, src_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ | | | int * hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ sniff.c:667:25: warning: pointer targets in passing argument 3 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 667 | &dst_mask, dst_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ | | | int * hunt.h:371:31: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~ arpspoof.c:1008:71: warning: pointer targets in passing argument 5 of 'start_arp_spoof' differ in signedness [-Wpointer-sign] 1008 | mi_dst ? mi_dst->mac : NULL, src_fake_mac, | ^~~~~~~~~~~~ | | | unsigned char * arpspoof.c:398:53: note: expected 'char *' but argument is of type 'unsigned char *' 398 | char *src_mac, char *dst_mac, char *src_fake_mac, | ~~~~~~^~~~~~~~~~~~ sniff.c:667:36: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 667 | &dst_mask, dst_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ | | | int * hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ sniff.c:705:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 705 | port_htons(src_ports); | ^~~~~~~~~ | | | int * hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ sniff.c:709:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 709 | port_htons(dst_ports); | ^~~~~~~~~ | | | int * hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ arpspoof.c: In function 'arp_spoof_add_h': sniff.c: In function 'sniff_mod_item': arpspoof.c:1163:84: warning: pointer targets in passing argument 5 of 'start_arp_spoof' differ in signedness [-Wpointer-sign] 1163 | asi_src_in_dst = start_arp_spoof(src_ip, dst_ip, mi_src->mac, mi_dst->mac, src_fake_mac, | ^~~~~~~~~~~~ | | | unsigned char * sniff.c:747:38: warning: pointer targets in passing argument 3 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 747 | &src_ip, &src_mask, src_ports, | ^~~~~~~~~ | | | int * hunt.h:371:31: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~ arpspoof.c:398:53: note: expected 'char *' but argument is of type 'unsigned char *' 398 | char *src_mac, char *dst_mac, char *src_fake_mac, | ~~~~~~^~~~~~~~~~~~ sniff.c:747:49: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 747 | &src_ip, &src_mask, src_ports, | ^~~~~~~~~ | | | int * hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ arpspoof.c:1165:84: warning: pointer targets in passing argument 5 of 'start_arp_spoof' differ in signedness [-Wpointer-sign] 1165 | asi_dst_in_src = start_arp_spoof(dst_ip, src_ip, mi_dst->mac, mi_src->mac, dst_fake_mac, | ^~~~~~~~~~~~ | | | unsigned char * arpspoof.c:398:53: note: expected 'char *' but argument is of type 'unsigned char *' 398 | char *src_mac, char *dst_mac, char *src_fake_mac, | ~~~~~~^~~~~~~~~~~~ sniff.c:751:38: warning: pointer targets in passing argument 3 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 751 | &dst_ip, &dst_mask, dst_ports, | ^~~~~~~~~ | | | int * hunt.h:371:31: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~ sniff.c:751:49: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 751 | &dst_ip, &dst_mask, dst_ports, | ^~~~~~~~~ | | | int * hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ sniff.c:770:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 770 | port_htons(src_ports); | ^~~~~~~~~ | | | int * hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ sniff.c:771:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 771 | port_htons(dst_ports); | ^~~~~~~~~ | | | int * hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ arpspoof.c: In function 'arpspoof_test': arpspoof.c:1390:68: warning: pointer targets in passing argument 3 of 'send_icmp_request' differ in signedness [-Wpointer-sign] 1390 | send_icmp_request(asi->src_addr, asi->dst_addr, asi->src_fake_mac, | ~~~^~~~~~~~~~~~~~ | | | unsigned char * hunt.h:698:30: note: expected 'char *' but argument is of type 'unsigned char *' 698 | char *src_mac, char *dst_mac, unsigned short seq); | ~~~~~~^~~~~~~ arpspoof.c:1391:38: warning: pointer targets in passing argument 4 of 'send_icmp_request' differ in signedness [-Wpointer-sign] 1391 | asi->dst_mac, 1 + i); | ~~~^~~~~~~~~ | | | unsigned char * hunt.h:698:45: note: expected 'char *' but argument is of type 'unsigned char *' 698 | char *src_mac, char *dst_mac, unsigned short seq); | ~~~~~~^~~~~~~ arpspoof.c:1397:51: warning: pointer targets in passing argument 4 of 'is_icmp_reply' differ in signedness [-Wpointer-sign] 1397 | asi->dst_mac, asi->src_fake_mac); | ~~~^~~~~~~~~ | | | unsigned char * hunt.h:700:25: note: expected 'char *' but argument is of type 'unsigned char *' 700 | char *src_mac, char *dst_mac); | ~~~~~~^~~~~~~ arpspoof.c:1397:65: warning: pointer targets in passing argument 5 of 'is_icmp_reply' differ in signedness [-Wpointer-sign] 1397 | asi->dst_mac, asi->src_fake_mac); | ~~~^~~~~~~~~~~~~~ | | | unsigned char * hunt.h:700:40: note: expected 'char *' but argument is of type 'unsigned char *' 700 | char *src_mac, char *dst_mac); | ~~~~~~^~~~~~~ addpolicy.c: In function 'addpolicy_item_print': addpolicy.c:79:35: warning: '%s' directive writing up to 511 bytes into a region of size 508 [-Wformat-overflow=] 79 | sprintf(host_buf, "%s/%d [%s]", host_lookup(api->src_addr, hl_mode), | ^~ 80 | count_mask(api->src_mask), buf_src_ports); | ~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:970, from addpolicy.c:10: In function 'sprintf', inlined from 'addpolicy_item_print' at addpolicy.c:79:2: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 517) into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ net.c: In function 'send_tcp_packet': net.c:85:9: warning: '__builtin_strncpy' specified bound 14 equals destination size [-Wstringop-truncation] 85 | strncpy(spkt.sa_data, eth_device, sizeof(spkt.sa_data)); | ^ resolv.c: In function 'update_thr': resolv.c:131:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 131 | int fd = (int) arg; | ^ net.c: In function 'send_icmp_packet': net.c:151:9: warning: '__builtin_strncpy' specified bound 14 equals destination size [-Wstringop-truncation] 151 | strncpy(spkt.sa_data, eth_device, sizeof(spkt.sa_data)); | ^ pktrelay.c: In function 'relay_add_item': pktrelay.c:270:44: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 270 | &src_mask, src_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ | | | int * In file included from pktrelay.c:9: hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ pktrelay.c:273:44: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 273 | &dst_mask, dst_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ | | | int * hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ pktrelay.c:294:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 294 | port_htons(src_ports); | ^~~~~~~~~ | | | int * hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ pktrelay.c:298:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 298 | port_htons(dst_ports); | ^~~~~~~~~ | | | int * hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ pktrelay.c: In function 'relay_mod_item': pktrelay.c:334:49: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 334 | &src_ip, &src_mask, src_ports, | ^~~~~~~~~ | | | int * resolv.c: In function 'resolv_init': hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ pktrelay.c:335:59: warning: pointer targets in passing argument 7 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 335 | ri->src_addr, ri->src_mask, ri->src_ports) < 0) | ~~^~~~~~~~~~~ | | | unsigned int * resolv.c:485:59: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 485 | pthread_create(&res_update_thr, NULL, update_thr, (void *) fd_req); | ^ hunt.h:372:66: note: expected 'int *' but argument is of type 'unsigned int *' 372 | unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); | ~~~~~^~~~~~~~~ pktrelay.c:338:49: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 338 | &dst_ip, &dst_mask, dst_ports, | ^~~~~~~~~ | | | int * hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ pktrelay.c:339:59: warning: pointer targets in passing argument 7 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 339 | ri->dst_addr, ri->dst_mask, ri->dst_ports) < 0) | ~~^~~~~~~~~~~ | | | unsigned int * hunt.h:372:66: note: expected 'int *' but argument is of type 'unsigned int *' 372 | unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); | ~~~~~^~~~~~~~~ rstd.c: In function 'db_item_print': rstd.c:228:30: warning: '%s' directive writing up to 511 bytes into a region of size 508 [-Wformat-overflow=] 228 | sprintf(buf, "%s/%d [%s]", host_lookup(dbi->src_addr, hl_mode), | ^~ 229 | count_mask(dbi->src_mask), buf_src_ports); | ~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:970, from rstd.c:10: In function 'sprintf', inlined from 'db_item_print' at rstd.c:228:2: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 517) into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pktrelay.c:367:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 367 | port_htons(src_ports); | ^~~~~~~~~ | | | int * hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ pktrelay.c:368:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 368 | port_htons(dst_ports); | ^~~~~~~~~ | | | int * hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ resolv.c: In function 'resolv_request': resolv.c:105:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 105 | write(fd_req, &req, sizeof(struct req)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resolv.c: In function 'handle_response': resolv.c:337:25: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 337 | read(sl->s_fd, res + 1, res->name_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resolv.c:339:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 339 | write(fd, buf, sizeof(struct res) + res->name_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resolv.c: In function 'send_req_to_slave': resolv.c:257:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 257 | write(sl->s_fd, &req, sizeof(struct req)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resolv.c:285:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 285 | write(sl->s_fd, &req, sizeof(struct req)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resolv.c: In function 'resolv_slave': resolv.c:226:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 226 | write(fd, res, sizeof(struct res) + res->name_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sniff.c: In function 'sniff_item_print': sniff.c:135:35: warning: '%s' directive writing up to 511 bytes into a region of size 508 [-Wformat-overflow=] 135 | sprintf(host_buf, "%s/%d [%s]", host_lookup(si->src_addr, hl_mode), | ^~ 136 | count_mask(si->src_mask), buf_src_ports); | ~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:970, from sniff.c:12: In function 'sprintf', inlined from 'sniff_item_print' at sniff.c:135:2: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 517) into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ net.c: In function 'send_arp_packet': net.c:246:9: warning: '__builtin_strncpy' specified bound 14 equals destination size [-Wstringop-truncation] 246 | strncpy(spkt.sa_data, eth_device, sizeof(spkt.sa_data)); | ^ net.c: In function 'send_packet': net.c:274:9: warning: '__builtin_strncpy' specified bound 14 equals destination size [-Wstringop-truncation] 274 | strncpy(spkt.sa_data, eth_device, sizeof(spkt.sa_data)); | ^ pktrelay.c: In function 'relay_item_print': pktrelay.c:225:30: warning: '%s' directive writing up to 511 bytes into a region of size 508 [-Wformat-overflow=] 225 | sprintf(buf, "%s/%d [%s]", host_lookup(ri->src_addr, hl_mode), | ^~ 226 | count_mask(ri->src_mask), buf_src_ports); | ~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:970, from pktrelay.c:12: In function 'sprintf', inlined from 'relay_item_print' at pktrelay.c:225:2: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 517) into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sniff.c: In function 'sniffer_log_print': sniff.c:236:56: warning: '%d' directive writing between 1 and 10 bytes into a region of size between 0 and 511 [-Wformat-overflow=] 236 | sprintf(file_name, "%s_%d", file_name_buf, ++i); | ^~ sniff.c:236:52: note: directive argument in the range [1, 2147483647] 236 | sprintf(file_name, "%s_%d", file_name_buf, ++i); | ^~~~~~~ In function 'sprintf', inlined from 'sniffer_log_print' at sniff.c:236:5: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 3 and 523 bytes into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cc -Wl,-z,relro -Wl,-z,now -o hunt hunt.o main.o c/list.o c/hash.o c/array.o util.o net.o rst.o menu.o hijack.o rstd.o sniff.o macdisc.o tap.o arphijack.o tty.o synchijack.o arpspoof.o hostup.o addpolicy.o options.o resolv.o timer.o pktrelay.o -lpthread make[2]: Leaving directory '/build/reproducible-path/hunt-1.5' dh_auto_build --sourcedirectory=tpserv cd tpserv && make -j42 "INSTALL=install --strip-program=true" make[2]: Entering directory '/build/reproducible-path/hunt-1.5/tpserv' cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -ffile-prefix-map=/build/reproducible-path/hunt-1.5/tpserv=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tpserv.o tpserv.c tpserv.c: In function 'main': tpserv.c:337:75: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] 337 | clifd = accept(lfd, (struct sockaddr *) &cliaddr, &clilen); | ^~~~~~~ | | | int * In file included from tpserv.c:11: /usr/include/x86_64-linux-gnu/sys/socket.h:307:42: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 307 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ tpserv.c:328:17: warning: ignoring return value of 'daemon' declared with attribute 'warn_unused_result' [-Wunused-result] 328 | daemon(0, 0); | ^~~~~~~~~~~~ cc -Wl,-z,relro -Wl,-z,now -o tpserv tpserv.o make[2]: Leaving directory '/build/reproducible-path/hunt-1.5/tpserv' make[1]: Leaving directory '/build/reproducible-path/hunt-1.5' dh_auto_test create-stamp debian/debhelper-build-stamp dh_prep dh_auto_install --destdir=debian/hunt/ dh_install dh_installdocs dh_installchangelogs dh_installman dh_perl dh_link dh_strip_nondeterminism dh_compress dh_fixperms dh_missing dh_dwz -a dwz: debian/hunt/usr/sbin/hunt: DWARF compression not beneficial - old size 194823 new size 197396 dh_strip -a dh_makeshlibs -a dh_shlibdeps -a dh_installdeb dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'hunt' in '../hunt_1.5-10_amd64.deb'. dpkg-deb: building package 'hunt-dbgsym' in '../hunt-dbgsym_1.5-10_amd64.deb'. dpkg-genbuildinfo --build=binary -O../hunt_1.5-10_amd64.buildinfo dpkg-genchanges --build=binary -O../hunt_1.5-10_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/3178819 and its subdirectories I: Current time: Fri Mar 27 15:42:30 -12 2026 I: pbuilder-time-stamp: 1774669350 Sat Feb 22 21:19:31 UTC 2025 I: 1st build successful. Starting 2nd build on remote node ionos1-amd64.debian.net. Sat Feb 22 21:19:31 UTC 2025 I: Preparing to do remote build '2' on ionos1-amd64.debian.net. Sat Feb 22 21:19:31 UTC 2025 - checking /var/lib/jenkins/offline_nodes if ionos1-amd64.debian.net is marked as down. Sat Feb 22 21:19:31 UTC 2025 - checking via ssh if ionos1-amd64.debian.net is up. removed '/tmp/read-only-fs-test-4HQ0HE' ==================================================================================== Sat Feb 22 21:19:32 UTC 2025 - running /srv/jenkins/bin/reproducible_build.sh (for job /srv/jenkins/bin/reproducible_build.sh) on ionos1-amd64, called using "2 hunt trixie /srv/reproducible-results/rbuild-debian/r-b-build.jOL6eQL5 1.5-10" as arguments. Sat Feb 22 21:19:32 UTC 2025 - actually running "reproducible_build.sh" (md5sum 68e686e434c9ab7bc3ec047d8b309cbc) as "/tmp/jenkins-script-tBzaDmXb" $ git clone https://salsa.debian.org/qa/jenkins.debian.net.git ; more CONTRIBUTING Sat Feb 22 21:19:32 UTC 2025 I: Downloading source for trixie/hunt=1.5-10 Reading package lists... NOTICE: 'hunt' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/debian/hunt.git Please use: git clone https://salsa.debian.org/debian/hunt.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 121 kB of source archives. Get:1 http://deb.debian.org/debian trixie/main hunt 1.5-10 (dsc) [1821 B] Get:2 http://deb.debian.org/debian trixie/main hunt 1.5-10 (tar) [99.2 kB] Get:3 http://deb.debian.org/debian trixie/main hunt 1.5-10 (diff) [19.9 kB] Fetched 121 kB in 0s (3646 kB/s) Download complete and in download only mode Reading package lists... NOTICE: 'hunt' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/debian/hunt.git Please use: git clone https://salsa.debian.org/debian/hunt.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 121 kB of source archives. Get:1 http://deb.debian.org/debian trixie/main hunt 1.5-10 (dsc) [1821 B] Get:2 http://deb.debian.org/debian trixie/main hunt 1.5-10 (tar) [99.2 kB] Get:3 http://deb.debian.org/debian trixie/main hunt 1.5-10 (diff) [19.9 kB] Fetched 121 kB in 0s (3646 kB/s) Download complete and in download only mode ============================================================================= Re-Building hunt in trixie on amd64 on ionos1-amd64 now. Date: Sat Feb 22 21:19:32 UTC 2025 Date UTC: Sat Feb 22 21:19:32 UTC 2025 ============================================================================= ++ mktemp -t pbuilderrc_XXXX --tmpdir=/srv/reproducible-results/rbuild-debian/r-b-build.jOL6eQL5 + local TMPCFG=/srv/reproducible-results/rbuild-debian/r-b-build.jOL6eQL5/pbuilderrc_VoFQ + case ${ARCH} in + case $ARCH in + locale=et_EE + language=et + case "${SUITE}" in + reproducible_buildflags=+all + extra_deb_build_options= + case "${SRCPACKAGE}" in + cat + echo BUILDDIR=/build/reproducible-path + '[' hunt = debian-installer -o hunt = debian-installer-netboot-images ']' + pbuilder_options=() + local pbuilder_options + DEBBUILDOPTS=-b + BINARYTARGET= + '[' hunt = u-boot ']' + case "${SRCPACKAGE}" in + PBUILDERTIMEOUT=24 + local PRESULT=0 + sudo timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.jOL6eQL5/pbuilderrc_VoFQ --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.jOL6eQL5/b2 --logfile b2/build.log hunt_1.5-10.dsc W: /root/.pbuilderrc does not exist I: Logging to b2/build.log I: pbuilder: network access will be disabled during build I: Current time: Sun Feb 23 11:19:33 +14 2025 I: pbuilder-time-stamp: 1740259173 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [hunt_1.5-10.dsc] I: copying [./hunt_1.5.orig.tar.gz] I: copying [./hunt_1.5-10.debian.tar.xz] I: Extracting source dpkg-source: warning: cannot verify inline signature for ./hunt_1.5-10.dsc: unsupported subcommand dpkg-source: info: extracting hunt in hunt-1.5 dpkg-source: info: unpacking hunt_1.5.orig.tar.gz dpkg-source: info: unpacking hunt_1.5-10.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 000_old.patch dpkg-source: info: applying 010_fix-manpage.patch dpkg-source: info: applying 020_fix-GCC-hardening-hunt.patch dpkg-source: info: applying 030_add-GCC-hardening-tpserv.patch dpkg-source: info: applying 040_fix-arguments-synchijack.patch dpkg-source: info: applying 050_fix-spelling-rstd.patch dpkg-source: info: applying missing-prototypes.patch dpkg-source: info: applying gcc-14.patch I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/1947915/tmp/hooks/D01_modify_environment starting debug: Running on ionos1-amd64. I: Changing host+domainname to test build reproducibility I: Adding a custom variable just for the fun of it... I: Changing /bin/sh to bash '/bin/sh' -> '/bin/bash' lrwxrwxrwx 1 root root 9 Feb 22 21:19 /bin/sh -> /bin/bash I: Setting pbuilder2's login shell to /bin/bash I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other I: user script /srv/workspace/pbuilder/1947915/tmp/hooks/D01_modify_environment finished I: user script /srv/workspace/pbuilder/1947915/tmp/hooks/D02_print_environment starting I: set BASH=/bin/sh BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=() BASH_ARGV=() BASH_CMDS=() BASH_LINENO=([0]="12" [1]="0") BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") BASH_VERSION='5.2.37(1)-release' BUILDDIR=/build/reproducible-path BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' BUILDUSERNAME=pbuilder2 BUILD_ARCH=amd64 DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' DIRSTACK=() DISTRIBUTION=trixie EUID=0 FUNCNAME=([0]="Echo" [1]="main") GROUPS=() HOME=/root HOSTNAME=i-capture-the-hostname HOSTTYPE=x86_64 HOST_ARCH=amd64 IFS=' ' INVOCATION_ID=096a2d9343204f6498d06fda72a85b24 LANG=C LANGUAGE=et_EE:et LC_ALL=C MACHTYPE=x86_64-pc-linux-gnu MAIL=/var/mail/root OPTERR=1 OPTIND=1 OSTYPE=linux-gnu PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path PBCURRENTCOMMANDLINEOPERATION=build PBUILDER_OPERATION=build PBUILDER_PKGDATADIR=/usr/share/pbuilder PBUILDER_PKGLIBDIR=/usr/lib/pbuilder PBUILDER_SYSCONFDIR=/etc PIPESTATUS=([0]="0") POSIXLY_CORRECT=y PPID=1947915 PS4='+ ' PWD=/ SHELL=/bin/bash SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix SHLVL=3 SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.jOL6eQL5/pbuilderrc_VoFQ --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.jOL6eQL5/b2 --logfile b2/build.log hunt_1.5-10.dsc' SUDO_GID=110 SUDO_UID=105 SUDO_USER=jenkins TERM=unknown TZ=/usr/share/zoneinfo/Etc/GMT-14 UID=0 USER=root _='I: set' http_proxy=http://46.16.76.132:3128 I: uname -a Linux i-capture-the-hostname 6.1.0-31-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) x86_64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin I: user script /srv/workspace/pbuilder/1947915/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: amd64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 13) dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19858 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdebhelper-perl{a} libelf1t64{a} libfile-stripnondeterminism-perl{a} libicu72{a} libmagic-mgc{a} libmagic1t64{a} libpipeline1{a} libtool{a} libuchardet0{a} libunistring5{a} libxml2{a} m4{a} man-db{a} po-debconf{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libltdl-dev libmail-sendmail-perl lynx wget 0 packages upgraded, 30 newly installed, 0 to remove and 0 not upgraded. Need to get 20.6 MB of archives. After unpacking 77.9 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian trixie/main amd64 sensible-utils all 0.0.24 [24.8 kB] Get: 2 http://deb.debian.org/debian trixie/main amd64 libmagic-mgc amd64 1:5.45-3+b1 [314 kB] Get: 3 http://deb.debian.org/debian trixie/main amd64 libmagic1t64 amd64 1:5.45-3+b1 [108 kB] Get: 4 http://deb.debian.org/debian trixie/main amd64 file amd64 1:5.45-3+b1 [43.3 kB] Get: 5 http://deb.debian.org/debian trixie/main amd64 gettext-base amd64 0.23.1-1 [243 kB] Get: 6 http://deb.debian.org/debian trixie/main amd64 libuchardet0 amd64 0.0.8-1+b2 [68.9 kB] Get: 7 http://deb.debian.org/debian trixie/main amd64 groff-base amd64 1.23.0-7 [1185 kB] Get: 8 http://deb.debian.org/debian trixie/main amd64 bsdextrautils amd64 2.40.4-3 [92.1 kB] Get: 9 http://deb.debian.org/debian trixie/main amd64 libpipeline1 amd64 1.5.8-1 [42.0 kB] Get: 10 http://deb.debian.org/debian trixie/main amd64 man-db amd64 2.13.0-1 [1420 kB] Get: 11 http://deb.debian.org/debian trixie/main amd64 m4 amd64 1.4.19-5 [294 kB] Get: 12 http://deb.debian.org/debian trixie/main amd64 autoconf all 2.72-3 [493 kB] Get: 13 http://deb.debian.org/debian trixie/main amd64 autotools-dev all 20220109.1 [51.6 kB] Get: 14 http://deb.debian.org/debian trixie/main amd64 automake all 1:1.17-3 [862 kB] Get: 15 http://deb.debian.org/debian trixie/main amd64 autopoint all 0.23.1-1 [770 kB] Get: 16 http://deb.debian.org/debian trixie/main amd64 libdebhelper-perl all 13.24.1 [90.9 kB] Get: 17 http://deb.debian.org/debian trixie/main amd64 libtool all 2.5.4-3 [539 kB] Get: 18 http://deb.debian.org/debian trixie/main amd64 dh-autoreconf all 20 [17.1 kB] Get: 19 http://deb.debian.org/debian trixie/main amd64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 20 http://deb.debian.org/debian trixie/main amd64 libfile-stripnondeterminism-perl all 1.14.1-2 [19.7 kB] Get: 21 http://deb.debian.org/debian trixie/main amd64 dh-strip-nondeterminism all 1.14.1-2 [8620 B] Get: 22 http://deb.debian.org/debian trixie/main amd64 libelf1t64 amd64 0.192-4 [189 kB] Get: 23 http://deb.debian.org/debian trixie/main amd64 dwz amd64 0.15-1+b1 [110 kB] Get: 24 http://deb.debian.org/debian trixie/main amd64 libunistring5 amd64 1.3-1 [476 kB] Get: 25 http://deb.debian.org/debian trixie/main amd64 libicu72 amd64 72.1-6 [9421 kB] Get: 26 http://deb.debian.org/debian trixie/main amd64 libxml2 amd64 2.12.7+dfsg+really2.9.14-0.2+b1 [699 kB] Get: 27 http://deb.debian.org/debian trixie/main amd64 gettext amd64 0.23.1-1 [1680 kB] Get: 28 http://deb.debian.org/debian trixie/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 29 http://deb.debian.org/debian trixie/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 30 http://deb.debian.org/debian trixie/main amd64 debhelper all 13.24.1 [920 kB] Fetched 20.6 MB in 10s (2025 kB/s) Preconfiguring packages ... Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19858 files and directories currently installed.) Preparing to unpack .../00-sensible-utils_0.0.24_all.deb ... Unpacking sensible-utils (0.0.24) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../01-libmagic-mgc_1%3a5.45-3+b1_amd64.deb ... Unpacking libmagic-mgc (1:5.45-3+b1) ... Selecting previously unselected package libmagic1t64:amd64. Preparing to unpack .../02-libmagic1t64_1%3a5.45-3+b1_amd64.deb ... Unpacking libmagic1t64:amd64 (1:5.45-3+b1) ... Selecting previously unselected package file. Preparing to unpack .../03-file_1%3a5.45-3+b1_amd64.deb ... Unpacking file (1:5.45-3+b1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../04-gettext-base_0.23.1-1_amd64.deb ... Unpacking gettext-base (0.23.1-1) ... Selecting previously unselected package libuchardet0:amd64. Preparing to unpack .../05-libuchardet0_0.0.8-1+b2_amd64.deb ... Unpacking libuchardet0:amd64 (0.0.8-1+b2) ... Selecting previously unselected package groff-base. Preparing to unpack .../06-groff-base_1.23.0-7_amd64.deb ... Unpacking groff-base (1.23.0-7) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../07-bsdextrautils_2.40.4-3_amd64.deb ... Unpacking bsdextrautils (2.40.4-3) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../08-libpipeline1_1.5.8-1_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.8-1) ... Selecting previously unselected package man-db. Preparing to unpack .../09-man-db_2.13.0-1_amd64.deb ... Unpacking man-db (2.13.0-1) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.19-5_amd64.deb ... Unpacking m4 (1.4.19-5) ... Selecting previously unselected package autoconf. Preparing to unpack .../11-autoconf_2.72-3_all.deb ... Unpacking autoconf (2.72-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../12-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../13-automake_1%3a1.17-3_all.deb ... Unpacking automake (1:1.17-3) ... Selecting previously unselected package autopoint. Preparing to unpack .../14-autopoint_0.23.1-1_all.deb ... Unpacking autopoint (0.23.1-1) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../15-libdebhelper-perl_13.24.1_all.deb ... Unpacking libdebhelper-perl (13.24.1) ... Selecting previously unselected package libtool. Preparing to unpack .../16-libtool_2.5.4-3_all.deb ... Unpacking libtool (2.5.4-3) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../17-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../18-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../19-libfile-stripnondeterminism-perl_1.14.1-2_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.14.1-2) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../20-dh-strip-nondeterminism_1.14.1-2_all.deb ... Unpacking dh-strip-nondeterminism (1.14.1-2) ... Selecting previously unselected package libelf1t64:amd64. Preparing to unpack .../21-libelf1t64_0.192-4_amd64.deb ... Unpacking libelf1t64:amd64 (0.192-4) ... Selecting previously unselected package dwz. Preparing to unpack .../22-dwz_0.15-1+b1_amd64.deb ... Unpacking dwz (0.15-1+b1) ... Selecting previously unselected package libunistring5:amd64. Preparing to unpack .../23-libunistring5_1.3-1_amd64.deb ... Unpacking libunistring5:amd64 (1.3-1) ... Selecting previously unselected package libicu72:amd64. Preparing to unpack .../24-libicu72_72.1-6_amd64.deb ... Unpacking libicu72:amd64 (72.1-6) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../25-libxml2_2.12.7+dfsg+really2.9.14-0.2+b1_amd64.deb ... Unpacking libxml2:amd64 (2.12.7+dfsg+really2.9.14-0.2+b1) ... Selecting previously unselected package gettext. Preparing to unpack .../26-gettext_0.23.1-1_amd64.deb ... Unpacking gettext (0.23.1-1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../27-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../28-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../29-debhelper_13.24.1_all.deb ... Unpacking debhelper (13.24.1) ... Setting up libpipeline1:amd64 (1.5.8-1) ... Setting up libicu72:amd64 (72.1-6) ... Setting up bsdextrautils (2.40.4-3) ... Setting up libmagic-mgc (1:5.45-3+b1) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.24.1) ... Setting up libmagic1t64:amd64 (1:5.45-3+b1) ... Setting up gettext-base (0.23.1-1) ... Setting up m4 (1.4.19-5) ... Setting up file (1:5.45-3+b1) ... Setting up libelf1t64:amd64 (0.192-4) ... Setting up autotools-dev (20220109.1) ... Setting up libunistring5:amd64 (1.3-1) ... Setting up autopoint (0.23.1-1) ... Setting up autoconf (2.72-3) ... Setting up dwz (0.15-1+b1) ... Setting up sensible-utils (0.0.24) ... Setting up libuchardet0:amd64 (0.0.8-1+b2) ... Setting up libxml2:amd64 (2.12.7+dfsg+really2.9.14-0.2+b1) ... Setting up automake (1:1.17-3) ... update-alternatives: using /usr/bin/automake-1.17 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.14.1-2) ... Setting up gettext (0.23.1-1) ... Setting up libtool (2.5.4-3) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up dh-strip-nondeterminism (1.14.1-2) ... Setting up groff-base (1.23.0-7) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.13.0-1) ... Not building database; man-db/auto-update is not 'true'. Setting up debhelper (13.24.1) ... Processing triggers for libc-bin (2.40-7) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps I: Building the package I: user script /srv/workspace/pbuilder/1947915/tmp/hooks/A99_set_merged_usr starting Not re-configuring usrmerge for trixie I: user script /srv/workspace/pbuilder/1947915/tmp/hooks/A99_set_merged_usr finished hostname: Name or service not known I: Running cd /build/reproducible-path/hunt-1.5/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../hunt_1.5-10_source.changes dpkg-buildpackage: info: source package hunt dpkg-buildpackage: info: source version 1.5-10 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Andreas Beckmann dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean dh clean dh_auto_clean make -j20 distclean make[1]: Entering directory '/build/reproducible-path/hunt-1.5' rm -f *.o core c/*.o c/core c/list_test c/hash_test c/array_test rm -f hunt hunt_static make -C tpserv distclean make[2]: Entering directory '/build/reproducible-path/hunt-1.5/tpserv' rm -f *.o rm -f tpserv make[2]: Leaving directory '/build/reproducible-path/hunt-1.5/tpserv' make[1]: Leaving directory '/build/reproducible-path/hunt-1.5' dh_clean debian/rules binary dh binary dh_update_autotools_config dh_autoreconf dh_auto_configure debian/rules override_dh_auto_build make[1]: Entering directory '/build/reproducible-path/hunt-1.5' dh_auto_build make -j20 "INSTALL=install --strip-program=true" make[2]: Entering directory '/build/reproducible-path/hunt-1.5' cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o hunt.o hunt.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o main.o main.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o c/list.o c/list.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o c/hash.o c/hash.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o c/array.o c/array.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o util.o util.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o net.o net.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o rst.o rst.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o menu.o menu.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o hijack.o hijack.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o rstd.o rstd.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o sniff.o sniff.c c/list.c: In function '__func_remove_at': cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o macdisc.o macdisc.c c/list.c:252:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 252 | if (nr == (int) m) | ^ c/list.c: In function 'list_remove_at': c/list.c:297:51: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 297 | return __list_remove(l, __func_remove_at, (void *) nr); | ^ In file included from c/array.c:10: c/array.c: In function 'array_init': cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tap.o tap.c c/array.c:27:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 27 | assert(a->a_arr = malloc(size * sizeof(struct array_item))); | ^ cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o arphijack.o arphijack.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tty.o tty.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o synchijack.o synchijack.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o arpspoof.o arpspoof.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o hostup.o hostup.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o addpolicy.o addpolicy.c hunt.c: In function 'conn_add_update': hunt.c:393:51: warning: variable 'h_dst' set but not used [-Wunused-but-set-variable] 393 | struct host_info *h_src, *h_dst; | ^~~~~ hunt.c: In function 'mac_arp_learn': hunt.c:696:21: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 696 | mac = arpethh->ar_sha; | ^ hunt.c: In function 'mac_ip_learn': hunt.c:710:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 710 | mac = p->p_ethh->h_source; | ^ hunt.c: In function 'print_mac_table': hunt.c:1016:40: warning: pointer targets in passing argument 2 of 'sprintf_eth_mac' differ in signedness [-Wpointer-sign] 1016 | sprintf_eth_mac(buf, mi->mac); | ~~^~~~~ | | | char * In file included from hunt.c:9: hunt.h:422:45: note: expected 'unsigned char *' but argument is of type 'char *' 422 | int sprintf_eth_mac(char *b, unsigned char *mac); | ~~~~~~~~~~~~~~~^~~ main.c: In function 'a_hijack': main.c:350:48: warning: pointer targets in passing argument 2 of 'user_arp_hijack' differ in signedness [-Wpointer-sign] 350 | retval = user_arp_hijack(&uci, src_fake_mac, dst_fake_mac, input_mode); | ^~~~~~~~~~~~ | | | unsigned char * In file included from main.c:9: hunt.h:503:55: note: expected 'char *' but argument is of type 'unsigned char *' 503 | int user_arp_hijack(struct user_conn_info *uci, char *src_fake_mac, | ~~~~~~^~~~~~~~~~~~ main.c:350:62: warning: pointer targets in passing argument 3 of 'user_arp_hijack' differ in signedness [-Wpointer-sign] 350 | retval = user_arp_hijack(&uci, src_fake_mac, dst_fake_mac, input_mode); | ^~~~~~~~~~~~ | | | unsigned char * hunt.h:504:27: note: expected 'char *' but argument is of type 'unsigned char *' 504 | char *dst_fake_mac, int input_mode); | ~~~~~~^~~~~~~~~~~~ main.c:373:38: warning: pointer targets in passing argument 1 of 'user_arp_hijack_done' differ in signedness [-Wpointer-sign] 373 | user_arp_hijack_done(src_fake_mac, dst_fake_mac); | ^~~~~~~~~~~~ | | | unsigned char * hunt.h:505:33: note: expected 'char *' but argument is of type 'unsigned char *' 505 | void user_arp_hijack_done(char *src_fake_mac, char *dst_fake_mac); | ~~~~~~^~~~~~~~~~~~ main.c:373:52: warning: pointer targets in passing argument 2 of 'user_arp_hijack_done' differ in signedness [-Wpointer-sign] 373 | user_arp_hijack_done(src_fake_mac, dst_fake_mac); | ^~~~~~~~~~~~ | | | unsigned char * hunt.h:505:53: note: expected 'char *' but argument is of type 'unsigned char *' 505 | void user_arp_hijack_done(char *src_fake_mac, char *dst_fake_mac); | ~~~~~~^~~~~~~~~~~~ rst.c: In function 'rst': rst.c:60:28: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 60 | ts.src_mac = ci->dst.dst_mac; | ^ rst.c:61:28: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 61 | ts.dst_mac = ci->dst.src_mac; | ^ rst.c:69:28: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 69 | ts.src_mac = ci->src.dst_mac; | ^ rst.c:70:28: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 70 | ts.dst_mac = ci->src.src_mac; | ^ main.c: In function 'main': main.c:509:70: warning: backslash and newline separated by space 509 | fprintf(stderr, "Network interface %s does not have "\ main.c: In function 'simple_hijack': main.c:250:25: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 250 | fgets(cmdbuf, sizeof(cmdbuf), stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menu.c: In function 'menu_choose_mac': menu.c:254:36: warning: pointer targets in passing argument 2 of 'parse_mac' differ in signedness [-Wpointer-sign] 254 | if (parse_mac(buf, mac_ret) == 0) | ^~~~~~~ | | | unsigned char * menu.c:173:32: note: expected 'char *' but argument is of type 'unsigned char *' 173 | int parse_mac(char *buf, char *mac_ret) | ~~~~~~^~~~~~~ menu.c: In function 'menu_choose_ports': menu.c:281:38: warning: pointer targets in passing argument 2 of 'parse_ports' differ in signedness [-Wpointer-sign] 281 | if (parse_ports(buf, ret_ports) == 0) | ^~~~~~~~~ | | | int * menu.c:58:42: note: expected 'unsigned int *' but argument is of type 'int *' 58 | int parse_ports(char *buf, unsigned int *ret_ports) | ~~~~~~~~~~~~~~^~~~~~~~~ net.c: In function 'is_icmp_reply': net.c:189:24: warning: variable 'seq' set but not used [-Wunused-but-set-variable] 189 | unsigned short seq, id; | ^~~ menu.c: In function 'menu_choose_host_mask_ports_dfl': menu.c:347:43: warning: pointer targets in passing argument 1 of 'sprintf_db_ports' differ in signedness [-Wpointer-sign] 347 | buf_p += sprintf_db_ports(dfl_ports, buf_p, | ^~~~~~~~~ | | | int * In file included from menu.c:9: hunt.h:415:36: note: expected 'unsigned int *' but argument is of type 'int *' 415 | int sprintf_db_ports(unsigned int *ports, char *buf, int buf_size, int all); | ~~~~~~~~~~~~~~^~~~~ menu.c: In function 'menu': menu.c:522:26: warning: field width specifier '*' expects argument of type 'int', but argument 2 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 522 | printf("%*s", strlen(head) + 9, " "); | ~^~ ~~~~~~~~~~~~~~~~ | | | | int size_t {aka long unsigned int} sniff.c: In function 'sniff_item_print': sniff.c:128:28: warning: pointer targets in passing argument 1 of 'sprintf_db_ports' differ in signedness [-Wpointer-sign] 128 | sprintf_db_ports(si->src_ports, buf_src_ports, sizeof(buf_src_ports), 1); | ~~^~~~~~~~~~~ | | | int * In file included from sniff.c:9: hunt.h:415:36: note: expected 'unsigned int *' but argument is of type 'int *' 415 | int sprintf_db_ports(unsigned int *ports, char *buf, int buf_size, int all); | ~~~~~~~~~~~~~~^~~~~ sniff.c:129:28: warning: pointer targets in passing argument 1 of 'sprintf_db_ports' differ in signedness [-Wpointer-sign] 129 | sprintf_db_ports(si->dst_ports, buf_dst_ports, sizeof(buf_dst_ports), 1); | ~~^~~~~~~~~~~ | | | int * hunt.h:415:36: note: expected 'unsigned int *' but argument is of type 'int *' 415 | int sprintf_db_ports(unsigned int *ports, char *buf, int buf_size, int all); | ~~~~~~~~~~~~~~^~~~~ menu.c: In function 'menu_prompt': menu.c:33:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 33 | fgets(buf, buf_size, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ rstd.c: In function 'func_tcp_packet': sniff.c: In function 'sniff_packet_match': sniff.c:174:41: warning: pointer targets in passing argument 2 of 'port_match' differ in signedness [-Wpointer-sign] 174 | port_match(tcph->source, si->src_ports) && | ~~^~~~~~~~~~~ | | | int * hunt.h:427:40: note: expected 'unsigned int *' but argument is of type 'int *' 427 | int port_match(int port, unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ sniff.c:175:39: warning: pointer targets in passing argument 2 of 'port_match' differ in signedness [-Wpointer-sign] 175 | port_match(tcph->dest, si->dst_ports)) | ~~^~~~~~~~~~~ | | | int * hunt.h:427:40: note: expected 'unsigned int *' but argument is of type 'int *' 427 | int port_match(int port, unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ sniff.c:181:41: warning: pointer targets in passing argument 2 of 'port_match' differ in signedness [-Wpointer-sign] 181 | port_match(tcph->source, si->dst_ports) && | ~~^~~~~~~~~~~ | | | int * hunt.h:427:40: note: expected 'unsigned int *' but argument is of type 'int *' 427 | int port_match(int port, unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ sniff.c:182:39: warning: pointer targets in passing argument 2 of 'port_match' differ in signedness [-Wpointer-sign] 182 | port_match(tcph->dest, si->src_ports)) | ~~^~~~~~~~~~~ | | | int * hunt.h:427:40: note: expected 'unsigned int *' but argument is of type 'int *' 427 | int port_match(int port, unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ menu.c: In function 'menu_choose_char_nconn': menu.c:426:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 426 | fgets(buf, sizeof(buf), stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menu.c: In function 'menu_choose_string': menu.c:487:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 487 | fgets(buf, sizeof(buf), stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tap.c: In function 'get_ifc_info': tap.c:135:31: warning: pointer targets in passing argument 1 of 'print_eth_mac' differ in signedness [-Wpointer-sign] 135 | print_eth_mac(mac); | ^~~ | | | char * In file included from tap.c:31: hunt.h:421:34: note: expected 'unsigned char *' but argument is of type 'char *' 421 | int print_eth_mac(unsigned char *mac); | ~~~~~~~~~~~~~~~^~~ macdisc.c: In function 'mac_discover': rstd.c:86:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 86 | p->p_arg[MODULE_RSTD] = (void *) dbi->rst_mode; | ^ rstd.c: In function 'rst_daemon_thr': sniff.c: In function 'sniff_add_item': sniff.c:664:25: warning: pointer targets in passing argument 3 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 664 | &src_mask, src_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ | | | int * hunt.h:371:31: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~ sniff.c:664:36: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 664 | &src_mask, src_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ | | | int * hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ sniff.c:667:25: warning: pointer targets in passing argument 3 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 667 | &dst_mask, dst_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ | | | int * hunt.h:371:31: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~ sniff.c:667:36: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 667 | &dst_mask, dst_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ | | | int * hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ rstd.c:140:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 140 | rst_mode = (int) p->p_arg[MODULE_RSTD]; | ^ sniff.c:705:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 705 | port_htons(src_ports); | ^~~~~~~~~ | | | int * hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ sniff.c:709:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 709 | port_htons(dst_ports); | ^~~~~~~~~ | | | int * hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ rstd.c: In function 'rst_add_item': macdisc.c:40:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 40 | as.src_mac = my_eth_mac; | ^ macdisc.c:41:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 41 | as.dst_mac = mac_broadcast; | ^ macdisc.c:43:23: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 43 | as.sender_mac = my_eth_mac; | ^ macdisc.c:45:23: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 45 | as.target_mac = mac_zero; | ^ sniff.c: In function 'sniff_mod_item': sniff.c:747:38: warning: pointer targets in passing argument 3 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 747 | &src_ip, &src_mask, src_ports, | ^~~~~~~~~ | | | int * hunt.h:371:31: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~ sniff.c:747:49: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 747 | &src_ip, &src_mask, src_ports, | ^~~~~~~~~ | | | int * hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ sniff.c:751:38: warning: pointer targets in passing argument 3 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 751 | &dst_ip, &dst_mask, dst_ports, | ^~~~~~~~~ | | | int * hunt.h:371:31: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~ sniff.c:751:49: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 751 | &dst_ip, &dst_mask, dst_ports, | ^~~~~~~~~ | | | int * hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ sniff.c:770:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 770 | port_htons(src_ports); | ^~~~~~~~~ | | | int * rstd.c:265:44: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 265 | &src_mask, src_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ | | | int * hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ In file included from rstd.c:9: hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ rstd.c:268:44: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 268 | &dst_mask, dst_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ | | | int * hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ sniff.c:771:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 771 | port_htons(dst_ports); | ^~~~~~~~~ | | | int * hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ rstd.c:281:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 281 | port_htons(src_ports); | ^~~~~~~~~ | | | int * hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ rstd.c:285:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 285 | port_htons(dst_ports); | ^~~~~~~~~ | | | int * hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ rstd.c: In function 'rst_mod_item': rstd.c:314:49: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 314 | &src_ip, &src_mask, src_ports, | ^~~~~~~~~ | | | int * hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ rstd.c:315:62: warning: pointer targets in passing argument 7 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 315 | dbi->src_addr, dbi->src_mask, dbi->src_ports) < 0) | ~~~^~~~~~~~~~~ | | | unsigned int * hunt.h:372:66: note: expected 'int *' but argument is of type 'unsigned int *' 372 | unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); | ~~~~~^~~~~~~~~ rstd.c:318:49: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 318 | &dst_ip, &dst_mask, dst_ports, | ^~~~~~~~~ | | | int * hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ rstd.c:319:62: warning: pointer targets in passing argument 7 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 319 | dbi->dst_addr, dbi->dst_mask, dbi->dst_ports) < 0) | ~~~^~~~~~~~~~~ | | | unsigned int * hunt.h:372:66: note: expected 'int *' but argument is of type 'unsigned int *' 372 | unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); | ~~~~~^~~~~~~~~ hijack.c: In function 'fast_ack_to_dst': hijack.c:89:36: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 89 | ts.src_mac = ci->src.src_mac; | ^ hijack.c:90:36: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 90 | ts.dst_mac = ci->dst.src_mac; | ^ hijack.c: In function 'stormack_hijack': hijack.c:223:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 223 | ts.src_mac = ci->dst.dst_mac; | ^ hijack.c:224:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 224 | ts.dst_mac = ci->dst.src_mac; | ^ rstd.c:326:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 326 | port_htons(src_ports); | ^~~~~~~~~ | | | int * hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ rstd.c:327:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 327 | port_htons(dst_ports); | ^~~~~~~~~ | | | int * hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o options.o options.c synchijack.c: In function 'hijack_sync_init_msg': synchijack.c:153:28: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 153 | ts.src_mac = ci->src.dst_mac; | ^ synchijack.c:154:28: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 154 | ts.dst_mac = ci->src.src_mac; | ^ synchijack.c: In function 'need_read_write_negative': synchijack.c:220:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 220 | ts.src_mac = ci->dst.dst_mac; | ^ synchijack.c:221:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 221 | ts.dst_mac = ci->dst.src_mac; | ^ synchijack.c: In function 'need_write_positive': synchijack.c:245:28: warning: format '%f' expects argument of type 'double', but argument 3 has type 'char *' [-Wformat=] 245 | sprintf(fin_msg, "%f%", suggest_sync_msg(0)); | ~^ ~~~~~~~~~~~~~~~~~~~ | | | | | char * | double | %s synchijack.c:245:29: warning: spurious trailing '%' in format [-Wformat=] 245 | sprintf(fin_msg, "%f%", suggest_sync_msg(0)); | ^ synchijack.c:279:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 279 | ts.src_mac = ci->src.dst_mac; | ^ synchijack.c:280:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 280 | ts.dst_mac = ci->src.src_mac; | ^ synchijack.c: In function 'need_read_positive': synchijack.c:307:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 307 | ts.src_mac = ci->src.dst_mac; | ^ synchijack.c:308:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 308 | ts.dst_mac = ci->src.src_mac; | ^ synchijack.c: In function 'f_hijack_sync': synchijack.c:419:44: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 419 | ts.src_mac = ci->dst.dst_mac; | ^ synchijack.c:420:44: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 420 | ts.dst_mac = ci->dst.src_mac; | ^ synchijack.c: In function 'hijack_sync': synchijack.c:464:25: warning: variable 'absts' set but not used [-Wunused-but-set-variable] 464 | struct timespec absts; | ^~~~~ arphijack.c: In function 'watch_tty': arphijack.c:81:28: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 81 | ts.dst_mac = wtd->ci->dst.src_mac; | ^ arphijack.c: In function 'arp_hijack': arphijack.c:122:54: warning: pointer targets in passing argument 3 of 'start_arp_spoof' differ in signedness [-Wpointer-sign] 122 | ci->src.src_mac, ci->dst.src_mac, | ~~~~~~~^~~~~~~~ | | | unsigned char * In file included from arphijack.c:9: hunt.h:522:23: note: expected 'char *' but argument is of type 'unsigned char *' 522 | char *src_mac, char *dst_mac, char *src_fake_mac, | ~~~~~~^~~~~~~ arphijack.c:122:71: warning: pointer targets in passing argument 4 of 'start_arp_spoof' differ in signedness [-Wpointer-sign] 122 | ci->src.src_mac, ci->dst.src_mac, | ~~~~~~~^~~~~~~~ | | | unsigned char * hunt.h:522:38: note: expected 'char *' but argument is of type 'unsigned char *' 522 | char *src_mac, char *dst_mac, char *src_fake_mac, | ~~~~~~^~~~~~~ arphijack.c:143:54: warning: pointer targets in passing argument 3 of 'start_arp_spoof' differ in signedness [-Wpointer-sign] 143 | ci->dst.src_mac, ci->src.src_mac, | ~~~~~~~^~~~~~~~ | | | unsigned char * hunt.h:522:23: note: expected 'char *' but argument is of type 'unsigned char *' 522 | char *src_mac, char *dst_mac, char *src_fake_mac, | ~~~~~~^~~~~~~ arphijack.c:143:71: warning: pointer targets in passing argument 4 of 'start_arp_spoof' differ in signedness [-Wpointer-sign] 143 | ci->dst.src_mac, ci->src.src_mac, | ~~~~~~~^~~~~~~~ | | | unsigned char * hunt.h:522:38: note: expected 'char *' but argument is of type 'unsigned char *' 522 | char *src_mac, char *dst_mac, char *src_fake_mac, | ~~~~~~^~~~~~~ arphijack.c:169:26: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 169 | wtd.src_fake_mac = asi_src ? asi_src->src_fake_mac : ci->src.src_mac; | ^ arphijack.c:200:44: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 200 | ts.src_mac = asi_src ? asi_src->src_fake_mac : | ^ arphijack.c:202:44: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 202 | ts.dst_mac = ci->dst.src_mac; | ^ arphijack.c:224:44: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 224 | ts.src_mac = asi_dst ? asi_dst->src_fake_mac : | ^ arphijack.c:226:44: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 226 | ts.dst_mac = ci->src.src_mac; | ^ sniff.c: In function 'sniff_item_print': sniff.c:135:35: warning: '%s' directive writing up to 511 bytes into a region of size 508 [-Wformat-overflow=] 135 | sprintf(host_buf, "%s/%d [%s]", host_lookup(si->src_addr, hl_mode), | ^~ 136 | count_mask(si->src_mask), buf_src_ports); | ~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:970, from sniff.c:12: In function 'sprintf', inlined from 'sniff_item_print' at sniff.c:135:2: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 517) into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ arpspoof.c: In function 'send_src_spoof_to_dst': arpspoof.c:85:24: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 85 | as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : asi->src_fake_mac; | ^ arpspoof.c:86:24: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 86 | as_dst.dst_mac = asi->dst_mac; | ^ arpspoof.c:88:27: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 88 | as_dst.sender_mac = asi->src_fake_mac; | ^ arpspoof.c:90:27: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 90 | as_dst.target_mac = asi->dst_mac; | ^ arpspoof.c: In function 'send_src_spoof_to_dst_through_request': arpspoof.c:117:24: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 117 | as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : asi->src_fake_mac; | ^ arpspoof.c:118:24: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 118 | as_dst.dst_mac = asi->dst_mac; /* don't use broadcast - we want that it is received only by the target */ | ^ arpspoof.c:120:27: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 120 | as_dst.sender_mac = asi->src_fake_mac; | ^ arpspoof.c:122:27: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 122 | as_dst.target_mac = mac_zero; | ^ hostup.c: In function 'perform_ping': hostup.c:87:63: warning: pointer targets in passing argument 3 of 'send_icmp_request' differ in signedness [-Wpointer-sign] 87 | ip, my_eth_mac, | ^~~~~~~~~~ | | | unsigned char * In file included from hostup.c:9: hunt.h:698:30: note: expected 'char *' but argument is of type 'unsigned char *' 698 | char *src_mac, char *dst_mac, unsigned short seq); | ~~~~~~^~~~~~~ hostup.c:93:49: warning: pointer targets in passing argument 3 of 'send_icmp_request' differ in signedness [-Wpointer-sign] 93 | my_eth_mac, fake_mac, htons(j + 2000)); | ^~~~~~~~~~ | | | unsigned char * hunt.h:698:30: note: expected 'char *' but argument is of type 'unsigned char *' 698 | char *src_mac, char *dst_mac, unsigned short seq); | ~~~~~~^~~~~~~ hostup.c:93:61: warning: pointer targets in passing argument 4 of 'send_icmp_request' differ in signedness [-Wpointer-sign] 93 | my_eth_mac, fake_mac, htons(j + 2000)); | ^~~~~~~~ | | | unsigned char * hunt.h:698:45: note: expected 'char *' but argument is of type 'unsigned char *' 698 | char *src_mac, char *dst_mac, unsigned short seq); | ~~~~~~^~~~~~~ cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o resolv.o resolv.c hostup.c:106:52: warning: pointer targets in passing argument 4 of 'is_icmp_reply' differ in signedness [-Wpointer-sign] 106 | p->p_ethh->h_source, my_eth_mac) || | ~~~~~~~~~^~~~~~~~~~ | | | unsigned char * hunt.h:700:25: note: expected 'char *' but argument is of type 'unsigned char *' 700 | char *src_mac, char *dst_mac); | ~~~~~~^~~~~~~ hostup.c:106:64: warning: pointer targets in passing argument 5 of 'is_icmp_reply' differ in signedness [-Wpointer-sign] 106 | p->p_ethh->h_source, my_eth_mac) || | ^~~~~~~~~~ | | | unsigned char * hunt.h:700:40: note: expected 'char *' but argument is of type 'unsigned char *' 700 | char *src_mac, char *dst_mac); | ~~~~~~^~~~~~~ hostup.c:108:43: warning: pointer targets in passing argument 4 of 'is_icmp_reply' differ in signedness [-Wpointer-sign] 108 | fake_mac, my_eth_mac))) { | ^~~~~~~~ | | | unsigned char * hunt.h:700:25: note: expected 'char *' but argument is of type 'unsigned char *' 700 | char *src_mac, char *dst_mac); | ~~~~~~^~~~~~~ hostup.c:108:53: warning: pointer targets in passing argument 5 of 'is_icmp_reply' differ in signedness [-Wpointer-sign] 108 | fake_mac, my_eth_mac))) { | ^~~~~~~~~~ | | | unsigned char * hunt.h:700:40: note: expected 'char *' but argument is of type 'unsigned char *' 700 | char *src_mac, char *dst_mac); | ~~~~~~^~~~~~~ hostup.c: In function 'send_arp_message': hostup.c:125:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 125 | as.src_mac = my_eth_mac; | ^ hostup.c:128:23: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 128 | as.sender_mac = my_eth_mac; | ^ hostup.c:130:23: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 130 | as.target_mac = mac_zero; | ^ hostup.c: In function 'perform_arp': hostup.c:159:62: warning: pointer targets in passing argument 2 of 'send_arp_message' differ in signedness [-Wpointer-sign] 159 | send_arp_message(ip, mac_broadcast); | ^~~~~~~~~~~~~ | | | unsigned char * hostup.c:121:53: note: expected 'char *' but argument is of type 'unsigned char *' 121 | static void send_arp_message(unsigned int ip, char *dst_mac) | ~~~~~~^~~~~~~ hostup.c:161:62: warning: pointer targets in passing argument 2 of 'send_arp_message' differ in signedness [-Wpointer-sign] 161 | send_arp_message(ip, fake_mac); | ^~~~~~~~ | | | unsigned char * hostup.c:121:53: note: expected 'char *' but argument is of type 'unsigned char *' 121 | static void send_arp_message(unsigned int ip, char *dst_mac) | ~~~~~~^~~~~~~ addpolicy.c: In function 'addpolicy_add_item': addpolicy.c:113:44: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 113 | &src_mask, src_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ | | | int * In file included from addpolicy.c:9: hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ net.c: In function 'send_tcp_packet': addpolicy.c:116:44: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 116 | &dst_mask, dst_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ | | | int * hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ net.c:85:9: warning: '__builtin_strncpy' specified bound 14 equals destination size [-Wstringop-truncation] 85 | strncpy(spkt.sa_data, eth_device, sizeof(spkt.sa_data)); | ^ addpolicy.c:125:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 125 | port_htons(src_ports); | ^~~~~~~~~ | | | int * hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ arpspoof.c: In function 'stop_arp_spoof': arpspoof.c:543:40: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 543 | as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : | ^ arpspoof.c:546:40: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 546 | as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : | ^ arpspoof.c:548:32: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 548 | as_dst.dst_mac = asi->dst_mac; | ^ arpspoof.c:550:35: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 550 | as_dst.sender_mac = asi_src_mac; | ^ arpspoof.c:552:35: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 552 | as_dst.target_mac = asi->dst_mac; | ^ hostup.c: In function 'host_up': hostup.c:299:33: warning: pointer targets in passing argument 1 of 'sprintf_eth_mac' differ in signedness [-Wpointer-sign] 299 | sprintf_eth_mac(buf_mac, suggest_mac()); | ^~~~~~~ | | | unsigned char * hunt.h:422:27: note: expected 'char *' but argument is of type 'unsigned char *' 422 | int sprintf_eth_mac(char *b, unsigned char *mac); | ~~~~~~^ arpspoof.c:565:40: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 565 | as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : | ^ hostup.c:300:84: warning: pointer targets in passing argument 3 of 'menu_choose_mac' differ in signedness [-Wpointer-sign] 300 | if (menu_choose_mac("choose unused MAC in your network", fake_mac, buf_mac) >= 0) { | ^~~~~~~ | | | unsigned char * hunt.h:365:64: note: expected 'char *' but argument is of type 'unsigned char *' 365 | int menu_choose_mac(char *label, unsigned char *mac_ret, char *dfl); | ~~~~~~^~~ arpspoof.c:568:40: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 568 | as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : | ^ addpolicy.c:129:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 129 | port_htons(dst_ports); | ^~~~~~~~~ | | | int * hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ addpolicy.c: In function 'addpolicy_mod_item': addpolicy.c:150:49: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 150 | &src_ip, &src_mask, src_ports, | ^~~~~~~~~ | | | int * hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ addpolicy.c:151:62: warning: pointer targets in passing argument 7 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 151 | api->src_addr, api->src_mask, api->src_ports) < 0) | ~~~^~~~~~~~~~~ | | | unsigned int * hunt.h:372:66: note: expected 'int *' but argument is of type 'unsigned int *' 372 | unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); | ~~~~~^~~~~~~~~ addpolicy.c:154:49: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 154 | &dst_ip, &dst_mask, dst_ports, | ^~~~~~~~~ | | | int * hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ addpolicy.c:155:62: warning: pointer targets in passing argument 7 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 155 | api->dst_addr, api->dst_mask, api->dst_ports) < 0) | ~~~^~~~~~~~~~~ | | | unsigned int * hunt.h:372:66: note: expected 'int *' but argument is of type 'unsigned int *' 372 | unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); | ~~~~~^~~~~~~~~ addpolicy.c:157:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 157 | port_htons(src_ports); | ^~~~~~~~~ | | | int * hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ addpolicy.c:158:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 158 | port_htons(dst_ports); | ^~~~~~~~~ | | | int * hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o timer.o timer.c hostup.c:314:33: warning: pointer targets in passing argument 1 of 'sprintf_eth_mac' differ in signedness [-Wpointer-sign] 314 | sprintf_eth_mac(buf_mac, suggest_mac()); | ^~~~~~~ | | | unsigned char * hunt.h:422:27: note: expected 'char *' but argument is of type 'unsigned char *' 422 | int sprintf_eth_mac(char *b, unsigned char *mac); | ~~~~~~^ arpspoof.c:570:32: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 570 | as_dst.src_mac = asi->src_mac; | ^ hostup.c:315:84: warning: pointer targets in passing argument 3 of 'menu_choose_mac' differ in signedness [-Wpointer-sign] 315 | if (menu_choose_mac("choose unused MAC in your network", fake_mac, buf_mac) >= 0) { | ^~~~~~~ | | | unsigned char * hunt.h:365:64: note: expected 'char *' but argument is of type 'unsigned char *' 365 | int menu_choose_mac(char *label, unsigned char *mac_ret, char *dfl); | ~~~~~~^~~ arpspoof.c:571:32: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 571 | as_dst.dst_mac = asi->dst_mac; | ^ arpspoof.c:573:35: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 573 | as_dst.sender_mac = asi_src_mac; | ^ arpspoof.c:575:35: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 575 | as_dst.target_mac = mac_zero; | ^ arpspoof.c: In function 'arp_spoof_range_list': arpspoof.c:951:41: warning: pointer targets in passing argument 2 of 'sprintf_eth_mac' differ in signedness [-Wpointer-sign] 951 | sprintf_eth_mac(buf, asr->src_fake_mac); | ~~~^~~~~~~~~~~~~~ | | | char * In file included from arpspoof.c:9: hunt.h:422:45: note: expected 'unsigned char *' but argument is of type 'char *' 422 | int sprintf_eth_mac(char *b, unsigned char *mac); | ~~~~~~~~~~~~~~~^~~ arpspoof.c: In function 'arp_spoof_add_item': arpspoof.c:1008:71: warning: pointer targets in passing argument 5 of 'start_arp_spoof' differ in signedness [-Wpointer-sign] 1008 | mi_dst ? mi_dst->mac : NULL, src_fake_mac, | ^~~~~~~~~~~~ | | | unsigned char * arpspoof.c:398:53: note: expected 'char *' but argument is of type 'unsigned char *' 398 | char *src_mac, char *dst_mac, char *src_fake_mac, | ~~~~~~^~~~~~~~~~~~ arpspoof.c: In function 'arp_spoof_add_h': arpspoof.c:1163:84: warning: pointer targets in passing argument 5 of 'start_arp_spoof' differ in signedness [-Wpointer-sign] 1163 | asi_src_in_dst = start_arp_spoof(src_ip, dst_ip, mi_src->mac, mi_dst->mac, src_fake_mac, | ^~~~~~~~~~~~ | | | unsigned char * arpspoof.c:398:53: note: expected 'char *' but argument is of type 'unsigned char *' 398 | char *src_mac, char *dst_mac, char *src_fake_mac, | ~~~~~~^~~~~~~~~~~~ arpspoof.c:1165:84: warning: pointer targets in passing argument 5 of 'start_arp_spoof' differ in signedness [-Wpointer-sign] 1165 | asi_dst_in_src = start_arp_spoof(dst_ip, src_ip, mi_dst->mac, mi_src->mac, dst_fake_mac, | ^~~~~~~~~~~~ | | | unsigned char * arpspoof.c:398:53: note: expected 'char *' but argument is of type 'unsigned char *' 398 | char *src_mac, char *dst_mac, char *src_fake_mac, | ~~~~~~^~~~~~~~~~~~ arpspoof.c: In function 'arpspoof_test': arpspoof.c:1390:68: warning: pointer targets in passing argument 3 of 'send_icmp_request' differ in signedness [-Wpointer-sign] 1390 | send_icmp_request(asi->src_addr, asi->dst_addr, asi->src_fake_mac, | ~~~^~~~~~~~~~~~~~ | | | unsigned char * hunt.h:698:30: note: expected 'char *' but argument is of type 'unsigned char *' 698 | char *src_mac, char *dst_mac, unsigned short seq); | ~~~~~~^~~~~~~ arpspoof.c:1391:38: warning: pointer targets in passing argument 4 of 'send_icmp_request' differ in signedness [-Wpointer-sign] 1391 | asi->dst_mac, 1 + i); | ~~~^~~~~~~~~ | | | unsigned char * hunt.h:698:45: note: expected 'char *' but argument is of type 'unsigned char *' 698 | char *src_mac, char *dst_mac, unsigned short seq); | ~~~~~~^~~~~~~ arpspoof.c:1397:51: warning: pointer targets in passing argument 4 of 'is_icmp_reply' differ in signedness [-Wpointer-sign] 1397 | asi->dst_mac, asi->src_fake_mac); | ~~~^~~~~~~~~ | | | unsigned char * hunt.h:700:25: note: expected 'char *' but argument is of type 'unsigned char *' 700 | char *src_mac, char *dst_mac); | ~~~~~~^~~~~~~ net.c: In function 'send_icmp_packet': net.c:151:9: warning: '__builtin_strncpy' specified bound 14 equals destination size [-Wstringop-truncation] 151 | strncpy(spkt.sa_data, eth_device, sizeof(spkt.sa_data)); | ^ rstd.c: In function 'db_item_print': rstd.c:228:30: warning: '%s' directive writing up to 511 bytes into a region of size 508 [-Wformat-overflow=] 228 | sprintf(buf, "%s/%d [%s]", host_lookup(dbi->src_addr, hl_mode), | ^~ 229 | count_mask(dbi->src_mask), buf_src_ports); | ~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:970, from rstd.c:10: In function 'sprintf', inlined from 'db_item_print' at rstd.c:228:2: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 517) into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ arpspoof.c:1397:65: warning: pointer targets in passing argument 5 of 'is_icmp_reply' differ in signedness [-Wpointer-sign] 1397 | asi->dst_mac, asi->src_fake_mac); | ~~~^~~~~~~~~~~~~~ | | | unsigned char * hunt.h:700:40: note: expected 'char *' but argument is of type 'unsigned char *' 700 | char *src_mac, char *dst_mac); | ~~~~~~^~~~~~~ cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o pktrelay.o pktrelay.c addpolicy.c: In function 'addpolicy_item_print': addpolicy.c:79:35: warning: '%s' directive writing up to 511 bytes into a region of size 508 [-Wformat-overflow=] 79 | sprintf(host_buf, "%s/%d [%s]", host_lookup(api->src_addr, hl_mode), | ^~ 80 | count_mask(api->src_mask), buf_src_ports); | ~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:970, from addpolicy.c:10: In function 'sprintf', inlined from 'addpolicy_item_print' at addpolicy.c:79:2: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 517) into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ net.c: In function 'send_arp_packet': net.c:246:9: warning: '__builtin_strncpy' specified bound 14 equals destination size [-Wstringop-truncation] 246 | strncpy(spkt.sa_data, eth_device, sizeof(spkt.sa_data)); | ^ resolv.c: In function 'update_thr': resolv.c:131:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 131 | int fd = (int) arg; | ^ resolv.c: In function 'resolv_init': resolv.c:485:59: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 485 | pthread_create(&res_update_thr, NULL, update_thr, (void *) fd_req); | ^ net.c: In function 'send_packet': net.c:274:9: warning: '__builtin_strncpy' specified bound 14 equals destination size [-Wstringop-truncation] 274 | strncpy(spkt.sa_data, eth_device, sizeof(spkt.sa_data)); | ^ resolv.c: In function 'resolv_request': resolv.c:105:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 105 | write(fd_req, &req, sizeof(struct req)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sniff.c: In function 'sniffer_log_print': sniff.c:236:56: warning: '%d' directive writing between 1 and 10 bytes into a region of size between 0 and 511 [-Wformat-overflow=] 236 | sprintf(file_name, "%s_%d", file_name_buf, ++i); | ^~ sniff.c:236:52: note: directive argument in the range [1, 2147483647] 236 | sprintf(file_name, "%s_%d", file_name_buf, ++i); | ^~~~~~~ In function 'sprintf', inlined from 'sniffer_log_print' at sniff.c:236:5: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 3 and 523 bytes into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ resolv.c: In function 'handle_response': resolv.c:337:25: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 337 | read(sl->s_fd, res + 1, res->name_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resolv.c:339:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 339 | write(fd, buf, sizeof(struct res) + res->name_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resolv.c: In function 'send_req_to_slave': resolv.c:257:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 257 | write(sl->s_fd, &req, sizeof(struct req)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resolv.c:285:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 285 | write(sl->s_fd, &req, sizeof(struct req)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resolv.c: In function 'resolv_slave': resolv.c:226:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 226 | write(fd, res, sizeof(struct res) + res->name_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pktrelay.c: In function 'relay_add_item': pktrelay.c:270:44: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 270 | &src_mask, src_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ | | | int * In file included from pktrelay.c:9: hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ pktrelay.c:273:44: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 273 | &dst_mask, dst_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ | | | int * hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ pktrelay.c:294:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 294 | port_htons(src_ports); | ^~~~~~~~~ | | | int * hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ pktrelay.c:298:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 298 | port_htons(dst_ports); | ^~~~~~~~~ | | | int * hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ pktrelay.c: In function 'relay_mod_item': pktrelay.c:334:49: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 334 | &src_ip, &src_mask, src_ports, | ^~~~~~~~~ | | | int * hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ pktrelay.c:335:59: warning: pointer targets in passing argument 7 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 335 | ri->src_addr, ri->src_mask, ri->src_ports) < 0) | ~~^~~~~~~~~~~ | | | unsigned int * hunt.h:372:66: note: expected 'int *' but argument is of type 'unsigned int *' 372 | unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); | ~~~~~^~~~~~~~~ pktrelay.c:338:49: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 338 | &dst_ip, &dst_mask, dst_ports, | ^~~~~~~~~ | | | int * hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ pktrelay.c:339:59: warning: pointer targets in passing argument 7 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 339 | ri->dst_addr, ri->dst_mask, ri->dst_ports) < 0) | ~~^~~~~~~~~~~ | | | unsigned int * hunt.h:372:66: note: expected 'int *' but argument is of type 'unsigned int *' 372 | unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); | ~~~~~^~~~~~~~~ pktrelay.c:367:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 367 | port_htons(src_ports); | ^~~~~~~~~ | | | int * hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ pktrelay.c:368:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 368 | port_htons(dst_ports); | ^~~~~~~~~ | | | int * hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ pktrelay.c: In function 'relay_item_print': pktrelay.c:225:30: warning: '%s' directive writing up to 511 bytes into a region of size 508 [-Wformat-overflow=] 225 | sprintf(buf, "%s/%d [%s]", host_lookup(ri->src_addr, hl_mode), | ^~ 226 | count_mask(ri->src_mask), buf_src_ports); | ~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:970, from pktrelay.c:12: In function 'sprintf', inlined from 'relay_item_print' at pktrelay.c:225:2: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 517) into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cc -Wl,-z,relro -Wl,-z,now -o hunt hunt.o main.o c/list.o c/hash.o c/array.o util.o net.o rst.o menu.o hijack.o rstd.o sniff.o macdisc.o tap.o arphijack.o tty.o synchijack.o arpspoof.o hostup.o addpolicy.o options.o resolv.o timer.o pktrelay.o -lpthread make[2]: Leaving directory '/build/reproducible-path/hunt-1.5' dh_auto_build --sourcedirectory=tpserv cd tpserv && make -j20 "INSTALL=install --strip-program=true" make[2]: Entering directory '/build/reproducible-path/hunt-1.5/tpserv' cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -ffile-prefix-map=/build/reproducible-path/hunt-1.5/tpserv=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tpserv.o tpserv.c tpserv.c: In function 'main': tpserv.c:337:75: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] 337 | clifd = accept(lfd, (struct sockaddr *) &cliaddr, &clilen); | ^~~~~~~ | | | int * In file included from tpserv.c:11: /usr/include/x86_64-linux-gnu/sys/socket.h:307:42: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 307 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ tpserv.c:328:17: warning: ignoring return value of 'daemon' declared with attribute 'warn_unused_result' [-Wunused-result] 328 | daemon(0, 0); | ^~~~~~~~~~~~ cc -Wl,-z,relro -Wl,-z,now -o tpserv tpserv.o make[2]: Leaving directory '/build/reproducible-path/hunt-1.5/tpserv' make[1]: Leaving directory '/build/reproducible-path/hunt-1.5' dh_auto_test create-stamp debian/debhelper-build-stamp dh_prep dh_auto_install --destdir=debian/hunt/ dh_install dh_installdocs dh_installchangelogs dh_installman dh_perl dh_link dh_strip_nondeterminism dh_compress dh_fixperms dh_missing dh_dwz -a dwz: debian/hunt/usr/sbin/hunt: DWARF compression not beneficial - old size 194823 new size 197396 dh_strip -a dh_makeshlibs -a dh_shlibdeps -a dh_installdeb dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'hunt' in '../hunt_1.5-10_amd64.deb'. dpkg-deb: building package 'hunt-dbgsym' in '../hunt-dbgsym_1.5-10_amd64.deb'. dpkg-genbuildinfo --build=binary -O../hunt_1.5-10_amd64.buildinfo dpkg-genchanges --build=binary -O../hunt_1.5-10_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration I: user script /srv/workspace/pbuilder/1947915/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/1947915/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/1947915 and its subdirectories I: Current time: Sun Feb 23 11:22:02 +14 2025 I: pbuilder-time-stamp: 1740259322 + false + set +x Sat Feb 22 21:22:02 UTC 2025 I: Signing ./b2/hunt_1.5-10_amd64.buildinfo as hunt_1.5-10_amd64.buildinfo.asc Sat Feb 22 21:22:02 UTC 2025 I: Signed ./b2/hunt_1.5-10_amd64.buildinfo as ./b2/hunt_1.5-10_amd64.buildinfo.asc Sat Feb 22 21:22:02 UTC 2025 - build #2 for hunt/trixie/amd64 on ionos1-amd64 done. Starting cleanup. All cleanup done. Sat Feb 22 21:22:02 UTC 2025 - reproducible_build.sh stopped running as /tmp/jenkins-script-tBzaDmXb, removing. /srv/reproducible-results/rbuild-debian/r-b-build.jOL6eQL5: total 124 drwxr-xr-x 2 jenkins jenkins 4096 Feb 22 21:19 b1 drwxr-xr-x 2 jenkins jenkins 4096 Feb 22 21:22 b2 -rw-r--r-- 1 jenkins jenkins 1821 Aug 28 05:35 hunt_1.5-10.dsc -rw------- 1 jenkins jenkins 106514 Feb 22 21:19 rbuildlog.kh5W8r2 /srv/reproducible-results/rbuild-debian/r-b-build.jOL6eQL5/b1: total 440 -rw-r--r-- 1 jenkins jenkins 103335 Feb 22 21:19 build.log -rw-r--r-- 1 jenkins jenkins 188232 Feb 22 21:19 hunt-dbgsym_1.5-10_amd64.deb -rw-r--r-- 1 jenkins jenkins 19932 Feb 22 21:19 hunt_1.5-10.debian.tar.xz -rw-r--r-- 1 jenkins jenkins 1821 Feb 22 21:19 hunt_1.5-10.dsc -rw-r--r-- 1 jenkins jenkins 4828 Feb 22 21:19 hunt_1.5-10_amd64.buildinfo -rw-r--r-- 1 jenkins jenkins 5710 Feb 22 21:19 hunt_1.5-10_amd64.buildinfo.asc -rw-r--r-- 1 jenkins jenkins 1273 Feb 22 21:19 hunt_1.5-10_amd64.changes -rw-r--r-- 1 jenkins jenkins 92272 Feb 22 21:19 hunt_1.5-10_amd64.deb -rw-r--r-- 1 jenkins jenkins 1138 Feb 22 21:19 hunt_1.5-10_source.changes /srv/reproducible-results/rbuild-debian/r-b-build.jOL6eQL5/b2: total 428 -rw-r--r-- 1 jenkins jenkins 105255 Feb 22 21:22 build.log -rw-r--r-- 1 jenkins jenkins 188232 Feb 22 21:22 hunt-dbgsym_1.5-10_amd64.deb -rw-r--r-- 1 jenkins jenkins 19932 Feb 22 21:22 hunt_1.5-10.debian.tar.xz -rw-r--r-- 1 jenkins jenkins 1821 Feb 22 21:22 hunt_1.5-10.dsc -rw-r--r-- 1 jenkins jenkins 4819 Feb 22 21:22 hunt_1.5-10_amd64.buildinfo -rw-r--r-- 1 jenkins jenkins 5701 Feb 22 21:22 hunt_1.5-10_amd64.buildinfo.asc -rw-r--r-- 1 jenkins jenkins 1273 Feb 22 21:22 hunt_1.5-10_amd64.changes -rw-r--r-- 1 jenkins jenkins 92272 Feb 22 21:22 hunt_1.5-10_amd64.deb -rw-r--r-- 1 jenkins jenkins 1138 Feb 22 21:22 hunt_1.5-10_source.changes Sat Feb 22 21:22:02 UTC 2025 I: Deleting $TMPDIR on ionos1-amd64.debian.net. Sat Feb 22 21:22:03 UTC 2025 I: hunt_1.5-10_amd64.changes: Format: 1.8 Date: Wed, 28 Aug 2024 07:24:39 +0200 Source: hunt Binary: hunt hunt-dbgsym Architecture: amd64 Version: 1.5-10 Distribution: unstable Urgency: medium Maintainer: Debian QA Group Changed-By: Andreas Beckmann Description: hunt - advanced packet sniffer and connection intrusion Closes: 1075074 Changes: hunt (1.5-10) unstable; urgency=medium . * QA upload. * Fix building with GCC 14. (Closes: #1075074) Checksums-Sha1: 79e095d874abce2b2b60ea454c9cd175b6590907 188232 hunt-dbgsym_1.5-10_amd64.deb bdf34263c7b7aa719008f9375c61faa889c882b2 4828 hunt_1.5-10_amd64.buildinfo 228ae063ea27b25d1cea939dfc3ee294298dd585 92272 hunt_1.5-10_amd64.deb Checksums-Sha256: 73daea92ca0f68f85ecd42ca9c1da379d96b01fb4af6048a824d359a6320a6a5 188232 hunt-dbgsym_1.5-10_amd64.deb 171bfd82ca1962c3f9bb4568bc4fa7a25e1d2f0e9db4a409338d478f3cada584 4828 hunt_1.5-10_amd64.buildinfo 09daeae31c02e68e386dc6739da8fba852ee2194b1082cd1372b59eb45a4f01c 92272 hunt_1.5-10_amd64.deb Files: a8e9ba2ceff42e8079c3034fb97d1dd3 188232 debug optional hunt-dbgsym_1.5-10_amd64.deb 09757e04edf3d606e5eb06285a378758 4828 net optional hunt_1.5-10_amd64.buildinfo 114addcf444ba2c262a3a12d47565474 92272 net optional hunt_1.5-10_amd64.deb removed '/var/lib/jenkins/userContent/reproducible/debian/rbuild/trixie/amd64/hunt_1.5-10.rbuild.log' removed '/var/lib/jenkins/userContent/reproducible/debian/rbuild/trixie/amd64/hunt_1.5-10.rbuild.log.gz' removed '/var/lib/jenkins/userContent/reproducible/debian/logs/trixie/amd64/hunt_1.5-10.build1.log.gz' removed '/var/lib/jenkins/userContent/reproducible/debian/logs/trixie/amd64/hunt_1.5-10.build2.log.gz' removed '/var/lib/jenkins/userContent/reproducible/debian/buildinfo/trixie/amd64/hunt_1.5-10_amd64.buildinfo' removed '/var/lib/jenkins/userContent/reproducible/debian/logdiffs/trixie/amd64/hunt_1.5-10.diff.gz' Diff of the two buildlogs: -- --- b1/build.log 2025-02-22 21:19:31.019901307 +0000 +++ b2/build.log 2025-02-22 21:22:02.841037193 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Mar 27 15:42:04 -12 2026 -I: pbuilder-time-stamp: 1774669324 +I: Current time: Sun Feb 23 11:19:33 +14 2025 +I: pbuilder-time-stamp: 1740259173 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -31,52 +31,84 @@ dpkg-source: info: applying gcc-14.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3178819/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1947915/tmp/hooks/D01_modify_environment starting +debug: Running on ionos1-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Feb 22 21:19 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/1947915/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1947915/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='00bc7a636536474996f40f270ed81fcf' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='3178819' - PS1='# ' - PS2='> ' + INVOCATION_ID=096a2d9343204f6498d06fda72a85b24 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=1947915 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.jOL6eQL5/pbuilderrc_xLwh --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.jOL6eQL5/b1 --logfile b1/build.log hunt_1.5-10.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.jOL6eQL5/pbuilderrc_VoFQ --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.jOL6eQL5/b2 --logfile b2/build.log hunt_1.5-10.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos15-amd64 6.12.9+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.9-1~bpo12+1 (2025-01-19) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-31-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3178819/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1947915/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -142,7 +174,7 @@ Get: 28 http://deb.debian.org/debian trixie/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 29 http://deb.debian.org/debian trixie/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 30 http://deb.debian.org/debian trixie/main amd64 debhelper all 13.24.1 [920 kB] -Fetched 20.6 MB in 0s (142 MB/s) +Fetched 20.6 MB in 10s (2025 kB/s) Preconfiguring packages ... Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19858 files and directories currently installed.) @@ -277,7 +309,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/hunt-1.5/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../hunt_1.5-10_source.changes +I: user script /srv/workspace/pbuilder/1947915/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/1947915/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/hunt-1.5/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../hunt_1.5-10_source.changes dpkg-buildpackage: info: source package hunt dpkg-buildpackage: info: source version 1.5-10 dpkg-buildpackage: info: source distribution unstable @@ -287,7 +323,7 @@ debian/rules clean dh clean dh_auto_clean - make -j42 distclean + make -j20 distclean make[1]: Entering directory '/build/reproducible-path/hunt-1.5' rm -f *.o core c/*.o c/core c/list_test c/hash_test c/array_test rm -f hunt hunt_static @@ -306,7 +342,7 @@ debian/rules override_dh_auto_build make[1]: Entering directory '/build/reproducible-path/hunt-1.5' dh_auto_build - make -j42 "INSTALL=install --strip-program=true" + make -j20 "INSTALL=install --strip-program=true" make[2]: Entering directory '/build/reproducible-path/hunt-1.5' cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o hunt.o hunt.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o main.o main.c @@ -320,24 +356,8 @@ cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o hijack.o hijack.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o rstd.o rstd.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o sniff.o sniff.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o macdisc.o macdisc.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tap.o tap.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o arphijack.o arphijack.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tty.o tty.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o synchijack.o synchijack.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o arpspoof.o arpspoof.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o hostup.o hostup.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o addpolicy.o addpolicy.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o options.o options.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o resolv.o resolv.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o timer.o timer.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o pktrelay.o pktrelay.c -In file included from c/array.c:10: -c/array.c: In function 'array_init': -c/array.c:27:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 27 | assert(a->a_arr = malloc(size * sizeof(struct array_item))); - | ^ c/list.c: In function '__func_remove_at': +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o macdisc.o macdisc.c c/list.c:252:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 252 | if (nr == (int) m) | ^ @@ -345,6 +365,94 @@ c/list.c:297:51: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 297 | return __list_remove(l, __func_remove_at, (void *) nr); | ^ +In file included from c/array.c:10: +c/array.c: In function 'array_init': +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tap.o tap.c +c/array.c:27:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 27 | assert(a->a_arr = malloc(size * sizeof(struct array_item))); + | ^ +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o arphijack.o arphijack.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tty.o tty.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o synchijack.o synchijack.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o arpspoof.o arpspoof.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o hostup.o hostup.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o addpolicy.o addpolicy.c +hunt.c: In function 'conn_add_update': +hunt.c:393:51: warning: variable 'h_dst' set but not used [-Wunused-but-set-variable] + 393 | struct host_info *h_src, *h_dst; + | ^~~~~ +hunt.c: In function 'mac_arp_learn': +hunt.c:696:21: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 696 | mac = arpethh->ar_sha; + | ^ +hunt.c: In function 'mac_ip_learn': +hunt.c:710:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 710 | mac = p->p_ethh->h_source; + | ^ +hunt.c: In function 'print_mac_table': +hunt.c:1016:40: warning: pointer targets in passing argument 2 of 'sprintf_eth_mac' differ in signedness [-Wpointer-sign] + 1016 | sprintf_eth_mac(buf, mi->mac); + | ~~^~~~~ + | | + | char * +In file included from hunt.c:9: +hunt.h:422:45: note: expected 'unsigned char *' but argument is of type 'char *' + 422 | int sprintf_eth_mac(char *b, unsigned char *mac); + | ~~~~~~~~~~~~~~~^~~ +main.c: In function 'a_hijack': +main.c:350:48: warning: pointer targets in passing argument 2 of 'user_arp_hijack' differ in signedness [-Wpointer-sign] + 350 | retval = user_arp_hijack(&uci, src_fake_mac, dst_fake_mac, input_mode); + | ^~~~~~~~~~~~ + | | + | unsigned char * +In file included from main.c:9: +hunt.h:503:55: note: expected 'char *' but argument is of type 'unsigned char *' + 503 | int user_arp_hijack(struct user_conn_info *uci, char *src_fake_mac, + | ~~~~~~^~~~~~~~~~~~ +main.c:350:62: warning: pointer targets in passing argument 3 of 'user_arp_hijack' differ in signedness [-Wpointer-sign] + 350 | retval = user_arp_hijack(&uci, src_fake_mac, dst_fake_mac, input_mode); + | ^~~~~~~~~~~~ + | | + | unsigned char * +hunt.h:504:27: note: expected 'char *' but argument is of type 'unsigned char *' + 504 | char *dst_fake_mac, int input_mode); + | ~~~~~~^~~~~~~~~~~~ +main.c:373:38: warning: pointer targets in passing argument 1 of 'user_arp_hijack_done' differ in signedness [-Wpointer-sign] + 373 | user_arp_hijack_done(src_fake_mac, dst_fake_mac); + | ^~~~~~~~~~~~ + | | + | unsigned char * +hunt.h:505:33: note: expected 'char *' but argument is of type 'unsigned char *' + 505 | void user_arp_hijack_done(char *src_fake_mac, char *dst_fake_mac); + | ~~~~~~^~~~~~~~~~~~ +main.c:373:52: warning: pointer targets in passing argument 2 of 'user_arp_hijack_done' differ in signedness [-Wpointer-sign] + 373 | user_arp_hijack_done(src_fake_mac, dst_fake_mac); + | ^~~~~~~~~~~~ + | | + | unsigned char * +hunt.h:505:53: note: expected 'char *' but argument is of type 'unsigned char *' + 505 | void user_arp_hijack_done(char *src_fake_mac, char *dst_fake_mac); + | ~~~~~~^~~~~~~~~~~~ +rst.c: In function 'rst': +rst.c:60:28: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 60 | ts.src_mac = ci->dst.dst_mac; + | ^ +rst.c:61:28: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 61 | ts.dst_mac = ci->dst.src_mac; + | ^ +rst.c:69:28: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 69 | ts.src_mac = ci->src.dst_mac; + | ^ +rst.c:70:28: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 70 | ts.dst_mac = ci->src.src_mac; + | ^ +main.c: In function 'main': +main.c:509:70: warning: backslash and newline separated by space + 509 | fprintf(stderr, "Network interface %s does not have "\ +main.c: In function 'simple_hijack': +main.c:250:25: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 250 | fgets(cmdbuf, sizeof(cmdbuf), stdin); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menu.c: In function 'menu_choose_mac': menu.c:254:36: warning: pointer targets in passing argument 2 of 'parse_mac' differ in signedness [-Wpointer-sign] 254 | if (parse_mac(buf, mac_ret) == 0) @@ -377,74 +485,206 @@ hunt.h:415:36: note: expected 'unsigned int *' but argument is of type 'int *' 415 | int sprintf_db_ports(unsigned int *ports, char *buf, int buf_size, int all); | ~~~~~~~~~~~~~~^~~~~ -macdisc.c: In function 'mac_discover': -macdisc.c:40:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 40 | as.src_mac = my_eth_mac; - | ^ -macdisc.c:41:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 41 | as.dst_mac = mac_broadcast; - | ^ -macdisc.c:43:23: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 43 | as.sender_mac = my_eth_mac; - | ^ -macdisc.c:45:23: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 45 | as.target_mac = mac_zero; - | ^ menu.c: In function 'menu': -rst.c: In function 'rst': -rst.c:60:28: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 60 | ts.src_mac = ci->dst.dst_mac; - | ^ menu.c:522:26: warning: field width specifier '*' expects argument of type 'int', but argument 2 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 522 | printf("%*s", strlen(head) + 9, " "); | ~^~ ~~~~~~~~~~~~~~~~ | | | | int size_t {aka long unsigned int} -rst.c:61:28: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 61 | ts.dst_mac = ci->dst.src_mac; - | ^ -rst.c:69:28: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 69 | ts.src_mac = ci->src.dst_mac; - | ^ -rst.c:70:28: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 70 | ts.dst_mac = ci->src.src_mac; - | ^ +sniff.c: In function 'sniff_item_print': +sniff.c:128:28: warning: pointer targets in passing argument 1 of 'sprintf_db_ports' differ in signedness [-Wpointer-sign] + 128 | sprintf_db_ports(si->src_ports, buf_src_ports, sizeof(buf_src_ports), 1); + | ~~^~~~~~~~~~~ + | | + | int * +In file included from sniff.c:9: +hunt.h:415:36: note: expected 'unsigned int *' but argument is of type 'int *' + 415 | int sprintf_db_ports(unsigned int *ports, char *buf, int buf_size, int all); + | ~~~~~~~~~~~~~~^~~~~ +sniff.c:129:28: warning: pointer targets in passing argument 1 of 'sprintf_db_ports' differ in signedness [-Wpointer-sign] + 129 | sprintf_db_ports(si->dst_ports, buf_dst_ports, sizeof(buf_dst_ports), 1); + | ~~^~~~~~~~~~~ + | | + | int * +hunt.h:415:36: note: expected 'unsigned int *' but argument is of type 'int *' + 415 | int sprintf_db_ports(unsigned int *ports, char *buf, int buf_size, int all); + | ~~~~~~~~~~~~~~^~~~~ +menu.c: In function 'menu_prompt': +menu.c:33:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 33 | fgets(buf, buf_size, stdin); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ rstd.c: In function 'func_tcp_packet': +sniff.c: In function 'sniff_packet_match': +sniff.c:174:41: warning: pointer targets in passing argument 2 of 'port_match' differ in signedness [-Wpointer-sign] + 174 | port_match(tcph->source, si->src_ports) && + | ~~^~~~~~~~~~~ + | | + | int * +hunt.h:427:40: note: expected 'unsigned int *' but argument is of type 'int *' + 427 | int port_match(int port, unsigned int *db_ports); + | ~~~~~~~~~~~~~~^~~~~~~~ +sniff.c:175:39: warning: pointer targets in passing argument 2 of 'port_match' differ in signedness [-Wpointer-sign] + 175 | port_match(tcph->dest, si->dst_ports)) + | ~~^~~~~~~~~~~ + | | + | int * +hunt.h:427:40: note: expected 'unsigned int *' but argument is of type 'int *' + 427 | int port_match(int port, unsigned int *db_ports); + | ~~~~~~~~~~~~~~^~~~~~~~ +sniff.c:181:41: warning: pointer targets in passing argument 2 of 'port_match' differ in signedness [-Wpointer-sign] + 181 | port_match(tcph->source, si->dst_ports) && + | ~~^~~~~~~~~~~ + | | + | int * +hunt.h:427:40: note: expected 'unsigned int *' but argument is of type 'int *' + 427 | int port_match(int port, unsigned int *db_ports); + | ~~~~~~~~~~~~~~^~~~~~~~ +sniff.c:182:39: warning: pointer targets in passing argument 2 of 'port_match' differ in signedness [-Wpointer-sign] + 182 | port_match(tcph->dest, si->src_ports)) + | ~~^~~~~~~~~~~ + | | + | int * +hunt.h:427:40: note: expected 'unsigned int *' but argument is of type 'int *' + 427 | int port_match(int port, unsigned int *db_ports); + | ~~~~~~~~~~~~~~^~~~~~~~ +menu.c: In function 'menu_choose_char_nconn': +menu.c:426:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 426 | fgets(buf, sizeof(buf), stdin); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +menu.c: In function 'menu_choose_string': +menu.c:487:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 487 | fgets(buf, sizeof(buf), stdin); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +tap.c: In function 'get_ifc_info': +tap.c:135:31: warning: pointer targets in passing argument 1 of 'print_eth_mac' differ in signedness [-Wpointer-sign] + 135 | print_eth_mac(mac); + | ^~~ + | | + | char * +In file included from tap.c:31: +hunt.h:421:34: note: expected 'unsigned char *' but argument is of type 'char *' + 421 | int print_eth_mac(unsigned char *mac); + | ~~~~~~~~~~~~~~~^~~ +macdisc.c: In function 'mac_discover': rstd.c:86:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 86 | p->p_arg[MODULE_RSTD] = (void *) dbi->rst_mode; | ^ rstd.c: In function 'rst_daemon_thr': +sniff.c: In function 'sniff_add_item': +sniff.c:664:25: warning: pointer targets in passing argument 3 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] + 664 | &src_mask, src_ports, 0, 0, NULL) < 0) + | ^~~~~~~~~ + | | + | int * +hunt.h:371:31: note: expected 'unsigned int *' but argument is of type 'int *' + 371 | unsigned int *ret_mask, unsigned int *ret_ports, + | ~~~~~~~~~~~~~~^~~~~~~~ +sniff.c:664:36: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] + 664 | &src_mask, src_ports, 0, 0, NULL) < 0) + | ^~~~~~~~~ + | | + | int * +hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' + 371 | unsigned int *ret_mask, unsigned int *ret_ports, + | ~~~~~~~~~~~~~~^~~~~~~~~ +sniff.c:667:25: warning: pointer targets in passing argument 3 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] + 667 | &dst_mask, dst_ports, 0, 0, NULL) < 0) + | ^~~~~~~~~ + | | + | int * +hunt.h:371:31: note: expected 'unsigned int *' but argument is of type 'int *' + 371 | unsigned int *ret_mask, unsigned int *ret_ports, + | ~~~~~~~~~~~~~~^~~~~~~~ +sniff.c:667:36: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] + 667 | &dst_mask, dst_ports, 0, 0, NULL) < 0) + | ^~~~~~~~~ + | | + | int * +hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' + 371 | unsigned int *ret_mask, unsigned int *ret_ports, + | ~~~~~~~~~~~~~~^~~~~~~~~ rstd.c:140:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 140 | rst_mode = (int) p->p_arg[MODULE_RSTD]; | ^ -hijack.c: In function 'fast_ack_to_dst': -hijack.c:89:36: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 89 | ts.src_mac = ci->src.src_mac; - | ^ -hijack.c:90:36: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 90 | ts.dst_mac = ci->dst.src_mac; - | ^ +sniff.c:705:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] + 705 | port_htons(src_ports); + | ^~~~~~~~~ + | | + | int * +hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' + 428 | void port_htons(unsigned int *db_ports); + | ~~~~~~~~~~~~~~^~~~~~~~ +sniff.c:709:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] + 709 | port_htons(dst_ports); + | ^~~~~~~~~ + | | + | int * +hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' + 428 | void port_htons(unsigned int *db_ports); + | ~~~~~~~~~~~~~~^~~~~~~~ rstd.c: In function 'rst_add_item': +macdisc.c:40:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 40 | as.src_mac = my_eth_mac; + | ^ +macdisc.c:41:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 41 | as.dst_mac = mac_broadcast; + | ^ +macdisc.c:43:23: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 43 | as.sender_mac = my_eth_mac; + | ^ +macdisc.c:45:23: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 45 | as.target_mac = mac_zero; + | ^ +sniff.c: In function 'sniff_mod_item': +sniff.c:747:38: warning: pointer targets in passing argument 3 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] + 747 | &src_ip, &src_mask, src_ports, + | ^~~~~~~~~ + | | + | int * +hunt.h:371:31: note: expected 'unsigned int *' but argument is of type 'int *' + 371 | unsigned int *ret_mask, unsigned int *ret_ports, + | ~~~~~~~~~~~~~~^~~~~~~~ +sniff.c:747:49: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] + 747 | &src_ip, &src_mask, src_ports, + | ^~~~~~~~~ + | | + | int * +hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' + 371 | unsigned int *ret_mask, unsigned int *ret_ports, + | ~~~~~~~~~~~~~~^~~~~~~~~ +sniff.c:751:38: warning: pointer targets in passing argument 3 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] + 751 | &dst_ip, &dst_mask, dst_ports, + | ^~~~~~~~~ + | | + | int * +hunt.h:371:31: note: expected 'unsigned int *' but argument is of type 'int *' + 371 | unsigned int *ret_mask, unsigned int *ret_ports, + | ~~~~~~~~~~~~~~^~~~~~~~ +sniff.c:751:49: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] + 751 | &dst_ip, &dst_mask, dst_ports, + | ^~~~~~~~~ + | | + | int * +hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' + 371 | unsigned int *ret_mask, unsigned int *ret_ports, + | ~~~~~~~~~~~~~~^~~~~~~~~ +sniff.c:770:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] + 770 | port_htons(src_ports); + | ^~~~~~~~~ + | | + | int * rstd.c:265:44: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 265 | &src_mask, src_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ | | | int * -menu.c: In function 'menu_prompt': -menu.c:33:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 33 | fgets(buf, buf_size, stdin); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' + 428 | void port_htons(unsigned int *db_ports); + | ~~~~~~~~~~~~~~^~~~~~~~ In file included from rstd.c:9: hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ -hijack.c: In function 'stormack_hijack': -hijack.c:223:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 223 | ts.src_mac = ci->dst.dst_mac; - | ^ -hijack.c:224:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 224 | ts.dst_mac = ci->dst.src_mac; - | ^ rstd.c:268:44: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 268 | &dst_mask, dst_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ @@ -453,24 +693,14 @@ hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ -hunt.c: In function 'conn_add_update': -arphijack.c: In function 'watch_tty': -arphijack.c:81:28: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 81 | ts.dst_mac = wtd->ci->dst.src_mac; - | ^ -main.c: In function 'a_hijack': -hunt.c:393:51: warning: variable 'h_dst' set but not used [-Wunused-but-set-variable] - 393 | struct host_info *h_src, *h_dst; - | ^~~~~ -main.c:350:48: warning: pointer targets in passing argument 2 of 'user_arp_hijack' differ in signedness [-Wpointer-sign] - 350 | retval = user_arp_hijack(&uci, src_fake_mac, dst_fake_mac, input_mode); - | ^~~~~~~~~~~~ - | | - | unsigned char * -In file included from main.c:9: -hunt.h:503:55: note: expected 'char *' but argument is of type 'unsigned char *' - 503 | int user_arp_hijack(struct user_conn_info *uci, char *src_fake_mac, - | ~~~~~~^~~~~~~~~~~~ +sniff.c:771:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] + 771 | port_htons(dst_ports); + | ^~~~~~~~~ + | | + | int * +hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' + 428 | void port_htons(unsigned int *db_ports); + | ~~~~~~~~~~~~~~^~~~~~~~ rstd.c:281:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 281 | port_htons(src_ports); | ^~~~~~~~~ @@ -479,20 +709,6 @@ hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ -arphijack.c: In function 'arp_hijack': -arphijack.c:122:54: warning: pointer targets in passing argument 3 of 'start_arp_spoof' differ in signedness [-Wpointer-sign] - 122 | ci->src.src_mac, ci->dst.src_mac, - | ~~~~~~~^~~~~~~~ - | | - | unsigned char * -main.c:350:62: warning: pointer targets in passing argument 3 of 'user_arp_hijack' differ in signedness [-Wpointer-sign] - 350 | retval = user_arp_hijack(&uci, src_fake_mac, dst_fake_mac, input_mode); - | ^~~~~~~~~~~~ - | | - | unsigned char * -hunt.h:504:27: note: expected 'char *' but argument is of type 'unsigned char *' - 504 | char *dst_fake_mac, int input_mode); - | ~~~~~~^~~~~~~~~~~~ rstd.c:285:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 285 | port_htons(dst_ports); | ^~~~~~~~~ @@ -501,63 +717,15 @@ hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ -In file included from arphijack.c:9: -hunt.h:522:23: note: expected 'char *' but argument is of type 'unsigned char *' - 522 | char *src_mac, char *dst_mac, char *src_fake_mac, - | ~~~~~~^~~~~~~ -arphijack.c:122:71: warning: pointer targets in passing argument 4 of 'start_arp_spoof' differ in signedness [-Wpointer-sign] - 122 | ci->src.src_mac, ci->dst.src_mac, - | ~~~~~~~^~~~~~~~ - | | - | unsigned char * -hunt.h:522:38: note: expected 'char *' but argument is of type 'unsigned char *' - 522 | char *src_mac, char *dst_mac, char *src_fake_mac, - | ~~~~~~^~~~~~~ -menu.c: In function 'menu_choose_char_nconn': -main.c:373:38: warning: pointer targets in passing argument 1 of 'user_arp_hijack_done' differ in signedness [-Wpointer-sign] - 373 | user_arp_hijack_done(src_fake_mac, dst_fake_mac); - | ^~~~~~~~~~~~ - | | - | unsigned char * rstd.c: In function 'rst_mod_item': -hunt.h:505:33: note: expected 'char *' but argument is of type 'unsigned char *' - 505 | void user_arp_hijack_done(char *src_fake_mac, char *dst_fake_mac); - | ~~~~~~^~~~~~~~~~~~ -menu.c:426:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 426 | fgets(buf, sizeof(buf), stdin); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rstd.c:314:49: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 314 | &src_ip, &src_mask, src_ports, | ^~~~~~~~~ | | | int * -arphijack.c:143:54: warning: pointer targets in passing argument 3 of 'start_arp_spoof' differ in signedness [-Wpointer-sign] - 143 | ci->dst.src_mac, ci->src.src_mac, - | ~~~~~~~^~~~~~~~ - | | - | unsigned char * hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ -hunt.h:522:23: note: expected 'char *' but argument is of type 'unsigned char *' - 522 | char *src_mac, char *dst_mac, char *src_fake_mac, - | ~~~~~~^~~~~~~ -main.c:373:52: warning: pointer targets in passing argument 2 of 'user_arp_hijack_done' differ in signedness [-Wpointer-sign] - 373 | user_arp_hijack_done(src_fake_mac, dst_fake_mac); - | ^~~~~~~~~~~~ - | | - | unsigned char * -hunt.h:505:53: note: expected 'char *' but argument is of type 'unsigned char *' - 505 | void user_arp_hijack_done(char *src_fake_mac, char *dst_fake_mac); - | ~~~~~~^~~~~~~~~~~~ -arphijack.c:143:71: warning: pointer targets in passing argument 4 of 'start_arp_spoof' differ in signedness [-Wpointer-sign] - 143 | ci->dst.src_mac, ci->src.src_mac, - | ~~~~~~~^~~~~~~~ - | | - | unsigned char * -hunt.h:522:38: note: expected 'char *' but argument is of type 'unsigned char *' - 522 | char *src_mac, char *dst_mac, char *src_fake_mac, - | ~~~~~~^~~~~~~ rstd.c:315:62: warning: pointer targets in passing argument 7 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 315 | dbi->src_addr, dbi->src_mask, dbi->src_ports) < 0) | ~~~^~~~~~~~~~~ @@ -566,7 +734,6 @@ hunt.h:372:66: note: expected 'int *' but argument is of type 'unsigned int *' 372 | unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); | ~~~~~^~~~~~~~~ -menu.c: In function 'menu_choose_string': rstd.c:318:49: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 318 | &dst_ip, &dst_mask, dst_ports, | ^~~~~~~~~ @@ -575,9 +742,6 @@ hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ -arphijack.c:169:26: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 169 | wtd.src_fake_mac = asi_src ? asi_src->src_fake_mac : ci->src.src_mac; - | ^ rstd.c:319:62: warning: pointer targets in passing argument 7 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 319 | dbi->dst_addr, dbi->dst_mask, dbi->dst_ports) < 0) | ~~~^~~~~~~~~~~ @@ -586,10 +750,20 @@ hunt.h:372:66: note: expected 'int *' but argument is of type 'unsigned int *' 372 | unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); | ~~~~~^~~~~~~~~ -menu.c:487:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 487 | fgets(buf, sizeof(buf), stdin); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -arpspoof.c: In function 'send_src_spoof_to_dst': +hijack.c: In function 'fast_ack_to_dst': +hijack.c:89:36: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 89 | ts.src_mac = ci->src.src_mac; + | ^ +hijack.c:90:36: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 90 | ts.dst_mac = ci->dst.src_mac; + | ^ +hijack.c: In function 'stormack_hijack': +hijack.c:223:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 223 | ts.src_mac = ci->dst.dst_mac; + | ^ +hijack.c:224:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 224 | ts.dst_mac = ci->dst.src_mac; + | ^ rstd.c:326:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 326 | port_htons(src_ports); | ^~~~~~~~~ @@ -598,12 +772,6 @@ hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ -arpspoof.c:85:24: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 85 | as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : asi->src_fake_mac; - | ^ -arpspoof.c:86:24: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 86 | as_dst.dst_mac = asi->dst_mac; - | ^ rstd.c:327:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 327 | port_htons(dst_ports); | ^~~~~~~~~ @@ -612,55 +780,14 @@ hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ -arpspoof.c:88:27: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 88 | as_dst.sender_mac = asi->src_fake_mac; - | ^ -arpspoof.c:90:27: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 90 | as_dst.target_mac = asi->dst_mac; - | ^ -arphijack.c:200:44: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 200 | ts.src_mac = asi_src ? asi_src->src_fake_mac : - | ^ -arpspoof.c: In function 'send_src_spoof_to_dst_through_request': -arpspoof.c:117:24: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 117 | as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : asi->src_fake_mac; - | ^ -arphijack.c:202:44: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 202 | ts.dst_mac = ci->dst.src_mac; - | ^ -arpspoof.c:118:24: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 118 | as_dst.dst_mac = asi->dst_mac; /* don't use broadcast - we want that it is received only by the target */ - | ^ -arpspoof.c:120:27: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 120 | as_dst.sender_mac = asi->src_fake_mac; - | ^ -arpspoof.c:122:27: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 122 | as_dst.target_mac = mac_zero; - | ^ -arphijack.c:224:44: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 224 | ts.src_mac = asi_dst ? asi_dst->src_fake_mac : - | ^ -hunt.c: In function 'mac_arp_learn': -arphijack.c:226:44: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 226 | ts.dst_mac = ci->src.src_mac; - | ^ -main.c: In function 'main': -hunt.c:696:21: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 696 | mac = arpethh->ar_sha; - | ^ -main.c:509:70: warning: backslash and newline separated by space - 509 | fprintf(stderr, "Network interface %s does not have "\ +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o options.o options.c synchijack.c: In function 'hijack_sync_init_msg': synchijack.c:153:28: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 153 | ts.src_mac = ci->src.dst_mac; | ^ -hunt.c: In function 'mac_ip_learn': synchijack.c:154:28: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 154 | ts.dst_mac = ci->src.src_mac; | ^ -hunt.c:710:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 710 | mac = p->p_ethh->h_source; - | ^ synchijack.c: In function 'need_read_write_negative': synchijack.c:220:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 220 | ts.src_mac = ci->dst.dst_mac; @@ -679,22 +806,136 @@ synchijack.c:245:29: warning: spurious trailing '%' in format [-Wformat=] 245 | sprintf(fin_msg, "%f%", suggest_sync_msg(0)); | ^ +synchijack.c:279:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 279 | ts.src_mac = ci->src.dst_mac; + | ^ +synchijack.c:280:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 280 | ts.dst_mac = ci->src.src_mac; + | ^ +synchijack.c: In function 'need_read_positive': +synchijack.c:307:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 307 | ts.src_mac = ci->src.dst_mac; + | ^ +synchijack.c:308:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 308 | ts.dst_mac = ci->src.src_mac; + | ^ +synchijack.c: In function 'f_hijack_sync': +synchijack.c:419:44: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 419 | ts.src_mac = ci->dst.dst_mac; + | ^ +synchijack.c:420:44: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 420 | ts.dst_mac = ci->dst.src_mac; + | ^ +synchijack.c: In function 'hijack_sync': +synchijack.c:464:25: warning: variable 'absts' set but not used [-Wunused-but-set-variable] + 464 | struct timespec absts; + | ^~~~~ +arphijack.c: In function 'watch_tty': +arphijack.c:81:28: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 81 | ts.dst_mac = wtd->ci->dst.src_mac; + | ^ +arphijack.c: In function 'arp_hijack': +arphijack.c:122:54: warning: pointer targets in passing argument 3 of 'start_arp_spoof' differ in signedness [-Wpointer-sign] + 122 | ci->src.src_mac, ci->dst.src_mac, + | ~~~~~~~^~~~~~~~ + | | + | unsigned char * +In file included from arphijack.c:9: +hunt.h:522:23: note: expected 'char *' but argument is of type 'unsigned char *' + 522 | char *src_mac, char *dst_mac, char *src_fake_mac, + | ~~~~~~^~~~~~~ +arphijack.c:122:71: warning: pointer targets in passing argument 4 of 'start_arp_spoof' differ in signedness [-Wpointer-sign] + 122 | ci->src.src_mac, ci->dst.src_mac, + | ~~~~~~~^~~~~~~~ + | | + | unsigned char * +hunt.h:522:38: note: expected 'char *' but argument is of type 'unsigned char *' + 522 | char *src_mac, char *dst_mac, char *src_fake_mac, + | ~~~~~~^~~~~~~ +arphijack.c:143:54: warning: pointer targets in passing argument 3 of 'start_arp_spoof' differ in signedness [-Wpointer-sign] + 143 | ci->dst.src_mac, ci->src.src_mac, + | ~~~~~~~^~~~~~~~ + | | + | unsigned char * +hunt.h:522:23: note: expected 'char *' but argument is of type 'unsigned char *' + 522 | char *src_mac, char *dst_mac, char *src_fake_mac, + | ~~~~~~^~~~~~~ +arphijack.c:143:71: warning: pointer targets in passing argument 4 of 'start_arp_spoof' differ in signedness [-Wpointer-sign] + 143 | ci->dst.src_mac, ci->src.src_mac, + | ~~~~~~~^~~~~~~~ + | | + | unsigned char * +hunt.h:522:38: note: expected 'char *' but argument is of type 'unsigned char *' + 522 | char *src_mac, char *dst_mac, char *src_fake_mac, + | ~~~~~~^~~~~~~ +arphijack.c:169:26: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 169 | wtd.src_fake_mac = asi_src ? asi_src->src_fake_mac : ci->src.src_mac; + | ^ +arphijack.c:200:44: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 200 | ts.src_mac = asi_src ? asi_src->src_fake_mac : + | ^ +arphijack.c:202:44: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 202 | ts.dst_mac = ci->dst.src_mac; + | ^ +arphijack.c:224:44: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 224 | ts.src_mac = asi_dst ? asi_dst->src_fake_mac : + | ^ +arphijack.c:226:44: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 226 | ts.dst_mac = ci->src.src_mac; + | ^ +sniff.c: In function 'sniff_item_print': +sniff.c:135:35: warning: '%s' directive writing up to 511 bytes into a region of size 508 [-Wformat-overflow=] + 135 | sprintf(host_buf, "%s/%d [%s]", host_lookup(si->src_addr, hl_mode), + | ^~ + 136 | count_mask(si->src_mask), buf_src_ports); + | ~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:970, + from sniff.c:12: +In function 'sprintf', + inlined from 'sniff_item_print' at sniff.c:135:2: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 517) into a destination of size 512 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +arpspoof.c: In function 'send_src_spoof_to_dst': +arpspoof.c:85:24: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 85 | as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : asi->src_fake_mac; + | ^ +arpspoof.c:86:24: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 86 | as_dst.dst_mac = asi->dst_mac; + | ^ +arpspoof.c:88:27: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 88 | as_dst.sender_mac = asi->src_fake_mac; + | ^ +arpspoof.c:90:27: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 90 | as_dst.target_mac = asi->dst_mac; + | ^ +arpspoof.c: In function 'send_src_spoof_to_dst_through_request': +arpspoof.c:117:24: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 117 | as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : asi->src_fake_mac; + | ^ +arpspoof.c:118:24: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 118 | as_dst.dst_mac = asi->dst_mac; /* don't use broadcast - we want that it is received only by the target */ + | ^ +arpspoof.c:120:27: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 120 | as_dst.sender_mac = asi->src_fake_mac; + | ^ +arpspoof.c:122:27: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 122 | as_dst.target_mac = mac_zero; + | ^ hostup.c: In function 'perform_ping': hostup.c:87:63: warning: pointer targets in passing argument 3 of 'send_icmp_request' differ in signedness [-Wpointer-sign] 87 | ip, my_eth_mac, | ^~~~~~~~~~ | | | unsigned char * -addpolicy.c: In function 'addpolicy_add_item': In file included from hostup.c:9: hunt.h:698:30: note: expected 'char *' but argument is of type 'unsigned char *' 698 | char *src_mac, char *dst_mac, unsigned short seq); | ~~~~~~^~~~~~~ -addpolicy.c:113:44: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] - 113 | &src_mask, src_ports, 0, 0, NULL) < 0) - | ^~~~~~~~~ - | | - | int * hostup.c:93:49: warning: pointer targets in passing argument 3 of 'send_icmp_request' differ in signedness [-Wpointer-sign] 93 | my_eth_mac, fake_mac, htons(j + 2000)); | ^~~~~~~~~~ @@ -703,10 +944,6 @@ hunt.h:698:30: note: expected 'char *' but argument is of type 'unsigned char *' 698 | char *src_mac, char *dst_mac, unsigned short seq); | ~~~~~~^~~~~~~ -In file included from addpolicy.c:9: -hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' - 371 | unsigned int *ret_mask, unsigned int *ret_ports, - | ~~~~~~~~~~~~~~^~~~~~~~~ hostup.c:93:61: warning: pointer targets in passing argument 4 of 'send_icmp_request' differ in signedness [-Wpointer-sign] 93 | my_eth_mac, fake_mac, htons(j + 2000)); | ^~~~~~~~ @@ -715,14 +952,7 @@ hunt.h:698:45: note: expected 'char *' but argument is of type 'unsigned char *' 698 | char *src_mac, char *dst_mac, unsigned short seq); | ~~~~~~^~~~~~~ -addpolicy.c:116:44: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] - 116 | &dst_mask, dst_ports, 0, 0, NULL) < 0) - | ^~~~~~~~~ - | | - | int * -hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' - 371 | unsigned int *ret_mask, unsigned int *ret_ports, - | ~~~~~~~~~~~~~~^~~~~~~~~ +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o resolv.o resolv.c hostup.c:106:52: warning: pointer targets in passing argument 4 of 'is_icmp_reply' differ in signedness [-Wpointer-sign] 106 | p->p_ethh->h_source, my_eth_mac) || | ~~~~~~~~~^~~~~~~~~~ @@ -731,26 +961,14 @@ hunt.h:700:25: note: expected 'char *' but argument is of type 'unsigned char *' 700 | char *src_mac, char *dst_mac); | ~~~~~~^~~~~~~ -arpspoof.c: In function 'stop_arp_spoof': hostup.c:106:64: warning: pointer targets in passing argument 5 of 'is_icmp_reply' differ in signedness [-Wpointer-sign] 106 | p->p_ethh->h_source, my_eth_mac) || | ^~~~~~~~~~ | | | unsigned char * -addpolicy.c:125:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] - 125 | port_htons(src_ports); - | ^~~~~~~~~ - | | - | int * hunt.h:700:40: note: expected 'char *' but argument is of type 'unsigned char *' 700 | char *src_mac, char *dst_mac); | ~~~~~~^~~~~~~ -synchijack.c:279:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 279 | ts.src_mac = ci->src.dst_mac; - | ^ -hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' - 428 | void port_htons(unsigned int *db_ports); - | ~~~~~~~~~~~~~~^~~~~~~~ hostup.c:108:43: warning: pointer targets in passing argument 4 of 'is_icmp_reply' differ in signedness [-Wpointer-sign] 108 | fake_mac, my_eth_mac))) { | ^~~~~~~~ @@ -764,28 +982,114 @@ | ^~~~~~~~~~ | | | unsigned char * -addpolicy.c:129:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] - 129 | port_htons(dst_ports); - | ^~~~~~~~~ - | | - | int * hunt.h:700:40: note: expected 'char *' but argument is of type 'unsigned char *' 700 | char *src_mac, char *dst_mac); | ~~~~~~^~~~~~~ +hostup.c: In function 'send_arp_message': +hostup.c:125:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 125 | as.src_mac = my_eth_mac; + | ^ +hostup.c:128:23: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 128 | as.sender_mac = my_eth_mac; + | ^ +hostup.c:130:23: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 130 | as.target_mac = mac_zero; + | ^ +hostup.c: In function 'perform_arp': +hostup.c:159:62: warning: pointer targets in passing argument 2 of 'send_arp_message' differ in signedness [-Wpointer-sign] + 159 | send_arp_message(ip, mac_broadcast); + | ^~~~~~~~~~~~~ + | | + | unsigned char * +hostup.c:121:53: note: expected 'char *' but argument is of type 'unsigned char *' + 121 | static void send_arp_message(unsigned int ip, char *dst_mac) + | ~~~~~~^~~~~~~ +hostup.c:161:62: warning: pointer targets in passing argument 2 of 'send_arp_message' differ in signedness [-Wpointer-sign] + 161 | send_arp_message(ip, fake_mac); + | ^~~~~~~~ + | | + | unsigned char * +hostup.c:121:53: note: expected 'char *' but argument is of type 'unsigned char *' + 121 | static void send_arp_message(unsigned int ip, char *dst_mac) + | ~~~~~~^~~~~~~ +addpolicy.c: In function 'addpolicy_add_item': +addpolicy.c:113:44: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] + 113 | &src_mask, src_ports, 0, 0, NULL) < 0) + | ^~~~~~~~~ + | | + | int * +In file included from addpolicy.c:9: +hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' + 371 | unsigned int *ret_mask, unsigned int *ret_ports, + | ~~~~~~~~~~~~~~^~~~~~~~~ +net.c: In function 'send_tcp_packet': +addpolicy.c:116:44: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] + 116 | &dst_mask, dst_ports, 0, 0, NULL) < 0) + | ^~~~~~~~~ + | | + | int * +hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' + 371 | unsigned int *ret_mask, unsigned int *ret_ports, + | ~~~~~~~~~~~~~~^~~~~~~~~ +net.c:85:9: warning: '__builtin_strncpy' specified bound 14 equals destination size [-Wstringop-truncation] + 85 | strncpy(spkt.sa_data, eth_device, sizeof(spkt.sa_data)); + | ^ +addpolicy.c:125:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] + 125 | port_htons(src_ports); + | ^~~~~~~~~ + | | + | int * hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ -synchijack.c:280:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 280 | ts.dst_mac = ci->src.src_mac; - | ^ +arpspoof.c: In function 'stop_arp_spoof': arpspoof.c:543:40: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 543 | as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : | ^ -hostup.c: In function 'send_arp_message': +arpspoof.c:546:40: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 546 | as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : + | ^ +arpspoof.c:548:32: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 548 | as_dst.dst_mac = asi->dst_mac; + | ^ +arpspoof.c:550:35: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 550 | as_dst.sender_mac = asi_src_mac; + | ^ +arpspoof.c:552:35: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 552 | as_dst.target_mac = asi->dst_mac; + | ^ +hostup.c: In function 'host_up': +hostup.c:299:33: warning: pointer targets in passing argument 1 of 'sprintf_eth_mac' differ in signedness [-Wpointer-sign] + 299 | sprintf_eth_mac(buf_mac, suggest_mac()); + | ^~~~~~~ + | | + | unsigned char * +hunt.h:422:27: note: expected 'char *' but argument is of type 'unsigned char *' + 422 | int sprintf_eth_mac(char *b, unsigned char *mac); + | ~~~~~~^ +arpspoof.c:565:40: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 565 | as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : + | ^ +hostup.c:300:84: warning: pointer targets in passing argument 3 of 'menu_choose_mac' differ in signedness [-Wpointer-sign] + 300 | if (menu_choose_mac("choose unused MAC in your network", fake_mac, buf_mac) >= 0) { + | ^~~~~~~ + | | + | unsigned char * +hunt.h:365:64: note: expected 'char *' but argument is of type 'unsigned char *' + 365 | int menu_choose_mac(char *label, unsigned char *mac_ret, char *dfl); + | ~~~~~~^~~ +arpspoof.c:568:40: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 568 | as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : + | ^ +addpolicy.c:129:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] + 129 | port_htons(dst_ports); + | ^~~~~~~~~ + | | + | int * +hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' + 428 | void port_htons(unsigned int *db_ports); + | ~~~~~~~~~~~~~~^~~~~~~~ addpolicy.c: In function 'addpolicy_mod_item': -hostup.c:125:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 125 | as.src_mac = my_eth_mac; - | ^ addpolicy.c:150:49: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 150 | &src_ip, &src_mask, src_ports, | ^~~~~~~~~ @@ -794,23 +1098,14 @@ hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ -hostup.c:128:23: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 128 | as.sender_mac = my_eth_mac; - | ^ addpolicy.c:151:62: warning: pointer targets in passing argument 7 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 151 | api->src_addr, api->src_mask, api->src_ports) < 0) | ~~~^~~~~~~~~~~ | | | unsigned int * -hostup.c:130:23: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 130 | as.target_mac = mac_zero; - | ^ hunt.h:372:66: note: expected 'int *' but argument is of type 'unsigned int *' 372 | unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); | ~~~~~^~~~~~~~~ -arpspoof.c:546:40: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 546 | as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : - | ^ addpolicy.c:154:49: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 154 | &dst_ip, &dst_mask, dst_ports, | ^~~~~~~~~ @@ -827,9 +1122,6 @@ hunt.h:372:66: note: expected 'int *' but argument is of type 'unsigned int *' 372 | unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); | ~~~~~^~~~~~~~~ -synchijack.c: In function 'need_read_positive': -main.c: In function 'simple_hijack': -hostup.c: In function 'perform_arp': addpolicy.c:157:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 157 | port_htons(src_ports); | ^~~~~~~~~ @@ -838,162 +1130,15 @@ hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ -hostup.c:159:62: warning: pointer targets in passing argument 2 of 'send_arp_message' differ in signedness [-Wpointer-sign] - 159 | send_arp_message(ip, mac_broadcast); - | ^~~~~~~~~~~~~ - | | - | unsigned char * addpolicy.c:158:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 158 | port_htons(dst_ports); | ^~~~~~~~~ | | | int * -main.c:250:25: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 250 | fgets(cmdbuf, sizeof(cmdbuf), stdin); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -arpspoof.c:548:32: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 548 | as_dst.dst_mac = asi->dst_mac; - | ^ hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ -hostup.c:121:53: note: expected 'char *' but argument is of type 'unsigned char *' - 121 | static void send_arp_message(unsigned int ip, char *dst_mac) - | ~~~~~~^~~~~~~ -synchijack.c:307:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 307 | ts.src_mac = ci->src.dst_mac; - | ^ -hostup.c:161:62: warning: pointer targets in passing argument 2 of 'send_arp_message' differ in signedness [-Wpointer-sign] - 161 | send_arp_message(ip, fake_mac); - | ^~~~~~~~ - | | - | unsigned char * -hostup.c:121:53: note: expected 'char *' but argument is of type 'unsigned char *' - 121 | static void send_arp_message(unsigned int ip, char *dst_mac) - | ~~~~~~^~~~~~~ -arpspoof.c:550:35: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 550 | as_dst.sender_mac = asi_src_mac; - | ^ -synchijack.c:308:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 308 | ts.dst_mac = ci->src.src_mac; - | ^ -sniff.c: In function 'sniff_item_print': -sniff.c:128:28: warning: pointer targets in passing argument 1 of 'sprintf_db_ports' differ in signedness [-Wpointer-sign] - 128 | sprintf_db_ports(si->src_ports, buf_src_ports, sizeof(buf_src_ports), 1); - | ~~^~~~~~~~~~~ - | | - | int * -In file included from sniff.c:9: -hunt.h:415:36: note: expected 'unsigned int *' but argument is of type 'int *' - 415 | int sprintf_db_ports(unsigned int *ports, char *buf, int buf_size, int all); - | ~~~~~~~~~~~~~~^~~~~ -sniff.c:129:28: warning: pointer targets in passing argument 1 of 'sprintf_db_ports' differ in signedness [-Wpointer-sign] - 129 | sprintf_db_ports(si->dst_ports, buf_dst_ports, sizeof(buf_dst_ports), 1); - | ~~^~~~~~~~~~~ - | | - | int * -arpspoof.c:552:35: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 552 | as_dst.target_mac = asi->dst_mac; - | ^ -hunt.h:415:36: note: expected 'unsigned int *' but argument is of type 'int *' - 415 | int sprintf_db_ports(unsigned int *ports, char *buf, int buf_size, int all); - | ~~~~~~~~~~~~~~^~~~~ -tap.c: In function 'get_ifc_info': -arpspoof.c:565:40: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 565 | as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : - | ^ -tap.c:135:31: warning: pointer targets in passing argument 1 of 'print_eth_mac' differ in signedness [-Wpointer-sign] - 135 | print_eth_mac(mac); - | ^~~ - | | - | char * -In file included from tap.c:31: -hunt.h:421:34: note: expected 'unsigned char *' but argument is of type 'char *' - 421 | int print_eth_mac(unsigned char *mac); - | ~~~~~~~~~~~~~~~^~~ -synchijack.c: In function 'f_hijack_sync': -arpspoof.c:568:40: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 568 | as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : - | ^ -synchijack.c:419:44: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 419 | ts.src_mac = ci->dst.dst_mac; - | ^ -arpspoof.c:570:32: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 570 | as_dst.src_mac = asi->src_mac; - | ^ -sniff.c: In function 'sniff_packet_match': -synchijack.c:420:44: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 420 | ts.dst_mac = ci->dst.src_mac; - | ^ -sniff.c:174:41: warning: pointer targets in passing argument 2 of 'port_match' differ in signedness [-Wpointer-sign] - 174 | port_match(tcph->source, si->src_ports) && - | ~~^~~~~~~~~~~ - | | - | int * -hunt.h:427:40: note: expected 'unsigned int *' but argument is of type 'int *' - 427 | int port_match(int port, unsigned int *db_ports); - | ~~~~~~~~~~~~~~^~~~~~~~ -sniff.c:175:39: warning: pointer targets in passing argument 2 of 'port_match' differ in signedness [-Wpointer-sign] - 175 | port_match(tcph->dest, si->dst_ports)) - | ~~^~~~~~~~~~~ - | | - | int * -hunt.h:427:40: note: expected 'unsigned int *' but argument is of type 'int *' - 427 | int port_match(int port, unsigned int *db_ports); - | ~~~~~~~~~~~~~~^~~~~~~~ -hostup.c: In function 'host_up': -hostup.c:299:33: warning: pointer targets in passing argument 1 of 'sprintf_eth_mac' differ in signedness [-Wpointer-sign] - 299 | sprintf_eth_mac(buf_mac, suggest_mac()); - | ^~~~~~~ - | | - | unsigned char * -arpspoof.c:571:32: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 571 | as_dst.dst_mac = asi->dst_mac; - | ^ -hunt.c: In function 'print_mac_table': -hunt.h:422:27: note: expected 'char *' but argument is of type 'unsigned char *' - 422 | int sprintf_eth_mac(char *b, unsigned char *mac); - | ~~~~~~^ -sniff.c:181:41: warning: pointer targets in passing argument 2 of 'port_match' differ in signedness [-Wpointer-sign] - 181 | port_match(tcph->source, si->dst_ports) && - | ~~^~~~~~~~~~~ - | | - | int * -hunt.h:427:40: note: expected 'unsigned int *' but argument is of type 'int *' - 427 | int port_match(int port, unsigned int *db_ports); - | ~~~~~~~~~~~~~~^~~~~~~~ -sniff.c:182:39: warning: pointer targets in passing argument 2 of 'port_match' differ in signedness [-Wpointer-sign] - 182 | port_match(tcph->dest, si->src_ports)) - | ~~^~~~~~~~~~~ - | | - | int * -hunt.h:427:40: note: expected 'unsigned int *' but argument is of type 'int *' - 427 | int port_match(int port, unsigned int *db_ports); - | ~~~~~~~~~~~~~~^~~~~~~~ -hostup.c:300:84: warning: pointer targets in passing argument 3 of 'menu_choose_mac' differ in signedness [-Wpointer-sign] - 300 | if (menu_choose_mac("choose unused MAC in your network", fake_mac, buf_mac) >= 0) { - | ^~~~~~~ - | | - | unsigned char * -arpspoof.c:573:35: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 573 | as_dst.sender_mac = asi_src_mac; - | ^ -hunt.h:365:64: note: expected 'char *' but argument is of type 'unsigned char *' - 365 | int menu_choose_mac(char *label, unsigned char *mac_ret, char *dfl); - | ~~~~~~^~~ -hunt.c:1016:40: warning: pointer targets in passing argument 2 of 'sprintf_eth_mac' differ in signedness [-Wpointer-sign] - 1016 | sprintf_eth_mac(buf, mi->mac); - | ~~^~~~~ - | | - | char * -arpspoof.c:575:35: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 575 | as_dst.target_mac = mac_zero; - | ^ -In file included from hunt.c:9: -hunt.h:422:45: note: expected 'unsigned char *' but argument is of type 'char *' - 422 | int sprintf_eth_mac(char *b, unsigned char *mac); - | ~~~~~~~~~~~~~~~^~~ -synchijack.c: In function 'hijack_sync': +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o timer.o timer.c hostup.c:314:33: warning: pointer targets in passing argument 1 of 'sprintf_eth_mac' differ in signedness [-Wpointer-sign] 314 | sprintf_eth_mac(buf_mac, suggest_mac()); | ^~~~~~~ @@ -1002,9 +1147,9 @@ hunt.h:422:27: note: expected 'char *' but argument is of type 'unsigned char *' 422 | int sprintf_eth_mac(char *b, unsigned char *mac); | ~~~~~~^ -synchijack.c:464:25: warning: variable 'absts' set but not used [-Wunused-but-set-variable] - 464 | struct timespec absts; - | ^~~~~ +arpspoof.c:570:32: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 570 | as_dst.src_mac = asi->src_mac; + | ^ hostup.c:315:84: warning: pointer targets in passing argument 3 of 'menu_choose_mac' differ in signedness [-Wpointer-sign] 315 | if (menu_choose_mac("choose unused MAC in your network", fake_mac, buf_mac) >= 0) { | ^~~~~~~ @@ -1013,6 +1158,15 @@ hunt.h:365:64: note: expected 'char *' but argument is of type 'unsigned char *' 365 | int menu_choose_mac(char *label, unsigned char *mac_ret, char *dfl); | ~~~~~~^~~ +arpspoof.c:571:32: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 571 | as_dst.dst_mac = asi->dst_mac; + | ^ +arpspoof.c:573:35: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 573 | as_dst.sender_mac = asi_src_mac; + | ^ +arpspoof.c:575:35: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 575 | as_dst.target_mac = mac_zero; + | ^ arpspoof.c: In function 'arp_spoof_range_list': arpspoof.c:951:41: warning: pointer targets in passing argument 2 of 'sprintf_eth_mac' differ in signedness [-Wpointer-sign] 951 | sprintf_eth_mac(buf, asr->src_fake_mac); @@ -1023,32 +1177,7 @@ hunt.h:422:45: note: expected 'unsigned char *' but argument is of type 'char *' 422 | int sprintf_eth_mac(char *b, unsigned char *mac); | ~~~~~~~~~~~~~~~^~~ -sniff.c: In function 'sniff_add_item': -sniff.c:664:25: warning: pointer targets in passing argument 3 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] - 664 | &src_mask, src_ports, 0, 0, NULL) < 0) - | ^~~~~~~~~ - | | - | int * -hunt.h:371:31: note: expected 'unsigned int *' but argument is of type 'int *' - 371 | unsigned int *ret_mask, unsigned int *ret_ports, - | ~~~~~~~~~~~~~~^~~~~~~~ arpspoof.c: In function 'arp_spoof_add_item': -sniff.c:664:36: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] - 664 | &src_mask, src_ports, 0, 0, NULL) < 0) - | ^~~~~~~~~ - | | - | int * -hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' - 371 | unsigned int *ret_mask, unsigned int *ret_ports, - | ~~~~~~~~~~~~~~^~~~~~~~~ -sniff.c:667:25: warning: pointer targets in passing argument 3 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] - 667 | &dst_mask, dst_ports, 0, 0, NULL) < 0) - | ^~~~~~~~~ - | | - | int * -hunt.h:371:31: note: expected 'unsigned int *' but argument is of type 'int *' - 371 | unsigned int *ret_mask, unsigned int *ret_ports, - | ~~~~~~~~~~~~~~^~~~~~~~ arpspoof.c:1008:71: warning: pointer targets in passing argument 5 of 'start_arp_spoof' differ in signedness [-Wpointer-sign] 1008 | mi_dst ? mi_dst->mac : NULL, src_fake_mac, | ^~~~~~~~~~~~ @@ -1057,56 +1186,15 @@ arpspoof.c:398:53: note: expected 'char *' but argument is of type 'unsigned char *' 398 | char *src_mac, char *dst_mac, char *src_fake_mac, | ~~~~~~^~~~~~~~~~~~ -sniff.c:667:36: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] - 667 | &dst_mask, dst_ports, 0, 0, NULL) < 0) - | ^~~~~~~~~ - | | - | int * -hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' - 371 | unsigned int *ret_mask, unsigned int *ret_ports, - | ~~~~~~~~~~~~~~^~~~~~~~~ -sniff.c:705:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] - 705 | port_htons(src_ports); - | ^~~~~~~~~ - | | - | int * -hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' - 428 | void port_htons(unsigned int *db_ports); - | ~~~~~~~~~~~~~~^~~~~~~~ -sniff.c:709:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] - 709 | port_htons(dst_ports); - | ^~~~~~~~~ - | | - | int * -hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' - 428 | void port_htons(unsigned int *db_ports); - | ~~~~~~~~~~~~~~^~~~~~~~ arpspoof.c: In function 'arp_spoof_add_h': -sniff.c: In function 'sniff_mod_item': arpspoof.c:1163:84: warning: pointer targets in passing argument 5 of 'start_arp_spoof' differ in signedness [-Wpointer-sign] 1163 | asi_src_in_dst = start_arp_spoof(src_ip, dst_ip, mi_src->mac, mi_dst->mac, src_fake_mac, | ^~~~~~~~~~~~ | | | unsigned char * -sniff.c:747:38: warning: pointer targets in passing argument 3 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] - 747 | &src_ip, &src_mask, src_ports, - | ^~~~~~~~~ - | | - | int * -hunt.h:371:31: note: expected 'unsigned int *' but argument is of type 'int *' - 371 | unsigned int *ret_mask, unsigned int *ret_ports, - | ~~~~~~~~~~~~~~^~~~~~~~ arpspoof.c:398:53: note: expected 'char *' but argument is of type 'unsigned char *' 398 | char *src_mac, char *dst_mac, char *src_fake_mac, | ~~~~~~^~~~~~~~~~~~ -sniff.c:747:49: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] - 747 | &src_ip, &src_mask, src_ports, - | ^~~~~~~~~ - | | - | int * -hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' - 371 | unsigned int *ret_mask, unsigned int *ret_ports, - | ~~~~~~~~~~~~~~^~~~~~~~~ arpspoof.c:1165:84: warning: pointer targets in passing argument 5 of 'start_arp_spoof' differ in signedness [-Wpointer-sign] 1165 | asi_dst_in_src = start_arp_spoof(dst_ip, src_ip, mi_dst->mac, mi_src->mac, dst_fake_mac, | ^~~~~~~~~~~~ @@ -1115,38 +1203,6 @@ arpspoof.c:398:53: note: expected 'char *' but argument is of type 'unsigned char *' 398 | char *src_mac, char *dst_mac, char *src_fake_mac, | ~~~~~~^~~~~~~~~~~~ -sniff.c:751:38: warning: pointer targets in passing argument 3 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] - 751 | &dst_ip, &dst_mask, dst_ports, - | ^~~~~~~~~ - | | - | int * -hunt.h:371:31: note: expected 'unsigned int *' but argument is of type 'int *' - 371 | unsigned int *ret_mask, unsigned int *ret_ports, - | ~~~~~~~~~~~~~~^~~~~~~~ -sniff.c:751:49: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] - 751 | &dst_ip, &dst_mask, dst_ports, - | ^~~~~~~~~ - | | - | int * -hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' - 371 | unsigned int *ret_mask, unsigned int *ret_ports, - | ~~~~~~~~~~~~~~^~~~~~~~~ -sniff.c:770:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] - 770 | port_htons(src_ports); - | ^~~~~~~~~ - | | - | int * -hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' - 428 | void port_htons(unsigned int *db_ports); - | ~~~~~~~~~~~~~~^~~~~~~~ -sniff.c:771:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] - 771 | port_htons(dst_ports); - | ^~~~~~~~~ - | | - | int * -hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' - 428 | void port_htons(unsigned int *db_ports); - | ~~~~~~~~~~~~~~^~~~~~~~ arpspoof.c: In function 'arpspoof_test': arpspoof.c:1390:68: warning: pointer targets in passing argument 3 of 'send_icmp_request' differ in signedness [-Wpointer-sign] 1390 | send_icmp_request(asi->src_addr, asi->dst_addr, asi->src_fake_mac, @@ -1172,6 +1228,27 @@ hunt.h:700:25: note: expected 'char *' but argument is of type 'unsigned char *' 700 | char *src_mac, char *dst_mac); | ~~~~~~^~~~~~~ +net.c: In function 'send_icmp_packet': +net.c:151:9: warning: '__builtin_strncpy' specified bound 14 equals destination size [-Wstringop-truncation] + 151 | strncpy(spkt.sa_data, eth_device, sizeof(spkt.sa_data)); + | ^ +rstd.c: In function 'db_item_print': +rstd.c:228:30: warning: '%s' directive writing up to 511 bytes into a region of size 508 [-Wformat-overflow=] + 228 | sprintf(buf, "%s/%d [%s]", host_lookup(dbi->src_addr, hl_mode), + | ^~ + 229 | count_mask(dbi->src_mask), buf_src_ports); + | ~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:970, + from rstd.c:10: +In function 'sprintf', + inlined from 'db_item_print' at rstd.c:228:2: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 517) into a destination of size 512 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ arpspoof.c:1397:65: warning: pointer targets in passing argument 5 of 'is_icmp_reply' differ in signedness [-Wpointer-sign] 1397 | asi->dst_mac, asi->src_fake_mac); | ~~~^~~~~~~~~~~~~~ @@ -1180,6 +1257,7 @@ hunt.h:700:40: note: expected 'char *' but argument is of type 'unsigned char *' 700 | char *src_mac, char *dst_mac); | ~~~~~~^~~~~~~ +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o pktrelay.o pktrelay.c addpolicy.c: In function 'addpolicy_item_print': addpolicy.c:79:35: warning: '%s' directive writing up to 511 bytes into a region of size 508 [-Wformat-overflow=] 79 | sprintf(host_buf, "%s/%d [%s]", host_lookup(api->src_addr, hl_mode), @@ -1197,18 +1275,60 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -net.c: In function 'send_tcp_packet': -net.c:85:9: warning: '__builtin_strncpy' specified bound 14 equals destination size [-Wstringop-truncation] - 85 | strncpy(spkt.sa_data, eth_device, sizeof(spkt.sa_data)); +net.c: In function 'send_arp_packet': +net.c:246:9: warning: '__builtin_strncpy' specified bound 14 equals destination size [-Wstringop-truncation] + 246 | strncpy(spkt.sa_data, eth_device, sizeof(spkt.sa_data)); | ^ resolv.c: In function 'update_thr': resolv.c:131:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 131 | int fd = (int) arg; | ^ -net.c: In function 'send_icmp_packet': -net.c:151:9: warning: '__builtin_strncpy' specified bound 14 equals destination size [-Wstringop-truncation] - 151 | strncpy(spkt.sa_data, eth_device, sizeof(spkt.sa_data)); +resolv.c: In function 'resolv_init': +resolv.c:485:59: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + 485 | pthread_create(&res_update_thr, NULL, update_thr, (void *) fd_req); + | ^ +net.c: In function 'send_packet': +net.c:274:9: warning: '__builtin_strncpy' specified bound 14 equals destination size [-Wstringop-truncation] + 274 | strncpy(spkt.sa_data, eth_device, sizeof(spkt.sa_data)); | ^ +resolv.c: In function 'resolv_request': +resolv.c:105:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 105 | write(fd_req, &req, sizeof(struct req)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +sniff.c: In function 'sniffer_log_print': +sniff.c:236:56: warning: '%d' directive writing between 1 and 10 bytes into a region of size between 0 and 511 [-Wformat-overflow=] + 236 | sprintf(file_name, "%s_%d", file_name_buf, ++i); + | ^~ +sniff.c:236:52: note: directive argument in the range [1, 2147483647] + 236 | sprintf(file_name, "%s_%d", file_name_buf, ++i); + | ^~~~~~~ +In function 'sprintf', + inlined from 'sniffer_log_print' at sniff.c:236:5: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 3 and 523 bytes into a destination of size 512 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +resolv.c: In function 'handle_response': +resolv.c:337:25: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] + 337 | read(sl->s_fd, res + 1, res->name_len); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +resolv.c:339:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 339 | write(fd, buf, sizeof(struct res) + res->name_len); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +resolv.c: In function 'send_req_to_slave': +resolv.c:257:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 257 | write(sl->s_fd, &req, sizeof(struct req)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +resolv.c:285:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 285 | write(sl->s_fd, &req, sizeof(struct req)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +resolv.c: In function 'resolv_slave': +resolv.c:226:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 226 | write(fd, res, sizeof(struct res) + res->name_len); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pktrelay.c: In function 'relay_add_item': pktrelay.c:270:44: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 270 | &src_mask, src_ports, 0, 0, NULL) < 0) @@ -1249,7 +1369,6 @@ | ^~~~~~~~~ | | | int * -resolv.c: In function 'resolv_init': hunt.h:371:55: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ @@ -1258,9 +1377,6 @@ | ~~^~~~~~~~~~~ | | | unsigned int * -resolv.c:485:59: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 485 | pthread_create(&res_update_thr, NULL, update_thr, (void *) fd_req); - | ^ hunt.h:372:66: note: expected 'int *' but argument is of type 'unsigned int *' 372 | unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); | ~~~~~^~~~~~~~~ @@ -1280,23 +1396,6 @@ hunt.h:372:66: note: expected 'int *' but argument is of type 'unsigned int *' 372 | unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); | ~~~~~^~~~~~~~~ -rstd.c: In function 'db_item_print': -rstd.c:228:30: warning: '%s' directive writing up to 511 bytes into a region of size 508 [-Wformat-overflow=] - 228 | sprintf(buf, "%s/%d [%s]", host_lookup(dbi->src_addr, hl_mode), - | ^~ - 229 | count_mask(dbi->src_mask), buf_src_ports); - | ~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:970, - from rstd.c:10: -In function 'sprintf', - inlined from 'db_item_print' at rstd.c:228:2: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 517) into a destination of size 512 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ pktrelay.c:367:20: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 367 | port_htons(src_ports); | ^~~~~~~~~ @@ -1313,53 +1412,6 @@ hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ -resolv.c: In function 'resolv_request': -resolv.c:105:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 105 | write(fd_req, &req, sizeof(struct req)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -resolv.c: In function 'handle_response': -resolv.c:337:25: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] - 337 | read(sl->s_fd, res + 1, res->name_len); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -resolv.c:339:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 339 | write(fd, buf, sizeof(struct res) + res->name_len); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -resolv.c: In function 'send_req_to_slave': -resolv.c:257:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 257 | write(sl->s_fd, &req, sizeof(struct req)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -resolv.c:285:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 285 | write(sl->s_fd, &req, sizeof(struct req)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -resolv.c: In function 'resolv_slave': -resolv.c:226:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 226 | write(fd, res, sizeof(struct res) + res->name_len); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -sniff.c: In function 'sniff_item_print': -sniff.c:135:35: warning: '%s' directive writing up to 511 bytes into a region of size 508 [-Wformat-overflow=] - 135 | sprintf(host_buf, "%s/%d [%s]", host_lookup(si->src_addr, hl_mode), - | ^~ - 136 | count_mask(si->src_mask), buf_src_ports); - | ~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:970, - from sniff.c:12: -In function 'sprintf', - inlined from 'sniff_item_print' at sniff.c:135:2: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 517) into a destination of size 512 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -net.c: In function 'send_arp_packet': -net.c:246:9: warning: '__builtin_strncpy' specified bound 14 equals destination size [-Wstringop-truncation] - 246 | strncpy(spkt.sa_data, eth_device, sizeof(spkt.sa_data)); - | ^ -net.c: In function 'send_packet': -net.c:274:9: warning: '__builtin_strncpy' specified bound 14 equals destination size [-Wstringop-truncation] - 274 | strncpy(spkt.sa_data, eth_device, sizeof(spkt.sa_data)); - | ^ pktrelay.c: In function 'relay_item_print': pktrelay.c:225:30: warning: '%s' directive writing up to 511 bytes into a region of size 508 [-Wformat-overflow=] 225 | sprintf(buf, "%s/%d [%s]", host_lookup(ri->src_addr, hl_mode), @@ -1377,26 +1429,10 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -sniff.c: In function 'sniffer_log_print': -sniff.c:236:56: warning: '%d' directive writing between 1 and 10 bytes into a region of size between 0 and 511 [-Wformat-overflow=] - 236 | sprintf(file_name, "%s_%d", file_name_buf, ++i); - | ^~ -sniff.c:236:52: note: directive argument in the range [1, 2147483647] - 236 | sprintf(file_name, "%s_%d", file_name_buf, ++i); - | ^~~~~~~ -In function 'sprintf', - inlined from 'sniffer_log_print' at sniff.c:236:5: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 3 and 523 bytes into a destination of size 512 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ cc -Wl,-z,relro -Wl,-z,now -o hunt hunt.o main.o c/list.o c/hash.o c/array.o util.o net.o rst.o menu.o hijack.o rstd.o sniff.o macdisc.o tap.o arphijack.o tty.o synchijack.o arpspoof.o hostup.o addpolicy.o options.o resolv.o timer.o pktrelay.o -lpthread make[2]: Leaving directory '/build/reproducible-path/hunt-1.5' dh_auto_build --sourcedirectory=tpserv - cd tpserv && make -j42 "INSTALL=install --strip-program=true" + cd tpserv && make -j20 "INSTALL=install --strip-program=true" make[2]: Entering directory '/build/reproducible-path/hunt-1.5/tpserv' cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hunt-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -g -ffile-prefix-map=/build/reproducible-path/hunt-1.5/tpserv=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tpserv.o tpserv.c tpserv.c: In function 'main': @@ -1447,12 +1483,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/1947915/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1947915/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/3178819 and its subdirectories -I: Current time: Fri Mar 27 15:42:30 -12 2026 -I: pbuilder-time-stamp: 1774669350 +I: removing directory /srv/workspace/pbuilder/1947915 and its subdirectories +I: Current time: Sun Feb 23 11:22:02 +14 2025 +I: pbuilder-time-stamp: 1740259322 Compressing the 2nd log... /var/lib/jenkins/userContent/reproducible/debian/logdiffs/trixie/amd64/hunt_1.5-10.diff: 89.0% -- replaced with /var/lib/jenkins/userContent/reproducible/debian/logdiffs/trixie/amd64/hunt_1.5-10.diff.gz b2/build.log: 87.6% -- replaced with stdout Compressing the 1st log... b1/build.log: 87.7% -- replaced with stdout Sat Feb 22 21:22:04 UTC 2025 I: diffoscope 289 will be used to compare the two builds: ++ date -u +%s + DIFFOSCOPE_STAMP=/var/log/reproducible-builds/diffoscope_stamp_hunt_trixie_amd64_1740259324 + touch /var/log/reproducible-builds/diffoscope_stamp_hunt_trixie_amd64_1740259324 + RESULT=0 + systemd-run '--description=diffoscope on hunt/1.5-10 in trixie/amd64' --slice=rb-build-diffoscope.slice -u rb-diffoscope-amd64_4-45827 '--property=SuccessExitStatus=1 124' --user --send-sighup --pipe --wait -E TMPDIR timeout 155m nice schroot --directory /srv/reproducible-results/rbuild-debian/r-b-build.jOL6eQL5 --run-session -c jenkins-reproducible-trixie-diffoscope-4bea5fba-dd4b-4955-bcc4-56a5131d5bf4 -- sh -c 'export TMPDIR=/srv/reproducible-results/rbuild-debian/r-b-build.jOL6eQL5/dbd-tmp-jwOIrHy ; timeout 150m diffoscope --timeout 7200 --html /srv/reproducible-results/rbuild-debian/r-b-build.jOL6eQL5/hunt_1.5-10.diffoscope.html --text /srv/reproducible-results/rbuild-debian/r-b-build.jOL6eQL5/hunt_1.5-10.diffoscope.txt --json /srv/reproducible-results/rbuild-debian/r-b-build.jOL6eQL5/hunt_1.5-10.diffoscope.json --profile=- /srv/reproducible-results/rbuild-debian/r-b-build.jOL6eQL5/b1/hunt_1.5-10_amd64.changes /srv/reproducible-results/rbuild-debian/r-b-build.jOL6eQL5/b2/hunt_1.5-10_amd64.changes' + false + set +x Running as unit: rb-diffoscope-amd64_4-45827.service # Profiling output for: /usr/bin/diffoscope --timeout 7200 --html /srv/reproducible-results/rbuild-debian/r-b-build.jOL6eQL5/hunt_1.5-10.diffoscope.html --text /srv/reproducible-results/rbuild-debian/r-b-build.jOL6eQL5/hunt_1.5-10.diffoscope.txt --json /srv/reproducible-results/rbuild-debian/r-b-build.jOL6eQL5/hunt_1.5-10.diffoscope.json --profile=- /srv/reproducible-results/rbuild-debian/r-b-build.jOL6eQL5/b1/hunt_1.5-10_amd64.changes /srv/reproducible-results/rbuild-debian/r-b-build.jOL6eQL5/b2/hunt_1.5-10_amd64.changes ## command (total time: 0.000s) 0.000s 1 call cmp (internal) ## has_same_content_as (total time: 0.000s) 0.000s 1 call diffoscope.comparators.binary.FilesystemFile ## main (total time: 0.004s) 0.004s 2 calls outputs 0.000s 1 call cleanup Finished with result: success Main processes terminated with: code=exited/status=0 Service runtime: 251ms CPU time consumed: 251ms _ _ | |__ _ _ _ __ | |_ | '_ \| | | | '_ \| __| | | | | |_| | | | | |_ |_| |_|\__,_|_| |_|\__| Sat Feb 22 21:22:05 UTC 2025 I: diffoscope 289 found no differences in the changes files, and a .buildinfo file also exists. Sat Feb 22 21:22:05 UTC 2025 I: hunt from trixie built successfully and reproducibly on amd64. INSERT 0 1 INSERT 0 1 DELETE 1 [2025-02-22 21:22:05] INFO: Starting at 2025-02-22 21:22:05.862347 [2025-02-22 21:22:05] INFO: Generating the pages of 1 package(s) [2025-02-22 21:22:06] CRITICAL: https://tests.reproducible-builds.org/debian/trixie/amd64/hunt didn't produce a buildlog, even though it has been built. [2025-02-22 21:22:06] INFO: Finished at 2025-02-22 21:22:06.550604, took: 0:00:00.688269 Sat Feb 22 21:22:06 UTC 2025 - successfully updated the database and updated https://tests.reproducible-builds.org/debian/rb-pkg/trixie/amd64/hunt.html Sat Feb 22 21:22:06 UTC 2025 I: Submitting .buildinfo files to external archives: Sat Feb 22 21:22:06 UTC 2025 I: Submitting 8.0K b1/hunt_1.5-10_amd64.buildinfo.asc https://buildinfo.debian.net/bdf34263c7b7aa719008f9375c61faa889c882b2/hunt_1.5-10_amd64 Sat Feb 22 21:22:07 UTC 2025 I: Submitting 8.0K b2/hunt_1.5-10_amd64.buildinfo.asc https://buildinfo.debian.net/a786f95bbdbc836c54c18021bf0830bf8be9697b/hunt_1.5-10_amd64 Sat Feb 22 21:22:08 UTC 2025 I: Done submitting .buildinfo files to http://buildinfo.debian.net/api/submit. Sat Feb 22 21:22:08 UTC 2025 I: Done submitting .buildinfo files. Sat Feb 22 21:22:08 UTC 2025 I: Removing signed hunt_1.5-10_amd64.buildinfo.asc files: removed './b1/hunt_1.5-10_amd64.buildinfo.asc' removed './b2/hunt_1.5-10_amd64.buildinfo.asc' 1740259328 amd64 trixie hunt Starting cleanup. /var/lib/jenkins/userContent/reproducible/debian/rbuild/trixie/amd64/hunt_1.5-10.rbuild.log: 85.8% -- replaced with /var/lib/jenkins/userContent/reproducible/debian/rbuild/trixie/amd64/hunt_1.5-10.rbuild.log.gz [2025-02-22 21:22:08] INFO: Starting at 2025-02-22 21:22:08.472598 [2025-02-22 21:22:08] INFO: Generating the pages of 1 package(s) [2025-02-22 21:22:08] INFO: Finished at 2025-02-22 21:22:08.921611, took: 0:00:00.449023 All cleanup done. Sat Feb 22 21:22:09 UTC 2025 - total duration: 0h 3m 10s. Sat Feb 22 21:22:09 UTC 2025 - reproducible_build.sh stopped running as /tmp/jenkins-script-rWrgcM3W, removing. Finished with result: success Main processes terminated with: code=exited/status=0 Service runtime: 3min 13.460s CPU time consumed: 7.593s