=>> Building net/xprobe build started at Wed Apr 3 02:31:02 CEST 2024 port directory: /usr/ports/net/xprobe package name: xprobe2-0.3_1 building for: FreeBSD 14amd64-portscommit-job-06 14.0-RELEASE-p4 FreeBSD 14.0-RELEASE-p4 amd64 maintained by: sunpoet@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 1001 1001 543 Mar 27 21:11 /usr/ports/net/xprobe/Makefile Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1500017 Jail OSVERSION: 1400097 Job Id: 06 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1400097 UNAME_v=FreeBSD 14.0-RELEASE-p4 UNAME_r=14.0-RELEASE-p4 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 WARNING_WAIT=0 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.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/14amd64-portscommit/ref DEV_WARNING_WAIT=0 LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color GID=0 OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 UID=0 PWD=/usr/local/poudriere/data/.m/14amd64-portscommit/06/.p OUTPUT_REDIRECTED_STDOUT=3 NO_WARNING_PKG_INSTALL_EOL=yes P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=14amd64-portscommit SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/14amd64-portscommit/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 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-- sunpoet@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- INSTALL=install XDG_DATA_HOME=/wrkdirs/usr/ports/net/xprobe/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/xprobe/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net/xprobe/work/.cache HOME=/wrkdirs/usr/ports/net/xprobe/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/xprobe/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/xprobe/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/xprobe/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/xprobe/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net/xprobe/work/.cache HOME=/wrkdirs/usr/ports/net/xprobe/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/xprobe/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/xprobe/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 -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -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.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/xprobe2" EXAMPLESDIR="share/examples/xprobe2" DATADIR="share/xprobe2" WWWDIR="www/xprobe2" ETCDIR="etc/xprobe2" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/xprobe2 DOCSDIR=/usr/local/share/doc/xprobe2 EXAMPLESDIR=/usr/local/share/examples/xprobe2 WWWDIR=/usr/local/www/xprobe2 ETCDIR=/usr/local/etc/xprobe2 --End SUB_LIST-- ---Begin make.conf--- 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 #### #### DISABLE_LICENSES="YES" multimedia_liba-utils_UNSET=WAYLAND net-mgmt_icingaweb2-module-reporting_UNSET=PDF lang_gcc12_UNSET=LTO_BOOTSTRAP lang_gcc13_UNSET=LTO_BOOTSTRAP lang_gcc_UNSET=LTO_BOOTSTRAP www_nginx_SET+=HEADERS_MORE www_nginx_SET+=LUA www_nginx_SET+=SET_MISC #### Misc Poudriere #### .include "/etc/make.conf.ports_env" ---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) 63795 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 --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> xprobe2-0.3_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.21.0.pkg [14amd64-portscommit-job-06] Installing pkg-1.21.0... [14amd64-portscommit-job-06] Extracting pkg-1.21.0: .......... done ===> xprobe2-0.3_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of xprobe2-0.3_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 xprobe2-0.3_1 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by xprobe2-0.3_1 for building => SHA256 Checksum OK for xprobe2-0.3.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Fetching all distfiles required by xprobe2-0.3_1 for building ===> Extracting for xprobe2-0.3_1 => SHA256 Checksum OK for xprobe2-0.3.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Patching for xprobe2-0.3_1 ===> Applying FreeBSD patches for xprobe2-0.3_1 from /usr/ports/net/xprobe/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Configuring for xprobe2-0.3_1 configure: loading site script /usr/ports/Templates/config.site checking for gcc... cc 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 cc accepts -g... yes checking for cc option to accept ANSI C... none needed checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking for ranlib... ranlib checking build system type... amd64-portbld-freebsd14.0 checking host system type... amd64-portbld-freebsd14.0 checking how to run the C++ preprocessor... c++ -E 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 strings.h... (cached) yes checking for string.h... (cached) yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking glib.h usability... no checking glib.h presence... no checking for glib.h... no checking for dlfcn.h... (cached) yes checking if sa_len is in struct sockaddr... yes checking for pcap_datalink in -lpcap... yes checking for dlfcn.h... (cached) yes checking for a BSD-compatible install... install checking whether make sets $(MAKE)... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/defines.h config.status: creating src/Makefile config.status: creating src/xplib/Makefile config.status: creating src/xpmodules/Makefile config.status: creating src/xpmodules/alive_probe/Makefile config.status: creating src/xpmodules/alive_probe/ttl_calc/Makefile config.status: creating src/xpmodules/alive_probe/portscanner/Makefile config.status: creating src/xpmodules/os_probe/Makefile config.status: creating src/xpmodules/os_probe/icmp_echo_id/Makefile config.status: creating src/xpmodules/os_probe/icmp_timestamp/Makefile config.status: creating src/xpmodules/os_probe/icmp_addrmask/Makefile config.status: creating src/xpmodules/os_probe/icmp_inforeq/Makefile config.status: creating src/xpmodules/os_probe/icmp_port_unreach/Makefile config.status: creating src/xpmodules/os_probe/tcp_handshake/Makefile config.status: creating src/xpmodules/os_probe/tcp_rst/Makefile config.status: creating src/xpmodules/os_probe/smb/Makefile config.status: creating src/xpmodules/os_probe/snmp/Makefile config.status: creating src/config.h configure: configuring in libs-external/USI++/src configure: running /bin/sh './configure' --prefix=/usr/local '--prefix=/usr/local' '--localstatedir=/var' '--mandir=/usr/local/share/man' '--infodir=/usr/local/share/info/' '--build=amd64-portbld-freebsd14.0' 'CC=cc' 'CFLAGS=-O2 -pipe -fstack-protector-strong -fno-strict-aliasing ' 'CPPFLAGS=' 'CXXFLAGS=-O2 -pipe -fstack-protector-strong -fno-strict-aliasing ' 'CXX=c++' 'LDFLAGS= -fstack-protector-strong ' 'build_alias=amd64-portbld-freebsd14.0' --cache-file=/dev/null --srcdir=. configure: loading site script /usr/ports/Templates/config.site checking build system type... amd64-portbld-freebsd14.0 checking host system type... amd64-portbld-freebsd14.0 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 c++ accepts -g... yes checking for ranlib... ranlib checking for a BSD-compatible install... install checking for gcc... cc 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 main in -lpcap... yes checking for pcap_setnonblock in -lpcap... yes checking for socket in -lsocket... no checking for inet_ntoa in -lnsl... no 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 fcntl.h... (cached) yes checking for sys/ioctl.h... (cached) yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking linux/filter.h usability... no checking linux/filter.h presence... no checking for linux/filter.h... no checking for an ANSI C-conforming const... yes checking for size_t... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking whether byte ordering is bigendian... no configure: creating ./config.status config.status: creating Makefile config.status: creating config.h =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Building for xprobe2-0.3_1 --- all --- (cd libs-external/USI++/src; /usr/bin/make) --- icmp.o --- --- datalink.o --- --- ip.o --- --- misc.o --- --- udp.o --- --- tcp.o --- --- TX_IP.o --- --- Layer2.o --- --- arp.o --- --- icmp.o --- c++ -DIMMEDIATE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/include/pcap -I. -Wall -c -O2 icmp.cc --- datalink.o --- c++ -DIMMEDIATE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/include/pcap -I. -Wall -c -O2 datalink.cc --- ip.o --- c++ -DIMMEDIATE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/include/pcap -I. -Wall -c -O2 ip.cc --- misc.o --- c++ -DIMMEDIATE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/include/pcap -I. -Wall -c -O2 misc.cc --- udp.o --- c++ -DIMMEDIATE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/include/pcap -I. -Wall -c -O2 udp.cc --- tcp.o --- c++ -DIMMEDIATE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/include/pcap -I. -Wall -c -O2 tcp.cc --- TX_IP.o --- c++ -DIMMEDIATE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/include/pcap -I. -Wall -c -O2 TX_IP.cc --- Layer2.o --- c++ -DIMMEDIATE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/include/pcap -I. -Wall -c -O2 Layer2.cc --- arp.o --- c++ -DIMMEDIATE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/include/pcap -I. -Wall -c -O2 arp.cc --- icmp.o --- In file included from icmp.cc:14: In file included from ./usi++/icmp.h:16: ./usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ./usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from icmp.cc:14: In file included from ./usi++/icmp.h:16: ./usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ./usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ --- ip.o --- In file included from ip.cc:13: ./usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ./usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from ip.cc:13: ./usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ./usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ --- icmp.o --- icmp.cc:296:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] r = Layer2::setfilter("icmp"); ^ --- tcp.o --- In file included from tcp.cc:14: In file included from ./usi++/tcp.h:19: ./usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ./usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from tcp.cc:14: In file included from ./usi++/tcp.h:19: ./usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ./usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ tcp.cc:321:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] r = Layer2::setfilter("tcp"); ^ --- ip.o --- ip.cc:559:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] r = Layer2::setfilter("ip"); ^ --- datalink.o --- datalink.cc:274:12: warning: explicitly assigning value of variable of type 'size_t' (aka 'unsigned long') to itself; did you mean to assign to member 'd_snaplen'? [-Wself-assign] d_snaplen = d_snaplen; ~~~~~~~~~ ^ ~~~~~~~~~ this-> --- arp.o --- In file included from arp.cc:13: ./usi++/arp.h:66:21: warning: 'usipp::ARP::sniffpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sniffpack(); ^ ./usi++/Layer2.h:41:14: note: hidden overloaded virtual function 'usipp::Layer2::sniffpack' declared here: different number of parameters (2 vs 0) virtual int sniffpack(void *, size_t); ^ --- TX_IP.o --- TX_IP.cc:37:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] int r; ^ TX_IP.cc:33:5: note: previous statement is here if (tx_timeout != false) ^ --- tcp.o --- 3 warnings generated. --- icmp.o --- 3 warnings generated. --- TX_IP.o --- 1 warning generated. --- datalink.o --- 1 warning generated. --- arp.o --- 1 warning generated. --- ip.o --- 3 warnings generated. --- udp.o --- In file included from udp.cc:13: In file included from ./usi++/udp.h:17: ./usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ./usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from udp.cc:13: In file included from ./usi++/udp.h:17: ./usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ./usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ udp.cc:217:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] r = Layer2::setfilter("udp"); ^ 3 warnings generated. --- usi++ --- ar cr libusi++.a *.o ranlib libusi++.a rm -f *.o (cd src; /usr/bin/make) --- lib --- --- modules --- --- cmd_opts.o --- --- config_set.o --- --- interface.o --- --- interface_con.o --- --- log.o --- --- os_matrix.o --- --- scan_engine.o --- --- target.o --- --- targets_list.o --- --- xprobe.o --- --- lib --- cd xplib; /usr/bin/make --- xp_get_interface.o --- --- xp_get_iface_addr.o --- --- xp_get_random_data.o --- --- xp_get_ping_payload.o --- --- xp_get_src_addr.o --- --- xp_sha1.o --- --- xp_lib.o --- --- xp_get_interface.o --- c++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I ../ xp_get_interface.cc --- xp_get_iface_addr.o --- c++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I ../ xp_get_iface_addr.cc --- xp_get_random_data.o --- c++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I ../ xp_get_random_data.cc --- xp_get_ping_payload.o --- c++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I ../ xp_get_ping_payload.cc --- xp_get_src_addr.o --- c++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I ../ xp_get_src_addr.cc --- modules --- cd xpmodules; /usr/bin/make --- alive --- --- os --- --- alive --- cd alive_probe; /usr/bin/make --- os --- cd os_probe; /usr/bin/make --- alive --- --- ttl_module --- --- portscan_module --- --- icmp_ping.o --- --- tcp_ping.o --- --- udp_ping.o --- --- ttl_module --- cd ttl_calc; /usr/bin/make --- portscan_module --- cd portscanner; /usr/bin/make --- portscanner.o --- c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ portscanner.cc --- icmp_ping.o --- c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -W -Wcast-align -Wcast-qual -Wshadow -I../ -I../../ -I ../../xplib -I ../../../libs-external/USI++ -c icmp_ping.cc --- tcp_ping.o --- c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -W -Wcast-align -Wcast-qual -Wshadow -I../ -I../../ -I ../../xplib -I ../../../libs-external/USI++ -c tcp_ping.cc --- udp_ping.o --- --- cmd_opts.o --- c++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I ./ -I ../libs-external/USI++/src/ cmd_opts.cc --- config_set.o --- c++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I ./ -I ../libs-external/USI++/src/ config_set.cc --- interface.o --- c++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I ./ -I ../libs-external/USI++/src/ interface.cc --- interface_con.o --- c++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I ./ -I ../libs-external/USI++/src/ interface_con.cc --- log.o --- c++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I ./ -I ../libs-external/USI++/src/ log.cc --- os_matrix.o --- c++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I ./ -I ../libs-external/USI++/src/ os_matrix.cc --- scan_engine.o --- c++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I ./ -I ../libs-external/USI++/src/ scan_engine.cc --- target.o --- c++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I ./ -I ../libs-external/USI++/src/ target.cc --- targets_list.o --- c++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I ./ -I ../libs-external/USI++/src/ targets_list.cc --- xprobe.o --- c++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I ./ -I ../libs-external/USI++/src/ xprobe.cc --- lib --- --- xp_sha1.o --- c++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I ../ xp_sha1.cc --- xp_lib.o --- c++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I ../ xp_lib.cc --- modules --- c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -W -Wcast-align -Wcast-qual -Wshadow -I../ -I../../ -I ../../xplib -I ../../../libs-external/USI++ -c udp_ping.cc --- ttl_module --- --- ttl_calc.o --- --- build_DNS_reply.o --- --- ttl_calc.o --- c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ ttl_calc.cc --- build_DNS_reply.o --- c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ build_DNS_reply.cc --- os --- --- icmp_port_unreach_mod --- --- icmp_echo_id_mod --- --- icmp_timestamp_mod --- --- icmp_inforeq_mod --- --- icmp_addrmask_mod --- --- icmp_port_unreach_mod --- cd icmp_port_unreach; /usr/bin/make --- icmp_echo_id_mod --- cd icmp_echo_id; /usr/bin/make --- icmp_echo_id.o --- c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -W -Wcast-align -Wcast-qual -Wshadow -I../ -I../../ -I ../../../ -I../../../xplib -I ../../../../libs-external/USI++ -c icmp_echo_id.cc --- icmp_timestamp_mod --- cd icmp_timestamp; /usr/bin/make --- icmp_timestamp.o --- c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -W -Wcast-align -Wcast-qual -Wshadow -I../ -I../../ -I ../../../ -I../../../xplib -I ../../../../libs-external/USI++ icmp_timestamp.cc --- icmp_inforeq_mod --- cd icmp_inforeq; /usr/bin/make --- icmp_inforeq.o --- c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -W -Wcast-align -Wcast-qual -Wshadow -I../ -I../../ -I ../../../ -I../../../xplib -I ../../../../libs-external/USI++ icmp_inforeq.cc --- icmp_port_unreach_mod --- --- icmp_port_unreach.o --- --- build_DNS_reply.o --- --- getrandom.o --- --- icmp_port_unreach.o --- c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ icmp_port_unreach.cc --- build_DNS_reply.o --- c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ build_DNS_reply.cc --- getrandom.o --- c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ getrandom.cc --- icmp_addrmask_mod --- cd icmp_addrmask; /usr/bin/make --- icmp_addrmask.o --- c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -W -Wcast-align -Wcast-qual -Wshadow -I../ -I../../ -I ../../../ -I../../../xplib -I ../../../../libs-external/USI++ icmp_addrmask.cc --- alive --- --- icmp_ping.o --- In file included from icmp_ping.cc:25: In file included from ../../../libs-external/USI++/usi++/usi++.h:23: ../../../libs-external/USI++/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from icmp_ping.cc:25: In file included from ../../../libs-external/USI++/usi++/usi++.h:23: ../../../libs-external/USI++/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from icmp_ping.cc:29: In file included from ../../xplib/xplib.h:31: ../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H --- os --- --- icmp_timestamp_mod --- In file included from icmp_timestamp.cc:25: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from icmp_timestamp.cc:25: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from icmp_timestamp.cc:29: In file included from ../../../xplib/xplib.h:31: ../../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H --- icmp_echo_id_mod --- In file included from icmp_echo_id.cc:25: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ --- alive --- --- portscan_module --- In file included from portscanner.cc:25: In file included from ../../../xplib/xplib.h:31: ../../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H --- target.o --- In file included from target.cc:26: In file included from ./xprobe_module_hdlr.h:26: --- modules --- --- os --- ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); --- target.o --- In file included from ./xprobe_module.h:27: ./os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ --- modules --- ^ --- target.o --- In file included from target.cc:26: In file included from ./xprobe_module_hdlr.h:26: In file included from ./xprobe_module.h:28: In file included from ../libs-external/USI++/src/usi++/usi++.h:23: ../libs-external/USI++/src/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../libs-external/USI++/src/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from target.cc:26: In file included from ./xprobe_module_hdlr.h:26: In file included from ./xprobe_module.h:28: In file included from ../libs-external/USI++/src/usi++/usi++.h:23: ../libs-external/USI++/src/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../libs-external/USI++/src/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ --- modules --- --- alive --- In file included from portscanner.cc:26: In file included from ../../../xprobe_module_hdlr.h:26: In file included from ../../../xprobe_module.h:27: ../../../os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ --- icmp_ping.o --- In file included from icmp_ping.cc:30: In file included from ../../xprobe_module.h:27: ../../os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ --- portscan_module --- In file included from portscanner.cc:26: In file included from ../../../xprobe_module_hdlr.h:26: In file included from ../../../xprobe_module.h:28: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from portscanner.cc:26: In file included from ../../../xprobe_module_hdlr.h:26: In file included from ../../../xprobe_module.h:28: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: --- target.o --- In file included from target.cc:29: In file included from ./xplib/xplib.h:31: --- modules --- ../../../../libs-external/USI++/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ portscanner.cc:40:25: warning: parameter 'signum' set but not used [-Wunused-but-set-parameter] void child_handler (int signum) { ^ portscanner.cc:63:5: warning: explicitly assigning value of variable of type 'OS_Matrix *' to itself [-Wself-assign] os = os; /* suspend warning */ ~~ ^ ~~ --- icmp_ping.o --- icmp_ping.cc:91:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret; ^ --- portscan_module --- portscanner.cc:118:9: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] tcp_ignore_state = get_ignore_state(IPPROTO_TCP); ^ portscanner.cc:112:5: note: previous statement is here for (k=0; k < tcpport.size(); k++) ^ portscanner.cc:131:2: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] xml->log(XPROBELOG_PS_SESS_START, "%d", ((end.tv_sec - start.tv_sec) * 1000 + (end.tv_usec - start.tv_usec)/1000)/1000.0); ^ portscanner.cc:125:5: note: previous statement is here for (k=0; k < udpport.size(); k++) ^ --- lib --- --- xp_get_iface_addr.o --- In file included from xp_get_iface_addr.cc:26: In file included from ./xp_get_iface_addr.h:28: In file included from ./xplib.h:31: ./xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ./xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H --- modules --- portscanner.cc:306:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] udpp.sendpack(""); ^ portscanner.cc:340:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tcpp.sendpack(""); ^ portscanner.cc:262:23: warning: variable 'j' set but not used [-Wunused-but-set-variable] unsigned int k, seq, j=0; //, onestar, percent=0; ^ --- os --- --- icmp_timestamp_mod --- In file included from icmp_timestamp.cc:30: In file included from ../../../xprobe_module.h:27: ../../../os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ --- log.o --- In file included from log.cc:5: In file included from ./xprobe_module.h:27: ./os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ --- modules --- --- icmp_inforeq_mod --- In file included from icmp_inforeq.cc:25: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from icmp_inforeq.cc:25: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ --- alive --- portscanner.cc:445:27: warning: cast from 'char *' to 'struct ip *' increases required alignment from 1 to 2 [-Wcast-align] iph = (struct ip *)((char *)icmph + sizeof(struct usipp::icmphdr)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ portscanner.cc:446:28: warning: cast from 'char *' to 'struct udphdr *' increases required alignment from 1 to 2 [-Wcast-align] udph = (struct udphdr *)((char *)iph + sizeof(struct ip)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ portscanner.cc:362:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret, done=0; ^ portscanner.cc:369:17: warning: unused variable 'remote' [-Wunused-variable] struct in_addr remote=tg->get_addr(), local=tg->get_interface_addr(); ^ --- os --- In file included from icmp_inforeq.cc:29: In file included from ../../../xplib/xplib.h:31: ../../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H --- alive --- portscanner.cc:503:12: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] return 255; ~~~~~~ ^~~ portscanner.cc:517:12: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] return 255; ~~~~~~ ^~~ --- lib --- --- xp_get_random_data.o --- In file included from xp_get_random_data.cc:23: In file included from ./xp_get_random_data.h:25: In file included from ./xplib.h:31: ./xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ./xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H --- modules --- portscanner.cc:578:7: warning: variable 'detected' set but not used [-Wunused-but-set-variable] bool detected=false; ^ --- target.o --- ./xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ./xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H --- modules --- --- os --- --- icmp_echo_id_mod --- In file included from icmp_echo_id.cc:25: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ --- lib --- --- xp_get_iface_addr.o --- 1 warning generated. --- modules --- --- alive --- --- ttl_module --- --- getrandom.o --- c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ getrandom.cc --- log.o --- In file included from log.cc:5: In file included from ./xprobe_module.h:28: In file included from ../libs-external/USI++/src/usi++/usi++.h:23: ../libs-external/USI++/src/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../libs-external/USI++/src/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from log.cc:5: In file included from ./xprobe_module.h:28: In file included from ../libs-external/USI++/src/usi++/usi++.h:23: ../libs-external/USI++/src/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../libs-external/USI++/src/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ log.cc:245:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] state="closed"; ^ log.cc:248:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] state="open"; ^ log.cc:251:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] state="filtered"; ^ log.cc:254:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] state="unknown"; ^ --- modules --- --- os --- --- icmp_inforeq_mod --- In file included from icmp_inforeq.cc:30: In file included from ../../../xprobe_module.h:27: ../../../os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ --- icmp_timestamp_mod --- icmp_timestamp.cc:47:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(module->get_id(),"icmp_timestamp_reply"); ^ icmp_timestamp.cc:48:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(module->get_id(),"icmp_timestamp_reply_ttl"); ^ icmp_timestamp.cc:49:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(module->get_id(),"icmp_timestamp_reply_ip_id"); ^ --- lib --- --- xp_get_random_data.o --- 1 warning generated. --- modules --- --- icmp_port_unreach_mod --- --- parse_keyword.o --- c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ parse_keyword.cc --- icmp_timestamp_mod --- icmp_timestamp.cc:109:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret; ^ --- icmp_inforeq_mod --- icmp_inforeq.cc:47:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(module->get_id(),"icmp_info_reply"); ^ icmp_inforeq.cc:48:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(module->get_id(),"icmp_info_reply_ttl"); ^ icmp_inforeq.cc:49:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(module->get_id(), "icmp_info_reply_ip_id"); ^ --- alive --- --- tcp_ping.o --- In file included from tcp_ping.cc:25: In file included from ../../../libs-external/USI++/usi++/usi++.h:23: ../../../libs-external/USI++/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from tcp_ping.cc:25: In file included from ../../../libs-external/USI++/usi++/usi++.h:23: ../../../libs-external/USI++/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ --- udp_ping.o --- In file included from udp_ping.cc:25: In file included from ../../../libs-external/USI++/usi++/usi++.h:23: ../../../libs-external/USI++/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from udp_ping.cc:25: In file included from ../../../libs-external/USI++/usi++/usi++.h:23: ../../../libs-external/USI++/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ --- tcp_ping.o --- In file included from tcp_ping.cc:27: In file included from ../../xplib/xplib.h:31: ../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H --- lib --- --- xp_get_interface.o --- In file included from xp_get_interface.cc:26: ./xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ./xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H xp_get_interface.cc:88:15: warning: cast from 'char *' to 'struct ifreq *' increases required alignment from 1 to 8 [-Wcast-align] ifr = (struct ifreq *)((char *)ifr + ifr->ifr_addr.sa_len + \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- xp_sha1.o --- In file included from xp_sha1.cc:40: In file included from ./xp_sha1.h:34: In file included from ./xplib.h:31: ./xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] --- modules --- --- os --- icmp_inforeq.cc:135:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ret = icmpp.sendpack(""); ^ --- icmp_port_unreach_mod --- --- icmp_port_unreach.o --- In file included from icmp_port_unreach.cc:2: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from icmp_port_unreach.cc:2: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: --- target.o --- target.cc:120:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] if (counter == htonl(addr)) { // network number ^ target.cc:118:5: note: previous statement is here if (counter > ntohl(addr|mask^0xffffffff)) ^ --- lib --- #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ./xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H --- modules --- ../../../../libs-external/USI++/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from icmp_port_unreach.cc:4: In file included from ../../../xplib/xplib.h:31: ../../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H --- config_set.o --- In file included from config_set.cc:26: ./os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ --- modules --- --- icmp_echo_id_mod --- In file included from icmp_echo_id.cc:29: --- icmp_inforeq_mod --- icmp_inforeq.cc:110:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret; ^ --- lib --- --- xp_get_src_addr.o --- In file included from xp_get_src_addr.cc:23: In file included from ./xplib.h:31: ./xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ./xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H --- config_set.o --- In file included from config_set.cc:27: In file included from ./xprobe_module_hdlr.h:26: In file included from ./xprobe_module.h:28: In file included from ../libs-external/USI++/src/usi++/usi++.h:23: ../libs-external/USI++/src/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../libs-external/USI++/src/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from config_set.cc:27: In file included from ./xprobe_module_hdlr.h:26: In file included from ./xprobe_module.h:28: In file included from ../libs-external/USI++/src/usi++/usi++.h:23: ../libs-external/USI++/src/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../libs-external/USI++/src/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ --- modules --- --- icmp_port_unreach_mod --- In file included from icmp_port_unreach.cc:5: In file included from ../../../xprobe_module.h:27: ../../../os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ --- config_set.o --- config_set.cc:63:11: warning: result of comparison of constant 18446744073709551615 with expression of type 'unsigned int' is always true [-Wtautological-constant-out-of-range-compare] if (p != string::npos) ~ ^ ~~~~~~~~~~~~ config_set.cc:67:11: warning: result of comparison of constant 18446744073709551615 with expression of type 'unsigned int' is always true [-Wtautological-constant-out-of-range-compare] if (p != string::npos) ~ ^ ~~~~~~~~~~~~ config_set.cc:92:11: warning: result of comparison of constant 18446744073709551615 with expression of type 'unsigned int' is always true [-Wtautological-constant-out-of-range-compare] if (p != string::npos) ~ ^ ~~~~~~~~~~~~ config_set.cc:101:11: warning: result of comparison of constant 18446744073709551615 with expression of type 'unsigned int' is always true [-Wtautological-constant-out-of-range-compare] if (p != string::npos) ~ ^ ~~~~~~~~~~~~ config_set.cc:112:11: warning: result of comparison of constant 18446744073709551615 with expression of type 'unsigned int' is always true [-Wtautological-constant-out-of-range-compare] if (p != string::npos) { ~ ^ ~~~~~~~~~~~~ --- modules --- --- alive --- --- udp_ping.o --- In file included from udp_ping.cc:27: In file included from ../../xplib/xplib.h:31: ../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H --- lib --- --- xp_get_ping_payload.o --- In file included from xp_get_ping_payload.cc:23: In file included from ./xplib.h:31: ./xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] --- modules --- --- ttl_module --- --- ttl_calc.o --- In file included from ttl_calc.cc:2: In file included from ./ttl_calc.h:27: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from ttl_calc.cc:2: In file included from ./ttl_calc.h:27: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ --- lib --- --- xp_get_src_addr.o --- 1 warning generated. --- xprobe_module_hdlr.o --- --- lib --- --- xp_get_interface.o --- 2 warnings generated. --- xp_get_ping_payload.o --- #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ./xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H --- xprobe_module_hdlr.o --- c++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I ./ -I ../libs-external/USI++/src/ xprobe_module_hdlr.cc --- modules --- --- os --- icmp_port_unreach.cc:338:10: warning: cast from 'u_char *' (aka 'unsigned char *') to 'struct udphdr *' increases required alignment from 1 to 2 [-Wcast-align] udph = (struct udphdr *) (echoedpack+iphlen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- alive --- --- udp_ping.o --- In file included from udp_ping.cc:28: In file included from ../../xprobe_module.h:27: ../../os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ --- os --- --- tcp_handshake_mod --- --- alive --- udp_ping.cc:90:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] udpp.sendpack(""); ^ --- os --- cd tcp_handshake; /usr/bin/make --- xprobe.o --- In file included from xprobe.cc:26: In file included from ./xprobe_module.h:27: ./os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ --- modules --- --- tcp_handshake.o --- c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -W -Wcast-align -Wcast-qual -Wshadow -I../ -I../../ -I ../../../ -I../../../xplib -I ../../../../libs-external/USI++ -c tcp_handshake.cc --- os_matrix.o --- In file included from os_matrix.cc:23: ./os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ --- xprobe.o --- In file included from xprobe.cc:26: In file included from ./xprobe_module.h:28: In file included from ../libs-external/USI++/src/usi++/usi++.h:23: ../libs-external/USI++/src/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../libs-external/USI++/src/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from xprobe.cc:26: In file included from ./xprobe_module.h:28: In file included from ../libs-external/USI++/src/usi++/usi++.h:23: ../libs-external/USI++/src/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../libs-external/USI++/src/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ --- modules --- --- icmp_echo_id_mod --- In file included from ../../../xplib/xplib.h:31: ../../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H --- alive --- --- tcp_ping.o --- In file included from tcp_ping.cc:28: --- os_matrix.o --- In file included from os_matrix.cc:25: In file included from ./xprobe_module_hdlr.h:26: In file included from ./xprobe_module.h:28: In file included from ../libs-external/USI++/src/usi++/usi++.h:23: ../libs-external/USI++/src/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../libs-external/USI++/src/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from os_matrix.cc:25: In file included from ./xprobe_module_hdlr.h:26: In file included from ./xprobe_module.h:28: In file included from ../libs-external/USI++/src/usi++/usi++.h:23: ../libs-external/USI++/src/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../libs-external/USI++/src/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ --- scan_engine.o --- In file included from scan_engine.cc:27: In file included from ./xprobe_module_hdlr.h:26: In file included from ./xprobe_module.h:27: ./os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ In file included from scan_engine.cc:27: In file included from ./xprobe_module_hdlr.h:26: In file included from ./xprobe_module.h:28: In file included from ../libs-external/USI++/src/usi++/usi++.h:23: ../libs-external/USI++/src/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] --- modules --- --- icmp_ping.o --- 5 warnings generated. --- lib --- 1 warning generated. --- modules --- --- os --- --- tcp_rst_mod --- --- smb_mod --- --- tcp_rst_mod --- cd tcp_rst; /usr/bin/make --- smb_mod --- cd smb; /usr/bin/make --- tcp_rst_mod --- --- tcp_rst.o --- --- smb_mod --- --- smbutil.o --- --- tcp_rst_mod --- c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -W -Wcast-align -Wcast-qual -Wshadow -I../ -I../../ -I ../../../ -I../../../xplib -I ../../../../libs-external/USI++ -c tcp_rst.cc --- smb_mod --- c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ smbutil.cc --- cmd_opts.o --- In file included from cmd_opts.cc:26: In file included from ./xprobe_module_hdlr.h:26: In file included from ./xprobe_module.h:27: ./os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ --- modules --- --- icmp_echo_id_mod --- In file included from icmp_echo_id.cc:30: --- scan_engine.o --- virtual int sendpack(void *payload, size_t paylen); ^ ../libs-external/USI++/src/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from scan_engine.cc:27: In file included from ./xprobe_module_hdlr.h:26: In file included from ./xprobe_module.h:28: In file included from ../libs-external/USI++/src/usi++/usi++.h:23: ../libs-external/USI++/src/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ --- modules --- --- alive --- --- ttl_module --- In file included from ttl_calc.cc:2: In file included from ./ttl_calc.h:29: In file included from ../../../xprobe_module.h:27: ../../../os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ --- scan_engine.o --- ../libs-external/USI++/src/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ --- modules --- --- os --- In file included from ../../../xprobe_module.h:27: --- lib --- --- xp_sha1.o --- 1 warning generated. --- modules --- --- snmp_mod --- --- icmp_port_unreach_mod --- --- build_DNS_reply.o --- In file included from build_DNS_reply.cc:1: In file included from ./icmp_port_unreach.h:29: In file included from ../../../xprobe_module.h:27: ../../../os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ --- smb_mod --- --- smb.o --- --- snmp_mod --- cd snmp; /usr/bin/make --- snmp.o --- c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ snmp.cc --- alive --- --- tcp_ping.o --- In file included from ../../xprobe_module.h:27: ../../os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ --- ttl_module --- In file included from ttl_calc.cc:2: In file included from ./ttl_calc.h:33: In file included from ../../../xplib/xplib.h:31: ../../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H --- os --- --- smb_mod --- --- smb_mod.o --- --- smb.o --- c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ smb.cc --- smb_mod.o --- c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ smb_mod.cc --- alive --- ttl_calc.cc:146:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tcp.sendpack(""); ^ ttl_calc.cc:158:15: warning: cast from 'u_char *' (aka 'unsigned char *') to 'struct icmp_hdr *' increases required alignment from 1 to 4 [-Wcast-align] icmph = (struct icmp_hdr *) buf; ^~~~~~~~~~~~~~~~~~~~~~~ ttl_calc.cc:160:13: warning: cast from 'u_char *' (aka 'unsigned char *') to 'struct ip *' increases required alignment from 1 to 2 [-Wcast-align] iph = (struct ip *) (buf + sizeof (struct icmp_hdr)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ttl_calc.cc:199:14: warning: cast from 'u_char *' (aka 'unsigned char *') to 'struct tcphdr *' increases required alignment from 1 to 4 [-Wcast-align] tcph = (struct tcphdr *) buf; ^~~~~~~~~~~~~~~~~~~~~ --- cmd_opts.o --- In file included from cmd_opts.cc:26: In file included from ./xprobe_module_hdlr.h:26: In file included from ./xprobe_module.h:28: In file included from ../libs-external/USI++/src/usi++/usi++.h:23: ../libs-external/USI++/src/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] --- log.o --- 7 warnings generated. --- lib --- --- xp_lib.o --- In file included from xp_lib.cc:22: In file included from ./xp_lib.h:26: In file included from ./xplib.h:31: ./xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ --- modules --- --- os --- --- icmp_addrmask_mod --- In file included from icmp_addrmask.cc:25: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from icmp_addrmask.cc:25: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ --- cmd_opts.o --- virtual int sendpack(void *payload, size_t paylen); ^ ../libs-external/USI++/src/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from cmd_opts.cc:26: In file included from ./xprobe_module_hdlr.h:26: In file included from ./xprobe_module.h:28: In file included from ../libs-external/USI++/src/usi++/usi++.h:23: ../libs-external/USI++/src/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../libs-external/USI++/src/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ --- modules --- ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from icmp_addrmask.cc:29: In file included from ../../../xplib/xplib.h:31: ../../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H --- alive --- --- build_DNS_reply.o --- In file included from build_DNS_reply.cc:1: --- os --- --- icmp_timestamp_mod --- 8 warnings generated. --- cmd_opts.o --- In file included from cmd_opts.cc:27: In file included from ./xplib/xplib.h:31: ./xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ./xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H cmd_opts.cc:209:2: warning: misleading indentation; statement is not part of the previous 'while' [-Wmisleading-indentation] if (xml && !logfile) { ^ cmd_opts.cc:83:5: note: previous statement is here while((c = getopt(argc, argv, "vi:p:ho:t:d:c:rD:m:M:PT:U:s:fLFXBA")) !=EOF) ^ cmd_opts.cc:132:86: warning: result of comparison of constant -9223372036854775808 with expression of type 'int' is always false [-Wtautological-constant-out-of-range-compare] if (errno == ERANGE && (mod_to_disable == LONG_MAX || mod_to_disable == LONG_MIN)) { ~~~~~~~~~~~~~~ ^ ~~~~~~~~ cmd_opts.cc:132:56: warning: result of comparison of constant 9223372036854775807 with expression of type 'int' is always false [-Wtautological-constant-out-of-range-compare] if (errno == ERANGE && (mod_to_disable == LONG_MAX || mod_to_disable == LONG_MIN)) { ~~~~~~~~~~~~~~ ^ ~~~~~~~~ cmd_opts.cc:154:84: warning: result of comparison of constant -9223372036854775808 with expression of type 'int' is always false [-Wtautological-constant-out-of-range-compare] if (errno == ERANGE && (mod_to_enable == LONG_MAX || mod_to_enable == LONG_MIN)) { ~~~~~~~~~~~~~ ^ ~~~~~~~~ cmd_opts.cc:154:55: warning: result of comparison of constant 9223372036854775807 with expression of type 'int' is always false [-Wtautological-constant-out-of-range-compare] if (errno == ERANGE && (mod_to_enable == LONG_MAX || mod_to_enable == LONG_MIN)) { ~~~~~~~~~~~~~ ^ ~~~~~~~~ cmd_opts.cc:167:82: warning: result of comparison of constant -9223372036854775808 with expression of type 'int' is always false [-Wtautological-constant-out-of-range-compare] if (errno == ERANGE && (numofmatches == LONG_MAX || numofmatches == LONG_MIN)) { ~~~~~~~~~~~~ ^ ~~~~~~~~ cmd_opts.cc:167:54: warning: result of comparison of constant 9223372036854775807 with expression of type 'int' is always false [-Wtautological-constant-out-of-range-compare] if (errno == ERANGE && (numofmatches == LONG_MAX || numofmatches == LONG_MIN)) { ~~~~~~~~~~~~ ^ ~~~~~~~~ cmd_opts.cc:326:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] default_config_file = DEFAULT_CONFIG; ^ ./defines.h:35:24: note: expanded from macro 'DEFAULT_CONFIG' #define DEFAULT_CONFIG "/usr/local/etc/xprobe2/xprobe2.conf" ^ --- modules --- --- snmp_mod --- --- snmp_mod.o --- c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ snmp_mod.cc --- xprobe_module_param.o --- --- modules --- --- alive --- In file included from ./ttl_calc.h:27: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from build_DNS_reply.cc:1: In file included from ./ttl_calc.h:27: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ --- udp_ping.o --- 5 warnings generated. --- tcp_ping.o --- tcp_ping.cc:72:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] sn.init_device(tg->get_interface(), 0, 1500); ^ tcp_ping.cc:69:5: note: previous statement is here if ((port = tg->get_port(IPPROTO_TCP, XPROBE_TARGETP_OPEN)) == -1 ) ^ tcp_ping.cc:89:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tcpp->sendpack(""); ^ --- ttl_module --- ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ --- os --- --- icmp_inforeq_mod --- 9 warnings generated. --- xprobe_module_param.o --- c++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I ./ -I ../libs-external/USI++/src/ xprobe_module_param.cc --- config_set.o --- 8 warnings generated. --- modules --- --- icmp_echo_id_mod --- ../../../os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ --- lib --- ./xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H --- modules --- --- alive --- In file included from build_DNS_reply.cc:1: In file included from ./ttl_calc.h:29: In file included from ../../../xprobe_module.h:27: ../../../os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] --- os --- --- icmp_addrmask_mod --- In file included from icmp_addrmask.cc:30: In file included from ../../../xprobe_module.h:27: ../../../os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] --- target.o --- 5 warnings generated. --- modules --- --- alive --- return (s.c_str()); ^ --- os --- return (s.c_str()); ^ --- alive --- In file included from build_DNS_reply.cc:1: In file included from ./ttl_calc.h:33: In file included from ../../../xplib/xplib.h:31: ../../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ --- xprobe.o --- 3 warnings generated. --- modules --- --- os --- --- icmp_port_unreach_mod --- --- getrandom.o --- In file included from getrandom.cc:1: In file included from ./icmp_port_unreach.h:29: In file included from ../../../xprobe_module.h:27: ../../../os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ In file included from getrandom.cc:1: In file included from ./icmp_port_unreach.h:29: In file included from ../../../xprobe_module.h:28: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] --- alive --- ../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H build_DNS_reply.cc:27:16: warning: cast from 'u_char *' (aka 'unsigned char *') to 'struct DNSHEADER *' increases required alignment from 1 to 8 [-Wcast-align] dnsh = (struct DNSHEADER *) localpacket; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- os --- virtual int sendpack(void *payload, size_t paylen); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from getrandom.cc:1: In file included from ./icmp_port_unreach.h:29: In file included from ../../../xprobe_module.h:28: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) --- icmp_echo_id_mod --- icmp_echo_id.cc:48:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(module->get_id(),"icmp_echo_reply"); ^ icmp_echo_id.cc:49:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(module->get_id(),"icmp_echo_code"); ^ icmp_echo_id.cc:50:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(module->get_id(),"icmp_echo_ip_id"); ^ icmp_echo_id.cc:51:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(module->get_id(),"icmp_echo_tos_bits"); ^ icmp_echo_id.cc:52:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] --- icmp_addrmask_mod --- icmp_addrmask.cc:47:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(module->get_id(),"icmp_addrmask_reply"); ^ icmp_addrmask.cc:48:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(module->get_id(),"icmp_addrmask_reply_ttl"); ^ icmp_addrmask.cc:49:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(module->get_id(), "icmp_addrmask_reply_ip_id"); ^ --- icmp_port_unreach_mod --- virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ --- icmp_echo_id_mod --- pt->add_keyword(module->get_id(),"icmp_echo_df_bit"); ^ icmp_echo_id.cc:53:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(module->get_id(),"icmp_echo_reply_ttl"); ^ icmp_echo_id.cc:152:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret; ^ --- icmp_port_unreach_mod --- --- build_DNS_reply.o --- In file included from build_DNS_reply.cc:1: --- alive --- --- portscan_module --- 18 warnings generated. --- os --- --- icmp_port_unreach.o --- 5 warnings generated. --- alive --- --- ttl_module --- --- ttl_calc.o --- 8 warnings generated. --- lib --- 1 warning generated. --- modules --- --- os --- --- getrandom.o --- In file included from getrandom.cc:1: In file included from ./icmp_port_unreach.h:33: In file included from ../../../xplib/xplib.h:31: ../../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H --- build_DNS_reply.o --- In file included from ./icmp_port_unreach.h:29: In file included from ../../../xprobe_module.h:28: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from build_DNS_reply.cc:1: In file included from ./icmp_port_unreach.h:29: In file included from ../../../xprobe_module.h:28: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ --- parse_keyword.o --- In file included from parse_keyword.cc:3: In file included from ./icmp_port_unreach.h:29: In file included from ../../../xprobe_module.h:27: ../../../os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ In file included from parse_keyword.cc:3: In file included from ./icmp_port_unreach.h:29: In file included from ../../../xprobe_module.h:28: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from parse_keyword.cc:3: In file included from ./icmp_port_unreach.h:29: In file included from ../../../xprobe_module.h:28: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ --- alive --- --- tcp_ping.o --- 6 warnings generated. --- os --- In file included from parse_keyword.cc:3: In file included from ./icmp_port_unreach.h:33: In file included from ../../../xplib/xplib.h:31: ../../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H --- cmd_opts.o --- 12 warnings generated. --- modules --- In file included from parse_keyword.cc:4: ./parse_keyword.h:4:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "icmp_unreach_reply_ttl", ^ ./parse_keyword.h:5:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "icmp_unreach_echoed_dtsize", ^ ./parse_keyword.h:6:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "icmp_unreach_echoed_udp_cksum", ^ ./parse_keyword.h:7:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "icmp_unreach_echoed_ip_cksum", ^ ./parse_keyword.h:8:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "icmp_unreach_echoed_ip_id", ^ ./parse_keyword.h:9:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "icmp_unreach_echoed_total_len", ^ ./parse_keyword.h:10:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "icmp_unreach_echoed_3bit_flags", ^ ./parse_keyword.h:11:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "icmp_unreach_precedence_bits", ^ ./parse_keyword.h:12:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "icmp_unreach_df_bit", ^ ./parse_keyword.h:13:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "icmp_unreach_ip_id", ^ ./parse_keyword.h:14:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "icmp_unreach_reply", ^ --- lib --- --- libxplib.a --- ar cr libxplib.a *.o ranlib libxplib.a --- scan_engine.o --- 3 warnings generated. --- modules --- --- tcp_rst_mod --- In file included from tcp_rst.cc:25: --- smb_mod --- --- smb.o --- In file included from smb.cc:36: In file included from ./smb.h:40: In file included from ../../../xprobe_module.h:27: ../../../os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ In file included from smb.cc:36: In file included from ./smb.h:40: In file included from ../../../xprobe_module.h:28: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ --- tcp_rst_mod --- In file included from ../../../xplib/xplib.h:31: ../../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H --- smb_mod --- In file included from smb.cc:36: In file included from ./smb.h:40: In file included from ../../../xprobe_module.h:28: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from smb.cc:36: In file included from ./smb.h:42: In file included from ../../../xplib/xplib.h:31: ../../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H --- alive --- --- ttl_module --- --- build_DNS_reply.o --- 5 warnings generated. --- getrandom.o --- In file included from getrandom.cc:1: In file included from ./ttl_calc.h:27: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from getrandom.cc:1: In file included from ./ttl_calc.h:27: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ --- os --- --- icmp_port_unreach_mod --- --- build_DNS_reply.o --- In file included from build_DNS_reply.cc:1: --- alive --- ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ --- os --- --- getrandom.o --- 4 warnings generated. --- tcp_rst_mod --- In file included from tcp_rst.cc:26: In file included from ../../../xprobe_module.h:27: ../../../os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ In file included from tcp_rst.cc:26: In file included from ../../../xprobe_module.h:28: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from tcp_rst.cc:26: In file included from ../../../xprobe_module.h:28: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ --- icmp_port_unreach_mod --- --- build_DNS_reply.o --- In file included from ./icmp_port_unreach.h:33: In file included from ../../../xplib/xplib.h:31: ../../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H build_DNS_reply.cc:27:16: warning: cast from 'u_char *' (aka 'unsigned char *') to 'struct DNSHEADER *' increases required alignment from 1 to 8 [-Wcast-align] dnsh = (struct DNSHEADER *) localpacket; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- alive --- In file included from getrandom.cc:1: In file included from ./ttl_calc.h:29: In file included from ../../../xprobe_module.h:27: ../../../os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ In file included from getrandom.cc:1: In file included from ./ttl_calc.h:33: In file included from ../../../xplib/xplib.h:31: ../../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H --- os --- --- tcp_rst_mod --- In file included from tcp_rst.cc:31: ./tcp_rst.h:35:8: warning: 'TCP_Rst_Mod::generate_signature' hides overloaded virtual functions [-Woverloaded-virtual] void generate_signature(Target *, TCP *, TCP *, TCP *); ^ ../../../xprobe_module.h:44:16: note: hidden overloaded virtual function 'Xprobe_Module::generate_signature' declared here: different number of parameters (3 vs 4) virtual void generate_signature(Target *, ICMP *, ICMP *) { return; } ^ ../../../xprobe_module.h:45:16: note: hidden overloaded virtual function 'Xprobe_Module::generate_signature' declared here: different number of parameters (3 vs 4) --- os_matrix.o --- 3 warnings generated. --- modules --- virtual void generate_signature(Target *, TCP *, TCP *) { return; } ^ tcp_rst.cc:41:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(rst->get_id(), "tcp_rst_df"); ^ tcp_rst.cc:42:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(rst->get_id(), "tcp_rst_ip_id_1"); ^ tcp_rst.cc:43:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(rst->get_id(), "tcp_rst_ip_id_2"); ^ tcp_rst.cc:44:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(rst->get_id(), "tcp_rst_ip_id_strategy"); ^ tcp_rst.cc:45:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(rst->get_id(), "tcp_rst_ttl"); ^ tcp_rst.cc:46:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(rst->get_id(), "tcp_rst_reply"); ^ --- icmp_echo_id_mod --- 11 warnings generated. --- tcp_rst_mod --- tcp_rst.cc:124:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] request.sendpack(""); ^ tcp_rst.cc:145:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] request.sendpack(""); ^ tcp_rst.cc:91:14: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int done=0, ret; ^ --- icmp_port_unreach_mod --- --- parse_keyword.o --- 15 warnings generated. --- tcp_rst_mod --- tcp_rst.cc:244:3: warning: explicitly assigning value of variable of type 'TCP *' to itself [-Wself-assign] o=o; //suspend compiler warning ~^~ --- tcp_handshake_mod --- In file included from tcp_handshake.cc:26: --- xprobe_module_hdlr.o --- In file included from xprobe_module_hdlr.cc:23: In file included from ./xprobe_module_hdlr.h:26: In file included from ./xprobe_module.h:27: ./os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ In file included from xprobe_module_hdlr.cc:23: In file included from ./xprobe_module_hdlr.h:26: In file included from ./xprobe_module.h:28: In file included from ../libs-external/USI++/src/usi++/usi++.h:23: ../libs-external/USI++/src/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../libs-external/USI++/src/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from xprobe_module_hdlr.cc:23: In file included from ./xprobe_module_hdlr.h:26: In file included from ./xprobe_module.h:28: In file included from ../libs-external/USI++/src/usi++/usi++.h:23: ../libs-external/USI++/src/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../libs-external/USI++/src/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ --- modules --- --- snmp_mod --- --- snmp.o --- In file included from snmp.cc:23: In file included from ./snmp.h:26: In file included from ./snmp_mod.h:27: In file included from ../../../xprobe_module.h:27: ../../../os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ In file included from snmp.cc:23: In file included from ./snmp.h:26: In file included from ./snmp_mod.h:27: In file included from ../../../xprobe_module.h:28: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) --- xprobe_module_hdlr.o --- In file included from xprobe_module_hdlr.cc:26: ./xpmodules/static_modules.h:50:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"ping:icmp_ping", icmp_ping_mod_init}, ^ ./xpmodules/static_modules.h:51:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"ping:tcp_ping", tcp_ping_mod_init}, ^ ./xpmodules/static_modules.h:52:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"ping:udp_ping", udp_ping_mod_init }, ^ ./xpmodules/static_modules.h:53:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"infogather:ttl_calc",ttl_mod_init }, ^ ./xpmodules/static_modules.h:54:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"infogather:portscan", portscan_mod_init}, ^ --- modules --- --- tcp_handshake_mod --- In file included from ../../../xplib/xplib.h:31: ../../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H In file included from tcp_handshake.cc:27: In file included from ../../../xprobe_module.h:27: ../../../os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ --- snmp_mod --- virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from snmp.cc:23: In file included from ./snmp.h:26: In file included from ./snmp_mod.h:27: --- xprobe_module_hdlr.o --- ./xpmodules/static_modules.h:55:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"fingerprint:icmp_echo", icmp_echo_id_mod_init}, ^ ./xpmodules/static_modules.h:56:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"fingerprint:icmp_tstamp", icmp_timestamp_mod_init}, ^ ./xpmodules/static_modules.h:57:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"fingerprint:icmp_amask", icmp_addrmask_mod_init}, ^ ./xpmodules/static_modules.h:58:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"fingerprint:icmp_info", icmp_inforeq_mod_init }, ^ ./xpmodules/static_modules.h:59:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"fingerprint:icmp_port_unreach", icmp_port_unreach_init}, --- modules --- In file included from ../../../xprobe_module.h:28: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ --- tcp_handshake_mod --- In file included from tcp_handshake.cc:27: In file included from ../../../xprobe_module.h:28: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ --- xprobe_module_hdlr.o --- ^ ./xpmodules/static_modules.h:60:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"fingerprint:tcp_hshake", tcp_handshake_mod_init}, ^ ./xpmodules/static_modules.h:61:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"fingerprint:tcp_rst", tcp_rst_mod_init}, ^ ./xpmodules/static_modules.h:62:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"fingerprint:smb", smb_mod_init}, ^ ./xpmodules/static_modules.h:63:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"fingerprint:snmp", snmp_mod_init}, ^ --- modules --- ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from tcp_handshake.cc:27: In file included from ../../../xprobe_module.h:28: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ --- alive --- 4 warnings generated. --- os --- --- snmp_mod --- --- snmp_mod.o --- In file included from snmp_mod.cc:25: In file included from ../../../xplib/xplib.h:31: ../../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H --- smb_mod --- --- smb_mod.o --- In file included from smb_mod.cc:25: --- alive --- --- ttl_mod --- ttl_mod done --- xprobe_module_param.o --- In file included from xprobe_module_param.cc:23: In file included from ./xprobe_module_param.h:32: In file included from ../libs-external/USI++/src/usi++/usi++.h:23: ../libs-external/USI++/src/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../libs-external/USI++/src/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from xprobe_module_param.cc:23: In file included from ./xprobe_module_param.h:32: In file included from ../libs-external/USI++/src/usi++/usi++.h:23: ../libs-external/USI++/src/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../libs-external/USI++/src/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ --- modules --- --- os --- --- icmp_port_unreach_mod --- --- build_DNS_reply.o --- 5 warnings generated. --- ttl_calc --- icmp_port_unreach done --- tcp_handshake_mod --- tcp_handshake.cc:143:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] request->sendpack(""); ^ tcp_handshake.cc:87:14: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int done=0, ret, have_more_ports=1; ^ --- snmp_mod --- In file included from snmp_mod.cc:26: In file included from ../../../xprobe_module.h:27: ../../../os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ In file included from snmp_mod.cc:26: In file included from ../../../xprobe_module.h:28: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from snmp_mod.cc:26: In file included from ../../../xprobe_module.h:28: --- smb_mod --- In file included from ../../../xplib/xplib.h:31: ../../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H --- snmp_mod --- In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ --- smb_mod --- In file included from smb_mod.cc:26: In file included from ../../../xprobe_module.h:27: ../../../os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ In file included from smb_mod.cc:26: In file included from ../../../xprobe_module.h:28: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from smb_mod.cc:26: In file included from ../../../xprobe_module.h:28: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ --- alive --- --- alive_probe.a --- ar cr alive_probe.a *.o ttl_calc/*.o portscanner/*.o ranlib alive_probe.a --- os --- --- tcp_handshake_mod --- tcp_handshake.cc:611:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(tcp_handshake->get_id(), "tcp_syn_ack_ttl"); ^ tcp_handshake.cc:612:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(tcp_handshake->get_id(), "tcp_syn_ack_ip_id"); ^ --- icmp_addrmask_mod --- 7 warnings generated. --- tcp_handshake_mod --- tcp_handshake.cc:613:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(tcp_handshake->get_id(), "tcp_syn_ack_tos"); ^ tcp_handshake.cc:614:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(tcp_handshake->get_id(), "tcp_syn_ack_df"); ^ tcp_handshake.cc:615:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(tcp_handshake->get_id(), "tcp_syn_ack_ack"); --- xprobe_module_param.o --- In file included from xprobe_module_param.cc:23: In file included from ./xprobe_module_param.h:34: ./os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ In file included from xprobe_module_param.cc:25: In file included from ./xplib/xplib.h:31: ./xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ./xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H --- modules --- ^ tcp_handshake.cc:616:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(tcp_handshake->get_id(), "tcp_syn_ack_window_size"); ^ tcp_handshake.cc:617:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] --- snmp_mod --- snmp_mod.cc:43:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(snmp->get_id(), "snmp_sysdescr"); ^ --- tcp_handshake_mod --- pt->add_keyword(tcp_handshake->get_id(), "tcp_syn_ack_options_order"); ^ tcp_handshake.cc:618:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(tcp_handshake->get_id(), "tcp_syn_ack_wscale"); ^ tcp_handshake.cc:619:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(tcp_handshake->get_id(), "tcp_syn_ack_tsval"); ^ tcp_handshake.cc:620:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(tcp_handshake->get_id(), "tcp_syn_ack_tsecr"); ^ --- smb_mod --- smb_mod.cc:41:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(smb->get_id(), "smb_nativeos"); ^ smb_mod.cc:42:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(smb->get_id(), "smb_lanman"); ^ --- smb.o --- 4 warnings generated. --- xprobe_module_param.o --- xprobe_module_param.cc:50:37: warning: '&&' within '||' [-Wlogical-op-parentheses] param != 0 && (*sig_i).second.low == 1) { ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ xprobe_module_param.cc:50:37: note: place parentheses around the '&&' expression to silence this warning param != 0 && (*sig_i).second.low == 1) { ^ ( ) --- modules --- --- tcp_rst_mod --- 15 warnings generated. --- smb_mod --- --- smb_mod.o --- 6 warnings generated. --- xprobe_module_param.o --- 5 warnings generated. --- xprobe_module_hdlr.o --- 17 warnings generated. --- modules --- --- smb --- smb done --- snmp_mod --- 5 warnings generated. --- snmp.o --- 3 warnings generated. --- smb --- snmp done --- tcp_handshake_mod --- 16 warnings generated. --- os_probe.a --- ar cr os_probe.a icmp_port_unreach/*.o icmp_echo_id/*.o icmp_timestamp/*.o icmp_inforeq/*.o icmp_addrmask/*.o tcp_handshake/*.o tcp_rst/*.o smb/*.o snmp/*.o ranlib os_probe.a --- xprobe2 --- c++ -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I ./ -I ../libs-external/USI++/src/ cmd_opts.o config_set.o interface.o interface_con.o log.o os_matrix.o scan_engine.o target.o targets_list.o xprobe.o xprobe_module_hdlr.o xprobe_module_param.o xpmodules/alive_probe/alive_probe.a xpmodules/os_probe/os_probe.a xplib/libxplib.a ../libs-external/USI++/src/libusi++.a -o xprobe2 -fstack-protector-strong -lpcap =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Staging for xprobe2-0.3_1 ===> Generating temporary packing list install -d /wrkdirs/usr/ports/net/xprobe/work/stage//usr/local/bin install -d /wrkdirs/usr/ports/net/xprobe/work/stage//usr/local/share/man/man1 install -d /wrkdirs/usr/ports/net/xprobe/work/stage//usr/local/etc/xprobe2 install -s -m 555 src/xprobe2 /wrkdirs/usr/ports/net/xprobe/work/stage//usr/local/bin install -m 0644 etc/xprobe2.conf /wrkdirs/usr/ports/net/xprobe/work/stage//usr/local/etc/xprobe2/xprobe2.conf.sample install -m 0644 docs/xprobe2.1 /wrkdirs/usr/ports/net/xprobe/work/stage//usr/local/share/man/man1 ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp built_by' 'PKG_NOTE_build_timestamp=2024-04-03T00:31:02+0000' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Building packages for xprobe2-0.3_1 ===> Building xprobe2-0.3_1 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for xprobe2-0.3_1 build of net/xprobe | xprobe2-0.3_1 ended at Wed Apr 3 02:34:01 CEST 2024 build time: 00:03:01