=>> Building net/nast build started at Fri Mar 13 04:04:19 EDT 2026 port directory: /usr/ports/net/nast package name: nast-0.2.1.g20210616_1 building for: FreeBSD pkg.DaveG.ca 14.4-RELEASE FreeBSD 14.4-RELEASE 1404000 amd64 maintained by: fuz@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 710 Aug 27 2024 /usr/ports/net/nast/Makefile Ports top last git commit: 26b198eb3ee3 Ports top unclean checkout: no Port dir last git commit: e7ed1fa017bf Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1404000 Job Id: 02 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1404000 UNAME_v=FreeBSD 14.4-RELEASE 1404000 UNAME_r=14.4-RELEASE BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_14_4_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_14_4_x64-HEAD-ALL/02/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_14_4_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_14_4_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- fuz@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=/usr/local/bin/gmake XDG_DATA_HOME=/wrkdirs/usr/ports/net/nast/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/nast/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net/nast/work/.cache HOME=/wrkdirs/usr/ports/net/nast/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/nast/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/nast/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/net/nast/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/nast/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net/nast/work/.cache HOME=/wrkdirs/usr/ports/net/nast/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/nast/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/nast/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=14.4 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/nast" EXAMPLESDIR="share/examples/nast" DATADIR="share/nast" WWWDIR="www/nast" ETCDIR="etc/nast" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/nast DOCSDIR=/usr/local/share/doc/nast EXAMPLESDIR=/usr/local/share/examples/nast WWWDIR=/usr/local/www/nast ETCDIR=/usr/local/etc/nast --End SUB_LIST-- ---Begin make.conf--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> nast-0.2.1.g20210616_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.6.2.pkg [pkg.DaveG.ca] Installing pkg-2.6.2... [pkg.DaveG.ca] Extracting pkg-2.6.2: .......... done ===> nast-0.2.1.g20210616_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of nast-0.2.1.g20210616_1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by nast-0.2.1.g20210616_1 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by nast-0.2.1.g20210616_1 for building => SHA256 Checksum OK for embyte0-nast-0.2.1-g20210616-96f4f8edd457772485415aaf5404ea56cf2b311f_GH0.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by nast-0.2.1.g20210616_1 for building ===> Extracting for nast-0.2.1.g20210616_1 => SHA256 Checksum OK for embyte0-nast-0.2.1-g20210616-96f4f8edd457772485415aaf5404ea56cf2b311f_GH0.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for nast-0.2.1.g20210616_1 ===> Applying FreeBSD patches for nast-0.2.1.g20210616_1 from /usr/ports/net/nast/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> nast-0.2.1.g20210616_1 depends on package: gmake>=4.4.1 - not found ===> Installing existing package /packages/All/gmake-4.4.1.pkg [pkg.DaveG.ca] Installing gmake-4.4.1... [pkg.DaveG.ca] `-- Installing gettext-runtime-0.26... [pkg.DaveG.ca] | `-- Installing indexinfo-0.3.1_1... [pkg.DaveG.ca] | `-- Extracting indexinfo-0.3.1_1: . done [pkg.DaveG.ca] `-- Extracting gettext-runtime-0.26: .......... done [pkg.DaveG.ca] Extracting gmake-4.4.1: .......... done ===> nast-0.2.1.g20210616_1 depends on package: gmake>=4.4.1 - found ===> Returning to build of nast-0.2.1.g20210616_1 ===> nast-0.2.1.g20210616_1 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> nast-0.2.1.g20210616_1 depends on file: /usr/local/bin/ccache - found ===> Returning to build of nast-0.2.1.g20210616_1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> nast-0.2.1.g20210616_1 depends on shared library: libnet.so - not found ===> Installing existing package /packages/All/libnet-1.3,1.pkg [pkg.DaveG.ca] Installing libnet-1.3,1... [pkg.DaveG.ca] Extracting libnet-1.3,1: .......... done ===> nast-0.2.1.g20210616_1 depends on shared library: libnet.so - found (/usr/local/lib/libnet.so) ===> Returning to build of nast-0.2.1.g20210616_1 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for nast-0.2.1.g20210616_1 configure: loading site script /usr/ports/Templates/config.site Please wait, I'm going to configure Nast 0.2.0 checking build system type... amd64-portbld-freebsd14.4 checking host system type... amd64-portbld-freebsd14.4 checking target system type... amd64-portbld-freebsd14.4 configure: Found FreeBSD, are you a nerd? checking for gcc... cc checking for C compiler default output... 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 cc accepts -g... yes checking for cc option to accept ANSI C... none needed checking for /usr/lib/libnet.a... no checking for /usr/local/lib/libnet.a... yes checking for libnet_name2addr4 in -lnet... yes checking for /usr/lib/libpcap.a... yes checking for pcap_dispatch in -lpcap... yes checking for /usr/lib/libncurses.a... yes checking for initscr in -lncurses... yes checking for /usr/lib/libmenu.a... yes checking for menu_opts_off in -lmenu... yes checking how to run the C preprocessor... cpp checking for egrep... grep -E checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for errno.h... (cached) 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... (cached) yes checking return type of signal handlers... void checking for vprintf... (cached) 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 ...... : amd64 amd64 O.S. .......... : FreeBSD 14.4-RELEASE (pkg.DaveG.ca) COMPILER ...... : cc CFLAGS ........ : -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -Wall -lpthread CPPFLAGS ...... : -I/usr/local/include LDFLAGS ....... : LIBS .......... : -lmenu -lncurses -lpcap -lnet -L/usr/local/lib PREFIX ........ : /usr/local NCURSES SUPPORT : yes Type 'make' to compile or 'make help' to show accepted options. =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for nast-0.2.1.g20210616_1 cc -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c main.c -o main.o cc -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c dev.c -o dev.o cc -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c tcp.c -o tcp.o cc -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c icmp.c -o icmp.o cc -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c arp.c -o arp.o cc -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c udp.c -o udp.o cc -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c prom.c -o prom.o cc -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c eth.c -o eth.o cc -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c map.c -o map.o cc -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c sniff.c -o sniff.o cc -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c data.c -o data.o cc -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c rst.c -o rst.o cc -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c fgw.c -o fgw.o cc -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c flink.c -o flink.o cc -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c port.c -o port.o cc -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c common.c -o common.o cc -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c stream.c -o stream.o cc -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c igmp.c -o igmp.o cc -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c bcount.c -o bcount.o cc -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c error.c -o error.o cc -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c ncurses/n_menu.c -o ncurses/n_menu.o cc -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c ncurses/n_scroll_win.c -o ncurses/n_scroll_win.o cc -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c ncurses/n_comm.c -o ncurses/n_comm.o cc -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c ncurses/n_stream.c -o ncurses/n_stream.o cc -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c ncurses/n_conn.c -o ncurses/n_conn.o cc -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c ncurses/n_rst.c -o ncurses/n_rst.o cc -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c ncurses/n_nast.c -o ncurses/n_nast.o cc: warning: -lpthread: 'linker' input unused [-Wunused-command-line-argument] cc: warning: -lpthread: 'linker' input unused [-Wunused-command-line-argument] error.c:32:8: warning: variable 'n' set but not used [-Wunused-but-set-variable] 32 | int n,ris; | ^ error.c:32:10: warning: variable 'ris' set but not used [-Wunused-but-set-variable] 32 | int n,ris; | ^ 2 warnings generated. cc: warning: -lpthread: 'linker' input unused [-Wunused-command-line-argument] cc: warning: -lpthread: 'linker' input unused [-Wunused-command-line-argument] cc: warning: -lpthread: 'linker' input unused [-Wunused-command-line-argument] cc: warning: -lpthread: 'linker' input unused [-Wunused-command-line-argument] icmp.c:206:6: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 206 | buf = (char *) (packet + size_ip + size_icmp + offset); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ icmp.c:211:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 211 | data_sniffo (buf, size_buf, output); | ^~~ ./include/nast.h:59:25: note: passing argument to parameter 'data' here 59 | void data_sniffo (char *data, u_int l, FILE *log); | ^ icmp.c:218:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 218 | print_ascii_hex (buf, size_buf, output); | ^~~ ./include/nast.h:60:29: note: passing argument to parameter 'data_info' here 60 | void print_ascii_hex (char *data_info, u_int len, FILE *log); | ^ icmp.c:226:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 226 | data_sniffo (buf, size_buf, ldd); | ^~~ ./include/nast.h:59:25: note: passing argument to parameter 'data' here 59 | void data_sniffo (char *data, u_int l, FILE *log); | ^ 4 warnings generated. cc: warning: -lpthread: 'linker' input unused [-Wunused-command-line-argument] udp.c:59:6: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 59 | buf = (char *) (packet + size_ip + size_udp + offset); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ udp.c:64:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 64 | data_sniffo (buf, size_buf, output); | ^~~ ./include/nast.h:59:25: note: passing argument to parameter 'data' here 59 | void data_sniffo (char *data, u_int l, FILE *log); | ^ udp.c:70:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 70 | print_ascii_hex (buf, size_buf, output); | ^~~ ./include/nast.h:60:29: note: passing argument to parameter 'data_info' here 60 | void print_ascii_hex (char *data_info, u_int len, FILE *log); | ^ udp.c:81:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 81 | data_sniffo (buf, size_buf, ldd); | ^~~ ./include/nast.h:59:25: note: passing argument to parameter 'data' here 59 | void data_sniffo (char *data, u_int l, FILE *log); | ^ 4 warnings generated. cc: warning: -lpthread: 'linker' input unused [-Wunused-command-line-argument] cc: warning: -lpthread: 'linker' input unused [-Wunused-command-line-argument] cc: warning: -lpthread: 'linker' input unused [-Wunused-command-line-argument] cc: warning: -lpthread: 'linker' input unused [-Wunused-command-line-argument] cc: warning: -lpthread: 'linker' input unused [-Wunused-command-line-argument] prom.c:171:16: warning: passing 'u_char[16]' (aka 'unsigned char[16]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-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]); | ^~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ prom.c:172:88: warning: passing 'u_char[16]' (aka 'unsigned char[16]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 172 | n_print ("princ",ln,1,lg,"%s (%s) --------->", ip, libnet_addr2name4(inet_addr(ip), LIBNET_RESOLVE)); | ^~ /usr/include/arpa/inet.h:146:34: note: passing argument to parameter here 146 | in_addr_t inet_addr(const char *); | ^ 2 warnings generated. cc: warning: -lpthread: 'linker' input unused [-Wunused-command-line-argument] cc: warning: -lpthread: 'linker' input unused [-Wunused-command-line-argument] ncurses/n_stream.c:120:9: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 120 | data = packet = NULL; | ^ ~~~~~~~~~~~~~ 1 warning generated. cc: warning: -lpthread: 'linker' input unused [-Wunused-command-line-argument] fgw.c:39:2: warning: initializing 'u_char *' (aka 'unsigned char *') with an expression of type 'char[13]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 39 | "66.102.11.99" | ^~~~~~~~~~~~~~ fgw.c:86:34: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 86 | l = libnet_init (LIBNET_LINK, dev, ebuf); | ^~~ /usr/local/include/./libnet/libnet-functions.h:64:45: note: passing argument to parameter 'device' here 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ^ fgw.c:86:39: warning: passing 'u_char[256]' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 86 | l = libnet_init (LIBNET_LINK, dev, ebuf); | ^~~~ /usr/local/include/./libnet/libnet-functions.h:64:59: note: passing argument to parameter 'err_buf' here 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ^ fgw.c:92:34: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 92 | l = libnet_init (LIBNET_LINK, dev, ebuf); | ^~~ /usr/local/include/./libnet/libnet-functions.h:64:45: note: passing argument to parameter 'device' here 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ^ fgw.c:92:39: warning: passing 'u_char[256]' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 92 | l = libnet_init (LIBNET_LINK, dev, ebuf); | ^~~~ /usr/local/include/./libnet/libnet-functions.h:64:59: note: passing argument to parameter 'err_buf' here 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ^ fgw.c:101:120: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-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) | ^~~~~ /usr/local/include/./libnet/libnet-functions.h:257:44: note: passing argument to parameter 'host_name' here 257 | libnet_name2addr4(libnet_t *l, const char *host_name, uint8_t use_name); | ^ fgw.c:111:26: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 111 | if ((uphost = map_lan(dev, 0, &n))==NULL) | ^~~ ./include/nast.h:63:30: note: passing argument to parameter 'dev' here 63 | struct host * map_lan (char *dev, u_short mode, u_short *n); | ^ fgw.c:143:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 143 | pcap_lookupnet(dev,&netp,&maskp,ebuf); | ^~~ /usr/include/pcap/pcap.h:447:41: note: passing argument to parameter here 447 | PCAP_API int pcap_lookupnet(const char *, bpf_u_int32 *, bpf_u_int32 *, char *); | ^ fgw.c:143:34: warning: passing 'u_char[256]' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 143 | pcap_lookupnet(dev,&netp,&maskp,ebuf); | ^~~~ /usr/include/pcap/pcap.h:447:79: note: passing argument to parameter here 447 | PCAP_API int pcap_lookupnet(const char *, bpf_u_int32 *, bpf_u_int32 *, char *); | ^ fgw.c:145:27: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 145 | if ((p = pcap_open_live (dev, BUFSIZ, NOT_PROMISC, 10, ebuf))==NULL) | ^~~ /usr/include/pcap/pcap.h:564:45: note: passing argument to parameter here 564 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^ fgw.c:145:57: warning: passing 'u_char[256]' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 145 | if ((p = pcap_open_live (dev, BUFSIZ, NOT_PROMISC, 10, ebuf))==NULL) | ^~~~ /usr/include/pcap/pcap.h:564:68: note: passing argument to parameter here 564 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^ fgw.c:198:103: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 198 | if ((ntohs(tcp->th_sport)==80) && (ntohs(tcp->th_dport)==2500) && (!strcmp(inet_ntoa(ip->ip_src), extip))) | ^~~~~ /usr/include/string.h:85:39: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ 12 warnings generated. cc: warning: -lpthread: 'linker' input unused [-Wunused-command-line-argument] cc: warning: -lpthread: 'linker' input unused [-Wunused-command-line-argument] tcp.c:101:6: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 101 | buf = (char *) (packet + offset + size_ip + size_tcp); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tcp.c:106:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 106 | data_sniffo (buf, size_buf, output); | ^~~ ./include/nast.h:59:25: note: passing argument to parameter 'data' here 59 | void data_sniffo (char *data, u_int l, FILE *log); | ^ tcp.c:112:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 112 | print_ascii_hex (buf, size_buf, output); | ^~~ ./include/nast.h:60:29: note: passing argument to parameter 'data_info' here 60 | void print_ascii_hex (char *data_info, u_int len, FILE *log); | ^ tcp.c:124:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 124 | data_sniffo (buf, size_buf, ldd); | ^~~ ./include/nast.h:59:25: note: passing argument to parameter 'data' here 59 | void data_sniffo (char *data, u_int l, FILE *log); | ^ 4 warnings generated. cc: warning: -lpthread: 'linker' input unused [-Wunused-command-line-argument] ncurses/n_comm.c:209:8: warning: variable 'ris' set but not used [-Wunused-but-set-variable] 209 | int ris,i,ret; | ^ 1 warning generated. cc: warning: -lpthread: 'linker' input unused [-Wunused-command-line-argument] cc: warning: -lpthread: 'linker' input unused [-Wunused-command-line-argument] common.c:202:10: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 202 | mhport (dev,plist_p,l); | ^~~ ./include/nast.h:70:21: note: passing argument to parameter 'dev' here 70 | int mhport (u_char *dev, libnet_plist_t *plist_p, int lg); | ^ common.c:295:8: warning: variable 'n' set but not used [-Wunused-but-set-variable] 295 | int n; | ^ 2 warnings generated. cc: warning: -lpthread: 'linker' input unused [-Wunused-command-line-argument] map.c:199:20: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 199 | if (send_arp(l, dev, ip_dst, enet_src, ip_src)==-1) goto error; | ^~~ map.c:39:35: note: passing argument to parameter 'device' here 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: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 209 | if (send_arp(l, dev, ip_dst, enet_src, ip_src)==-1) goto error; | ^~~ map.c:39:35: note: passing argument to parameter 'device' here 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: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 225 | if (send_arp(l, dev, ip_dst, enet_src, ip_src)==-1) goto error; | ^~~ map.c:39:35: note: passing argument to parameter 'device' here 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: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 247 | if (send_arp(l, dev, ip_dst, enet_src, ip_src)==-1) goto error; | ^~~ map.c:39:35: note: passing argument to parameter 'device' here 39 | int send_arp(libnet_t *l, u_char *device, u_char *ip_dst, u_char *enet_src, u_long ip_src); | ^ map.c:346:16: warning: passing 'u_char[20]' (aka 'unsigned char[20]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-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]); | ^~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ map.c:355:121: warning: passing 'u_char[20]' (aka 'unsigned char[20]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-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)); | ^~ /usr/include/arpa/inet.h:146:34: note: passing argument to parameter here 146 | in_addr_t inet_addr(const char *); | ^ 6 warnings generated. cc: warning: -lpthread: 'linker' input unused [-Wunused-command-line-argument] flink.c:73:26: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 73 | if ((uphost = map_lan(dev, 0, &n))==NULL) | ^~~ ./include/nast.h:63:30: note: passing argument to parameter 'dev' here 63 | struct host * map_lan (char *dev, u_short mode, u_short *n); | ^ flink.c:88:45: warning: passing 'u_char[256]' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 88 | if ((l = libnet_init (LIBNET_RAW4, NULL, errbuf))==NULL) | ^~~~~~ /usr/local/include/./libnet/libnet-functions.h:64:59: note: passing argument to parameter 'err_buf' here 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ^ flink.c:116:10: warning: passing 'u_char[20]' (aka 'unsigned char[20]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-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]); | ^~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ flink.c:117:123: warning: passing 'u_char[20]' (aka 'unsigned char[20]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-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) | ^~~~~~ /usr/include/arpa/inet.h:146:34: note: passing argument to parameter here 146 | in_addr_t inet_addr(const char *); | ^ flink.c:131:27: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 131 | if ((p = pcap_open_live (dev, BUFSIZ, NOT_PROMISC, 10, errbuf))==NULL) | ^~~ /usr/include/pcap/pcap.h:564:45: note: passing argument to parameter here 564 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^ flink.c:131:57: warning: passing 'u_char[256]' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 131 | if ((p = pcap_open_live (dev, BUFSIZ, NOT_PROMISC, 10, errbuf))==NULL) | ^~~~~~ /usr/include/pcap/pcap.h:564:68: note: passing argument to parameter here 564 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^ flink.c:163:29: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 163 | if ((offset = (device(dev,p)))==-1) return -1; | ^~~ ./include/nast.h:58:19: note: passing argument to parameter 'dev' here 58 | int device (char *dev, pcap_t* descr); | ^ flink.c:168:43: warning: passing 'u_char[20]' (aka 'unsigned char[20]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 168 | if ((ip->ip_src.s_addr == inet_addr(testip)) && icmp->icmp_type==ICMP_ECHOREPLY && icmp->icmp_id == 1000) | ^~~~~~ /usr/include/arpa/inet.h:146:34: note: passing argument to parameter here 146 | in_addr_t inet_addr(const char *); | ^ flink.c:178:15: warning: passing 'u_char[20]' (aka 'unsigned char[20]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-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]); | ^~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ flink.c:180:15: warning: passing 'u_char[20]' (aka 'unsigned char[20]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-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]); | ^~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ flink.c:182:28: warning: passing 'u_char[20]' (aka 'unsigned char[20]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 182 | if ( (ip_src=inet_addr(testip)) == -1) | ^~~~~~ /usr/include/arpa/inet.h:146:34: note: passing argument to parameter here 146 | in_addr_t inet_addr(const char *); | ^ flink.c:215:39: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 215 | if ((l = libnet_init (LIBNET_LINK, dev, errbuf))==NULL) | ^~~ /usr/local/include/./libnet/libnet-functions.h:64:45: note: passing argument to parameter 'device' here 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ^ flink.c:215:44: warning: passing 'u_char[256]' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 215 | if ((l = libnet_init (LIBNET_LINK, dev, errbuf))==NULL) | ^~~~~~ /usr/local/include/./libnet/libnet-functions.h:64:59: note: passing argument to parameter 'err_buf' here 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ^ flink.c:247:29: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 247 | if ((p = pcap_open_live (dev, BUFSIZ, PROMISC, 10, errbuf))==NULL) | ^~~ /usr/include/pcap/pcap.h:564:45: note: passing argument to parameter here 564 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^ flink.c:247:55: warning: passing 'u_char[256]' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 247 | if ((p = pcap_open_live (dev, BUFSIZ, PROMISC, 10, errbuf))==NULL) | ^~~~~~ /usr/include/pcap/pcap.h:564:68: note: passing argument to parameter here 564 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^ flink.c:291:19: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 291 | offset = (device(dev,p)); | ^~~ ./include/nast.h:58:19: note: passing argument to parameter 'dev' here 58 | int device (char *dev, pcap_t* descr); | ^ 16 warnings generated. cc: warning: -lpthread: 'linker' input unused [-Wunused-command-line-argument] ncurses/n_nast.c:379:25: warning: if statement has empty body [-Wempty-body] 379 | else if (ris == 'n'); | ^ ncurses/n_nast.c:379:25: note: put the semicolon on a separate line to silence this warning ncurses/n_nast.c:469:13: warning: comparison of array 'currfil' equal to a null pointer is always false [-Wtautological-pointer-compare] 469 | if(currfil==0) | ^~~~~~~ ~ ncurses/n_nast.c:589:13: warning: comparison of array 'currfil' equal to a null pointer is always false [-Wtautological-pointer-compare] 589 | if(currfil==0) | ^~~~~~~ ~ ncurses/n_nast.c:644:46: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 644 | mvwprintw(title,1,(COLS-sizeof(TITLE))/2, TITLE); | ^~~~~ ncurses/n_nast.c:644:46: note: treat the string as an argument to avoid this 644 | mvwprintw(title,1,(COLS-sizeof(TITLE))/2, TITLE); | ^ | "%s", ncurses/n_nast.c:751:48: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 751 | mvwprintw(pop_up,0,(55 -strlen(message))/2, message); | ^~~~~~~ ncurses/n_nast.c:751:48: note: treat the string as an argument to avoid this 751 | mvwprintw(pop_up,0,(55 -strlen(message))/2, message); | ^ | "%s", ncurses/n_nast.c:762:46: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 762 | mvwprintw(help,0,(67 -strlen(message))/2, message); | ^~~~~~~ ncurses/n_nast.c:762:46: note: treat the string as an argument to avoid this 762 | mvwprintw(help,0,(67 -strlen(message))/2, message); | ^ | "%s", 6 warnings generated. cc: warning: -lpthread: 'linker' input unused [-Wunused-command-line-argument] main.c:110:10: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 110 | dev = pcap_lookupdev(errbuf); | ^ /usr/include/pcap/pcap.h:443:1: note: 'pcap_lookupdev' has been explicitly marked deprecated here 443 | PCAP_DEPRECATED("use 'pcap_findalldevs' and use the first device") | ^ /usr/include/pcap/funcattrs.h:327:47: note: expanded from macro 'PCAP_DEPRECATED' 327 | #define PCAP_DEPRECATED(msg) __attribute__((deprecated(msg))) | ^ main.c:309:36: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 309 | if (flags.banner) return mport (dev, ports, flags.l); | ^~~ ./include/nast.h:69:20: note: passing argument to parameter 'dev' here 69 | int mport (u_char *dev, u_short ports[], int lg); | ^ main.c:316:30: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 316 | if (flags.gw) return fgw (dev); | ^~~ ./include/nast.h:65:18: note: passing argument to parameter 'dev' here 65 | int fgw (u_char *dev); | ^ main.c:317:32: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 317 | if (flags.lk) return flink (dev); | ^~~ ./include/nast.h:67:20: note: passing argument to parameter 'dev' here 67 | int flink (u_char *dev); | ^ 4 warnings generated. cc: warning: -lpthread: 'linker' input unused [-Wunused-command-line-argument] bcount.c:156:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 156 | printf (value); | ^~~~~ bcount.c:156:15: note: treat the string as an argument to avoid this 156 | printf (value); | ^ | "%s", bcount.c:123:8: warning: variable 'line' set but not used [-Wunused-but-set-variable] 123 | int line; | ^ bcount.c:224:8: warning: variable 'line' set but not used [-Wunused-but-set-variable] 224 | int line, l; | ^ bcount.c:224:14: warning: variable 'l' set but not used [-Wunused-but-set-variable] 224 | int line, l; | ^ 4 warnings generated. cc: warning: -lpthread: 'linker' input unused [-Wunused-command-line-argument] ncurses/n_menu.c:97:8: warning: variable 'ris' set but not used [-Wunused-but-set-variable] 97 | int ris; | ^ ncurses/n_menu.c:783:14: warning: passing 'char[10]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 783 | fgw (dev); | ^~~ ncurses/../include/nast.h:65:18: note: passing argument to parameter 'dev' here 65 | int fgw (u_char *dev); | ^ ncurses/n_menu.c:944:17: warning: passing 'char[10]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 944 | mhport (dev,plist_p,lr); | ^~~ ncurses/../include/nast.h:70:21: note: passing argument to parameter 'dev' here 70 | int mhport (u_char *dev, libnet_plist_t *plist_p, int lg); | ^ ncurses/n_menu.c:961:15: warning: passing 'char[10]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 961 | flink(dev); | ^~~ ncurses/../include/nast.h:67:20: note: passing argument to parameter 'dev' here 67 | int flink (u_char *dev); | ^ ncurses/n_menu.c:978:15: warning: passing 'char[10]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 978 | mport(dev,ports,lr); | ^~~ ncurses/../include/nast.h:69:20: note: passing argument to parameter 'dev' here 69 | int mport (u_char *dev, u_short ports[], int lg); | ^ ncurses/n_menu.c:1360:27: warning: if statement has empty body [-Wempty-body] 1360 | else if (ris == 'n'); | ^ ncurses/n_menu.c:1360:27: note: put the semicolon on a separate line to silence this warning ncurses/n_menu.c:1542:10: warning: comparison of array 'currfil' equal to a null pointer is always false [-Wtautological-pointer-compare] 1542 | if(currfil==0) | ^~~~~~~ ~ ncurses/n_menu.c:1671:10: warning: comparison of array 'currfil' equal to a null pointer is always false [-Wtautological-pointer-compare] 1671 | if(currfil==0) | ^~~~~~~ ~ 8 warnings generated. cc: warning: -lpthread: 'linker' input unused [-Wunused-command-line-argument] port.c:347:25: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 347 | if ((uphost = map_lan(dev, 0, &n))==NULL) | ^~~ ./include/nast.h:63:30: note: passing argument to parameter 'dev' here 63 | struct host * map_lan (char *dev, u_short mode, u_short *n); | ^ port.c:466:21: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 466 | x = strlen(tmpbuf); | ^~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ 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:615:26: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 615 | if ((uphost = map_lan(dev, 0, &n))==NULL) | ^~~ ./include/nast.h:63:30: note: passing argument to parameter 'dev' here 63 | struct host * map_lan (char *dev, u_short mode, u_short *n); | ^ port.c:635:4: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 635 | dev, /* network interface */ | ^~~ /usr/local/include/./libnet/libnet-functions.h:64:45: note: passing argument to parameter 'device' here 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ^ port.c:647:10: warning: passing 'u_char[20]' (aka 'unsigned char[20]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-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]); | ^~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ port.c:654:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 654 | pcap_lookupnet(dev,&netp,&maskp,errbuf); | ^~~ /usr/include/pcap/pcap.h:447:41: note: passing argument to parameter here 447 | PCAP_API int pcap_lookupnet(const char *, bpf_u_int32 *, bpf_u_int32 *, char *); | ^ port.c:658:31: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 658 | if ((descr = pcap_open_live (dev, BUFSIZ, NOT_PROMISC, 10,errbuf)) == NULL) | ^~~ /usr/include/pcap/pcap.h:564:45: note: passing argument to parameter here 564 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^ port.c:665:22: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 665 | if ((offset=(device(dev,descr)))==-1) return -1; | ^~~ ./include/nast.h:58:19: note: passing argument to parameter 'dev' here 58 | int device (char *dev, pcap_t* descr); | ^ port.c:707:21: warning: passing 'u_char[20]' (aka 'unsigned char[20]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 707 | inet_addr(testip), /* destination IP */ | ^~~~~~ /usr/include/arpa/inet.h:146:34: note: passing argument to parameter here 146 | in_addr_t inet_addr(const char *); | ^ port.c:584:8: warning: variable 'linep' set but not used [-Wunused-but-set-variable] 584 | int linep; | ^ 11 warnings generated. cc -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -Wall -lpthread -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 -lmenu -lncurses -lpcap -lnet -L/usr/local/lib Done! Type make install from root =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for nast-0.2.1.g20210616_1 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/net/nast/work/nast-96f4f8edd457772485415aaf5404ea56cf2b311f/nast /wrkdirs/usr/ports/net/nast/work/stage/usr/local/bin install -m 444 /wrkdirs/usr/ports/net/nast/work/nast-96f4f8edd457772485415aaf5404ea56cf2b311f/nast.8 /wrkdirs/usr/ports/net/nast/work/stage/usr/local/share/man/man8 ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2026-03-13T08:04:19+0000' 'PKG_NOTE_ports_top_git_hash=26b198eb3ee3' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=e7ed1fa017bf' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for nast-0.2.1.g20210616_1 ===> Building nast-0.2.1.g20210616_1 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for nast-0.2.1.g20210616_1 build of net/nast | nast-0.2.1.g20210616_1 ended at Fri Mar 13 04:04:27 EDT 2026 build time: 00:00:09