* Package: net-analyzer/nsat-1.5-r6:0 * 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 >>> Unpacking source... >>> Unpacking nsat-1.5.tgz to /var/tmp/portage/net-analyzer/nsat-1.5-r6/work >>> Source unpacked in /var/tmp/portage/net-analyzer/nsat-1.5-r6/work >>> Preparing source in /var/tmp/portage/net-analyzer/nsat-1.5-r6/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 ] * Applying nsat-1.5-configure-dash.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/net-analyzer/nsat-1.5-r6/work/nsat' ... * Running 'aclocal --system-acdir=/var/tmp/portage/net-analyzer/nsat-1.5-r6/temp/aclocal' ... [ ok ] * Running 'autoconf --force' ... [ ok ] * Running 'autoheader' ... [ ok ] * Running elibtoolize in: nsat/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-analyzer/nsat-1.5-r6/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-r6 --htmldir=/usr/share/doc/nsat-1.5-r6/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 the compiler supports GNU C... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... 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 the compiler supports GNU C++... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking for x86_64-pc-linux-gnu-g++ option to enable C++11 features... none needed checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c checking whether make sets $(MAKE)... yes checking for XOpenDisplay in -lX11... yes 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 stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for sys/time.h... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E 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. checking for pcap_datalink in -lpcap... yes checking for egrep... (cached) /bin/grep -E checking for fcntl.h... yes checking for unistd.h... (cached) yes checking for sys/select.h... yes checking for sys/time.h... (cached) yes checking for sys/types.h... (cached) yes checking for sys/socket.h... yes checking for stdarg.h... yes checking for std_args.h... no checking for strings.h... (cached) yes checking for netdb.h... yes checking for netinet/in.h... yes checking for arpa/inet.h... yes checking for signal.h... yes checking for stdlib.h... (cached) yes checking for errno.h... yes checking for ctype.h... yes checking for sys/file.h... yes checking for sys/ioctl.h... yes checking for sys/signal.h... yes checking for sys/stream.h... no checking for sys/dlpi.h... no checking for sys/bufmod.h... no checking for sys/stropts.h... no checking for sys/param.h... yes checking for sys/termios.h... yes checking for sys/filio.h... no checking for net/if.h... yes checking for netinet/in_systm.h... yes checking for netinet/ip.h... yes checking for netinet/ip_var.h... no checking for netinet/ip_icmp.h... yes checking for sys/resource.h... yes checking for X11/Xlib.h... yes checking whether byte ordering is bigendian... no checking for an ANSI C-conforming const... yes checking for size_t... 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 requires zero arguments... no checking return type of signal handlers... (cached) void checking for vprintf... yes 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 TIRPC... 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-r6/work/nsat ... make -j4 MIXOBJ=-lmix++ make[1]: Entering directory '/var/tmp/portage/net-analyzer/nsat-1.5-r6/work/nsat/src' x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -DLINUX -Wall -ansi -fPIC -DLINUX -DWITH_XPROBE -c Logging.cpp x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -DLINUX -Wall -ansi -fPIC -DLINUX -DWITH_XPROBE -c nsat.cpp x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -DLINUX -Wall -ansi -fPIC -DLINUX -DWITH_XPROBE -c progress.cpp x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -DLINUX -Wall -ansi -fPIC -DLINUX -DWITH_XPROBE -c SockSet.cpp 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] 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] 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 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] 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 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] 44 | #define NSAT_BANNER "\t\tNetwork Security Analysis Tool v"VERSION"\n\t\t (c) 1999-2002 by Mixter, 2xs ltd.\n" | ^ SockSet.cpp: In constructor ‘SockSet::SockSet()’: SockSet.cpp:40:15: warning: ‘int siginterrupt(int, int)’ is deprecated: Use sigaction with SA_RESTART instead [-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: /usr/include/signal.h:324:12: note: declared here 324 | extern int siginterrupt (int __sig, int __interrupt) __THROW | ^~~~~~~~~~~~ nsat.cpp: In function ‘int main(int, char**)’: lang.h:27:24: warning: deprecated conversion from string constant to ‘char*’ [-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); | ^~~~~~~~~~~ lang.h:27:24: warning: deprecated conversion from string constant to ‘char*’ [-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); | ^~~~~~~~~~~ lang.h:29:24: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-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); | ^~~~~~ lang.h:77:25: warning: deprecated conversion from string constant to ‘char*’ [-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); | ^~~~~~~~~ lang.h:78:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-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); | ^~~~ nsat.cpp:325:6: warning: this ‘if’ clause does not guard... [-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); | ^~~~ Logging.cpp: In member function ‘void Logging::msg(char*, char*, char*, char*, ...)’: Logging.cpp:78:13: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 512 equals destination size [-Wstringop-truncation] 78 | strncpy(lastfname, getlogfilename(file,hn), 512); | ^ make[2]: Entering directory '/var/tmp/portage/net-analyzer/nsat-1.5-r6/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=\"\" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -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 progress.cpp: In member function ‘int ProgressIndicator::readconf(char*)’: progress.cpp:293:10: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 256 equals destination size [-Wstringop-truncation] 293 | strncpy(confname, file, SMALLB); | ^ progress.cpp:556:14: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 256 equals destination size [-Wstringop-truncation] 556 | strncpy(cp2, cp, SMALLB); | ^ progress.cpp:625:18: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 256 equals destination size [-Wstringop-truncation] 625 | strncpy(progressfile, cp, SMALLB); | ^ progress.cpp:620:18: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 256 equals destination size [-Wstringop-truncation] 620 | strncpy(pidfile, cp, SMALLB); | ^ progress.cpp:615:18: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 256 equals destination size [-Wstringop-truncation] 615 | strncpy(fname, cp, SMALLB); | ^ progress.cpp:601:18: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 256 equals destination size [-Wstringop-truncation] 601 | strncpy(xname, cp, SMALLB); | ^ progress.cpp:595:18: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 256 equals destination size [-Wstringop-truncation] 595 | strncpy(WebCgiFile, cp, SMALLB); | ^ nsat.cpp:251:16: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 256 equals destination size [-Wstringop-truncation] 251 | strncpy(pi.xname, optarg, SMALLB); | ^ x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -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 make[2]: Entering directory '/var/tmp/portage/net-analyzer/nsat-1.5-r6/work/nsat/src/mod' x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -DLINUX -Wall -ansi -fPIC -DLINUX -DWITH_XPROBE -I/usr/include/tirpc -c rpc.cpp x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -DLINUX -Wall -ansi -fPIC -DLINUX -DWITH_XPROBE -c Distributed.cpp In file included from ./client.c:73: ./ADMsmb.c: In function ‘ADMsmb’: ./ADMsmb.c:126:96: warning: pointer targets in passing argument 6 of ‘recvfrom’ differ in signedness [-Wpointer-sign] 126 | buffer2, sizeof (buffer2), 0, (struct sockaddr *) &sin_dst, (int *) &longueur) != -1) | ^~~~~~~~~~~~~~~~~ | | | int * In file included from /usr/include/sys/socket.h:343, from ./includes.h:143, from ./client.c:72: /usr/include/bits/socket2.h:62:56: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 62 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ ./client.c: In function ‘browse_host’: ./client.c:299:12: warning: variable ‘long_share_name’ set but not used [-Wunused-but-set-variable] 299 | BOOL long_share_name = False; | ^~~~~~~~~~~~~~~ ./client.c: At top level: ./client.c:660:15: warning: argument 2 of type ‘char[255]’ with mismatched bound [-Warray-parameter=] 660 | char netbios_name[255], | ~~~~~^~~~~~~~~~~~~~~~~ ./client.c:134:21: note: previously declared as ‘char *’ 134 | int ADMsmb2(char *, char *, char *, FILE *, FILE *); | ^~~~~~ x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -DLINUX -Wall -ansi -fPIC -DLINUX -DWITH_XPROBE -c xp_icmp_addrmask.c 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] 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] 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_addrmask.c:24: ../lang.h:44:21: warning: C++11 requires a space between string literal and macro [-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: xp_defines.h:29:16: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 29 | #define BANNER "X probe ver. "VERSION"\n------------------" | ^ x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -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 Distributed.cpp: In member function ‘int Distributed::GetResponses()’: lang.h:55:25: warning: deprecated conversion from string constant to ‘char*’ [-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); | ^~~~~~~~~ Distributed.cpp:168:29: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 168 | Logger.msg(L_DISTRIB, "", "", "%s", buf); | ^~ Distributed.cpp:168:33: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 168 | Logger.msg(L_DISTRIB, "", "", "%s", buf); | ^~ Distributed.cpp:168:37: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 168 | Logger.msg(L_DISTRIB, "", "", "%s", buf); | ^~~~ rpc.cpp: In function ‘void nfsscan(long unsigned int)’: ../lang.h:72:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 70 | Logger.msg(L_EXPORTS, I_RPC, inet_ntoa(x), "%s %s", I_NFS1, exportz->ml_directory); | ^~~~~~~ ../lang.h:72:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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); | ^~~~~ rpc.cpp:74:54: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 74 | Logger.msg(L_EXPORTS, I_RPC, inet_ntoa(x), "%s %s %s", I_NFS2, exportz->ml_hostname, exportz->ml_directory); | ^~~~~~~~~~ rpc.cpp: At global scope: rpc.cpp:95:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 95 | {100013, "3270_mapper", 0}, | ^~~~~~~~~~~~~ rpc.cpp:96:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 96 | {100062, "NETlicense", 0}, | ^~~~~~~~~~~~ rpc.cpp:97:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 97 | {100109, "activity [SunNet Manager]", 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ rpc.cpp:98:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 98 | {100087, "admind", 0}, | ^~~~~~~~ rpc.cpp:99:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 99 | {100018, "alis", 0}, | ^~~~~~ rpc.cpp:100:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 100 | {300019, "amd [amq]", 1}, | ^~~~~~~~~~~ rpc.cpp:101:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 101 | {390600, "arserverd [Remedy AR System daemons]", 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rpc.cpp:102:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 102 | {390604, "arservtcd", 0}, | ^~~~~~~~~~~ rpc.cpp:103:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 103 | {395176, "aseagent", 0}, | ^~~~~~~~~~ rpc.cpp:104:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 104 | {395175, "asedirector", 0}, | ^~~~~~~~~~~~~ rpc.cpp:105:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 105 | {395177, "asehsm", 0}, | ^~~~~~~~ rpc.cpp:106:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 106 | {395179, "aselogger", 0}, | ^~~~~~~~~~~ rpc.cpp:107:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 107 | {100099, "autofsd", 0}, | ^~~~~~~~~ rpc.cpp:108:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 108 | {100026, "bootparamd", 1}, | ^~~~~~~~~~~~ rpc.cpp:109:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 109 | {300433, "bssd", 0}, | ^~~~~~ rpc.cpp:110:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 110 | {100071, "bugtraqd", 0}, | ^~~~~~~~~~ rpc.cpp:111:15: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 111 | {545580417, "bwnfsd", 0}, | ^~~~~~~~ rpc.cpp:112:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 112 | {100235, "cachefsd", 0}, | ^~~~~~~~~~ rpc.cpp:113:15: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 113 | {824395111, "cfsd", 0}, | ^~~~~~ rpc.cpp:114:16: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 114 | {1092830567, "cfsd", 0}, | ^~~~~~ rpc.cpp:115:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 115 | {300527, "cluinfod [Cluster Information Server]", 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rpc.cpp:116:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 116 | {100068, "cmsd [dtcalendar]", 1}, | ^~~~~~~~~~~~~~~~~~~ rpc.cpp:117:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 117 | {300484, "cnxagentd [Cluster Agent]", 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ rpc.cpp:118:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 118 | {300483, "cnxmond [Cluster Node Monitor]", 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rpc.cpp:119:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 119 | {100016, "database_svc", 0}, | ^~~~~~~~~~~~~~ rpc.cpp:120:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 120 | {100066, "debug_svc [dbsrv]", 0}, | ^~~~~~~~~~~~~~~~~~~ rpc.cpp:121:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 121 | {100105, "diskinfo [SunNet Manager]", 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ rpc.cpp:122:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 122 | {300598, "dmispd", 0}, | ^~~~~~~~ rpc.cpp:123:15: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 123 | {805306368, "dmispd", 0}, | ^~~~~~~~ rpc.cpp:124:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 124 | {300434, "drdd", 0}, | ^~~~~~ rpc.cpp:125:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 125 | {100118, "etherif", 0}, | ^~~~~~~~~ rpc.cpp:126:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 126 | {100135, "etherif2 [SunNet Manager]", 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ rpc.cpp:127:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 127 | {100010, "etherstatd", 0}, | ^~~~~~~~~~~~ rpc.cpp:128:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 128 | {100101, "event [SunNet Manager]", 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~ rpc.cpp:129:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 129 | {200023, "exportmap", 0}, | ^~~~~~~~~~~ rpc.cpp:130:15: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 130 | {600100069, "fypxfrd [FreeBSD YPXFRd]", 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ rpc.cpp:131:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 131 | {100117, "hostif", 0}, | ^~~~~~~~ rpc.cpp:132:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 132 | {100112, "hostmem", 0}, | ^~~~~~~~~ rpc.cpp:133:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 133 | {100136, "hostmem2 [SunNet Manager]", 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ rpc.cpp:134:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 134 | {100107, "hostperf", 0}, | ^~~~~~~~~~ rpc.cpp:135:15: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 135 | {555555555, "inetray", 0}, | ^~~~~~~~~ rpc.cpp:136:15: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 136 | {555555556, "inetray", 0}, | ^~~~~~~~~ rpc.cpp:137:15: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 137 | {555555557, "inetray", 0}, | ^~~~~~~~~ rpc.cpp:138:15: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 138 | {555555558, "inetray", 0}, | ^~~~~~~~~ rpc.cpp:139:15: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 139 | {555555559, "inetray", 0}, | ^~~~~~~~~ Distributed.cpp: In member function ‘void Distributed::Accept()’: Distributed.cpp:96:14: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 96 | (void) write(newfd, VERSION, 4); | ~~~~~^~~~~~~~~~~~~~~~~~~ rpc.cpp:140:15: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 140 | {555555560, "inetray", 0}, | ^~~~~~~~~ rpc.cpp:141:15: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 141 | {555555554, "inetray.start", 0}, | ^~~~~~~~~~~~~~~ rpc.cpp:142:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 142 | {100055, "ioadmd", 0}, | ^~~~~~~~ rpc.cpp:143:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 143 | {100106, "iostat", 0}, | ^~~~~~~~ rpc.cpp:144:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 144 | {100137, "iostat2 [SunNet Manager", 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~ rpc.cpp:145:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 145 | {100119, "ippath [SunNet Manager]", 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~ rpc.cpp:146:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 146 | {100120, "iproutes", 0}, | ^~~~~~~~~~ rpc.cpp:147:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 147 | {100221, "kcms", 0}, | ^~~~~~ rpc.cpp:148:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 148 | {100078, "kerbd [Kerberos]", 0}, | ^~~~~~~~~~~~~~~~~~ rpc.cpp:149:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 149 | {100029, "keyserv", 0}, | ^~~~~~~~~ rpc.cpp:150:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 150 | {100121, "layers", 0}, | ^~~~~~~~ rpc.cpp:151:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 151 | {100131, "layers2 [SunNet Manager]", 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ rpc.cpp:152:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 152 | {100020, "llockmgr", 0}, | ^~~~~~~~~~ rpc.cpp:153:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 153 | {100102, "logger [SunNet Manager]", 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~ rpc.cpp:154:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 154 | {100111, "lpstat [SunNet Manager]", 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~ rpc.cpp:155:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 155 | {100229, "metad", 0}, | ^~~~~~~ rpc.cpp:156:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 156 | {100230, "metamhd", 0}, | ^~~~~~~~~ rpc.cpp:157:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 157 | {100005, "mountd", 1}, | ^~~~~~~~ rpc.cpp:158:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 158 | {120126, "nf_snmd [SunNet Manager]", 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ rpc.cpp:159:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 159 | {120127, "nf_snmd", 0}, | ^~~~~~~~~ rpc.cpp:160:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 160 | {100003, "nfs", 1}, | ^~~~~ rpc.cpp:161:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 161 | {100227, "nfs_acl", 1}, | ^~~~~~~~~ rpc.cpp:162:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 162 | {100301, "nis_cache", 0}, | ^~~~~~~~~~~ rpc.cpp:163:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 163 | {100302, "nis_callback", 0}, | ^~~~~~~~~~~~~~ rpc.cpp:164:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 164 | {100300, "nisd", 1}, | ^~~~~~ rpc.cpp:165:16: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 165 | {1073741824, "nisd_resolv", 0}, | ^~~~~~~~~~~~~ Distributed.cpp: In member function ‘int Distributed::GetResponses()’: Distributed.cpp:167:11: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 167 | read(clientsockets[i],buf,8192); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ rpc.cpp:166:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 166 | {100303, "nispasswd", 0}, | ^~~~~~~~~~~ rpc.cpp:167:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 167 | {100021, "nlockmgr", 1}, | ^~~~~~~~~~ rpc.cpp:168:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 168 | {100038, "nsed", 0}, | ^~~~~~ rpc.cpp:169:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 169 | {100039, "nsemntd", 0}, | ^~~~~~~~~ rpc.cpp:170:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 170 | {390601, "ntserverd", 0}, | ^~~~~~~~~~~ rpc.cpp:171:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 171 | {150001, "pcnfsd", 1}, | ^~~~~~~~ rpc.cpp:172:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 172 | {100115, "ping", 0}, | ^~~~~~ rpc.cpp:173:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 173 | {100000, "portmap", 0}, | ^~~~~~~~~ rpc.cpp:174:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 174 | {390100, "prestoctl [Prestoserve]", 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~ rpc.cpp:175:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 175 | {300632, "prpasswd", 0}, | ^~~~~~~~~~ rpc.cpp:176:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 176 | {100017, "rexd", 1}, | ^~~~~~ rpc.cpp:177:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 177 | {100014, "rje_mapper", 0}, | ^~~~~~~~~~~~ rpc.cpp:178:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 178 | {100116, "rpcnfs", 0}, | ^~~~~~~~ rpc.cpp:179:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 179 | {100011, "rquotad", 1}, | ^~~~~~~~~ rpc.cpp:180:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 180 | {100001, "rstatd [rstat_svc, rup, perfmeter]", 1}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 236 | }; | ^ rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp:236:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] rpc.cpp: In function ‘const char* vulnstate(int)’: rpc.cpp:243:35: warning: comparison with string literal results in unspecified behavior [-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] 259 | for (n = 0; (rpcentries[n].info != ""); n++) | ~~~~~~~~~~~~~~~~~~~^~~~~ rpc.cpp:268:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 268 | return "sgi_reserved"; | ^~~~~~~~~~~~~~ rpc.cpp:270:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 270 | return ""; | ^~ rpc.cpp: In function ‘void rpccheck(char*)’: ../lang.h:79:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 305 | Logger.msg(L_RPC, I_RPC, host, "%lu", head->pml_map.pm_prog); | ^~~~~ ../lang.h:79:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 312 | Logger.msg(L_RPC, I_RPC, host, " - %lu\t%lu\t%s\t%u\t%lu\t%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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: ‘int’ and ‘unsigned int’ [-Wsign-compare] 124 | (rcv_ip->ip_hl << 2) > (unsigned)res || | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -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=\"\" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -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 x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -DLINUX -Wall -ansi -fPIC -DLINUX -DWITH_XPROBE -c xp_udp_probe.c x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -DLINUX -Wall -ansi -fPIC -DLINUX -DWITH_XPROBE -c www.cpp 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] 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: xp_defines.h:29:16: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 29 | #define BANNER "X probe ver. "VERSION"\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] 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++ -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -DLINUX -Wall -ansi -fPIC -DLINUX -DWITH_XPROBE -c pidalloc.cpp 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] 44 | #define NSAT_BANNER "\t\tNetwork Security Analysis Tool v"VERSION"\n\t\t (c) 1999-2002 by Mixter, 2xs ltd.\n" | ^ 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: ‘int’ and ‘unsigned int’ [-Wsign-compare] 130 | (retval->ip->ip_hl << 2) > (unsigned)res || | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from www.cpp:30: www.h:47:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 47 | {"/cgi-bin/", 0}, | ^~~~~~~~~~~ www.h:48:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 48 | {"/cgi-dos/", 0}, | ^~~~~~~~~~~ www.h:49:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 49 | {"/cgi-shl/", 0}, | ^~~~~~~~~~~ www.h:50:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 50 | {"/cgi-win/", 0}, | ^~~~~~~~~~~ www.h:51:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 51 | {"/cgi-bin/", 0}, | ^~~~~~~~~~~ www.h:52:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 52 | {"/bb-dnbd/", 0}, | ^~~~~~~~~~~ www.h:53:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 53 | {"/.html/", 0}, | ^~~~~~~~~ www.h:54:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 54 | {"/iisadmpwd/", 0}, | ^~~~~~~~~~~~~ www.h:55:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 55 | {"/iissamples/", 0}, | ^~~~~~~~~~~~~~ www.h:56:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 56 | {"/samples/", 0}, | ^~~~~~~~~~~ www.h:57:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 57 | {"/scripts/", 0}, | ^~~~~~~~~~~ www.h:58:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 58 | {"/scripts/iisadmin/", 0}, | ^~~~~~~~~~~~~~~~~~~~ www.h:59:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 59 | {"/scripts/samples/", 0}, | ^~~~~~~~~~~~~~~~~~~ www.h:60:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 60 | {"/scripts/tools/", 0}, | ^~~~~~~~~~~~~~~~~ www.h:61:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 61 | {"/siteserver/publishing/", 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~ www.h:62:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 62 | {"/sites/knowledge/membership/", 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ www.h:63:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 63 | {"/sites/samples/knowledge/", 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ www.h:64:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 64 | {"/msadc/", 0}, | ^~~~~~~~~ www.h:65:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 65 | {"/msads/samples/", 0}, | ^~~~~~~~~~~~~~~~~ www.h:66:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 66 | {"/include/", 0}, | ^~~~~~~~~~~ www.h:67:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 67 | {"/cfappman/", 0}, | ^~~~~~~~~~~~ www.h:68:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 68 | {"/cfdocs/", 0}, | ^~~~~~~~~~ www.h:69:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 69 | {"/cfusion/cfapps/forums/", 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~ www.h:70:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 70 | {"/_vti_bin/", 0}, | ^~~~~~~~~~~~ www.h:71:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 71 | {"/PSUser/", 0}, | ^~~~~~~~~~ www.h:72:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 72 | {"/orders/", 0}, | ^~~~~~~~~~ www.h:73:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 73 | {"/photoads/", 0}, | ^~~~~~~~~~~~ www.h:74:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 74 | {"/PDG_Cart/", 0}, | ^~~~~~~~~~~~ www.h:75:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 75 | {"/piranha/secure/", 0}, | ^~~~~~~~~~~~~~~~~~ www.h:76:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 76 | {"/admisapi/", 0}, | ^~~~~~~~~~~~ www.h:77:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 77 | {"/_private/", 0}, | ^~~~~~~~~~~~ www.h:78:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 78 | {"EOF", 0} | ^~~~~ www.h:87:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 87 | "/.html/............/autoexec.bat", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ www.h:88:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 88 | "/_vti_bin/shtml.dll", | ^~~~~~~~~~~~~~~~~~~~~ www.h:89:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 89 | "/_vti_bin/shtml.exe", | ^~~~~~~~~~~~~~~~~~~~~ www.h:90:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 90 | "/_vti_inf.html", | ^~~~~~~~~~~~~~~~ www.h:91:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 91 | "/cgi-bin/cachemgr.cgi", | ^~~~~~~~~~~~~~~~~~~~~~~ www.h:92:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 92 | "/msadc/msadcs.dll", | ^~~~~~~~~~~~~~~~~~~ www.h:93:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 93 | "/msadc/samples/selector/showcode.asp", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ www.h:94:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 94 | "/scripts/samples/details.idc", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ www.h:95:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 95 | "/scripts/tools/newdsn.exe", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ www.h:96:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 96 | "/scripts/../../cmd.exe", | ^~~~~~~~~~~~~~~~~~~~~~~~ www.h:97:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 97 | "/secure/.htaccess", | ^~~~~~~~~~~~~~~~~~~ www.h:98:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 98 | "/cfdocs/expeval/openfile.cfm", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ www.h:99:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 99 | "/cgi-bin/architext_query.pl", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ www.h:100:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 100 | "/cgi-bin/ax-admin.cgi", | ^~~~~~~~~~~~~~~~~~~~~~~ www.h:101:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 101 | "/cgi-bin/bnbform.cgi", | ^~~~~~~~~~~~~~~~~~~~~~ www.h:102:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 102 | "/cgi-bin/campas", | ^~~~~~~~~~~~~~~~~ www.h:103:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 103 | "/cgi-bin/Count.cgi", | ^~~~~~~~~~~~~~~~~~~~ www.h:104:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 104 | "/cgi-bin/finger.pl", | ^~~~~~~~~~~~~~~~~~~~ www.h:105:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 105 | "/cgi-bin/man.sh", | ^~~~~~~~~~~~~~~~~ www.h:106:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 106 | "/cgi-bin/perl", | ^~~~~~~~~~~~~~~ www.h:107:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 107 | "/cgi-bin/perl.exe", | ^~~~~~~~~~~~~~~~~~~ www.h:108:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 108 | "/cgi-bin/perlshop.cgi", | ^~~~~~~~~~~~~~~~~~~~~~~ www.h:109:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 109 | "/cgi-bin/pfdisplay.cgi", | ^~~~~~~~~~~~~~~~~~~~~~~~ www.h:110:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 110 | "/cgi-bin/phf", | ^~~~~~~~~~~~~~ www.h:111:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 111 | "/cgi-bin/php", | ^~~~~~~~~~~~~~ www.h:112:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 112 | "/cgi-bin/php.cgi", | ^~~~~~~~~~~~~~~~~~ www.h:113:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 113 | "/cgi-bin/tcsh", | ^~~~~~~~~~~~~~~ www.h:114:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 114 | "/cgi-bin/w3-msql", | ^~~~~~~~~~~~~~~~~~ www.h:115:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 115 | "/cgi-bin/webdist.cgi", | ^~~~~~~~~~~~~~~~~~~~~~ www.h:116:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 116 | "/iisadmpwd/achg.htr", | ^~~~~~~~~~~~~~~~~~~~~ www.h:117:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 117 | "/orders/order.log", | ^~~~~~~~~~~~~~~~~~~ www.h:118:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 118 | "/publisher/|publisher", | ^~~~~~~~~~~~~~~~~~~~~~~ www.h:119:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 119 | "/WebShop/logs/cc.txt", | ^~~~~~~~~~~~~~~~~~~~~~ www.h:120:3: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 120 | "EOF" | ^~~~~ www.cpp: In function ‘void webscan(int)’: ../lang.h:62:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 67 | Logger.msg(L_HTTVER, I_WWW, whost, "- %s", p+8); | ^~~~~~ www.cpp: In function ‘void http_get(char*, char*, sockaddr_in*, int)’: ../lang.h:80:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 234 | Logger.msg(L_CGI, I_WWW, whost, "- %s", file); | ^~~~~~ www.cpp:197:14: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 197 | strncpy(evasion, WEBGET, 4); | ^ x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -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 www.cpp:217:14: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ output may be truncated copying 3072 bytes from a string of length 4095 [-Wstringop-truncation] 217 | strncpy(cgibuff, evasion, BUFSIZE * 3); | ^ www.cpp: In function ‘void webscan(int)’: www.cpp:52:10: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 1024 equals destination size [-Wstringop-truncation] 52 | strncpy(whost, inet_ntoa(sin.sin_addr), BUFSIZE); | ^ x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -DLINUX -Wall -ansi -fPIC -DLINUX -DWITH_XPROBE -c xp_pcap_iface.c ./util.c: In function ‘is_a_socket’: ./util.c:389:61: warning: pointer targets in passing argument 5 of ‘getsockopt’ differ in signedness [-Wpointer-sign] 389 | return (getsockopt (fd, SOL_SOCKET, SO_TYPE, (char *) &v, &l) == 0); | ^~ | | | int * In file included from ./includes.h:143, from ./util.c:22: /usr/include/sys/socket.h:257:46: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 257 | socklen_t *__restrict __optlen) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ./util.c: In function ‘name_mangle’: ./util.c:891:29: warning: the comparison will always evaluate as ‘true’ for the address of ‘scope’ will never be NULL [-Waddress] 891 | for (i = 0, len = 0; NULL != scope; i++, len++) | ^~ ./util.c:32:9: note: ‘scope’ declared here 32 | pstring scope = ""; | ^~~~~ ./util.c: In function ‘read_udp_socket’: ./util.c:2249:63: warning: pointer targets in passing argument 6 of ‘recvfrom’ differ in signedness [-Wpointer-sign] 2249 | ret = recvfrom (fd, buf, len, 0, (struct sockaddr *) &sock, &socklen); | ^~~~~~~~ | | | int * In file included from /usr/include/sys/socket.h:343: /usr/include/bits/socket2.h:62:56: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 62 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ ./util.c: In function ‘read_max_udp’: ./util.c:2371:7: warning: variable ‘selrtn’ set but not used [-Wunused-but-set-variable] 2371 | int selrtn; | ^~~~~~ ./util.c: In function ‘receive_local_message’: ./util.c:2732:50: warning: pointer targets in passing argument 6 of ‘recvfrom’ differ in signedness [-Wpointer-sign] 2732 | (struct sockaddr *) &from, &fromlen); | ^~~~~~~~ | | | int * /usr/include/bits/socket2.h:62:56: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 62 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ ./util.c: In function ‘client_name’: ./util.c:4025:33: warning: pointer targets in passing argument 3 of ‘getpeername’ differ in signedness [-Wpointer-sign] 4025 | if (getpeername (Client, &sa, &length) < 0) | ^~~~~~~ | | | int * /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 ‘getpeername’ differ in signedness [-Wpointer-sign] 4073 | if (getpeername (Client, &sa, &length) < 0) | ^~~~~~~ | | | int * /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; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ 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] 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++ -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -DLINUX -Wall -ansi -fPIC -DLINUX -DWITH_XPROBE -c xp_icmp_timestamp.c In file included from xprobe.h:166: xp_defines.h:29:16: warning: C++11 requires a space between string literal and macro [-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_timestamp.c:24: ../lang.h:44:21: warning: C++11 requires a space between string literal and macro [-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: xp_defines.h:29:16: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 29 | #define BANNER "X probe ver. "VERSION"\n------------------" | ^ x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -DLINUX -Wall -ansi -fPIC -DLINUX -DWITH_XPROBE -c xp_utils.c xp_pcap_iface.c: In function ‘int init_pcap(char*, char*)’: xp_pcap_iface.c:43:36: warning: ‘char* pcap_lookupdev(char*)’ is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 43 | if ((iname = pcap_lookupdev(errbuf)) == NULL) { | ~~~~~~~~~~~~~~^~~~~~~~ In file included from /usr/include/pcap.h:43, from xprobe.h:85: /usr/include/pcap/pcap.h:394:18: note: declared here 394 | PCAP_API char *pcap_lookupdev(char *) | ^~~~~~~~~~~~~~ xp_pcap_iface.c:51:12: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 17 equals destination size [-Wstringop-truncation] 51 | strncpy((char *)interf.iname, iname, sizeof(interf.iname)); | ^ x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -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 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] 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: xp_defines.h:29:16: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 29 | #define BANNER "X probe ver. "VERSION"\n------------------" | ^ x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -DLINUX -Wall -ansi -fPIC -DLINUX -DWITH_XPROBE -c binfo.cpp 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: ‘int’ and ‘unsigned int’ [-Wsign-compare] 115 | (rcv_ip->ip_hl << 2) > (unsigned)res || | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -DLINUX -Wall -ansi -fPIC -DLINUX -DWITH_XPROBE -c functions.cpp 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] 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] 44 | #define NSAT_BANNER "\t\tNetwork Security Analysis Tool v"VERSION"\n\t\t (c) 1999-2002 by Mixter, 2xs ltd.\n" | ^ xp_utils.c: In function ‘void fin_message(const char*)’: ../lang.h:66:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 75 | Logger.msg(L_OS, I_OS, ntoa(xphost), "- %s", message); | ^~~~~~ x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -DLINUX -Wall -ansi -fPIC -DLINUX -DWITH_XPROBE -c xp_pkt_exams.c 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] 44 | #define NSAT_BANNER "\t\tNetwork Security Analysis Tool v"VERSION"\n\t\t (c) 1999-2002 by Mixter, 2xs ltd.\n" | ^ binfo.cpp: In function ‘void print_ver(char*, int, char*)’: ../lang.h:61:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 189 | Logger.msg(L_DNS, I_BIND, host, " - %s %s%s", verstr, (iq?I_IQ:""), (nxt?I_NXT:"")); | ^~~~~~~~~~~~ In file included from xprobe.h:166: xp_defines.h:29:16: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 29 | #define BANNER "X probe ver. "VERSION"\n------------------" | ^ functions.cpp: In function ‘int safe_fork()’: functions.cpp:163:11: warning: ignoring return value of ‘int nice(int)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 163 | nice(-1); | ~~~~^~~~ functions.cpp: In function ‘int readpid()’: functions.cpp:311:9: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 311 | fscanf(f, "%d", &pid); | ~~~~~~^~~~~~~~~~~~~~~ functions.cpp: In function ‘void fdmax()’: functions.cpp:332:12: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 332 | write(fd, inode_max, strlen(inode_max)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.cpp:337:12: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 337 | write(fd, file_max, strlen(file_max)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.cpp:342:12: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 342 | write(fd, inode_max, strlen(inode_max)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.cpp:347:12: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 347 | write(fd, file_max, strlen(file_max)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘void print_ver(char*, int, char*)’, inlined from ‘void print_ver(char*, int, char*)’ at binfo.cpp:139:1: binfo.cpp:191:10: warning: ‘void operator delete(void*)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 191 | delete verstr; | ^~~~~~ binfo.cpp:158:24: note: returned from ‘void* operator new [](std::size_t)’ 158 | verstr = new char[len]; | ^ x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -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++ -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -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=\"\" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -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 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] 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++ -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -DLINUX -Wall -ansi -fPIC -DLINUX -DWITH_XPROBE -c bo.cpp 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] 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++ -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -DLINUX -Wall -ansi -fPIC -DLINUX -DWITH_XPROBE -c xp_logic_tree.c x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -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 snmp.cpp: In function ‘int getret(unsigned char*, int, snmpchex*)’: snmp.cpp:65:26: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 65 | if (buf[i] == '\x02') | ^ snmp.cpp: In function ‘int snmpcheck(long unsigned int)’: snmp.cpp:303:98: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 303 | ktsnmp(sock, (char *) &buf, sizeof(buf), (char *) &sn.name, "ADMsnmp", the_id + 127, &sin); | ^~~~~~~~~ snmp.cpp:205:14: warning: variable ‘x’ set but not used [-Wunused-but-set-variable] 205 | int i = 0, x; | ^ snmp.cpp: In function ‘void snmpwalk(long unsigned int)’: ../lang.h:69:25: warning: deprecated conversion from string constant to ‘char*’ [-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:167:25: warning: deprecated conversion from string constant to ‘char*’ [-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); | ^~~~~~~~~ snmp.cpp:348:47: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 348 | Logger.msg(L_SNMP, I_SYSNAME, ntoa(ip), "- %s", oldbanner); | ^~~~~~ ../lang.h:69:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 355 | Logger.msg(L_SNMP, I_SNMP, ntoa(ip), "%s %s", | ^~~~~~~ ../lang.h:69:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 359 | Logger.msg(L_SNMP, I_SNMP, ntoa(ip), "%s %s - %s", | ^~~~~~~~~~~~ ../lang.h:69:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 364 | Logger.msg(L_SNMP, I_SNMP, ntoa(ip), "%s %s - %s", | ^~~~~~~~~~~~ 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] 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: xp_defines.h:29:16: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 29 | #define BANNER "X probe ver. "VERSION"\n------------------" | ^ x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -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 bo.cpp: In function ‘int getinput(int)’: ../lang.h:81:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 161 | Logger.msg(L_BO, I_BO, inet_ntoa(host.sin_addr), "- %s %s %u - %s %s", | ^~~~~~~~~~~~~~~~~~~~ ../lang.h:81:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 170 | Logger.msg(L_BO, I_BO, inet_ntoa(host.sin_addr), "- %s %s %u", | ^~~~~~~~~~~~ ../lang.h:81:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 177 | Logger.msg(L_BO, I_BO, inet_ntoa(host.sin_addr), "- %s", ptr); | ^~~~~~ bo.cpp:119:17: warning: variable ‘oldestpack’ set but not used [-Wunused-but-set-variable] 119 | unsigned long oldestpack, lastpacket, packetid; | ^~~~~~~~~~ bo.cpp:119:29: warning: variable ‘lastpacket’ set but not used [-Wunused-but-set-variable] 119 | unsigned long oldestpack, lastpacket, packetid; | ^~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -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++ -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -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=\"\" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -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 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 ‘char*’ [-Wwrite-strings] 38 | init_pcap("lo", inet_ntoa(to.sin_addr)); | ^~~~ 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] 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: xp_defines.h:29:16: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 29 | #define BANNER "X probe ver. "VERSION"\n------------------" | ^ x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -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=\"\" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -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 x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -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 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] 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++ -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -DLINUX -Wall -ansi -fPIC -DLINUX -DWITH_XPROBE -c xp_icmp_echo.c x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -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 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: ‘int’ and ‘unsigned int’ [-Wsign-compare] 121 | (retval->ip->ip_hl << 2) > (unsigned)res || | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 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] 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++ -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -DLINUX -Wall -ansi -fPIC -DLINUX -DWITH_XPROBE -c AuditSet.cpp In file included from xprobe.h:166: xp_defines.h:29:16: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 29 | #define BANNER "X probe ver. "VERSION"\n------------------" | ^ ftp.cpp: In function ‘int ftptest(int, char*)’: ../lang.h:57:25: warning: deprecated conversion from string constant to ‘char*’ [-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); | ^~~~~ ../lang.h:202:25: warning: deprecated conversion from string constant to ‘char*’ [-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); | ^~~~~ ../lang.h:162:25: warning: deprecated conversion from string constant to ‘char*’ [-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); | ^~~~~~ ftp.cpp: In function ‘int eval_list(char*)’: ../lang.h:57:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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); | ^~~~~ ftp.cpp:168:43: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 168 | Logger.msg(L_FTP, I_FTP, gdest, "%s %s", I_WRITE, path2); | ^~~~~~~ ../lang.h:57:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 172 | Logger.msg(L_FTP, I_FTP, gdest, "%s /%s", I_WRITE, path2); | ^~~~~~~~ ftp.cpp: In function ‘int ftptest(int, char*)’: ftp.cpp:17:23: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-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 ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 17 | #define sockw(x) write(fd,x,strlen(x)); | ~~~~~^~~~~~~~~~~~~~~~ ftp.cpp:44:3: note: in expansion of macro ‘sockw’ 44 | sockw(FTPPASS); | ^~~~~ ftp.cpp: In function ‘int port(int, char*)’: ftp.cpp:17:23: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-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 ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-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 ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-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"); | ^~~~~ ftp.cpp: In function ‘int eval_list(char*)’: ftp.cpp:159:40: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] 159 | snprintf(path2, sizeof(path2), "%s/%s", path, tmp); | ^ In file included from /usr/include/stdio.h:906, from /usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/cstdio:42, from /usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/fstream:41, from ../nsat.h:39: In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘int eval_list(char*)’ at ftp.cpp:159:11: /usr/include/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 1025) into a destination of size 1024 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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] 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=\"\" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -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 x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -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 x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -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 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: ‘int’ and ‘unsigned int’ [-Wsign-compare] 128 | (retval->ip->ip_hl << 2) > (unsigned)res || | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -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 make[2]: Leaving directory '/var/tmp/portage/net-analyzer/nsat-1.5-r6/work/nsat/src/mod' compiling ADM smb scanner... x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -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 -lX11 -lpcap -ltirpc AuditSet.cpp:38:7: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 38 | {1, "tcpmux", 1}, | ^~~~~~~~ AuditSet.cpp:39:7: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 39 | {7, "echo", 1}, | ^~~~~~ AuditSet.cpp:40:7: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 40 | {9, "discard", 0}, | ^~~~~~~~~ AuditSet.cpp:41:8: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 41 | {11, "systat", 1}, | ^~~~~~~~ AuditSet.cpp:42:8: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 42 | {13, "daytime", 0}, | ^~~~~~~~~ AuditSet.cpp:43:8: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 43 | {15, "netstat", 1}, | ^~~~~~~~~ AuditSet.cpp:44:8: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 44 | {17, "qotd", 0}, | ^~~~~~ AuditSet.cpp:45:8: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 45 | {19, "chargen", 1}, | ^~~~~~~~~ AuditSet.cpp:46:8: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 46 | {20, "ftp-data", 1}, | ^~~~~~~~~~ AuditSet.cpp:47:8: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 47 | {21, "ftp", 0}, | ^~~~~ AuditSet.cpp:48:8: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 48 | {22, "ssh", 0}, | ^~~~~ AuditSet.cpp:49:8: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 49 | {23, "telnet", 0}, | ^~~~~~~~ AuditSet.cpp:50:8: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 50 | {25, "smtpd", 0}, | ^~~~~~~ AuditSet.cpp:51:8: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 51 | {37, "time", 0}, | ^~~~~~ AuditSet.cpp:52:8: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 52 | {43, "nicname", 0}, | ^~~~~~~~~ AuditSet.cpp:53:8: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 53 | {48, "auditd", 1}, | ^~~~~~~~ AuditSet.cpp:54:8: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 54 | {49, "tacacs", 1}, | ^~~~~~~~ AuditSet.cpp:55:8: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 55 | {53, "bind", 0}, | ^~~~~~ AuditSet.cpp:56:8: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 56 | {70, "gopher", 0}, | ^~~~~~~~ AuditSet.cpp:57:8: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 57 | {79, "finger", 1}, | ^~~~~~~~ AuditSet.cpp:58:8: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 58 | {80, "http", 0}, | ^~~~~~ AuditSet.cpp:59:8: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 59 | {88, "kerberos", 0}, | ^~~~~~~~~~ AuditSet.cpp:60:8: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 60 | {98, "linuxconf", 1}, | ^~~~~~~~~~~ AuditSet.cpp:61:9: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 61 | {109, "pop2", 1}, | ^~~~~~ AuditSet.cpp:62:9: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 62 | {110, "pop3", 0}, | ^~~~~~ AuditSet.cpp:63:9: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 63 | {111, "portmap", 1}, | ^~~~~~~~~ AuditSet.cpp:64:9: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 64 | {113, "auth", 0}, | ^~~~~~ AuditSet.cpp:65:9: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 65 | {115, "sftp", 0}, | ^~~~~~ AuditSet.cpp:66:9: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 66 | {119, "nntp", 0}, | ^~~~~~ AuditSet.cpp:67:9: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 67 | {123, "ntp", 0}, | ^~~~~ AuditSet.cpp:68:9: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 68 | {139, "netbios/smbd", 1}, | ^~~~~~~~~~~~~~ AuditSet.cpp:69:9: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 69 | {143, "imap", 0}, | ^~~~~~ AuditSet.cpp:70:9: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 70 | {179, "bgp", 1}, | ^~~~~ AuditSet.cpp:71:9: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 71 | {213, "ipx", 0}, | ^~~~~ AuditSet.cpp:72:9: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 72 | {261, "FW-1 AuthAgent", 1}, | ^~~~~~~~~~~~~~~~ AuditSet.cpp:73:9: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 73 | {389, "ldap", 0}, | ^~~~~~ AuditSet.cpp:74:9: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 74 | {427, "AppleShare/IP", 1}, | ^~~~~~~~~~~~~~~ AuditSet.cpp:75:9: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 75 | {443, "https", 0}, | ^~~~~~~ AuditSet.cpp:76:9: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 76 | {445, "smbd", 1}, | ^~~~~~ AuditSet.cpp:77:9: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 77 | {512, "rexecd", 1}, | ^~~~~~~~ AuditSet.cpp:78:9: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 78 | {513, "rlogind", 1}, | ^~~~~~~~~ AuditSet.cpp:79:9: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 79 | {514, "rshd", 1}, | ^~~~~~ AuditSet.cpp:80:9: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 80 | {515, "lpd", 1}, | ^~~~~ AuditSet.cpp:81:9: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 81 | {543, "klogin", 1}, | ^~~~~~~~ AuditSet.cpp:82:9: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 82 | {540, "uucp", 0}, | ^~~~~~ AuditSet.cpp:83:9: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 83 | {544, "kshell", 1}, | ^~~~~~~~ AuditSet.cpp:84:9: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 84 | {548, "AppleShare/IP", 1}, | ^~~~~~~~~~~~~~~ AuditSet.cpp:85:9: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 85 | {600, "600 (common backdoor port)", 2}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:86:9: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 86 | {666, "666 (common backdoor port)", 2}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:87:9: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 87 | {762, "quotad", 1}, | ^~~~~~~~ AuditSet.cpp:88:9: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 88 | {774, "rpasswd", 0}, | ^~~~~~~~~ AuditSet.cpp:89:9: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 89 | {873, "rsync", 0}, | ^~~~~~~ AuditSet.cpp:90:9: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 90 | {992, "telnets", 0}, | ^~~~~~~~~ AuditSet.cpp:91:9: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 91 | {993, "imaps", 0}, | ^~~~~~~ AuditSet.cpp:92:9: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 92 | {994, "ircs", 0}, | ^~~~~~ AuditSet.cpp:93:9: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 93 | {995, "pop3s", 0}, | ^~~~~~~ AuditSet.cpp:94:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 94 | {1080, "SOCKS5", 0}, | ^~~~~~~~ AuditSet.cpp:95:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 95 | {1114, "mSQL", 1}, | ^~~~~~ AuditSet.cpp:96:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 96 | {1243, "1243 (subseven backdoor port)", 2}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:97:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 97 | {1337, "1337 (common backdoor port)", 2}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:98:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 98 | {1433, "MS-SQL", 1}, | ^~~~~~~~ AuditSet.cpp:99:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 99 | {1524, "1524 (common backdoor port or ingreslock)", 2}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:100:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 100 | {1525, "Oracle SQL", 1}, | ^~~~~~~~~~~~ AuditSet.cpp:101:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 101 | {1999, "Cisco backdoor (1999)", 1}, | ^~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:102:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 102 | {2000, "OpenWin", 1}, | ^~~~~~~~~ AuditSet.cpp:103:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 103 | {2049, "nfsd", 1}, | ^~~~~~ AuditSet.cpp:104:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 104 | {2222, "2222 (common backdoor port)", 2}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:105:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 105 | {2223, "mdbms", 1}, | ^~~~~~~ AuditSet.cpp:106:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 106 | {2224, "mdbms (fastport)", 1}, | ^~~~~~~~~~~~~~~~~~ AuditSet.cpp:107:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 107 | {2301, "cim", 1}, | ^~~~~ AuditSet.cpp:108:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 108 | {2606, "netmon", 1}, | ^~~~~~~~ AuditSet.cpp:109:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 109 | {2766, "nlpsd", 1}, | ^~~~~~~ AuditSet.cpp:110:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 110 | {2998, "realsecure", 1}, | ^~~~~~~~~~~~ AuditSet.cpp:111:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 111 | {3007, "lotusmtap", 1}, | ^~~~~~~~~~~ AuditSet.cpp:112:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 112 | {3128, "squid", 0}, | ^~~~~~~ AuditSet.cpp:113:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 113 | {3279, "admind", 1}, | ^~~~~~~~ AuditSet.cpp:114:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 114 | {3306, "mysql", 1}, | ^~~~~~~ AuditSet.cpp:115:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 115 | {3333, "3333 (eggdrop default port)", 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:116:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 116 | {3346, "transparent proxy", 1}, | ^~~~~~~~~~~~~~~~~~~ AuditSet.cpp:117:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 117 | {5556, "HP-UX RemoteWatch", 1}, | ^~~~~~~~~~~~~~~~~~~ AuditSet.cpp:118:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 118 | {6000, "XWindows", 1}, | ^~~~~~~~~~ AuditSet.cpp:119:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 119 | {6667, "ircd", 0}, | ^~~~~~ AuditSet.cpp:120:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 120 | {7161, "Cisco DoS (7161)", 1}, | ^~~~~~~~~~~~~~~~~~ AuditSet.cpp:121:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 121 | {7070, "RealServer DoS (7070)", 1}, | ^~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:122:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 122 | {8080, "WebProxy (8080)", 0}, | ^~~~~~~~~~~~~~~~~ AuditSet.cpp:123:11: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 123 | {10401, "kdebug", 1}, | ^~~~~~~~ AuditSet.cpp:132:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 132 | }; | ^ AuditSet.cpp:132:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] AuditSet.cpp:132:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] AuditSet.cpp:132:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] AuditSet.cpp:132:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] AuditSet.cpp:132:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] AuditSet.cpp:132:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] AuditSet.cpp:132:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] AuditSet.cpp: In member function ‘int AuditSet::icmptest()’: lang.h:78:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-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); | ^~~~~~~~~ lang.h:78:25: warning: deprecated conversion from string constant to ‘char*’ [-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:191:25: warning: deprecated conversion from string constant to ‘char*’ [-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)); | ^~~~~~ AuditSet.cpp:261:60: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 261 | Logger.msg(L_ICMP, I_ICMP, Hostname(), "- latency %lu secs", (time(NULL) - ref)); | ^~~~~~~~~~~~~~~~~~~~ lang.h:78:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 264 | Logger.msg(L_ICMP, I_ICMP, Hostname(), "- timestamp: orig:%lu/recv:%lu/trans:%lu", its->origts, its->recvts, its->transts); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lang.h:78:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-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]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp: In member function ‘void AuditSet::plog(int)’: lang.h:56:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 299 | Logger.msg(L_PORTS, I_PORTL, Hostname(), "- %u %s", ntohs(sin.sin_port), (char *) (vuln ? M_DANGEROUS_SVC : "")); | ^~~~~~~~~ lang.h:56:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 303 | Logger.msg(L_PORTS, I_PORTL, Hostname(), "- %s %s", desc, (char *) (vuln ? M_DANGEROUS_SVC : "")); | ^~~~~~~~~ AuditSet.cpp: In member function ‘void AuditSet::nstat(int)’: lang.h:56:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 316 | Logger.msg(L_PORTS, I_PORTL, Hostname(), "- %s", I_NETSTAT); | ^~~~~~ lang.h:73:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 332 | Logger.msg(L_NETSTAT, I_NSTAT, Hostname(), "- %s", b); | ^~~~~~ AuditSet.cpp: In member function ‘void AuditSet::ftp(int)’: lang.h:57:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 346 | Logger.msg(L_FTP, I_FTP, Hostname(), "- ftp (banner timeout)"); | ^~~~~~~~~~~~~~~~~~~~~~~~ lang.h:57:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 351 | Logger.msg(L_FTP, I_FTP, Hostname(), "- %s", b); | ^~~~~~ AuditSet.cpp: In member function ‘void AuditSet::ssh(int)’: lang.h:58:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 366 | Logger.msg(L_SSH, I_SSH, Hostname(), "- ssh (banner timeout)"); | ^~~~~~~~~~~~~~~~~~~~~~~~ lang.h:58:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 373 | Logger.msg(L_SSH, I_SSH, Hostname(), "- %s", b); | ^~~~~~ AuditSet.cpp: In member function ‘void AuditSet::telnet(int)’: lang.h:59:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 384 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- telnet"); | ^~~~~~~~~~ AuditSet.cpp:421:6: warning: this ‘for’ clause does not guard... [-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)); | ^~~~~ lang.h:59:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 438 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- ALL:ALL in hosts.deny?"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ lang.h:59:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 443 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- IRIX"); | ^~~~~~~~ lang.h:59:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 448 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- System V banner"); | ^~~~~~~~~~~~~~~~~~~ lang.h:59:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 453 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- Solaris"); | ^~~~~~~~~~~ lang.h:59:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 458 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- SunOS"); | ^~~~~~~~~ lang.h:59:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 463 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- Open WinGate"); | ^~~~~~~~~~~~~~~~ lang.h:59:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 468 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- RedHat Linux"); | ^~~~~~~~~~~~~~~~ lang.h:59:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 473 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- SuSE Linux"); | ^~~~~~~~~~~~~~ lang.h:59:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 478 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- Slackware Linux"); | ^~~~~~~~~~~~~~~~~~~ lang.h:59:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 483 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- Debian Linux"); | ^~~~~~~~~~~~~~~~ lang.h:59:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 488 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- Linux"); | ^~~~~~~~~ lang.h:59:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 493 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- FreeBSD"); | ^~~~~~~~~~~ lang.h:59:25: warning: deprecated conversion from string constant to ‘char*’ [-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"); | ^~~~~~~~ lang.h:198:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 498 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- FreeBSD"); | ^~~~~~~~~~~ lang.h:59:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 503 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- OpenBSD"); | ^~~~~~~~~~~ lang.h:59:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 508 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- BSDi"); | ^~~~~~~~ lang.h:59:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 513 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- BSD"); | ^~~~~~~ lang.h:59:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 518 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- Cisco IOS"); | ^~~~~~~~~~~~~ lang.h:59:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 523 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- SCO UNIX"); | ^~~~~~~~~~~~ lang.h:59:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 528 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- OpenVMS/VAX"); | ^~~~~~~~~~~~~~~ lang.h:59:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 533 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- HP-UX"); | ^~~~~~~~~ lang.h:59:25: warning: deprecated conversion from string constant to ‘char*’ [-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"); | ^~~~~~~~ lang.h:198:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 538 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- NeXT"); | ^~~~~~~~ lang.h:59:25: warning: deprecated conversion from string constant to ‘char*’ [-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"); | ^~~~~~~~ lang.h:198:25: warning: deprecated conversion from string constant to ‘char*’ [-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"); | ^~~~~~~~ AuditSet.cpp:543:50: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 543 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- DG-UNIX"); | ^~~~~~~~~~~ lang.h:59:25: warning: deprecated conversion from string constant to ‘char*’ [-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"); | ^~~~~~~~ lang.h:198:25: warning: deprecated conversion from string constant to ‘char*’ [-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"); | ^~~~~~~~ AuditSet.cpp:548:50: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 548 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- Radius or router"); | ^~~~~~~~~~~~~~~~~~~~ lang.h:59:25: warning: deprecated conversion from string constant to ‘char*’ [-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"); | ^~~~~~~~ lang.h:198:25: warning: deprecated conversion from string constant to ‘char*’ [-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"); | ^~~~~~~~ AuditSet.cpp:553:50: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 553 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- Ascend router"); | ^~~~~~~~~~~~~~~~~ lang.h:59:25: warning: deprecated conversion from string constant to ‘char*’ [-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"); | ^~~~~~~~ lang.h:198:25: warning: deprecated conversion from string constant to ‘char*’ [-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"); | ^~~~~~~~ AuditSet.cpp:558:50: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 558 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- Router password prompt"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ lang.h:59:25: warning: deprecated conversion from string constant to ‘char*’ [-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)"); | ^~~~~~~~ lang.h:198:25: warning: deprecated conversion from string constant to ‘char*’ [-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)"); | ^~~~~~~~ AuditSet.cpp:563:50: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 563 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- Unknown proxy (\"telnet\" prompt)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lang.h:59:25: warning: deprecated conversion from string constant to ‘char*’ [-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)"); | ^~~~~~~~ lang.h:198:25: warning: deprecated conversion from string constant to ‘char*’ [-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)"); | ^~~~~~~~ AuditSet.cpp:568:50: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 568 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- Unknown proxy (\"gate\" prompt)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lang.h:59:25: warning: deprecated conversion from string constant to ‘char*’ [-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)"); | ^~~~~~~~ lang.h:198:25: warning: deprecated conversion from string constant to ‘char*’ [-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)"); | ^~~~~~~~ AuditSet.cpp:573:50: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 573 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "- Unknown (\"login\" prompt)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lang.h:59:25: warning: deprecated conversion from string constant to ‘char*’ [-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); | ^~~~~~~~ lang.h:198:25: warning: deprecated conversion from string constant to ‘char*’ [-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); | ^~~~~~~~ lang.h:175:25: warning: deprecated conversion from string constant to ‘char*’ [-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); | ^~~~~~~~~ lang.h:59:25: warning: deprecated conversion from string constant to ‘char*’ [-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); | ^~~~~~~~ lang.h:198:25: warning: deprecated conversion from string constant to ‘char*’ [-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); | ^~~~~~~~ AuditSet.cpp:582:50: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 582 | Logger.msg(L_TELNET, I_TELNET, Hostname(), "<< %s >>", b); | ^~~~~~~~~~ AuditSet.cpp: In member function ‘void AuditSet::smtp(int)’: lang.h:60:25: warning: deprecated conversion from string constant to ‘char*’ [-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)"); | ^~~~~~ lang.h:204:25: warning: deprecated conversion from string constant to ‘char*’ [-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)"); | ^~~~~~ AuditSet.cpp:596:46: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 596 | Logger.msg(L_SMTP, I_SMTP, Hostname(), " - smtp (banner timeout)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ lang.h:60:25: warning: deprecated conversion from string constant to ‘char*’ [-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); | ^~~~~~ lang.h:204:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 601 | Logger.msg(L_SMTP, I_SMTP, Hostname(), " %s", b); | ^~~~~ lang.h:60:25: warning: deprecated conversion from string constant to ‘char*’ [-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); | ^~~~~~ lang.h:204:25: warning: deprecated conversion from string constant to ‘char*’ [-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); | ^~~~~~ lang.h:176:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-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); | ^~~~~~ lang.h:60:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-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); | ^~~~~~ lang.h:60:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-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!" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp: In member function ‘void AuditSet::finger(int)’: lang.h:56:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 774 | Logger.msg(L_FINGER, I_FING, Hostname(), " - %s", b); | ^~~~~~~ AuditSet.cpp: In member function ‘void AuditSet::pop2(int)’: lang.h:63:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 792 | Logger.msg(L_POP2, I_POP2, Hostname(), " - POP2 (banner timeout)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ lang.h:63:25: warning: deprecated conversion from string constant to ‘char*’ [-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); | ^~~~~~ lang.h:206:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 797 | Logger.msg(L_POP2, I_POP2, Hostname(), " - %s", b); | ^~~~~~~ AuditSet.cpp: In member function ‘void AuditSet::pop3(int)’: lang.h:64:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 808 | Logger.msg(L_POP3, I_POP3, Hostname(), " - POP3 (banner timeout)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ lang.h:64:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 814 | Logger.msg(L_POP3, I_POP3, Hostname(), " - %s", b); | ^~~~~~~ AuditSet.cpp: In member function ‘void AuditSet::pmap(int)’: lang.h:56:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 833 | Logger.msg(L_NNTP, I_NNTP, Hostname(), " - NEWS (banner timeout)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ lang.h:71:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 838 | Logger.msg(L_NNTP, I_NNTP, Hostname(), " - %s", b); | ^~~~~~~ AuditSet.cpp: In member function ‘void AuditSet::imap(int)’: lang.h:65:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 869 | Logger.msg(L_IMAP, I_IMAP, Hostname(), " - IMAP (banner timeout)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ lang.h:65:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 874 | Logger.msg(L_IMAP, I_IMAP, Hostname(), " - %s", b); | ^~~~~~~ AuditSet.cpp: In member function ‘void AuditSet::backdoor(int, int)’: lang.h:74:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 899 | Logger.msg(L_BACKDOOR, I_PORT, Hostname(), " - %u: << %s >>", ntohs(pt), b); | ^~~~~~~~~~~~~~~~~ AuditSet.cpp: In member function ‘void AuditSet::nlps(int)’: lang.h:56:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 927 | Logger.msg(L_NLPS, I_NLPL, Hostname(), "- %s", b); | ^~~~~~ AuditSet.cpp: In member function ‘void AuditSet::ircd(int)’: lang.h:56:25: warning: deprecated conversion from string constant to ‘char*’ [-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); | ^~~~~~~ lang.h:201:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 952 | Logger.msg(L_IRCD, I_PORTL, Hostname(), " - %s", b); | ^~~~~~~ AuditSet.cpp: In member function ‘void AuditSet::xwin(int)’: lang.h:56:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-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); | ^~~~~~ lang.h:76:25: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 76 | #define L_XWIN "xwindows.log" | ^~~~~~~~~~~~~~ AuditSet.cpp:975:18: note: in expansion of macro ‘L_XWIN’ 975 | Logger.msg(L_XWIN, I_XWINL, Hostname(), I_XWIN2); | ^~~~~~ lang.h:213:25: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 213 | #define I_XWINL " [xwin] " | ^~~~~~~~~~~~~~ AuditSet.cpp:975:26: note: in expansion of macro ‘I_XWINL’ 975 | Logger.msg(L_XWIN, I_XWINL, Hostname(), I_XWIN2); | ^~~~~~~ lang.h:187:25: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 187 | #define I_XWIN2 " - dumpable/sniffable" | ^~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:975:47: note: in expansion of macro ‘I_XWIN2’ 975 | Logger.msg(L_XWIN, I_XWINL, Hostname(), I_XWIN2); | ^~~~~~~ AuditSet.cpp: In member function ‘void AuditSet::nbname()’: lang.h:77:25: warning: deprecated conversion from string constant to ‘char*’ [-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 ‘char*’ [-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 ‘char*’ [-Wwrite-strings] 1054 | Logger.msg(L_NETBIOS, I_NBIOS, Hostname(), "- %s", bufx); | ^~~~~~ x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -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 AuditSet.cpp: In member function ‘void AuditSet::telnet(int)’: AuditSet.cpp:403:20: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 403 | write(s, b, 3); | ~~~~~^~~~~~~~~ AuditSet.cpp:424:13: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 424 | write(s, sndbuf, strlen(sndbuf)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp: In member function ‘void AuditSet::smtp(int)’: AuditSet.cpp:615:8: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 615 | write(s, SMTP_HELO, strlen(SMTP_HELO)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:625:8: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 625 | write(s, SMTP_EXPN, strlen(SMTP_EXPN)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:639:12: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 639 | write(s, SMTP_VRFY, strlen(SMTP_VRFY)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:654:10: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 654 | write(s, SMTP_QUIT, strlen(SMTP_QUIT)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:660:8: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 660 | write(s, SMTP_FROM, strlen(SMTP_FROM)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:669:8: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 669 | write(s, SMTP_TO, strlen(SMTP_TO)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:678:8: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 678 | write(s, SMTP_DATA, strlen(SMTP_DATA)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:687:8: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 687 | write(s, SMTP_END, strlen(SMTP_END)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:707:12: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 707 | write(s, SMTP_FROM, strlen(SMTP_FROM)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:716:12: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 716 | write(s, SMTP_TO89, strlen(SMTP_TO89)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:728:8: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-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 ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 914 | write(s, nlps_x86, sizeof(nlps_x86)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AuditSet.cpp:915:8: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-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 ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-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=\"\" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -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 /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../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/12/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.o: in function `SockSet::probe(int)': SockSet.cpp:(.text+0x445): undefined reference to `AuditSet::plog(int)' /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x5ce): undefined reference to `AuditSet::plog(int)' /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x64e): undefined reference to `AuditSet::os()' /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x65b): undefined reference to `AuditSet::bo()' /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x673): undefined reference to `AuditSet::snmp()' /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x68b): undefined reference to `AuditSet::nbname()' /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x6c1): undefined reference to `AuditSet::http(int)' /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x6ec): undefined reference to `AuditSet::ftp(int)' /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x717): undefined reference to `AuditSet::xwin(int)' /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x742): undefined reference to `AuditSet::ircd(int)' /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x76d): undefined reference to `AuditSet::nlps(int)' /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x798): undefined reference to `AuditSet::smb(int)' /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x7c3): undefined reference to `AuditSet::pmap(int)' /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x7ee): undefined reference to `AuditSet::smtp(int)' /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x819): undefined reference to `AuditSet::telnet(int)' /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x844): undefined reference to `AuditSet::finger(int)' /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x86f): undefined reference to `AuditSet::imap(int)' /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x89a): undefined reference to `AuditSet::nntp(int)' /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x8c5): undefined reference to `AuditSet::pop3(int)' /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x8f0): undefined reference to `AuditSet::pop2(int)' /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x91b): undefined reference to `AuditSet::ssh(int)' /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x946): undefined reference to `AuditSet::nstat(int)' /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x971): undefined reference to `AuditSet::nbind(int)' /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x98b): undefined reference to `AuditSet::os()' /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x998): undefined reference to `AuditSet::nbname()' /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x9ae): undefined reference to `AuditSet::snmp()' /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.cpp:(.text+0x9c4): undefined reference to `AuditSet::bo()' /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.o: in function `SockSet::con(unsigned int)': SockSet.cpp:(.text+0xbcb): undefined reference to `AuditSet::icmptest()' /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../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/12/../../../../x86_64-pc-linux-gnu/bin/ld: SockSet.o: in function `SockSet::~SockSet() [clone .cold]': SockSet.cpp:(.text.unlikely+0x7): undefined reference to `AuditSet::~AuditSet()' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:39: ../nsat] Error 1 shuffle=3245604408 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=\"\" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -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 x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -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 ./nmblib.c: In function ‘debug_nmb_res_rec’: ./nmblib.c:107:40: warning: the comparison will always evaluate as ‘false’ for the address of ‘rdata’ will never be NULL [-Waddress] 107 | if (res->rdlength == 0 || res->rdata == NULL) | ^~ In file included from ./includes.h:1170, from ./nmblib.c:23: ./nameserv.h:441:10: note: ‘rdata’ declared here 441 | char rdata[MAX_DGRAM_SIZE]; | ^~~~~ x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -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=\"\" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -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 x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -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 x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -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 x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -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 x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -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 x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -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-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -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 x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -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=\"\" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -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-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -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-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -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=\"\" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -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=\"\" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -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 ./clientutil.c: In function ‘cli_send_login’: ./clientutil.c:730:17: warning: variable ‘domain’ set but not used [-Wunused-but-set-variable] 730 | char *domain, *os, *lanman; | ^~~~~~ ./clientutil.c:470:7: warning: variable ‘crypt_len’ set but not used [-Wunused-but-set-variable] 470 | int crypt_len = 0; | ^~~~~~~~~ x86_64-pc-linux-gnu-gcc -DSMBLOGFILE=\"\" -DNMBLOGFILE=\"\" -DCONFIGFILE=\"\" -DLMHOSTSFILE=\"\" -DWEB_ROOT=\"\" -DLOCKDIR=\"\" -DSMBRUN=\"\" -DCODEPAGEDIR=\"\" -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DDRIVERFILE=\"\" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -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-r6/work/nsat/src/smb' make[1]: Leaving directory '/var/tmp/portage/net-analyzer/nsat-1.5-r6/work/nsat/src' make: *** [Makefile:17: all] Error 2 shuffle=3245604408 * ERROR: net-analyzer/nsat-1.5-r6::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-analyzer/nsat-1.5-r6::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-analyzer/nsat-1.5-r6::gentoo'`. * The complete build log is located at '/var/log/portage/net-analyzer:nsat-1.5-r6:20221202-042901.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/nsat-1.5-r6/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/nsat-1.5-r6/temp/environment'. * Working directory: '/var/tmp/portage/net-analyzer/nsat-1.5-r6/work/nsat' * S: '/var/tmp/portage/net-analyzer/nsat-1.5-r6/work/nsat'