<86>Jun 11 04:37:36 userdel[1997354]: delete user 'rooter'
<86>Jun 11 04:37:36 userdel[1997354]: removed group 'rooter' owned by 'rooter'
<86>Jun 11 04:37:36 userdel[1997354]: removed shadow group 'rooter' owned by 'rooter'
<86>Jun 11 04:37:36 groupadd[1997383]: group added to /etc/group: name=rooter, GID=939
<86>Jun 11 04:37:36 groupadd[1997383]: group added to /etc/gshadow: name=rooter
<86>Jun 11 04:37:36 groupadd[1997383]: new group: name=rooter, GID=939
<86>Jun 11 04:37:36 useradd[1997401]: new user: name=rooter, UID=939, GID=939, home=/root, shell=/bin/bash
<86>Jun 11 04:37:36 userdel[1997423]: delete user 'builder'
<86>Jun 11 04:37:36 userdel[1997423]: removed group 'builder' owned by 'builder'
<86>Jun 11 04:37:36 userdel[1997423]: removed shadow group 'builder' owned by 'builder'
<86>Jun 11 04:37:36 groupadd[1997441]: group added to /etc/group: name=builder, GID=940
<86>Jun 11 04:37:36 groupadd[1997441]: group added to /etc/gshadow: name=builder
<86>Jun 11 04:37:36 groupadd[1997441]: new group: name=builder, GID=940
<86>Jun 11 04:37:36 useradd[1997460]: new user: name=builder, UID=940, GID=940, home=/usr/src, shell=/bin/bash
<13>Jun 11 04:37:37 rpmi: libncurses-6.3.20211106-alt2 sisyphus+294456.100.3.1 1643966459 installed
<13>Jun 11 04:37:37 rpmi: libtinfo-devel-6.3.20211106-alt2 sisyphus+294456.100.3.1 1643966459 installed
<13>Jun 11 04:37:37 rpmi: liblz4-1:1.9.3-alt1 sisyphus+278100.4000.1.1 1626060252 installed
<13>Jun 11 04:37:37 rpmi: libsystemd-1:249.12-alt2 sisyphus+299531.100.2.1 1652296687 installed
<13>Jun 11 04:37:37 rpmi: libdbus-1.12.22-alt1 sisyphus+298998.100.1.1 1650885228 installed
<13>Jun 11 04:37:37 rpmi: libpcap0.8-2:1.9.1-alt2 sisyphus+278380.100.1.1 1626093291 installed
<13>Jun 11 04:37:37 rpmi: libpcap-devel-2:1.9.1-alt2 sisyphus+278380.100.1.1 1626093291 installed
<13>Jun 11 04:37:37 rpmi: libncurses-devel-6.3.20211106-alt2 sisyphus+294456.100.3.1 1643966459 installed
Building target platforms: i586
Building for target i586
Wrote: /usr/src/in/nosrpm/sniffit-0.5-alt1.nosrc.rpm (w1.gzdio)
Installing sniffit-0.5-alt1.src.rpm
Building target platforms: i586
Building for target i586
Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.95625
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf sniffit-0.5
+ echo 'Source #0 (sniffit-0.5.tar.gz):'
Source #0 (sniffit-0.5.tar.gz):
+ /bin/gzip -dc /usr/src/RPM/SOURCES/sniffit-0.5.tar.gz
+ /bin/tar -xf -
+ cd sniffit-0.5
+ /bin/chmod -c -Rf u+rwX,go-w .
+ exit 0
Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.95625
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd sniffit-0.5
+ autoreconf -fisv
autoreconf-default: Entering directory `.'
autoreconf-default: configure.ac: not using Gettext
autoreconf-default: running: aclocal --force 
autoreconf-default: configure.ac: tracing
autoreconf-default: configure.ac: not using Libtool
autoreconf-default: configure.ac: not using Intltool
autoreconf-default: configure.ac: not using gtk-doc
autoreconf-default: running: /usr/bin/autoconf-2.60 --force
autoreconf-default: running: /usr/bin/autoheader-2.60 --force
autoreconf-default: running: automake --add-missing --force-missing
configure.ac:12: installing './compile'
configure.ac:62: installing './install-sh'
configure.ac:62: installing './missing'
src/Makefile.am: installing './depcomp'
autoreconf-default: Leaving directory `.'
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic'
+ export CFLAGS
+ CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic'
+ export CXXFLAGS
+ FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic'
+ export FFLAGS
+ FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic'
+ export FCFLAGS
+ '[' -n '' ']'
++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic'
++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g'
+ ASFLAGS=' -march=i586 -mtune=generic'
+ export ASFLAGS
+ export lt_cv_deplibs_check_method=pass_all
+ lt_cv_deplibs_check_method=pass_all
+ readlink -e -- ./configure
+ xargs -ri dirname -- '{}'
+ xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n'
+ sort -u
+ xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess
+ ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --sbindir=/usr/bin
configure: WARNING: unrecognized options: --without-included-gettext
checking for i586-alt-linux-gcc... i586-alt-linux-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i586-alt-linux-gcc accepts -g... yes
checking for i586-alt-linux-gcc option to accept ISO C89... none needed
checking whether i586-alt-linux-gcc understands -c and -o together... yes
checking for main in -lncurses... yes
checking for pcap_open_live in -lpcap... yes
checking how to run the C preprocessor... i586-alt-linux-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking pcap.h usability... yes
checking pcap.h presence... yes
checking for pcap.h... yes
checking for size_t... yes
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for alarm... yes
checking for bzero... yes
checking for gethostbyname... yes
checking for socket... yes
checking for strchr... yes
checking for strdup... yes
checking for strstr... yes
checking for shmget... yes
checking for atexit... yes
checking size of unsigned short int... 2
checking size of unsigned long int... 4
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
checking whether make supports nested variables... yes
checking dependency style of i586-alt-linux-gcc... none
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
configure: WARNING: unrecognized options: --without-included-gettext
+ make -j16 OBJ_OPT=-g 'EXE_OPT=-lpcap -g'
make  all-recursive
Making all in src
make[2]: Entering directory '/usr/src/RPM/BUILD/sniffit-0.5/src'
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I..  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1  -lncurses -lpcap -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o sn_resolv.o sn_resolv.c
make[2]: Leaving directory '/usr/src/RPM/BUILD/sniffit-0.5/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/sniffit-0.5/src'
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I..  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1  -lncurses -lpcap -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o sn_packets.o sn_packets.c
sn_packets.c: In function 'unwrap_packet':
sn_packets.c:68:32: warning: passing argument 1 of 'in_cksum' from incompatible pointer type [-Wincompatible-pointer-types]
   68 |                 if(in_cksum((sp+PROTO_HEAD),unwrapped->IP_len) != IPhead.checksum)
      |                             ~~~^~~~~~~~~~~~
      |                                |
      |                                unsigned char *
sn_packets.c:14:41: note: expected 'short unsigned int *' but argument is of type 'unsigned char *'
   14 | unsigned short in_cksum(unsigned short *addr,int len)
      |                         ~~~~~~~~~~~~~~~~^~~~
sn_packets.c:46:13: warning: unused variable 'i' [-Wunused-variable]
   46 |         int i;
      |             ^
make[2]: Leaving directory '/usr/src/RPM/BUILD/sniffit-0.5/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/sniffit-0.5/src'
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I..  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1  -lncurses -lpcap -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o sn_logfile.o sn_logfile.c
sn_logfile.c: In function 'open_logfile':
sn_logfile.c:96:8: warning: passing argument 1 of 'fchmod' makes integer from pointer without a cast [-Wint-conversion]
   96 | fchmod(LogFILE,  S_IWUSR|S_IRUSR);
      |        ^~~~~~~
      |        |
      |        FILE *
In file included from sn_logfile.c:9:
/usr/include/sys/stat.h:365:24: note: expected 'int' but argument is of type 'FILE *'
  365 | extern int fchmod (int __fd, __mode_t __mode) __THROW;
      |                    ~~~~^~~~
make[2]: Leaving directory '/usr/src/RPM/BUILD/sniffit-0.5/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/sniffit-0.5/src'
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I..  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1  -lncurses -lpcap -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o sn_generation.o sn_generation.c
sn_generation.c: In function 'exec_generate':
sn_generation.c:66:1: warning: implicit declaration of function 'input_field' [-Wimplicit-function-declaration]
   66 | input_field(msg,NULL,0);
      | ^~~~~~~~~~~
sn_generation.c:67:1: warning: implicit declaration of function 'forced_refresh' [-Wimplicit-function-declaration]
   67 | forced_refresh();
      | ^~~~~~~~~~~~~~
sn_generation.c: In function 'open_sending':
sn_generation.c:131:5: warning: unused variable 'dummy' [-Wunused-variable]
  131 | int dummy=1;
      |     ^~~~~
sn_generation.c:129:18: warning: unused variable 'sp_proto' [-Wunused-variable]
  129 | struct protoent *sp_proto;
      |                  ^~~~~~~~
sn_generation.c: In function 'sp_send_packet':
sn_generation.c:147:17: warning: unused variable 'sp_help' [-Wunused-variable]
  147 | struct hostent *sp_help;
      |                 ^~~~~~~
sn_generation.c: In function 'sp_fix_IP_packet':
sn_generation.c:205:22: warning: implicit declaration of function 'in_cksum' [-Wimplicit-function-declaration]
  205 | sp_help_ip->checksum=in_cksum((unsigned short *) (sp->buffer),
      |                      ^~~~~~~~
make[2]: Leaving directory '/usr/src/RPM/BUILD/sniffit-0.5/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/sniffit-0.5/src'
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I..  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1  -lncurses -lpcap -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o sn_cfgfile.o sn_cfgfile.c
sn_cfgfile.c: In function 'clean_string':
sn_cfgfile.c:131:14: warning: implicit declaration of function 'isalnum' [-Wimplicit-function-declaration]
  131 |         if( (isalnum(string[i]))||(string[i]=='.') )
      |              ^~~~~~~
sn_cfgfile.c:17:1: note: include '<ctype.h>' or provide a declaration of 'isalnum'
   16 | #include "sniffit.h"
  +++ |+#include <ctype.h>
   17 | /* #include "sn_generation.h" */
sn_cfgfile.c: In function 'clean_filename':
sn_cfgfile.c:155:15: warning: implicit declaration of function 'iscntrl' [-Wimplicit-function-declaration]
  155 |         if( !(iscntrl(string[i])) && !(isspace(string[i])) )
      |               ^~~~~~~
sn_cfgfile.c:155:15: note: include '<ctype.h>' or provide a declaration of 'iscntrl'
sn_cfgfile.c:155:40: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration]
  155 |         if( !(iscntrl(string[i])) && !(isspace(string[i])) )
      |                                        ^~~~~~~
sn_cfgfile.c:155:40: note: include '<ctype.h>' or provide a declaration of 'isspace'
sn_cfgfile.c: In function 'make_nr_dot':
sn_cfgfile.c:175:6: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
  175 | digit=(char *)&hostnr;
      |      ^
sn_cfgfile.c: In function 'interprete_line':
sn_cfgfile.c:239:26: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
  239 |               strcpy(help->host,dot_notation);
      |                      ~~~~^~~~~~
      |                          |
      |                          unsigned char *
In file included from /usr/include/features.h:490,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:26,
                 from sn_cfgfile.c:5:
/usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
   77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
      | ^~~~~
sn_cfgfile.c:255:26: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
  255 |               strcpy(help->host, clean_string(strtok(NULL," ")));
      |                      ~~~~^~~~~~
      |                          |
      |                          unsigned char *
/usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
   77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
      | ^~~~~
sn_cfgfile.c:270:26: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
  270 |               strcpy(help->host,dot_notation);
      |                      ~~~~^~~~~~
      |                          |
      |                          unsigned char *
/usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
   77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
      | ^~~~~
sn_cfgfile.c:286:26: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
  286 |               strcpy(help->host, clean_string(strtok(NULL," ")));
      |                      ~~~~^~~~~~
      |                          |
      |                          unsigned char *
/usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
   77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
      | ^~~~~
sn_cfgfile.c:302:26: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
  302 |               strcpy(help->host,dot_notation);
      |                      ~~~~^~~~~~
      |                          |
      |                          unsigned char *
/usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
   77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
      | ^~~~~
sn_cfgfile.c:303:27: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
  303 |               strcpy(helpp->host,dot_notation);
      |                      ~~~~~^~~~~~
      |                           |
      |                           unsigned char *
/usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
   77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
      | ^~~~~
sn_cfgfile.c:326:26: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
  326 |               strcpy(help->host, field);
      |                      ~~~~^~~~~~
      |                          |
      |                          unsigned char *
/usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
   77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
      | ^~~~~
sn_cfgfile.c:327:27: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
  327 |               strcpy(helpp->host, field);
      |                      ~~~~~^~~~~~
      |                           |
      |                           unsigned char *
/usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
   77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
      | ^~~~~
sn_cfgfile.c:348:26: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
  348 |               strcpy(help->host,dot_notation);
      |                      ~~~~^~~~~~
      |                          |
      |                          unsigned char *
/usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
   77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
      | ^~~~~
sn_cfgfile.c:364:26: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
  364 |               strcpy(help->host, clean_string(strtok(NULL," ")));
      |                      ~~~~^~~~~~
      |                          |
      |                          unsigned char *
/usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
   77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
      | ^~~~~
sn_cfgfile.c:379:26: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
  379 |               strcpy(help->host,dot_notation);
      |                      ~~~~^~~~~~
      |                          |
      |                          unsigned char *
/usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
   77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
      | ^~~~~
sn_cfgfile.c:395:26: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
  395 |               strcpy(help->host, clean_string(strtok(NULL," ")));
      |                      ~~~~^~~~~~
      |                          |
      |                          unsigned char *
/usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
   77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
      | ^~~~~
sn_cfgfile.c:411:26: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
  411 |               strcpy(help->host,dot_notation);
      |                      ~~~~^~~~~~
      |                          |
      |                          unsigned char *
/usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
   77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
      | ^~~~~
sn_cfgfile.c:412:27: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
  412 |               strcpy(helpp->host,dot_notation);
      |                      ~~~~~^~~~~~
      |                           |
      |                           unsigned char *
/usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
   77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
      | ^~~~~
sn_cfgfile.c:434:26: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
  434 |               strcpy(help->host, field);
      |                      ~~~~^~~~~~
      |                          |
      |                          unsigned char *
/usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
   77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
      | ^~~~~
sn_cfgfile.c:435:27: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
  435 |               strcpy(helpp->host, field);
      |                      ~~~~~^~~~~~
      |                           |
      |                           unsigned char *
/usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
   77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
      | ^~~~~
sn_cfgfile.c:214:8: warning: unused variable 'i' [-Wunused-variable]
  214 | size_t i;
      |        ^
sn_cfgfile.c: In function 'read_cfg_file':
sn_cfgfile.c:452:8: warning: unused variable 'line_length' [-Wunused-variable]
  452 | size_t line_length;
      |        ^~~~~~~~~~~
sn_cfgfile.c:463:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  463 |         fgets(lineptr,259,cfgfile);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/usr/src/RPM/BUILD/sniffit-0.5/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/sniffit-0.5/src'
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I..  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1  -lncurses -lpcap -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o sn_interface.o sn_interface.c
sn_interface.c: In function 'mask_status':
sn_interface.c:195:3: warning: assignment to 'unsigned char *' from incompatible pointer type '_32_bit *' {aka 'unsigned int *'} [-Wincompatible-pointer-types]
  195 | ad=&(mask->source_ip);
      |   ^
sn_interface.c:201:3: warning: assignment to 'unsigned char *' from incompatible pointer type '_32_bit *' {aka 'unsigned int *'} [-Wincompatible-pointer-types]
  201 | ad=&(mask->destination_ip);
      |   ^
sn_interface.c: In function 'menu_line':
sn_interface.c:365:5: warning: unused variable 'i' [-Wunused-variable]
  365 | int i;
      |     ^
sn_interface.c: In function 'input_field':
sn_interface.c:381:13: warning: unused variable 'i' [-Wunused-variable]
  381 |         int i;
      |             ^
sn_interface.c: In function 'interaction':
sn_interface.c:470:25: warning: implicit declaration of function 'isprint' [-Wimplicit-function-declaration]
  470 |                         isprint(*(connection_data+i))?
      |                         ^~~~~~~
sn_interface.c:20:1: note: include '<ctype.h>' or provide a declaration of 'isprint'
   19 | #include "sn_resolv.h"
  +++ |+#include <ctype.h>
   20 | 
sn_interface.c: In function 'packet_info_handler':
sn_interface.c:491:63: warning: ' ' flag used with '%u' gnu_printf format [-Wformat=]
  491 | mvwprintw(packets_box.work_window,0,1,"IP packets/sec.  : % 12u",(*IP_nr_of_packets)/INFO_TIMER);
      |                                                               ^
sn_interface.c:492:63: warning: ' ' flag used with '%u' gnu_printf format [-Wformat=]
  492 | mvwprintw(packets_box.work_window,1,1,"TCP packets/sec. : % 12u",(*TCP_nr_of_packets)/INFO_TIMER);
      |                                                               ^
sn_interface.c:493:63: warning: ' ' flag used with '%u' gnu_printf format [-Wformat=]
  493 | mvwprintw(packets_box.work_window,2,1,"ICMP packets/sec.: % 12u",(*ICMP_nr_of_packets)/INFO_TIMER);
      |                                                               ^
sn_interface.c:494:63: warning: ' ' flag used with '%u' gnu_printf format [-Wformat=]
  494 | mvwprintw(packets_box.work_window,3,1,"UDP packets/sec. : % 12u",(*UDP_nr_of_packets)/INFO_TIMER);
      |                                                               ^
sn_interface.c: In function 'run_interface':
sn_interface.c:690:5: warning: unused variable 'i' [-Wunused-variable]
  690 | int i,key_hit;
      |     ^
make[2]: Leaving directory '/usr/src/RPM/BUILD/sniffit-0.5/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/sniffit-0.5/src'
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I..  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1  -lncurses -lpcap -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o sniffit.o sniffit.c
In file included from sn_plugins.h:23,
                 from sniffit.c:35:
dns_plugin.plug: In function 'PL_DNS_plugin':
dns_plugin.plug:87:12: warning: assignment to 'struct PL_DNS_header *' from incompatible pointer type 'struct DNS_header *' [-Wincompatible-pointer-types]
   87 | dns_dnshead= (struct DNS_header *) (dns_buffer+udp_start+sizeof(struct UDP_header));
      |            ^
dns_plugin.plug:122:25: warning: pointer targets in passing argument 1 of 'PL_DNS_decode' differ in signedness [-Wpointer-sign]
  122 |   dec_pos=PL_DNS_decode(dns_p,dec_pos,NULL,0);
      |                         ^~~~~
      |                         |
      |                         unsigned char *
dns_plugin.plug:30:25: note: expected 'char *' but argument is of type 'unsigned char *'
   30 | int PL_DNS_decode(char *buf, int start_pos,char *string, int start_string)
      |                   ~~~~~~^~~
dns_plugin.plug:142:25: warning: pointer targets in passing argument 1 of 'PL_DNS_decode' differ in signedness [-Wpointer-sign]
  142 |   dec_pos=PL_DNS_decode(dns_p,dec_pos,NULL,0);
      |                         ^~~~~
      |                         |
      |                         unsigned char *
dns_plugin.plug:30:25: note: expected 'char *' but argument is of type 'unsigned char *'
   30 | int PL_DNS_decode(char *buf, int start_pos,char *string, int start_string)
      |                   ~~~~~~^~~
dns_plugin.plug:77:6: warning: unused variable 'pos' [-Wunused-variable]
   77 | long pos;
      |      ^~~
dns_plugin.plug:76:47: warning: variable 'len' set but not used [-Wunused-but-set-variable]
   76 | int i, j, dec_pos, answers, count, udp_start, len;
      |                                               ^~~
dns_plugin.plug:76:29: warning: unused variable 'count' [-Wunused-variable]
   76 | int i, j, dec_pos, answers, count, udp_start, len;
      |                             ^~~~~
sniffit.c: In function 'strlower':
sniffit.c:127:22: warning: implicit declaration of function 'isupper' [-Wimplicit-function-declaration]
  127 |     *(string + i) = (isupper (*(string + i)) ? tolower (*(string + i)) : *(string + i));
      |                      ^~~~~~~
sniffit.c:45:1: note: include '<ctype.h>' or provide a declaration of 'isupper'
   44 | #include "sniffit.h"            /* definition of functions  */
  +++ |+#include <ctype.h>
   45 | 
sniffit.c:127:48: warning: implicit declaration of function 'tolower' [-Wimplicit-function-declaration]
  127 |     *(string + i) = (isupper (*(string + i)) ? tolower (*(string + i)) : *(string + i));
      |                                                ^~~~~~~
sniffit.c:127:48: note: include '<ctype.h>' or provide a declaration of 'tolower'
sniffit.c: In function 'record_buf':
sniffit.c:386:11: warning: implicit declaration of function 'isprint' [-Wimplicit-function-declaration]
  386 |       if (isprint (data[i]))
      |           ^~~~~~~
sniffit.c:386:11: note: include '<ctype.h>' or provide a declaration of 'isprint'
sniffit.c: In function 'sb_shift':
sniffit.c:405:10: warning: unused variable 'j' [-Wunused-variable]
  405 |   int i, j;
      |          ^
sniffit.c: In function 'check_packet':
sniffit.c:546:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  546 |           if (MODE == DEST && ipaddr != iphead.destination      /* -t */
      |               ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sniffit.c:551:15: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  550 |               MODE == BOTH && ipaddr != iphead.destination      /* -b */
      |               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  551 |               && ipaddr != iphead.source
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~
sniffit.c:565:32: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  565 |               if (MODE == DEST && (strncmp (wc_dest, IP, n_s) != 0)     /* -t */
      |                   ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sniffit.c:570:32: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  569 |                   MODE == BOTH && (strncmp (wc_dest, IP, n_s) != 0)     /* -b */
      |                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  570 |                                && (strncmp (wc_so, IP, n_s) != 0)
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sniffit.c:602:46: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign]
  602 |                           if (strcmp (wc_so, str_IP) == 0)
      |                                              ^~~~~~
      |                                              |
      |                                              unsigned char *
In file included from sniffit.c:10:
/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *'
  156 | extern int strcmp (const char *__s1, const char *__s2)
      |                                      ~~~~~~~~~~~~^~~~
sniffit.c:611:63: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
  611 |                           if (strncmp (wc_so, str_IP, strlen (str_IP)) == 0)
      |                                                               ^~~~~~
      |                                                               |
      |                                                               unsigned char *
/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *'
  407 | extern size_t strlen (const char *__s)
      |                       ~~~~~~~~~~~~^~~
sniffit.c:611:47: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign]
  611 |                           if (strncmp (wc_so, str_IP, strlen (str_IP)) == 0)
      |                                               ^~~~~~
      |                                               |
      |                                               unsigned char *
/usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *'
  159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n)
      |                                       ~~~~~~~~~~~~^~~~
sniffit.c:641:48: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign]
  641 |                           if (strcmp (wc_dest, str_IP) == 0)
      |                                                ^~~~~~
      |                                                |
      |                                                unsigned char *
/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *'
  156 | extern int strcmp (const char *__s1, const char *__s2)
      |                                      ~~~~~~~~~~~~^~~~
sniffit.c:650:65: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
  650 |                           if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0)
      |                                                                 ^~~~~~
      |                                                                 |
      |                                                                 unsigned char *
/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *'
  407 | extern size_t strlen (const char *__s)
      |                       ~~~~~~~~~~~~^~~
sniffit.c:650:49: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign]
  650 |                           if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0)
      |                                                 ^~~~~~
      |                                                 |
      |                                                 unsigned char *
/usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *'
  159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n)
      |                                       ~~~~~~~~~~~~^~~~
sniffit.c:680:46: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign]
  680 |                           if (strcmp (wc_so, str_IP) == 0)
      |                                              ^~~~~~
      |                                              |
      |                                              unsigned char *
/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *'
  156 | extern int strcmp (const char *__s1, const char *__s2)
      |                                      ~~~~~~~~~~~~^~~~
sniffit.c:689:46: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign]
  689 |                           if (strcmp (wc_so, str_IP) == 0)
      |                                              ^~~~~~
      |                                              |
      |                                              unsigned char *
/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *'
  156 | extern int strcmp (const char *__s1, const char *__s2)
      |                                      ~~~~~~~~~~~~^~~~
sniffit.c:720:65: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
  720 |                           if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0)
      |                                                                 ^~~~~~
      |                                                                 |
      |                                                                 unsigned char *
/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *'
  407 | extern size_t strlen (const char *__s)
      |                       ~~~~~~~~~~~~^~~
sniffit.c:720:49: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign]
  720 |                           if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0)
      |                                                 ^~~~~~
      |                                                 |
      |                                                 unsigned char *
/usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *'
  159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n)
      |                                       ~~~~~~~~~~~~^~~~
sniffit.c:729:65: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
  729 |                           if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0)
      |                                                                 ^~~~~~
      |                                                                 |
      |                                                                 unsigned char *
/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *'
  407 | extern size_t strlen (const char *__s)
      |                       ~~~~~~~~~~~~^~~
sniffit.c:729:49: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign]
  729 |                           if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0)
      |                                                 ^~~~~~
      |                                                 |
      |                                                 unsigned char *
/usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *'
  159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n)
      |                                       ~~~~~~~~~~~~^~~~
sniffit.c:842:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  842 |           if (MODE == DEST && ipaddr != iphead.destination      /* -t */
      |               ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sniffit.c:847:15: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  846 |               MODE == BOTH && ipaddr != iphead.destination      /* -b */
      |               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  847 |               && ipaddr != iphead.source
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~
sniffit.c:858:32: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  858 |               if (MODE == DEST && (strncmp (wc_dest, IP, n_s) != 0)     /* -t */
      |                   ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sniffit.c:863:19: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  862 |                   MODE == BOTH && (strncmp (wc_dest, IP, n_s) != 0)     /* -b */
      |                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  863 |                   && (strncmp (wc_so, IP, n_s) != 0)
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sniffit.c:893:46: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign]
  893 |                           if (strcmp (wc_so, str_IP) == 0)
      |                                              ^~~~~~
      |                                              |
      |                                              unsigned char *
/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *'
  156 | extern int strcmp (const char *__s1, const char *__s2)
      |                                      ~~~~~~~~~~~~^~~~
sniffit.c:904:63: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
  904 |                           if (strncmp (wc_so, str_IP, strlen (str_IP)) == 0)
      |                                                               ^~~~~~
      |                                                               |
      |                                                               unsigned char *
/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *'
  407 | extern size_t strlen (const char *__s)
      |                       ~~~~~~~~~~~~^~~
sniffit.c:904:47: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign]
  904 |                           if (strncmp (wc_so, str_IP, strlen (str_IP)) == 0)
      |                                               ^~~~~~
      |                                               |
      |                                               unsigned char *
/usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *'
  159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n)
      |                                       ~~~~~~~~~~~~^~~~
sniffit.c:934:48: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign]
  934 |                           if (strcmp (wc_dest, str_IP) == 0)
      |                                                ^~~~~~
      |                                                |
      |                                                unsigned char *
/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *'
  156 | extern int strcmp (const char *__s1, const char *__s2)
      |                                      ~~~~~~~~~~~~^~~~
sniffit.c:945:65: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
  945 |                           if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0)
      |                                                                 ^~~~~~
      |                                                                 |
      |                                                                 unsigned char *
/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *'
  407 | extern size_t strlen (const char *__s)
      |                       ~~~~~~~~~~~~^~~
sniffit.c:945:49: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign]
  945 |                           if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0)
      |                                                 ^~~~~~
      |                                                 |
      |                                                 unsigned char *
/usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *'
  159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n)
      |                                       ~~~~~~~~~~~~^~~~
sniffit.c:973:46: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign]
  973 |                           if (strcmp (wc_so, str_IP) == 0)
      |                                              ^~~~~~
      |                                              |
      |                                              unsigned char *
/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *'
  156 | extern int strcmp (const char *__s1, const char *__s2)
      |                                      ~~~~~~~~~~~~^~~~
sniffit.c:982:46: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign]
  982 |                           if (strcmp (wc_so, str_IP) == 0)
      |                                              ^~~~~~
      |                                              |
      |                                              unsigned char *
/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *'
  156 | extern int strcmp (const char *__s1, const char *__s2)
      |                                      ~~~~~~~~~~~~^~~~
sniffit.c:1010:65: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
 1010 |                           if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0)
      |                                                                 ^~~~~~
      |                                                                 |
      |                                                                 unsigned char *
/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *'
  407 | extern size_t strlen (const char *__s)
      |                       ~~~~~~~~~~~~^~~
sniffit.c:1010:49: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign]
 1010 |                           if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0)
      |                                                 ^~~~~~
      |                                                 |
      |                                                 unsigned char *
/usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *'
  159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n)
      |                                       ~~~~~~~~~~~~^~~~
sniffit.c:1019:65: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
 1019 |                           if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0)
      |                                                                 ^~~~~~
      |                                                                 |
      |                                                                 unsigned char *
/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *'
  407 | extern size_t strlen (const char *__s)
      |                       ~~~~~~~~~~~~^~~
sniffit.c:1019:49: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign]
 1019 |                           if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0)
      |                                                 ^~~~~~
      |                                                 |
      |                                                 unsigned char *
/usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *'
  159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n)
      |                                       ~~~~~~~~~~~~^~~~
sniffit.c: In function 'packethandler':
sniffit.c:1107:43: warning: passing argument 2 of 'pcap_dump' from incompatible pointer type [-Wincompatible-pointer-types]
 1107 |     pcap_dump((unsigned char *) dev_dump, p_header, sp);
      |                                           ^~~~~~~~
      |                                           |
      |                                           const struct packetheader *
In file included from /usr/include/pcap.h:43,
                 from sniffit.c:24:
/usr/include/pcap/pcap.h:517:37: note: expected 'const struct pcap_pkthdr *' but argument is of type 'const struct packetheader *'
  517 | PCAP_API void   pcap_dump(u_char *, const struct pcap_pkthdr *, const u_char *);
      |                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
sniffit.c:1108:12: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion]
 1108 |     return 1;
      |            ^
sniffit.c:1154:32: warning: format '%lX' expects argument of type 'long unsigned int', but argument 2 has type '__uint32_t' {aka 'unsigned int'} [-Wformat=]
 1154 |       printf ("   SEQ (hex): %lX   ", ntohl (tcphead.seq_nr));
      |                              ~~^
      |                                |
      |                                long unsigned int
      |                              %X
sniffit.c:1156:31: warning: format '%lX' expects argument of type 'long unsigned int', but argument 2 has type '__uint32_t' {aka 'unsigned int'} [-Wformat=]
 1156 |         printf ("ACK (hex): %lX\n", ntohl (tcphead.ACK_nr));
      |                             ~~^
      |                               |
      |                               long unsigned int
      |                             %X
sniffit.c:1189:24: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion]
 1189 |                 return 1;
      |                        ^
sniffit.c:1193:24: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion]
 1193 |                 return 1;
      |                        ^
sniffit.c:1259:14: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion]
 1259 |       return 1;
      |              ^
In file included from sniffit.c:1270:
sn_analyse.c:13:16: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion]
   13 |         return 1;
      |                ^
sn_analyse.c:29:10: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion]
   29 |   return 1;
      |          ^
sn_analyse.c:43:37: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion]
   43 | if((dummy&FIN)||(dummy&RST)) return 1; /* needed, cauz entry don't exist  */
      |                                     ^
sn_analyse.c:53:51: warning: passing argument 3 of 'sbuf_update' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   53 |   sbuf_update(dummy_pointer,ntohl(tcphead.seq_nr),data,info.DATA_len);
      |                                                   ^~~~
sniffit.c:413:20: note: expected 'char *' but argument is of type 'const unsigned char *'
  413 |              char *data, int len)
      |              ~~~~~~^~~~
sn_analyse.c:83:52: warning: passing argument 3 of 'record_buf' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   83 |     record_buf(dummy_pointer,ntohl(tcphead.seq_nr),data,info.DATA_len,0);
      |                                                    ^~~~
sniffit.c:358:19: note: expected 'char *' but argument is of type 'const unsigned char *'
  358 |             char *data, int len, int type)
      |             ~~~~~~^~~~
sn_analyse.c:95:54: warning: passing argument 3 of 'record_buf' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   95 |       record_buf(dummy_pointer,ntohl(tcphead.seq_nr),data,info.DATA_len,0);
      |                                                      ^~~~
sniffit.c:358:19: note: expected 'char *' but argument is of type 'const unsigned char *'
  358 |             char *data, int len, int type)
      |             ~~~~~~^~~~
sn_analyse.c:117:51: warning: passing argument 3 of 'sbuf_update' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  117 |   sbuf_update(dummy_pointer,ntohl(tcphead.seq_nr),data,info.DATA_len);
      |                                                   ^~~~
sniffit.c:413:20: note: expected 'char *' but argument is of type 'const unsigned char *'
  413 |              char *data, int len)
      |              ~~~~~~^~~~
sn_analyse.c:157:22: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign]
  157 |     strncpy(workbuf1,data,len);
      |                      ^~~~
      |                      |
      |                      const unsigned char *
In file included from /usr/include/features.h:490,
                 from /usr/include/unistd.h:25,
                 from sniffit.c:6:
/usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'const unsigned char *'
   92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src,
      | ^~~~~
sn_analyse.c:200:8: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion]
  200 | return 1;
      |        ^
sn_analyse.c:201:8: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion]
  201 | return 1;  /* DON'T FORGET THEM!!!! */
      |        ^
sniffit.c:1339:14: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion]
 1339 |       return 1;
      |              ^
sniffit.c:1372:14: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion]
 1372 |       return 1;
      |              ^
sniffit.c:1081:26: warning: unused variable 'position' [-Wunused-variable]
 1081 |   unsigned long datalen, position, total_length, i, n;
      |                          ^~~~~~~~
sniffit.c:1081:17: warning: unused variable 'datalen' [-Wunused-variable]
 1081 |   unsigned long datalen, position, total_length, i, n;
      |                 ^~~~~~~
In file included from sniffit.c:1458:
sn_conn_desc.c: In function 'check_mask':
sn_conn_desc.c:24:12: warning: implicit declaration of function 'isalnum' [-Wimplicit-function-declaration]
   24 |       if( (isalnum(data[i]) || ispunct(data[i]) || data[i]==' ')&&(j<(*DESC_LEN)-1) )
      |            ^~~~~~~
sn_conn_desc.c:1:1: note: include '<ctype.h>' or provide a declaration of 'isalnum'
  +++ |+#include <ctype.h>
    1 | /* Connection description detection file                                 */
sn_conn_desc.c:24:32: warning: implicit declaration of function 'ispunct' [-Wimplicit-function-declaration]
   24 |       if( (isalnum(data[i]) || ispunct(data[i]) || data[i]==' ')&&(j<(*DESC_LEN)-1) )
      |                                ^~~~~~~
sn_conn_desc.c:24:32: note: include '<ctype.h>' or provide a declaration of 'ispunct'
sn_conn_desc.c:27:15: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration]
   27 |         {if( (isspace(data[i]) && data[i]!=' ')&&(j<(*DESC_LEN)-1) )
      |               ^~~~~~~
sn_conn_desc.c:27:15: note: include '<ctype.h>' or provide a declaration of 'isspace'
sniffit.c: In function 'main':
sniffit.c:1522:20: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types]
 1522 |   signal (SIGINT,  my_exit);    /* graceful termination in different ways */
      |                    ^~~~~~~
      |                    |
      |                    void (*)(void)
In file included from sniffit.c:7:
/usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)'
   88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
      |                                          ~~~~~~~~~~~~~~~^~~~~~~~~
sniffit.c:1523:20: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types]
 1523 |   signal (SIGHUP,  my_exit);
      |                    ^~~~~~~
      |                    |
      |                    void (*)(void)
/usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)'
   88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
      |                                          ~~~~~~~~~~~~~~~^~~~~~~~~
sniffit.c:1524:20: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types]
 1524 |   signal (SIGTERM, my_exit);
      |                    ^~~~~~~
      |                    |
      |                    void (*)(void)
/usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)'
   88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
      |                                          ~~~~~~~~~~~~~~~^~~~~~~~~
sniffit.c:1758:36: warning: pointer targets in passing argument 1 of 'pcap_open_offline' differ in signedness [-Wpointer-sign]
 1758 |     if((dev_desc=pcap_open_offline(DUMPfile,ebuf))==NULL)
      |                                    ^~~~~~~~
      |                                    |
      |                                    unsigned char *
/usr/include/pcap/pcap.h:413:36: note: expected 'const char *' but argument is of type 'unsigned char *'
  413 | PCAP_API pcap_t *pcap_open_offline(const char *, char *);
      |                                    ^~~~~~~~~~~~
sniffit.c:1773:5: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations]
 1773 |     if((dev = pcap_lookupdev (ebuf)) == NULL)
      |     ^~
/usr/include/pcap/pcap.h:328:18: note: declared here
  328 | PCAP_API char   *pcap_lookupdev(char *)
      |                  ^~~~~~~~~~~~~~
sniffit.c:1793:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
 1793 |   if(!(DUMPMODE&16))
      |     ^
sniffit.c:1800:20: warning: extra tokens at end of #ifdef directive
 1800 | #ifdef PLUGIN0_INIT()
      |                    ^
sniffit.c:1804:20: warning: extra tokens at end of #ifdef directive
 1804 | #ifdef PLUGIN1_INIT()
      |                    ^
sniffit.c:1808:20: warning: extra tokens at end of #ifdef directive
 1808 | #ifdef PLUGIN2_INIT()
      |                    ^
sniffit.c:1812:20: warning: extra tokens at end of #ifdef directive
 1812 | #ifdef PLUGIN3_INIT()
      |                    ^
sniffit.c:1816:20: warning: extra tokens at end of #ifdef directive
 1816 | #ifdef PLUGIN4_INIT()
      |                    ^
sniffit.c:1820:20: warning: extra tokens at end of #ifdef directive
 1820 | #ifdef PLUGIN5_INIT()
      |                    ^
sniffit.c:1824:20: warning: extra tokens at end of #ifdef directive
 1824 | #ifdef PLUGIN6_INIT()
      |                    ^
sniffit.c:1828:20: warning: extra tokens at end of #ifdef directive
 1828 | #ifdef PLUGIN7_INIT()
      |                    ^
sniffit.c:1832:20: warning: extra tokens at end of #ifdef directive
 1832 | #ifdef PLUGIN8_INIT()
      |                    ^
sniffit.c:1836:20: warning: extra tokens at end of #ifdef directive
 1836 | #ifdef PLUGIN9_INIT()
      |                    ^
sniffit.c:1864:24: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=]
 1864 |       printf ("Shared %d\n", memsize);
      |                       ~^     ~~~~~~~
      |                        |     |
      |                        int   long unsigned int
      |                       %ld
sniffit.c:1867:18: warning: assignment to 'int *' from incompatible pointer type 'char *' [-Wincompatible-pointer-types]
 1867 |       DATAlength = timing + sizeof (int);
      |                  ^
sniffit.c:1868:23: warning: assignment to 'char *' from incompatible pointer type 'int *' [-Wincompatible-pointer-types]
 1868 |       connection_data = DATAlength + sizeof (int);
      |                       ^
sniffit.c:1869:18: warning: assignment to 'int *' from incompatible pointer type 'char *' [-Wincompatible-pointer-types]
 1869 |       LISTlength = connection_data + LENGTH_OF_INTERPROC_DATA;
      |                  ^
sniffit.c:1870:12: warning: assignment to 'struct snif_mask *' from incompatible pointer type 'int *' [-Wincompatible-pointer-types]
 1870 |       mask = LISTlength + sizeof (int);
      |            ^
sniffit.c:1871:26: warning: assignment to 'char *' from incompatible pointer type 'struct snif_mask *' [-Wincompatible-pointer-types]
 1871 |       logged_connections = mask + sizeof (struct snif_mask);
      |                          ^
sniffit.c:1874:25: warning: assignment to 'unsigned int *' from incompatible pointer type 'char *' [-Wincompatible-pointer-types]
 1874 |       TCP_nr_of_packets = running_connections + (sizeof (struct shared_conn_data) * CONNECTION_CAPACITY);
      |                         ^
sniffit.c:1875:28: warning: assignment to 'long unsigned int *' from incompatible pointer type 'unsigned int *' [-Wincompatible-pointer-types]
 1875 |       TCP_bytes_in_packets = TCP_nr_of_packets + sizeof (int);
      |                            ^
sniffit.c:1876:26: warning: assignment to 'unsigned int *' from incompatible pointer type 'long unsigned int *' [-Wincompatible-pointer-types]
 1876 |       ICMP_nr_of_packets = TCP_bytes_in_packets + sizeof (unsigned long);
      |                          ^
sniffit.c:1878:28: warning: assignment to 'long unsigned int *' from incompatible pointer type 'unsigned int *' [-Wincompatible-pointer-types]
 1878 |       UDP_bytes_in_packets = UDP_nr_of_packets + sizeof (int);
      |                            ^
sniffit.c:1879:24: warning: assignment to 'unsigned int *' from incompatible pointer type 'long unsigned int *' [-Wincompatible-pointer-types]
 1879 |       IP_nr_of_packets = UDP_bytes_in_packets + sizeof (unsigned long);
      |                        ^
sniffit.c:1880:16: warning: pointer targets in assignment from 'unsigned int *' to 'int *' differ in signedness [-Wpointer-sign]
 1880 |       DESC_LEN = IP_nr_of_packets + sizeof (int);
      |                ^
sniffit.c:1894:32: warning: passing argument 3 of 'pcap_loop' from incompatible pointer type [-Wincompatible-pointer-types]
 1894 |                                interactive_packethandler, NULL) < 0)
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~
      |                                |
      |                                void (* (*)(char *, const struct packetheader *, const unsigned char *))(u_char *, const struct pcap_pkthdr *, const u_char *) {aka void (* (*)(char *, const struct packetheader *, const unsigned char *))(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)}
/usr/include/pcap/pcap.h:442:42: note: expected 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} but argument is of type 'void (* (*)(char *, const struct packetheader *, const unsigned char *))(u_char *, const struct pcap_pkthdr *, const u_char *)' {aka 'void (* (*)(char *, const struct packetheader *, const unsigned char *))(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'}
  442 | PCAP_API int    pcap_loop(pcap_t *, int, pcap_handler, u_char *);
      |                                          ^~~~~~~~~~~~
sniffit.c:1921:47: warning: pointer targets in passing argument 2 of 'pcap_dump_open' differ in signedness [-Wpointer-sign]
 1921 |         if((dev_dump=pcap_dump_open(dev_desc, DUMPfile))==NULL)
      |                                               ^~~~~~~~
      |                                               |
      |                                               unsigned char *
/usr/include/pcap/pcap.h:488:50: note: expected 'const char *' but argument is of type 'unsigned char *'
  488 | PCAP_API pcap_dumper_t *pcap_dump_open(pcap_t *, const char *);
      |                                                  ^~~~~~~~~~~~
sniffit.c:1927:41: warning: passing argument 3 of 'pcap_loop' from incompatible pointer type [-Wincompatible-pointer-types]
 1927 |       switch (pcap_loop (dev_desc, CNT, packethandler, (unsigned char *) &ipaddr))
      |                                         ^~~~~~~~~~~~~
      |                                         |
      |                                         void (* (*)(unsigned char *, const struct packetheader *, const unsigned char *))(u_char *, const struct pcap_pkthdr *, const u_char *) {aka void (* (*)(unsigned char *, const struct packetheader *, const unsigned char *))(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)}
/usr/include/pcap/pcap.h:442:42: note: expected 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} but argument is of type 'void (* (*)(unsigned char *, const struct packetheader *, const unsigned char *))(u_char *, const struct pcap_pkthdr *, const u_char *)' {aka 'void (* (*)(unsigned char *, const struct packetheader *, const unsigned char *))(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'}
  442 | PCAP_API int    pcap_loop(pcap_t *, int, pcap_handler, u_char *);
      |                                          ^~~~~~~~~~~~
sniffit.c:1513:30: warning: unused variable 'buffer' [-Wunused-variable]
 1513 |   char *dev, forced_dev[20], buffer[SNAPLEN];
      |                              ^~~~~~
sniffit.c: In function 'packethandler':
sniffit.c:1374:1: warning: control reaches end of non-void function [-Wreturn-type]
 1374 | }
      | ^
sniffit.c: In function 'interactive_packethandler':
sniffit.c:1506:1: warning: control reaches end of non-void function [-Wreturn-type]
 1506 | }
      | ^
sniffit.c: At top level:
sniffit.c:46:13: warning: 'Copyright' defined but not used [-Wunused-variable]
   46 | static char Copyright[] =
      |             ^~~~~~~~~
make[2]: Leaving directory '/usr/src/RPM/BUILD/sniffit-0.5/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/sniffit-0.5/src'
i586-alt-linux-gcc -lncurses -lpcap -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic   -o sniffit sn_packets.o sn_generation.o sn_interface.o sn_cfgfile.o sn_logfile.o sn_resolv.o sniffit.o  -lpcap -lncurses 
sn_generation.c:66:1: warning: type of 'input_field' does not match original declaration [-Wlto-type-mismatch]
   66 | input_field(msg,NULL,0);
      | ^
sn_interface.c:379:7: note: return value type mismatch
  379 | char *input_field(char *string, char *input, int flag)
      |       ^
sn_interface.c:379:7: note: 'input_field' was previously declared here
sn_interface.c:379:7: note: code may be misoptimized unless '-fno-strict-aliasing' is used
sn_generation.c:205:22: warning: type of 'in_cksum' does not match original declaration [-Wlto-type-mismatch]
  205 | sp_help_ip->checksum=in_cksum((unsigned short *) (sp->buffer),
      |                      ^
sn_packets.c:14:16: note: return value type mismatch
   14 | unsigned short in_cksum(unsigned short *addr,int len)
      |                ^
sn_packets.c:14:16: note: type 'short unsigned int' should match type 'int'
sn_packets.c:14:16: note: 'in_cksum' was previously declared here
sn_packets.c:14:16: note: code may be misoptimized unless '-fno-strict-aliasing' is used
make[2]: Leaving directory '/usr/src/RPM/BUILD/sniffit-0.5/src'
+ exit 0
Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.99544
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ /bin/chmod -Rf u+rwX -- /usr/src/tmp/sniffit-buildroot
+ :
+ /bin/rm -rf -- /usr/src/tmp/sniffit-buildroot
+ PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games
+ cd sniffit-0.5
+ make 'INSTALL=/usr/libexec/rpm-build/install -p' install DESTDIR=/usr/src/tmp/sniffit-buildroot
make: Entering directory '/usr/src/RPM/BUILD/sniffit-0.5'
Making install in src
make[1]: Entering directory '/usr/src/RPM/BUILD/sniffit-0.5/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/sniffit-0.5/src'
 /bin/mkdir -p '/usr/src/tmp/sniffit-buildroot/usr/bin'
  /usr/libexec/rpm-build/install -p sniffit '/usr/src/tmp/sniffit-buildroot/usr/bin'
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/usr/src/RPM/BUILD/sniffit-0.5/src'
make[1]: Leaving directory '/usr/src/RPM/BUILD/sniffit-0.5/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/sniffit-0.5'
make[2]: Entering directory '/usr/src/RPM/BUILD/sniffit-0.5'
make[2]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p '/usr/src/tmp/sniffit-buildroot/usr/share/man/man5'
 /usr/libexec/rpm-build/install -p -m 644 man/sniffit.5 '/usr/src/tmp/sniffit-buildroot/usr/share/man/man5'
 /bin/mkdir -p '/usr/src/tmp/sniffit-buildroot/usr/share/man/man8'
 /usr/libexec/rpm-build/install -p -m 644 man/sniffit.8 '/usr/src/tmp/sniffit-buildroot/usr/share/man/man8'
make[2]: Leaving directory '/usr/src/RPM/BUILD/sniffit-0.5'
make[1]: Leaving directory '/usr/src/RPM/BUILD/sniffit-0.5'
make: Leaving directory '/usr/src/RPM/BUILD/sniffit-0.5'
+ /usr/lib/rpm/brp-alt
Cleaning files in /usr/src/tmp/sniffit-buildroot (auto)
Verifying and fixing files in /usr/src/tmp/sniffit-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig)
Checking contents of files in /usr/src/tmp/sniffit-buildroot/ (default)
Compressing files in /usr/src/tmp/sniffit-buildroot (auto)
Verifying ELF objects in /usr/src/tmp/sniffit-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal)
verify-elf: WARNING: ./usr/bin/sniffit: uses non-LFS functions: fopen stat
Processing files: sniffit-0.5-alt1
Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.99544
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd sniffit-0.5
+ DOCDIR=/usr/src/tmp/sniffit-buildroot/usr/share/doc/sniffit-0.5
+ export DOCDIR
+ rm -rf /usr/src/tmp/sniffit-buildroot/usr/share/doc/sniffit-0.5
+ /bin/mkdir -p /usr/src/tmp/sniffit-buildroot/usr/share/doc/sniffit-0.5
+ cp -prL docs examples /usr/src/tmp/sniffit-buildroot/usr/share/doc/sniffit-0.5
+ chmod -R go-w /usr/src/tmp/sniffit-buildroot/usr/share/doc/sniffit-0.5
+ chmod -R a+rX /usr/src/tmp/sniffit-buildroot/usr/share/doc/sniffit-0.5
+ cp -prL CONTRIBUTING.md README.md /usr/src/tmp/sniffit-buildroot/usr/share/doc/sniffit-0.5
+ chmod -R go-w /usr/src/tmp/sniffit-buildroot/usr/share/doc/sniffit-0.5
+ chmod -R a+rX /usr/src/tmp/sniffit-buildroot/usr/share/doc/sniffit-0.5
+ exit 0
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.APpoGA
find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.JN5EMo
find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services)
Requires: /lib/ld-linux.so.2, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.2), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.33), libc.so.6(GLIBC_2.34), libc.so.6(GLIBC_2.4), libncurses.so.5 >= set:mhWiBzDlR0Bkuo7XDjOdO2QJJgVwMWJHYjDqnrMqDPjvkEiL8OEPC0KfDYgJgMTxmHc993ypx3s2, libpcap.so.0.8 >= set:kgdcXjtB4GvnPpzJRScZur0, libtinfo.so.5 >= set:liZKbfJOZ56XhVGZ0aZiqL5, rtld(GNU_HASH)
Requires(rpmlib): rpmlib(SetVersions)
Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.MIrUkw
Creating sniffit-debuginfo package
Processing files: sniffit-debuginfo-0.5-alt1
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.EqCaeU
find-provides: running scripts (debuginfo)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.BbKQgX
find-requires: running scripts (debuginfo)
Requires: sniffit = 0.5-alt1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6), debug(libncurses.so.5), debug(libpcap.so.0.8), debug(libtinfo.so.5)
Adding to sniffit-debuginfo a strict dependency on sniffit
Wrote: /usr/src/RPM/RPMS/i586/sniffit-0.5-alt1.i586.rpm (w2.lzdio)
Wrote: /usr/src/RPM/RPMS/i586/sniffit-debuginfo-0.5-alt1.i586.rpm (w2.lzdio)
4.93user 1.72system 0:12.49elapsed 53%CPU (0avgtext+0avgdata 45496maxresident)k
0inputs+0outputs (0major+729544minor)pagefaults 0swaps
7.16user 4.44system 0:16.62elapsed 69%CPU (0avgtext+0avgdata 103372maxresident)k
0inputs+0outputs (30471major+972148minor)pagefaults 0swaps
--- sniffit-0.5-alt1.i586.rpm.repo	2021-04-12 12:22:55.000000000 +0000
+++ sniffit-0.5-alt1.i586.rpm.hasher	2022-06-11 04:37:51.222192094 +0000
@@ -21,4 +21,6 @@
 Requires: libc.so.6(GLIBC_2.3.4)  
+Requires: libc.so.6(GLIBC_2.33)  
+Requires: libc.so.6(GLIBC_2.34)  
 Requires: libc.so.6(GLIBC_2.4)  
-Requires: libncurses.so.5 >= set:mhWiBzDlR0Bkuo7XDjOdO2QJJgVwMWJHYjDqHmtuWz2lW5h6tS4MZ9juEm8UXgHlCAA1NIM1e1
+Requires: libncurses.so.5 >= set:mhWiBzDlR0Bkuo7XDjOdO2QJJgVwMWJHYjDqnrMqDPjvkEiL8OEPC0KfDYgJgMTxmHc993ypx3s2
 Requires: rpmlib(SetVersions)  
@@ -29,3 +31,3 @@
 Provides: sniffit = 0.5-alt1:sisyphus+269745.100.1.1
-File: /usr/bin/sniffit	100755	root:root	7899131411d25ed53d53abfcb3712b57	
+File: /usr/bin/sniffit	100755	root:root	3088af4b6510201e1483452b8391b631	
 File: /usr/share/doc/sniffit-0.5	40755	root:root		
@@ -44,2 +46,2 @@
 File: /usr/share/man/man8/sniffit.8.xz	100644	root:root	7e7b64df309672dfb33bcf7f09dc789e	
-RPMIdentity: 95fd40c578437925c205444fd3c16398b1120568412d848eebe17347e5cfd51057ec5b02bd4489bb59cb5567fbb09f2e4d350cb43f82c51cd12ec41d1229bf07
+RPMIdentity: a8769cc7b1b2097c2588cd515bedaa501536ac146d833da1f491d9a3cd37e26649fdf45ed7bbe9ef9c253f6cf3c59bf8fb7158ffa45b709f2f6c95c0e3b895ae
--- sniffit-debuginfo-0.5-alt1.i586.rpm.repo	2021-04-12 12:22:55.000000000 +0000
+++ sniffit-debuginfo-0.5-alt1.i586.rpm.hasher	2022-06-11 04:37:51.280193124 +0000
@@ -1,4 +1,4 @@
-/usr/lib/debug/.build-id/7e	40755	root:root	
-/usr/lib/debug/.build-id/7e/9c65c77688cc1722069e5a1897114c5a0f8b34	120777	root:root	../../../../bin/sniffit
-/usr/lib/debug/.build-id/7e/9c65c77688cc1722069e5a1897114c5a0f8b34.debug	120777	root:root	../../usr/bin/sniffit.debug
+/usr/lib/debug/.build-id/6e	40755	root:root	
+/usr/lib/debug/.build-id/6e/a41042e34cf19e4b55ee8a6a0abb0085e2f644	120777	root:root	../../../../bin/sniffit
+/usr/lib/debug/.build-id/6e/a41042e34cf19e4b55ee8a6a0abb0085e2f644.debug	120777	root:root	../../usr/bin/sniffit.debug
 /usr/lib/debug/usr/bin/sniffit.debug	100644	root:root	
@@ -37,6 +37,6 @@
 Provides: sniffit-debuginfo = 0.5-alt1:sisyphus+269745.100.1.1
-File: /usr/lib/debug/.build-id/7e	40755	root:root		
-File: /usr/lib/debug/.build-id/7e/9c65c77688cc1722069e5a1897114c5a0f8b34	120777	root:root		../../../../bin/sniffit
-File: /usr/lib/debug/.build-id/7e/9c65c77688cc1722069e5a1897114c5a0f8b34.debug	120777	root:root		../../usr/bin/sniffit.debug
-File: /usr/lib/debug/usr/bin/sniffit.debug	100644	root:root	dc7965898622f0f062efa4261841ecee	
+File: /usr/lib/debug/.build-id/6e	40755	root:root		
+File: /usr/lib/debug/.build-id/6e/a41042e34cf19e4b55ee8a6a0abb0085e2f644	120777	root:root		../../../../bin/sniffit
+File: /usr/lib/debug/.build-id/6e/a41042e34cf19e4b55ee8a6a0abb0085e2f644.debug	120777	root:root		../../usr/bin/sniffit.debug
+File: /usr/lib/debug/usr/bin/sniffit.debug	100644	root:root	e51c6ef1741c7fa6c5c7f26264beccaf	
 File: /usr/src/debug/sniffit-0.5	40755	root:root		
@@ -66,2 +66,2 @@
 File: /usr/src/debug/sniffit-0.5/src/sniffit.h	100644	root:root	04bd854739d8bf6b34161fe9f91c56bd	
-RPMIdentity: ec3645cd5b41d94bb6c86935e6d24af82dcd7691fb3c712ce60c450396d8ac833a3a0aec374c3f4615e5a0616767fe58b01d982ed85d25c34d111bae8c472a8b
+RPMIdentity: bb316c9ae2e5f3dad18329b5b0c3e0e919e9285b721539a6b35b2fbaf13331e87c4a3dfbbe67a255f6abde8322ca6753d542421d75bff5fa471d895158133cef