* Package: net-analyzer/nsat-1.5-r5 * Repository: gentoo * Maintainer: netmon@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox @@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ This information may help you to understand if this is a duplicate or if this bug exists after you pushed a fix; This ebuild was merged at the following commit: https://github.com/gentoo/gentoo/commit/2a99448fde4dd9e790ae7381a466d332bc3812ec (Thu Apr 29 01:56:07 UTC 2021) @@@@@ END @@@@@ emerge --info: Portage 3.0.18 (python 3.9.4-final-0, default/linux/amd64/17.1, gcc-11.1.0, glibc-2.33, 5.4.0-1029-aws x86_64) ================================================================= System uname: Linux-5.4.0-1029-aws-x86_64-Intel-R-_Xeon-R-_Platinum_8124M_CPU_@_3.00GHz-with-glibc2.33 KiB Mem: 71926568 total, 55620704 free KiB Swap: 0 total, 0 free sh bash 5.1_p4 ld GNU ld (Gentoo 2.36.1 p3) 2.36.1 app-shells/bash: 5.1_p4::gentoo dev-lang/perl: 5.32.1::gentoo dev-lang/python: 2.7.18_p8::gentoo, 3.7.10_p1::gentoo, 3.8.9::gentoo, 3.9.4::gentoo dev-lang/rust: 1.51.0-r2::gentoo dev-util/cmake: 3.20.1::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.7-r2::gentoo sys-apps/openrc: 0.42.1-r1::gentoo sys-apps/sandbox: 2.23::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo sys-devel/automake: 1.16.3-r1::gentoo sys-devel/binutils: 2.36.1-r1::gentoo sys-devel/gcc: 11.1.0::gentoo sys-devel/gcc-config: 2.4::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.12::gentoo (virtual/os-headers) sys-libs/glibc: 2.33::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: sync-rsync-verify-max-age: 24 sync-rsync-verify-metamanifest: yes ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* GPL-2" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches" DISTDIR="/var/tmp/portage/net-analyzer/nsat-1.5-r5/distdir" EMERGE_DEFAULT_OPTS="--with-bdeps=y -1 -k -b" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" MAKEOPTS="-j36" PKGDIR="/root/.packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl amd64 berkdb bzip2 cli crypt dri elogind fortran gdbm iconv ipv6 jumbo-build libglvnd libtirpc multilib native-symlinks ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode xattr zlib" ABI_X86="64" ELIBC="glibc" KERNEL="linux" USERLAND="GNU" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS emerge history: 2021-04-29T04:34:50 >>> net-libs/rpcsvc-proto-1.4.2 2021-04-29T04:34:51 >>> net-libs/libpcap-1.10.0 2021-04-29T04:34:50 >>> dev-libs/libmix-2.05-r7 >>> Unpacking source... >>> Unpacking nsat-1.5.tgz to /var/tmp/portage/net-analyzer/nsat-1.5-r5/work >>> Source unpacked in /var/tmp/portage/net-analyzer/nsat-1.5-r5/work >>> Preparing source in /var/tmp/portage/net-analyzer/nsat-1.5-r5/work/nsat ... * Applying nsat-1.5-configure.patch ... [ ok ] * Applying nsat-1.5-lvalue-gcc4.patch ... [ ok ] * Applying nsat-1.5-strip.patch ... [ ok ] * Applying nsat-1.5-misc.patch ... [ ok ] * Applying nsat-1.5-va_list.patch ... [ ok ] * Applying nsat-1.5-libtirpc.patch ... [ ok ] * Applying nsat-1.5-amd64-compat.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/net-analyzer/nsat-1.5-r5/work/nsat' ... * Running 'aclocal' ... [ ok ] * This package has a configure.in file which has long been deprecated. Please * update it to use configure.ac instead as newer versions of autotools will die * when it finds this file. See https://bugs.gentoo.org/426262 for details. * Running 'autoconf --force' ... [ ok ] * Running 'autoheader' ... [ ok ] * Running elibtoolize in: nsat/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-analyzer/nsat-1.5-r5/work/nsat ... * econf: updating nsat/config.sub with /usr/share/gnuconfig/config.sub * econf: updating nsat/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --docdir=/usr/share/doc/nsat-1.5-r5 --htmldir=/usr/share/doc/nsat-1.5-r5/html --libdir=/usr/lib64 --without-x checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking accepted compiler flags... GNU CC/ANSI (good) checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking for a BSD-compatible install... /usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c checking whether make sets $(MAKE)... yes checking for XOpenDisplay in -lX11... no checking for xdr_stats in -lrpcsvc... no checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for X... disabled checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for ar... ar checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking whether make sets $(MAKE)... (cached) yes checking for uname... uname checking operating system... found Linux. Ph33r. ./configure: line 4327: test: =: unary operator expected checking for pcap_datalink in -lpcap... yes checking for ANSI C header files... (cached) yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for unistd.h... (cached) yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking std_args.h usability... no checking std_args.h presence... no checking for std_args.h... no checking for strings.h... (cached) yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking for stdlib.h... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/signal.h usability... yes checking sys/signal.h presence... yes checking for sys/signal.h... yes checking sys/stream.h usability... no checking sys/stream.h presence... no checking for sys/stream.h... no checking sys/dlpi.h usability... no checking sys/dlpi.h presence... no checking for sys/dlpi.h... no checking sys/bufmod.h usability... no checking sys/bufmod.h presence... no checking for sys/bufmod.h... no checking sys/stropts.h usability... no checking sys/stropts.h presence... no checking for sys/stropts.h... no checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/termios.h usability... yes checking sys/termios.h presence... yes checking for sys/termios.h... yes checking sys/filio.h usability... no checking sys/filio.h presence... no checking for sys/filio.h... no checking net/if.h usability... yes checking net/if.h presence... yes checking for net/if.h... yes checking netinet/in_systm.h usability... yes checking netinet/in_systm.h presence... yes checking for netinet/in_systm.h... yes checking netinet/ip.h usability... yes checking netinet/ip.h presence... yes checking for netinet/ip.h... yes checking netinet/ip_var.h usability... no checking netinet/ip_var.h presence... no checking for netinet/ip_var.h... no checking netinet/ip_icmp.h usability... yes checking netinet/ip_icmp.h presence... yes checking for netinet/ip_icmp.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking X11/Xlib.h usability... no checking X11/Xlib.h presence... no checking for X11/Xlib.h... no checking whether byte ordering is bigendian... no checking for an ANSI C-conforming const... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking return type of signal handlers... void checking whether x86_64-pc-linux-gnu-gcc needs -traditional... no checking whether setpgrp takes no argument... yes checking return type of signal handlers... (cached) void checking for vprintf... yes checking for _doprnt... no checking for select... yes checking for socket... yes checking for strdup... yes checking for strstr... yes checking for random... yes checking for srandom... yes checking for snprintf... yes checking for setsockopt... yes checking for initstate... yes checking for gettimeofday... yes checking for strerror... yes checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for libtirpc... yes configure: creating ./config.status config.status: creating Makefile config.status: creating tools/Makefile config.status: creating src/Makefile config.status: creating src/mod/Makefile config.status: creating src/smb/Makefile config.status: creating src/libmix++/Makefile config.status: creating src/libmix++/mix/net.h config.status: creating src/libmix++/mix/lmconfig.h Configure finished. Now do a 'make' and/or 'make install'. >>> Source configured. >>> Compiling source in /var/tmp/portage/net-analyzer/nsat-1.5-r5/work/nsat ... make -j36 MIXOBJ=-lmix++ make[1]: Entering directory '/var/tmp/portage/net-analyzer/nsat-1.5-r5/work/nsat/src' x86_64-pc-linux-gnu-g++ -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -ansi -fPIC -DLINUX -DWITH_XPROBE -c functions.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -ansi -fPIC -DLINUX -DWITH_XPROBE -c pidalloc.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -ansi -fPIC -DLINUX -DWITH_XPROBE -c nsat.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -ansi -fPIC -DLINUX -DWITH_XPROBE -c progress.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -ansi -fPIC -DLINUX -DWITH_XPROBE -c AuditSet.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -ansi -fPIC -DLINUX -DWITH_XPROBE -c SockSet.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -ansi -fPIC -DLINUX -DWITH_XPROBE -c Distributed.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -ansi -fPIC -DLINUX -DWITH_XPROBE -c Logging.cpp make[2]: Entering directory '/var/tmp/portage/net-analyzer/nsat-1.5-r5/work/nsat/src/smb' Makefile:55: warning: ignoring prerequisites on suffix rule definition x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -DLINUX -DNETGROUP -DALLOW_CHANGE_PASSWORD -DFAST_SHARE_MODES -DNO_ASMSIGNALH -DGLIBC2 -DSMB_PASSWD=\"\" -DSMB_PASSWD_FILE=\"\" -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c ./client.c -o ./client.o x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -DLINUX -DNETGROUP -DALLOW_CHANGE_PASSWORD -DFAST_SHARE_MODES -DNO_ASMSIGNALH -DGLIBC2 -DSMB_PASSWD=\"\" -DSMB_PASSWD_FILE=\"\" -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c ./ntclient.c -o ./ntclient.o x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -DLINUX -DNETGROUP -DALLOW_CHANGE_PASSWORD -DFAST_SHARE_MODES -DNO_ASMSIGNALH -DGLIBC2 -DSMB_PASSWD=\"\" -DSMB_PASSWD_FILE=\"\" -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c ./credentials.c -o ./credentials.o x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -DLINUX -DNETGROUP -DALLOW_CHANGE_PASSWORD -DFAST_SHARE_MODES -DNO_ASMSIGNALH -DGLIBC2 -DSMB_PASSWD=\"\" -DSMB_PASSWD_FILE=\"\" -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c ./clientutil.c -o ./clientutil.o x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -DLINUX -DNETGROUP -DALLOW_CHANGE_PASSWORD -DFAST_SHARE_MODES -DNO_ASMSIGNALH -DGLIBC2 -DSMB_PASSWD=\"\" -DSMB_PASSWD_FILE=\"\" -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c ./getsmbpass.c -o ./getsmbpass.o compiling ADM smb scanner... x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -DLINUX -DNETGROUP -DALLOW_CHANGE_PASSWORD -DFAST_SHARE_MODES -DNO_ASMSIGNALH -DGLIBC2 -DSMB_PASSWD=\"\" -DSMB_PASSWD_FILE=\"\" -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c ./util.c -o ./util.o x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -DLINUX -DNETGROUP -DALLOW_CHANGE_PASSWORD -DFAST_SHARE_MODES -DNO_ASMSIGNALH -DGLIBC2 -DSMB_PASSWD=\"\" -DSMB_PASSWD_FILE=\"\" -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c ./system.c -o ./system.o x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -DLINUX -DNETGROUP -DALLOW_CHANGE_PASSWORD -DFAST_SHARE_MODES -DNO_ASMSIGNALH -DGLIBC2 -DSMB_PASSWD=\"\" -DSMB_PASSWD_FILE=\"\" -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c ./charset.c -o ./charset.o make[2]: Entering directory '/var/tmp/portage/net-analyzer/nsat-1.5-r5/work/nsat/src/mod' x86_64-pc-linux-gnu-g++ -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -ansi -fPIC -DLINUX -DWITH_XPROBE -c binfo.cpp x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -DLINUX -DNETGROUP -DALLOW_CHANGE_PASSWORD -DFAST_SHARE_MODES -DNO_ASMSIGNALH -DGLIBC2 -DSMB_PASSWD=\"\" -DSMB_PASSWD_FILE=\"\" -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c ./kanji.c -o ./kanji.o x86_64-pc-linux-gnu-g++ -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -ansi -fPIC -DLINUX -DWITH_XPROBE -c bo.cpp x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -DLINUX -DNETGROUP -DALLOW_CHANGE_PASSWORD -DFAST_SHARE_MODES -DNO_ASMSIGNALH -DGLIBC2 -DSMB_PASSWD=\"\" -DSMB_PASSWD_FILE=\"\" -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c ./fault.c -o ./fault.o x86_64-pc-linux-gnu-g++ -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -ansi -fPIC -DLINUX -DWITH_XPROBE -c ftp.cpp x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -DLINUX -DNETGROUP -DALLOW_CHANGE_PASSWORD -DFAST_SHARE_MODES -DNO_ASMSIGNALH -DGLIBC2 -DSMB_PASSWD=\"\" -DSMB_PASSWD_FILE=\"\" -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c ./smbencrypt.c -o ./smbencrypt.o x86_64-pc-linux-gnu-g++ -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -ansi -fPIC -DLINUX -DWITH_XPROBE -I/usr/include/tirpc -c rpc.cpp x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -DLINUX -DNETGROUP -DALLOW_CHANGE_PASSWORD -DFAST_SHARE_MODES -DNO_ASMSIGNALH -DGLIBC2 -DSMB_PASSWD=\"\" -DSMB_PASSWD_FILE=\"\" -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c ./smbdes.c -o ./smbdes.o x86_64-pc-linux-gnu-g++ -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -ansi -fPIC -DLINUX -DWITH_XPROBE -c www.cpp x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -DLINUX -DNETGROUP -DALLOW_CHANGE_PASSWORD -DFAST_SHARE_MODES -DNO_ASMSIGNALH -DGLIBC2 -DSMB_PASSWD=\"\" -DSMB_PASSWD_FILE=\"\" -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c ./charcnv.c -o ./charcnv.o x86_64-pc-linux-gnu-g++ -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -ansi -fPIC -DLINUX -DWITH_XPROBE -c snmp.cpp x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -DLINUX -DNETGROUP -DALLOW_CHANGE_PASSWORD -DFAST_SHARE_MODES -DNO_ASMSIGNALH -DGLIBC2 -DSMB_PASSWD=\"\" -DSMB_PASSWD_FILE=\"\" -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c ./md4.c -o ./md4.o x86_64-pc-linux-gnu-g++ -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -ansi -fPIC -DLINUX -DWITH_XPROBE -c xp_icmp_addrmask.c x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -DLINUX -DNETGROUP -DALLOW_CHANGE_PASSWORD -DFAST_SHARE_MODES -DNO_ASMSIGNALH -DGLIBC2 -DSMB_PASSWD=\"\" -DSMB_PASSWD_FILE=\"\" -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c ./loadparm.c -o ./loadparm.o x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -DLINUX -DNETGROUP -DALLOW_CHANGE_PASSWORD -DFAST_SHARE_MODES -DNO_ASMSIGNALH -DGLIBC2 -DSMB_PASSWD=\"\" -DSMB_PASSWD_FILE=\"\" -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c ./params.c -o ./params.o x86_64-pc-linux-gnu-g++ -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -ansi -fPIC -DLINUX -DWITH_XPROBE -c xp_icmp_timestamp.c x86_64-pc-linux-gnu-g++ -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -ansi -fPIC -DLINUX -DWITH_XPROBE -c xp_pcap_iface.c x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -DLINUX -DNETGROUP -DALLOW_CHANGE_PASSWORD -DFAST_SHARE_MODES -DNO_ASMSIGNALH -DGLIBC2 -DSMB_PASSWD=\"\" -DSMB_PASSWD_FILE=\"\" -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c ./pcap.c -o ./pcap.o x86_64-pc-linux-gnu-g++ -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -ansi -fPIC -DLINUX -DWITH_XPROBE -c xp_utils.c x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -DLINUX -DNETGROUP -DALLOW_CHANGE_PASSWORD -DFAST_SHARE_MODES -DNO_ASMSIGNALH -DGLIBC2 -DSMB_PASSWD=\"\" -DSMB_PASSWD_FILE=\"\" -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c ./username.c -o ./username.o In file included from ./client.c:73: ./ADMsmb.c: In function ‘ADMsmb’: ./ADMsmb.c:126:96: warning: pointer targets in passing argument 6 of â€-Wpointer-sign][]] 126 | buffer2, sizeof (buffer2), 0, (struct sockaddr *) &sin_dst, (int *) &longueur) != -1) | ^~~~~~~~~~~~~~~~~ | | | int * In file included from /usr/include/sys/socket.h:269, from ./includes.h:143, from ./client.c:72: /usr/include/bits/socket2.h:67:56: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 67 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ In file included from nsat.h:49, from pidalloc.h:28, from pidalloc.cpp:27: lang.h:44:21: warning: C++11 requires a space between string literal and macro [-Wc++11-compat[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wc++11-compat]] 44 | #define NSAT_BANNER "\t\tNetwork Security Analysis Tool v"VERSION"\n\t\t (c) 1999-2002 by Mixter, 2xs ltd.\n" | ^ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: lang.h:44:21: warning: C++11 requires a space between string literal and macro [-Wc++11-compat[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wc++11-compat]] 44 | #define NSAT_BANNER "\t\tNetwork Security Analysis Tool v"VERSION"\n\t\t (c) 1999-2002 by Mixter, 2xs ltd.\n" | ^ In file included from nsat.h:49, from nsat.cpp:24: lang.h:44:21: warning: C++11 requires a space between string literal and macro [-Wc++11-compat[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wc++11-compat]] 44 | #define NSAT_BANNER "\t\tNetwork Security Analysis Tool v"VERSION"\n\t\t (c) 1999-2002 by Mixter, 2xs ltd.\n" | ^ In file included from nsat.h:49, from functions.cpp:8: lang.h:44:21: warning: C++11 requires a space between string literal and macro [-Wc++11-compat[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wc++11-compat]] 44 | #define NSAT_BANNER "\t\tNetwork Security Analysis Tool v"VERSION"\n\t\t (c) 1999-2002 by Mixter, 2xs ltd.\n" | ^ ./util.c: In function ‘is_a_socket’: ./util.c:389:61: warning: pointer targets in passing argument 5 of â€-Wpointer-sign][]] 389 | return (getsockopt (fd, SOL_SOCKET, SO_TYPE, (char *) &v, &l) == 0); | ^~ | | | int * In file included from nsat.h:49, from progress.h:27, from progress.cpp:25: lang.h:44:21: warning: C++11 requires a space between string literal and macro [-Wc++11-compat[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wc++11-compat]] 44 | #define NSAT_BANNER "\t\tNetwork Security Analysis Tool v"VERSION"\n\t\t (c) 1999-2002 by Mixter, 2xs ltd.\n" | ^ In file included from ./includes.h:143, from ./util.c:22: /usr/include/sys/socket.h:210:46: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 210 | socklen_t *__restrict __optlen) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ./client.c: In function ‘browse_host’: ./client.c:299:12: warning: variable â€-Wunused-but-set-variable][]] 299 | BOOL long_share_name = False; | ^~~~~~~~~~~~~~~ In file included from nsat.h:49, from AuditSet.h:28, from SockSet.h:27, from SockSet.cpp:25: lang.h:44:21: warning: C++11 requires a space between string literal and macro [-Wc++11-compat[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wc++11-compat]] 44 | #define NSAT_BANNER "\t\tNetwork Security Analysis Tool v"VERSION"\n\t\t (c) 1999-2002 by Mixter, 2xs ltd.\n" | ^ In file included from nsat.h:49, from Distributed.h:28, from Distributed.cpp:28: lang.h:44:21: warning: C++11 requires a space between string literal and macro [-Wc++11-compat[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wc++11-compat]] 44 | #define NSAT_BANNER "\t\tNetwork Security Analysis Tool v"VERSION"\n\t\t (c) 1999-2002 by Mixter, 2xs ltd.\n" | ^ ./clientutil.c: In function ‘cli_send_login’: ./clientutil.c:730:17: warning: variable â€-Wunused-but-set-variable][]] 730 | char *domain, *os, *lanman; | ^~~~~~ x86_64-pc-linux-gnu-g++ -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -ansi -fPIC -DLINUX -DWITH_XPROBE -c xp_icmp_echo.c In file included from nsat.h:49, from Logging.h:28, from Logging.cpp:24: lang.h:44:21: warning: C++11 requires a space between string literal and macro [-Wc++11-compat[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wc++11-compat]] 44 | #define NSAT_BANNER "\t\tNetwork Security Analysis Tool v"VERSION"\n\t\t (c) 1999-2002 by Mixter, 2xs ltd.\n" | ^ ./clientutil.c:470:7: warning: variable â€-Wunused-but-set-variable][]] 470 | int crypt_len = 0; | ^~~~~~~~~ ./client.c: At top level: ./client.c:660:15: warning: argument 2 of type â€-Warray-parameter=][]] 660 | char netbios_name[255], | ~~~~~^~~~~~~~~~~~~~~~~ ./client.c:134:21: note: previously declared as ‘char *’ 134 | int ADMsmb2(char *, char *, char *, FILE *, FILE *); | ^~~~~~ In file included from ../nsat.h:49, from bo.cpp:26: ../lang.h:44:21: warning: C++11 requires a space between string literal and macro [-Wc++11-compat[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wc++11-compat]] 44 | #define NSAT_BANNER "\t\tNetwork Security Analysis Tool v"VERSION"\n\t\t (c) 1999-2002 by Mixter, 2xs ltd.\n" | ^ In file included from ../nsat.h:49, from ftp.cpp:9: ../lang.h:44:21: warning: C++11 requires a space between string literal and macro [-Wc++11-compat[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wc++11-compat]] 44 | #define NSAT_BANNER "\t\tNetwork Security Analysis Tool v"VERSION"\n\t\t (c) 1999-2002 by Mixter, 2xs ltd.\n" | ^ In file included from ../nsat.h:49, from www.cpp:29: ../lang.h:44:21: warning: C++11 requires a space between string literal and macro [-Wc++11-compat[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wc++11-compat]] 44 | #define NSAT_BANNER "\t\tNetwork Security Analysis Tool v"VERSION"\n\t\t (c) 1999-2002 by Mixter, 2xs ltd.\n" | ^ In file included from ../nsat.h:49, from snmp.h:28, from snmp.cpp:27: ../lang.h:44:21: warning: C++11 requires a space between string literal and macro [-Wc++11-compat[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wc++11-compat]] 44 | #define NSAT_BANNER "\t\tNetwork Security Analysis Tool v"VERSION"\n\t\t (c) 1999-2002 by Mixter, 2xs ltd.\n" | ^ In file included from ../nsat.h:49, from rpc.cpp:29: ../lang.h:44:21: warning: C++11 requires a space between string literal and macro [-Wc++11-compat[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wc++11-compat]] 44 | #define NSAT_BANNER "\t\tNetwork Security Analysis Tool v"VERSION"\n\t\t (c) 1999-2002 by Mixter, 2xs ltd.\n" | ^ In file included from ../nsat.h:49, from binfo.cpp:26: ../lang.h:44:21: warning: C++11 requires a space between string literal and macro [-Wc++11-compat[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wc++11-compat]] 44 | #define NSAT_BANNER "\t\tNetwork Security Analysis Tool v"VERSION"\n\t\t (c) 1999-2002 by Mixter, 2xs ltd.\n" | ^ In file included from ../nsat.h:49, from xprobe.h:26, from xp_icmp_timestamp.c:24: ../lang.h:44:21: warning: C++11 requires a space between string literal and macro [-Wc++11-compat[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wc++11-compat]] 44 | #define NSAT_BANNER "\t\tNetwork Security Analysis Tool v"VERSION"\n\t\t (c) 1999-2002 by Mixter, 2xs ltd.\n" | ^ x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -DLINUX -DNETGROUP -DALLOW_CHANGE_PASSWORD -DFAST_SHARE_MODES -DNO_ASMSIGNALH -DGLIBC2 -DSMB_PASSWD=\"\" -DSMB_PASSWD_FILE=\"\" -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c ./time.c -o ./time.o ./util.c: In function ‘read_udp_socket’: In file included from ../nsat.h:49, from xprobe.h:26, from xp_icmp_addrmask.c:24: ../lang.h:44:21: warning: C++11 requires a space between string literal and macro [-Wc++11-compat[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wc++11-compat]] 44 | #define NSAT_BANNER "\t\tNetwork Security Analysis Tool v"VERSION"\n\t\t (c) 1999-2002 by Mixter, 2xs ltd.\n" | ^ ./util.c:2249:63: warning: pointer targets in passing argument 6 of â€-Wpointer-sign][]] 2249 | ret = recvfrom (fd, buf, len, 0, (struct sockaddr *) &sock, &socklen); | ^~~~~~~~ | | | int * In file included from /usr/include/sys/socket.h:269, from ./includes.h:143, from ./util.c:22: /usr/include/bits/socket2.h:67:56: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 67 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ ./util.c: In function ‘read_max_udp’: ./util.c:2371:7: warning: variable â€-Wunused-but-set-variable][]] 2371 | int selrtn; | ^~~~~~ x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -DLINUX -DNETGROUP -DALLOW_CHANGE_PASSWORD -DFAST_SHARE_MODES -DNO_ASMSIGNALH -DGLIBC2 -DSMB_PASSWD=\"\" -DSMB_PASSWD_FILE=\"\" -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c ./namequery.c -o ./namequery.o In file included from ../nsat.h:49, from xprobe.h:26, from xp_pcap_iface.c:23: ../lang.h:44:21: warning: C++11 requires a space between string literal and macro [-Wc++11-compat[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wc++11-compat]] 44 | #define NSAT_BANNER "\t\tNetwork Security Analysis Tool v"VERSION"\n\t\t (c) 1999-2002 by Mixter, 2xs ltd.\n" | ^ ./util.c: In function ‘receive_local_message’: ./util.c:2732:50: warning: pointer targets in passing argument 6 of â€-Wpointer-sign][]] 2732 | (struct sockaddr *) &from, &fromlen); | ^~~~~~~~ | | | int * In file included from /usr/include/sys/socket.h:269, from ./includes.h:143, from ./util.c:22: /usr/include/bits/socket2.h:67:56: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 67 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -DLINUX -DNETGROUP -DALLOW_CHANGE_PASSWORD -DFAST_SHARE_MODES -DNO_ASMSIGNALH -DGLIBC2 -DSMB_PASSWD=\"\" -DSMB_PASSWD_FILE=\"\" -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c ./nmblib.c -o ./nmblib.o ./util.c: In function ‘client_name’: ./util.c:4025:33: warning: pointer targets in passing argument 3 of â€-Wpointer-sign][]] 4025 | if (getpeername (Client, &sa, &length) < 0) | ^~~~~~~ | | | int * In file included from ./includes.h:143, from ./util.c:22: /usr/include/sys/socket.h:131:47: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 131 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./util.c: In function ‘client_addr’: ./util.c:4073:33: warning: pointer targets in passing argument 3 of â€-Wpointer-sign][]] 4073 | if (getpeername (Client, &sa, &length) < 0) | ^~~~~~~ | | | int * In file included from ./includes.h:143, from ./util.c:22: /usr/include/sys/socket.h:131:47: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 131 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -DLINUX -DNETGROUP -DALLOW_CHANGE_PASSWORD -DFAST_SHARE_MODES -DNO_ASMSIGNALH -DGLIBC2 -DSMB_PASSWD=\"\" -DSMB_PASSWD_FILE=\"\" -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c ./interface.c -o ./interface.o In file included from ../nsat.h:49, from xprobe.h:26, from xp_utils.c:23: ../lang.h:44:21: warning: C++11 requires a space between string literal and macro [-Wc++11-compat[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wc++11-compat]] 44 | #define NSAT_BANNER "\t\tNetwork Security Analysis Tool v"VERSION"\n\t\t (c) 1999-2002 by Mixter, 2xs ltd.\n" | ^ In file included from xprobe.h:166, from xp_icmp_timestamp.c:24: xp_defines.h:29:16: warning: C++11 requires a space between string literal and macro [-Wc++11-compat[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wc++11-compat]] 29 | #define BANNER "X probe ver. "VERSION"\n------------------" | ^ x86_64-pc-linux-gnu-g++ -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -ansi -fPIC -DLINUX -DWITH_XPROBE -c xp_logic_tree.c In file included from xprobe.h:166, from xp_icmp_addrmask.c:24: xp_defines.h:29:16: warning: C++11 requires a space between string literal and macro [-Wc++11-compat[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wc++11-compat]] 29 | #define BANNER "X probe ver. "VERSION"\n------------------" | ^ In file included from xprobe.h:166, from xp_pcap_iface.c:23: xp_defines.h:29:16: warning: C++11 requires a space between string literal and macro [-Wc++11-compat[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wc++11-compat]] 29 | #define BANNER "X probe ver. "VERSION"\n------------------" | ^ x86_64-pc-linux-gnu-g++ -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -ansi -fPIC -DLINUX -DWITH_XPROBE -c xp_pkt_exams.c x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -DLINUX -DNETGROUP -DALLOW_CHANGE_PASSWORD -DFAST_SHARE_MODES -DNO_ASMSIGNALH -DGLIBC2 -DSMB_PASSWD=\"\" -DSMB_PASSWD_FILE=\"\" -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c ./replace.c -o ./replace.o x86_64-pc-linux-gnu-g++ -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -ansi -fPIC -DLINUX -DWITH_XPROBE -c xp_icmp_infr.c x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -DLINUX -DNETGROUP -DALLOW_CHANGE_PASSWORD -DFAST_SHARE_MODES -DNO_ASMSIGNALH -DGLIBC2 -DSMB_PASSWD=\"\" -DSMB_PASSWD_FILE=\"\" -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c ./print_svid.c -o ./print_svid.o In file included from xprobe.h:166, from xp_utils.c:23: xp_defines.h:29:16: warning: C++11 requires a space between string literal and macro [-Wc++11-compat[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wc++11-compat]] 29 | #define BANNER "X probe ver. "VERSION"\n------------------" | ^ In file included from ../nsat.h:49, from xprobe.h:26, from xp_icmp_echo.c:24: ../lang.h:44:21: warning: C++11 requires a space between string literal and macro [-Wc++11-compat[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wc++11-compat]] 44 | #define NSAT_BANNER "\t\tNetwork Security Analysis Tool v"VERSION"\n\t\t (c) 1999-2002 by Mixter, 2xs ltd.\n" | ^ x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -DLINUX -DNETGROUP -DALLOW_CHANGE_PASSWORD -DFAST_SHARE_MODES -DNO_ASMSIGNALH -DGLIBC2 -DSMB_PASSWD=\"\" -DSMB_PASSWD_FILE=\"\" -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c ./smberr.c -o ./smberr.o x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -DLINUX -DNETGROUP -DALLOW_CHANGE_PASSWORD -DFAST_SHARE_MODES -DNO_ASMSIGNALH -DGLIBC2 -DSMB_PASSWD=\"\" -DSMB_PASSWD_FILE=\"\" -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c ./mem_man/mem_man.c -o ./mem_man/mem_man.o In file included from xprobe.h:166, from xp_icmp_echo.c:24: xp_defines.h:29:16: warning: C++11 requires a space between string literal and macro [-Wc++11-compat[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wc++11-compat]] 29 | #define BANNER "X probe ver. "VERSION"\n------------------" | ^ In file included from ../nsat.h:49, from xprobe.h:26, from xp_logic_tree.c:23: ../lang.h:44:21: warning: C++11 requires a space between string literal and macro [-Wc++11-compat[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wc++11-compat]] 44 | #define NSAT_BANNER "\t\tNetwork Security Analysis Tool v"VERSION"\n\t\t (c) 1999-2002 by Mixter, 2xs ltd.\n" | ^ In file included from ../nsat.h:49, from xprobe.h:26, from xp_pkt_exams.c:24: ../lang.h:44:21: warning: C++11 requires a space between string literal and macro [-Wc++11-compat[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wc++11-compat]] 44 | #define NSAT_BANNER "\t\tNetwork Security Analysis Tool v"VERSION"\n\t\t (c) 1999-2002 by Mixter, 2xs ltd.\n" | ^ x86_64-pc-linux-gnu-g++ -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -ansi -fPIC -DLINUX -DWITH_XPROBE -c xp_udp_probe.c x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -DLINUX -DNETGROUP -DALLOW_CHANGE_PASSWORD -DFAST_SHARE_MODES -DNO_ASMSIGNALH -DGLIBC2 -DSMB_PASSWD=\"\" -DSMB_PASSWD_FILE=\"\" -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c ./slprintf.c -o ./slprintf.o In file included from ../nsat.h:49, from xprobe.h:26, from xp_icmp_infr.c:24: ../lang.h:44:21: warning: C++11 requires a space between string literal and macro [-Wc++11-compat[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wc++11-compat]] 44 | #define NSAT_BANNER "\t\tNetwork Security Analysis Tool v"VERSION"\n\t\t (c) 1999-2002 by Mixter, 2xs ltd.\n" | ^ x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -DLINUX -DNETGROUP -DALLOW_CHANGE_PASSWORD -DFAST_SHARE_MODES -DNO_ASMSIGNALH -DGLIBC2 -DSMB_PASSWD=\"\" -DSMB_PASSWD_FILE=\"\" -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c ./rpc_pipes/ntclientpipe.c -o ./rpc_pipes/ntclientpipe.o SockSet.cpp: In constructor ‘SockSet::SockSet()’: SockSet.cpp:40:15: warning: â€-Wdeprecated-declarations][]] 40 | siginterrupt(SIGALRM, 1); | ~~~~~~~~~~~~^~~~~~~~~~~~ In file included from libmix++/mix/misc.h:22, from libmix++/mix/mix.h:29, from nsat.h:40, from AuditSet.h:28, from SockSet.h:27, from SockSet.cpp:25: /usr/include/signal.h:311:12: note: declared here 311 | extern int siginterrupt (int __sig, int __interrupt) __THROW | ^~~~~~~~~~~~ In file included from xprobe.h:166, from xp_logic_tree.c:23: xp_defines.h:29:16: warning: C++11 requires a space between string literal and macro [-Wc++11-compat[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wc++11-compat]] 29 | #define BANNER "X probe ver. "VERSION"\n------------------" | ^ nsat.cpp: In function ‘int main(int, char**)’: lang.h:27:24: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 27 | #define CONFIG_FILE "/etc/nsat/nsat.conf" /* scan options */ | ^~~~~~~~~~~~~~~~~~~~~ nsat.cpp:179:25: note: in expansion of macro ‘CONFIG_FILE’ 179 | pi.readconf(CONFIG_FILE); | ^~~~~~~~~~~ AuditSet.cpp:38:7: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 38 | {1, "tcpmux", 1}, | ^~~~~~~~ AuditSet.cpp:39:7: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 39 | {7, "echo", 1}, | ^~~~~~ AuditSet.cpp:40:7: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 40 | {9, "discard", 0}, | ^~~~~~~~~ AuditSet.cpp:41:8: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 41 | {11, "systat", 1}, | ^~~~~~~~ AuditSet.cpp:42:8: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 42 | {13, "daytime", 0}, | ^~~~~~~~~ AuditSet.cpp:43:8: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 43 | {15, "netstat", 1}, | ^~~~~~~~~ AuditSet.cpp:44:8: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 44 | {17, "qotd", 0}, | ^~~~~~ AuditSet.cpp:45:8: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 45 | {19, "chargen", 1}, | ^~~~~~~~~ AuditSet.cpp:46:8: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 46 | {20, "ftp-data", 1}, | ^~~~~~~~~~ AuditSet.cpp:47:8: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 47 | {21, "ftp", 0}, | ^~~~~ AuditSet.cpp:48:8: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 48 | {22, "ssh", 0}, | ^~~~~ lang.h:27:24: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 27 | #define CONFIG_FILE "/etc/nsat/nsat.conf" /* scan options */ | ^~~~~~~~~~~~~~~~~~~~~ nsat.cpp:271:19: note: in expansion of macro ‘CONFIG_FILE’ 271 | pi.readconf(CONFIG_FILE); | ^~~~~~~~~~~ AuditSet.cpp:49:8: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 49 | {23, "telnet", 0}, | ^~~~~~~~ lang.h:29:24: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 29 | #define PIDFILE ".nspid" /* pid file name */ | ^~~~~~~~ nsat.cpp:299:42: note: in expansion of macro ‘PIDFILE’ 299 | para = nicefile(pi.fname) + nicefile(PIDFILE) + nicefile(PROGRESS_FILE); | ^~~~~~~ lang.h:30:24: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 30 | #define PROGRESS_FILE ".nsrc" /* recovery file name */ | ^~~~~~~ nsat.cpp:299:62: note: in expansion of macro ‘PROGRESS_FILE’ 299 | para = nicefile(pi.fname) + nicefile(PIDFILE) + nicefile(PROGRESS_FILE); | ^~~~~~~~~~~~~ lang.h:56:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 56 | #define L_PORTS "ports.log" | ^~~~~~~~~~~ nsat.cpp:300:22: note: in expansion of macro ‘L_PORTS’ 300 | para += nicefile(L_PORTS) + nicefile(L_NETSTAT) + nicefile(L_FTP); | ^~~~~~~ lang.h:73:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 73 | #define L_NETSTAT "netstat.log" | ^~~~~~~~~~~~~ nsat.cpp:300:42: note: in expansion of macro ‘L_NETSTAT’ 300 | para += nicefile(L_PORTS) + nicefile(L_NETSTAT) + nicefile(L_FTP); | ^~~~~~~~~ lang.h:57:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 57 | #define L_FTP "ftp.log" | ^~~~~~~~~ nsat.cpp:300:64: note: in expansion of macro ‘L_FTP’ 300 | para += nicefile(L_PORTS) + nicefile(L_NETSTAT) + nicefile(L_FTP); | ^~~~~ lang.h:58:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 58 | #define L_SSH "ssh.log" | ^~~~~~~~~ nsat.cpp:301:22: note: in expansion of macro ‘L_SSH’ 301 | para += nicefile(L_SSH) + nicefile(L_TELNET) + nicefile(L_SMTP); | ^~~~~ lang.h:59:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 59 | #define L_TELNET "telnet.log" | ^~~~~~~~~~~~ nsat.cpp:301:40: note: in expansion of macro ‘L_TELNET’ 301 | para += nicefile(L_SSH) + nicefile(L_TELNET) + nicefile(L_SMTP); | ^~~~~~~~ lang.h:60:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 60 | #define L_SMTP "sendmail.log" | ^~~~~~~~~~~~~~ nsat.cpp:301:61: note: in expansion of macro ‘L_SMTP’ 301 | para += nicefile(L_SSH) + nicefile(L_TELNET) + nicefile(L_SMTP); | ^~~~~~ lang.h:61:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 61 | #define L_DNS "dns.log" | ^~~~~~~~~ nsat.cpp:302:22: note: in expansion of macro ‘L_DNS’ 302 | para += nicefile(L_DNS) + nicefile(L_FINGER) + nicefile(L_POP2); | ^~~~~ lang.h:68:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 68 | #define L_FINGER "finger.log" | ^~~~~~~~~~~~ nsat.cpp:302:40: note: in expansion of macro ‘L_FINGER’ 302 | para += nicefile(L_DNS) + nicefile(L_FINGER) + nicefile(L_POP2); | ^~~~~~~~ lang.h:63:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 63 | #define L_POP2 "pop2.log" | ^~~~~~~~~~ nsat.cpp:302:61: note: in expansion of macro ‘L_POP2’ 302 | para += nicefile(L_DNS) + nicefile(L_FINGER) + nicefile(L_POP2); | ^~~~~~ lang.h:64:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 64 | #define L_POP3 "pop3.log" | ^~~~~~~~~~ nsat.cpp:303:22: note: in expansion of macro ‘L_POP3’ 303 | para += nicefile(L_POP3) + nicefile(L_NNTP) + nicefile(L_SMB); | ^~~~~~ lang.h:71:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 71 | #define L_NNTP "nntp.log" | ^~~~~~~~~~ nsat.cpp:303:41: note: in expansion of macro ‘L_NNTP’ 303 | para += nicefile(L_POP3) + nicefile(L_NNTP) + nicefile(L_SMB); | ^~~~~~ lang.h:70:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 70 | #define L_SMB "smb.log" | ^~~~~~~~~ nsat.cpp:303:60: note: in expansion of macro ‘L_SMB’ 303 | para += nicefile(L_POP3) + nicefile(L_NNTP) + nicefile(L_SMB); | ^~~~~ lang.h:65:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 65 | #define L_IMAP "imap.log" | ^~~~~~~~~~ nsat.cpp:304:22: note: in expansion of macro ‘L_IMAP’ 304 | para += nicefile(L_IMAP) + nicefile(L_BACKDOOR) + nicefile(L_NLPS); | ^~~~~~ lang.h:74:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 74 | #define L_BACKDOOR "backdoor.log" | ^~~~~~~~~~~~~~ nsat.cpp:304:41: note: in expansion of macro ‘L_BACKDOOR’ 304 | para += nicefile(L_IMAP) + nicefile(L_BACKDOOR) + nicefile(L_NLPS); | ^~~~~~~~~~ lang.h:82:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 82 | #define L_NLPS "nlps.log" | ^~~~~~~~~~ nsat.cpp:304:64: note: in expansion of macro ‘L_NLPS’ 304 | para += nicefile(L_IMAP) + nicefile(L_BACKDOOR) + nicefile(L_NLPS); | ^~~~~~ lang.h:75:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 75 | #define L_IRCD "ircd.log" | ^~~~~~~~~~ nsat.cpp:305:22: note: in expansion of macro ‘L_IRCD’ 305 | para += nicefile(L_IRCD) + nicefile(L_XWIN) + nicefile(L_NETBIOS); | ^~~~~~ lang.h:76:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 76 | #define L_XWIN "xwindows.log" | ^~~~~~~~~~~~~~ nsat.cpp:305:41: note: in expansion of macro ‘L_XWIN’ 305 | para += nicefile(L_IRCD) + nicefile(L_XWIN) + nicefile(L_NETBIOS); | ^~~~~~ Distributed.cpp: In member function ‘int Distributed::GetResponses()’: lang.h:55:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 55 | #define L_DISTRIB "agents.log" | ^~~~~~~~~~~~ Distributed.cpp:168:18: note: in expansion of macro ‘L_DISTRIB’ 168 | Logger.msg(L_DISTRIB, "", "", "%s", buf); | ^~~~~~~~~ lang.h:77:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 77 | #define L_NETBIOS "netbios.log" | ^~~~~~~~~~~~~ nsat.cpp:305:60: note: in expansion of macro ‘L_NETBIOS’ 305 | para += nicefile(L_IRCD) + nicefile(L_XWIN) + nicefile(L_NETBIOS); | ^~~~~~~~~ Distributed.cpp:168:29: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 168 | Logger.msg(L_DISTRIB, "", "", "%s", buf); | ^~ Distributed.cpp:168:33: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 168 | Logger.msg(L_DISTRIB, "", "", "%s", buf); | ^~ Distributed.cpp:168:37: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 168 | Logger.msg(L_DISTRIB, "", "", "%s", buf); | ^~~~ lang.h:78:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 78 | #define L_ICMP "icmp.log" | ^~~~~~~~~~ nsat.cpp:306:22: note: in expansion of macro ‘L_ICMP’ 306 | para += nicefile(L_ICMP) + nicefile(L_RPC) + nicefile(L_HTTVER); | ^~~~~~ lang.h:79:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 79 | #define L_RPC "rpc.log" | ^~~~~~~~~ nsat.cpp:306:41: note: in expansion of macro ‘L_RPC’ 306 | para += nicefile(L_ICMP) + nicefile(L_RPC) + nicefile(L_HTTVER); | ^~~~~ lang.h:62:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 62 | #define L_HTTVER "httpd.log" | ^~~~~~~~~~~ nsat.cpp:306:59: note: in expansion of macro ‘L_HTTVER’ 306 | para += nicefile(L_ICMP) + nicefile(L_RPC) + nicefile(L_HTTVER); | ^~~~~~~~ lang.h:80:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 80 | #define L_CGI "cgi.log" | ^~~~~~~~~ nsat.cpp:307:22: note: in expansion of macro ‘L_CGI’ 307 | para += nicefile(L_CGI) + nicefile(L_BO); | ^~~~~ lang.h:81:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 81 | #define L_BO "bo.log" | ^~~~~~~~ nsat.cpp:307:40: note: in expansion of macro ‘L_BO’ 307 | para += nicefile(L_CGI) + nicefile(L_BO); | ^~~~ AuditSet.cpp:50:8: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 50 | {25, "smtpd", 0}, | ^~~~~~~ nsat.cpp:325:6: warning: this â€-Wmisleading-indentation][]] 325 | if (!pi.stealth) | ^~ nsat.cpp:327:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 327 | exit(0); | ^~~~ bo.cpp: In function ‘int getinput(int)’: ../lang.h:81:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 81 | #define L_BO "bo.log" | ^~~~~~~~ bo.cpp:161:22: note: in expansion of macro ‘L_BO’ 161 | Logger.msg(L_BO, I_BO, inet_ntoa(host.sin_addr), "- %s %s %u - %s %s", | ^~~~ ../lang.h:193:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 193 | #define I_BO " [bo] " | ^~~~~~~~~~~~~~ bo.cpp:161:28: note: in expansion of macro ‘I_BO’ 161 | Logger.msg(L_BO, I_BO, inet_ntoa(host.sin_addr), "- %s %s %u - %s %s", | ^~~~ bo.cpp:161:60: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 161 | Logger.msg(L_BO, I_BO, inet_ntoa(host.sin_addr), "- %s %s %u - %s %s", | ^~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:51:8: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 51 | {37, "time", 0}, | ^~~~~~ AuditSet.cpp:52:8: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 52 | {43, "nicname", 0}, | ^~~~~~~~~ In file included from ../nsat.h:49, from bo.cpp:26: ../lang.h:81:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 81 | #define L_BO "bo.log" | ^~~~~~~~ bo.cpp:170:22: note: in expansion of macro ‘L_BO’ 170 | Logger.msg(L_BO, I_BO, inet_ntoa(host.sin_addr), "- %s %s %u", | ^~~~ ../lang.h:193:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 193 | #define I_BO " [bo] " | ^~~~~~~~~~~~~~ bo.cpp:170:28: note: in expansion of macro ‘I_BO’ 170 | Logger.msg(L_BO, I_BO, inet_ntoa(host.sin_addr), "- %s %s %u", | ^~~~ bo.cpp:170:60: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 170 | Logger.msg(L_BO, I_BO, inet_ntoa(host.sin_addr), "- %s %s %u", | ^~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -DLINUX -DNETGROUP -DALLOW_CHANGE_PASSWORD -DFAST_SHARE_MODES -DNO_ASMSIGNALH -DGLIBC2 -DSMB_PASSWD=\"\" -DSMB_PASSWD_FILE=\"\" -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c ./rpc_pipes/ntclientlsa.c -o ./rpc_pipes/ntclientlsa.o In file included from ../nsat.h:49, from bo.cpp:26: ../lang.h:81:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 81 | #define L_BO "bo.log" | ^~~~~~~~ bo.cpp:177:18: note: in expansion of macro ‘L_BO’ 177 | Logger.msg(L_BO, I_BO, inet_ntoa(host.sin_addr), "- %s", ptr); | ^~~~ ../lang.h:193:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 193 | #define I_BO " [bo] " | ^~~~~~~~~~~~~~ bo.cpp:177:24: note: in expansion of macro ‘I_BO’ 177 | Logger.msg(L_BO, I_BO, inet_ntoa(host.sin_addr), "- %s", ptr); | ^~~~ bo.cpp:177:56: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 177 | Logger.msg(L_BO, I_BO, inet_ntoa(host.sin_addr), "- %s", ptr); | ^~~~~~ bo.cpp:119:17: warning: variable â€-Wunused-but-set-variable][]] 119 | unsigned long oldestpack, lastpacket, packetid; | ^~~~~~~~~~ bo.cpp:119:29: warning: variable â€-Wunused-but-set-variable][]] 119 | unsigned long oldestpack, lastpacket, packetid; | ^~~~~~~~~~ AuditSet.cpp:53:8: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 53 | {48, "auditd", 1}, | ^~~~~~~~ AuditSet.cpp:54:8: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 54 | {49, "tacacs", 1}, | ^~~~~~~~ AuditSet.cpp:55:8: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 55 | {53, "bind", 0}, | ^~~~~~ AuditSet.cpp:56:8: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 56 | {70, "gopher", 0}, | ^~~~~~~~ AuditSet.cpp:57:8: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 57 | {79, "finger", 1}, | ^~~~~~~~ AuditSet.cpp:58:8: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 58 | {80, "http", 0}, | ^~~~~~ AuditSet.cpp:59:8: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 59 | {88, "kerberos", 0}, | ^~~~~~~~~~ AuditSet.cpp:60:8: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 60 | {98, "linuxconf", 1}, | ^~~~~~~~~~~ AuditSet.cpp:61:9: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 61 | {109, "pop2", 1}, | ^~~~~~ AuditSet.cpp:62:9: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 62 | {110, "pop3", 0}, | ^~~~~~ AuditSet.cpp:63:9: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 63 | {111, "portmap", 1}, | ^~~~~~~~~ AuditSet.cpp:64:9: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 64 | {113, "auth", 0}, | ^~~~~~ AuditSet.cpp:65:9: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 65 | {115, "sftp", 0}, | ^~~~~~ AuditSet.cpp:66:9: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 66 | {119, "nntp", 0}, | ^~~~~~ AuditSet.cpp:67:9: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 67 | {123, "ntp", 0}, | ^~~~~ AuditSet.cpp:68:9: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 68 | {139, "netbios/smbd", 1}, | ^~~~~~~~~~~~~~ AuditSet.cpp:69:9: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 69 | {143, "imap", 0}, | ^~~~~~ AuditSet.cpp:70:9: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 70 | {179, "bgp", 1}, | ^~~~~ AuditSet.cpp:71:9: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 71 | {213, "ipx", 0}, | ^~~~~ AuditSet.cpp:72:9: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 72 | {261, "FW-1 AuthAgent", 1}, | ^~~~~~~~~~~~~~~~ AuditSet.cpp:73:9: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 73 | {389, "ldap", 0}, | ^~~~~~ AuditSet.cpp:74:9: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 74 | {427, "AppleShare/IP", 1}, | ^~~~~~~~~~~~~~~ AuditSet.cpp:75:9: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 75 | {443, "https", 0}, | ^~~~~~~ AuditSet.cpp:76:9: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 76 | {445, "smbd", 1}, | ^~~~~~ AuditSet.cpp:77:9: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 77 | {512, "rexecd", 1}, | ^~~~~~~~ AuditSet.cpp:78:9: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 78 | {513, "rlogind", 1}, | ^~~~~~~~~ AuditSet.cpp:79:9: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 79 | {514, "rshd", 1}, | ^~~~~~ AuditSet.cpp:80:9: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 80 | {515, "lpd", 1}, | ^~~~~ ftp.cpp: In function ‘int ftptest(int, char*)’: ../lang.h:57:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 57 | #define L_FTP "ftp.log" | ^~~~~~~~~ ftp.cpp:62:22: note: in expansion of macro ‘L_FTP’ 62 | Logger.msg(L_FTP, I_FTP, gdest, I_ANON); | ^~~~~ AuditSet.cpp:81:9: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 81 | {543, "klogin", 1}, | ^~~~~~~~ ../lang.h:202:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 202 | #define I_FTP " [ftp] " | ^~~~~~~~~~~~~~ ftp.cpp:62:29: note: in expansion of macro ‘I_FTP’ 62 | Logger.msg(L_FTP, I_FTP, gdest, I_ANON); | ^~~~~ AuditSet.cpp:82:9: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 82 | {540, "uucp", 0}, | ^~~~~~ ../lang.h:162:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 162 | #define I_ANON " - anonymous login" | ^~~~~~~~~~~~~~~~~~~~ ftp.cpp:62:43: note: in expansion of macro ‘I_ANON’ 62 | Logger.msg(L_FTP, I_FTP, gdest, I_ANON); | ^~~~~~ AuditSet.cpp:83:9: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 83 | {544, "kshell", 1}, | ^~~~~~~~ AuditSet.cpp:84:9: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 84 | {548, "AppleShare/IP", 1}, | ^~~~~~~~~~~~~~~ AuditSet.cpp:85:9: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 85 | {600, "600 (common backdoor port)", 2}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:86:9: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 86 | {666, "666 (common backdoor port)", 2}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:87:9: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 87 | {762, "quotad", 1}, | ^~~~~~~~ AuditSet.cpp:88:9: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 88 | {774, "rpasswd", 0}, | ^~~~~~~~~ AuditSet.cpp:89:9: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 89 | {873, "rsync", 0}, | ^~~~~~~ AuditSet.cpp:90:9: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 90 | {992, "telnets", 0}, | ^~~~~~~~~ AuditSet.cpp:91:9: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 91 | {993, "imaps", 0}, | ^~~~~~~ AuditSet.cpp:92:9: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 92 | {994, "ircs", 0}, | ^~~~~~ AuditSet.cpp:93:9: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 93 | {995, "pop3s", 0}, | ^~~~~~~ AuditSet.cpp:94:10: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 94 | {1080, "SOCKS5", 0}, | ^~~~~~~~ AuditSet.cpp:95:10: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 95 | {1114, "mSQL", 1}, | ^~~~~~ AuditSet.cpp:96:10: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 96 | {1243, "1243 (subseven backdoor port)", 2}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:97:10: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 97 | {1337, "1337 (common backdoor port)", 2}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:98:10: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 98 | {1433, "MS-SQL", 1}, | ^~~~~~~~ In file included from www.cpp:30: www.h:47:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 47 | {"/cgi-bin/", 0}, | ^~~~~~~~~~~ AuditSet.cpp:99:10: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 99 | {1524, "1524 (common backdoor port or ingreslock)", 2}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:100:10: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 100 | {1525, "Oracle SQL", 1}, | ^~~~~~~~~~~~ www.h:48:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 48 | {"/cgi-dos/", 0}, | ^~~~~~~~~~~ www.h:49:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 49 | {"/cgi-shl/", 0}, | ^~~~~~~~~~~ www.h:50:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 50 | {"/cgi-win/", 0}, | ^~~~~~~~~~~ www.h:51:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 51 | {"/cgi-bin/", 0}, | ^~~~~~~~~~~ www.h:52:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 52 | {"/bb-dnbd/", 0}, | ^~~~~~~~~~~ www.h:53:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 53 | {"/.html/", 0}, | ^~~~~~~~~ www.h:54:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 54 | {"/iisadmpwd/", 0}, | ^~~~~~~~~~~~~ AuditSet.cpp:101:10: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 101 | {1999, "Cisco backdoor (1999)", 1}, | ^~~~~~~~~~~~~~~~~~~~~~~ www.h:55:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 55 | {"/iissamples/", 0}, | ^~~~~~~~~~~~~~ www.h:56:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 56 | {"/samples/", 0}, | ^~~~~~~~~~~ AuditSet.cpp:102:10: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 102 | {2000, "OpenWin", 1}, | ^~~~~~~~~ www.h:57:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 57 | {"/scripts/", 0}, | ^~~~~~~~~~~ AuditSet.cpp:103:10: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 103 | {2049, "nfsd", 1}, | ^~~~~~ www.h:58:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 58 | {"/scripts/iisadmin/", 0}, | ^~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:104:10: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 104 | {2222, "2222 (common backdoor port)", 2}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ www.h:59:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 59 | {"/scripts/samples/", 0}, | ^~~~~~~~~~~~~~~~~~~ www.h:60:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 60 | {"/scripts/tools/", 0}, | ^~~~~~~~~~~~~~~~~ www.h:61:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 61 | {"/siteserver/publishing/", 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~ snmp.cpp: In function ‘int getret(unsigned char*, int, snmpchex*)’: snmp.cpp:65:26: warning: suggest explicit braces to avoid ambiguous â€-Wdangling-else][]] 65 | if (buf[i] == '\x02') | ^ www.h:62:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 62 | {"/sites/knowledge/membership/", 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ www.h:63:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 63 | {"/sites/samples/knowledge/", 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ www.h:64:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 64 | {"/msadc/", 0}, | ^~~~~~~~~ www.h:65:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 65 | {"/msads/samples/", 0}, | ^~~~~~~~~~~~~~~~~ www.h:66:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 66 | {"/include/", 0}, | ^~~~~~~~~~~ www.h:67:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 67 | {"/cfappman/", 0}, | ^~~~~~~~~~~~ www.h:68:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 68 | {"/cfdocs/", 0}, | ^~~~~~~~~~ www.h:69:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 69 | {"/cfusion/cfapps/forums/", 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~ www.h:70:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 70 | {"/_vti_bin/", 0}, | ^~~~~~~~~~~~ www.h:71:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 71 | {"/PSUser/", 0}, | ^~~~~~~~~~ www.h:72:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 72 | {"/orders/", 0}, | ^~~~~~~~~~ www.h:73:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 73 | {"/photoads/", 0}, | ^~~~~~~~~~~~ www.h:74:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 74 | {"/PDG_Cart/", 0}, | ^~~~~~~~~~~~ www.h:75:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 75 | {"/piranha/secure/", 0}, | ^~~~~~~~~~~~~~~~~~ www.h:76:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 76 | {"/admisapi/", 0}, | ^~~~~~~~~~~~ www.h:77:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 77 | {"/_private/", 0}, | ^~~~~~~~~~~~ www.h:78:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 78 | {"EOF", 0} | ^~~~~ AuditSet.cpp:105:10: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 105 | {2223, "mdbms", 1}, | ^~~~~~~ www.h:87:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 87 | "/.html/............/autoexec.bat", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:106:10: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 106 | {2224, "mdbms (fastport)", 1}, | ^~~~~~~~~~~~~~~~~~ www.h:88:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 88 | "/_vti_bin/shtml.dll", | ^~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:107:10: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 107 | {2301, "cim", 1}, | ^~~~~ www.h:89:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 89 | "/_vti_bin/shtml.exe", | ^~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:108:10: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 108 | {2606, "netmon", 1}, | ^~~~~~~~ www.h:90:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 90 | "/_vti_inf.html", | ^~~~~~~~~~~~~~~~ AuditSet.cpp:109:10: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 109 | {2766, "nlpsd", 1}, | ^~~~~~~ www.h:91:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 91 | "/cgi-bin/cachemgr.cgi", | ^~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:110:10: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 110 | {2998, "realsecure", 1}, | ^~~~~~~~~~~~ www.h:92:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 92 | "/msadc/msadcs.dll", | ^~~~~~~~~~~~~~~~~~~ AuditSet.cpp:111:10: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 111 | {3007, "lotusmtap", 1}, | ^~~~~~~~~~~ www.h:93:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 93 | "/msadc/samples/selector/showcode.asp", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:112:10: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 112 | {3128, "squid", 0}, | ^~~~~~~ www.h:94:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 94 | "/scripts/samples/details.idc", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:113:10: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 113 | {3279, "admind", 1}, | ^~~~~~~~ www.h:95:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 95 | "/scripts/tools/newdsn.exe", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:114:10: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 114 | {3306, "mysql", 1}, | ^~~~~~~ www.h:96:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 96 | "/scripts/../../cmd.exe", | ^~~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:115:10: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 115 | {3333, "3333 (eggdrop default port)", 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ www.h:97:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 97 | "/secure/.htaccess", | ^~~~~~~~~~~~~~~~~~~ www.h:98:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 98 | "/cfdocs/expeval/openfile.cfm", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:116:10: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 116 | {3346, "transparent proxy", 1}, | ^~~~~~~~~~~~~~~~~~~ www.h:99:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 99 | "/cgi-bin/architext_query.pl", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:117:10: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 117 | {5556, "HP-UX RemoteWatch", 1}, | ^~~~~~~~~~~~~~~~~~~ www.h:100:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 100 | "/cgi-bin/ax-admin.cgi", | ^~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:118:10: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 118 | {6000, "XWindows", 1}, | ^~~~~~~~~~ www.h:101:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 101 | "/cgi-bin/bnbform.cgi", | ^~~~~~~~~~~~~~~~~~~~~~ www.h:102:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 102 | "/cgi-bin/campas", | ^~~~~~~~~~~~~~~~~ AuditSet.cpp:119:10: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 119 | {6667, "ircd", 0}, | ^~~~~~ www.h:103:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 103 | "/cgi-bin/Count.cgi", | ^~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:120:10: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 120 | {7161, "Cisco DoS (7161)", 1}, | ^~~~~~~~~~~~~~~~~~ www.h:104:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 104 | "/cgi-bin/finger.pl", | ^~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:121:10: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 121 | {7070, "RealServer DoS (7070)", 1}, | ^~~~~~~~~~~~~~~~~~~~~~~ www.h:105:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 105 | "/cgi-bin/man.sh", | ^~~~~~~~~~~~~~~~~ AuditSet.cpp:122:10: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 122 | {8080, "WebProxy (8080)", 0}, | ^~~~~~~~~~~~~~~~~ www.h:106:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 106 | "/cgi-bin/perl", | ^~~~~~~~~~~~~~~ AuditSet.cpp:123:11: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 123 | {10401, "kdebug", 1}, | ^~~~~~~~ www.h:107:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 107 | "/cgi-bin/perl.exe", | ^~~~~~~~~~~~~~~~~~~ AuditSet.cpp:132:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 132 | }; | ^ AuditSet.cpp:132:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] www.h:108:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 108 | "/cgi-bin/perlshop.cgi", | ^~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:132:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] www.h:109:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 109 | "/cgi-bin/pfdisplay.cgi", | ^~~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:132:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] www.h:110:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 110 | "/cgi-bin/phf", | ^~~~~~~~~~~~~~ AuditSet.cpp:132:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] AuditSet.cpp:132:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] www.h:111:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 111 | "/cgi-bin/php", | ^~~~~~~~~~~~~~ AuditSet.cpp:132:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] www.h:112:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 112 | "/cgi-bin/php.cgi", | ^~~~~~~~~~~~~~~~~~ www.h:113:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 113 | "/cgi-bin/tcsh", | ^~~~~~~~~~~~~~~ AuditSet.cpp:132:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] www.h:114:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 114 | "/cgi-bin/w3-msql", | ^~~~~~~~~~~~~~~~~~ www.h:115:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 115 | "/cgi-bin/webdist.cgi", | ^~~~~~~~~~~~~~~~~~~~~~ www.h:116:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 116 | "/iisadmpwd/achg.htr", | ^~~~~~~~~~~~~~~~~~~~~ www.h:117:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 117 | "/orders/order.log", | ^~~~~~~~~~~~~~~~~~~ www.h:118:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 118 | "/publisher/|publisher", | ^~~~~~~~~~~~~~~~~~~~~~~ www.h:119:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 119 | "/WebShop/logs/cc.txt", | ^~~~~~~~~~~~~~~~~~~~~~ www.h:120:3: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 120 | "EOF" | ^~~~~ Distributed.cpp: In member function ‘void Distributed::Accept()’: Distributed.cpp:96:14: warning: ignoring return value of â€-Wunused-result][]] 96 | (void) write(newfd, VERSION, 4); | ~~~~~^~~~~~~~~~~~~~~~~~~ ftp.cpp: In function ‘int eval_list(char*)’: ../lang.h:57:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 57 | #define L_FTP "ftp.log" | ^~~~~~~~~ ftp.cpp:168:22: note: in expansion of macro ‘L_FTP’ 168 | Logger.msg(L_FTP, I_FTP, gdest, "%s %s", I_WRITE, path2); | ^~~~~ ../lang.h:202:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 202 | #define I_FTP " [ftp] " | ^~~~~~~~~~~~~~ ftp.cpp:168:29: note: in expansion of macro ‘I_FTP’ 168 | Logger.msg(L_FTP, I_FTP, gdest, "%s %s", I_WRITE, path2); | ^~~~~ functions.cpp: In function ‘int safe_fork()’: functions.cpp:163:11: warning: ignoring return value of â€-Wunused-result][]] 163 | nice(-1); | ~~~~^~~~ ftp.cpp:168:43: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 168 | Logger.msg(L_FTP, I_FTP, gdest, "%s %s", I_WRITE, path2); | ^~~~~~~ In file included from ../nsat.h:49, from ftp.cpp:9: ../lang.h:57:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 57 | #define L_FTP "ftp.log" | ^~~~~~~~~ ftp.cpp:172:22: note: in expansion of macro ‘L_FTP’ 172 | Logger.msg(L_FTP, I_FTP, gdest, "%s /%s", I_WRITE, path2); | ^~~~~ ../lang.h:202:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 202 | #define I_FTP " [ftp] " | ^~~~~~~~~~~~~~ ftp.cpp:172:29: note: in expansion of macro ‘I_FTP’ 172 | Logger.msg(L_FTP, I_FTP, gdest, "%s /%s", I_WRITE, path2); | ^~~~~ ftp.cpp:172:43: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 172 | Logger.msg(L_FTP, I_FTP, gdest, "%s /%s", I_WRITE, path2); | ^~~~~~~~ In file included from ../nsat.h:49, from www.cpp:29: www.cpp: In function ‘void webscan(int)’: ../lang.h:62:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 62 | #define L_HTTVER "httpd.log" | ^~~~~~~~~~~ www.cpp:67:22: note: in expansion of macro ‘L_HTTVER’ 67 | Logger.msg(L_HTTVER, I_WWW, whost, "- %s", p+8); | ^~~~~~~~ ../lang.h:199:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 199 | #define I_WWW " [http] " | ^~~~~~~~~~~~~~ www.cpp:67:32: note: in expansion of macro ‘I_WWW’ 67 | Logger.msg(L_HTTVER, I_WWW, whost, "- %s", p+8); | ^~~~~ www.cpp:67:46: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 67 | Logger.msg(L_HTTVER, I_WWW, whost, "- %s", p+8); | ^~~~~~ Distributed.cpp: In member function ‘int Distributed::GetResponses()’: Distributed.cpp:167:11: warning: ignoring return value of â€-Wunused-result][]] 167 | read(clientsockets[i],buf,8192); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.cpp: In function ‘int readpid()’: functions.cpp:311:9: warning: ignoring return value of â€-Wunused-result][]] 311 | fscanf(f, "%d", &pid); | ~~~~~~^~~~~~~~~~~~~~~ In file included from xprobe.h:166, from xp_pkt_exams.c:24: xp_defines.h:29:16: warning: C++11 requires a space between string literal and macro [-Wc++11-compat[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wc++11-compat]] 29 | #define BANNER "X probe ver. "VERSION"\n------------------" | ^ functions.cpp: In function ‘void fdmax()’: functions.cpp:332:12: warning: ignoring return value of â€-Wunused-result][]] 332 | write(fd, inode_max, strlen(inode_max)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ snmp.cpp: In function ‘int snmpcheck(long unsigned int)’: snmp.cpp:303:98: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 303 | ktsnmp(sock, (char *) &buf, sizeof(buf), (char *) &sn.name, "ADMsnmp", the_id + 127, &sin); | ^~~~~~~~~ snmp.cpp:205:14: warning: variable â€-Wunused-but-set-variable][]] 205 | int i = 0, x; | ^ functions.cpp:337:12: warning: ignoring return value of â€-Wunused-result][]] 337 | write(fd, file_max, strlen(file_max)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.cpp:342:12: warning: ignoring return value of â€-Wunused-result][]] 342 | write(fd, inode_max, strlen(inode_max)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: AuditSet.cpp: In member function ‘int AuditSet::icmptest()’: lang.h:78:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 78 | #define L_ICMP "icmp.log" | ^~~~~~~~~~ AuditSet.cpp:246:20: note: in expansion of macro ‘L_ICMP’ 246 | Logger.msg(L_ICMP, I_ICMP, Hostname(), I_PINGOUT); | ^~~~~~ lang.h:191:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 191 | #define I_ICMP " [icmp] " | ^~~~~~~~~~~~~~ AuditSet.cpp:246:28: note: in expansion of macro ‘I_ICMP’ 246 | Logger.msg(L_ICMP, I_ICMP, Hostname(), I_PINGOUT); | ^~~~~~ lang.h:173:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 173 | #define I_PINGOUT "ping timeout" | ^~~~~~~~~~~~~~ AuditSet.cpp:246:48: note: in expansion of macro ‘I_PINGOUT’ 246 | Logger.msg(L_ICMP, I_ICMP, Hostname(), I_PINGOUT); | ^~~~~~~~~ ftp.cpp: In function ‘int ftptest(int, char*)’: ftp.cpp:17:23: warning: ignoring return value of â€-Wunused-result][]] 17 | #define sockw(x) write(fd,x,strlen(x)); | ~~~~~^~~~~~~~~~~~~~~~ ftp.cpp:43:3: note: in expansion of macro ‘sockw’ 43 | sockw(FTPUSER); | ^~~~~ ftp.cpp:17:23: warning: ignoring return value of â€-Wunused-result][]] 17 | #define sockw(x) write(fd,x,strlen(x)); | ~~~~~^~~~~~~~~~~~~~~~ ftp.cpp:44:3: note: in expansion of macro ‘sockw’ 44 | sockw(FTPPASS); | ^~~~~ In file included from ../nsat.h:49, from snmp.h:28, from snmp.cpp:27: snmp.cpp: In function ‘void snmpwalk(long unsigned int)’: ../lang.h:69:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 69 | #define L_SNMP "snmp.log" | ^~~~~~~~~~ snmp.cpp:348:18: note: in expansion of macro ‘L_SNMP’ 348 | Logger.msg(L_SNMP, I_SYSNAME, ntoa(ip), "- %s", oldbanner); | ^~~~~~ lang.h:78:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 78 | #define L_ICMP "icmp.log" | ^~~~~~~~~~ AuditSet.cpp:261:32: note: in expansion of macro ‘L_ICMP’ 261 | Logger.msg(L_ICMP, I_ICMP, Hostname(), "- latency %lu secs", (time(NULL) - ref)); | ^~~~~~ ../lang.h:167:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 167 | #define I_SYSNAME " - sys.sysName.0:" | ^~~~~~~~~~~~~~~~~~~ snmp.cpp:348:26: note: in expansion of macro ‘I_SYSNAME’ 348 | Logger.msg(L_SNMP, I_SYSNAME, ntoa(ip), "- %s", oldbanner); | ^~~~~~~~~ lang.h:191:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 191 | #define I_ICMP " [icmp] " | ^~~~~~~~~~~~~~ AuditSet.cpp:261:40: note: in expansion of macro ‘I_ICMP’ 261 | Logger.msg(L_ICMP, I_ICMP, Hostname(), "- latency %lu secs", (time(NULL) - ref)); | ^~~~~~ snmp.cpp:348:47: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 348 | Logger.msg(L_SNMP, I_SYSNAME, ntoa(ip), "- %s", oldbanner); | ^~~~~~ AuditSet.cpp:261:60: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 261 | Logger.msg(L_ICMP, I_ICMP, Hostname(), "- latency %lu secs", (time(NULL) - ref)); | ^~~~~~~~~~~~~~~~~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: lang.h:78:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 78 | #define L_ICMP "icmp.log" | ^~~~~~~~~~ AuditSet.cpp:264:32: note: in expansion of macro ‘L_ICMP’ 264 | Logger.msg(L_ICMP, I_ICMP, Hostname(), "- timestamp: orig:%lu/recv:%lu/trans:%lu", its->origts, its->recvts, its->transts); | ^~~~~~ lang.h:191:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 191 | #define I_ICMP " [icmp] " | ^~~~~~~~~~~~~~ AuditSet.cpp:264:40: note: in expansion of macro ‘I_ICMP’ 264 | Logger.msg(L_ICMP, I_ICMP, Hostname(), "- timestamp: orig:%lu/recv:%lu/trans:%lu", its->origts, its->recvts, its->transts); | ^~~~~~ AuditSet.cpp:264:60: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 264 | Logger.msg(L_ICMP, I_ICMP, Hostname(), "- timestamp: orig:%lu/recv:%lu/trans:%lu", its->origts, its->recvts, its->transts); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../nsat.h:49, from snmp.h:28, from snmp.cpp:27: ../lang.h:69:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 69 | #define L_SNMP "snmp.log" | ^~~~~~~~~~ snmp.cpp:355:22: note: in expansion of macro ‘L_SNMP’ 355 | Logger.msg(L_SNMP, I_SNMP, ntoa(ip), "%s %s", | ^~~~~~ ../lang.h:197:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 197 | #define I_SNMP " [snmp] " | ^~~~~~~~~~~~~~ snmp.cpp:355:30: note: in expansion of macro ‘I_SNMP’ 355 | Logger.msg(L_SNMP, I_SNMP, ntoa(ip), "%s %s", | ^~~~~~ snmp.cpp:355:48: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 355 | Logger.msg(L_SNMP, I_SNMP, ntoa(ip), "%s %s", | ^~~~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: lang.h:78:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 78 | #define L_ICMP "icmp.log" | ^~~~~~~~~~ AuditSet.cpp:267:32: note: in expansion of macro ‘L_ICMP’ 267 | Logger.msg(L_ICMP, I_ICMP, Hostname(), "- netmask reply: %d.%d.%d.%d", inm->mask[0], inm->mask[1], inm->mask[2], inm->mask[3]); | ^~~~~~ lang.h:191:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 191 | #define I_ICMP " [icmp] " | ^~~~~~~~~~~~~~ AuditSet.cpp:267:40: note: in expansion of macro ‘I_ICMP’ 267 | Logger.msg(L_ICMP, I_ICMP, Hostname(), "- netmask reply: %d.%d.%d.%d", inm->mask[0], inm->mask[1], inm->mask[2], inm->mask[3]); | ^~~~~~ AuditSet.cpp:267:60: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 267 | Logger.msg(L_ICMP, I_ICMP, Hostname(), "- netmask reply: %d.%d.%d.%d", inm->mask[0], inm->mask[1], inm->mask[2], inm->mask[3]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../nsat.h:49, from snmp.h:28, from snmp.cpp:27: ../lang.h:69:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 69 | #define L_SNMP "snmp.log" | ^~~~~~~~~~ snmp.cpp:359:25: note: in expansion of macro ‘L_SNMP’ 359 | Logger.msg(L_SNMP, I_SNMP, ntoa(ip), "%s %s - %s", | ^~~~~~ ../lang.h:197:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 197 | #define I_SNMP " [snmp] " | ^~~~~~~~~~~~~~ snmp.cpp:359:33: note: in expansion of macro ‘I_SNMP’ 359 | Logger.msg(L_SNMP, I_SNMP, ntoa(ip), "%s %s - %s", | ^~~~~~ snmp.cpp:359:51: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 359 | Logger.msg(L_SNMP, I_SNMP, ntoa(ip), "%s %s - %s", | ^~~~~~~~~~~~ In file included from ../nsat.h:49, from snmp.h:28, from snmp.cpp:27: ../lang.h:69:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 69 | #define L_SNMP "snmp.log" | ^~~~~~~~~~ snmp.cpp:364:25: note: in expansion of macro ‘L_SNMP’ 364 | Logger.msg(L_SNMP, I_SNMP, ntoa(ip), "%s %s - %s", | ^~~~~~ ../lang.h:197:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 197 | #define I_SNMP " [snmp] " | ^~~~~~~~~~~~~~ snmp.cpp:364:33: note: in expansion of macro ‘I_SNMP’ 364 | Logger.msg(L_SNMP, I_SNMP, ntoa(ip), "%s %s - %s", | ^~~~~~ snmp.cpp:364:51: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 364 | Logger.msg(L_SNMP, I_SNMP, ntoa(ip), "%s %s - %s", | ^~~~~~~~~~~~ ftp.cpp: In function ‘int port(int, char*)’: ftp.cpp:17:23: warning: ignoring return value of â€-Wunused-result][]] 17 | #define sockw(x) write(fd,x,strlen(x)); | ~~~~~^~~~~~~~~~~~~~~~ ftp.cpp:116:3: note: in expansion of macro ‘sockw’ 116 | sockw(h2); | ^~~~~ ftp.cpp:17:23: warning: ignoring return value of â€-Wunused-result][]] 17 | #define sockw(x) write(fd,x,strlen(x)); | ~~~~~^~~~~~~~~~~~~~~~ ftp.cpp:117:3: note: in expansion of macro ‘sockw’ 117 | sockw("LIST -lAR\r\n"); | ^~~~~ ftp.cpp:17:23: warning: ignoring return value of â€-Wunused-result][]] 17 | #define sockw(x) write(fd,x,strlen(x)); | ~~~~~^~~~~~~~~~~~~~~~ ftp.cpp:140:3: note: in expansion of macro ‘sockw’ 140 | sockw("QUIT\r\n"); | ^~~~~ In file included from ../nsat.h:49, from www.cpp:29: www.cpp: In function ‘void http_get(char*, char*, sockaddr_in*, int)’: ../lang.h:80:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 80 | #define L_CGI "cgi.log" | ^~~~~~~~~ www.cpp:234:18: note: in expansion of macro ‘L_CGI’ 234 | Logger.msg(L_CGI, I_WWW, whost, "- %s", file); | ^~~~~ ../lang.h:199:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 199 | #define I_WWW " [http] " | ^~~~~~~~~~~~~~ www.cpp:234:25: note: in expansion of macro ‘I_WWW’ 234 | Logger.msg(L_CGI, I_WWW, whost, "- %s", file); | ^~~~~ www.cpp:234:39: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 234 | Logger.msg(L_CGI, I_WWW, whost, "- %s", file); | ^~~~~~ functions.cpp:347:12: warning: ignoring return value of â€-Wunused-result][]] 347 | write(fd, file_max, strlen(file_max)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: AuditSet.cpp: In member function ‘void AuditSet::plog(int)’: lang.h:56:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 56 | #define L_PORTS "ports.log" | ^~~~~~~~~~~ AuditSet.cpp:299:18: note: in expansion of macro ‘L_PORTS’ 299 | Logger.msg(L_PORTS, I_PORTL, Hostname(), "- %u %s", ntohs(sin.sin_port), (char *) (vuln ? M_DANGEROUS_SVC : "")); | ^~~~~~~ lang.h:201:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 201 | #define I_PORTL " [port] " | ^~~~~~~~~~~~~~ AuditSet.cpp:299:27: note: in expansion of macro ‘I_PORTL’ 299 | Logger.msg(L_PORTS, I_PORTL, Hostname(), "- %u %s", ntohs(sin.sin_port), (char *) (vuln ? M_DANGEROUS_SVC : "")); | ^~~~~~~ AuditSet.cpp:299:48: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 299 | Logger.msg(L_PORTS, I_PORTL, Hostname(), "- %u %s", ntohs(sin.sin_port), (char *) (vuln ? M_DANGEROUS_SVC : "")); | ^~~~~~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: lang.h:56:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 56 | #define L_PORTS "ports.log" | ^~~~~~~~~~~ AuditSet.cpp:303:18: note: in expansion of macro ‘L_PORTS’ 303 | Logger.msg(L_PORTS, I_PORTL, Hostname(), "- %s %s", desc, (char *) (vuln ? M_DANGEROUS_SVC : "")); | ^~~~~~~ lang.h:201:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 201 | #define I_PORTL " [port] " | ^~~~~~~~~~~~~~ AuditSet.cpp:303:27: note: in expansion of macro ‘I_PORTL’ 303 | Logger.msg(L_PORTS, I_PORTL, Hostname(), "- %s %s", desc, (char *) (vuln ? M_DANGEROUS_SVC : "")); | ^~~~~~~ AuditSet.cpp:303:48: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 303 | Logger.msg(L_PORTS, I_PORTL, Hostname(), "- %s %s", desc, (char *) (vuln ? M_DANGEROUS_SVC : "")); | ^~~~~~~~~ x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -DLINUX -DNETGROUP -DALLOW_CHANGE_PASSWORD -DFAST_SHARE_MODES -DNO_ASMSIGNALH -DGLIBC2 -DSMB_PASSWD=\"\" -DSMB_PASSWD_FILE=\"\" -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c ./rpc_pipes/ntclientnet.c -o ./rpc_pipes/ntclientnet.o In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: AuditSet.cpp: In member function ‘void AuditSet::nstat(int)’: lang.h:56:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 56 | #define L_PORTS "ports.log" | ^~~~~~~~~~~ AuditSet.cpp:316:14: note: in expansion of macro ‘L_PORTS’ 316 | Logger.msg(L_PORTS, I_PORTL, Hostname(), "- %s", I_NETSTAT); | ^~~~~~~ lang.h:201:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 201 | #define I_PORTL " [port] " | ^~~~~~~~~~~~~~ AuditSet.cpp:316:23: note: in expansion of macro ‘I_PORTL’ 316 | Logger.msg(L_PORTS, I_PORTL, Hostname(), "- %s", I_NETSTAT); | ^~~~~~~ AuditSet.cpp:316:44: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 316 | Logger.msg(L_PORTS, I_PORTL, Hostname(), "- %s", I_NETSTAT); | ^~~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: lang.h:73:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 73 | #define L_NETSTAT "netstat.log" | ^~~~~~~~~~~~~ AuditSet.cpp:332:14: note: in expansion of macro ‘L_NETSTAT’ 332 | Logger.msg(L_NETSTAT, I_NSTAT, Hostname(), "- %s", b); | ^~~~~~~~~ lang.h:200:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 200 | #define I_NSTAT " [netstat] " | ^~~~~~~~~~~~~~ AuditSet.cpp:332:25: note: in expansion of macro ‘I_NSTAT’ 332 | Logger.msg(L_NETSTAT, I_NSTAT, Hostname(), "- %s", b); | ^~~~~~~ AuditSet.cpp:332:46: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 332 | Logger.msg(L_NETSTAT, I_NSTAT, Hostname(), "- %s", b); | ^~~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: AuditSet.cpp: In member function ‘void AuditSet::ftp(int)’: lang.h:57:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 57 | #define L_FTP "ftp.log" | ^~~~~~~~~ AuditSet.cpp:346:22: note: in expansion of macro ‘L_FTP’ 346 | Logger.msg(L_FTP, I_FTP, Hostname(), "- ftp (banner timeout)"); | ^~~~~ lang.h:202:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 202 | #define I_FTP " [ftp] " | ^~~~~~~~~~~~~~ AuditSet.cpp:346:29: note: in expansion of macro ‘I_FTP’ 346 | Logger.msg(L_FTP, I_FTP, Hostname(), "- ftp (banner timeout)"); | ^~~~~ AuditSet.cpp:346:48: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 346 | Logger.msg(L_FTP, I_FTP, Hostname(), "- ftp (banner timeout)"); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: lang.h:57:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 57 | #define L_FTP "ftp.log" | ^~~~~~~~~ AuditSet.cpp:351:18: note: in expansion of macro ‘L_FTP’ 351 | Logger.msg(L_FTP, I_FTP, Hostname(), "- %s", b); | ^~~~~ lang.h:202:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 202 | #define I_FTP " [ftp] " | ^~~~~~~~~~~~~~ AuditSet.cpp:351:25: note: in expansion of macro ‘I_FTP’ 351 | Logger.msg(L_FTP, I_FTP, Hostname(), "- %s", b); | ^~~~~ AuditSet.cpp:351:44: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 351 | Logger.msg(L_FTP, I_FTP, Hostname(), "- %s", b); | ^~~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: AuditSet.cpp: In member function ‘void AuditSet::ssh(int)’: lang.h:58:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 58 | #define L_SSH "ssh.log" | ^~~~~~~~~ AuditSet.cpp:366:18: note: in expansion of macro ‘L_SSH’ 366 | Logger.msg(L_SSH, I_SSH, Hostname(), "- ssh (banner timeout)"); | ^~~~~ lang.h:203:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 203 | #define I_SSH " [ssh] " | ^~~~~~~~~~~~~~ AuditSet.cpp:366:25: note: in expansion of macro ‘I_SSH’ 366 | Logger.msg(L_SSH, I_SSH, Hostname(), "- ssh (banner timeout)"); | ^~~~~ AuditSet.cpp:366:44: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 366 | Logger.msg(L_SSH, I_SSH, Hostname(), "- ssh (banner timeout)"); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: lang.h:58:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 58 | #define L_SSH "ssh.log" | ^~~~~~~~~ AuditSet.cpp:373:14: note: in expansion of macro ‘L_SSH’ 373 | Logger.msg(L_SSH, I_SSH, Hostname(), "- %s", b); | ^~~~~ lang.h:203:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 203 | #define I_SSH " [ssh] " | ^~~~~~~~~~~~~~ AuditSet.cpp:373:21: note: in expansion of macro ‘I_SSH’ 373 | Logger.msg(L_SSH, I_SSH, Hostname(), "- %s", b); | ^~~~~ AuditSet.cpp:373:40: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 373 | Logger.msg(L_SSH, I_SSH, Hostname(), "- %s", b); | ^~~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: AuditSet.cpp: In member function ‘void AuditSet::telnet(int)’: lang.h:59:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 59 | #define L_TELNET "telnet.log" | ^~~~~~~~~~~~ AuditSet.cpp:384:18: note: in expansion of macro ‘L_TELNET’ 384 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- telnet"); | ^~~~~~~~ lang.h:198:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 198 | #define I_TELNET " [telnet] " | ^~~~~~~~~~~~~~ AuditSet.cpp:384:28: note: in expansion of macro ‘I_TELNET’ 384 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- telnet"); | ^~~~~~~~ AuditSet.cpp:384:50: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 384 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- telnet"); | ^~~~~~~~~~ AuditSet.cpp:421:6: warning: this â€-Wmisleading-indentation][]] 421 | for(int i=0;i<5120;i++) | ^~~ AuditSet.cpp:424:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 424 | write(s, sndbuf, strlen(sndbuf)); | ^~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: lang.h:59:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 59 | #define L_TELNET "telnet.log" | ^~~~~~~~~~~~ AuditSet.cpp:428:28: note: in expansion of macro ‘L_TELNET’ 428 | Logger.msg(L_TELNET, I_TELNET, Hostname(), I_TELNETAYT); | ^~~~~~~~ lang.h:198:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 198 | #define I_TELNET " [telnet] " | ^~~~~~~~~~~~~~ AuditSet.cpp:428:38: note: in expansion of macro ‘I_TELNET’ 428 | Logger.msg(L_TELNET, I_TELNET, Hostname(), I_TELNETAYT); | ^~~~~~~~ lang.h:181:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 181 | #define I_TELNETAYT " - telnet vulnerable to remote overflow exploits!" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lang.h:181:25: note: in definition of macro ‘I_TELNETAYT’ 181 | #define I_TELNETAYT " - telnet vulnerable to remote overflow exploits!" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lang.h:59:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 59 | #define L_TELNET "telnet.log" | ^~~~~~~~~~~~ AuditSet.cpp:438:18: note: in expansion of macro ‘L_TELNET’ 438 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- ALL:ALL in hosts.deny?"); | ^~~~~~~~ lang.h:198:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 198 | #define I_TELNET " [telnet] " | ^~~~~~~~~~~~~~ AuditSet.cpp:438:28: note: in expansion of macro ‘I_TELNET’ 438 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- ALL:ALL in hosts.deny?"); | ^~~~~~~~ AuditSet.cpp:438:50: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 438 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- ALL:ALL in hosts.deny?"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: lang.h:59:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 59 | #define L_TELNET "telnet.log" | ^~~~~~~~~~~~ AuditSet.cpp:443:18: note: in expansion of macro ‘L_TELNET’ 443 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- IRIX"); | ^~~~~~~~ lang.h:198:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 198 | #define I_TELNET " [telnet] " | ^~~~~~~~~~~~~~ AuditSet.cpp:443:28: note: in expansion of macro ‘I_TELNET’ 443 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- IRIX"); | ^~~~~~~~ AuditSet.cpp:443:50: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 443 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- IRIX"); | ^~~~~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: lang.h:59:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 59 | #define L_TELNET "telnet.log" | ^~~~~~~~~~~~ AuditSet.cpp:448:18: note: in expansion of macro ‘L_TELNET’ 448 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- System V banner"); | ^~~~~~~~ lang.h:198:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 198 | #define I_TELNET " [telnet] " | ^~~~~~~~~~~~~~ AuditSet.cpp:448:28: note: in expansion of macro ‘I_TELNET’ 448 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- System V banner"); | ^~~~~~~~ AuditSet.cpp:448:50: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 448 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- System V banner"); | ^~~~~~~~~~~~~~~~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: lang.h:59:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 59 | #define L_TELNET "telnet.log" | ^~~~~~~~~~~~ AuditSet.cpp:453:18: note: in expansion of macro ‘L_TELNET’ 453 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- Solaris"); | ^~~~~~~~ lang.h:198:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 198 | #define I_TELNET " [telnet] " | ^~~~~~~~~~~~~~ AuditSet.cpp:453:28: note: in expansion of macro ‘I_TELNET’ 453 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- Solaris"); | ^~~~~~~~ AuditSet.cpp:453:50: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 453 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- Solaris"); | ^~~~~~~~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: lang.h:59:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 59 | #define L_TELNET "telnet.log" | ^~~~~~~~~~~~ AuditSet.cpp:458:18: note: in expansion of macro ‘L_TELNET’ 458 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- SunOS"); | ^~~~~~~~ lang.h:198:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 198 | #define I_TELNET " [telnet] " | ^~~~~~~~~~~~~~ AuditSet.cpp:458:28: note: in expansion of macro ‘I_TELNET’ 458 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- SunOS"); | ^~~~~~~~ AuditSet.cpp:458:50: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 458 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- SunOS"); | ^~~~~~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: lang.h:59:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 59 | #define L_TELNET "telnet.log" | ^~~~~~~~~~~~ AuditSet.cpp:463:18: note: in expansion of macro ‘L_TELNET’ 463 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- Open WinGate"); | ^~~~~~~~ lang.h:198:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 198 | #define I_TELNET " [telnet] " | ^~~~~~~~~~~~~~ AuditSet.cpp:463:28: note: in expansion of macro ‘I_TELNET’ 463 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- Open WinGate"); | ^~~~~~~~ AuditSet.cpp:463:50: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 463 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- Open WinGate"); | ^~~~~~~~~~~~~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: lang.h:59:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 59 | #define L_TELNET "telnet.log" | ^~~~~~~~~~~~ AuditSet.cpp:468:18: note: in expansion of macro ‘L_TELNET’ 468 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- RedHat Linux"); | ^~~~~~~~ lang.h:198:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 198 | #define I_TELNET " [telnet] " | ^~~~~~~~~~~~~~ AuditSet.cpp:468:28: note: in expansion of macro ‘I_TELNET’ 468 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- RedHat Linux"); | ^~~~~~~~ AuditSet.cpp:468:50: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 468 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- RedHat Linux"); | ^~~~~~~~~~~~~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: lang.h:59:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 59 | #define L_TELNET "telnet.log" | ^~~~~~~~~~~~ AuditSet.cpp:473:18: note: in expansion of macro ‘L_TELNET’ 473 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- SuSE Linux"); | ^~~~~~~~ lang.h:198:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 198 | #define I_TELNET " [telnet] " | ^~~~~~~~~~~~~~ AuditSet.cpp:473:28: note: in expansion of macro ‘I_TELNET’ 473 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- SuSE Linux"); | ^~~~~~~~ AuditSet.cpp:473:50: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 473 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- SuSE Linux"); | ^~~~~~~~~~~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: lang.h:59:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 59 | #define L_TELNET "telnet.log" | ^~~~~~~~~~~~ AuditSet.cpp:478:18: note: in expansion of macro ‘L_TELNET’ 478 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- Slackware Linux"); | ^~~~~~~~ lang.h:198:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 198 | #define I_TELNET " [telnet] " | ^~~~~~~~~~~~~~ AuditSet.cpp:478:28: note: in expansion of macro ‘I_TELNET’ 478 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- Slackware Linux"); | ^~~~~~~~ AuditSet.cpp:478:50: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 478 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- Slackware Linux"); | ^~~~~~~~~~~~~~~~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: lang.h:59:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 59 | #define L_TELNET "telnet.log" | ^~~~~~~~~~~~ AuditSet.cpp:483:18: note: in expansion of macro ‘L_TELNET’ 483 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- Debian Linux"); | ^~~~~~~~ lang.h:198:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 198 | #define I_TELNET " [telnet] " | ^~~~~~~~~~~~~~ AuditSet.cpp:483:28: note: in expansion of macro ‘I_TELNET’ 483 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- Debian Linux"); | ^~~~~~~~ AuditSet.cpp:483:50: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 483 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- Debian Linux"); | ^~~~~~~~~~~~~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: lang.h:59:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 59 | #define L_TELNET "telnet.log" | ^~~~~~~~~~~~ AuditSet.cpp:488:18: note: in expansion of macro ‘L_TELNET’ 488 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- Linux"); | ^~~~~~~~ lang.h:198:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 198 | #define I_TELNET " [telnet] " | ^~~~~~~~~~~~~~ AuditSet.cpp:488:28: note: in expansion of macro ‘I_TELNET’ 488 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- Linux"); | ^~~~~~~~ AuditSet.cpp:488:50: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 488 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- Linux"); | ^~~~~~~~~ rpc.cpp: In function ‘void nfsscan(long unsigned int)’: ../lang.h:72:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 72 | #define L_EXPORTS "exports.log" | ^~~~~~~~~~~~~ rpc.cpp:70:22: note: in expansion of macro ‘L_EXPORTS’ 70 | Logger.msg(L_EXPORTS, I_RPC, inet_ntoa(x), "%s %s", I_NFS1, exportz->ml_directory); | ^~~~~~~~~ ../lang.h:195:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 195 | #define I_RPC " [rpc] " | ^~~~~~~~~~~~~~ rpc.cpp:70:33: note: in expansion of macro ‘I_RPC’ 70 | Logger.msg(L_EXPORTS, I_RPC, inet_ntoa(x), "%s %s", I_NFS1, exportz->ml_directory); | ^~~~~ rpc.cpp:70:54: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 70 | Logger.msg(L_EXPORTS, I_RPC, inet_ntoa(x), "%s %s", I_NFS1, exportz->ml_directory); | ^~~~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: lang.h:59:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 59 | #define L_TELNET "telnet.log" | ^~~~~~~~~~~~ AuditSet.cpp:493:18: note: in expansion of macro ‘L_TELNET’ 493 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- FreeBSD"); | ^~~~~~~~ lang.h:198:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 198 | #define I_TELNET " [telnet] " | ^~~~~~~~~~~~~~ AuditSet.cpp:493:28: note: in expansion of macro ‘I_TELNET’ 493 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- FreeBSD"); | ^~~~~~~~ AuditSet.cpp:493:50: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 493 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- FreeBSD"); | ^~~~~~~~~~~ In file included from ../nsat.h:49, from rpc.cpp:29: ../lang.h:72:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 72 | #define L_EXPORTS "exports.log" | ^~~~~~~~~~~~~ rpc.cpp:74:22: note: in expansion of macro ‘L_EXPORTS’ 74 | Logger.msg(L_EXPORTS, I_RPC, inet_ntoa(x), "%s %s %s", I_NFS2, exportz->ml_hostname, exportz->ml_directory); | ^~~~~~~~~ ../lang.h:195:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 195 | #define I_RPC " [rpc] " | ^~~~~~~~~~~~~~ rpc.cpp:74:33: note: in expansion of macro ‘I_RPC’ 74 | Logger.msg(L_EXPORTS, I_RPC, inet_ntoa(x), "%s %s %s", I_NFS2, exportz->ml_hostname, exportz->ml_directory); | ^~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: lang.h:59:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 59 | #define L_TELNET "telnet.log" | ^~~~~~~~~~~~ AuditSet.cpp:498:18: note: in expansion of macro ‘L_TELNET’ 498 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- FreeBSD"); | ^~~~~~~~ rpc.cpp:74:54: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 74 | Logger.msg(L_EXPORTS, I_RPC, inet_ntoa(x), "%s %s %s", I_NFS2, exportz->ml_hostname, exportz->ml_directory); | ^~~~~~~~~~ lang.h:198:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 198 | #define I_TELNET " [telnet] " | ^~~~~~~~~~~~~~ AuditSet.cpp:498:28: note: in expansion of macro ‘I_TELNET’ 498 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- FreeBSD"); | ^~~~~~~~ AuditSet.cpp:498:50: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 498 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- FreeBSD"); | ^~~~~~~~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: lang.h:59:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 59 | #define L_TELNET "telnet.log" | ^~~~~~~~~~~~ AuditSet.cpp:503:18: note: in expansion of macro ‘L_TELNET’ 503 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- OpenBSD"); | ^~~~~~~~ lang.h:198:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 198 | #define I_TELNET " [telnet] " | ^~~~~~~~~~~~~~ AuditSet.cpp:503:28: note: in expansion of macro ‘I_TELNET’ 503 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- OpenBSD"); | ^~~~~~~~ AuditSet.cpp:503:50: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 503 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- OpenBSD"); | ^~~~~~~~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: lang.h:59:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 59 | #define L_TELNET "telnet.log" | ^~~~~~~~~~~~ AuditSet.cpp:508:18: note: in expansion of macro ‘L_TELNET’ 508 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- BSDi"); | ^~~~~~~~ lang.h:198:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 198 | #define I_TELNET " [telnet] " | ^~~~~~~~~~~~~~ AuditSet.cpp:508:28: note: in expansion of macro ‘I_TELNET’ 508 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- BSDi"); | ^~~~~~~~ AuditSet.cpp:508:50: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 508 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- BSDi"); | ^~~~~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: lang.h:59:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 59 | #define L_TELNET "telnet.log" | ^~~~~~~~~~~~ AuditSet.cpp:513:18: note: in expansion of macro ‘L_TELNET’ 513 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- BSD"); | ^~~~~~~~ lang.h:198:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 198 | #define I_TELNET " [telnet] " | ^~~~~~~~~~~~~~ AuditSet.cpp:513:28: note: in expansion of macro ‘I_TELNET’ 513 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- BSD"); | ^~~~~~~~ AuditSet.cpp:513:50: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 513 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- BSD"); | ^~~~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: lang.h:59:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 59 | #define L_TELNET "telnet.log" | ^~~~~~~~~~~~ AuditSet.cpp:518:18: note: in expansion of macro ‘L_TELNET’ 518 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- Cisco IOS"); | ^~~~~~~~ lang.h:198:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 198 | #define I_TELNET " [telnet] " | ^~~~~~~~~~~~~~ AuditSet.cpp:518:28: note: in expansion of macro ‘I_TELNET’ 518 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- Cisco IOS"); | ^~~~~~~~ AuditSet.cpp:518:50: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 518 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- Cisco IOS"); | ^~~~~~~~~~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: lang.h:59:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 59 | #define L_TELNET "telnet.log" | ^~~~~~~~~~~~ AuditSet.cpp:523:18: note: in expansion of macro ‘L_TELNET’ 523 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- SCO UNIX"); | ^~~~~~~~ lang.h:198:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 198 | #define I_TELNET " [telnet] " | ^~~~~~~~~~~~~~ AuditSet.cpp:523:28: note: in expansion of macro ‘I_TELNET’ 523 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- SCO UNIX"); | ^~~~~~~~ AuditSet.cpp:523:50: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 523 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- SCO UNIX"); | ^~~~~~~~~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: lang.h:59:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 59 | #define L_TELNET "telnet.log" | ^~~~~~~~~~~~ AuditSet.cpp:528:18: note: in expansion of macro ‘L_TELNET’ 528 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- OpenVMS/VAX"); | ^~~~~~~~ lang.h:198:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 198 | #define I_TELNET " [telnet] " | ^~~~~~~~~~~~~~ AuditSet.cpp:528:28: note: in expansion of macro ‘I_TELNET’ 528 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- OpenVMS/VAX"); | ^~~~~~~~ AuditSet.cpp:528:50: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 528 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- OpenVMS/VAX"); | ^~~~~~~~~~~~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: lang.h:59:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 59 | #define L_TELNET "telnet.log" | ^~~~~~~~~~~~ AuditSet.cpp:533:18: note: in expansion of macro ‘L_TELNET’ 533 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- HP-UX"); | ^~~~~~~~ lang.h:198:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 198 | #define I_TELNET " [telnet] " | ^~~~~~~~~~~~~~ AuditSet.cpp:533:28: note: in expansion of macro ‘I_TELNET’ 533 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- HP-UX"); | ^~~~~~~~ AuditSet.cpp:533:50: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 533 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- HP-UX"); | ^~~~~~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: lang.h:59:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 59 | #define L_TELNET "telnet.log" | ^~~~~~~~~~~~ AuditSet.cpp:538:18: note: in expansion of macro ‘L_TELNET’ 538 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- NeXT"); | ^~~~~~~~ rpc.cpp: At global scope: rpc.cpp:95:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 95 | {100013, "3270_mapper", 0}, | ^~~~~~~~~~~~~ lang.h:198:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 198 | #define I_TELNET " [telnet] " | ^~~~~~~~~~~~~~ AuditSet.cpp:538:28: note: in expansion of macro ‘I_TELNET’ 538 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- NeXT"); | ^~~~~~~~ AuditSet.cpp:538:50: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 538 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- NeXT"); | ^~~~~~~~ rpc.cpp:96:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 96 | {100062, "NETlicense", 0}, | ^~~~~~~~~~~~ rpc.cpp:97:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 97 | {100109, "activity [SunNet Manager]", 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ rpc.cpp:98:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 98 | {100087, "admind", 0}, | ^~~~~~~~ rpc.cpp:99:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 99 | {100018, "alis", 0}, | ^~~~~~ rpc.cpp:100:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 100 | {300019, "amd [amq]", 1}, | ^~~~~~~~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: lang.h:59:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 59 | #define L_TELNET "telnet.log" | ^~~~~~~~~~~~ AuditSet.cpp:543:18: note: in expansion of macro ‘L_TELNET’ 543 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- DG-UNIX"); | ^~~~~~~~ rpc.cpp:101:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 101 | {390600, "arserverd [Remedy AR System daemons]", 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rpc.cpp:102:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 102 | {390604, "arservtcd", 0}, | ^~~~~~~~~~~ lang.h:198:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 198 | #define I_TELNET " [telnet] " | ^~~~~~~~~~~~~~ AuditSet.cpp:543:28: note: in expansion of macro ‘I_TELNET’ 543 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- DG-UNIX"); | ^~~~~~~~ rpc.cpp:103:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 103 | {395176, "aseagent", 0}, | ^~~~~~~~~~ AuditSet.cpp:543:50: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 543 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- DG-UNIX"); | ^~~~~~~~~~~ rpc.cpp:104:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 104 | {395175, "asedirector", 0}, | ^~~~~~~~~~~~~ rpc.cpp:105:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 105 | {395177, "asehsm", 0}, | ^~~~~~~~ rpc.cpp:106:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 106 | {395179, "aselogger", 0}, | ^~~~~~~~~~~ rpc.cpp:107:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 107 | {100099, "autofsd", 0}, | ^~~~~~~~~ rpc.cpp:108:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 108 | {100026, "bootparamd", 1}, | ^~~~~~~~~~~~ rpc.cpp:109:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 109 | {300433, "bssd", 0}, | ^~~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: lang.h:59:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 59 | #define L_TELNET "telnet.log" | ^~~~~~~~~~~~ AuditSet.cpp:548:18: note: in expansion of macro ‘L_TELNET’ 548 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- Radius or router"); | ^~~~~~~~ rpc.cpp:110:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 110 | {100071, "bugtraqd", 0}, | ^~~~~~~~~~ lang.h:198:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 198 | #define I_TELNET " [telnet] " | ^~~~~~~~~~~~~~ AuditSet.cpp:548:28: note: in expansion of macro ‘I_TELNET’ 548 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- Radius or router"); | ^~~~~~~~ rpc.cpp:111:15: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 111 | {545580417, "bwnfsd", 0}, | ^~~~~~~~ AuditSet.cpp:548:50: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 548 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- Radius or router"); | ^~~~~~~~~~~~~~~~~~~~ rpc.cpp:112:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 112 | {100235, "cachefsd", 0}, | ^~~~~~~~~~ rpc.cpp:113:15: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 113 | {824395111, "cfsd", 0}, | ^~~~~~ rpc.cpp:114:16: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 114 | {1092830567, "cfsd", 0}, | ^~~~~~ rpc.cpp:115:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 115 | {300527, "cluinfod [Cluster Information Server]", 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rpc.cpp:116:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 116 | {100068, "cmsd [dtcalendar]", 1}, | ^~~~~~~~~~~~~~~~~~~ rpc.cpp:117:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 117 | {300484, "cnxagentd [Cluster Agent]", 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: lang.h:59:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 59 | #define L_TELNET "telnet.log" | ^~~~~~~~~~~~ AuditSet.cpp:553:18: note: in expansion of macro ‘L_TELNET’ 553 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- Ascend router"); | ^~~~~~~~ rpc.cpp:118:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 118 | {300483, "cnxmond [Cluster Node Monitor]", 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rpc.cpp:119:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 119 | {100016, "database_svc", 0}, | ^~~~~~~~~~~~~~ lang.h:198:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 198 | #define I_TELNET " [telnet] " | ^~~~~~~~~~~~~~ AuditSet.cpp:553:28: note: in expansion of macro ‘I_TELNET’ 553 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- Ascend router"); | ^~~~~~~~ rpc.cpp:120:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 120 | {100066, "debug_svc [dbsrv]", 0}, | ^~~~~~~~~~~~~~~~~~~ AuditSet.cpp:553:50: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 553 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- Ascend router"); | ^~~~~~~~~~~~~~~~~ rpc.cpp:121:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 121 | {100105, "diskinfo [SunNet Manager]", 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ rpc.cpp:122:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 122 | {300598, "dmispd", 0}, | ^~~~~~~~ rpc.cpp:123:15: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 123 | {805306368, "dmispd", 0}, | ^~~~~~~~ rpc.cpp:124:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 124 | {300434, "drdd", 0}, | ^~~~~~ rpc.cpp:125:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 125 | {100118, "etherif", 0}, | ^~~~~~~~~ rpc.cpp:126:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 126 | {100135, "etherif2 [SunNet Manager]", 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: lang.h:59:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 59 | #define L_TELNET "telnet.log" | ^~~~~~~~~~~~ AuditSet.cpp:558:18: note: in expansion of macro ‘L_TELNET’ 558 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- Router password prompt"); | ^~~~~~~~ rpc.cpp:127:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 127 | {100010, "etherstatd", 0}, | ^~~~~~~~~~~~ lang.h:198:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 198 | #define I_TELNET " [telnet] " | ^~~~~~~~~~~~~~ AuditSet.cpp:558:28: note: in expansion of macro ‘I_TELNET’ 558 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- Router password prompt"); | ^~~~~~~~ rpc.cpp:128:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 128 | {100101, "event [SunNet Manager]", 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~ rpc.cpp:129:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 129 | {200023, "exportmap", 0}, | ^~~~~~~~~~~ AuditSet.cpp:558:50: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 558 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- Router password prompt"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ rpc.cpp:130:15: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 130 | {600100069, "fypxfrd [FreeBSD YPXFRd]", 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ rpc.cpp:131:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 131 | {100117, "hostif", 0}, | ^~~~~~~~ rpc.cpp:132:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 132 | {100112, "hostmem", 0}, | ^~~~~~~~~ rpc.cpp:133:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 133 | {100136, "hostmem2 [SunNet Manager]", 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ rpc.cpp:134:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 134 | {100107, "hostperf", 0}, | ^~~~~~~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: lang.h:59:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 59 | #define L_TELNET "telnet.log" | ^~~~~~~~~~~~ AuditSet.cpp:563:18: note: in expansion of macro ‘L_TELNET’ 563 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- Unknown proxy (\"telnet\" prompt)"); | ^~~~~~~~ rpc.cpp:135:15: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 135 | {555555555, "inetray", 0}, | ^~~~~~~~~ rpc.cpp:136:15: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 136 | {555555556, "inetray", 0}, | ^~~~~~~~~ lang.h:198:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 198 | #define I_TELNET " [telnet] " | ^~~~~~~~~~~~~~ AuditSet.cpp:563:28: note: in expansion of macro ‘I_TELNET’ 563 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- Unknown proxy (\"telnet\" prompt)"); | ^~~~~~~~ rpc.cpp:137:15: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 137 | {555555557, "inetray", 0}, | ^~~~~~~~~ AuditSet.cpp:563:50: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 563 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- Unknown proxy (\"telnet\" prompt)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rpc.cpp:138:15: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 138 | {555555558, "inetray", 0}, | ^~~~~~~~~ rpc.cpp:139:15: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 139 | {555555559, "inetray", 0}, | ^~~~~~~~~ rpc.cpp:140:15: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 140 | {555555560, "inetray", 0}, | ^~~~~~~~~ rpc.cpp:141:15: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 141 | {555555554, "inetray.start", 0}, | ^~~~~~~~~~~~~~~ rpc.cpp:142:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 142 | {100055, "ioadmd", 0}, | ^~~~~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: lang.h:59:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 59 | #define L_TELNET "telnet.log" | ^~~~~~~~~~~~ AuditSet.cpp:568:18: note: in expansion of macro ‘L_TELNET’ 568 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- Unknown proxy (\"gate\" prompt)"); | ^~~~~~~~ rpc.cpp:143:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 143 | {100106, "iostat", 0}, | ^~~~~~~~ lang.h:198:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 198 | #define I_TELNET " [telnet] " | ^~~~~~~~~~~~~~ AuditSet.cpp:568:28: note: in expansion of macro ‘I_TELNET’ 568 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- Unknown proxy (\"gate\" prompt)"); | ^~~~~~~~ rpc.cpp:144:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 144 | {100137, "iostat2 [SunNet Manager", 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:568:50: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 568 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- Unknown proxy (\"gate\" prompt)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rpc.cpp:145:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 145 | {100119, "ippath [SunNet Manager]", 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~ rpc.cpp:146:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 146 | {100120, "iproutes", 0}, | ^~~~~~~~~~ rpc.cpp:147:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 147 | {100221, "kcms", 0}, | ^~~~~~ rpc.cpp:148:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 148 | {100078, "kerbd [Kerberos]", 0}, | ^~~~~~~~~~~~~~~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: lang.h:59:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 59 | #define L_TELNET "telnet.log" | ^~~~~~~~~~~~ AuditSet.cpp:573:18: note: in expansion of macro ‘L_TELNET’ 573 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- Unknown (\"login\" prompt)"); | ^~~~~~~~ rpc.cpp:149:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 149 | {100029, "keyserv", 0}, | ^~~~~~~~~ rpc.cpp:150:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 150 | {100121, "layers", 0}, | ^~~~~~~~ lang.h:198:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 198 | #define I_TELNET " [telnet] " | ^~~~~~~~~~~~~~ AuditSet.cpp:573:28: note: in expansion of macro ‘I_TELNET’ 573 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- Unknown (\"login\" prompt)"); | ^~~~~~~~ rpc.cpp:151:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 151 | {100131, "layers2 [SunNet Manager]", 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:573:50: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 573 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- Unknown (\"login\" prompt)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rpc.cpp:152:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 152 | {100020, "llockmgr", 0}, | ^~~~~~~~~~ rpc.cpp:153:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 153 | {100102, "logger [SunNet Manager]", 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~ rpc.cpp:154:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 154 | {100111, "lpstat [SunNet Manager]", 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~ rpc.cpp:155:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 155 | {100229, "metad", 0}, | ^~~~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: lang.h:59:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 59 | #define L_TELNET "telnet.log" | ^~~~~~~~~~~~ AuditSet.cpp:578:18: note: in expansion of macro ‘L_TELNET’ 578 | Logger.msg(L_TELNET, I_TELNET, Hostname(), I_UNKNOWN); | ^~~~~~~~ rpc.cpp:156:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 156 | {100230, "metamhd", 0}, | ^~~~~~~~~ rpc.cpp:157:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 157 | {100005, "mountd", 1}, | ^~~~~~~~ lang.h:198:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 198 | #define I_TELNET " [telnet] " | ^~~~~~~~~~~~~~ AuditSet.cpp:578:28: note: in expansion of macro ‘I_TELNET’ 578 | Logger.msg(L_TELNET, I_TELNET, Hostname(), I_UNKNOWN); | ^~~~~~~~ rpc.cpp:158:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 158 | {120126, "nf_snmd [SunNet Manager]", 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ lang.h:175:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 175 | #define I_UNKNOWN " - UNKNOWN" | ^~~~~~~~~~~~ AuditSet.cpp:578:50: note: in expansion of macro ‘I_UNKNOWN’ 578 | Logger.msg(L_TELNET, I_TELNET, Hostname(), I_UNKNOWN); | ^~~~~~~~~ rpc.cpp:159:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 159 | {120127, "nf_snmd", 0}, | ^~~~~~~~~ rpc.cpp:160:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 160 | {100003, "nfs", 1}, | ^~~~~ rpc.cpp:161:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 161 | {100227, "nfs_acl", 1}, | ^~~~~~~~~ rpc.cpp:162:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 162 | {100301, "nis_cache", 0}, | ^~~~~~~~~~~ rpc.cpp:163:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 163 | {100302, "nis_callback", 0}, | ^~~~~~~~~~~~~~ rpc.cpp:164:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 164 | {100300, "nisd", 1}, | ^~~~~~ lang.h:59:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 59 | #define L_TELNET "telnet.log" | ^~~~~~~~~~~~ AuditSet.cpp:582:18: note: in expansion of macro ‘L_TELNET’ 582 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "<< %s >>", b); | ^~~~~~~~ rpc.cpp:165:16: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 165 | {1073741824, "nisd_resolv", 0}, | ^~~~~~~~~~~~~ lang.h:198:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 198 | #define I_TELNET " [telnet] " | ^~~~~~~~~~~~~~ AuditSet.cpp:582:28: note: in expansion of macro ‘I_TELNET’ 582 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "<< %s >>", b); | ^~~~~~~~ rpc.cpp:166:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 166 | {100303, "nispasswd", 0}, | ^~~~~~~~~~~ AuditSet.cpp:582:50: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 582 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "<< %s >>", b); | ^~~~~~~~~~ rpc.cpp:167:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 167 | {100021, "nlockmgr", 1}, | ^~~~~~~~~~ rpc.cpp:168:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 168 | {100038, "nsed", 0}, | ^~~~~~ rpc.cpp:169:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 169 | {100039, "nsemntd", 0}, | ^~~~~~~~~ rpc.cpp:170:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 170 | {390601, "ntserverd", 0}, | ^~~~~~~~~~~ rpc.cpp:171:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 171 | {150001, "pcnfsd", 1}, | ^~~~~~~~ rpc.cpp:172:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 172 | {100115, "ping", 0}, | ^~~~~~ rpc.cpp:173:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 173 | {100000, "portmap", 0}, | ^~~~~~~~~ rpc.cpp:174:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 174 | {390100, "prestoctl [Prestoserve]", 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~ rpc.cpp:175:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 175 | {300632, "prpasswd", 0}, | ^~~~~~~~~~ rpc.cpp:176:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 176 | {100017, "rexd", 1}, | ^~~~~~ rpc.cpp:177:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 177 | {100014, "rje_mapper", 0}, | ^~~~~~~~~~~~ rpc.cpp:178:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 178 | {100116, "rpcnfs", 0}, | ^~~~~~~~ rpc.cpp:179:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 179 | {100011, "rquotad", 1}, | ^~~~~~~~~ rpc.cpp:180:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 180 | {100001, "rstatd [rstat_svc, rup, perfmeter]", 1}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 236 | }; | ^ rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: AuditSet.cpp: In member function ‘void AuditSet::smtp(int)’: lang.h:60:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 60 | #define L_SMTP "sendmail.log" | ^~~~~~~~~~~~~~ AuditSet.cpp:596:18: note: in expansion of macro ‘L_SMTP’ 596 | Logger.msg(L_SMTP, I_SMTP, Hostname(), " - smtp (banner timeout)"); | ^~~~~~ rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] lang.h:204:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 204 | #define I_SMTP " [smtp] " | ^~~~~~~~~~~~~~ AuditSet.cpp:596:26: note: in expansion of macro ‘I_SMTP’ 596 | Logger.msg(L_SMTP, I_SMTP, Hostname(), " - smtp (banner timeout)"); | ^~~~~~ rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] AuditSet.cpp:596:46: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 596 | Logger.msg(L_SMTP, I_SMTP, Hostname(), " - smtp (banner timeout)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: lang.h:60:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 60 | #define L_SMTP "sendmail.log" | ^~~~~~~~~~~~~~ AuditSet.cpp:601:14: note: in expansion of macro ‘L_SMTP’ 601 | Logger.msg(L_SMTP, I_SMTP, Hostname(), " %s", b); | ^~~~~~ rpc.cpp:236:1: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] lang.h:204:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 204 | #define I_SMTP " [smtp] " | ^~~~~~~~~~~~~~ AuditSet.cpp:601:22: note: in expansion of macro ‘I_SMTP’ 601 | Logger.msg(L_SMTP, I_SMTP, Hostname(), " %s", b); | ^~~~~~ AuditSet.cpp:601:42: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 601 | Logger.msg(L_SMTP, I_SMTP, Hostname(), " %s", b); | ^~~~~ rpc.cpp: In function ‘const char* vulnstate(int)’: rpc.cpp:243:35: warning: comparison with string literal results in unspecified behavior [-Waddress[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Waddress]] 243 | for (n = 0; (rpcentries[n].info != "ypxfrd"); n++) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ rpc.cpp: In function ‘char* getinfo(int)’: rpc.cpp:259:35: warning: comparison with string literal results in unspecified behavior [-Waddress[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Waddress]] 259 | for (n = 0; (rpcentries[n].info != ""); n++) | ~~~~~~~~~~~~~~~~~~~^~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: lang.h:60:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 60 | #define L_SMTP "sendmail.log" | ^~~~~~~~~~~~~~ AuditSet.cpp:635:18: note: in expansion of macro ‘L_SMTP’ 635 | Logger.msg(L_SMTP, I_SMTP, Hostname(), I_EXPN); | ^~~~~~ rpc.cpp:268:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 268 | return "sgi_reserved"; | ^~~~~~~~~~~~~~ lang.h:204:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 204 | #define I_SMTP " [smtp] " | ^~~~~~~~~~~~~~ AuditSet.cpp:635:26: note: in expansion of macro ‘I_SMTP’ 635 | Logger.msg(L_SMTP, I_SMTP, Hostname(), I_EXPN); | ^~~~~~ rpc.cpp:270:12: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 270 | return ""; | ^~ lang.h:176:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 176 | #define I_EXPN " - allows expn" | ^~~~~~~~~~~~~~~~ AuditSet.cpp:635:46: note: in expansion of macro ‘I_EXPN’ 635 | Logger.msg(L_SMTP, I_SMTP, Hostname(), I_EXPN); | ^~~~~~ lang.h:60:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 60 | #define L_SMTP "sendmail.log" | ^~~~~~~~~~~~~~ AuditSet.cpp:649:20: note: in expansion of macro ‘L_SMTP’ 649 | Logger.msg(L_SMTP, I_SMTP, Hostname(), I_VRFY); | ^~~~~~ lang.h:204:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 204 | #define I_SMTP " [smtp] " | ^~~~~~~~~~~~~~ AuditSet.cpp:649:28: note: in expansion of macro ‘I_SMTP’ 649 | Logger.msg(L_SMTP, I_SMTP, Hostname(), I_VRFY); | ^~~~~~ lang.h:177:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 177 | #define I_VRFY " - allows vrfy" | ^~~~~~~~~~~~~~~~ AuditSet.cpp:649:48: note: in expansion of macro ‘I_VRFY’ 649 | Logger.msg(L_SMTP, I_SMTP, Hostname(), I_VRFY); | ^~~~~~ In file included from ../nsat.h:49, from rpc.cpp:29: rpc.cpp: In function ‘void rpccheck(char*)’: ../lang.h:79:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 79 | #define L_RPC "rpc.log" | ^~~~~~~~~ rpc.cpp:305:22: note: in expansion of macro ‘L_RPC’ 305 | Logger.msg(L_RPC, I_RPC, host, "%lu", head->pml_map.pm_prog); | ^~~~~ ../lang.h:195:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 195 | #define I_RPC " [rpc] " | ^~~~~~~~~~~~~~ rpc.cpp:305:29: note: in expansion of macro ‘I_RPC’ 305 | Logger.msg(L_RPC, I_RPC, host, "%lu", head->pml_map.pm_prog); | ^~~~~ rpc.cpp:305:42: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 305 | Logger.msg(L_RPC, I_RPC, host, "%lu", head->pml_map.pm_prog); | ^~~~~ In file included from ../nsat.h:49, from rpc.cpp:29: ../lang.h:79:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 79 | #define L_RPC "rpc.log" | ^~~~~~~~~ rpc.cpp:312:22: note: in expansion of macro ‘L_RPC’ 312 | Logger.msg(L_RPC, I_RPC, host, " - %lu\t%lu\t%s\t%u\t%lu\t%s", | ^~~~~ ../lang.h:195:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 195 | #define I_RPC " [rpc] " | ^~~~~~~~~~~~~~ rpc.cpp:312:29: note: in expansion of macro ‘I_RPC’ 312 | Logger.msg(L_RPC, I_RPC, host, " - %lu\t%lu\t%s\t%u\t%lu\t%s", | ^~~~~ rpc.cpp:312:42: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 312 | Logger.msg(L_RPC, I_RPC, host, " - %lu\t%lu\t%s\t%u\t%lu\t%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lang.h:60:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 60 | #define L_SMTP "sendmail.log" | ^~~~~~~~~~~~~~ AuditSet.cpp:698:18: note: in expansion of macro ‘L_SMTP’ 698 | Logger.msg(L_SMTP, I_SMTP, Hostname(), I_FAKEMAIL); | ^~~~~~ lang.h:204:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 204 | #define I_SMTP " [smtp] " | ^~~~~~~~~~~~~~ AuditSet.cpp:698:26: note: in expansion of macro ‘I_SMTP’ 698 | Logger.msg(L_SMTP, I_SMTP, Hostname(), I_FAKEMAIL); | ^~~~~~ lang.h:178:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 178 | #define I_FAKEMAIL " - allows fakemail" | ^~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:698:46: note: in expansion of macro ‘I_FAKEMAIL’ 698 | Logger.msg(L_SMTP, I_SMTP, Hostname(), I_FAKEMAIL); | ^~~~~~~~~~ lang.h:60:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 60 | #define L_SMTP "sendmail.log" | ^~~~~~~~~~~~~~ AuditSet.cpp:702:18: note: in expansion of macro ‘L_SMTP’ 702 | Logger.msg(L_SMTP, I_SMTP, Hostname(), I_SPAM); | ^~~~~~ lang.h:204:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 204 | #define I_SMTP " [smtp] " | ^~~~~~~~~~~~~~ AuditSet.cpp:702:26: note: in expansion of macro ‘I_SMTP’ 702 | Logger.msg(L_SMTP, I_SMTP, Hostname(), I_SPAM); | ^~~~~~ lang.h:179:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 179 | #define I_SPAM " - allows spam" | ^~~~~~~~~~~~~~~~ AuditSet.cpp:702:46: note: in expansion of macro ‘I_SPAM’ 702 | Logger.msg(L_SMTP, I_SMTP, Hostname(), I_SPAM); | ^~~~~~ In file included from xprobe.h:166, from xp_icmp_infr.c:24: xp_defines.h:29:16: warning: C++11 requires a space between string literal and macro [-Wc++11-compat[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wc++11-compat]] 29 | #define BANNER "X probe ver. "VERSION"\n------------------" | ^ lang.h:60:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 60 | #define L_SMTP "sendmail.log" | ^~~~~~~~~~~~~~ AuditSet.cpp:726:22: note: in expansion of macro ‘L_SMTP’ 726 | Logger.msg(L_SMTP, I_SMTP, Hostname(), I_RPMMAIL); | ^~~~~~ lang.h:204:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 204 | #define I_SMTP " [smtp] " | ^~~~~~~~~~~~~~ AuditSet.cpp:726:30: note: in expansion of macro ‘I_SMTP’ 726 | Logger.msg(L_SMTP, I_SMTP, Hostname(), I_RPMMAIL); | ^~~~~~ lang.h:180:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 180 | #define I_RPMMAIL " - sendmail 8.9 vulnerable to remote rpmmail exploit!" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lang.h:180:25: note: in definition of macro ‘I_RPMMAIL’ 180 | #define I_RPMMAIL " - sendmail 8.9 vulnerable to remote rpmmail exploit!" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from ../libmix++/mix/aes.h:11, from ../libmix++/mix/mix.h:28, from ../nsat.h:40, from www.cpp:29: In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void http_get(char*, char*, sockaddr_in*, int)’ at www.cpp:197:14: /usr/include/bits/string_fortified.h:95:34: warning: â€-Wstringop-truncation][]] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp: In member function ‘void AuditSet::finger(int)’: lang.h:56:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 56 | #define L_PORTS "ports.log" | ^~~~~~~~~~~ AuditSet.cpp:753:18: note: in expansion of macro ‘L_PORTS’ 753 | Logger.msg(L_PORTS, I_PORTL, Hostname(), I_FINGER); | ^~~~~~~ lang.h:201:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 201 | #define I_PORTL " [port] " | ^~~~~~~~~~~~~~ AuditSet.cpp:753:27: note: in expansion of macro ‘I_PORTL’ 753 | Logger.msg(L_PORTS, I_PORTL, Hostname(), I_FINGER); | ^~~~~~~ lang.h:182:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 182 | #define I_FINGER " - finger" | ^~~~~~~~~~~ AuditSet.cpp:753:48: note: in expansion of macro ‘I_FINGER’ 753 | Logger.msg(L_PORTS, I_PORTL, Hostname(), I_FINGER); | ^~~~~~~~ lang.h:56:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 56 | #define L_PORTS "ports.log" | ^~~~~~~~~~~ AuditSet.cpp:765:14: note: in expansion of macro ‘L_PORTS’ 765 | Logger.msg(L_PORTS, I_PORTL, Hostname(), I_FINGER); | ^~~~~~~ lang.h:201:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 201 | #define I_PORTL " [port] " | ^~~~~~~~~~~~~~ AuditSet.cpp:765:23: note: in expansion of macro ‘I_PORTL’ 765 | Logger.msg(L_PORTS, I_PORTL, Hostname(), I_FINGER); | ^~~~~~~ lang.h:182:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 182 | #define I_FINGER " - finger" | ^~~~~~~~~~~ AuditSet.cpp:765:44: note: in expansion of macro ‘I_FINGER’ 765 | Logger.msg(L_PORTS, I_PORTL, Hostname(), I_FINGER); | ^~~~~~~~ lang.h:68:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 68 | #define L_FINGER "finger.log" | ^~~~~~~~~~~~ AuditSet.cpp:774:18: note: in expansion of macro ‘L_FINGER’ 774 | Logger.msg(L_FINGER, I_FING, Hostname(), " - %s", b); | ^~~~~~~~ lang.h:205:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 205 | #define I_FING " [finger] " | ^~~~~~~~~~~~~~ AuditSet.cpp:774:28: note: in expansion of macro ‘I_FING’ 774 | Logger.msg(L_FINGER, I_FING, Hostname(), " - %s", b); | ^~~~~~ AuditSet.cpp:774:48: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 774 | Logger.msg(L_FINGER, I_FING, Hostname(), " - %s", b); | ^~~~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: AuditSet.cpp: In member function ‘void AuditSet::pop2(int)’: lang.h:63:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 63 | #define L_POP2 "pop2.log" | ^~~~~~~~~~ AuditSet.cpp:792:18: note: in expansion of macro ‘L_POP2’ 792 | Logger.msg(L_POP2, I_POP2, Hostname(), " - POP2 (banner timeout)"); | ^~~~~~ lang.h:206:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 206 | #define I_POP2 " [pop2] " | ^~~~~~~~~~~~~~ AuditSet.cpp:792:26: note: in expansion of macro ‘I_POP2’ 792 | Logger.msg(L_POP2, I_POP2, Hostname(), " - POP2 (banner timeout)"); | ^~~~~~ AuditSet.cpp:792:46: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 792 | Logger.msg(L_POP2, I_POP2, Hostname(), " - POP2 (banner timeout)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: lang.h:63:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 63 | #define L_POP2 "pop2.log" | ^~~~~~~~~~ AuditSet.cpp:797:14: note: in expansion of macro ‘L_POP2’ 797 | Logger.msg(L_POP2, I_POP2, Hostname(), " - %s", b); | ^~~~~~ In file included from /usr/include/string.h:519, from libmix++/mix/aes.h:11, from libmix++/mix/mix.h:28, from nsat.h:40, from Logging.h:28, from Logging.cpp:24: In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void Logging::msg(char*, char*, char*, char*, ...)’ at Logging.cpp:78:13: /usr/include/bits/string_fortified.h:95:34: warning: â€-Wstringop-truncation][]] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ lang.h:206:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 206 | #define I_POP2 " [pop2] " | ^~~~~~~~~~~~~~ AuditSet.cpp:797:22: note: in expansion of macro ‘I_POP2’ 797 | Logger.msg(L_POP2, I_POP2, Hostname(), " - %s", b); | ^~~~~~ AuditSet.cpp:797:42: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 797 | Logger.msg(L_POP2, I_POP2, Hostname(), " - %s", b); | ^~~~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: AuditSet.cpp: In member function ‘void AuditSet::pop3(int)’: lang.h:64:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 64 | #define L_POP3 "pop3.log" | ^~~~~~~~~~ AuditSet.cpp:808:18: note: in expansion of macro ‘L_POP3’ 808 | Logger.msg(L_POP3, I_POP3, Hostname(), " - POP3 (banner timeout)"); | ^~~~~~ lang.h:207:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 207 | #define I_POP3 " [pop3] " | ^~~~~~~~~~~~~~ AuditSet.cpp:808:26: note: in expansion of macro ‘I_POP3’ 808 | Logger.msg(L_POP3, I_POP3, Hostname(), " - POP3 (banner timeout)"); | ^~~~~~ AuditSet.cpp:808:46: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 808 | Logger.msg(L_POP3, I_POP3, Hostname(), " - POP3 (banner timeout)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: lang.h:64:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 64 | #define L_POP3 "pop3.log" | ^~~~~~~~~~ AuditSet.cpp:814:14: note: in expansion of macro ‘L_POP3’ 814 | Logger.msg(L_POP3, I_POP3, Hostname(), " - %s", b); | ^~~~~~ lang.h:207:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 207 | #define I_POP3 " [pop3] " | ^~~~~~~~~~~~~~ AuditSet.cpp:814:22: note: in expansion of macro ‘I_POP3’ 814 | Logger.msg(L_POP3, I_POP3, Hostname(), " - %s", b); | ^~~~~~ AuditSet.cpp:814:42: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 814 | Logger.msg(L_POP3, I_POP3, Hostname(), " - %s", b); | ^~~~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: AuditSet.cpp: In member function ‘void AuditSet::pmap(int)’: lang.h:56:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 56 | #define L_PORTS "ports.log" | ^~~~~~~~~~~ AuditSet.cpp:821:14: note: in expansion of macro ‘L_PORTS’ 821 | Logger.msg(L_PORTS, I_PORTL, Hostname(), I_PMAP); | ^~~~~~~ lang.h:201:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 201 | #define I_PORTL " [port] " | ^~~~~~~~~~~~~~ AuditSet.cpp:821:23: note: in expansion of macro ‘I_PORTL’ 821 | Logger.msg(L_PORTS, I_PORTL, Hostname(), I_PMAP); | ^~~~~~~ lang.h:183:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 183 | #define I_PMAP " - portmap" | ^~~~~~~~~~~~ AuditSet.cpp:821:44: note: in expansion of macro ‘I_PMAP’ 821 | Logger.msg(L_PORTS, I_PORTL, Hostname(), I_PMAP); | ^~~~~~ AuditSet.cpp: In member function ‘void AuditSet::nntp(int)’: lang.h:71:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 71 | #define L_NNTP "nntp.log" | ^~~~~~~~~~ AuditSet.cpp:833:18: note: in expansion of macro ‘L_NNTP’ 833 | Logger.msg(L_NNTP, I_NNTP, Hostname(), " - NEWS (banner timeout)"); | ^~~~~~ lang.h:208:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 208 | #define I_NNTP " [nntp] " | ^~~~~~~~~~~~~~ AuditSet.cpp:833:26: note: in expansion of macro ‘I_NNTP’ 833 | Logger.msg(L_NNTP, I_NNTP, Hostname(), " - NEWS (banner timeout)"); | ^~~~~~ AuditSet.cpp:833:46: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 833 | Logger.msg(L_NNTP, I_NNTP, Hostname(), " - NEWS (banner timeout)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: lang.h:71:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 71 | #define L_NNTP "nntp.log" | ^~~~~~~~~~ AuditSet.cpp:838:14: note: in expansion of macro ‘L_NNTP’ 838 | Logger.msg(L_NNTP, I_NNTP, Hostname(), " - %s", b); | ^~~~~~ lang.h:208:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 208 | #define I_NNTP " [nntp] " | ^~~~~~~~~~~~~~ AuditSet.cpp:838:22: note: in expansion of macro ‘I_NNTP’ 838 | Logger.msg(L_NNTP, I_NNTP, Hostname(), " - %s", b); | ^~~~~~ AuditSet.cpp:838:42: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 838 | Logger.msg(L_NNTP, I_NNTP, Hostname(), " - %s", b); | ^~~~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: AuditSet.cpp: In member function ‘void AuditSet::imap(int)’: lang.h:65:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 65 | #define L_IMAP "imap.log" | ^~~~~~~~~~ AuditSet.cpp:869:18: note: in expansion of macro ‘L_IMAP’ 869 | Logger.msg(L_IMAP, I_IMAP, Hostname(), " - IMAP (banner timeout)"); | ^~~~~~ lang.h:209:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 209 | #define I_IMAP " [imap] " | ^~~~~~~~~~~~~~ AuditSet.cpp:869:26: note: in expansion of macro ‘I_IMAP’ 869 | Logger.msg(L_IMAP, I_IMAP, Hostname(), " - IMAP (banner timeout)"); | ^~~~~~ AuditSet.cpp:869:46: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 869 | Logger.msg(L_IMAP, I_IMAP, Hostname(), " - IMAP (banner timeout)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: lang.h:65:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 65 | #define L_IMAP "imap.log" | ^~~~~~~~~~ AuditSet.cpp:874:14: note: in expansion of macro ‘L_IMAP’ 874 | Logger.msg(L_IMAP, I_IMAP, Hostname(), " - %s", b); | ^~~~~~ lang.h:209:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 209 | #define I_IMAP " [imap] " | ^~~~~~~~~~~~~~ AuditSet.cpp:874:22: note: in expansion of macro ‘I_IMAP’ 874 | Logger.msg(L_IMAP, I_IMAP, Hostname(), " - %s", b); | ^~~~~~ AuditSet.cpp:874:42: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 874 | Logger.msg(L_IMAP, I_IMAP, Hostname(), " - %s", b); | ^~~~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: AuditSet.cpp: In member function ‘void AuditSet::backdoor(int, int)’: lang.h:74:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 74 | #define L_BACKDOOR "backdoor.log" | ^~~~~~~~~~~~~~ AuditSet.cpp:899:18: note: in expansion of macro ‘L_BACKDOOR’ 899 | Logger.msg(L_BACKDOOR, I_PORT, Hostname(), " - %u: << %s >>", ntohs(pt), b); | ^~~~~~~~~~ lang.h:161:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 161 | #define I_PORT " port " | ^~~~~~~~ AuditSet.cpp:899:30: note: in expansion of macro ‘I_PORT’ 899 | Logger.msg(L_BACKDOOR, I_PORT, Hostname(), " - %u: << %s >>", ntohs(pt), b); | ^~~~~~ AuditSet.cpp:899:50: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 899 | Logger.msg(L_BACKDOOR, I_PORT, Hostname(), " - %u: << %s >>", ntohs(pt), b); | ^~~~~~~~~~~~~~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: AuditSet.cpp: In member function ‘void AuditSet::nlps(int)’: lang.h:56:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 56 | #define L_PORTS "ports.log" | ^~~~~~~~~~~ AuditSet.cpp:906:14: note: in expansion of macro ‘L_PORTS’ 906 | Logger.msg(L_PORTS, I_PORT, Hostname(), I_NLPS); | ^~~~~~~ lang.h:161:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 161 | #define I_PORT " port " | ^~~~~~~~ AuditSet.cpp:906:23: note: in expansion of macro ‘I_PORT’ 906 | Logger.msg(L_PORTS, I_PORT, Hostname(), I_NLPS); | ^~~~~~ lang.h:184:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 184 | #define I_NLPS " - 2766 (solaris nlpsd)" | ^~~~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:906:43: note: in expansion of macro ‘I_NLPS’ 906 | Logger.msg(L_PORTS, I_PORT, Hostname(), I_NLPS); | ^~~~~~ lang.h:82:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 82 | #define L_NLPS "nlps.log" | ^~~~~~~~~~ AuditSet.cpp:927:18: note: in expansion of macro ‘L_NLPS’ 927 | Logger.msg(L_NLPS, I_NLPL, Hostname(), "- %s", b); | ^~~~~~ lang.h:211:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 211 | #define I_NLPL " [nlps] " | ^~~~~~~~~~~~~~ AuditSet.cpp:927:26: note: in expansion of macro ‘I_NLPL’ 927 | Logger.msg(L_NLPS, I_NLPL, Hostname(), "- %s", b); | ^~~~~~ AuditSet.cpp:927:46: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 927 | Logger.msg(L_NLPS, I_NLPL, Hostname(), "- %s", b); | ^~~~~~ ftp.cpp: In function ‘int eval_list(char*)’: ftp.cpp:159:40: warning: â€-Wformat-truncation=][]] 159 | snprintf(path2, sizeof(path2), "%s/%s", path, tmp); | ^ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: AuditSet.cpp: In member function ‘void AuditSet::ircd(int)’: lang.h:56:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 56 | #define L_PORTS "ports.log" | ^~~~~~~~~~~ AuditSet.cpp:934:14: note: in expansion of macro ‘L_PORTS’ 934 | Logger.msg(L_PORTS, I_PORTL, Hostname(), I_IRCD); | ^~~~~~~ In file included from /usr/include/stdio.h:866, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/cstdio:42, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/fstream:41, from ../nsat.h:39, from ftp.cpp:9: /usr/include/bits/stdio2.h:71:35: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 1025) into a destination of size 1024 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ lang.h:201:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 201 | #define I_PORTL " [port] " | ^~~~~~~~~~~~~~ AuditSet.cpp:934:23: note: in expansion of macro ‘I_PORTL’ 934 | Logger.msg(L_PORTS, I_PORTL, Hostname(), I_IRCD); | ^~~~~~~ lang.h:185:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 185 | #define I_IRCD " - ircd" | ^~~~~~~~~ AuditSet.cpp:934:44: note: in expansion of macro ‘I_IRCD’ 934 | Logger.msg(L_PORTS, I_PORTL, Hostname(), I_IRCD); | ^~~~~~ lang.h:75:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 75 | #define L_IRCD "ircd.log" | ^~~~~~~~~~ AuditSet.cpp:952:14: note: in expansion of macro ‘L_IRCD’ 952 | Logger.msg(L_IRCD, I_PORTL, Hostname(), " - %s", b); | ^~~~~~ lang.h:201:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 201 | #define I_PORTL " [port] " | ^~~~~~~~~~~~~~ AuditSet.cpp:952:22: note: in expansion of macro ‘I_PORTL’ 952 | Logger.msg(L_IRCD, I_PORTL, Hostname(), " - %s", b); | ^~~~~~~ AuditSet.cpp:952:43: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 952 | Logger.msg(L_IRCD, I_PORTL, Hostname(), " - %s", b); | ^~~~~~~ In file included from nsat.h:49, from AuditSet.h:28, from AuditSet.cpp:25: AuditSet.cpp: In member function ‘void AuditSet::xwin(int)’: lang.h:56:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 56 | #define L_PORTS "ports.log" | ^~~~~~~~~~~ AuditSet.cpp:958:14: note: in expansion of macro ‘L_PORTS’ 958 | Logger.msg(L_PORTS, I_PORTL, Hostname(), I_XWIN); | ^~~~~~~ lang.h:201:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 201 | #define I_PORTL " [port] " | ^~~~~~~~~~~~~~ AuditSet.cpp:958:23: note: in expansion of macro ‘I_PORTL’ 958 | Logger.msg(L_PORTS, I_PORTL, Hostname(), I_XWIN); | ^~~~~~~ lang.h:186:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 186 | #define I_XWIN " - X windows" | ^~~~~~~~~~~~~~ AuditSet.cpp:958:44: note: in expansion of macro ‘I_XWIN’ 958 | Logger.msg(L_PORTS, I_PORTL, Hostname(), I_XWIN); | ^~~~~~ x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -DLINUX -DNETGROUP -DALLOW_CHANGE_PASSWORD -DFAST_SHARE_MODES -DNO_ASMSIGNALH -DGLIBC2 -DSMB_PASSWD=\"\" -DSMB_PASSWD_FILE=\"\" -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c ./rpc_pipes/srvparse.c -o ./rpc_pipes/srvparse.o AuditSet.cpp: In member function ‘void AuditSet::nbname()’: lang.h:77:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 77 | #define L_NETBIOS "netbios.log" | ^~~~~~~~~~~~~ AuditSet.cpp:1054:18: note: in expansion of macro ‘L_NETBIOS’ 1054 | Logger.msg(L_NETBIOS, I_NBIOS, Hostname(), "- %s", bufx); | ^~~~~~~~~ lang.h:214:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 214 | #define I_NBIOS " [netbios] " | ^~~~~~~~~~~~~~ AuditSet.cpp:1054:29: note: in expansion of macro ‘I_NBIOS’ 1054 | Logger.msg(L_NETBIOS, I_NBIOS, Hostname(), "- %s", bufx); | ^~~~~~~ AuditSet.cpp:1054:50: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 1054 | Logger.msg(L_NETBIOS, I_NBIOS, Hostname(), "- %s", bufx); | ^~~~~~ AuditSet.cpp: In member function ‘void AuditSet::telnet(int)’: AuditSet.cpp:403:20: warning: ignoring return value of â€-Wunused-result][]] 403 | write(s, b, 3); | ~~~~~^~~~~~~~~ AuditSet.cpp:424:13: warning: ignoring return value of â€-Wunused-result][]] 424 | write(s, sndbuf, strlen(sndbuf)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -DLINUX -DNETGROUP -DALLOW_CHANGE_PASSWORD -DFAST_SHARE_MODES -DNO_ASMSIGNALH -DGLIBC2 -DSMB_PASSWD=\"\" -DSMB_PASSWD_FILE=\"\" -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c ./rpc_pipes/smbparse.c -o ./rpc_pipes/smbparse.o binfo.cpp: In function ‘void print_ver(char*, int, char*)’: ../lang.h:61:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 61 | #define L_DNS "dns.log" | ^~~~~~~~~ binfo.cpp:189:14: note: in expansion of macro ‘L_DNS’ 189 | Logger.msg(L_DNS, I_BIND, host, " - %s %s%s", verstr, (iq?I_IQ:""), (nxt?I_NXT:"")); | ^~~~~ ../lang.h:192:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 192 | #define I_BIND " [bind] " | ^~~~~~~~~~~~~~ binfo.cpp:189:21: note: in expansion of macro ‘I_BIND’ 189 | Logger.msg(L_DNS, I_BIND, host, " - %s %s%s", verstr, (iq?I_IQ:""), (nxt?I_NXT:"")); | ^~~~~~ binfo.cpp:189:35: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 189 | Logger.msg(L_DNS, I_BIND, host, " - %s %s%s", verstr, (iq?I_IQ:""), (nxt?I_NXT:"")); | ^~~~~~~~~~~~ AuditSet.cpp: In member function ‘void AuditSet::smtp(int)’: AuditSet.cpp:615:8: warning: ignoring return value of â€-Wunused-result][]] 615 | write(s, SMTP_HELO, strlen(SMTP_HELO)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:625:8: warning: ignoring return value of â€-Wunused-result][]] 625 | write(s, SMTP_EXPN, strlen(SMTP_EXPN)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:639:12: warning: ignoring return value of â€-Wunused-result][]] 639 | write(s, SMTP_VRFY, strlen(SMTP_VRFY)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:654:10: warning: ignoring return value of â€-Wunused-result][]] 654 | write(s, SMTP_QUIT, strlen(SMTP_QUIT)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:660:8: warning: ignoring return value of â€-Wunused-result][]] 660 | write(s, SMTP_FROM, strlen(SMTP_FROM)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:669:8: warning: ignoring return value of â€-Wunused-result][]] 669 | write(s, SMTP_TO, strlen(SMTP_TO)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:678:8: warning: ignoring return value of â€-Wunused-result][]] 678 | write(s, SMTP_DATA, strlen(SMTP_DATA)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:687:8: warning: ignoring return value of â€-Wunused-result][]] 687 | write(s, SMTP_END, strlen(SMTP_END)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:707:12: warning: ignoring return value of â€-Wunused-result][]] 707 | write(s, SMTP_FROM, strlen(SMTP_FROM)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:716:12: warning: ignoring return value of â€-Wunused-result][]] 716 | write(s, SMTP_TO89, strlen(SMTP_TO89)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:728:8: warning: ignoring return value of â€-Wunused-result][]] 728 | write(s, SMTP_QUIT, strlen(SMTP_QUIT)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp: In member function ‘void AuditSet::nlps(int)’: AuditSet.cpp:914:8: warning: ignoring return value of â€-Wunused-result][]] 914 | write(s, nlps_x86, sizeof(nlps_x86)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:915:8: warning: ignoring return value of â€-Wunused-result][]] 915 | write(s, ROOTINFO, sizeof(ROOTINFO)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp: In member function ‘void AuditSet::ircd(int)’: AuditSet.cpp:942:8: warning: ignoring return value of â€-Wunused-result][]] 942 | write(s, IRC_QUERY, sizeof(IRC_QUERY)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -DLINUX -DNETGROUP -DALLOW_CHANGE_PASSWORD -DFAST_SHARE_MODES -DNO_ASMSIGNALH -DGLIBC2 -DSMB_PASSWD=\"\" -DSMB_PASSWD_FILE=\"\" -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c ./rpc_pipes/lsaparse.c -o ./rpc_pipes/lsaparse.o x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -DLINUX -DNETGROUP -DALLOW_CHANGE_PASSWORD -DFAST_SHARE_MODES -DNO_ASMSIGNALH -DGLIBC2 -DSMB_PASSWD=\"\" -DSMB_PASSWD_FILE=\"\" -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c ./rpc_pipes/pipeutil.c -o ./rpc_pipes/pipeutil.o In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void http_get(char*, char*, sockaddr_in*, int)’ at www.cpp:217:14: /usr/include/bits/string_fortified.h:95:34: warning: â€-Wstringop-truncation][]] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -DLINUX -DNETGROUP -DALLOW_CHANGE_PASSWORD -DFAST_SHARE_MODES -DNO_ASMSIGNALH -DGLIBC2 -DSMB_PASSWD=\"\" -DSMB_PASSWD_FILE=\"\" -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c ./rpc_pipes/pipe_hnd.c -o ./rpc_pipes/pipe_hnd.o xp_icmp_timestamp.c: In function ‘rpack_t* send_icmpts_req(sockaddr_in)’: xp_icmp_timestamp.c:115:29: warning: comparison of integer expressions of different signedness: â€-Wsign-compare][]] 115 | (rcv_ip->ip_hl << 2) > (unsigned)res || | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from ../nsat.h:49, from xprobe.h:26, from xp_udp_probe.c:24: ../lang.h:44:21: warning: C++11 requires a space between string literal and macro [-Wc++11-compat[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wc++11-compat]] 44 | #define NSAT_BANNER "\t\tNetwork Security Analysis Tool v"VERSION"\n\t\t (c) 1999-2002 by Mixter, 2xs ltd.\n" | ^ xp_icmp_addrmask.c: In function ‘rpack_t* send_icmpmaskreq_req(sockaddr_in)’: xp_icmp_addrmask.c:124:29: warning: comparison of integer expressions of different signedness: â€-Wsign-compare][]] 124 | (rcv_ip->ip_hl << 2) > (unsigned)res || | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ xp_pcap_iface.c: In function ‘int init_pcap(char*, char*)’: xp_pcap_iface.c:43:36: warning: â€-Wdeprecated-declarations][]] 43 | if ((iname = pcap_lookupdev(errbuf)) == NULL) { | ~~~~~~~~~~~~~~^~~~~~~~ In file included from /usr/include/pcap.h:43, from xprobe.h:85, from xp_pcap_iface.c:23: /usr/include/pcap/pcap.h:394:18: note: declared here 394 | PCAP_API char *pcap_lookupdev(char *) | ^~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -DLINUX -DNETGROUP -DALLOW_CHANGE_PASSWORD -DFAST_SHARE_MODES -DNO_ASMSIGNALH -DGLIBC2 -DSMB_PASSWD=\"\" -DSMB_PASSWD_FILE=\"\" -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c ./rpc_pipes/samrparse.c -o ./rpc_pipes/samrparse.o x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -DLINUX -DNETGROUP -DALLOW_CHANGE_PASSWORD -DFAST_SHARE_MODES -DNO_ASMSIGNALH -DGLIBC2 -DSMB_PASSWD=\"\" -DSMB_PASSWD_FILE=\"\" -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c ./rpc_pipes/wksparse.c -o ./rpc_pipes/wksparse.o x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -DLINUX -DNETGROUP -DALLOW_CHANGE_PASSWORD -DFAST_SHARE_MODES -DNO_ASMSIGNALH -DGLIBC2 -DSMB_PASSWD=\"\" -DSMB_PASSWD_FILE=\"\" -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c ./rpc_pipes/lsa_hnd.c -o ./rpc_pipes/lsa_hnd.o In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void webscan(int)’ at www.cpp:52:10: /usr/include/bits/string_fortified.h:95:34: warning: â€-Wstringop-truncation][]] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from libmix++/mix/aes.h:11, from libmix++/mix/mix.h:28, from nsat.h:40, from nsat.cpp:24: In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘int main(int, char**)’ at nsat.cpp:251:16: /usr/include/bits/string_fortified.h:95:34: warning: â€-Wstringop-truncation][]] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from ../libmix++/mix/aes.h:11, from ../libmix++/mix/mix.h:28, from ../nsat.h:40, from xprobe.h:26, from xp_pcap_iface.c:23: In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘int init_pcap(char*, char*)’ at xp_pcap_iface.c:51:12: /usr/include/bits/string_fortified.h:95:34: warning: â€-Wstringop-truncation][]] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../nsat.h:49, from xprobe.h:26, from xp_utils.c:23: xp_utils.c: In function ‘void fin_message(const char*)’: ../lang.h:66:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 66 | #define L_OS "os.log" | ^~~~~~~~ xp_utils.c:75:20: note: in expansion of macro ‘L_OS’ 75 | Logger.msg(L_OS, I_OS, ntoa(xphost), "- %s", message); | ^~~~ ../lang.h:215:25: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 215 | #define I_OS " [os] " | ^~~~~~~~~~~~~~ xp_utils.c:75:26: note: in expansion of macro ‘I_OS’ 75 | Logger.msg(L_OS, I_OS, ntoa(xphost), "- %s", message); | ^~~~ xp_utils.c:75:46: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 75 | Logger.msg(L_OS, I_OS, ntoa(xphost), "- %s", message); | ^~~~~~ In file included from xprobe.h:166, from xp_udp_probe.c:24: xp_defines.h:29:16: warning: C++11 requires a space between string literal and macro [-Wc++11-compat[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wc++11-compat]] 29 | #define BANNER "X probe ver. "VERSION"\n------------------" | ^ In file included from /usr/include/string.h:519, from libmix++/mix/aes.h:11, from libmix++/mix/mix.h:28, from nsat.h:40, from progress.h:27, from progress.cpp:25: In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘int ProgressIndicator::readconf(char*)’ at progress.cpp:293:10: /usr/include/bits/string_fortified.h:95:34: warning: â€-Wstringop-truncation][]] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘int ProgressIndicator::readconf(char*)’ at progress.cpp:556:14: /usr/include/bits/string_fortified.h:95:34: warning: â€-Wstringop-truncation][]] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘int ProgressIndicator::readconf(char*)’ at progress.cpp:625:11: /usr/include/bits/string_fortified.h:95:34: warning: â€-Wstringop-truncation][]] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘int ProgressIndicator::readconf(char*)’ at progress.cpp:620:11: /usr/include/bits/string_fortified.h:95:34: warning: â€-Wstringop-truncation][]] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘int ProgressIndicator::readconf(char*)’ at progress.cpp:615:11: /usr/include/bits/string_fortified.h:95:34: warning: â€-Wstringop-truncation][]] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘int ProgressIndicator::readconf(char*)’ at progress.cpp:601:11: /usr/include/bits/string_fortified.h:95:34: warning: â€-Wstringop-truncation][]] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘int ProgressIndicator::readconf(char*)’ at progress.cpp:595:11: /usr/include/bits/string_fortified.h:95:34: warning: â€-Wstringop-truncation][]] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ xp_icmp_echo.c: In function ‘rpack_t* send_icmpecho_var_req(sockaddr_in, int)’: xp_icmp_echo.c:128:33: warning: comparison of integer expressions of different signedness: â€-Wsign-compare][]] 128 | (retval->ip->ip_hl << 2) > (unsigned)res || | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ xp_logic_tree.c: In function ‘int do_logic(long unsigned int)’: xp_logic_tree.c:38:23: warning: deprecated conversion from string constant to â€-Wwrite-strings][]] 38 | init_pcap("lo", inet_ntoa(to.sin_addr)); | ^~~~ xp_icmp_infr.c: In function ‘rpack_t* send_icmpireq_req(sockaddr_in)’: xp_icmp_infr.c:121:33: warning: comparison of integer expressions of different signedness: â€-Wsign-compare][]] 121 | (retval->ip->ip_hl << 2) > (unsigned)res || | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ xp_udp_probe.c: In function ‘rpack_t* send_udp(sockaddr_in)’: xp_udp_probe.c:130:33: warning: comparison of integer expressions of different signedness: â€-Wsign-compare][]] 130 | (retval->ip->ip_hl << 2) > (unsigned)res || | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ make[2]: Leaving directory '/var/tmp/portage/net-analyzer/nsat-1.5-r5/work/nsat/src/mod' x86_64-pc-linux-gnu-g++ -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -ansi -fPIC -DLINUX -DWITH_XPROBE -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 functions.o pidalloc.o nsat.o progress.o AuditSet.o SockSet.o Distributed.o Logging.o mod/binfo.o mod/bo.o mod/ftp.o mod/rpc.o mod/snmp.o mod/www.o mod/xp_icmp_addrmask.o mod/xp_icmp_timestamp.o mod/xp_pcap_iface.o mod/xp_utils.o mod/xp_icmp_echo.o mod/xp_logic_tree.o mod/xp_pkt_exams.o mod/xp_icmp_infr.o mod/xp_udp_probe.o -lmix++ -o ../nsat -L/usr/X11R6/lib -lpcap -ltirpc /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.o: in function `SockSet::SockSet()': SockSet.cpp:(.text+0x5): undefined reference to `AuditSet::AuditSet()' /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.o: in function `SockSet::probe(int)': SockSet.cpp:(.text+0x44f): undefined reference to `AuditSet::plog(int)' /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x5cf): undefined reference to `AuditSet::plog(int)' /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x64f): undefined reference to `AuditSet::os()' /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x65c): undefined reference to `AuditSet::bo()' /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x674): undefined reference to `AuditSet::snmp()' /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x68c): undefined reference to `AuditSet::nbname()' /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x6c2): undefined reference to `AuditSet::http(int)' /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x6ed): undefined reference to `AuditSet::ftp(int)' /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x718): undefined reference to `AuditSet::xwin(int)' /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x743): undefined reference to `AuditSet::ircd(int)' /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x76e): undefined reference to `AuditSet::nlps(int)' /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x799): undefined reference to `AuditSet::smb(int)' /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x7c4): undefined reference to `AuditSet::pmap(int)' /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x7ef): undefined reference to `AuditSet::smtp(int)' /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x81a): undefined reference to `AuditSet::telnet(int)' /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x845): undefined reference to `AuditSet::finger(int)' /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x870): undefined reference to `AuditSet::imap(int)' /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x89b): undefined reference to `AuditSet::nntp(int)' /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x8c6): undefined reference to `AuditSet::pop3(int)' /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x8f1): undefined reference to `AuditSet::pop2(int)' /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x91c): undefined reference to `AuditSet::ssh(int)' /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x947): undefined reference to `AuditSet::nstat(int)' /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x972): undefined reference to `AuditSet::nbind(int)' /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x98c): undefined reference to `AuditSet::os()' /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x999): undefined reference to `AuditSet::nbname()' /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x9af): undefined reference to `AuditSet::snmp()' /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x9c5): undefined reference to `AuditSet::bo()' /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.o: in function `SockSet::con(unsigned int)': SockSet.cpp:(.text+0xbc5): undefined reference to `AuditSet::icmptest()' /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.o: in function `SockSet::~SockSet()': SockSet.cpp:(.text+0xc7): undefined reference to `AuditSet::~AuditSet()' /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.o: in function `SockSet::~SockSet() [clone .cold]': SockSet.cpp:(.text.unlikely+0x4): undefined reference to `AuditSet::~AuditSet()' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:39: ../nsat] Error 1 make[1]: *** Waiting for unfinished jobs.... x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -O2 -pipe -march=x86-64 -frecord-gcc-switches -DLINUX -Wall -DLINUX -DNETGROUP -DALLOW_CHANGE_PASSWORD -DFAST_SHARE_MODES -DNO_ASMSIGNALH -DGLIBC2 -DSMB_PASSWD=\"\" -DSMB_PASSWD_FILE=\"\" -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o ../../smb-ns client.o ntclient.o credentials.o clientutil.o getsmbpass.o util.o system.o charset.o kanji.o fault.o smbencrypt.o smbdes.o charcnv.o md4.o loadparm.o params.o pcap.o username.o time.o namequery.o nmblib.o interface.o replace.o print_svid.o smberr.o mem_man/mem_man.o slprintf.o rpc_pipes/ntclientpipe.o rpc_pipes/ntclientlsa.o rpc_pipes/ntclientnet.o rpc_pipes/srvparse.o rpc_pipes/smbparse.o rpc_pipes/lsaparse.o rpc_pipes/pipeutil.o rpc_pipes/pipe_hnd.o rpc_pipes/samrparse.o rpc_pipes/wksparse.o rpc_pipes/lsa_hnd.o -lnsl -lcrypt done make[2]: Leaving directory '/var/tmp/portage/net-analyzer/nsat-1.5-r5/work/nsat/src/smb' make[1]: Leaving directory '/var/tmp/portage/net-analyzer/nsat-1.5-r5/work/nsat/src' make: *** [Makefile:17: all] Error 2 * ERROR: net-analyzer/nsat-1.5-r5::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-analyzer/nsat-1.5-r5::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-analyzer/nsat-1.5-r5::gentoo'`. * The complete build log is located at '/var/log/emerge-log/build/net-analyzer/nsat-1.5-r5:20210429-023503.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/nsat-1.5-r5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/nsat-1.5-r5/temp/environment'. * Working directory: '/var/tmp/portage/net-analyzer/nsat-1.5-r5/work/nsat' * S: '/var/tmp/portage/net-analyzer/nsat-1.5-r5/work/nsat'