=>> Building net/xprobe build started at Wed Apr 3 01:13:38 CEST 2024 port directory: /usr/ports/net/xprobe package name: xprobe2-0.3_1 building for: FreeBSD head-portscommit-job-01 15.0-CURRENT FreeBSD 15.0-CURRENT 1500012 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: 1500012 Job Id: 01 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1500012 UNAME_v=FreeBSD 15.0-CURRENT 1500012 UNAME_r=15.0-CURRENT 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/head-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/head-portscommit/01/.p OUTPUT_REDIRECTED_STDOUT=3 NO_WARNING_PKG_INSTALL_EOL=yes P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=head-portscommit SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/head-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=15.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 [head-portscommit-job-01] Installing pkg-1.21.0... [head-portscommit-job-01] 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 => xprobe2-0.3.tar.gz doesn't seem to exist in /portdistfiles/. => Attempting to fetch https://downloads.sourceforge.net/project/xprobe/xprobe2/Xprobe2%200.3/xprobe2-0.3.tar.gz xprobe2-0.3.tar.gz 521 kB 35 MBps 00s ===> 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-freebsd15.0 checking host system type... amd64-portbld-freebsd15.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-freebsd15.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-freebsd15.0' --cache-file=/dev/null --srcdir=. configure: loading site script /usr/ports/Templates/config.site checking build system type... amd64-portbld-freebsd15.0 checking host system type... amd64-portbld-freebsd15.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] 182 | 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) 44 | 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] 185 | 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) 44 | virtual int sendpack(void *buf, size_t len, struct sockaddr *); | ^ --- 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] 274 | d_snaplen = d_snaplen; | ~~~~~~~~~ ^ ~~~~~~~~~ | this-> --- icmp.o --- icmp.cc:296:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 296 | r = Layer2::setfilter("icmp"); | ^ --- datalink.o --- 1 warning generated. --- ip.o --- In file included from ip.cc:13: ./usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] 182 | 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) 44 | 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] 185 | 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) 44 | virtual int sendpack(void *buf, size_t len, struct sockaddr *); | ^ --- TX_IP.o --- TX_IP.cc:37:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 37 | int r; | ^ TX_IP.cc:33:5: note: previous statement is here 33 | if (tx_timeout != false) | ^ --- 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] 182 | 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) 44 | 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] 185 | 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) 44 | virtual int sendpack(void *buf, size_t len, struct sockaddr *); | ^ --- icmp.o --- 3 warnings generated. --- tcp.o --- tcp.cc:321:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 321 | r = Layer2::setfilter("tcp"); | ^ --- TX_IP.o --- 1 warning generated. --- ip.o --- ip.cc:559:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 559 | r = Layer2::setfilter("ip"); | ^ --- tcp.o --- 3 warnings generated. --- ip.o --- 3 warnings generated. --- arp.o --- In file included from arp.cc:13: ./usi++/arp.h:66:21: warning: 'usipp::ARP::sniffpack' hides overloaded virtual function [-Woverloaded-virtual] 66 | 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) 41 | virtual int sniffpack(void *, size_t); | ^ --- 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] 182 | 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) 44 | 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] 185 | 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) 44 | 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] 217 | r = Layer2::setfilter("udp"); | ^ --- arp.o --- 1 warning generated. --- udp.o --- 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 --- --- 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 --- 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 --- 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 --- 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 --- modules --- --- icmp_port_unreach_mod --- --- icmp_echo_id_mod --- --- icmp_timestamp_mod --- --- icmp_inforeq_mod --- --- icmp_addrmask_mod --- --- tcp_handshake_mod --- --- tcp_rst_mod --- --- icmp_port_unreach_mod --- cd icmp_port_unreach; /usr/bin/make --- icmp_port_unreach.o --- --- build_DNS_reply.o --- --- getrandom.o --- --- parse_keyword.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 --- 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 --- 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 --- build_DNS_reply.o --- --- 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_addrmask_mod --- cd icmp_addrmask; /usr/bin/make --- tcp_handshake_mod --- cd tcp_handshake; /usr/bin/make --- tcp_handshake.o --- --- icmp_port_unreach_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++ build_DNS_reply.cc --- tcp_rst_mod --- cd tcp_rst; /usr/bin/make --- tcp_rst.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_rst.cc --- alive --- --- ttl_module --- --- portscan_module --- --- icmp_ping.o --- --- tcp_ping.o --- --- udp_ping.o --- --- ttl_module --- cd ttl_calc; /usr/bin/make --- ttl_calc.o --- --- build_DNS_reply.o --- --- getrandom.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 --- 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 --- portscan_module --- cd portscanner; /usr/bin/make --- portscanner.o --- --- 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 --- 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 --- os --- --- icmp_addrmask_mod --- --- icmp_addrmask.o --- --- alive --- --- portscan_module --- 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 --- os --- 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 --- icmp_inforeq_mod --- --- 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 --- tcp_handshake_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_handshake.cc --- 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] 182 | 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) 44 | virtual int sendpack(void *buf, size_t len, struct sockaddr *); | ^ 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] 185 | 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) 44 | virtual int sendpack(void *buf, size_t len, struct sockaddr *); | ^ In file included from icmp_echo_id.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] 26 | #ifndef XP_GET_INTERFACE_H | ^~~~~~~~~~~~~~~~~~ --- 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] 50 | return (s.c_str()); | ^ 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] 182 | 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) 44 | virtual int sendpack(void *buf, size_t len, struct sockaddr *); --- modules --- ../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? 27 | #define XP_GET_INETRFACE_H | ^~~~~~~~~~~~~~~~~~ | XP_GET_INTERFACE_H --- 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:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] 185 | 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) 44 | virtual int sendpack(void *buf, size_t len, struct sockaddr *); | ^ --- 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] 26 | #ifndef XP_GET_INTERFACE_H | ^~~~~~~~~~~~~~~~~~ --- 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] 26 | #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'? 27 | #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] 209 | if (xml && !logfile) { | ^ cmd_opts.cc:83:5: note: previous statement is here 83 | 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] 132 | 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] 132 | 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] 154 | 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] 154 | 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] 167 | 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] 167 | if (errno == ERANGE && (numofmatches == LONG_MAX || numofmatches == LONG_MIN)) { | ~~~~~~~~~~~~ ^ ~~~~~~~~ --- modules --- In file included from icmp_echo_id.cc:30: --- lib --- ./xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? 27 | #define XP_GET_INETRFACE_H | ^~~~~~~~~~~~~~~~~~ | XP_GET_INTERFACE_H --- modules --- 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] 50 | return (s.c_str()); | ^ icmp_echo_id.cc:48:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 48 | 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] 49 | 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] 50 | pt->add_keyword(module->get_id(),"icmp_echo_ip_id"); | ^ --- cmd_opts.o --- cmd_opts.cc:326:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 326 | default_config_file = DEFAULT_CONFIG; | ^ ./defines.h:35:24: note: expanded from macro 'DEFAULT_CONFIG' 35 | #define DEFAULT_CONFIG "/usr/local/etc/xprobe2/xprobe2.conf" | ^ --- modules --- icmp_echo_id.cc:51:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 51 | 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] 52 | 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] 53 | 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] 152 | int ret; | ^ --- lib --- --- 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] 26 | #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'? 27 | #define XP_GET_INETRFACE_H | ^~~~~~~~~~~~~~~~~~ | XP_GET_INTERFACE_H --- 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] 26 | #ifndef XP_GET_INTERFACE_H | ^~~~~~~~~~~~~~~~~~ --- modules --- --- 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] 182 | 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) 44 | 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] 185 | virtual int sendpack(char *pay_string); | ^ --- 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] 182 | 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) 44 | 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] 185 | virtual int sendpack(char *pay_string); | ^ --- tcp_ping.o --- ../../../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) 44 | virtual int sendpack(void *buf, size_t len, struct sockaddr *); | ^ 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] 26 | #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'? 27 | #define XP_GET_INETRFACE_H | ^~~~~~~~~~~~~~~~~~ | XP_GET_INTERFACE_H --- icmp_ping.o --- ../../../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) 44 | 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] 26 | #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'? 27 | #define XP_GET_INETRFACE_H | ^~~~~~~~~~~~~~~~~~ | XP_GET_INTERFACE_H --- 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] 26 | #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'? 27 | #define XP_GET_INETRFACE_H | ^~~~~~~~~~~~~~~~~~ | XP_GET_INTERFACE_H --- xp_get_interface.o --- ./xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? 27 | #define XP_GET_INETRFACE_H | ^~~~~~~~~~~~~~~~~~ | XP_GET_INTERFACE_H --- modules --- --- tcp_ping.o --- In file included from tcp_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] 50 | 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] 50 | return (s.c_str()); | ^ --- tcp_ping.o --- tcp_ping.cc:72:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] --- ttl_module --- --- build_DNS_reply.o --- 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:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] 182 | 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) --- icmp_ping.o --- icmp_ping.cc:91:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 91 | int ret; | ^ --- tcp_ping.o --- 72 | sn.init_device(tg->get_interface(), 0, 1500); | ^ tcp_ping.cc:69:5: note: previous statement is here 69 | 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] 89 | tcpp->sendpack(""); | ^ --- os --- --- tcp_rst_mod --- In file included from tcp_rst.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] 26 | #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'? 27 | #define XP_GET_INETRFACE_H | ^~~~~~~~~~~~~~~~~~ | XP_GET_INTERFACE_H --- lib --- --- xp_sha1.o --- 1 warning generated. --- 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] 50 | return (s.c_str()); | ^ --- scan_engine.o --- --- lib --- --- xp_get_ping_payload.o --- 1 warning generated. --- 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] 26 | #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'? 27 | #define XP_GET_INETRFACE_H | ^~~~~~~~~~~~~~~~~~ | XP_GET_INTERFACE_H 1 warning generated. --- xp_get_interface.o --- xp_get_interface.cc:88:15: warning: cast from 'char *' to 'struct ifreq *' increases required alignment from 1 to 8 [-Wcast-align] 88 | ifr = (struct ifreq *)((char *)ifr + ifr->ifr_addr.sa_len + \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- modules --- --- smb_mod --- cd smb; /usr/bin/make --- smbutil.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++ smbutil.cc --- 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] 50 | return (s.c_str()); | ^ --- snmp_mod --- --- alive --- --- ttl_module --- 44 | 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] --- 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] 50 | return (s.c_str()); | ^ 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] 182 | 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) 44 | 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] 185 | 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) 44 | virtual int sendpack(void *buf, size_t len, struct sockaddr *); | ^ 3 warnings generated. --- 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] 50 | return (s.c_str()); | ^ 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] 182 | 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) 44 | 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] 185 | 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) 44 | 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] 245 | state="closed"; | ^ log.cc:248:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 248 | state="open"; | ^ log.cc:251:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 251 | state="filtered"; | ^ log.cc:254:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 254 | state="unknown"; | ^ 7 warnings generated. --- 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] 182 | 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) 44 | 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] 185 | 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) 44 | virtual int sendpack(void *buf, size_t len, struct sockaddr *); | ^ 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] 63 | 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] 67 | 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] 92 | 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] 101 | 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] 112 | if (p != string::npos) { | ~ ^ ~~~~~~~~~~~~ 8 warnings generated. --- cmd_opts.o --- 12 warnings generated. --- lib --- 89 | sizeof(ifr->ifr_name)); | ~~~~~~~~~~~~~~~~~~~~~~ --- 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] 26 | #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'? 27 | #define XP_GET_INETRFACE_H | ^~~~~~~~~~~~~~~~~~ | XP_GET_INTERFACE_H --- xp_lib.o --- 1 warning generated. --- 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] 26 | #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'? 27 | #define XP_GET_INETRFACE_H | ^~~~~~~~~~~~~~~~~~ | XP_GET_INTERFACE_H 1 warning generated. --- xp_get_random_data.o --- 1 warning generated. --- xp_get_interface.o --- 2 warnings generated. --- libxplib.a --- ar cr libxplib.a *.o ranlib libxplib.a --- 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 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] 50 | 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] 182 | virtual int sendpack(void *payload, size_t paylen); | ^ --- modules --- 185 | 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) --- os --- cd snmp; /usr/bin/make --- alive --- 44 | virtual int sendpack(void *buf, size_t len, struct sockaddr *); | ^ --- os --- --- 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 --- 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] --- build_DNS_reply.o --- In file included from build_DNS_reply.cc:1: --- target.o --- --- targets_list.o --- --- xprobe.o --- --- xprobe_module_hdlr.o --- --- xprobe_module_param.o --- --- 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 2) 44 | 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] 185 | 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) 44 | virtual int sendpack(void *buf, size_t len, struct sockaddr *); | ^ --- modules --- 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] 50 | return (s.c_str()); | ^ --- getrandom.o --- 50 | return (s.c_str()); | ^ --- 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: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 --- 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: --- 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_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_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] 50 | return (s.c_str()); | ^ --- os --- --- smb_mod --- --- 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 --- tcp_rst_mod --- 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] 182 | 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) 44 | 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] 185 | 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) 44 | virtual int sendpack(void *buf, size_t len, struct sockaddr *); | ^ --- 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: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] 182 | 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) 44 | 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] 185 | 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) 44 | virtual int sendpack(void *buf, size_t len, struct sockaddr *); | ^ --- alive --- --- icmp_ping.o --- 5 warnings generated. --- 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] 35 | 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) 44 | 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) 45 | 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] 41 | 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] 42 | 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] 43 | 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] 44 | 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] 45 | 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] --- snmp_mod --- --- snmp_mod.o --- --- icmp_port_unreach_mod --- 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] 26 | #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'? 27 | #define XP_GET_INETRFACE_H | ^~~~~~~~~~~~~~~~~~ | XP_GET_INTERFACE_H --- 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] --- tcp_rst_mod --- 46 | pt->add_keyword(rst->get_id(), "tcp_rst_reply"); | ^ --- snmp_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++ snmp_mod.cc --- icmp_inforeq_mod --- 182 | 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) 44 | 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] 185 | 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) 44 | virtual int sendpack(void *buf, size_t len, struct sockaddr *); | ^ --- icmp_port_unreach_mod --- --- build_DNS_reply.o --- 182 | 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) 44 | 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] 185 | 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) 44 | virtual int sendpack(void *buf, size_t len, struct sockaddr *); | ^ --- smb_mod --- --- smb_mod.o --- --- icmp_inforeq_mod --- 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] 26 | #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'? 27 | #define XP_GET_INETRFACE_H | ^~~~~~~~~~~~~~~~~~ | XP_GET_INTERFACE_H --- 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++ smb_mod.cc --- alive --- --- 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] 182 | 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) 44 | 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] 185 | 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) 44 | virtual int sendpack(void *buf, size_t len, struct sockaddr *); | ^ --- tcp_ping.o --- 6 warnings generated. --- os --- --- icmp_inforeq_mod --- In file included from icmp_inforeq.cc:30: --- icmp_port_unreach_mod --- In file included from build_DNS_reply.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] 26 | #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'? 27 | #define XP_GET_INETRFACE_H | ^~~~~~~~~~~~~~~~~~ | XP_GET_INTERFACE_H --- icmp_inforeq_mod --- 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] 50 | return (s.c_str()); | ^ --- icmp_port_unreach_mod --- 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] 27 | dnsh = (struct DNSHEADER *) localpacket; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- icmp_inforeq_mod --- icmp_inforeq.cc:47:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 47 | 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] 48 | 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] 49 | pt->add_keyword(module->get_id(), "icmp_info_reply_ip_id"); | ^ --- 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] 182 | 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) 44 | 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] 185 | 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) 44 | 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] 26 | #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'? 27 | #define XP_GET_INETRFACE_H | ^~~~~~~~~~~~~~~~~~ | XP_GET_INTERFACE_H --- icmp_port_unreach_mod --- --- 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] 50 | 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] 182 | 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) 44 | 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] 185 | 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) 44 | 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: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] 26 | #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'? 27 | #define XP_GET_INETRFACE_H | ^~~~~~~~~~~~~~~~~~ | XP_GET_INTERFACE_H --- tcp_rst_mod --- tcp_rst.cc:124:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 124 | request.sendpack(""); | ^ tcp_rst.cc:145:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 145 | request.sendpack(""); | ^ tcp_rst.cc:91:14: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 91 | int done=0, ret; | ^ tcp_rst.cc:244:3: warning: explicitly assigning value of variable of type 'TCP *' to itself [-Wself-assign] 244 | o=o; //suspend compiler warning | ~^~ --- 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] 182 | 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) 44 | 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] 185 | 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) 44 | virtual int sendpack(void *buf, size_t len, struct sockaddr *); | ^ --- icmp_inforeq_mod --- icmp_inforeq.cc:135:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 135 | ret = icmpp.sendpack(""); | ^ icmp_inforeq.cc:110:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 110 | int ret; | ^ --- icmp_echo_id_mod --- 11 warnings generated. --- icmp_addrmask_mod --- 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] 26 | #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'? 27 | #define XP_GET_INETRFACE_H | ^~~~~~~~~~~~~~~~~~ | XP_GET_INTERFACE_H 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] 50 | return (s.c_str()); | ^ --- alive --- --- ttl_module --- --- build_DNS_reply.o --- 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] 26 | #ifndef XP_GET_INTERFACE_H | ^~~~~~~~~~~~~~~~~~ --- ttl_calc.o --- 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] 50 | return (s.c_str()); | ^ --- 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] 182 | 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) 44 | 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] 185 | 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) 44 | virtual int sendpack(void *buf, size_t len, struct sockaddr *); | ^ 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] 50 | 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] 26 | #ifndef XP_GET_INTERFACE_H --- os --- --- 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] 182 | 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) 44 | 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: ../../../../libs-external/USI++/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] 185 | virtual int sendpack(char *pay_string); --- alive --- | ^~~~~~~~~~~~~~~~~~ ../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? 27 | #define XP_GET_INETRFACE_H | ^~~~~~~~~~~~~~~~~~ | XP_GET_INTERFACE_H --- 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 1) 44 | 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] 26 | #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'? 27 | #define XP_GET_INETRFACE_H | ^~~~~~~~~~~~~~~~~~ | XP_GET_INTERFACE_H --- alive --- --- 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] 182 | 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) 44 | 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] 185 | virtual int sendpack(char *pay_string); | ^ --- os --- In file included from icmp_port_unreach.cc:5: --- getrandom.o --- 4 warnings generated. --- 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] 50 | return (s.c_str()); | ^ --- icmp_addrmask_mod --- icmp_addrmask.cc:47:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 47 | 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] 48 | 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] 49 | pt->add_keyword(module->get_id(), "icmp_addrmask_reply_ip_id"); | ^ --- icmp_timestamp_mod --- icmp_timestamp.cc:47:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 47 | 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] 48 | 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] 49 | pt->add_keyword(module->get_id(),"icmp_timestamp_reply_ip_id"); | ^ icmp_timestamp.cc:109:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 109 | int ret; | ^ --- icmp_port_unreach_mod --- --- icmp_port_unreach.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] 50 | return (s.c_str()); | ^ 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] 338 | udph = (struct udphdr *) (echoedpack+iphlen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- parse_keyword.o --- 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] 4 | "icmp_unreach_reply_ttl", | ^ ./parse_keyword.h:5:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 5 | "icmp_unreach_echoed_dtsize", | ^ ./parse_keyword.h:6:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 6 | "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] 7 | "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] 8 | "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] 9 | "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] 10 | "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] 11 | "icmp_unreach_precedence_bits", | ^ ./parse_keyword.h:12:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 12 | "icmp_unreach_df_bit", | ^ ./parse_keyword.h:13:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 13 | "icmp_unreach_ip_id", | ^ ./parse_keyword.h:14:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 14 | "icmp_unreach_reply", | ^ --- alive --- --- ttl_module --- --- ttl_calc.o --- 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] 26 | #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'? 27 | #define XP_GET_INETRFACE_H | ^~~~~~~~~~~~~~~~~~ | XP_GET_INTERFACE_H ttl_calc.cc:146:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 146 | 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] --- udp_ping.o --- ../../../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) 44 | virtual int sendpack(void *buf, size_t len, struct sockaddr *); | ^ 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] 26 | #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'? 27 | #define XP_GET_INETRFACE_H | ^~~~~~~~~~~~~~~~~~ | XP_GET_INTERFACE_H In file included from udp_ping.cc:28: In file included from ../../xprobe_module.h:27: --- ttl_module --- 158 | 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] 160 | 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] 199 | tcph = (struct tcphdr *) buf; | ^~~~~~~~~~~~~~~~~~~~~ --- build_DNS_reply.o --- ../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? --- udp_ping.o --- ../../os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] 50 | return (s.c_str()); | ^ udp_ping.cc:90:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 90 | udpp.sendpack(""); | ^ --- ttl_module --- 27 | #define XP_GET_INETRFACE_H | ^~~~~~~~~~~~~~~~~~ | XP_GET_INTERFACE_H --- os --- --- build_DNS_reply.o --- 5 warnings generated. --- alive --- --- getrandom.o --- 4 warnings generated. --- os --- --- tcp_handshake_mod --- In file included from tcp_handshake.cc:26: 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] 26 | #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'? 27 | #define XP_GET_INETRFACE_H | ^~~~~~~~~~~~~~~~~~ | XP_GET_INTERFACE_H --- icmp_addrmask_mod --- 7 warnings generated. --- tcp_handshake_mod --- 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] 50 | return (s.c_str()); | ^ --- icmp_port_unreach_mod --- --- parse_keyword.o --- 15 warnings generated. --- tcp_rst_mod --- 15 warnings generated. --- 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] 182 | 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) 44 | 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] 185 | 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) 44 | virtual int sendpack(void *buf, size_t len, struct sockaddr *); | ^ --- 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] 26 | #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'? 27 | #define XP_GET_INETRFACE_H | ^~~~~~~~~~~~~~~~~~ | XP_GET_INTERFACE_H --- os --- --- icmp_inforeq_mod --- 9 warnings generated. --- icmp_timestamp_mod --- 8 warnings generated. --- snmp_mod --- 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] 26 | #ifndef XP_GET_INTERFACE_H | ^~~~~~~~~~~~~~~~~~ --- smb_mod --- In file included from smb_mod.cc:25: --- snmp_mod --- ../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? 27 | #define XP_GET_INETRFACE_H | ^~~~~~~~~~~~~~~~~~ | XP_GET_INTERFACE_H --- alive --- --- ttl_module --- --- ttl_calc.o --- 8 warnings generated. --- build_DNS_reply.o --- 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] 27 | dnsh = (struct DNSHEADER *) localpacket; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- udp_ping.o --- 5 warnings generated. --- os --- --- 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] 50 | return (s.c_str()); | ^ --- 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] 26 | #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'? 27 | #define XP_GET_INETRFACE_H | ^~~~~~~~~~~~~~~~~~ | XP_GET_INTERFACE_H --- snmp_mod --- 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] --- alive --- --- 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:27: ../../../os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] --- os --- --- icmp_port_unreach_mod --- --- icmp_port_unreach.o --- 5 warnings generated. --- snmp_mod --- 182 | 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) --- tcp_handshake_mod --- tcp_handshake.cc:143:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 143 | request->sendpack(""); | ^ tcp_handshake.cc:87:14: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 87 | int done=0, ret, have_more_ports=1; | ^ --- snmp_mod --- --- snmp_mod.o --- 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] 50 | return (s.c_str()); | ^ --- snmp.o --- 44 | 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: 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] 185 | 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) 44 | virtual int sendpack(void *buf, size_t len, struct sockaddr *); | ^ --- snmp_mod.o --- 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] --- alive --- 50 | return (s.c_str()); | ^ 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] --- 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 --- modules --- --- os --- 182 | 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) --- tcp_handshake_mod --- tcp_handshake.cc:611:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 611 | 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] 612 | pt->add_keyword(tcp_handshake->get_id(), "tcp_syn_ack_ip_id"); | ^ tcp_handshake.cc:613:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 613 | 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] 614 | 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] 615 | pt->add_keyword(tcp_handshake->get_id(), "tcp_syn_ack_ack"); | ^ tcp_handshake.cc:616:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 616 | 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] 617 | 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] 618 | 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] 619 | 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] 620 | pt->add_keyword(tcp_handshake->get_id(), "tcp_syn_ack_tsecr"); | ^ --- snmp_mod --- 44 | 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: 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] 185 | 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) 44 | virtual int sendpack(void *buf, size_t len, struct sockaddr *); | ^ --- scan_engine.o --- 3 warnings generated. --- modules --- --- alive --- --- ttl_module --- 5 warnings generated. --- portscan_module --- 182 | 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) 44 | 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: ../../../../libs-external/USI++/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] 185 | virtual int sendpack(char *pay_string); | ^ --- 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 --- 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) 44 | virtual int sendpack(void *buf, size_t len, struct sockaddr *); | ^ --- os --- --- icmp_port_unreach_mod --- --- ttl_calc --- --- alive --- --- ttl_module --- --- ttl_mod --- ttl_mod done --- portscan_module --- portscanner.cc:40:25: warning: parameter 'signum' set but not used [-Wunused-but-set-parameter] --- os --- icmp_port_unreach done --- snmp_mod --- snmp_mod.cc:43:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 43 | pt->add_keyword(snmp->get_id(), "snmp_sysdescr"); | ^ --- alive --- 40 | void child_handler (int signum) { | ^ portscanner.cc:63:5: warning: explicitly assigning value of variable of type 'OS_Matrix *' to itself [-Wself-assign] 63 | os = os; /* suspend warning */ | ~~ ^ ~~ portscanner.cc:118:9: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 118 | tcp_ignore_state = get_ignore_state(IPPROTO_TCP); | ^ portscanner.cc:112:5: note: previous statement is here 112 | for (k=0; k < tcpport.size(); k++) | ^ portscanner.cc:131:2: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 131 | 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 125 | for (k=0; k < udpport.size(); k++) | ^ portscanner.cc:306:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] --- os --- --- 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] 50 | return (s.c_str()); | ^ --- alive --- 306 | udpp.sendpack(""); | ^ portscanner.cc:340:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] --- os --- 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] 182 | 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) 44 | 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] --- alive --- 340 | tcpp.sendpack(""); | ^ portscanner.cc:262:23: warning: variable 'j' set but not used [-Wunused-but-set-variable] 262 | unsigned int k, seq, j=0; //, onestar, percent=0; | ^ --- os --- 185 | 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) 44 | virtual int sendpack(void *buf, size_t len, struct sockaddr *); | ^ smb_mod.cc:41:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 41 | 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] 42 | pt->add_keyword(smb->get_id(), "smb_lanman"); | ^ --- alive --- portscanner.cc:445:27: warning: cast from 'char *' to 'struct ip *' increases required alignment from 1 to 2 [-Wcast-align] 445 | 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] 446 | udph = (struct udphdr *)((char *)iph + sizeof(struct ip)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ portscanner.cc:362:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 362 | int ret, done=0; | ^ portscanner.cc:369:17: warning: unused variable 'remote' [-Wunused-variable] 369 | struct in_addr remote=tg->get_addr(), local=tg->get_interface_addr(); | ^~~~~~ portscanner.cc:503:12: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 503 | return 255; | ~~~~~~ ^~~ portscanner.cc:517:12: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 517 | return 255; | ~~~~~~ ^~~ portscanner.cc:578:7: warning: variable 'detected' set but not used [-Wunused-but-set-variable] 578 | bool detected=false; | ^ --- os --- --- 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] 50 | 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] 182 | 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) 44 | virtual int sendpack(void *buf, size_t len, struct sockaddr *); | ^ 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] 185 | 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) 44 | 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] 26 | #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'? 27 | #define XP_GET_INETRFACE_H | ^~~~~~~~~~~~~~~~~~ | XP_GET_INTERFACE_H --- snmp_mod --- 5 warnings generated. --- smb_mod --- --- smb_mod.o --- 6 warnings generated. --- tcp_handshake_mod --- 16 warnings generated. --- snmp_mod --- --- snmp.o --- 3 warnings generated. --- smb --- snmp done --- smb_mod --- --- smb.o --- 4 warnings generated. --- smb --- smb done --- 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 --- 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] 50 | 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] 182 | 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) 44 | 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] 185 | 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) 44 | virtual int sendpack(void *buf, size_t len, struct sockaddr *); | ^ 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] 50 | {"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] 51 | {"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] --- 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:27: ./os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] 50 | return (s.c_str()); | ^ 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] --- 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] 50 | return (s.c_str()); | ^ 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] --- target.o --- 182 | 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) 44 | 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] 185 | 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) --- xprobe.o --- 182 | 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) 44 | 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] 185 | 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) 44 | virtual int sendpack(void *buf, size_t len, struct sockaddr *); --- target.o --- 44 | virtual int sendpack(void *buf, size_t len, struct sockaddr *); | ^ --- xprobe.o --- | ^ --- target.o --- In file included from target.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] --- xprobe_module_hdlr.o --- 52 | {"ping:udp_ping", udp_ping_mod_init }, | ^ --- target.o --- 26 | #ifndef XP_GET_INTERFACE_H | ^~~~~~~~~~~~~~~~~~ --- xprobe_module_hdlr.o --- ./xpmodules/static_modules.h:53:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 53 | {"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] 54 | {"infogather:portscan", portscan_mod_init}, | ^ ./xpmodules/static_modules.h:55:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 55 | {"fingerprint:icmp_echo", icmp_echo_id_mod_init}, | ^ --- modules --- --- alive --- 18 warnings generated. --- target.o --- ./xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? 27 | #define XP_GET_INETRFACE_H | ^~~~~~~~~~~~~~~~~~ | XP_GET_INTERFACE_H --- modules --- --- alive_probe.a --- --- 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] 182 | 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) 44 | 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] 185 | 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) 44 | 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:34: ./os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] 50 | 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] 26 | #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'? 27 | #define XP_GET_INETRFACE_H | ^~~~~~~~~~~~~~~~~~ | XP_GET_INTERFACE_H xprobe_module_param.cc:50:37: warning: '&&' within '||' [-Wlogical-op-parentheses] 49 | if ((param == 0 && (*sig_i).second.low == 0) || | ~~ 50 | param != 0 && (*sig_i).second.low == 1) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ xprobe_module_param.cc:50:37: note: place parentheses around the '&&' expression to silence this warning 50 | param != 0 && (*sig_i).second.low == 1) { | ^ | ( ) --- target.o --- target.cc:120:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 120 | if (counter == htonl(addr)) { // network number | ^ target.cc:118:5: note: previous statement is here 118 | if (counter > ntohl(addr|mask^0xffffffff)) | ^ --- xprobe_module_hdlr.o --- ./xpmodules/static_modules.h:56:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 56 | {"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] 57 | {"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] 58 | {"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] 59 | {"fingerprint:icmp_port_unreach", icmp_port_unreach_init}, | ^ ./xpmodules/static_modules.h:60:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 60 | {"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] 61 | {"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] 62 | {"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] 63 | {"fingerprint:snmp", snmp_mod_init}, | ^ --- xprobe.o --- 3 warnings generated. --- modules --- ar cr alive_probe.a *.o ttl_calc/*.o portscanner/*.o --- xprobe_module_param.o --- 5 warnings generated. --- modules --- ranlib alive_probe.a --- xprobe_module_hdlr.o --- 17 warnings generated. --- target.o --- 5 warnings generated. --- 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-02T23:13:38+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 01:19:30 CEST 2024 build time: 00:05:53