Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/n/nast/nast_0.2.0-8_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/nast-0.2.0-8m942j0kt/nast_0.2.0-8_amd64.buildinfo Get source package info: nast=0.2.0-8 Source URL: http://snapshot.notset.fr/mr/package/nast/0.2.0-8/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-14 automake=1:1.16.3-2 autopoint=0.21-3 autotools-dev=20180224.1+nmu1 base-files=11 base-passwd=3.5.48 bash=5.1-2 binutils=2.35.1-7 binutils-common=2.35.1-7 binutils-x86-64-linux-gnu=2.35.1-7 bsdextrautils=2.36.1-6 bsdutils=1:2.36.1-5 build-essential=12.9 bzip2=1.0.8-4 coreutils=8.32-4+b1 cpp=4:10.2.1-1 cpp-10=10.2.1-6 dash=0.5.11+git20200708+dd9ef66-5 debconf=1.5.74 debhelper=13.3.1 debianutils=4.11.2 dh-autoreconf=19 dh-strip-nondeterminism=1.10.0-1 diffutils=1:3.7-5 dpkg=1.20.7.1 dpkg-dev=1.20.7.1 dwz=0.13+20201015-2 file=1:5.39-3 findutils=4.8.0-1 g++=4:10.2.1-1 g++-10=10.2.1-6 gcc=4:10.2.1-1 gcc-10=10.2.1-6 gcc-10-base=10.2.1-6 gettext=0.21-3 gettext-base=0.21-3 grep=3.6-1 groff-base=1.22.4-5 gzip=1.10-2 hostname=3.23 init-system-helpers=1.60 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-9 libarchive-zip-perl=1.68-1 libasan6=10.2.1-6 libatomic1=10.2.1-6 libattr1=1:2.4.48-6 libaudit-common=1:3.0-2 libaudit1=1:3.0-2 libbinutils=2.35.1-7 libblkid1=2.36.1-5 libbz2-1.0=1.0.8-4 libc-bin=2.31-9 libc-dev-bin=2.31-9 libc6=2.31-9 libc6-dev=2.31-9 libcap-ng0=0.7.9-2.2+b1 libcc1-0=10.2.1-6 libcom-err2=1.45.6-1 libcrypt-dev=1:4.4.17-1 libcrypt1=1:4.4.17-1 libctf-nobfd0=2.35.1-7 libctf0=2.35.1-7 libdb5.3=5.3.28+dfsg1-0.6 libdbus-1-3=1.12.20-1 libdbus-1-dev=1.12.20-1 libdebconfclient0=0.256 libdebhelper-perl=13.3.1 libdpkg-perl=1.20.7.1 libelf1=0.182-3 libffi7=3.3-5 libfile-stripnondeterminism-perl=1.10.0-1 libgcc-10-dev=10.2.1-6 libgcc-s1=10.2.1-6 libgcrypt20=1.8.7-2 libgdbm-compat4=1.19-1 libgdbm6=1.19-1 libglib2.0-0=2.66.4-1 libgmp10=2:6.2.1+dfsg-1 libgomp1=10.2.1-6 libgpg-error0=1.38-2 libgssapi-krb5-2=1.18.3-4 libicu67=67.1-6 libisl23=0.23-1 libitm1=10.2.1-6 libk5crypto3=1.18.3-4 libkeyutils1=1.6.1-2 libkrb5-3=1.18.3-4 libkrb5support0=1.18.3-4 liblsan0=10.2.1-6 liblz4-1=1.9.3-1 liblzma5=5.2.5-1.0 libmagic-mgc=1:5.39-3 libmagic1=1:5.39-3 libmount1=2.36.1-5 libmpc3=1.2.0-1 libmpfr6=4.1.0-3 libncurses-dev=6.2+20201114-2 libncurses5-dev=6.2+20201114-2 libncurses6=6.2+20201114-2 libncursesw6=6.2+20201114-2 libnet1=1.1.6+dfsg-3.1 libnet1-dev=1.1.6+dfsg-3.1 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 libpam-modules=1.4.0-2 libpam-modules-bin=1.4.0-2 libpam-runtime=1.4.0-2 libpam0g=1.4.0-2 libpcap0.8=1.10.0-2 libpcap0.8-dev=1.10.0-2 libpcre2-8-0=10.36-2 libpcre3=2:8.39-13 libperl5.32=5.32.0-6 libpipeline1=1.5.3-1 libquadmath0=10.2.1-6 libseccomp2=2.5.1-1 libselinux1=3.1-2+b2 libsigsegv2=2.12-3 libsmartcols1=2.36.1-5 libssl1.1=1.1.1i-1 libstdc++-10-dev=10.2.1-6 libstdc++6=10.2.1-6 libsub-override-perl=0.09-2 libsystemd0=247.2-4 libtinfo6=6.2+20201114-2 libtirpc-common=1.3.1-1 libtirpc-dev=1.3.1-1 libtirpc3=1.3.1-1 libtool=2.4.6-15 libtsan0=10.2.1-6 libubsan1=10.2.1-6 libuchardet0=0.0.7-1 libudev1=247.2-4 libunistring2=0.9.10-4 libuuid1=2.36.1-5 libxml2=2.9.10+dfsg-6.3+b1 libzstd1=1.4.8+dfsg-1 linux-libc-dev=5.10.5-1 login=1:4.8.1-1 lsb-base=11.1.0 m4=1.4.18-5 make=4.3-4 man-db=2.9.3-2 mawk=1.3.4.20200120-2 ncurses-base=6.2+20201114-2 ncurses-bin=6.2+20201114-2 patch=2.7.6-7 perl=5.32.0-6 perl-base=5.32.0-6 perl-modules-5.32=5.32.0-6 pkg-config=0.29.2-1 po-debconf=1.0.21+nmu1 sed=4.7-1 sensible-utils=0.0.14 sysvinit-utils=2.96-5 tar=1.32+dfsg-1 util-linux=2.36.1-5 xz-utils=5.2.5-1.0 zlib1g=1:1.2.11.dfsg-2 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20210205T091048Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20210117T204310Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d nast=0.2.0-8 && mkdir -p /build/nast-lWqCrR && dpkg-source --no-check -x /*.dsc /build/nast-lWqCrR/nast-0.2.0 && chown -R builduser:builduser /build/nast-lWqCrR" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/nast-lWqCrR/nast-0.2.0 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1610991437" dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/nast-lWqCrR /tmp/nast-0.2.0-8m942j0kt bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20210117T204310Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: tar I: using /tmp/mmdebstrap.y70ksGd506 as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.y70ksGd506 Reading package lists... Building dependency tree... util-linux is already the newest version (2.36.1-5). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 134 kB of archives. After this operation, 397 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20210117T204310Z unstable/main amd64 libfakeroot amd64 1.25.3-1.1 [47.0 kB] Get:2 http://snapshot.notset.fr/archive/debian/20210117T204310Z unstable/main amd64 fakeroot amd64 1.25.3-1.1 [87.0 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 134 kB in 0s (789 kB/s) Selecting previously unselected package libfakeroot:amd64. (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 ... 4661 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.25.3-1.1_amd64.deb ... Unpacking libfakeroot:amd64 (1.25.3-1.1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.25.3-1.1_amd64.deb ... Unpacking fakeroot (1.25.3-1.1) ... Setting up libfakeroot:amd64 (1.25.3-1.1) ... Setting up fakeroot (1.25.3-1.1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.31-9) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20210205T091048Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20210117T204310Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.y70ksGd506 Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Get:2 http://snapshot.notset.fr/archive/debian/20210205T091048Z unstable InRelease [153 kB] Hit:3 http://snapshot.notset.fr/archive/debian/20210117T204310Z unstable InRelease Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Ign:6 http://snapshot.notset.fr/archive/debian/20210205T091048Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20210205T091048Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20210205T091048Z unstable/main amd64 Packages Get:6 http://snapshot.notset.fr/archive/debian/20210205T091048Z unstable/main amd64 Packages [11.7 MB] Fetched 34.4 MB in 33s (1050 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.y70ksGd506 I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d nast=0.2.0-8 && mkdir -p /build/nast-lWqCrR && dpkg-source --no-check -x /*.dsc /build/nast-lWqCrR/nast-0.2.0 && chown -R builduser:builduser /build/nast-lWqCrR"' exec /tmp/mmdebstrap.y70ksGd506 Reading package lists... NOTICE: 'nast' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/debian/nast.git Please use: git clone https://salsa.debian.org/debian/nast.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 171 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main nast 0.2.0-8 (dsc) [1854 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main nast 0.2.0-8 (tar) [148 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main nast 0.2.0-8 (diff) [21.9 kB] Fetched 171 kB in 0s (869 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'nast_0.2.0-8.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting nast in /build/nast-lWqCrR/nast-0.2.0 dpkg-source: info: unpacking nast_0.2.0.orig.tar.gz dpkg-source: info: unpacking nast_0.2.0-8.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying fix-on-some-laptops dpkg-source: info: applying fix-manpage dpkg-source: info: applying fix-buffer-overflows dpkg-source: info: applying fix-minuses-in-manpage dpkg-source: info: applying printf-literal-format dpkg-source: info: applying configure_updates_version_0.2.0-5.2 dpkg-source: info: applying fix-hurd-build dpkg-source: info: applying fix-array-bounds-error dpkg-source: info: applying fix-spelling-errors dpkg-source: info: applying gcc-10 dpkg-source: info: applying hardening I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/nast-lWqCrR/nast-0.2.0 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1610991437" dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.y70ksGd506 dpkg-buildpackage: info: source package nast dpkg-buildpackage: info: source version 0.2.0-8 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Andreas Beckmann dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh clean dh: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_clean dh_clean: warning: Compatibility levels before 10 are deprecated (level 9 in use) debian/rules build-arch dh build-arch dh: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_update_autotools_config -a dh_auto_configure -a dh_auto_configure: warning: Compatibility levels before 10 are deprecated (level 9 in use) ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking Please wait, I'm going to configure Nast 0.2.0 checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu configure: Found Linux, happy day! checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for libnet_name2addr4 in -lnet... yes checking for pcap_dispatch in -lpcap... yes checking for initscr in -lncurses... yes checking for menu_opts_off in -lmenu... yes checking for pthread_create in -lpthread... yes checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking for getopt_long... yes checking for an ANSI C-conforming const... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking return type of signal handlers... void checking for vprintf... yes checking for _doprnt... no configure: creating ./config.status config.status: creating Makefile config.status: creating config.h Ok. I have done with all. Results are: PLATFORM ...... : x86_64 unknown O.S. .......... : Linux 5.10.0-8-amd64 (f8b16573ceda) COMPILER ...... : gcc CFLAGS ........ : -g -O2 -ffile-prefix-map=/build/nast-lWqCrR/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 CPPFLAGS ...... : -Wdate-time -D_FORTIFY_SOURCE=2 LDFLAGS ....... : -Wl,-z,relro -Wl,-z,now LIBS .......... : -lpthread -lmenu -lncurses -lpcap -lnet PREFIX ........ : /usr NCURSES SUPPORT : yes Type 'make' to compile or 'make help' to show accepted options. dh_auto_build -a dh_auto_build: warning: Compatibility levels before 10 are deprecated (level 9 in use) make -j1 make[1]: Entering directory '/build/nast-lWqCrR/nast-0.2.0' gcc -g -O2 -ffile-prefix-map=/build/nast-lWqCrR/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c main.c -o main.o main.c: In function ‘main’: main.c:309:4: warning: ‘pcap_lookupdev’ is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 309 | if(dev == NULL) dev = pcap_lookupdev(errbuf); | ^~ In file included from /usr/include/pcap.h:43, from include/nast.h:24, from main.c:20: /usr/include/pcap/pcap.h:394:16: note: declared here 394 | PCAP_API char *pcap_lookupdev(char *) | ^~~~~~~~~~~~~~ main.c:349:36: warning: pointer targets in passing argument 1 of ‘mport’ differ in signedness [-Wpointer-sign] 349 | if (flags.banner) return mport (dev, ports, flags.l); | ^~~ | | | char * In file included from main.c:20: include/nast.h:69:20: note: expected ‘u_char *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 69 | int mport (u_char *dev, u_short ports[], int lg); | ~~~~~~~~^~~ main.c:356:30: warning: pointer targets in passing argument 1 of ‘fgw’ differ in signedness [-Wpointer-sign] 356 | if (flags.gw) return fgw (dev); | ^~~ | | | char * In file included from main.c:20: include/nast.h:65:18: note: expected ‘u_char *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 65 | int fgw (u_char *dev); | ~~~~~~~~^~~ main.c:357:32: warning: pointer targets in passing argument 1 of ‘flink’ differ in signedness [-Wpointer-sign] 357 | if (flags.lk) return flink (dev); | ^~~ | | | char * In file included from main.c:20: include/nast.h:67:20: note: expected ‘u_char *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 67 | int flink (u_char *dev); | ~~~~~~~~^~~ main.c:223:11: warning: ‘L’ may be used uninitialized in this function [-Wmaybe-uninitialized] 223 | anip = libnet_name2addr4(L, optarg, LIBNET_RESOLVE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -O2 -ffile-prefix-map=/build/nast-lWqCrR/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c dev.c -o dev.o gcc -g -O2 -ffile-prefix-map=/build/nast-lWqCrR/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c tcp.c -o tcp.o tcp.c: In function ‘handle_TCP’: tcp.c:101:6: warning: pointer targets in assignment from ‘char *’ to ‘u_char *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 101 | buf = (char *) (packet + offset + size_ip + size_tcp); | ^ tcp.c:106:20: warning: pointer targets in passing argument 1 of ‘data_sniffo’ differ in signedness [-Wpointer-sign] 106 | data_sniffo (buf, size_buf, output); | ^~~ | | | u_char * {aka unsigned char *} In file included from tcp.c:20: include/nast.h:59:25: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 59 | void data_sniffo (char *data, u_int l, FILE *log); | ~~~~~~^~~~ tcp.c:112:24: warning: pointer targets in passing argument 1 of ‘print_ascii_hex’ differ in signedness [-Wpointer-sign] 112 | print_ascii_hex (buf, size_buf, output); | ^~~ | | | u_char * {aka unsigned char *} In file included from tcp.c:20: include/nast.h:60:29: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 60 | void print_ascii_hex (char *data_info, u_int len, FILE *log); | ~~~~~~^~~~~~~~~ tcp.c:124:20: warning: pointer targets in passing argument 1 of ‘data_sniffo’ differ in signedness [-Wpointer-sign] 124 | data_sniffo (buf, size_buf, ldd); | ^~~ | | | u_char * {aka unsigned char *} In file included from tcp.c:20: include/nast.h:59:25: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 59 | void data_sniffo (char *data, u_int l, FILE *log); | ~~~~~~^~~~ gcc -g -O2 -ffile-prefix-map=/build/nast-lWqCrR/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c icmp.c -o icmp.o icmp.c: In function ‘handle_ICMP’: icmp.c:206:6: warning: pointer targets in assignment from ‘char *’ to ‘u_char *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 206 | buf = (char *) (packet + size_ip + size_icmp + offset); | ^ icmp.c:211:20: warning: pointer targets in passing argument 1 of ‘data_sniffo’ differ in signedness [-Wpointer-sign] 211 | data_sniffo (buf, size_buf, output); | ^~~ | | | u_char * {aka unsigned char *} In file included from icmp.c:20: include/nast.h:59:25: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 59 | void data_sniffo (char *data, u_int l, FILE *log); | ~~~~~~^~~~ icmp.c:218:24: warning: pointer targets in passing argument 1 of ‘print_ascii_hex’ differ in signedness [-Wpointer-sign] 218 | print_ascii_hex (buf, size_buf, output); | ^~~ | | | u_char * {aka unsigned char *} In file included from icmp.c:20: include/nast.h:60:29: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 60 | void print_ascii_hex (char *data_info, u_int len, FILE *log); | ~~~~~~^~~~~~~~~ icmp.c:226:20: warning: pointer targets in passing argument 1 of ‘data_sniffo’ differ in signedness [-Wpointer-sign] 226 | data_sniffo (buf, size_buf, ldd); | ^~~ | | | u_char * {aka unsigned char *} In file included from icmp.c:20: include/nast.h:59:25: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 59 | void data_sniffo (char *data, u_int l, FILE *log); | ~~~~~~^~~~ gcc -g -O2 -ffile-prefix-map=/build/nast-lWqCrR/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c arp.c -o arp.o gcc -g -O2 -ffile-prefix-map=/build/nast-lWqCrR/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c udp.c -o udp.o udp.c: In function ‘handle_UDP’: udp.c:59:6: warning: pointer targets in assignment from ‘char *’ to ‘u_char *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 59 | buf = (char *) (packet + size_ip + size_udp + offset); | ^ udp.c:64:20: warning: pointer targets in passing argument 1 of ‘data_sniffo’ differ in signedness [-Wpointer-sign] 64 | data_sniffo (buf, size_buf, output); | ^~~ | | | u_char * {aka unsigned char *} In file included from udp.c:22: include/nast.h:59:25: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 59 | void data_sniffo (char *data, u_int l, FILE *log); | ~~~~~~^~~~ udp.c:70:24: warning: pointer targets in passing argument 1 of ‘print_ascii_hex’ differ in signedness [-Wpointer-sign] 70 | print_ascii_hex (buf, size_buf, output); | ^~~ | | | u_char * {aka unsigned char *} In file included from udp.c:22: include/nast.h:60:29: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 60 | void print_ascii_hex (char *data_info, u_int len, FILE *log); | ~~~~~~^~~~~~~~~ udp.c:81:20: warning: pointer targets in passing argument 1 of ‘data_sniffo’ differ in signedness [-Wpointer-sign] 81 | data_sniffo (buf, size_buf, ldd); | ^~~ | | | u_char * {aka unsigned char *} In file included from udp.c:22: include/nast.h:59:25: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 59 | void data_sniffo (char *data, u_int l, FILE *log); | ~~~~~~^~~~ gcc -g -O2 -ffile-prefix-map=/build/nast-lWqCrR/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c prom.c -o prom.o prom.c: In function ‘psearch’: prom.c:171:16: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 171 | sprintf (ip, "%d.%d.%d.%d", uphost[i].ip[0], uphost[i].ip[1], uphost[i].ip[2], uphost[i].ip[3]); | ^~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from include/nast.h:23, from prom.c:20: /usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected ‘char * restrict’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ prom.c:172:88: warning: pointer targets in passing argument 1 of ‘inet_addr’ differ in signedness [-Wpointer-sign] 172 | n_print ("princ",ln,1,lg,"%s (%s) --------->", ip, libnet_addr2name4(inet_addr(ip), LIBNET_RESOLVE)); | ^~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:102, from include/nast.h:23, from prom.c:20: /usr/include/arpa/inet.h:34:41: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 34 | extern in_addr_t inet_addr (const char *__cp) __THROW; | ~~~~~~~~~~~~^~~~ gcc -g -O2 -ffile-prefix-map=/build/nast-lWqCrR/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c eth.c -o eth.o gcc -g -O2 -ffile-prefix-map=/build/nast-lWqCrR/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c map.c -o map.o map.c: In function ‘map_lan’: map.c:117:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 117 | if (*net != '.') return NULL; ++net; | ^~ map.c:117:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 117 | if (*net != '.') return NULL; ++net; | ^~ map.c:119:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 119 | if (*net != '.') return NULL; ++net; | ^~ map.c:119:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 119 | if (*net != '.') return NULL; ++net; | ^~ map.c:121:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 121 | if (*net != '.') return NULL; ++net; | ^~ map.c:121:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 121 | if (*net != '.') return NULL; ++net; | ^~ map.c:134:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 134 | if (*mask != '.') return NULL; ++mask; | ^~ map.c:134:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 134 | if (*mask != '.') return NULL; ++mask; | ^~ map.c:136:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 136 | if (*mask != '.') return NULL; ++mask; | ^~ map.c:136:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 136 | if (*mask != '.') return NULL; ++mask; | ^~ map.c:138:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 138 | if (*mask != '.') return NULL; ++mask; | ^~ map.c:138:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 138 | if (*mask != '.') return NULL; ++mask; | ^~ map.c:199:20: warning: pointer targets in passing argument 2 of ‘send_arp’ differ in signedness [-Wpointer-sign] 199 | if (send_arp(l, dev, ip_dst, enet_src, ip_src)==-1) goto error; | ^~~ | | | char * map.c:39:35: note: expected ‘u_char *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 39 | int send_arp(libnet_t *l, u_char *device, u_char *ip_dst, u_char *enet_src, u_long ip_src); | ~~~~~~~~^~~~~~ map.c:209:25: warning: pointer targets in passing argument 2 of ‘send_arp’ differ in signedness [-Wpointer-sign] 209 | if (send_arp(l, dev, ip_dst, enet_src, ip_src)==-1) goto error; | ^~~ | | | char * map.c:39:35: note: expected ‘u_char *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 39 | int send_arp(libnet_t *l, u_char *device, u_char *ip_dst, u_char *enet_src, u_long ip_src); | ~~~~~~~~^~~~~~ map.c:225:26: warning: pointer targets in passing argument 2 of ‘send_arp’ differ in signedness [-Wpointer-sign] 225 | if (send_arp(l, dev, ip_dst, enet_src, ip_src)==-1) goto error; | ^~~ | | | char * map.c:39:35: note: expected ‘u_char *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 39 | int send_arp(libnet_t *l, u_char *device, u_char *ip_dst, u_char *enet_src, u_long ip_src); | ~~~~~~~~^~~~~~ map.c:247:24: warning: pointer targets in passing argument 2 of ‘send_arp’ differ in signedness [-Wpointer-sign] 247 | if (send_arp(l, dev, ip_dst, enet_src, ip_src)==-1) goto error; | ^~~ | | | char * map.c:39:35: note: expected ‘u_char *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 39 | int send_arp(libnet_t *l, u_char *device, u_char *ip_dst, u_char *enet_src, u_long ip_src); | ~~~~~~~~^~~~~~ map.c: In function ‘arpreply’: map.c:346:16: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 346 | sprintf (ip, "%d.%d.%d.%d", arp->__ar_sip[0],arp->__ar_sip[1],arp->__ar_sip[2],arp->__ar_sip[3]); | ^~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from include/nast.h:23, from map.c:36: /usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected ‘char * restrict’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ map.c:355:121: warning: pointer targets in passing argument 1 of ‘inet_addr’ differ in signedness [-Wpointer-sign] 355 | n_print("princ",line,1,lg,"%s \t%s (%s)\n", nast_hex_ntoa (eptr->ether_shost), ip, libnet_addr2name4(inet_addr(ip), LIBNET_RESOLVE)); | ^~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:102, from include/nast.h:23, from map.c:36: /usr/include/arpa/inet.h:34:41: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 34 | extern in_addr_t inet_addr (const char *__cp) __THROW; | ~~~~~~~~~~~~^~~~ map.c: In function ‘map_lan’: map.c:150:7: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 150 | fgets(r, 3, stdin); | ^~~~~~~~~~~~~~~~~~ gcc -g -O2 -ffile-prefix-map=/build/nast-lWqCrR/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c sniff.c -o sniff.o gcc -g -O2 -ffile-prefix-map=/build/nast-lWqCrR/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c data.c -o data.o gcc -g -O2 -ffile-prefix-map=/build/nast-lWqCrR/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c rst.c -o rst.o gcc -g -O2 -ffile-prefix-map=/build/nast-lWqCrR/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c fgw.c -o fgw.o fgw.c: In function ‘fgw’: fgw.c:39:2: warning: pointer targets in initialization of ‘u_char *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 39 | "66.102.11.99" | ^~~~~~~~~~~~~~ fgw.c:39:2: note: (near initialization for ‘extip’) fgw.c:86:34: warning: pointer targets in passing argument 2 of ‘libnet_init’ differ in signedness [-Wpointer-sign] 86 | l = libnet_init (LIBNET_LINK, dev, ebuf); | ^~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:119, from include/nast.h:23, from fgw.c:32: /usr/include/libnet/libnet-functions.h:64:45: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ~~~~~~~~~~~~^~~~~~ fgw.c:86:39: warning: pointer targets in passing argument 3 of ‘libnet_init’ differ in signedness [-Wpointer-sign] 86 | l = libnet_init (LIBNET_LINK, dev, ebuf); | ^~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:119, from include/nast.h:23, from fgw.c:32: /usr/include/libnet/libnet-functions.h:64:59: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ~~~~~~^~~~~~~ fgw.c:92:34: warning: pointer targets in passing argument 2 of ‘libnet_init’ differ in signedness [-Wpointer-sign] 92 | l = libnet_init (LIBNET_LINK, dev, ebuf); | ^~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:119, from include/nast.h:23, from fgw.c:32: /usr/include/libnet/libnet-functions.h:64:45: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ~~~~~~~~~~~~^~~~~~ fgw.c:92:39: warning: pointer targets in passing argument 3 of ‘libnet_init’ differ in signedness [-Wpointer-sign] 92 | l = libnet_init (LIBNET_LINK, dev, ebuf); | ^~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:119, from include/nast.h:23, from fgw.c:32: /usr/include/libnet/libnet-functions.h:64:59: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ~~~~~~^~~~~~~ fgw.c:101:120: warning: pointer targets in passing argument 2 of ‘libnet_name2addr4’ differ in signedness [-Wpointer-sign] 101 | if (libnet_build_ipv4 (LIBNET_TCP_H + LIBNET_IPV4_H, 0x08, 35320, 0, 64, IPPROTO_TCP, 0, myip, libnet_name2addr4(l, extip, LIBNET_DONT_RESOLVE), NULL, 0, l, 0)==-1) | ^~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:119, from include/nast.h:23, from fgw.c:32: /usr/include/libnet/libnet-functions.h:227:38: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 227 | libnet_name2addr4(libnet_t *l, char *host_name, uint8_t use_name); | ~~~~~~^~~~~~~~~ fgw.c:111:26: warning: pointer targets in passing argument 1 of ‘map_lan’ differ in signedness [-Wpointer-sign] 111 | if ((uphost = map_lan(dev, 0, &n))==NULL) | ^~~ | | | u_char * {aka unsigned char *} In file included from fgw.c:32: include/nast.h:63:30: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 63 | struct host * map_lan (char *dev, u_short mode, u_short *n); | ~~~~~~^~~ fgw.c:143:17: warning: pointer targets in passing argument 1 of ‘pcap_lookupnet’ differ in signedness [-Wpointer-sign] 143 | pcap_lookupnet(dev,&netp,&maskp,ebuf); | ^~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/pcap.h:43, from include/nast.h:24, from fgw.c:32: /usr/include/pcap/pcap.h:398:29: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 398 | PCAP_API int pcap_lookupnet(const char *, bpf_u_int32 *, bpf_u_int32 *, char *); | ^~~~~~~~~~~~ fgw.c:143:34: warning: pointer targets in passing argument 4 of ‘pcap_lookupnet’ differ in signedness [-Wpointer-sign] 143 | pcap_lookupnet(dev,&netp,&maskp,ebuf); | ^~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/pcap.h:43, from include/nast.h:24, from fgw.c:32: /usr/include/pcap/pcap.h:398:73: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 398 | PCAP_API int pcap_lookupnet(const char *, bpf_u_int32 *, bpf_u_int32 *, char *); | ^~~~~~ fgw.c:145:27: warning: pointer targets in passing argument 1 of ‘pcap_open_live’ differ in signedness [-Wpointer-sign] 145 | if ((p = pcap_open_live (dev, BUFSIZ, NOT_PROMISC, 10, ebuf))==NULL) | ^~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/pcap.h:43, from include/nast.h:24, from fgw.c:32: /usr/include/pcap/pcap.h:515:33: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 515 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^~~~~~~~~~~~ fgw.c:145:57: warning: pointer targets in passing argument 5 of ‘pcap_open_live’ differ in signedness [-Wpointer-sign] 145 | if ((p = pcap_open_live (dev, BUFSIZ, NOT_PROMISC, 10, ebuf))==NULL) | ^~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/pcap.h:43, from include/nast.h:24, from fgw.c:32: /usr/include/pcap/pcap.h:515:62: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 515 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^~~~~~ fgw.c:198:103: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 198 | if ((ntohs(tcp->th_sport)==80) && (ntohs(tcp->th_dport)==2500) && (!strcmp(inet_ntoa(ip->ip_src), extip))) | ^~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:63, from include/nast.h:23, from fgw.c:32: /usr/include/string.h:137:50: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ gcc -g -O2 -ffile-prefix-map=/build/nast-lWqCrR/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c flink.c -o flink.o flink.c: In function ‘flink’: flink.c:73:26: warning: pointer targets in passing argument 1 of ‘map_lan’ differ in signedness [-Wpointer-sign] 73 | if ((uphost = map_lan(dev, 0, &n))==NULL) | ^~~ | | | u_char * {aka unsigned char *} In file included from flink.c:22: include/nast.h:63:30: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 63 | struct host * map_lan (char *dev, u_short mode, u_short *n); | ~~~~~~^~~ flink.c:88:45: warning: pointer targets in passing argument 3 of ‘libnet_init’ differ in signedness [-Wpointer-sign] 88 | if ((l = libnet_init (LIBNET_RAW4, NULL, errbuf))==NULL) | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:119, from include/nast.h:23, from flink.c:22: /usr/include/libnet/libnet-functions.h:64:59: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ~~~~~~^~~~~~~ flink.c:116:10: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 116 | sprintf(testip, "%d.%d.%d.%d", uphost[i].ip[0], uphost[i].ip[1], uphost[i].ip[2], uphost[i].ip[3]); | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from include/nast.h:23, from flink.c:22: /usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected ‘char * restrict’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ flink.c:117:123: warning: pointer targets in passing argument 1 of ‘inet_addr’ differ in signedness [-Wpointer-sign] 117 | if ( (ptag = libnet_build_ipv4(LIBNET_ICMPV4_ECHO_H + LIBNET_IPV4_H, 0x00, 1000, 0, 64, IPPROTO_ICMP, 0, myip, inet_addr(testip), NULL, 0, l, ptag)) ==-1) | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:102, from include/nast.h:23, from flink.c:22: /usr/include/arpa/inet.h:34:41: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 34 | extern in_addr_t inet_addr (const char *__cp) __THROW; | ~~~~~~~~~~~~^~~~ flink.c:131:27: warning: pointer targets in passing argument 1 of ‘pcap_open_live’ differ in signedness [-Wpointer-sign] 131 | if ((p = pcap_open_live (dev, BUFSIZ, NOT_PROMISC, 10, errbuf))==NULL) | ^~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/pcap.h:43, from include/nast.h:24, from flink.c:22: /usr/include/pcap/pcap.h:515:33: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 515 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^~~~~~~~~~~~ flink.c:131:57: warning: pointer targets in passing argument 5 of ‘pcap_open_live’ differ in signedness [-Wpointer-sign] 131 | if ((p = pcap_open_live (dev, BUFSIZ, NOT_PROMISC, 10, errbuf))==NULL) | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/pcap.h:43, from include/nast.h:24, from flink.c:22: /usr/include/pcap/pcap.h:515:62: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 515 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^~~~~~ flink.c:163:29: warning: pointer targets in passing argument 1 of ‘device’ differ in signedness [-Wpointer-sign] 163 | if ((offset = (device(dev,p)))==-1) return -1; | ^~~ | | | u_char * {aka unsigned char *} In file included from flink.c:22: include/nast.h:58:19: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 58 | int device (char *dev, pcap_t* descr); | ~~~~~~^~~ flink.c:168:43: warning: pointer targets in passing argument 1 of ‘inet_addr’ differ in signedness [-Wpointer-sign] 168 | if ((ip->ip_src.s_addr == inet_addr(testip)) && icmp->icmp_type==ICMP_ECHOREPLY && icmp->icmp_id == 1000) | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:102, from include/nast.h:23, from flink.c:22: /usr/include/arpa/inet.h:34:41: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 34 | extern in_addr_t inet_addr (const char *__cp) __THROW; | ~~~~~~~~~~~~^~~~ flink.c:178:15: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 178 | sprintf(testip, "%d.%d.%d.%d", uphost[1].ip[0], uphost[1].ip[1], uphost[1].ip[2], uphost[1].ip[3]); | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from include/nast.h:23, from flink.c:22: /usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected ‘char * restrict’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ flink.c:180:15: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 180 | sprintf(testip, "%d.%d.%d.%d", uphost[0].ip[0], uphost[0].ip[1], uphost[0].ip[2], uphost[0].ip[3]); | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from include/nast.h:23, from flink.c:22: /usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected ‘char * restrict’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ flink.c:182:28: warning: pointer targets in passing argument 1 of ‘inet_addr’ differ in signedness [-Wpointer-sign] 182 | if ( (ip_src=inet_addr(testip)) == -1) | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:102, from include/nast.h:23, from flink.c:22: /usr/include/arpa/inet.h:34:41: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 34 | extern in_addr_t inet_addr (const char *__cp) __THROW; | ~~~~~~~~~~~~^~~~ flink.c:215:39: warning: pointer targets in passing argument 2 of ‘libnet_init’ differ in signedness [-Wpointer-sign] 215 | if ((l = libnet_init (LIBNET_LINK, dev, errbuf))==NULL) | ^~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:119, from include/nast.h:23, from flink.c:22: /usr/include/libnet/libnet-functions.h:64:45: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ~~~~~~~~~~~~^~~~~~ flink.c:215:44: warning: pointer targets in passing argument 3 of ‘libnet_init’ differ in signedness [-Wpointer-sign] 215 | if ((l = libnet_init (LIBNET_LINK, dev, errbuf))==NULL) | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:119, from include/nast.h:23, from flink.c:22: /usr/include/libnet/libnet-functions.h:64:59: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ~~~~~~^~~~~~~ flink.c:247:29: warning: pointer targets in passing argument 1 of ‘pcap_open_live’ differ in signedness [-Wpointer-sign] 247 | if ((p = pcap_open_live (dev, BUFSIZ, PROMISC, 10, errbuf))==NULL) | ^~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/pcap.h:43, from include/nast.h:24, from flink.c:22: /usr/include/pcap/pcap.h:515:33: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 515 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^~~~~~~~~~~~ flink.c:247:55: warning: pointer targets in passing argument 5 of ‘pcap_open_live’ differ in signedness [-Wpointer-sign] 247 | if ((p = pcap_open_live (dev, BUFSIZ, PROMISC, 10, errbuf))==NULL) | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/pcap.h:43, from include/nast.h:24, from flink.c:22: /usr/include/pcap/pcap.h:515:62: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 515 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^~~~~~ flink.c:291:19: warning: pointer targets in passing argument 1 of ‘device’ differ in signedness [-Wpointer-sign] 291 | offset = (device(dev,p)); | ^~~ | | | u_char * {aka unsigned char *} In file included from flink.c:22: include/nast.h:58:19: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 58 | int device (char *dev, pcap_t* descr); | ~~~~~~^~~ gcc -g -O2 -ffile-prefix-map=/build/nast-lWqCrR/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c port.c -o port.o port.c: In function ‘mport’: port.c:347:25: warning: pointer targets in passing argument 1 of ‘map_lan’ differ in signedness [-Wpointer-sign] 347 | if ((uphost = map_lan(dev, 0, &n))==NULL) | ^~~ | | | u_char * {aka unsigned char *} In file included from port.c:20: include/nast.h:63:30: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 63 | struct host * map_lan (char *dev, u_short mode, u_short *n); | ~~~~~~^~~ port.c:466:21: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 466 | x = strlen(tmpbuf); | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:63, from include/nast.h:23, from port.c:20: /usr/include/string.h:385:35: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ port.c:309:21: warning: variable ‘bsent’ set but not used [-Wunused-but-set-variable] 309 | int sd, r, size, bsent,z,k,x,y; | ^~~~~ port.c: In function ‘mhport’: port.c:615:26: warning: pointer targets in passing argument 1 of ‘map_lan’ differ in signedness [-Wpointer-sign] 615 | if ((uphost = map_lan(dev, 0, &n))==NULL) | ^~~ | | | u_char * {aka unsigned char *} In file included from port.c:20: include/nast.h:63:30: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 63 | struct host * map_lan (char *dev, u_short mode, u_short *n); | ~~~~~~^~~ port.c:635:4: warning: pointer targets in passing argument 2 of ‘libnet_init’ differ in signedness [-Wpointer-sign] 635 | dev, /* network interface */ | ^~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:119, from include/nast.h:23, from port.c:20: /usr/include/libnet/libnet-functions.h:64:45: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ~~~~~~~~~~~~^~~~~~ port.c:647:10: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 647 | sprintf(testip, "%d.%d.%d.%d", uphost[i].ip[0], uphost[i].ip[1], uphost[i].ip[2], uphost[i].ip[3]); | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from include/nast.h:23, from port.c:20: /usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected ‘char * restrict’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ port.c:654:17: warning: pointer targets in passing argument 1 of ‘pcap_lookupnet’ differ in signedness [-Wpointer-sign] 654 | pcap_lookupnet(dev,&netp,&maskp,errbuf); | ^~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/pcap.h:43, from include/nast.h:24, from port.c:20: /usr/include/pcap/pcap.h:398:29: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 398 | PCAP_API int pcap_lookupnet(const char *, bpf_u_int32 *, bpf_u_int32 *, char *); | ^~~~~~~~~~~~ port.c:658:31: warning: pointer targets in passing argument 1 of ‘pcap_open_live’ differ in signedness [-Wpointer-sign] 658 | if ((descr = pcap_open_live (dev, BUFSIZ, NOT_PROMISC, 10,errbuf)) == NULL) | ^~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/pcap.h:43, from include/nast.h:24, from port.c:20: /usr/include/pcap/pcap.h:515:33: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 515 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^~~~~~~~~~~~ port.c:665:22: warning: pointer targets in passing argument 1 of ‘device’ differ in signedness [-Wpointer-sign] 665 | if ((offset=(device(dev,descr)))==-1) return -1; | ^~~ | | | u_char * {aka unsigned char *} In file included from port.c:20: include/nast.h:58:19: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 58 | int device (char *dev, pcap_t* descr); | ~~~~~~^~~ port.c:707:21: warning: pointer targets in passing argument 1 of ‘inet_addr’ differ in signedness [-Wpointer-sign] 707 | inet_addr(testip), /* destination IP */ | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:102, from include/nast.h:23, from port.c:20: /usr/include/arpa/inet.h:34:41: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 34 | extern in_addr_t inet_addr (const char *__cp) __THROW; | ~~~~~~~~~~~~^~~~ port.c:584:8: warning: variable ‘linep’ set but not used [-Wunused-but-set-variable] 584 | int linep; | ^~~~~ port.c: In function ‘mport’: port.c:517:5: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 517 | write (sd, "\n\n", 2); | ^~~~~~~~~~~~~~~~~~~~~ port.c:488:15: warning: array subscript -2 is below array bounds of ‘char[1024]’ [-Warray-bounds] 488 | if (banner[r-1]=='\n') banner[r-1]='\0'; | ~~~~~~^~~~~ port.c:305:9: note: while referencing ‘banner’ 305 | char banner[1024]; | ^~~~~~ port.c:488:34: warning: array subscript -2 is below array bounds of ‘char[1024]’ [-Warray-bounds] 488 | if (banner[r-1]=='\n') banner[r-1]='\0'; | ~~~~~~^~~~~ port.c:305:9: note: while referencing ‘banner’ 305 | char banner[1024]; | ^~~~~~ gcc -g -O2 -ffile-prefix-map=/build/nast-lWqCrR/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c common.c -o common.o common.c: In function ‘runcplx’: common.c:202:10: warning: pointer targets in passing argument 1 of ‘mhport’ differ in signedness [-Wpointer-sign] 202 | mhport (dev,plist_p,l); | ^~~ | | | char * In file included from common.c:24: include/nast.h:70:21: note: expected ‘u_char *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 70 | int mhport (u_char *dev, libnet_plist_t *plist_p, int lg); | ~~~~~~~~^~~ common.c: In function ‘n_print’: common.c:295:8: warning: variable ‘n’ set but not used [-Wunused-but-set-variable] 295 | int n; | ^ common.c: In function ‘runcplx’: common.c:62:7: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 62 | fgets (buff, 50, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~ common.c:73:2: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 73 | fgets (buff, 50, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~ common.c:79:7: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 79 | fgets (buff, 50, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~ common.c:90:2: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 90 | fgets (buff, 50, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~ common.c:115:7: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 115 | fgets (buff, 50, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~ common.c:124:2: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 124 | fgets (buff, 50, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~ common.c:132:7: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 132 | fgets (buff, 50, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~ common.c:142:2: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 142 | fgets (buff, 50, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~ common.c:157:2: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 157 | fgets(buff ,50 ,stdin); | ^~~~~~~~~~~~~~~~~~~~~~ common.c:166:7: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 166 | fgets(buff ,50 ,stdin); | ^~~~~~~~~~~~~~~~~~~~~~ common.c:188:7: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 188 | fgets(buff ,50 ,stdin); | ^~~~~~~~~~~~~~~~~~~~~~ gcc -g -O2 -ffile-prefix-map=/build/nast-lWqCrR/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c stream.c -o stream.o gcc -g -O2 -ffile-prefix-map=/build/nast-lWqCrR/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c igmp.c -o igmp.o gcc -g -O2 -ffile-prefix-map=/build/nast-lWqCrR/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c bcount.c -o bcount.o bcount.c: In function ‘bytecounting’: bcount.c:123:8: warning: variable ‘line’ set but not used [-Wunused-but-set-variable] 123 | int line; | ^~~~ bcount.c: In function ‘n_bytecounting’: bcount.c:224:14: warning: variable ‘l’ set but not used [-Wunused-but-set-variable] 224 | int line, l; | ^ bcount.c:224:8: warning: variable ‘line’ set but not used [-Wunused-but-set-variable] 224 | int line, l; | ^~~~ gcc -g -O2 -ffile-prefix-map=/build/nast-lWqCrR/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c error.c -o error.o error.c: In function ‘w_error’: error.c:32:10: warning: variable ‘ris’ set but not used [-Wunused-but-set-variable] 32 | int n,ris; | ^~~ error.c:32:8: warning: variable ‘n’ set but not used [-Wunused-but-set-variable] 32 | int n,ris; | ^ gcc -g -O2 -ffile-prefix-map=/build/nast-lWqCrR/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_menu.c -o ncurses/n_menu.o ncurses/n_menu.c: In function ‘nmenu’: ncurses/n_menu.c:97:8: warning: variable ‘ris’ set but not used [-Wunused-but-set-variable] 97 | int ris; | ^~~ ncurses/n_menu.c: In function ‘analyzer_menu’: ncurses/n_menu.c:783:14: warning: pointer targets in passing argument 1 of ‘fgw’ differ in signedness [-Wpointer-sign] 783 | fgw (dev); | ^~~ | | | char * In file included from ncurses/n_nast.h:20, from ncurses/n_menu.c:20: ncurses/../include/nast.h:65:18: note: expected ‘u_char *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 65 | int fgw (u_char *dev); | ~~~~~~~~^~~ ncurses/n_menu.c:944:17: warning: pointer targets in passing argument 1 of ‘mhport’ differ in signedness [-Wpointer-sign] 944 | mhport (dev,plist_p,lr); | ^~~ | | | char * In file included from ncurses/n_nast.h:20, from ncurses/n_menu.c:20: ncurses/../include/nast.h:70:21: note: expected ‘u_char *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 70 | int mhport (u_char *dev, libnet_plist_t *plist_p, int lg); | ~~~~~~~~^~~ ncurses/n_menu.c:961:15: warning: pointer targets in passing argument 1 of ‘flink’ differ in signedness [-Wpointer-sign] 961 | flink(dev); | ^~~ | | | char * In file included from ncurses/n_nast.h:20, from ncurses/n_menu.c:20: ncurses/../include/nast.h:67:20: note: expected ‘u_char *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 67 | int flink (u_char *dev); | ~~~~~~~~^~~ ncurses/n_menu.c:978:15: warning: pointer targets in passing argument 1 of ‘mport’ differ in signedness [-Wpointer-sign] 978 | mport(dev,ports,lr); | ^~~ | | | char * In file included from ncurses/n_nast.h:20, from ncurses/n_menu.c:20: ncurses/../include/nast.h:69:20: note: expected ‘u_char *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 69 | int mport (u_char *dev, u_short ports[], int lg); | ~~~~~~~~^~~ gcc -g -O2 -ffile-prefix-map=/build/nast-lWqCrR/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_scroll_win.c -o ncurses/n_scroll_win.o gcc -g -O2 -ffile-prefix-map=/build/nast-lWqCrR/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_comm.c -o ncurses/n_comm.o ncurses/n_comm.c: In function ‘shutdown_thread’: ncurses/n_comm.c:209:8: warning: variable ‘ris’ set but not used [-Wunused-but-set-variable] 209 | int ris,i,ret; | ^~~ gcc -g -O2 -ffile-prefix-map=/build/nast-lWqCrR/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_stream.c -o ncurses/n_stream.o ncurses/n_stream.c: In function ‘read_packet’: ncurses/n_stream.c:120:9: warning: pointer targets in assignment from ‘u_char *’ {aka ‘unsigned char *’} to ‘char *’ differ in signedness [-Wpointer-sign] 120 | data = packet = NULL; | ^ gcc -g -O2 -ffile-prefix-map=/build/nast-lWqCrR/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_conn.c -o ncurses/n_conn.o gcc -g -O2 -ffile-prefix-map=/build/nast-lWqCrR/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_rst.c -o ncurses/n_rst.o gcc -g -O2 -ffile-prefix-map=/build/nast-lWqCrR/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_nast.c -o ncurses/n_nast.o gcc -g -O2 -ffile-prefix-map=/build/nast-lWqCrR/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wl,-z,relro -Wl,-z,now -o nast main.o dev.o tcp.o icmp.o arp.o udp.o prom.o eth.o map.o sniff.o data.o rst.o fgw.o flink.o port.o common.o stream.o igmp.o bcount.o error.o ncurses/n_menu.o ncurses/n_scroll_win.o ncurses/n_comm.o ncurses/n_stream.o ncurses/n_conn.o ncurses/n_rst.o ncurses/n_nast.o -lpthread -lmenu -lncurses -lpcap -lnet Done! Type make install from root make[1]: Leaving directory '/build/nast-lWqCrR/nast-0.2.0' dh_auto_test -a dh_auto_test: warning: Compatibility levels before 10 are deprecated (level 9 in use) fakeroot debian/rules binary-arch dh binary-arch dh: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_testroot -a dh_prep -a dh_installdirs -a dh_installdirs: warning: Compatibility levels before 10 are deprecated (level 9 in use) debian/rules override_dh_auto_install make[1]: Entering directory '/build/nast-lWqCrR/nast-0.2.0' /usr/bin/make install prefix=/build/nast-lWqCrR/nast-0.2.0/debian/nast/usr make[2]: Entering directory '/build/nast-lWqCrR/nast-0.2.0' chown root nast nast.8 cp -fR nast /build/nast-lWqCrR/nast-0.2.0/debian/nast/usr/bin cp -fR nast.8 /build/nast-lWqCrR/nast-0.2.0/debian/nast/usr/share/man/man8/ Run with nast (-h for help), enjoy! Use -G flag to run in ncurses interface make[2]: Leaving directory '/build/nast-lWqCrR/nast-0.2.0' make[1]: Leaving directory '/build/nast-lWqCrR/nast-0.2.0' dh_installdocs -a dh_installdocs: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_installchangelogs -a dh_installchangelogs: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_installman -a dh_installman: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_perl -a dh_link -a dh_strip_nondeterminism -a dh_compress -a dh_compress: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_fixperms -a dh_missing -a dh_missing: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_strip -a dh_strip: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_makeshlibs -a dh_makeshlibs: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_shlibdeps -a dh_shlibdeps: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_installdeb -a dh_installdeb: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_gencontrol -a dh_md5sums -a dh_builddeb -a dpkg-deb: building package 'nast-dbgsym' in '../nast-dbgsym_0.2.0-8_amd64.deb'. dpkg-deb: building package 'nast' in '../nast_0.2.0-8_amd64.deb'. dpkg-genbuildinfo --build=any dpkg-genchanges --build=any >../nast_0.2.0-8_amd64.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/nast-lWqCrR /tmp/nast-0.2.0-8m942j0kt I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.y70ksGd506... I: success in 399.6902 seconds md5: nast-dbgsym_0.2.0-8_amd64.deb: OK md5: nast_0.2.0-8_amd64.deb: OK sha1: nast-dbgsym_0.2.0-8_amd64.deb: OK sha1: nast_0.2.0-8_amd64.deb: OK sha256: nast-dbgsym_0.2.0-8_amd64.deb: OK sha256: nast_0.2.0-8_amd64.deb: OK Checksums: OK