Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/thc-ipv6.spec'], chrootPath='/var/lib/mock/f31-build-59949-28647/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/thc-ipv6.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1549152000 Wrote: /builddir/build/SRPMS/thc-ipv6-3.4-4.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/thc-ipv6.spec'], chrootPath='/var/lib/mock/f31-build-59949-28647/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/thc-ipv6.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1549152000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.liK8Ju + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf thc-ipv6-3.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/thc-ipv6-3.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd thc-ipv6-3.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git add . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'thc-ipv6-3.4 base' + /usr/bin/git apply --index - + /usr/bin/cat /builddir/build/SOURCES/0001-Include-stdint.h-in-dnsrevenum6.c-since-uintptr_t-is.patch + /usr/bin/git commit -q -m 0001-Include-stdint.h-in-dnsrevenum6.c-since-uintptr_t-is.patch --author 'rpm-build ' + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Ny9D1w + umask 022 + cd /builddir/build/BUILD + cd thc-ipv6-3.4 + sed -i 's|^PREFIX=/usr/local|PREFIX=/usr|' Makefile + sed -i 's/^STRIP=strip/STRIP=echo/' Makefile + sed -i '/^CFLAGS=-O2/d' Makefile + make -j4 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL' BUILDSTDERR: thc-ipv6-lib.c: In function 'thc_ipv6_dummymac': BUILDSTDERR: thc-ipv6-lib.c:106:10: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 106 | return ptr; BUILDSTDERR: | ^~~ BUILDSTDERR: thc-ipv6-lib.c: In function 'thc_pcap_function': BUILDSTDERR: thc-ipv6-lib.c:130:62: warning: pointer targets in passing argument 4 of 'pcap_dispatch' differ in signedness [-Wpointer-sign] BUILDSTDERR: 130 | if (pcap_dispatch(pcap_link, 1, (pcap_handler) function, opt) < 0) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from /usr/include/pcap.h:43, BUILDSTDERR: from thc-ipv6-lib.c:40: BUILDSTDERR: /usr/include/pcap/pcap.h:441:57: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 441 | PCAP_API int pcap_dispatch(pcap_t *, int, pcap_handler, u_char *); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: thc-ipv6-lib.c: In function 'thc_pcap_init_promisc': BUILDSTDERR: thc-ipv6-lib.c:177:41: warning: pointer targets in passing argument 3 of 'pcap_compile' differ in signedness [-Wpointer-sign] BUILDSTDERR: 177 | if (pcap_compile(pcap_link, &fcode, capture, 1, 0) < 0) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/pcap.h:43, BUILDSTDERR: from thc-ipv6-lib.c:40: BUILDSTDERR: /usr/include/pcap/pcap.h:456:59: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 456 | PCAP_API int pcap_compile(pcap_t *, struct bpf_program *, const char *, int, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: thc-ipv6-lib.c: In function 'thc_pcap_check': BUILDSTDERR: thc-ipv6-lib.c:187:63: warning: pointer targets in passing argument 4 of 'pcap_dispatch' differ in signedness [-Wpointer-sign] BUILDSTDERR: 187 | return pcap_dispatch(pcap_link, 1, (pcap_handler) function, opt); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from /usr/include/pcap.h:43, BUILDSTDERR: from thc-ipv6-lib.c:40: BUILDSTDERR: /usr/include/pcap/pcap.h:441:57: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 441 | PCAP_API int pcap_dispatch(pcap_t *, int, pcap_handler, u_char *); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: thc-ipv6-lib.c: In function 'thc_notation2beauty': BUILDSTDERR: thc-ipv6-lib.c:201:31: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 201 | if (ipv6[39] != 0 || strlen(ipv6) != 39) BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from thc-ipv6-lib.c:13: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: thc-ipv6-lib.c:207:9: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 207 | ptr = ipv6 + i * 4 + i; BUILDSTDERR: | ^ BUILDSTDERR: thc-ipv6-lib.c:235:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 235 | if (ipv6[strlen(ipv6) - 1] == '0' && ipv6[strlen(ipv6) - 2] == ':' && ptr2 - buf + 1 + strlen(buf2) == strlen(buf)) BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from thc-ipv6-lib.c:13: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: thc-ipv6-lib.c:235:54: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 235 | if (ipv6[strlen(ipv6) - 1] == '0' && ipv6[strlen(ipv6) - 2] == ':' && ptr2 - buf + 1 + strlen(buf2) == strlen(buf)) BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from thc-ipv6-lib.c:13: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: thc-ipv6-lib.c:236:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 236 | ipv6[strlen(ipv6) - 1] = 0; BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from thc-ipv6-lib.c:13: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: thc-ipv6-lib.c:238:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 238 | strcpy(ipv6, buf); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from thc-ipv6-lib.c:12: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: thc-ipv6-lib.c: In function 'thc_ipv62string': BUILDSTDERR: thc-ipv6-lib.c:265:10: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 265 | return string; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: thc-ipv6-lib.c: In function 'thc_ipv62notation': BUILDSTDERR: thc-ipv6-lib.c:309:12: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 309 | if ((res = thc_ipv62string(ipv6)) == NULL) BUILDSTDERR: | ^ BUILDSTDERR: thc-ipv6-lib.c:311:29: warning: pointer targets in passing argument 1 of 'thc_string2notation' differ in signedness [-Wpointer-sign] BUILDSTDERR: 311 | ptr = thc_string2notation(res); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: thc-ipv6-lib.c:285:51: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 285 | unsigned char *thc_string2notation(unsigned char *string) { BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: thc-ipv6-lib.c:311:7: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 311 | ptr = thc_string2notation(res); BUILDSTDERR: | ^ BUILDSTDERR: thc-ipv6-lib.c:313:10: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 313 | return ptr; BUILDSTDERR: | ^~~ BUILDSTDERR: thc-ipv6-lib.c: In function 'thc_resolve6': BUILDSTDERR: thc-ipv6-lib.c:409:66: warning: pointer targets in passing argument 3 of 'getnameinfo' differ in signedness [-Wpointer-sign] BUILDSTDERR: 409 | if (getnameinfo(glob_result->ai_addr, glob_result->ai_addrlen, out, sizeof(out), NULL, 0, NI_NUMERICHOST) != 0) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from thc-ipv6-lib.c:26: BUILDSTDERR: /usr/include/netdb.h:676:40: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 676 | socklen_t __salen, char *__restrict __host, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: thc-ipv6-lib.c:411:27: warning: pointer targets in passing argument 2 of 'inet_pton' differ in signedness [-Wpointer-sign] BUILDSTDERR: 411 | if (inet_pton(AF_INET6, out, glob_addr) < 0) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from thc-ipv6-lib.c:25: BUILDSTDERR: /usr/include/arpa/inet.h:58:56: note: expected 'const char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 58 | extern int inet_pton (int __af, const char *__restrict __cp, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: thc-ipv6-lib.c:419:19: warning: pointer targets in passing argument 1 of 'thc_dump_data' differ in signedness [-Wpointer-sign] BUILDSTDERR: 419 | thc_dump_data(ret_addr, 16, "Target Resolve IPv6"); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from thc-ipv6-lib.c:69: BUILDSTDERR: thc-ipv6.h:147:42: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 147 | extern void thc_dump_data(unsigned char *buf, int len, char *text); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: thc-ipv6-lib.c:421:10: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 421 | return ret_addr; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: thc-ipv6-lib.c: In function 'thc_get_own_mac': BUILDSTDERR: thc-ipv6-lib.c:529:19: warning: pointer targets in passing argument 1 of 'thc_dump_data' differ in signedness [-Wpointer-sign] BUILDSTDERR: 529 | thc_dump_data(mac, 6, "Own MAC address"); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from thc-ipv6-lib.c:69: BUILDSTDERR: thc-ipv6.h:147:42: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 147 | extern void thc_dump_data(unsigned char *buf, int len, char *text); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: thc-ipv6-lib.c:530:10: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 530 | return mac; BUILDSTDERR: | ^~~ BUILDSTDERR: thc-ipv6-lib.c: In function 'thc_get_own_ipv6': BUILDSTDERR: thc-ipv6-lib.c:586:30: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] BUILDSTDERR: 586 | while (done < 2 && fgets(buf, sizeof(buf), f) != NULL) { BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from thc-ipv6-lib.c:12: BUILDSTDERR: /usr/include/bits/stdio2.h:255:25: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 255 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: thc-ipv6-lib.c:587:42: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 587 | if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], strlen(interface)) == 0) { BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from thc-ipv6-lib.c:13: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: thc-ipv6-lib.c:587:30: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 587 | if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], strlen(interface)) == 0) { BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from thc-ipv6-lib.c:13: BUILDSTDERR: /usr/include/string.h:139:51: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: thc-ipv6-lib.c:588:16: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] BUILDSTDERR: 588 | sscanf(buf, "%s %x %x %x %s", tmpbuf, &a, &b, &c, bla); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from thc-ipv6-lib.c:12: BUILDSTDERR: /usr/include/stdio.h:399:43: note: expected 'const char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 399 | extern int sscanf (const char *__restrict __s, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: thc-ipv6-lib.c:602:23: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 602 | if (strncmp(tmpbuf, tmpdst, b / 4) == 0) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from thc-ipv6-lib.c:13: BUILDSTDERR: /usr/include/string.h:139:33: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: thc-ipv6-lib.c:602:31: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 602 | if (strncmp(tmpbuf, tmpdst, b / 4) == 0) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from thc-ipv6-lib.c:13: BUILDSTDERR: /usr/include/string.h:139:51: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: thc-ipv6-lib.c:626:26: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 626 | ((strncmp(tmpbuf, "fc", 2) == 0 || strncmp(tmpbuf, "fd", 2) == 0) && (strncmp(tmpdst, "fc", 2) == 0 || strncmp(tmpdst, "fd", 2) == 0)) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from thc-ipv6-lib.c:13: BUILDSTDERR: /usr/include/string.h:139:33: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: thc-ipv6-lib.c:626:59: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 626 | ((strncmp(tmpbuf, "fc", 2) == 0 || strncmp(tmpbuf, "fd", 2) == 0) && (strncmp(tmpdst, "fc", 2) == 0 || strncmp(tmpdst, "fd", 2) == 0)) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from thc-ipv6-lib.c:13: BUILDSTDERR: /usr/include/string.h:139:33: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: thc-ipv6-lib.c:626:94: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 626 | ((strncmp(tmpbuf, "fc", 2) == 0 || strncmp(tmpbuf, "fd", 2) == 0) && (strncmp(tmpdst, "fc", 2) == 0 || strncmp(tmpdst, "fd", 2) == 0)) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from thc-ipv6-lib.c:13: BUILDSTDERR: /usr/include/string.h:139:33: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: thc-ipv6-lib.c:626:127: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 626 | ((strncmp(tmpbuf, "fc", 2) == 0 || strncmp(tmpbuf, "fd", 2) == 0) && (strncmp(tmpdst, "fc", 2) == 0 || strncmp(tmpdst, "fd", 2) == 0)) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from thc-ipv6-lib.c:13: BUILDSTDERR: /usr/include/string.h:139:33: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: thc-ipv6-lib.c:639:28: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 639 | ( ((strncmp(tmpbuf, "fc", 2) == 0 || strncmp(tmpbuf, "fd", 2) == 0) && (tmpdst[0] == '2' || tmpdst[0] == '3')) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from thc-ipv6-lib.c:13: BUILDSTDERR: /usr/include/string.h:139:33: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: thc-ipv6-lib.c:639:61: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 639 | ( ((strncmp(tmpbuf, "fc", 2) == 0 || strncmp(tmpbuf, "fd", 2) == 0) && (tmpdst[0] == '2' || tmpdst[0] == '3')) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from thc-ipv6-lib.c:13: BUILDSTDERR: /usr/include/string.h:139:33: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: thc-ipv6-lib.c:641:28: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 641 | ((strncmp(tmpdst, "fc", 2) == 0 || strncmp(tmpdst, "fd", 2) == 0) && (tmpbuf[0] == '2' || tmpbuf[0] == '3')) ) ) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from thc-ipv6-lib.c:13: BUILDSTDERR: /usr/include/string.h:139:33: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: thc-ipv6-lib.c:641:61: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 641 | ((strncmp(tmpdst, "fc", 2) == 0 || strncmp(tmpdst, "fd", 2) == 0) && (tmpbuf[0] == '2' || tmpbuf[0] == '3')) ) ) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from thc-ipv6-lib.c:13: BUILDSTDERR: /usr/include/string.h:139:33: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: thc-ipv6-lib.c:654:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 654 | if (done < 2 && strlen(&ipv6[2]) == 0 && strlen(&save[2]) > 0) { BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from thc-ipv6-lib.c:13: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: thc-ipv6-lib.c:654:53: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 654 | if (done < 2 && strlen(&ipv6[2]) == 0 && strlen(&save[2]) > 0) { BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from thc-ipv6-lib.c:13: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: thc-ipv6-lib.c:662:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 662 | if (strlen(&save[2]) > 0 && prefer == PREFER_GLOBAL && strncmp(ipv6 + 2, "fe80", 2) == 0) { BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from thc-ipv6-lib.c:13: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: thc-ipv6-lib.c:662:71: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 662 | if (strlen(&save[2]) > 0 && prefer == PREFER_GLOBAL && strncmp(ipv6 + 2, "fe80", 2) == 0) { BUILDSTDERR: | ~~~~~^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from thc-ipv6-lib.c:13: BUILDSTDERR: /usr/include/string.h:139:33: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: thc-ipv6-lib.c:668:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 668 | if (strlen(&ipv6[2]) == 0) { BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from thc-ipv6-lib.c:13: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: thc-ipv6-lib.c:683:25: warning: pointer targets in passing argument 1 of 'thc_resolve6' differ in signedness [-Wpointer-sign] BUILDSTDERR: 683 | myipv6 = thc_resolve6(tmpdst); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: thc-ipv6-lib.c:380:35: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 380 | unsigned char *thc_resolve6(char *target) { BUILDSTDERR: | ~~~~~~^~~~~~ BUILDSTDERR: thc-ipv6-lib.c:683:10: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 683 | myipv6 = thc_resolve6(tmpdst); BUILDSTDERR: | ^ BUILDSTDERR: thc-ipv6-lib.c:687:19: warning: pointer targets in passing argument 1 of 'thc_dump_data' differ in signedness [-Wpointer-sign] BUILDSTDERR: 687 | thc_dump_data(myipv6, 16, "Own IPv6 address"); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from thc-ipv6-lib.c:69: BUILDSTDERR: thc-ipv6.h:147:42: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 147 | extern void thc_dump_data(unsigned char *buf, int len, char *text); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: thc-ipv6-lib.c:688:10: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 688 | return myipv6; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: thc-ipv6-lib.c: In function 'thc_lookup_ipv6_mac': BUILDSTDERR: thc-ipv6-lib.c:754:11: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 754 | if ((p1 = thc_get_own_ipv6(interface, dst, PREFER_LINK)) == NULL) BUILDSTDERR: | ^ BUILDSTDERR: thc-ipv6-lib.c:757:31: warning: pointer targets in passing argument 1 of 'thc_ipv62notation' differ in signedness [-Wpointer-sign] BUILDSTDERR: 757 | if ((p2 = thc_ipv62notation(p1)) == NULL) { BUILDSTDERR: | ^~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: thc-ipv6-lib.c:304:49: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 304 | unsigned char *thc_ipv62notation(unsigned char *ipv6) { BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: thc-ipv6-lib.c:757:11: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 757 | if ((p2 = thc_ipv62notation(p1)) == NULL) { BUILDSTDERR: | ^ BUILDSTDERR: thc-ipv6-lib.c:770:33: warning: pointer targets in passing argument 2 of 'thc_neighborsol6' differ in signedness [-Wpointer-sign] BUILDSTDERR: 770 | thc_neighborsol6(interface, mysrc, NULL, dst, NULL, NULL); BUILDSTDERR: | ^~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from thc-ipv6-lib.c:69: BUILDSTDERR: thc-ipv6.h:110:61: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 110 | extern int thc_neighborsol6(char *interface, unsigned char *src, unsigned char *dst, unsigned char *target, unsigned char *srcmac, unsigned char *dstmac); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: thc-ipv6-lib.c: In function 'thc_look_neighborcache': BUILDSTDERR: thc-ipv6-lib.c:816:76: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] BUILDSTDERR: 816 | gotsize = recvfrom(fd, buf, sizeof(buf), 0, (struct sockaddr *) &nladdr, &fromlen); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int * BUILDSTDERR: In file included from /usr/include/sys/socket.h:269, BUILDSTDERR: from thc-ipv6-lib.c:23: BUILDSTDERR: /usr/include/bits/socket2.h:65:49: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' BUILDSTDERR: 65 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: thc-ipv6-lib.c:823:25: warning: pointer targets in passing argument 1 of 'thc_memstr' differ in signedness [-Wpointer-sign] BUILDSTDERR: 823 | if ((ptr = thc_memstr(buf, dst, gotsize /* - (ptr - buf) */ , 16)) == NULL) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from thc-ipv6-lib.c:69: BUILDSTDERR: thc-ipv6.h:152:23: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 152 | extern unsigned char *thc_memstr(char *haystack, char *needle, int haystack_length, int needle_length); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: thc-ipv6-lib.c:823:30: warning: pointer targets in passing argument 2 of 'thc_memstr' differ in signedness [-Wpointer-sign] BUILDSTDERR: 823 | if ((ptr = thc_memstr(buf, dst, gotsize /* - (ptr - buf) */ , 16)) == NULL) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from thc-ipv6-lib.c:69: BUILDSTDERR: thc-ipv6.h:152:23: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 152 | extern unsigned char *thc_memstr(char *haystack, char *needle, int haystack_length, int needle_length); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: thc-ipv6-lib.c: In function 'thc_is_dst_local': BUILDSTDERR: thc-ipv6-lib.c:856:30: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] BUILDSTDERR: 856 | while (local == 0 && fgets(buf, sizeof(buf), f) != NULL) { BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from thc-ipv6-lib.c:12: BUILDSTDERR: /usr/include/bits/stdio2.h:255:25: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 255 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: thc-ipv6-lib.c:857:40: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 857 | if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], strlen(interface)) == 0) { BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from thc-ipv6-lib.c:13: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: thc-ipv6-lib.c:857:28: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 857 | if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], strlen(interface)) == 0) { BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from thc-ipv6-lib.c:13: BUILDSTDERR: /usr/include/string.h:139:51: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: thc-ipv6-lib.c:858:14: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] BUILDSTDERR: 858 | sscanf(buf, "%s %x %x %x %s", tmpbuf, &a, &b, &c, bla); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from thc-ipv6-lib.c:12: BUILDSTDERR: /usr/include/stdio.h:399:43: note: expected 'const char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 399 | extern int sscanf (const char *__restrict __s, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: thc-ipv6-lib.c:859:19: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 859 | if (strncmp(tmpbuf, tmpdst, b / 4) == 0) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from thc-ipv6-lib.c:13: BUILDSTDERR: /usr/include/string.h:139:33: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: thc-ipv6-lib.c:859:27: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 859 | if (strncmp(tmpbuf, tmpdst, b / 4) == 0) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from thc-ipv6-lib.c:13: BUILDSTDERR: /usr/include/string.h:139:51: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: thc-ipv6-lib.c: In function 'thc_get_mac': BUILDSTDERR: thc-ipv6-lib.c:902:30: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] BUILDSTDERR: 902 | while (local == 0 && fgets(buf, sizeof(buf), f) != NULL) { BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from thc-ipv6-lib.c:12: BUILDSTDERR: /usr/include/bits/stdio2.h:255:25: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 255 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: thc-ipv6-lib.c:903:40: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 903 | if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], strlen(interface)) == 0) { BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from thc-ipv6-lib.c:13: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: thc-ipv6-lib.c:903:28: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 903 | if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], strlen(interface)) == 0) { BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from thc-ipv6-lib.c:13: BUILDSTDERR: /usr/include/string.h:139:51: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: thc-ipv6-lib.c:904:14: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] BUILDSTDERR: 904 | sscanf(buf, "%s %x %x %x %s", tmpbuf, &a, &b, &c, bla); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from thc-ipv6-lib.c:12: BUILDSTDERR: /usr/include/stdio.h:399:43: note: expected 'const char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 399 | extern int sscanf (const char *__restrict __s, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: thc-ipv6-lib.c:905:19: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 905 | if (strncmp(tmpbuf, tmpdst, b / 4) == 0) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from thc-ipv6-lib.c:13: BUILDSTDERR: /usr/include/string.h:139:33: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: thc-ipv6-lib.c:905:27: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 905 | if (strncmp(tmpbuf, tmpdst, b / 4) == 0) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from thc-ipv6-lib.c:13: BUILDSTDERR: /usr/include/string.h:139:51: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: thc-ipv6-lib.c:926:32: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] BUILDSTDERR: 926 | while (local == 0 && fgets(buf, sizeof(buf), f) != NULL) { BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from thc-ipv6-lib.c:12: BUILDSTDERR: /usr/include/bits/stdio2.h:255:25: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 255 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: thc-ipv6-lib.c:927:42: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 927 | if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], strlen(interface)) == 0) { BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from thc-ipv6-lib.c:13: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: thc-ipv6-lib.c:927:30: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 927 | if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], strlen(interface)) == 0) { BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from thc-ipv6-lib.c:13: BUILDSTDERR: /usr/include/string.h:139:51: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: thc-ipv6-lib.c:928:16: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] BUILDSTDERR: 928 | sscanf(buf, "%s %x %s %x %s %s", tmpbuf, &b, router1, &a, router2, bla); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from thc-ipv6-lib.c:12: BUILDSTDERR: /usr/include/stdio.h:399:43: note: expected 'const char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 399 | extern int sscanf (const char *__restrict __s, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: thc-ipv6-lib.c:930:23: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 930 | if (strncmp(tmpbuf, tmpdst, b / 4) == 0) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from thc-ipv6-lib.c:13: BUILDSTDERR: /usr/include/string.h:139:33: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: thc-ipv6-lib.c:930:31: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 930 | if (strncmp(tmpbuf, tmpdst, b / 4) == 0) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from thc-ipv6-lib.c:13: BUILDSTDERR: /usr/include/string.h:139:51: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: thc-ipv6-lib.c:940:18: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 940 | strcpy(defaultgw, router2); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from thc-ipv6-lib.c:12: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: thc-ipv6-lib.c:940:29: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 940 | strcpy(defaultgw, router2); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from thc-ipv6-lib.c:12: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: thc-ipv6-lib.c:944:18: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 944 | strcpy(tmpdst, router2); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from thc-ipv6-lib.c:12: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: thc-ipv6-lib.c:944:26: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 944 | strcpy(tmpdst, router2); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from thc-ipv6-lib.c:12: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: thc-ipv6-lib.c:948:30: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 948 | if (local == 0 && strlen(defaultgw) > 0) { BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from thc-ipv6-lib.c:13: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: thc-ipv6-lib.c:951:14: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 951 | strcpy(tmpdst, defaultgw); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from thc-ipv6-lib.c:12: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: thc-ipv6-lib.c:951:22: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 951 | strcpy(tmpdst, defaultgw); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from thc-ipv6-lib.c:12: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: thc-ipv6-lib.c:964:6: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 964 | p1 = thc_string2ipv6(tmpdst); BUILDSTDERR: | ^ BUILDSTDERR: thc-ipv6-lib.c:965:37: warning: pointer targets in passing argument 1 of 'thc_look_neighborcache' differ in signedness [-Wpointer-sign] BUILDSTDERR: 965 | if ((ret = thc_look_neighborcache(p1)) != NULL) { BUILDSTDERR: | ^~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: thc-ipv6-lib.c:800:54: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 800 | unsigned char *thc_look_neighborcache(unsigned char *dst) { BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: thc-ipv6-lib.c:965:12: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 965 | if ((ret = thc_look_neighborcache(p1)) != NULL) { BUILDSTDERR: | ^ BUILDSTDERR: thc-ipv6-lib.c:968:12: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 968 | return ret; BUILDSTDERR: | ^~~ BUILDSTDERR: thc-ipv6-lib.c:970:40: warning: pointer targets in passing argument 2 of 'thc_lookup_ipv6_mac' differ in signedness [-Wpointer-sign] BUILDSTDERR: 970 | ret = thc_lookup_ipv6_mac(interface, p1); BUILDSTDERR: | ^~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: thc-ipv6-lib.c:739:68: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 739 | unsigned char *thc_lookup_ipv6_mac(char *interface, unsigned char *dst) { BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: thc-ipv6-lib.c:970:7: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 970 | ret = thc_lookup_ipv6_mac(interface, p1); BUILDSTDERR: | ^ BUILDSTDERR: thc-ipv6-lib.c:973:10: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 973 | return ret; BUILDSTDERR: | ^~~ BUILDSTDERR: thc-ipv6-lib.c: In function 'thc_inverse_packet': BUILDSTDERR: thc-ipv6-lib.c:979:15: warning: pointer targets in initialization of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 979 | char *src = &pkt[8], *dst = &pkt[24]; BUILDSTDERR: | ^ BUILDSTDERR: thc-ipv6-lib.c:979:31: warning: pointer targets in initialization of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 979 | char *src = &pkt[8], *dst = &pkt[24]; BUILDSTDERR: | ^ BUILDSTDERR: thc-ipv6-lib.c:1008:41: warning: pointer targets in passing argument 1 of 'checksum_pseudo_header' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1008 | checksum = checksum_pseudo_header(src, dst, NXT_ICMP6, &pkt[iptr], pkt_len - iptr); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: thc-ipv6-lib.c:335:43: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 335 | int checksum_pseudo_header(unsigned char *src, unsigned char *dst, unsigned char type, unsigned char *data, int length) { BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: thc-ipv6-lib.c:1008:46: warning: pointer targets in passing argument 2 of 'checksum_pseudo_header' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1008 | checksum = checksum_pseudo_header(src, dst, NXT_ICMP6, &pkt[iptr], pkt_len - iptr); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: thc-ipv6-lib.c:335:63: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 335 | int checksum_pseudo_header(unsigned char *src, unsigned char *dst, unsigned char type, unsigned char *data, int length) { BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: thc-ipv6-lib.c: In function 'thc_send_raguard_bypass6': BUILDSTDERR: thc-ipv6-lib.c:1060:56: warning: unused variable 'last_size' [-Wunused-variable] BUILDSTDERR: 1060 | int count, id = time(NULL) % 2000000000, offset = 0, last_size, more_runs = 1, rest = data_len, to_copy; BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: thc-ipv6-lib.c:1060:7: warning: unused variable 'count' [-Wunused-variable] BUILDSTDERR: 1060 | int count, id = time(NULL) % 2000000000, offset = 0, last_size, more_runs = 1, rest = data_len, to_copy; BUILDSTDERR: | ^~~~~ BUILDSTDERR: thc-ipv6-lib.c:1058:16: warning: unused variable 'frag_len' [-Wunused-variable] BUILDSTDERR: 1058 | int pkt_len, frag_len, mymtu = thc_get_mtu(interface); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: thc-ipv6-lib.c: In function 'thc_create_ipv6_extended': BUILDSTDERR: thc-ipv6-lib.c:1924:10: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1924 | return pkt; BUILDSTDERR: | ^~~ BUILDSTDERR: thc-ipv6-lib.c: In function 'thc_add_ipv4_rudimentary': BUILDSTDERR: thc-ipv6-lib.c:2025:67: warning: pointer targets in passing argument 4 of 'checksum_pseudo_header' differ in signedness [-Wpointer-sign] BUILDSTDERR: 2025 | checksum = checksum_pseudo_header(NULL, NULL, NXT_ICMP4, ihdr + 20, THC_IPv4_RUDIMENTARY_LEN - 20); BUILDSTDERR: | ~~~~~^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: thc-ipv6-lib.c:335:103: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 335 | int checksum_pseudo_header(unsigned char *src, unsigned char *dst, unsigned char type, unsigned char *data, int length) { BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: thc-ipv6-lib.c:2040:58: warning: pointer targets in passing argument 4 of 'checksum_pseudo_header' differ in signedness [-Wpointer-sign] BUILDSTDERR: 2040 | checksum = checksum_pseudo_header(NULL, NULL, NXT_IP4, ihdr, 20); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: thc-ipv6-lib.c:335:103: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 335 | int checksum_pseudo_header(unsigned char *src, unsigned char *dst, unsigned char type, unsigned char *data, int length) { BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: thc-ipv6-lib.c: In function 'thc_open_ipv6': BUILDSTDERR: thc-ipv6-lib.c:2600:30: warning: pointer targets in passing argument 1 of 'thc_dump_data' differ in signedness [-Wpointer-sign] BUILDSTDERR: 2600 | if (debug) thc_dump_data(do_hdr, do_hdr_size + do_hdr_off, "PPPoE Header"); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from thc-ipv6-lib.c:69: BUILDSTDERR: thc-ipv6.h:147:42: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 147 | extern void thc_dump_data(unsigned char *buf, int len, char *text); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: thc-ipv6-lib.c:2661:30: warning: pointer targets in passing argument 1 of 'thc_dump_data' differ in signedness [-Wpointer-sign] BUILDSTDERR: 2661 | if (debug) thc_dump_data(do_hdr, do_hdr_size, "6in4 Header"); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from thc-ipv6-lib.c:69: BUILDSTDERR: thc-ipv6.h:147:42: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 147 | extern void thc_dump_data(unsigned char *buf, int len, char *text); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: thc-ipv6-lib.c: In function 'thc_generate_pkt': BUILDSTDERR: thc-ipv6-lib.c:2724:44: warning: pointer targets in passing argument 1 of 'calculate_checksum' differ in signedness [-Wpointer-sign] BUILDSTDERR: 2724 | i = calculate_checksum(do_hdr + 14 + do_hdr_off, 20); BUILDSTDERR: | ~~~~~~~~~~~~^~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: thc-ipv6-lib.c:316:39: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 316 | int calculate_checksum(unsigned char *data, int data_len) { BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: thc-ipv6-lib.c:2740:18: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 2740 | mysrcmac = thc_get_own_mac(interface); BUILDSTDERR: | ^ BUILDSTDERR: thc-ipv6-lib.c:2742:18: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 2742 | mysrcmac = srcmac; BUILDSTDERR: | ^ BUILDSTDERR: thc-ipv6-lib.c:2745:18: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 2745 | mydstmac = thc_get_mac(interface, hdr->src, hdr->dst); BUILDSTDERR: | ^ BUILDSTDERR: thc-ipv6-lib.c:2747:18: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 2747 | mydstmac = dstmac; BUILDSTDERR: | ^ BUILDSTDERR: thc-ipv6-lib.c:2777:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 2777 | last_type = &hdr->pkt[7 + offset]; BUILDSTDERR: | ^ BUILDSTDERR: thc-ipv6-lib.c:2785:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 2785 | checksum_src = hdr->original_src; BUILDSTDERR: | ^ BUILDSTDERR: thc-ipv6-lib.c:2797:17: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 2797 | last_type = &hdr->pkt[bufptr]; BUILDSTDERR: | ^ BUILDSTDERR: thc-ipv6-lib.c:2801:24: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 2801 | checksum_src = &hdr->pkt[bufptr + 4]; BUILDSTDERR: | ^ BUILDSTDERR: thc-ipv6-lib.c:2828:42: warning: pointer targets in passing argument 1 of 'checksum_pseudo_header' differ in signedness [-Wpointer-sign] BUILDSTDERR: 2828 | do_checksum = checksum_pseudo_header(checksum_src, hdr->final_dst, NXT_PIM, &hdr->pkt[bufptr], ehdr->data_len); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: thc-ipv6-lib.c:335:43: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 335 | int checksum_pseudo_header(unsigned char *src, unsigned char *dst, unsigned char type, unsigned char *data, int length) { BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: thc-ipv6-lib.c:2851:47: warning: pointer targets in passing argument 1 of 'checksum_pseudo_header' differ in signedness [-Wpointer-sign] BUILDSTDERR: 2851 | ihdr->checksum = checksum_pseudo_header(checksum_src, hdr->final_dst, NXT_ICMP6, &hdr->pkt[bufptr], 8 + ihdr->data_len); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: thc-ipv6-lib.c:335:43: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 335 | int checksum_pseudo_header(unsigned char *src, unsigned char *dst, unsigned char type, unsigned char *data, int length) { BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: thc-ipv6-lib.c:2897:47: warning: pointer targets in passing argument 1 of 'checksum_pseudo_header' differ in signedness [-Wpointer-sign] BUILDSTDERR: 2897 | thdr->checksum = checksum_pseudo_header(checksum_src, hdr->final_dst, NXT_TCP, &hdr->pkt[bufptr], 20 + thdr->option_len + thdr->data_len); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: thc-ipv6-lib.c:335:43: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 335 | int checksum_pseudo_header(unsigned char *src, unsigned char *dst, unsigned char type, unsigned char *data, int length) { BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: thc-ipv6-lib.c:2935:47: warning: pointer targets in passing argument 1 of 'checksum_pseudo_header' differ in signedness [-Wpointer-sign] BUILDSTDERR: 2935 | uhdr->checksum = checksum_pseudo_header(checksum_src, hdr->final_dst, NXT_UDP, &hdr->pkt[bufptr], 8 + uhdr->data_len); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: thc-ipv6-lib.c:335:43: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 335 | int checksum_pseudo_header(unsigned char *src, unsigned char *dst, unsigned char type, unsigned char *data, int length) { BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: thc-ipv6-lib.c:2956:44: warning: pointer targets in passing argument 1 of 'checksum_pseudo_header' differ in signedness [-Wpointer-sign] BUILDSTDERR: 2956 | do_checksum = checksum_pseudo_header(checksum_src, hdr->final_dst, NXT_MIPV6, &hdr->pkt[bufptr], ehdr->data_len); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: thc-ipv6-lib.c:335:43: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 335 | int checksum_pseudo_header(unsigned char *src, unsigned char *dst, unsigned char type, unsigned char *data, int length) { BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: thc-ipv6-lib.c:2697:53: warning: variable 'is_ip4' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2697 | int type, bufptr, do_checksum = 0, offset = 0, i, is_ip4 = 0, malloc_size; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: thc-ipv6-lib.c: In function 'thc_destroy_packet': BUILDSTDERR: thc-ipv6-lib.c:3045:14: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 3045 | ptrs[iptr] = pkt; BUILDSTDERR: | ^ BUILDSTDERR: thc-ipv6-lib.c:3055:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 3055 | ptrs[iptr] = ehdr->data; BUILDSTDERR: | ^ BUILDSTDERR: thc-ipv6-lib.c:3068:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 3068 | ptrs[iptr] = ihdr->data; BUILDSTDERR: | ^ BUILDSTDERR: thc-ipv6-lib.c:3075:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 3075 | ptrs[iptr] = thdr->option; BUILDSTDERR: | ^ BUILDSTDERR: thc-ipv6-lib.c:3077:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 3077 | ptrs[iptr] = thdr->data; BUILDSTDERR: | ^ BUILDSTDERR: thc-ipv6-lib.c:3084:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 3084 | ptrs[iptr] = uhdr->data; BUILDSTDERR: | ^ BUILDSTDERR: thc-ipv6-lib.c:3094:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 3094 | ptrs[iptr] = ehdr->data; BUILDSTDERR: | ^ BUILDSTDERR: thc-ipv6-lib.c:3101:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 3101 | ptrs[iptr] = ehdr->data; BUILDSTDERR: | ^ BUILDSTDERR: thc-ipv6-lib.c: In function 'thc_memstr': BUILDSTDERR: thc-ipv6-lib.c:3191:24: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 3191 | return (haystack + i); BUILDSTDERR: | ~~~~~~~~~~^~~~ BUILDSTDERR: thc-ipv6-lib.c: In function 'thc_generate_cga': BUILDSTDERR: thc-ipv6-lib.c:3282:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 3282 | cga_hdr->pad = (char *) malloc(cga_hdr->pad_len); BUILDSTDERR: | ^ BUILDSTDERR: thc-ipv6-lib.c:3286:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 3286 | if ((*cga = (char *) malloc(16)) == NULL) { BUILDSTDERR: | ^ BUILDSTDERR: thc-ipv6-lib.c:3228:31: warning: variable 'ignore' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 3228 | int klen, rand_fd, cgasize, ignore = 0; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: thc-ipv6-lib.c: In function 'thc_generate_rsa': BUILDSTDERR: thc-ipv6-lib.c:3344:10: warning: pointer targets in passing argument 1 of 'SHA1' differ in signedness [-Wpointer-sign] BUILDSTDERR: 3344 | SHA1(data2sign, data2sign_len, hash); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from thc-ipv6-lib.c:45: BUILDSTDERR: /usr/include/openssl/sha.h:44:16: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 44 | unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md); BUILDSTDERR: | ^~~~ BUILDSTDERR: thc-ipv6-lib.c:3356:43: warning: pointer targets in passing argument 4 of 'RSA_sign' differ in signedness [-Wpointer-sign] BUILDSTDERR: 3356 | if (RSA_sign(NID_sha1, hash, 20, rsa_hdr->sign, &sign_len, key->rsa) == 0) { BUILDSTDERR: | ~~~~~~~^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from thc-ipv6-lib.c:46: BUILDSTDERR: /usr/include/openssl/rsa.h:314:29: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 314 | unsigned char *sigret, unsigned int *siglen, RSA *rsa); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: thc-ipv6-lib.c:3356:51: warning: pointer targets in passing argument 5 of 'RSA_sign' differ in signedness [-Wpointer-sign] BUILDSTDERR: 3356 | if (RSA_sign(NID_sha1, hash, 20, rsa_hdr->sign, &sign_len, key->rsa) == 0) { BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int * BUILDSTDERR: In file included from thc-ipv6-lib.c:46: BUILDSTDERR: /usr/include/openssl/rsa.h:314:51: note: expected 'unsigned int *' but argument is of type 'int *' BUILDSTDERR: 314 | unsigned char *sigret, unsigned int *siglen, RSA *rsa); BUILDSTDERR: | ~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: thc-ipv6-lib.c:3332:34: warning: variable 'ignore' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 3332 | int rsa_hdr_len, sign_len, fd, ignore = 0; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: thc-ipv6-lib.c: In function 'thc_add_send': BUILDSTDERR: thc-ipv6-lib.c:3434:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 3434 | if ((ndp_opt_buff = (char *) malloc(ndp_opt_len)) == NULL) { BUILDSTDERR: | ^ BUILDSTDERR: thc-ipv6-lib.c:3464:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 3464 | if ((data2sign = (char *) malloc(data2sign_len)) == NULL) { BUILDSTDERR: | ^ BUILDSTDERR: thc-ipv6-lib.c:3480:76: warning: pointer targets in passing argument 4 of 'checksum_pseudo_header' differ in signedness [-Wpointer-sign] BUILDSTDERR: 3480 | ihdr->checksum = checksum_pseudo_header(hdr->src, hdr->dst, NXT_ICMP6, buff, 8 + ndp_opt_len); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: thc-ipv6-lib.c:335:103: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 335 | int checksum_pseudo_header(unsigned char *src, unsigned char *dst, unsigned char type, unsigned char *data, int length) { BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: thc-ipv6-lib.c:3488:35: warning: pointer targets in passing argument 1 of 'thc_generate_rsa' differ in signedness [-Wpointer-sign] BUILDSTDERR: 3488 | if ((rsa_hdr = thc_generate_rsa(data2sign, data2sign_len, cga_hdr, key)) == NULL) { BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: thc-ipv6-lib.c:3329:37: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 3329 | thc_rsa_hdr *thc_generate_rsa(char *data2sign, int data2sign_len, thc_cga_hdr * cga_hdr, thc_key_t * key) { BUILDSTDERR: | ~~~~~~^~~~~~~~~ BUILDSTDERR: dnsdict6.c: In function 'dnsquerycode': BUILDSTDERR: dnsdict6.c:365:33: warning: pointer targets in passing argument 4 of '__res_query' differ in signedness [-Wpointer-sign] BUILDSTDERR: 365 | res_query(dom, ns_c_in, type, vbuf, sizeof(vbuf)); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from dnsdict6.c:27: BUILDSTDERR: /usr/include/resolv.h:187:41: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 187 | int res_query (const char *, int, int, unsigned char *, int) BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: dnsdict6.c: In function 'main': BUILDSTDERR: dnsdict6.c:629:8: warning: unused variable 'typ' [-Wunused-variable] BUILDSTDERR: 629 | char typ = 't', **sub_orig; BUILDSTDERR: | ^~~ BUILDSTDERR: dnsdict6.c: In function 'threaded_resolve': BUILDSTDERR: dnsdict6.c:274:36: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 199 [-Wformat-truncation=] BUILDSTDERR: 274 | snprintf(dom, sizeof(dom), "%s.%s", list[i], domain); BUILDSTDERR: | ^~ ~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from dnsdict6.c:14: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 200 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dnsdict6.c: In function 'threaded_resolve_srv': BUILDSTDERR: dnsdict6.c:391:39: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 198 [-Wformat-truncation=] BUILDSTDERR: 391 | snprintf(dom, sizeof(dom), "%s.%s.%s", list[i], type, domain); BUILDSTDERR: | ^~ ~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from dnsdict6.c:14: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 3 or more bytes (assuming 258) into a destination of size 200 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from thc-ipv6-lib.c:13: BUILDSTDERR: In function 'memcpy', BUILDSTDERR: inlined from 'thc_get_own_ipv6' at thc-ipv6-lib.c:656:7: BUILDSTDERR: /usr/include/bits/string_fortified.h:34:10: warning: '__builtin_memcpy' forming offset [35, 36] is out of the bounds [0, 34] of object 'save' with type 'unsigned char[34]' [-Warray-bounds] BUILDSTDERR: 34 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: thc-ipv6-lib.c: In function 'thc_get_own_ipv6': BUILDSTDERR: thc-ipv6-lib.c:536:32: note: 'save' declared here BUILDSTDERR: 536 | unsigned char ipv6[36] = "", save[34] = "", tmpbuf[34], buf[1024], *tmpdst = NULL; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from thc-ipv6-lib.c:13: BUILDSTDERR: In function 'memcpy', BUILDSTDERR: inlined from 'thc_get_own_ipv6' at thc-ipv6-lib.c:664:7: BUILDSTDERR: /usr/include/bits/string_fortified.h:34:10: warning: '__builtin_memcpy' forming offset [35, 36] is out of the bounds [0, 34] of object 'save' with type 'unsigned char[34]' [-Warray-bounds] BUILDSTDERR: 34 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: thc-ipv6-lib.c: In function 'thc_get_own_ipv6': BUILDSTDERR: thc-ipv6-lib.c:536:32: note: 'save' declared here BUILDSTDERR: 536 | unsigned char ipv6[36] = "", save[34] = "", tmpbuf[34], buf[1024], *tmpdst = NULL; BUILDSTDERR: | ^~~~ BUILDSTDERR: parasite6.c: In function 'intercept': BUILDSTDERR: parasite6.c:70:8: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 70 | ptr2 = thc_ipv62notation(ipv6->pkt + 38); BUILDSTDERR: | ^ BUILDSTDERR: parasite6.c:71:8: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 71 | ptr4 = thc_ipv62notation(ipv6->pkt + 22); BUILDSTDERR: | ^ BUILDSTDERR: parasite6.c:101:10: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 101 | ptr2 = thc_ipv62notation(ipv62->pkt + 38); BUILDSTDERR: | ^ BUILDSTDERR: parasite6.c:102:10: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 102 | ptr4 = thc_ipv62notation(ipv62->pkt + 22); BUILDSTDERR: | ^ BUILDSTDERR: parasite6.c: In function 'main': BUILDSTDERR: parasite6.c:155:27: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 155 | unsigned char *ownmac = mac; BUILDSTDERR: | ^~~ BUILDSTDERR: parasite6.c:210:75: warning: pointer targets in passing argument 4 of 'thc_create_ipv6_extended' differ in signedness [-Wpointer-sign] BUILDSTDERR: 210 | if ((pkt = thc_create_ipv6_extended(interface, PREFER_LINK, &pkt_len, dummy, dummy, 255, 0, 0, 0, 0)) == NULL) BUILDSTDERR: | ^~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from parasite6.c:10: BUILDSTDERR: thc-ipv6.h:122:23: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 122 | extern unsigned char *thc_create_ipv6_extended(char *interface, int prefer, int *pkt_len, unsigned char *src, unsigned char *dst, int ttl, int length, int label, int class, int version); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: parasite6.c:210:82: warning: pointer targets in passing argument 5 of 'thc_create_ipv6_extended' differ in signedness [-Wpointer-sign] BUILDSTDERR: 210 | if ((pkt = thc_create_ipv6_extended(interface, PREFER_LINK, &pkt_len, dummy, dummy, 255, 0, 0, 0, 0)) == NULL) BUILDSTDERR: | ^~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from parasite6.c:10: BUILDSTDERR: thc-ipv6.h:122:23: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 122 | extern unsigned char *thc_create_ipv6_extended(char *interface, int prefer, int *pkt_len, unsigned char *src, unsigned char *dst, int ttl, int length, int label, int class, int version); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: parasite6.c:214:47: warning: pointer targets in passing argument 3 of 'thc_add_hdr_hopbyhop' differ in signedness [-Wpointer-sign] BUILDSTDERR: 214 | if (thc_add_hdr_hopbyhop(pkt, &pkt_len, buf2, sizeof(buf2)) < 0) BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from parasite6.c:10: BUILDSTDERR: thc-ipv6.h:129:82: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 129 | extern int thc_add_hdr_hopbyhop(unsigned char *pkt, int *pkt_len, unsigned char *buf, int buflen); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: parasite6.c:227:42: warning: pointer targets in passing argument 3 of 'thc_add_hdr_dst' differ in signedness [-Wpointer-sign] BUILDSTDERR: 227 | if (thc_add_hdr_dst(pkt, &pkt_len, buf3, sizeof(buf3)) < 0) BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from parasite6.c:10: BUILDSTDERR: thc-ipv6.h:128:77: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 128 | extern int thc_add_hdr_dst(unsigned char *pkt, int *pkt_len, unsigned char *buf, int buflen); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: parasite6.c:230:143: warning: pointer targets in passing argument 6 of 'thc_add_icmp6' differ in signedness [-Wpointer-sign] BUILDSTDERR: 230 | if (thc_add_icmp6(pkt, &pkt_len, ICMP6_NEIGHBORADV, 0, ICMP6_NEIGHBORADV_SOLICIT | ICMP6_NEIGHBORADV_OVERRIDE | ICMP6_NEIGHBORADV_ROUTER, dummy, 24, 0) < 0) BUILDSTDERR: | ^~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from parasite6.c:10: BUILDSTDERR: thc-ipv6.h:131:115: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 131 | extern int thc_add_icmp6(unsigned char *pkt, int *pkt_len, int type, int code, unsigned int flags, unsigned char *data, int data_len, int checksum); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: parasite6.c:232:45: warning: pointer targets in passing argument 3 of 'thc_generate_pkt' differ in signedness [-Wpointer-sign] BUILDSTDERR: 232 | if (thc_generate_pkt(interface, ownmac, dummy, pkt, &pkt_len) < 0) BUILDSTDERR: | ^~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from parasite6.c:10: BUILDSTDERR: thc-ipv6.h:140:84: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 140 | extern int thc_generate_pkt(char *interface, unsigned char *srcmac, unsigned char *dstmac, unsigned char *pkt, int *pkt_len); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: detect-new-ip6.c: In function 'intercept': BUILDSTDERR: detect-new-ip6.c:51:28: warning: pointer targets in passing argument 1 of 'thc_ipv62notation' differ in signedness [-Wpointer-sign] BUILDSTDERR: 51 | ptr4 = thc_ipv62notation((char *) (ipv6hdr + 48)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from detect-new-ip6.c:11: BUILDSTDERR: thc-ipv6.h:151:23: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 151 | extern unsigned char *thc_ipv62notation(unsigned char *string); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: detect-new-ip6.c:51:8: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 51 | ptr4 = thc_ipv62notation((char *) (ipv6hdr + 48)); BUILDSTDERR: | ^ BUILDSTDERR: dos-new-ip6.c: In function 'intercept': BUILDSTDERR: dos-new-ip6.c:59:8: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 59 | ptr4 = thc_ipv62notation(ipv6->pkt + 22); BUILDSTDERR: | ^ BUILDSTDERR: dos-new-ip6.c:31:7: warning: variable 'len' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 31 | int len = header->caplen - 14; BUILDSTDERR: | ^~~ BUILDSTDERR: dos-new-ip6.c: In function 'main': BUILDSTDERR: dos-new-ip6.c:107:73: warning: pointer targets in passing argument 4 of 'thc_create_ipv6_extended' differ in signedness [-Wpointer-sign] BUILDSTDERR: 107 | if ((pkt = thc_create_ipv6_extended(interface, PREFER_LINK, &pkt_len, dummy, dst, 255, 0, 0, 0, 0)) == NULL) BUILDSTDERR: | ^~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from dos-new-ip6.c:11: BUILDSTDERR: thc-ipv6.h:122:23: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 122 | extern unsigned char *thc_create_ipv6_extended(char *interface, int prefer, int *pkt_len, unsigned char *src, unsigned char *dst, int ttl, int length, int label, int class, int version); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dos-new-ip6.c:109:86: warning: pointer targets in passing argument 6 of 'thc_add_icmp6' differ in signedness [-Wpointer-sign] BUILDSTDERR: 109 | if (thc_add_icmp6(pkt, &pkt_len, ICMP6_NEIGHBORADV, 0, ICMP6_NEIGHBORADV_OVERRIDE, dummy, 24, 0) < 0) BUILDSTDERR: | ^~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from dos-new-ip6.c:11: BUILDSTDERR: thc-ipv6.h:131:115: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 131 | extern int thc_add_icmp6(unsigned char *pkt, int *pkt_len, int type, int code, unsigned int flags, unsigned char *data, int data_len, int checksum); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: fake_router6.c: In function 'send_rs_reply': BUILDSTDERR: fake_router6.c:40:45: warning: pointer targets in passing argument 3 of 'thc_add_hdr_hopbyhop' differ in signedness [-Wpointer-sign] BUILDSTDERR: 40 | if (thc_add_hdr_hopbyhop(pkt, &pkt_len, frbuf2, frbuf2len) < 0) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from fake_router6.c:11: BUILDSTDERR: thc-ipv6.h:129:82: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 129 | extern int thc_add_hdr_hopbyhop(unsigned char *pkt, int *pkt_len, unsigned char *buf, int buflen); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: fake_router6.c:52:40: warning: pointer targets in passing argument 3 of 'thc_add_hdr_dst' differ in signedness [-Wpointer-sign] BUILDSTDERR: 52 | if (thc_add_hdr_dst(pkt, &pkt_len, buf3, sizeof(buf3)) < 0) BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from fake_router6.c:11: BUILDSTDERR: thc-ipv6.h:128:77: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 128 | extern int thc_add_hdr_dst(unsigned char *pkt, int *pkt_len, unsigned char *buf, int buflen); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: fake_router6.c:55:68: warning: pointer targets in passing argument 6 of 'thc_add_icmp6' differ in signedness [-Wpointer-sign] BUILDSTDERR: 55 | if (thc_add_icmp6(pkt, &pkt_len, ICMP6_ROUTERADV, 0, 0xff080800, frbuf, frbuflen, 0) < 0) BUILDSTDERR: | ^~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from fake_router6.c:11: BUILDSTDERR: thc-ipv6.h:131:115: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 131 | extern int thc_add_icmp6(unsigned char *pkt, int *pkt_len, int type, int code, unsigned int flags, unsigned char *data, int data_len, int checksum); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: fake_router6.c: In function 'main': BUILDSTDERR: fake_router6.c:71:46: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 71 | unsigned char *routerip6, *route6, *mac6 = mac, *ip6; BUILDSTDERR: | ^~~ BUILDSTDERR: fake_router6.c:111:9: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 111 | frbuf = buf; BUILDSTDERR: | ^ BUILDSTDERR: fake_router6.c:112:10: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 112 | frbuf2 = buf2; BUILDSTDERR: | ^ BUILDSTDERR: fake_router6.c:119:34: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 119 | if (argc - optind >= 7 && (ptr = argv[optind + 5]) != NULL) BUILDSTDERR: | ^ BUILDSTDERR: fake_router6.c:120:12: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] BUILDSTDERR: 120 | sscanf(ptr, "%x:%x:%x:%x:%x:%x", (unsigned int *) &mac[0], (unsigned int *) &mac[1], (unsigned int *) &mac[2], (unsigned int *) &mac[3], (unsigned int *) &mac[4], BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from fake_router6.c:1: BUILDSTDERR: /usr/include/stdio.h:399:43: note: expected 'const char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 399 | extern int sscanf (const char *__restrict __s, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: fake_router6.c:139:32: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 139 | if (routerip == NULL || (ptr = index(routerip, '/')) == NULL) { BUILDSTDERR: | ^ BUILDSTDERR: fake_router6.c:144:15: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] BUILDSTDERR: 144 | size = atoi(ptr); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from fake_router6.c:1: BUILDSTDERR: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 361 | __NTH (atoi (const char *__nptr)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: fake_router6.c:177:37: warning: pointer targets in passing argument 2 of 'thc_pcap_init' differ in signedness [-Wpointer-sign] BUILDSTDERR: 177 | if ((p = thc_pcap_init(interface, string)) == NULL) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from fake_router6.c:11: BUILDSTDERR: thc-ipv6.h:94:16: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 94 | extern pcap_t *thc_pcap_init(char *interface, char *capture); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: fake_router6.c:264:45: warning: pointer targets in passing argument 3 of 'thc_add_hdr_hopbyhop' differ in signedness [-Wpointer-sign] BUILDSTDERR: 264 | if (thc_add_hdr_hopbyhop(pkt, &pkt_len, frbuf2, 6) < 0) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from fake_router6.c:11: BUILDSTDERR: thc-ipv6.h:129:82: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 129 | extern int thc_add_hdr_hopbyhop(unsigned char *pkt, int *pkt_len, unsigned char *buf, int buflen); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: fake_router6.c:276:40: warning: pointer targets in passing argument 3 of 'thc_add_hdr_dst' differ in signedness [-Wpointer-sign] BUILDSTDERR: 276 | if (thc_add_hdr_dst(pkt, &pkt_len, buf3, sizeof(buf3)) < 0) BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from fake_router6.c:11: BUILDSTDERR: thc-ipv6.h:128:77: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 128 | extern int thc_add_hdr_dst(unsigned char *pkt, int *pkt_len, unsigned char *buf, int buflen); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: fake_router6.c:79:7: warning: variable 'rawmode' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 79 | int rawmode = 0; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: fake_router6.c: In function 'send_rs_reply': BUILDSTDERR: fake_router6.c:31:20: warning: 'cnt' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 31 | int pkt_len = 0, cnt, i; BUILDSTDERR: | ^~~ BUILDSTDERR: fake_router6.c: In function 'main': BUILDSTDERR: fake_router6.c:76:34: warning: 'cnt' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 76 | int size, mtu = 1500, i, j, k, cnt; BUILDSTDERR: | ^~~ BUILDSTDERR: fake_advertise6.c: In function 'main': BUILDSTDERR: fake_advertise6.c:38:21: warning: unused variable 'pkt2_len' [-Wunused-variable] BUILDSTDERR: 38 | int pkt1_len = 0, pkt2_len = 0, prefer = PREFER_GLOBAL, i, do_hop = 0, do_dst = 0, do_frag = 0, cnt, type = NXT_ICMP6, wait = 5, loop = -1, do_full = 0; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: fake_advertise6.c:38:99: warning: 'cnt' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 38 | int pkt1_len = 0, pkt2_len = 0, prefer = PREFER_GLOBAL, i, do_hop = 0, do_dst = 0, do_frag = 0, cnt, type = NXT_ICMP6, wait = 5, loop = -1, do_full = 0; BUILDSTDERR: | ^~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -c -o thc-ipv6-lib.o thc-ipv6-lib.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o dnssecwalk dnssecwalk.c -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o dnsdict6 dnsdict6.c -lpcap -lssl -lcrypto -lpthread -lresolv gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o parasite6 parasite6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o dos-new-ip6 dos-new-ip6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o detect-new-ip6 detect-new-ip6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o fake_router6 fake_router6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o fake_advertise6 fake_advertise6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o fake_solicitate6 fake_solicitate6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o fake_mld6 fake_mld6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto BUILDSTDERR: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-fake_solicitate6.c: In function 'main': BUILDSTDERR: fake_solicitate6.c:27:92: warning: 'cnt' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 27 | int pkt1_len = 0, flags, prefer = PREFER_GLOBAL, i, do_hop = 0, do_dst = 0, do_frag = 0, cnt, type = NXT_ICMP6, offset = 14; BUILDSTDERR: | ^~~ BUILDSTDERR: fake_mld6.c: In function 'main': BUILDSTDERR: fake_mld6.c:90:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 90 | multicast6 = thc_resolve6("::"); BUILDSTDERR: | ^ BUILDSTDERR: fake_mld6.c:93:21: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 93 | if ((multicast6 = thc_resolve6(argv[3])) == NULL) { BUILDSTDERR: | ^ BUILDSTDERR: fake_mld6.c:105:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 105 | dst6 = multicast6; BUILDSTDERR: | ^ BUILDSTDERR: fake_mld6.c:129:45: warning: pointer targets in passing argument 2 of 'thc_pcap_init_promisc' differ in signedness [-Wpointer-sign] BUILDSTDERR: 129 | if ((p = thc_pcap_init_promisc(interface, string)) == NULL) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from fake_mld6.c:11: BUILDSTDERR: thc-ipv6.h:95:16: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 95 | extern pcap_t *thc_pcap_init_promisc(char *interface, unsigned char *capture); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fake_mld26.c: In function 'main': BUILDSTDERR: fake_mld26.c:117:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 117 | multicast6 = thc_resolve6("::"); BUILDSTDERR: | ^ BUILDSTDERR: fake_mld26.c:120:21: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 120 | if ((multicast6 = thc_resolve6(argv[3])) == NULL) { BUILDSTDERR: | ^ BUILDSTDERR: fake_mld26.c:132:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 132 | dst6 = multicast6; BUILDSTDERR: | ^ BUILDSTDERR: fake_mld26.c:160:45: warning: pointer targets in passing argument 2 of 'thc_pcap_init_promisc' differ in signedness [-Wpointer-sign] BUILDSTDERR: 160 | if ((p = thc_pcap_init_promisc(interface, string)) == NULL) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from fake_mld26.c:11: BUILDSTDERR: thc-ipv6.h:95:16: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 95 | extern pcap_t *thc_pcap_init_promisc(char *interface, unsigned char *capture); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: flood_mldrouter6.c: In function 'main': BUILDSTDERR: flood_mldrouter6.c:23:25: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 23 | unsigned char *mac6 = mac, *ip6 = thc_resolve6("fe80::ff:fe00:0"); BUILDSTDERR: | ^~~ BUILDSTDERR: flood_mldrouter6.c:29:7: warning: variable 'rawmode' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 29 | int rawmode = 0; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: smurf6.c: In function 'main': BUILDSTDERR: smurf6.c:27:7: warning: variable 'rawmode' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 27 | int rawmode = 0; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: alive6.c: In function 'warlord_checkFingerprint': BUILDSTDERR: alive6.c:275:25: warning: variable 'ip_mod' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 275 | char *os, *end, *ptr, ip_mod, ip_ver = 0, ip_hdr_size = 0; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: alive6.c: In function 'check_packets': BUILDSTDERR: alive6.c:403:64: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 403 | if (memcmp(ptr + 48 + offset, (char *) tagging, strlen(tagging)) == 0) { BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from alive6.c:3: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: alive6.c:424:18: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: 424 | snprintf(sport, sizeof(sport), "%d/", i); BUILDSTDERR: | ^~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from alive6.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:64:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 64 | __NTH (snprintf (char *__restrict __s, size_t __n, BUILDSTDERR: | ^~~~~ BUILDSTDERR: alive6.c:438:16: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: 438 | snprintf(sport, sizeof(sport), "%d/", i); BUILDSTDERR: | ^~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from alive6.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:64:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 64 | __NTH (snprintf (char *__restrict __s, size_t __n, BUILDSTDERR: | ^~~~~ BUILDSTDERR: alive6.c:441:39: warning: pointer targets in passing argument 1 of 'warlord_checkFingerprint' differ in signedness [-Wpointer-sign] BUILDSTDERR: 441 | os = warlord_checkFingerprint(ptr, len); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: alive6.c:274:38: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 274 | char *warlord_checkFingerprint(char *buffer, int len) { BUILDSTDERR: | ~~~~~~^~~~~~ BUILDSTDERR: alive6.c:506:18: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: 506 | snprintf(sport, sizeof(sport), "%d:%d/", ptr[40], ptr[41]); BUILDSTDERR: | ^~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from alive6.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:64:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 64 | __NTH (snprintf (char *__restrict __s, size_t __n, BUILDSTDERR: | ^~~~~ BUILDSTDERR: alive6.c:551:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 551 | p1 = "unreachable"; BUILDSTDERR: | ^ BUILDSTDERR: alive6.c:554:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 554 | p1 = "toobig"; BUILDSTDERR: | ^ BUILDSTDERR: alive6.c:557:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 557 | p1 = "time-to-live-exceeded"; BUILDSTDERR: | ^ BUILDSTDERR: alive6.c: In function 'main': BUILDSTDERR: alive6.c:768:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 768 | tagging = optarg; BUILDSTDERR: | ^ BUILDSTDERR: alive6.c:831:17: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 831 | if ((p2 = strdup(optarg)) == NULL) { BUILDSTDERR: | ^ BUILDSTDERR: alive6.c:835:20: warning: pointer targets in passing argument 1 of 'index' differ in signedness [-Wpointer-sign] BUILDSTDERR: 835 | p3 = index(p2, '/'); BUILDSTDERR: | ^~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/string.h:431, BUILDSTDERR: from alive6.c:3: BUILDSTDERR: /usr/include/strings.h:68:14: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 68 | extern char *index (const char *__s, int __c) BUILDSTDERR: | ^~~~~ BUILDSTDERR: alive6.c:835:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 835 | p3 = index(p2, '/'); BUILDSTDERR: | ^ BUILDSTDERR: alive6.c:837:23: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] BUILDSTDERR: 837 | if ((i = atoi(p3)) < 8 || i > 120 || i % 8 != 0) { BUILDSTDERR: | ^~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from alive6.c:1: BUILDSTDERR: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 361 | __NTH (atoi (const char *__nptr)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: alive6.c:1000:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1000 | strcpy(string, "ip6"); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from alive6.c:1: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: alive6.c:1002:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1002 | sprintf(string, "dst %s", thc_ipv62notation(src6)); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from alive6.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: alive6.c:1004:12: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1004 | strcat(string, " and "); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from alive6.c:1: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: alive6.c:1006:14: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1006 | strcat(string, "( icmp6 or "); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from alive6.c:1: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: alive6.c:1008:16: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1008 | strcat(string, "udp "); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from alive6.c:1: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: alive6.c:1010:17: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1010 | strcat(string, "or "); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from alive6.c:1: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: alive6.c:1012:16: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1012 | strcat(string, "tcp "); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from alive6.c:1: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: alive6.c:1013:14: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1013 | strcat(string, ")"); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from alive6.c:1: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: alive6.c:1015:14: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1015 | strcat(string, "icmp6"); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from alive6.c:1: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: alive6.c:1041:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1041 | if (strlen(tagging) > 8) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from alive6.c:3: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: alive6.c:1043:43: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1043 | for (i = 0; i < (sizeof(buf) / strlen(tagging)); i++) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from alive6.c:3: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: alive6.c:1044:30: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1044 | memcpy(buf + i*(strlen(tagging)), tagging, strlen(tagging)); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from alive6.c:3: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: alive6.c:1044:57: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1044 | memcpy(buf + i*(strlen(tagging)), tagging, strlen(tagging)); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from alive6.c:3: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: alive6.c:1048:37: warning: pointer targets in passing argument 2 of 'thc_pcap_init' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1048 | if ((p = thc_pcap_init(interface, string)) == NULL) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from alive6.c:16: BUILDSTDERR: thc-ipv6.h:94:16: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 94 | extern pcap_t *thc_pcap_init(char *interface, char *capture); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: alive6.c:1301:42: warning: pointer targets in passing argument 3 of 'adress4to6' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1301 | bl = adress4to6(cur_dst, addr_cur, &bh); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: alive6.c:601:64: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 601 | int adress4to6(unsigned char *addr6, unsigned int addr4, char *state) { BUILDSTDERR: | ~~~~~~^~~~~ BUILDSTDERR: alive6.c:1736:109: warning: pointer targets in passing argument 10 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1736 | if (thc_add_tcp(pkt, &pkt_len, sp, synports[i] % 65536, (sp << 16) + sp, 0, TCP_SYN, 5760, 0, tcp_opt, TCP_OPT_LEN, NULL, 0) < 0) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from alive6.c:16: BUILDSTDERR: thc-ipv6.h:133:232: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 133 | extern int thc_add_tcp(unsigned char *pkt, int *pkt_len, unsigned short int sport, unsigned short int dport, unsigned int sequence, unsigned int ack, unsigned char flags, unsigned short int window, unsigned short int urgent, char *option, int option_len, char *data, int data_len); BUILDSTDERR: | ~~~~~~^~~~~~ BUILDSTDERR: alive6.c:1747:15: warning: this 'else' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1747 | } else BUILDSTDERR: | ^~~~ BUILDSTDERR: alive6.c:1749:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' BUILDSTDERR: 1749 | while(thc_send_pkt(interface, pkt, &pkt_len) < 0) { BUILDSTDERR: | ^~~~~ BUILDSTDERR: alive6.c:1844:72: warning: pointer targets in passing argument 6 of 'thc_add_udp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1844 | if (thc_add_udp(pkt, &pkt_len, sp, udpports[i] % 65536, 0, dns6buf, sizeof(dns6buf)) < 0) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from alive6.c:16: BUILDSTDERR: thc-ipv6.h:134:139: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 134 | extern int thc_add_udp(unsigned char *pkt, int *pkt_len, unsigned short int sport, unsigned short int dport, unsigned int checksum, char *data, int data_len); BUILDSTDERR: | ~~~~~~^~~~ BUILDSTDERR: alive6.c:686:127: warning: unused variable 'sendrc' [-Wunused-variable] BUILDSTDERR: 686 | int no_vendid = 0, no_nets = 0, local = -1, no_send = 1, no_send_local = 1, no_send_remote = 2, nos = 0, renew = 0, errcnt, sendrc; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: rsmurf6.c: In function 'main': BUILDSTDERR: rsmurf6.c:28:7: warning: variable 'rawmode' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 28 | int rawmode = 0; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: implementation6.c: In function 'main': BUILDSTDERR: implementation6.c:309:10: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 309 | strcat(string, thc_ipv62notation(src6)); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from implementation6.c:9: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: implementation6.c:309:18: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 309 | strcat(string, thc_ipv62notation(src6)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from implementation6.c:9: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: implementation6.c:310:10: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 310 | strcat(string2, thc_ipv62notation(dst6)); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from implementation6.c:9: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: implementation6.c:310:19: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 310 | strcat(string2, thc_ipv62notation(dst6)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from implementation6.c:9: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: implementation6.c:322:37: warning: pointer targets in passing argument 2 of 'thc_pcap_init' differ in signedness [-Wpointer-sign] BUILDSTDERR: 322 | if ((p = thc_pcap_init(interface, string)) == NULL) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from implementation6.c:19: BUILDSTDERR: thc-ipv6.h:94:16: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 94 | extern pcap_t *thc_pcap_init(char *interface, char *capture); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: implementation6.c:1286:34: warning: pointer targets in passing argument 2 of 'thc_pcap_init' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1286 | p = thc_pcap_init(interface, string2); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from implementation6.c:19: BUILDSTDERR: thc-ipv6.h:94:16: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 94 | extern pcap_t *thc_pcap_init(char *interface, char *capture); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: implementation6.c:1294:34: warning: pointer targets in passing argument 2 of 'thc_pcap_init' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1294 | p = thc_pcap_init(interface, string); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from implementation6.c:19: BUILDSTDERR: thc-ipv6.h:94:16: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 94 | extern pcap_t *thc_pcap_init(char *interface, char *capture); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: implementation6.c:1355:34: warning: pointer targets in passing argument 2 of 'thc_pcap_init' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1355 | p = thc_pcap_init(interface, string2); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from implementation6.c:19: BUILDSTDERR: thc-ipv6.h:94:16: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 94 | extern pcap_t *thc_pcap_init(char *interface, char *capture); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: implementation6.c:1367:34: warning: pointer targets in passing argument 2 of 'thc_pcap_init' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1367 | p = thc_pcap_init(interface, string); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from implementation6.c:19: BUILDSTDERR: thc-ipv6.h:94:16: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 94 | extern pcap_t *thc_pcap_init(char *interface, char *capture); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: implementation6.c:1382:34: warning: pointer targets in passing argument 2 of 'thc_pcap_init' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1382 | p = thc_pcap_init(interface, string2); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from implementation6.c:19: BUILDSTDERR: thc-ipv6.h:94:16: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 94 | extern pcap_t *thc_pcap_init(char *interface, char *capture); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: implementation6.c:1394:34: warning: pointer targets in passing argument 2 of 'thc_pcap_init' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1394 | p = thc_pcap_init(interface, string); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from implementation6.c:19: BUILDSTDERR: thc-ipv6.h:94:16: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 94 | extern pcap_t *thc_pcap_init(char *interface, char *capture); BUILDSTDERR: | ^~~~~~~~~~~~~ clash-protection -D_HAVE_SSL -o fake_mld26 fake_mld26.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o fake_mldrouter6 fake_mldrouter6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o flood_mldrouter6 flood_mldrouter6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o fake_mipv6 fake_mipv6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o redir6 redir6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o smurf6 smurf6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o alive6 alive6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o toobig6 toobig6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o rsmurf6 rsmurf6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o implementation6 implementation6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o implementation6d implementation6d.c thc-ipv6-lib.o -lpcap -lssl -lcrypto BUILDSTDERR: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/implementation6d.c: In function 'main': BUILDSTDERR: implementation6d.c:163:36: warning: pointer targets in passing argument 2 of 'thc_pcap_function' differ in signedness [-Wpointer-sign] BUILDSTDERR: 163 | if (thc_pcap_function(interface, string, (char *) check_packet, 0, NULL) < 0) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from implementation6d.c:32: BUILDSTDERR: thc-ipv6.h:93:53: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 93 | extern int thc_pcap_function(char *interface, char *capture, char *function, int promisc, char *opt); BUILDSTDERR: | ~~~~~~^~~~~~~ BUILDSTDERR: sendpees6.c: In function 'main': BUILDSTDERR: sendpees6.c:39:7: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 39 | dev = argv[1]; BUILDSTDERR: | ^ BUILDSTDERR: sendpees6.c:40:24: warning: pointer targets in passing argument 1 of 'thc_get_own_ipv6' differ in signedness [-Wpointer-sign] BUILDSTDERR: 40 | if (thc_get_own_ipv6(dev, NULL, PREFER_LINK) == NULL) { BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from sendpees6.c:18: BUILDSTDERR: thc-ipv6.h:103:23: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 103 | extern unsigned char *thc_get_own_ipv6(char *interface, unsigned char *dst, int prefer); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: sendpees6.c:54:30: warning: pointer targets in passing argument 1 of 'thc_generate_cga' differ in signedness [-Wpointer-sign] BUILDSTDERR: 54 | cga_opt = thc_generate_cga(prefix, key, &cga); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from sendpees6.c:18: BUILDSTDERR: thc-ipv6.h:369:23: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 369 | extern thc_cga_hdr *thc_generate_cga(unsigned char *prefix, thc_key_t * key, unsigned char **cga); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: sendpees6.c:67:39: warning: pointer targets in passing argument 1 of 'thc_create_ipv6_extended' differ in signedness [-Wpointer-sign] BUILDSTDERR: 67 | if ((pkt = thc_create_ipv6_extended(dev, PREFER_GLOBAL, &pkt_len, cga, dst6, 0, 0, 0, 0, 0)) == NULL) { BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from sendpees6.c:18: BUILDSTDERR: thc-ipv6.h:122:23: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 122 | extern unsigned char *thc_create_ipv6_extended(char *interface, int prefer, int *pkt_len, unsigned char *src, unsigned char *dst, int ttl, int length, int label, int class, int version); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: sendpees6.c:71:71: warning: pointer targets in passing argument 6 of 'thc_add_send' differ in signedness [-Wpointer-sign] BUILDSTDERR: 71 | if (thc_add_send(pkt, &pkt_len, ICMP6_NEIGHBORSOL, 0xfacebabe, 0x0, dummy, 24, cga_opt, key, NULL, 0) < 0) { BUILDSTDERR: | ^~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from sendpees6.c:18: BUILDSTDERR: thc-ipv6.h:371:114: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 371 | extern int thc_add_send(unsigned char *pkt, int *pkt_len, int type, int code, unsigned int flags, unsigned char *data, int data_len, thc_cga_hdr * cga_hdr, thc_key_t * key, BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: sendpees6.c:77:24: warning: pointer targets in passing argument 1 of 'thc_generate_pkt' differ in signedness [-Wpointer-sign] BUILDSTDERR: 77 | if (thc_generate_pkt(dev, srchw, dsthw, pkt, &pkt_len) < 0) { BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from sendpees6.c:18: BUILDSTDERR: thc-ipv6.h:140:35: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 140 | extern int thc_generate_pkt(char *interface, unsigned char *srcmac, unsigned char *dstmac, unsigned char *pkt, int *pkt_len); BUILDSTDERR: | ~~~~~~^~~~~~~~~ BUILDSTDERR: sendpees6.c:77:29: warning: pointer targets in passing argument 2 of 'thc_generate_pkt' differ in signedness [-Wpointer-sign] BUILDSTDERR: 77 | if (thc_generate_pkt(dev, srchw, dsthw, pkt, &pkt_len) < 0) { BUILDSTDERR: | ^~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from sendpees6.c:18: BUILDSTDERR: thc-ipv6.h:140:61: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 140 | extern int thc_generate_pkt(char *interface, unsigned char *srcmac, unsigned char *dstmac, unsigned char *pkt, int *pkt_len); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: sendpees6.c:77:36: warning: pointer targets in passing argument 3 of 'thc_generate_pkt' differ in signedness [-Wpointer-sign] BUILDSTDERR: 77 | if (thc_generate_pkt(dev, srchw, dsthw, pkt, &pkt_len) < 0) { BUILDSTDERR: | ^~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from sendpees6.c:18: BUILDSTDERR: thc-ipv6.h:140:84: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 140 | extern int thc_generate_pkt(char *interface, unsigned char *srcmac, unsigned char *dstmac, unsigned char *pkt, int *pkt_len); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: sendpees6.c:85:18: warning: pointer targets in passing argument 1 of 'thc_send_pkt' differ in signedness [-Wpointer-sign] BUILDSTDERR: 85 | thc_send_pkt(dev, pkt, &pkt_len); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from sendpees6.c:18: BUILDSTDERR: thc-ipv6.h:141:31: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 141 | extern int thc_send_pkt(char *interface, unsigned char *pkt, int *pkt_len); BUILDSTDERR: | ~~~~~~^~~~~~~~~ BUILDSTDERR: sendpeesmp6.c: In function 'main': BUILDSTDERR: sendpeesmp6.c:79:7: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 79 | dev = argv[1]; /* read interface from commandline */ BUILDSTDERR: | ^ BUILDSTDERR: sendpeesmp6.c:80:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | if ((addr = thc_resolve6(argv[3])) == NULL) { BUILDSTDERR: | ^ BUILDSTDERR: sendpeesmp6.c:84:24: warning: pointer targets in passing argument 1 of 'thc_get_own_ipv6' differ in signedness [-Wpointer-sign] BUILDSTDERR: 84 | if (thc_get_own_ipv6(dev, NULL, PREFER_LINK) == NULL) { BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from sendpeesmp6.c:17: BUILDSTDERR: thc-ipv6.h:103:23: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 103 | extern unsigned char *thc_get_own_ipv6(char *interface, unsigned char *dst, int prefer); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: sendpeesmp6.c:97:30: warning: pointer targets in passing argument 1 of 'thc_generate_cga' differ in signedness [-Wpointer-sign] BUILDSTDERR: 97 | cga_opt = thc_generate_cga(prefix, key, &cga); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from sendpeesmp6.c:17: BUILDSTDERR: thc-ipv6.h:369:23: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 369 | extern thc_cga_hdr *thc_generate_cga(unsigned char *prefix, thc_key_t * key, unsigned char **cga); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: sendpeesmp6.c:111:23: warning: pointer targets in passing argument 1 of 'thc_get_mac' differ in signedness [-Wpointer-sign] BUILDSTDERR: 111 | tgthw = thc_get_mac(dev, cga, dst6); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from sendpeesmp6.c:17: BUILDSTDERR: thc-ipv6.h:105:23: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 105 | extern unsigned char *thc_get_mac(char *interface, unsigned char *src, unsigned char *dst); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: sendpeesmp6.c:145:43: warning: pointer targets in passing argument 1 of 'thc_create_ipv6_extended' differ in signedness [-Wpointer-sign] BUILDSTDERR: 145 | if ((pkt = thc_create_ipv6_extended(dev, PREFER_LINK, &pkt_len, cga, dst6, 0, 0, 0, 0, 0)) == NULL) { BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from sendpeesmp6.c:17: BUILDSTDERR: thc-ipv6.h:122:23: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 122 | extern unsigned char *thc_create_ipv6_extended(char *interface, int prefer, int *pkt_len, unsigned char *src, unsigned char *dst, int ttl, int length, int label, int class, int version); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: sendpeesmp6.c:151:70: warning: pointer targets in passing argument 6 of 'thc_add_send' differ in signedness [-Wpointer-sign] BUILDSTDERR: 151 | if (thc_add_send(pkt, &pkt_len, ICMP6_NEIGHBORSOL, 0x0, flags, soldummy, 24, cga_opt, key, NULL, 0) < 0) { BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from sendpeesmp6.c:17: BUILDSTDERR: thc-ipv6.h:371:114: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 371 | extern int thc_add_send(unsigned char *pkt, int *pkt_len, int type, int code, unsigned int flags, unsigned char *data, int data_len, thc_cga_hdr * cga_hdr, thc_key_t * key, BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: sendpeesmp6.c:158:38: warning: pointer targets in passing argument 1 of 'thc_generate_pkt' differ in signedness [-Wpointer-sign] BUILDSTDERR: 158 | if ((result = thc_generate_pkt(dev, test, tgthw, pkt, &pkt_len)) < 0) { BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from sendpeesmp6.c:17: BUILDSTDERR: thc-ipv6.h:140:35: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 140 | extern int thc_generate_pkt(char *interface, unsigned char *srcmac, unsigned char *dstmac, unsigned char *pkt, int *pkt_len); BUILDSTDERR: | ~~~~~~^~~~~~~~~ BUILDSTDERR: sendpeesmp6.c:168:22: warning: pointer targets in passing argument 1 of 'thc_send_pkt' differ in signedness [-Wpointer-sign] BUILDSTDERR: 168 | thc_send_pkt(dev, pkt, &pkt_len); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from sendpeesmp6.c:17: BUILDSTDERR: thc-ipv6.h:141:31: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 141 | extern int thc_send_pkt(char *interface, unsigned char *pkt, int *pkt_len); BUILDSTDERR: | ~~~~~~^~~~~~~~~ BUILDSTDERR: alive6.c:1917:28: warning: 'ok' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1917 | if (curr > 1 || list > 0 || ok != 0 || tcount > alive_no || still_not_there == 1) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: alive6.c:1413:42: warning: 'tip8' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1413 | cip8 = fip8 + (step + cip8 - tip8); BUILDSTDERR: | ~~~~~~~~~~~~~^~~~~~~ BUILDSTDERR: alive6.c:1430:16: warning: 'tip7' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1430 | if (cip7 + step <= tip7) { BUILDSTDERR: | ^ BUILDSTDERR: alive6.c:1450:16: warning: 'tip6' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1450 | if (cip6 + step <= tip6) { BUILDSTDERR: | ^ BUILDSTDERR: alive6.c:1479:16: warning: 'tip5' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1479 | if (cip5 < tip5) { BUILDSTDERR: | ^ BUILDSTDERR: alive6.c:1487:12: warning: 'tip4' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1487 | if (fip4 != tip4 && (inc_step || inc_next)) { BUILDSTDERR: | ^ BUILDSTDERR: alive6.c:1507:12: warning: 'tip3' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1507 | if (fip3 != tip3 && (inc_step || inc_next)) { BUILDSTDERR: | ^ BUILDSTDERR: alive6.c:1527:12: warning: 'tip2' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1527 | if (fip2 != tip2 && (inc_step || inc_next)) { BUILDSTDERR: | ^ BUILDSTDERR: alive6.c:1547:12: warning: 'tip1' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1547 | if (fip1 != tip1 && (inc_step || inc_next)) { BUILDSTDERR: | ^ BUILDSTDERR: alive6.c:1413:20: warning: 'fip8' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1413 | cip8 = fip8 + (step + cip8 - tip8); BUILDSTDERR: | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: alive6.c:1433:20: warning: 'fip7' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1433 | cip7 = fip7 + (step + cip7 - tip7); BUILDSTDERR: | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: alive6.c:1453:20: warning: 'fip6' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1453 | cip6 = fip6 + (step + cip6 - tip6); BUILDSTDERR: | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: alive6.c:1473:20: warning: 'fip5' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1473 | cip5 = fip5 + (step + cip5 - tip5); BUILDSTDERR: | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: alive6.c:1487:12: warning: 'fip4' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1487 | if (fip4 != tip4 && (inc_step || inc_next)) { BUILDSTDERR: | ^ BUILDSTDERR: alive6.c:1507:12: warning: 'fip3' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1507 | if (fip3 != tip3 && (inc_step || inc_next)) { BUILDSTDERR: | ^ BUILDSTDERR: alive6.c:1527:12: warning: 'fip2' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1527 | if (fip2 != tip2 && (inc_step || inc_next)) { BUILDSTDERR: | ^ BUILDSTDERR: alive6.c:1547:12: warning: 'fip1' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1547 | if (fip1 != tip1 && (inc_step || inc_next)) { BUILDSTDERR: | ^ BUILDSTDERR: alive6.c:1410:22: warning: 'cip8' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1410 | if (cip8 + step <= tip8) { BUILDSTDERR: | ~~~~~^~~~~~ BUILDSTDERR: alive6.c:1430:22: warning: 'cip7' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1430 | if (cip7 + step <= tip7) { BUILDSTDERR: | ~~~~~^~~~~~ BUILDSTDERR: alive6.c:1450:22: warning: 'cip6' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1450 | if (cip6 + step <= tip6) { BUILDSTDERR: | ~~~~~^~~~~~ BUILDSTDERR: alive6.c:1470:22: warning: 'cip5' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1470 | if (cip5 + step <= tip5) { BUILDSTDERR: | ~~~~~^~~~~~ BUILDSTDERR: alive6.c:1490:22: warning: 'cip4' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1490 | if (cip4 + step <= tip4) { BUILDSTDERR: | ~~~~~^~~~~~ BUILDSTDERR: alive6.c:1510:22: warning: 'cip3' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1510 | if (cip3 + step <= tip3) { BUILDSTDERR: | ~~~~~^~~~~~ BUILDSTDERR: alive6.c:1530:22: warning: 'cip2' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1530 | if (cip2 + step <= tip2) { BUILDSTDERR: | ~~~~~^~~~~~ BUILDSTDERR: alive6.c:1550:22: warning: 'cip1' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1550 | if (cip1 + step <= tip1) { BUILDSTDERR: | ~~~~~^~~~~~ BUILDSTDERR: alive6.c:1240:14: warning: 'ip2' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1240 | ip2++; BUILDSTDERR: | ~~~^~ BUILDSTDERR: alive6.c:1244:14: warning: 'ip1' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1244 | ip1++; BUILDSTDERR: | ~~~^~ BUILDSTDERR: alive6.c:686:119: warning: 'errcnt' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 686 | int no_vendid = 0, no_nets = 0, local = -1, no_send = 1, no_send_local = 1, no_send_remote = 2, nos = 0, renew = 0, errcnt, sendrc; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: alive6.c:1573:20: warning: 'cur_dst' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1573 | cur_dst[1] = cip1 % 256; BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~~~~ BUILDSTDERR: fuzz_ip6.c: In function 'main': BUILDSTDERR: fuzz_ip6.c:346:15: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 346 | if ((srcmac = thc_get_own_mac(interface)) == NULL) { BUILDSTDERR: | ^ BUILDSTDERR: fuzz_ip6.c:376:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 376 | if ((real_dst6 = thc_resolve6(argv[optind + 1])) == NULL) { BUILDSTDERR: | ^ BUILDSTDERR: fuzz_ip6.c:408:10: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 408 | strcat(string, thc_ipv62notation(src6)); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from fuzz_ip6.c:1: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: fuzz_ip6.c:408:18: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 408 | strcat(string, thc_ipv62notation(src6)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from fuzz_ip6.c:1: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: fuzz_ip6.c:419:7: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 419 | dns = thc_resolve6("ff02::fb"); BUILDSTDERR: | ^ BUILDSTDERR: fuzz_ip6.c:420:10: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 420 | route6 = thc_resolve6("2a01::"); BUILDSTDERR: | ^ BUILDSTDERR: fuzz_ip6.c:422:37: warning: pointer targets in passing argument 2 of 'thc_pcap_init' differ in signedness [-Wpointer-sign] BUILDSTDERR: 422 | if ((p = thc_pcap_init(interface, string)) == NULL) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from fuzz_ip6.c:11: BUILDSTDERR: thc-ipv6.h:94:16: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 94 | extern pcap_t *thc_pcap_init(char *interface, char *capture); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: fuzz_ip6.c:430:35: warning: pointer targets in passing argument 3 of 'check_alive' differ in signedness [-Wpointer-sign] BUILDSTDERR: 430 | if (check_alive(p, interface, srcmac, mac, src6, real_dst6) == 0) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: fuzz_ip6.c:209:61: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 209 | int check_alive(pcap_t * p, char *interface, unsigned char *srcmac, unsigned char *dstmac, unsigned char *src, unsigned char *dst) { BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: fuzz_ip6.c:430:54: warning: pointer targets in passing argument 6 of 'check_alive' differ in signedness [-Wpointer-sign] BUILDSTDERR: 430 | if (check_alive(p, interface, srcmac, mac, src6, real_dst6) == 0) { BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: fuzz_ip6.c:209:127: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 209 | int check_alive(pcap_t * p, char *interface, unsigned char *srcmac, unsigned char *dstmac, unsigned char *src, unsigned char *dst) { BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: fuzz_ip6.c:481:40: warning: pointer targets in passing argument 3 of 'addfuzz' differ in signedness [-Wpointer-sign] BUILDSTDERR: 481 | addfuzz(&fuzzbuf, &fuzzbuf_sz, buf3); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: fuzz_ip6.c:197:53: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 197 | void addfuzz(char **fuzzbuf, int *fuzzbuf_sz, char *fuzztype) { BUILDSTDERR: | ~~~~~~^~~~~~~~ BUILDSTDERR: fuzz_ip6.c:536:38: warning: pointer targets in passing argument 3 of 'addfuzz' differ in signedness [-Wpointer-sign] BUILDSTDERR: 536 | addfuzz(&fuzzbuf, &fuzzbuf_sz, buf3); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: fuzz_ip6.c:197:53: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 197 | void addfuzz(char **fuzzbuf, int *fuzzbuf_sz, char *fuzztype) { BUILDSTDERR: | ~~~~~~^~~~~~~~ BUILDSTDERR: fuzz_ip6.c:579:84: warning: pointer targets in passing argument 10 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 579 | if (thc_add_tcp(pkt, &pkt_len, 65532, port, test_current, 0, TCP_SYN, 5760, 0, (unsigned char *) buf, 20, (unsigned char *) buf, 20) < 0) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from fuzz_ip6.c:11: BUILDSTDERR: thc-ipv6.h:133:232: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 133 | extern int thc_add_tcp(unsigned char *pkt, int *pkt_len, unsigned short int sport, unsigned short int dport, unsigned int sequence, unsigned int ack, unsigned char flags, unsigned short int window, unsigned short int urgent, char *option, int option_len, char *data, int data_len); BUILDSTDERR: | ~~~~~~^~~~~~ BUILDSTDERR: fuzz_ip6.c:579:111: warning: pointer targets in passing argument 12 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 579 | if (thc_add_tcp(pkt, &pkt_len, 65532, port, test_current, 0, TCP_SYN, 5760, 0, (unsigned char *) buf, 20, (unsigned char *) buf, 20) < 0) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from fuzz_ip6.c:11: BUILDSTDERR: thc-ipv6.h:133:262: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 133 | extern int thc_add_tcp(unsigned char *pkt, int *pkt_len, unsigned short int sport, unsigned short int dport, unsigned int sequence, unsigned int ack, unsigned char flags, unsigned short int window, unsigned short int urgent, char *option, int option_len, char *data, int data_len); BUILDSTDERR: | ~~~~~~^~~~ BUILDSTDERR: fuzz_ip6.c:609:12: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 609 | tmp6 = thc_get_own_ipv6(interface, dst6, PREFER_GLOBAL); BUILDSTDERR: | ^ BUILDSTDERR: fuzz_ip6.c:611:12: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 611 | tmp6 = someaddr6; BUILDSTDERR: | ^ BUILDSTDERR: fuzz_ip6.c:625:12: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 625 | tmp6 = thc_get_own_ipv6(interface, dst6, PREFER_GLOBAL); BUILDSTDERR: | ^ BUILDSTDERR: fuzz_ip6.c:627:12: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 627 | tmp6 = someaddr6; BUILDSTDERR: | ^ BUILDSTDERR: fuzz_ip6.c:631:10: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 631 | tmp6 = thc_resolve6("ff00::"); BUILDSTDERR: | ^ BUILDSTDERR: fuzz_ip6.c:636:10: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 636 | tmp6 = thc_get_own_ipv6(interface, dst6, PREFER_GLOBAL); BUILDSTDERR: | ^ BUILDSTDERR: fuzz_ip6.c:642:12: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 642 | tmp6 = thc_get_own_ipv6(interface, dst6, PREFER_GLOBAL); BUILDSTDERR: | ^ BUILDSTDERR: fuzz_ip6.c:644:12: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 644 | tmp6 = someaddr6; BUILDSTDERR: | ^ BUILDSTDERR: fuzz_ip6.c:656:12: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 656 | tmp6 = someaddr6; BUILDSTDERR: | ^ BUILDSTDERR: fuzz_ip6.c:658:12: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 658 | tmp6 = thc_resolve6("ff05::3"); BUILDSTDERR: | ^ BUILDSTDERR: fuzz_ip6.c:844:35: warning: pointer targets in passing argument 2 of 'thc_generate_pkt' differ in signedness [-Wpointer-sign] BUILDSTDERR: 844 | if (thc_generate_pkt(interface, srcmac, mac, pkt, &pkt_len) < 0) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from fuzz_ip6.c:11: BUILDSTDERR: thc-ipv6.h:140:61: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 140 | extern int thc_generate_pkt(char *interface, unsigned char *srcmac, unsigned char *dstmac, unsigned char *pkt, int *pkt_len); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: fuzz_ip6.c:1071:41: warning: pointer targets in passing argument 3 of 'check_alive' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1071 | if (check_alive(p, interface, srcmac, mac, src6, real_dst6) == 0) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: fuzz_ip6.c:209:61: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 209 | int check_alive(pcap_t * p, char *interface, unsigned char *srcmac, unsigned char *dstmac, unsigned char *src, unsigned char *dst) { BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: fuzz_ip6.c:1071:60: warning: pointer targets in passing argument 6 of 'check_alive' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1071 | if (check_alive(p, interface, srcmac, mac, src6, real_dst6) == 0) { BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: fuzz_ip6.c:209:127: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 209 | int check_alive(pcap_t * p, char *interface, unsigned char *srcmac, unsigned char *dstmac, unsigned char *src, unsigned char *dst) { BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: fuzz_ip6.c:1088:35: warning: pointer targets in passing argument 3 of 'check_alive' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1088 | if (check_alive(p, interface, srcmac, mac, src6, real_dst6) == 0) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: fuzz_ip6.c:209:61: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 209 | int check_alive(pcap_t * p, char *interface, unsigned char *srcmac, unsigned char *dstmac, unsigned char *src, unsigned char *dst) { BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: fuzz_ip6.c:1088:54: warning: pointer targets in passing argument 6 of 'check_alive' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1088 | if (check_alive(p, interface, srcmac, mac, src6, real_dst6) == 0) { BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: fuzz_ip6.c:209:127: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 209 | int check_alive(pcap_t * p, char *interface, unsigned char *srcmac, unsigned char *dstmac, unsigned char *src, unsigned char *dst) { BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: flood_mld6.c: In function 'main': BUILDSTDERR: flood_mld6.c:23:25: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 23 | unsigned char *mac6 = mac, *ip6 = thc_resolve6("fe80::ff:fe00:0"); BUILDSTDERR: | ^~~ BUILDSTDERR: flood_mld6.c:29:7: warning: variable 'rawmode' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 29 | int rawmode = 0; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: fuzz_ip6.c:946:57: warning: array subscript 7 is above array bounds of 'unsigned int[2]' [-Warray-bounds] BUILDSTDERR: 946 | hdr->pkt[test_pos] = hdr->pkt[test_pos] ^ xors[test_cnt - COUNT_BYTE - 1]; BUILDSTDERR: | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fuzz_ip6.c:47:14: note: while referencing 'xors' BUILDSTDERR: 47 | unsigned int xors[] = { 0, 0xffffffff }; // 2 BUILDSTDERR: | ^~~~ BUILDSTDERR: flood_mld26.c: In function 'main': BUILDSTDERR: flood_mld26.c:25:25: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 25 | unsigned char *mac6 = mac, *ip6 = thc_resolve6("fe80::ff:fe00:0"); BUILDSTDERR: | ^~~ BUILDSTDERR: flood_mld26.c:31:7: warning: variable 'rawmode' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 31 | int rawmode = 0; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: flood_mld26.c:28:13: warning: variable 'prefer' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 28 | int i, j, prefer = PREFER_LINK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: flood_router6.c: In function 'main': BUILDSTDERR: flood_router6.c:25:46: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 25 | unsigned char *routerip6, *route6, *mac6 = mac, *ip6; BUILDSTDERR: | ^~~ BUILDSTDERR: flood_router6.c:30:20: warning: variable 'rawmode' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 30 | int pkt_len = 0, rawmode = 0, count = 0, do_hop = 0, do_frag = 0, cnt, do_dst = 0, offset = 14; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: flood_router6.c:30:69: warning: 'cnt' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 30 | int pkt_len = 0, rawmode = 0, count = 0, do_hop = 0, do_frag = 0, cnt, do_dst = 0, offset = 14; BUILDSTDERR: | ^~~ BUILDSTDERR: flood_advertise6.c: In function 'main': BUILDSTDERR: flood_advertise6.c:24:25: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 24 | unsigned char *mac6 = mac, *ip6; BUILDSTDERR: | ^~~ BUILDSTDERR: flood_advertise6.c:29:73: warning: variable 'keepmac' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 29 | int pkt_len = 0, flags, rawmode = 0, count = 0, prefer = PREFER_LINK, keepmac = 0; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: flood_advertise6.c:29:27: warning: unused variable 'rawmode' [-Wunused-variable] BUILDSTDERR: 29 | int pkt_len = 0, flags, rawmode = 0, count = 0, prefer = PREFER_LINK, keepmac = 0; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: flood_solicitate6.c: In function 'main': BUILDSTDERR: flood_solicitate6.c:25:25: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 25 | unsigned char *mac6 = mac, *ip6, *query6, *smac = NULL; BUILDSTDERR: | ^~~ BUILDSTDERR: flood_solicitate6.c:47:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 47 | smac = srcmac; BUILDSTDERR: | ^ BUILDSTDERR: flood_solicitate6.c:30:20: warning: unused variable 'rawmode' [-Wunused-variable] BUILDSTDERR: 30 | int pkt_len = 0, rawmode = 0, count = 0; BUILDSTDERR: | ^~~~~~~ rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o sendpees6 sendpees6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o sendpeesmp6 sendpeesmp6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o randicmp6 randicmp6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o fuzz_ip6 fuzz_ip6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o flood_mld6 flood_mld6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o flood_mld26 flood_mld26.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o flood_router6 flood_router6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o flood_advertise6 flood_advertise6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o flood_solicitate6 flood_solicitate6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o trace6 trace6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o exploit6 exploit6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto BUILDSTDERR: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,trace6.c: In function 'check_packets': BUILDSTDERR: trace6.c:109:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 109 | remark[pos] = strdup("\t[ping reply received]"); BUILDSTDERR: | ^ BUILDSTDERR: trace6.c:156:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 156 | remark[pos] = strdup("\t[unreachable message received]"); BUILDSTDERR: | ^ BUILDSTDERR: trace6.c:179:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 179 | remark[pos] = strdup("\t[parameter problem received]"); BUILDSTDERR: | ^ BUILDSTDERR: trace6.c:202:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 202 | remark[pos] = strdup("\t[TCP SYN-ACK reply received]"); BUILDSTDERR: | ^ BUILDSTDERR: trace6.c:205:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 205 | remark[pos] = strdup("\t[TCP RST reply received]"); BUILDSTDERR: | ^ BUILDSTDERR: trace6.c:208:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 208 | remark[pos] = strdup("\t[TCP unknown reply received]"); BUILDSTDERR: | ^ BUILDSTDERR: trace6.c:219:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 219 | remark[pos] = strdup("\t[UDP reply received]"); BUILDSTDERR: | ^ BUILDSTDERR: trace6.c:243:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 243 | remark[pos] = strdup("\t[port unreachable message received]"); BUILDSTDERR: | ^ BUILDSTDERR: trace6.c:247:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 247 | remark[pos] = strdup("\t[unreachable message received]"); BUILDSTDERR: | ^ BUILDSTDERR: trace6.c: In function 'main': BUILDSTDERR: trace6.c:330:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 330 | interface = argv[optind]; BUILDSTDERR: | ^ BUILDSTDERR: trace6.c:336:29: warning: pointer targets in passing argument 1 of 'thc_get_own_ipv6' differ in signedness [-Wpointer-sign] BUILDSTDERR: 336 | src6 = thc_get_own_ipv6(interface, dst6, PREFER_GLOBAL); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from trace6.c:12: BUILDSTDERR: thc-ipv6.h:103:23: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 103 | extern unsigned char *thc_get_own_ipv6(char *interface, unsigned char *dst, int prefer); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: trace6.c:337:28: warning: pointer targets in passing argument 1 of 'thc_get_own_mac' differ in signedness [-Wpointer-sign] BUILDSTDERR: 337 | srcmac = thc_get_own_mac(interface); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from trace6.c:12: BUILDSTDERR: thc-ipv6.h:101:23: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 101 | extern unsigned char *thc_get_own_mac(char *interface); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: trace6.c:360:42: warning: pointer targets in passing argument 1 of 'thc_get_mac' differ in signedness [-Wpointer-sign] BUILDSTDERR: 360 | if (rawmode == 0 && (mac = thc_get_mac(interface, src6, dst6)) == NULL) { BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from trace6.c:12: BUILDSTDERR: thc-ipv6.h:105:23: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 105 | extern unsigned char *thc_get_mac(char *interface, unsigned char *src, unsigned char *dst); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: trace6.c:364:10: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 364 | strcat(string, thc_ipv62notation(src6)); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from trace6.c:1: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: trace6.c:364:18: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 364 | strcat(string, thc_ipv62notation(src6)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from trace6.c:1: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: trace6.c:368:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 368 | remark[i] = strdup(""); BUILDSTDERR: | ^ BUILDSTDERR: trace6.c:372:26: warning: pointer targets in passing argument 1 of 'thc_pcap_init' differ in signedness [-Wpointer-sign] BUILDSTDERR: 372 | if ((p = thc_pcap_init(interface, string)) == NULL) { BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from trace6.c:12: BUILDSTDERR: thc-ipv6.h:94:16: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 94 | extern pcap_t *thc_pcap_init(char *interface, char *capture); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: trace6.c:372:37: warning: pointer targets in passing argument 2 of 'thc_pcap_init' differ in signedness [-Wpointer-sign] BUILDSTDERR: 372 | if ((p = thc_pcap_init(interface, string)) == NULL) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from trace6.c:12: BUILDSTDERR: thc-ipv6.h:94:16: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 94 | extern pcap_t *thc_pcap_init(char *interface, char *capture); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: trace6.c:377:26: warning: pointer targets in passing argument 1 of 'thc_get_mtu' differ in signedness [-Wpointer-sign] BUILDSTDERR: 377 | if ((mtu = thc_get_mtu(interface)) < 1280) { BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from trace6.c:12: BUILDSTDERR: thc-ipv6.h:102:30: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 102 | extern int thc_get_mtu(char *interface); BUILDSTDERR: | ~~~~~~^~~~~~~~~ BUILDSTDERR: trace6.c:425:47: warning: pointer targets in passing argument 1 of 'thc_create_ipv6_extended' differ in signedness [-Wpointer-sign] BUILDSTDERR: 425 | if ((pkt = thc_create_ipv6_extended(interface, PREFER_GLOBAL, &pkt_len, src6, dst6, i, 0, 0, 0, 0)) == NULL) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from trace6.c:12: BUILDSTDERR: thc-ipv6.h:122:23: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 122 | extern unsigned char *thc_create_ipv6_extended(char *interface, int prefer, int *pkt_len, unsigned char *src, unsigned char *dst, int ttl, int length, int label, int class, int version); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: trace6.c:458:52: warning: pointer targets in passing argument 1 of 'thc_create_ipv6_extended' differ in signedness [-Wpointer-sign] BUILDSTDERR: 458 | if ((pkt2 = thc_create_ipv6_extended(interface, 0, &pkt2_len, dst6, foo6, i, 0, 0, 0, 0)) == NULL) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from trace6.c:12: BUILDSTDERR: thc-ipv6.h:122:23: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 122 | extern unsigned char *thc_create_ipv6_extended(char *interface, int prefer, int *pkt_len, unsigned char *src, unsigned char *dst, int ttl, int length, int label, int class, int version); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: trace6.c:462:32: warning: pointer targets in passing argument 1 of 'thc_generate_pkt' differ in signedness [-Wpointer-sign] BUILDSTDERR: 462 | thc_generate_pkt(interface, foomac, foomac, pkt2, &pkt2_len); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from trace6.c:12: BUILDSTDERR: thc-ipv6.h:140:35: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 140 | extern int thc_generate_pkt(char *interface, unsigned char *srcmac, unsigned char *dstmac, unsigned char *pkt, int *pkt_len); BUILDSTDERR: | ~~~~~~^~~~~~~~~ BUILDSTDERR: trace6.c:484:88: warning: pointer targets in passing argument 6 of 'thc_add_udp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 484 | if (thc_add_udp(pkt, &pkt_len, baseport + i, dport, 0, buf_len > 0 ? buf : NULL, buf_len) < 0) BUILDSTDERR: | ^ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from trace6.c:12: BUILDSTDERR: thc-ipv6.h:134:139: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 134 | extern int thc_add_udp(unsigned char *pkt, int *pkt_len, unsigned short int sport, unsigned short int dport, unsigned int checksum, char *data, int data_len); BUILDSTDERR: | ~~~~~~^~~~ BUILDSTDERR: trace6.c:486:125: warning: pointer targets in passing argument 12 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 486 | } else if (thc_add_tcp(pkt, &pkt_len, baseport + i, dport, pid, 0, TCP_SYN, 5760, 0, NULL, 0, buf_len > 0 ? buf : NULL, buf_len) < 0) BUILDSTDERR: | ^ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from trace6.c:12: BUILDSTDERR: thc-ipv6.h:133:262: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 133 | extern int thc_add_tcp(unsigned char *pkt, int *pkt_len, unsigned short int sport, unsigned short int dport, unsigned int sequence, unsigned int ack, unsigned char flags, unsigned short int window, unsigned short int urgent, char *option, int option_len, char *data, int data_len); BUILDSTDERR: | ~~~~~~^~~~ BUILDSTDERR: trace6.c:489:41: warning: pointer targets in passing argument 1 of 'thc_generate_and_send_pkt' differ in signedness [-Wpointer-sign] BUILDSTDERR: 489 | if (thc_generate_and_send_pkt(interface, srcmac, mac, pkt, &pkt_len) < 0) { BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from trace6.c:12: BUILDSTDERR: thc-ipv6.h:139:44: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 139 | extern int thc_generate_and_send_pkt(char *interface, unsigned char *srcmac, unsigned char *dstmac, unsigned char *pkt, int *pkt_len); BUILDSTDERR: | ~~~~~~^~~~~~~~~ BUILDSTDERR: trace6.c:523:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 523 | position[up_to] = strdup("!!!"); BUILDSTDERR: | ^ BUILDSTDERR: trace6.c:534:16: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: 534 | snprintf(text, sizeof(text), " with starting MTU %d", orig_mtu); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from trace6.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:64:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 64 | __NTH (snprintf (char *__restrict __s, size_t __n, BUILDSTDERR: | ^~~~~ BUILDSTDERR: trace6.c:548:20: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: 548 | snprintf(text, sizeof(text), " - new MTU %d", rmtu[i]); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from trace6.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:64:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 64 | __NTH (snprintf (char *__restrict __s, size_t __n, BUILDSTDERR: | ^~~~~ BUILDSTDERR: trace6.c:550:20: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: 550 | snprintf(text, sizeof(text), " - new MTU %d - 6in4 tunnel endpoint", rmtu[i]); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from trace6.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:64:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 64 | __NTH (snprintf (char *__restrict __s, size_t __n, BUILDSTDERR: | ^~~~~ BUILDSTDERR: trace6.c:552:20: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: 552 | snprintf(text, sizeof(text), " - new MTU %d - PPP or Teredo tunnel endpoint", rmtu[i]); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from trace6.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:64:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 64 | __NTH (snprintf (char *__restrict __s, size_t __n, BUILDSTDERR: | ^~~~~ BUILDSTDERR: trace6.c:554:20: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: 554 | snprintf(text, sizeof(text), " - new MTU %d - PPTP tunnel endpoint", rmtu[i]); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from trace6.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:64:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 64 | __NTH (snprintf (char *__restrict __s, size_t __n, BUILDSTDERR: | ^~~~~ BUILDSTDERR: trace6.c:556:20: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: 556 | snprintf(text, sizeof(text), " - new MTU %d - AYIYA tunnel endpoint", rmtu[i]); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from trace6.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:64:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 64 | __NTH (snprintf (char *__restrict __s, size_t __n, BUILDSTDERR: | ^~~~~ BUILDSTDERR: trace6.c:558:20: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: 558 | snprintf(text, sizeof(text), " - new MTU %d", rmtu[i]); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from trace6.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:64:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 64 | __NTH (snprintf (char *__restrict __s, size_t __n, BUILDSTDERR: | ^~~~~ BUILDSTDERR: trace6.c:560:20: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: 560 | snprintf(text, sizeof(text), " - new MTU %d", rmtu[i]); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from trace6.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:64:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 64 | __NTH (snprintf (char *__restrict __s, size_t __n, BUILDSTDERR: | ^~~~~ BUILDSTDERR: trace6.c:566:49: warning: pointer targets in passing argument 1 of 'thc_resolve6' differ in signedness [-Wpointer-sign] BUILDSTDERR: 566 | he = gethostbyaddr(thc_resolve6(position[i]), 16, AF_INET6); BUILDSTDERR: | ~~~~~~~~^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from trace6.c:12: BUILDSTDERR: thc-ipv6.h:99:23: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 99 | extern unsigned char *thc_resolve6(char *target); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: denial6.c: In function 'main': BUILDSTDERR: denial6.c:276:15: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 276 | randptr = ipv6->pkt + do_hdr_size + 40 + 8 + 4; BUILDSTDERR: | ^ BUILDSTDERR: denial6.c:278:15: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 278 | randptr = ipv6->pkt + 14 + 40 + 8 + 4; BUILDSTDERR: | ^ BUILDSTDERR: denial6.c:49:60: warning: unused variable 'mtu' [-Wunused-variable] BUILDSTDERR: 49 | int pkt_len = 0, pkt_len2 = 0, pkt_len3 = 0, noping = 0, mtu = 1500; BUILDSTDERR: | ^~~ BUILDSTDERR: denial6.c:49:48: warning: unused variable 'noping' [-Wunused-variable] BUILDSTDERR: 49 | int pkt_len = 0, pkt_len2 = 0, pkt_len3 = 0, noping = 0, mtu = 1500; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: denial6.c:49:34: warning: unused variable 'pkt_len3' [-Wunused-variable] BUILDSTDERR: 49 | int pkt_len = 0, pkt_len2 = 0, pkt_len3 = 0, noping = 0, mtu = 1500; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: denial6.c:49:20: warning: unused variable 'pkt_len2' [-Wunused-variable] BUILDSTDERR: 49 | int pkt_len = 0, pkt_len2 = 0, pkt_len3 = 0, noping = 0, mtu = 1500; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: denial6.c:48:45: warning: unused variable 'pkt3' [-Wunused-variable] BUILDSTDERR: 48 | unsigned char *pkt = NULL, *pkt2 = NULL, *pkt3 = NULL; BUILDSTDERR: | ^~~~ BUILDSTDERR: denial6.c:48:31: warning: unused variable 'pkt2' [-Wunused-variable] BUILDSTDERR: 48 | unsigned char *pkt = NULL, *pkt2 = NULL, *pkt3 = NULL; BUILDSTDERR: | ^~~~ BUILDSTDERR: denial6.c:47:24: warning: variable 'fragsize' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 47 | int i, j, k, srcmtu, fragsize; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: denial6.c:46:17: warning: unused variable 'hdr' [-Wunused-variable] BUILDSTDERR: 46 | thc_ipv6_hdr *hdr; BUILDSTDERR: | ^~~ BUILDSTDERR: denial6.c:45:50: warning: unused variable 'routers' [-Wunused-variable] BUILDSTDERR: 45 | unsigned char *srcmac = NULL, *dstmac = NULL, *routers[2], null_buffer[6]; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: denial6.c:44:79: warning: unused variable 'mal' [-Wunused-variable] BUILDSTDERR: 44 | unsigned char *dst6, *ldst6 = malloc(16), *src6, *lsrc6, *mcast6, *route6, *mal; BUILDSTDERR: | ^~~ BUILDSTDERR: denial6.c:44:70: warning: unused variable 'route6' [-Wunused-variable] BUILDSTDERR: 44 | unsigned char *dst6, *ldst6 = malloc(16), *src6, *lsrc6, *mcast6, *route6, *mal; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: denial6.c:44:61: warning: variable 'mcast6' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 44 | unsigned char *dst6, *ldst6 = malloc(16), *src6, *lsrc6, *mcast6, *route6, *mal; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: denial6.c:42:28: warning: unused variable 'tmplen' [-Wunused-variable] BUILDSTDERR: 42 | int test = 0, count = 1, tmplen; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: exploit6.c: In function 'main': BUILDSTDERR: exploit6.c:106:10: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 106 | strcat(string, thc_ipv62notation(src6)); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from exploit6.c:6: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: exploit6.c:106:18: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 106 | strcat(string, thc_ipv62notation(src6)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from exploit6.c:6: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: exploit6.c:107:10: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 107 | strcat(string2, thc_ipv62notation(dst6)); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from exploit6.c:6: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: exploit6.c:107:19: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 107 | strcat(string2, thc_ipv62notation(dst6)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from exploit6.c:6: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: exploit6.c:124:37: warning: pointer targets in passing argument 2 of 'thc_pcap_init' differ in signedness [-Wpointer-sign] BUILDSTDERR: 124 | if ((p = thc_pcap_init(interface, string)) == NULL) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from exploit6.c:16: BUILDSTDERR: thc-ipv6.h:94:16: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 94 | extern pcap_t *thc_pcap_init(char *interface, char *capture); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: exploit6.c:66:34: warning: unused variable 'pkt_len3' [-Wunused-variable] BUILDSTDERR: 66 | int pkt_len = 0, pkt_len2 = 0, pkt_len3 = 0, noping = 0, mtu = 1500; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: exploit6.c:66:20: warning: unused variable 'pkt_len2' [-Wunused-variable] BUILDSTDERR: 66 | int pkt_len = 0, pkt_len2 = 0, pkt_len3 = 0, noping = 0, mtu = 1500; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: exploit6.c:65:45: warning: unused variable 'pkt3' [-Wunused-variable] BUILDSTDERR: 65 | unsigned char *pkt = NULL, *pkt2 = NULL, *pkt3 = NULL; BUILDSTDERR: | ^~~~ BUILDSTDERR: exploit6.c:65:31: warning: unused variable 'pkt2' [-Wunused-variable] BUILDSTDERR: 65 | unsigned char *pkt = NULL, *pkt2 = NULL, *pkt3 = NULL; BUILDSTDERR: | ^~~~ BUILDSTDERR: exploit6.c:63:14: warning: unused variable 'j' [-Wunused-variable] BUILDSTDERR: 63 | int i = 0, j, srcmtu, fragsize, offset = 14; BUILDSTDERR: | ^ BUILDSTDERR: exploit6.c:61:50: warning: unused variable 'routers' [-Wunused-variable] BUILDSTDERR: 61 | unsigned char *srcmac = NULL, *dstmac = NULL, *routers[2], null_buffer[6]; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: exploit6.c:60:61: warning: variable 'mcast6' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 60 | unsigned char *dst6, *ldst6 = malloc(16), *src6, *lsrc6, *mcast6, *route6, *mal; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: fake_dhcps6.c: In function 'main': BUILDSTDERR: fake_dhcps6.c:25:37: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 25 | unsigned char *routerip6, *mac6 = mac, *ip6, *ptr, *ptr1, *ptr2, *ptr3; BUILDSTDERR: | ^~~ BUILDSTDERR: fake_dhcps6.c:50:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 50 | if (argc >= 6 && (ptr = argv[5]) != NULL) BUILDSTDERR: | ^ BUILDSTDERR: fake_dhcps6.c:51:12: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] BUILDSTDERR: 51 | sscanf(ptr, "%x:%x:%x:%x:%x:%x", (unsigned int *) &mac[0], (unsigned int *) &mac[1], (unsigned int *) &mac[2], (unsigned int *) &mac[3], (unsigned int *) &mac[4], BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from fake_dhcps6.c:1: BUILDSTDERR: /usr/include/stdio.h:399:43: note: expected 'const char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 399 | extern int sscanf (const char *__restrict __s, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: fake_dhcps6.c:67:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 67 | if ((ptr = index(routerip, '/')) == NULL) { BUILDSTDERR: | ^ BUILDSTDERR: fake_dhcps6.c:72:15: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] BUILDSTDERR: 72 | size = atoi(ptr); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from fake_dhcps6.c:1: BUILDSTDERR: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 361 | __NTH (atoi (const char *__nptr)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: fake_dhcps6.c:115:50: warning: pointer targets in passing argument 3 of 'thc_bind_multicast_to_socket' differ in signedness [-Wpointer-sign] BUILDSTDERR: 115 | if (thc_bind_multicast_to_socket(s, interface, thc_resolve6("ff02::1:2")) < 0 || thc_bind_multicast_to_socket(s, interface, thc_resolve6("ff02::1:3")) < 0) { BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from fake_dhcps6.c:13: BUILDSTDERR: thc-ipv6.h:155:71: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 155 | extern int thc_bind_multicast_to_socket(int s, char *interface, char *src); BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: fake_dhcps6.c:115:127: warning: pointer targets in passing argument 3 of 'thc_bind_multicast_to_socket' differ in signedness [-Wpointer-sign] BUILDSTDERR: 115 | if (thc_bind_multicast_to_socket(s, interface, thc_resolve6("ff02::1:2")) < 0 || thc_bind_multicast_to_socket(s, interface, thc_resolve6("ff02::1:3")) < 0) { BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from fake_dhcps6.c:13: BUILDSTDERR: thc-ipv6.h:155:71: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 155 | extern int thc_bind_multicast_to_socket(int s, char *interface, char *src); BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: fake_dhcps6.c:153:23: warning: pointer targets in passing argument 1 of 'thc_dump_data' differ in signedness [-Wpointer-sign] BUILDSTDERR: 153 | thc_dump_data(rdatabuf, len, "Received Packet"); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from fake_dhcps6.c:13: BUILDSTDERR: thc-ipv6.h:147:42: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 147 | extern void thc_dump_data(unsigned char *buf, int len, char *text); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: fake_dhcps6.c:155:32: warning: pointer targets in passing argument 1 of 'thc_ipv62notation' differ in signedness [-Wpointer-sign] BUILDSTDERR: 155 | ptr2 = thc_ipv62notation((char *) &ddst.sin6_addr); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from fake_dhcps6.c:13: BUILDSTDERR: thc-ipv6.h:151:23: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 151 | extern unsigned char *thc_ipv62notation(unsigned char *string); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: fake_dhcps6.c:158:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 158 | ptr1 = "Solicitate"; BUILDSTDERR: | ^ BUILDSTDERR: fake_dhcps6.c:161:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 161 | ptr1 = "Advertise (illegal, ignored)"; BUILDSTDERR: | ^ BUILDSTDERR: fake_dhcps6.c:164:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 164 | ptr1 = "Request"; BUILDSTDERR: | ^ BUILDSTDERR: fake_dhcps6.c:167:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 167 | ptr1 = "Confirm"; BUILDSTDERR: | ^ BUILDSTDERR: fake_dhcps6.c:170:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 170 | ptr1 = "Renew"; BUILDSTDERR: | ^ BUILDSTDERR: fake_dhcps6.c:173:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 173 | ptr1 = "Rebind"; BUILDSTDERR: | ^ BUILDSTDERR: fake_dhcps6.c:176:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 176 | ptr1 = "Reply (illegal, ignored)"; BUILDSTDERR: | ^ BUILDSTDERR: fake_dhcps6.c:179:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 179 | ptr1 = "Release (ignored)"; BUILDSTDERR: | ^ BUILDSTDERR: fake_dhcps6.c:182:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 182 | ptr1 = "Decline (ignored)"; BUILDSTDERR: | ^ BUILDSTDERR: fake_dhcps6.c:185:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 185 | ptr1 = "Reconfigure (illegal, ignored)"; BUILDSTDERR: | ^ BUILDSTDERR: fake_dhcps6.c:188:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 188 | ptr1 = "Information Request (ignored)"; BUILDSTDERR: | ^ BUILDSTDERR: fake_dhcps6.c:191:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 191 | ptr1 = "Relay Forward (ignored)"; BUILDSTDERR: | ^ BUILDSTDERR: fake_dhcps6.c:194:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 194 | ptr1 = "Relay Reply (ignored)"; BUILDSTDERR: | ^ BUILDSTDERR: fake_dhcps6.c:197:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 197 | ptr1 = "Unknown (ignored)"; BUILDSTDERR: | ^ BUILDSTDERR: fake_dhcps6.c:248:49: warning: pointer targets in passing argument 1 of 'thc_ipv62notation' differ in signedness [-Wpointer-sign] BUILDSTDERR: 248 | ptr3 = thc_ipv62notation(wdatabuf + i + 4); BUILDSTDERR: | ~~~~~~~~~~~~~^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from fake_dhcps6.c:13: BUILDSTDERR: thc-ipv6.h:151:23: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 151 | extern unsigned char *thc_ipv62notation(unsigned char *string); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: fake_dhcps6.c:280:25: warning: pointer targets in passing argument 1 of 'thc_dump_data' differ in signedness [-Wpointer-sign] BUILDSTDERR: 280 | thc_dump_data(wdatabuf, len, "Reply Packet"); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from fake_dhcps6.c:13: BUILDSTDERR: thc-ipv6.h:147:42: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 147 | extern void thc_dump_data(unsigned char *buf, int len, char *text); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: fake_dhcps6.c:288:36: warning: pointer targets in passing argument 1 of 'thc_ipv62notation' differ in signedness [-Wpointer-sign] BUILDSTDERR: 288 | ptr2 = thc_ipv62notation((char *) &ddst.sin6_addr); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from fake_dhcps6.c:13: BUILDSTDERR: thc-ipv6.h:151:23: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 151 | extern unsigned char *thc_ipv62notation(unsigned char *string); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: fake_dhcps6.c:27:13: warning: variable 'fromlen' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 27 | int size, fromlen = 0, /*mtu = 1500, */ i, j, k, l, m, s, len, t, mlen, csize = 0; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: fake_dhcps6.c:292:21: warning: 'm' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 292 | } else if (m) BUILDSTDERR: | ^ BUILDSTDERR: flood_dhcpc6.c: In function 'check_packets': BUILDSTDERR: flood_dhcpc6.c:103:46: warning: pointer targets in passing argument 2 of 'thc_generate_and_send_pkt' differ in signedness [-Wpointer-sign] BUILDSTDERR: 103 | if (thc_generate_and_send_pkt(interface, smac, ptr + 6, pkt, &pkt_len) < 0) BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from flood_dhcpc6.c:13: BUILDSTDERR: thc-ipv6.h:139:70: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 139 | extern int thc_generate_and_send_pkt(char *interface, unsigned char *srcmac, unsigned char *dstmac, unsigned char *pkt, int *pkt_len); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: flood_dhcpc6.c: In function 'main': BUILDSTDERR: flood_dhcpc6.c:114:25: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 114 | unsigned char *mac6 = mac, *src, *dst; BUILDSTDERR: | ^~~ BUILDSTDERR: flood_dhcpc6.c:171:45: warning: pointer targets in passing argument 2 of 'thc_pcap_init_promisc' differ in signedness [-Wpointer-sign] BUILDSTDERR: 171 | if ((p = thc_pcap_init_promisc(interface, "ip6 and udp and dst port 546")) == NULL) { BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from flood_dhcpc6.c:13: BUILDSTDERR: thc-ipv6.h:95:16: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 95 | extern pcap_t *thc_pcap_init_promisc(char *interface, unsigned char *capture); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: flood_dhcpc6.c:214:14: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 214 | if ((pkt = thc_create_ipv6_extended(interface, PREFER_LINK, &pkt_len, src, dst, 1, 0, 0, 0, 0)) == NULL) BUILDSTDERR: | ^ BUILDSTDERR: flood_dhcpc6.c:216:21: warning: pointer targets in passing argument 1 of 'thc_add_udp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 216 | if (thc_add_udp(pkt, &pkt_len, 546, 547, 0, wdatabuf, len) < 0) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from flood_dhcpc6.c:13: BUILDSTDERR: thc-ipv6.h:134:39: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 134 | extern int thc_add_udp(unsigned char *pkt, int *pkt_len, unsigned short int sport, unsigned short int dport, unsigned int checksum, char *data, int data_len); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: flood_dhcpc6.c:219:58: warning: pointer targets in passing argument 4 of 'thc_generate_and_send_pkt' differ in signedness [-Wpointer-sign] BUILDSTDERR: 219 | if (thc_generate_and_send_pkt(interface, mac6, NULL, pkt, &pkt_len) < 0) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from flood_dhcpc6.c:13: BUILDSTDERR: thc-ipv6.h:139:116: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 139 | extern int thc_generate_and_send_pkt(char *interface, unsigned char *srcmac, unsigned char *dstmac, unsigned char *pkt, int *pkt_len); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: flood_dhcpc6.c:221:30: warning: pointer targets in passing argument 1 of 'thc_destroy_packet' differ in signedness [-Wpointer-sign] BUILDSTDERR: 221 | pkt = thc_destroy_packet(pkt); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from flood_dhcpc6.c:13: BUILDSTDERR: thc-ipv6.h:142:23: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 142 | extern unsigned char *thc_destroy_packet(unsigned char *pkt); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: flood_dhcpc6.c:221:9: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 221 | pkt = thc_destroy_packet(pkt); BUILDSTDERR: | ^ BUILDSTDERR: fake_dns6d.c: In function 'check_packets': BUILDSTDERR: fake_dns6d.c:30:113: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 30 | unsigned char *ptr = (unsigned char *) data, *ptr2, *ptr3, *dst6, *src6, *dmac = NULL, *pkt, *look, *lwrite = lookup; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: fake_dns6d.c:64:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 64 | src6 = ip6; // then use this as a spoofed source BUILDSTDERR: | ^ BUILDSTDERR: fake_dns6d.c:70:40: warning: pointer targets in passing argument 2 of 'thc_generate_and_send_pkt' differ in signedness [-Wpointer-sign] BUILDSTDERR: 70 | thc_generate_and_send_pkt(interface, mac6, dmac, pkt, &pkt_len); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from fake_dns6d.c:13: BUILDSTDERR: thc-ipv6.h:139:70: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 139 | extern int thc_generate_and_send_pkt(char *interface, unsigned char *srcmac, unsigned char *dstmac, unsigned char *pkt, int *pkt_len); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: fake_dns6d.c: In function 'main': BUILDSTDERR: fake_dns6d.c:119:10: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 119 | mac6 = thc_get_own_mac(interface); BUILDSTDERR: | ^ BUILDSTDERR: fake_dns6d.c:122:9: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 122 | ip6 = thc_resolve6(argv[3]); BUILDSTDERR: | ^ BUILDSTDERR: fake_dns6d.c:124:9: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 124 | ip6 = thc_get_own_ipv6(interface, NULL, PREFER_LINK); BUILDSTDERR: | ^ BUILDSTDERR: fake_dns6d.c:131:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 131 | routerip6 = thc_resolve6(argv[2]); BUILDSTDERR: | ^ BUILDSTDERR: fake_dns6d.c:146:45: warning: pointer targets in passing argument 2 of 'thc_pcap_init_promisc' differ in signedness [-Wpointer-sign] BUILDSTDERR: 146 | if ((p = thc_pcap_init_promisc(interface, "ip6 and udp and (dst port 53 or dst port 5353)")) == NULL) { BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from fake_dns6d.c:13: BUILDSTDERR: thc-ipv6.h:95:16: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 95 | extern pcap_t *thc_pcap_init_promisc(char *interface, unsigned char *capture); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: flood_dhcpc6.c: In function 'check_packets': BUILDSTDERR: flood_dhcpc6.c:103:9: warning: 'smac' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 103 | if (thc_generate_and_send_pkt(interface, smac, ptr + 6, pkt, &pkt_len) < 0) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: kill_router6.c: In function 'send_ra_kill': BUILDSTDERR: kill_router6.c:50:45: warning: pointer targets in passing argument 3 of 'thc_add_hdr_hopbyhop' differ in signedness [-Wpointer-sign] BUILDSTDERR: 50 | if (thc_add_hdr_hopbyhop(pkt, &pkt_len, frbuf2, frbuf2len) < 0) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from kill_router6.c:11: BUILDSTDERR: thc-ipv6.h:129:82: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 129 | extern int thc_add_hdr_hopbyhop(unsigned char *pkt, int *pkt_len, unsigned char *buf, int buflen); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: kill_router6.c:62:40: warning: pointer targets in passing argument 3 of 'thc_add_hdr_dst' differ in signedness [-Wpointer-sign] BUILDSTDERR: 62 | if (thc_add_hdr_dst(pkt, &pkt_len, buf3, sizeof(buf3)) < 0) BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from kill_router6.c:11: BUILDSTDERR: thc-ipv6.h:128:77: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 128 | extern int thc_add_hdr_dst(unsigned char *pkt, int *pkt_len, unsigned char *buf, int buflen); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: kill_router6.c:65:68: warning: pointer targets in passing argument 6 of 'thc_add_icmp6' differ in signedness [-Wpointer-sign] BUILDSTDERR: 65 | if (thc_add_icmp6(pkt, &pkt_len, ICMP6_ROUTERADV, 0, 0x40080000, frbuf, frbuflen, 0) < 0) BUILDSTDERR: | ^~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from kill_router6.c:11: BUILDSTDERR: thc-ipv6.h:131:115: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 131 | extern int thc_add_icmp6(unsigned char *pkt, int *pkt_len, int type, int code, unsigned int flags, unsigned char *data, int data_len, int checksum); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: kill_router6.c: In function 'main': BUILDSTDERR: kill_router6.c:83:25: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 83 | unsigned char *mac6 = mac, *ip6; BUILDSTDERR: | ^~~ BUILDSTDERR: kill_router6.c:86:27: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 86 | unsigned char *dstmac = dmac; BUILDSTDERR: | ^~~~ BUILDSTDERR: kill_router6.c:121:9: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 121 | frbuf = buf; BUILDSTDERR: | ^ BUILDSTDERR: kill_router6.c:122:10: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 122 | frbuf2 = buf2; BUILDSTDERR: | ^ BUILDSTDERR: kill_router6.c:129:34: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 129 | if (argc - optind >= 4 && (ptr = argv[optind + 3]) != NULL) BUILDSTDERR: | ^ BUILDSTDERR: kill_router6.c:130:12: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] BUILDSTDERR: 130 | sscanf(ptr, "%x:%x:%x:%x:%x:%x", (unsigned int *) &dmac[0], (unsigned int *) &dmac[1], (unsigned int *) &dmac[2], (unsigned int *) &dmac[3], (unsigned int *) &dmac[4], BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from kill_router6.c:1: BUILDSTDERR: /usr/include/stdio.h:399:43: note: expected 'const char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 399 | extern int sscanf (const char *__restrict __s, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: kill_router6.c:134:34: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 134 | if (argc - optind >= 3 && (ptr = argv[optind + 2]) != NULL) BUILDSTDERR: | ^ BUILDSTDERR: kill_router6.c:135:12: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] BUILDSTDERR: 135 | sscanf(ptr, "%x:%x:%x:%x:%x:%x", (unsigned int *) &mac[0], (unsigned int *) &mac[1], (unsigned int *) &mac[2], (unsigned int *) &mac[3], (unsigned int *) &mac[4], BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from kill_router6.c:1: BUILDSTDERR: /usr/include/stdio.h:399:43: note: expected 'const char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 399 | extern int sscanf (const char *__restrict __s, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: kill_router6.c:156:45: warning: pointer targets in passing argument 2 of 'thc_pcap_init_promisc' differ in signedness [-Wpointer-sign] BUILDSTDERR: 156 | if ((p = thc_pcap_init_promisc(interface, string)) == NULL) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from kill_router6.c:11: BUILDSTDERR: thc-ipv6.h:95:16: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 95 | extern pcap_t *thc_pcap_init_promisc(char *interface, unsigned char *capture); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: kill_router6.c:178:40: warning: pointer targets in passing argument 3 of 'thc_add_hdr_dst' differ in signedness [-Wpointer-sign] BUILDSTDERR: 178 | if (thc_add_hdr_dst(pkt, &pkt_len, buf3, sizeof(buf3)) < 0) BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from kill_router6.c:11: BUILDSTDERR: thc-ipv6.h:128:77: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 128 | extern int thc_add_hdr_dst(unsigned char *pkt, int *pkt_len, unsigned char *buf, int buflen); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: kill_router6.c:90:7: warning: variable 'rawmode' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 90 | int rawmode = 0; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: fragmentation6.c: In function 'main': BUILDSTDERR: fragmentation6.c:36:20: warning: variable 'fragsize' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 36 | int offset = 14, fragsize = 0; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: kill_router6.c: In function 'send_ra_kill': BUILDSTDERR: kill_router6.c:31:20: warning: 'cnt' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 31 | int pkt_len = 0, cnt, i, len = header->caplen - 14, offset = 14; BUILDSTDERR: | ^~~ BUILDSTDERR: kill_router6.c: In function 'main': BUILDSTDERR: kill_router6.c:87:10: warning: 'cnt' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 87 | int i, cnt, offset = 14; BUILDSTDERR: | ^~~ BUILDSTDERR: fake_dnsupdate6.c: In function 'main': BUILDSTDERR: fake_dnsupdate6.c:56:12: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 56 | if ((dst = thc_resolve6(argv[3])) == NULL) { BUILDSTDERR: | ^ BUILDSTDERR: ndpexhaust6.c: In function 'main': BUILDSTDERR: ndpexhaust6.c:56:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 56 | dstnet = argv[2]; // hier stehts dstnet drin BUILDSTDERR: | ^ BUILDSTDERR: ndpexhaust6.c:57:38: warning: pointer targets in passing argument 1 of 'index' differ in signedness [-Wpointer-sign] BUILDSTDERR: 57 | if (dstnet == NULL || (ptr = index(dstnet, '/')) == NULL) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/string.h:431, BUILDSTDERR: from ndpexhaust6.c:3: BUILDSTDERR: /usr/include/strings.h:68:14: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 68 | extern char *index (const char *__s, int __c) BUILDSTDERR: | ^~~~~ BUILDSTDERR: ndpexhaust6.c:57:30: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 57 | if (dstnet == NULL || (ptr = index(dstnet, '/')) == NULL) { BUILDSTDERR: | ^ BUILDSTDERR: ndpexhaust6.c:63:15: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] BUILDSTDERR: 63 | size = atoi(ptr); // prefix lenght BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from ndpexhaust6.c:1: BUILDSTDERR: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 361 | __NTH (atoi (const char *__nptr)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: ndpexhaust6.c:70:23: warning: pointer targets in passing argument 1 of 'thc_resolve6' differ in signedness [-Wpointer-sign] BUILDSTDERR: 70 | dst6 = thc_resolve6(dstnet); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from ndpexhaust6.c:11: BUILDSTDERR: thc-ipv6.h:99:23: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 99 | extern unsigned char *thc_resolve6(char *target); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: detect_sniffer6.c: In function 'main': BUILDSTDERR: detect_sniffer6.c:130:18: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 130 | strcat(string, thc_ipv62notation(src6)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from detect_sniffer6.c:2: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: detect_sniffer6.c:143:47: warning: pointer targets in passing argument 3 of 'thc_pcap_check' differ in signedness [-Wpointer-sign] BUILDSTDERR: 143 | thc_pcap_check(p, (char *) check_packets, buf); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from detect_sniffer6.c:13: BUILDSTDERR: thc-ipv6.h:97:61: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 97 | extern int thc_pcap_check(pcap_t * p, char *function, char *opt); BUILDSTDERR: | ~~~~~~^~~ -D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o denial6 denial6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o fake_dhcps6 fake_dhcps6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o flood_dhcpc6 flood_dhcpc6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o fake_dns6d fake_dns6d.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o fragmentation6 fragmentation6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o kill_router6 kill_router6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o fake_dnsupdate6 fake_dnsupdate6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o ndpexhaust6 ndpexhaust6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o detect_sniffer6 detect_sniffer6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o dump_router6 dump_router6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto BUILDSTDERR: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-cldump_router6.c: In function 'main': BUILDSTDERR: dump_router6.c:203:7: warning: variable 'rawmode' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 203 | int rawmode = 0; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: fake_router26.c: In function 'send_rs_reply': BUILDSTDERR: fake_router26.c:72:45: warning: pointer targets in passing argument 3 of 'thc_add_hdr_hopbyhop' differ in signedness [-Wpointer-sign] BUILDSTDERR: 72 | if (thc_add_hdr_hopbyhop(pkt, &pkt_len, frbuf2, frbuf2len) < 0) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from fake_router26.c:12: BUILDSTDERR: thc-ipv6.h:129:82: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 129 | extern int thc_add_hdr_hopbyhop(unsigned char *pkt, int *pkt_len, unsigned char *buf, int buflen); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: fake_router26.c:84:40: warning: pointer targets in passing argument 3 of 'thc_add_hdr_dst' differ in signedness [-Wpointer-sign] BUILDSTDERR: 84 | if (thc_add_hdr_dst(pkt, &pkt_len, buf3, sizeof(buf3)) < 0) BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from fake_router26.c:12: BUILDSTDERR: thc-ipv6.h:128:77: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 128 | extern int thc_add_hdr_dst(unsigned char *pkt, int *pkt_len, unsigned char *buf, int buflen); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: fake_router26.c:87:68: warning: pointer targets in passing argument 6 of 'thc_add_icmp6' differ in signedness [-Wpointer-sign] BUILDSTDERR: 87 | if (thc_add_icmp6(pkt, &pkt_len, ICMP6_ROUTERADV, 0, 0xff080800, frbuf, frbuflen, 0) < 0) BUILDSTDERR: | ^~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from fake_router26.c:12: BUILDSTDERR: thc-ipv6.h:131:115: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 131 | extern int thc_add_icmp6(unsigned char *pkt, int *pkt_len, int type, int code, unsigned int flags, unsigned char *data, int data_len, int checksum); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: fake_router26.c: In function 'exit_cleanup': BUILDSTDERR: fake_router26.c:105:12: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 105 | prefix = thc_resolve6("2001:db8::"); BUILDSTDERR: | ^ BUILDSTDERR: fake_router26.c:107:55: warning: pointer targets in passing argument 7 of 'thc_routeradv6' differ in signedness [-Wpointer-sign] BUILDSTDERR: 107 | thc_routeradv6(interface, NULL, NULL, NULL, 0, 0, prefix, 0, 0, 0); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from fake_router26.c:12: BUILDSTDERR: thc-ipv6.h:111:162: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 111 | extern int thc_routeradv6(char *interface, unsigned char *src, unsigned char *dst, unsigned char *srcmac, unsigned char default_ttl, int managed, unsigned char *prefix, int prefixlen, int mtu, unsigned int lifetime); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: fake_router26.c:109:55: warning: pointer targets in passing argument 7 of 'thc_routeradv6' differ in signedness [-Wpointer-sign] BUILDSTDERR: 109 | thc_routeradv6(interface, NULL, NULL, NULL, 0, 0, prefix, 0, 0, 0); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from fake_router26.c:12: BUILDSTDERR: thc-ipv6.h:111:162: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 111 | extern int thc_routeradv6(char *interface, unsigned char *src, unsigned char *dst, unsigned char *srcmac, unsigned char default_ttl, int managed, unsigned char *prefix, int prefixlen, int mtu, unsigned int lifetime); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: fake_router26.c:111:55: warning: pointer targets in passing argument 7 of 'thc_routeradv6' differ in signedness [-Wpointer-sign] BUILDSTDERR: 111 | thc_routeradv6(interface, NULL, NULL, NULL, 0, 0, prefix, 0, 0, 0); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from fake_router26.c:12: BUILDSTDERR: thc-ipv6.h:111:162: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 111 | extern int thc_routeradv6(char *interface, unsigned char *src, unsigned char *dst, unsigned char *srcmac, unsigned char default_ttl, int managed, unsigned char *prefix, int prefixlen, int mtu, unsigned int lifetime); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: fake_router26.c: In function 'main': BUILDSTDERR: fake_router26.c:144:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 144 | dstmac = dmac; BUILDSTDERR: | ^ BUILDSTDERR: fake_router26.c:149:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 149 | mac6 = mac; BUILDSTDERR: | ^ BUILDSTDERR: fake_router26.c:154:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 154 | fmac = smac; BUILDSTDERR: | ^ BUILDSTDERR: fake_router26.c:183:34: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 183 | if (optarg == NULL || (ptr = index(optarg, '/')) == NULL) { BUILDSTDERR: | ^ BUILDSTDERR: fake_router26.c:188:24: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] BUILDSTDERR: 188 | if ((size = atoi(ptr)) < 0 && size > 255) { // yes we allow bad sizes :-) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from fake_router26.c:1: BUILDSTDERR: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 361 | __NTH (atoi (const char *__nptr)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: fake_router26.c:244:34: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 244 | if (optarg == NULL || (ptr = index(optarg, '/')) == NULL) { BUILDSTDERR: | ^ BUILDSTDERR: fake_router26.c:249:24: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] BUILDSTDERR: 249 | if ((size = atoi(ptr)) < 0 && size > 255) { // yes we allow bad sizes :-) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from fake_router26.c:1: BUILDSTDERR: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 361 | __NTH (atoi (const char *__nptr)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: fake_router26.c:274:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 274 | searchlist = optarg; BUILDSTDERR: | ^ BUILDSTDERR: fake_router26.c:321:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 321 | ptr = strtok(optarg, ","); BUILDSTDERR: | ^ BUILDSTDERR: fake_router26.c:323:27: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 323 | if (strncasecmp(ptr, "man", 3) == 0) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/string.h:431, BUILDSTDERR: from fake_router26.c:3: BUILDSTDERR: /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: fake_router26.c:325:32: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 325 | else if (strncasecmp(ptr, "oth", 3) == 0) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/string.h:431, BUILDSTDERR: from fake_router26.c:3: BUILDSTDERR: /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: fake_router26.c:327:32: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 327 | else if (strncasecmp(ptr, "hom", 3) == 0) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/string.h:431, BUILDSTDERR: from fake_router26.c:3: BUILDSTDERR: /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: fake_router26.c:329:32: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 329 | else if (strncasecmp(ptr, "prox", 4) == 0) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/string.h:431, BUILDSTDERR: from fake_router26.c:3: BUILDSTDERR: /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: fake_router26.c:331:32: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 331 | else if (strncasecmp(ptr, "res", 3) == 0) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/string.h:431, BUILDSTDERR: from fake_router26.c:3: BUILDSTDERR: /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: fake_router26.c:333:32: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 333 | else if (strncasecmp(ptr, "unk", 3) == 0) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/string.h:431, BUILDSTDERR: from fake_router26.c:3: BUILDSTDERR: /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: fake_router26.c:339:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 339 | ptr = strtok(NULL, ","); BUILDSTDERR: | ^ BUILDSTDERR: fake_router26.c:382:9: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 382 | frbuf = buf; BUILDSTDERR: | ^ BUILDSTDERR: fake_router26.c:383:10: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 383 | frbuf2 = buf2; BUILDSTDERR: | ^ BUILDSTDERR: fake_router26.c:487:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 487 | if (searchlist[strlen(searchlist) - 1] == '.') BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from fake_router26.c:3: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: fake_router26.c:488:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 488 | searchlist[strlen(searchlist) - 1] = 0; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from fake_router26.c:3: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: fake_router26.c:490:26: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] BUILDSTDERR: 490 | while ((ptr = strstr(searchlist, ".,")) != NULL) { BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from fake_router26.c:3: BUILDSTDERR: /usr/include/string.h:329:14: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 329 | extern char *strstr (const char *__haystack, const char *__needle) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: fake_router26.c:490:17: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 490 | while ((ptr = strstr(searchlist, ".,")) != NULL) { BUILDSTDERR: | ^ BUILDSTDERR: fake_router26.c:491:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 491 | m = strlen(ptr); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from fake_router26.c:3: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: fake_router26.c:498:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 498 | j = strlen(searchlist); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from fake_router26.c:3: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: fake_router26.c:501:19: warning: pointer targets in passing argument 1 of 'index' differ in signedness [-Wpointer-sign] BUILDSTDERR: 501 | ptr = index(&searchlist[l], '.'); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/string.h:431, BUILDSTDERR: from fake_router26.c:3: BUILDSTDERR: /usr/include/strings.h:68:14: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 68 | extern char *index (const char *__s, int __c) BUILDSTDERR: | ^~~~~ BUILDSTDERR: fake_router26.c:501:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 501 | ptr = index(&searchlist[l], '.'); BUILDSTDERR: | ^ BUILDSTDERR: fake_router26.c:502:33: warning: pointer targets in passing argument 1 of 'index' differ in signedness [-Wpointer-sign] BUILDSTDERR: 502 | if (ptr == NULL || (index(&searchlist[l], ',') != NULL && (char*)ptr > (char*)index(&searchlist[l], ','))) { BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/string.h:431, BUILDSTDERR: from fake_router26.c:3: BUILDSTDERR: /usr/include/strings.h:68:14: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 68 | extern char *index (const char *__s, int __c) BUILDSTDERR: | ^~~~~ BUILDSTDERR: fake_router26.c:502:91: warning: pointer targets in passing argument 1 of 'index' differ in signedness [-Wpointer-sign] BUILDSTDERR: 502 | if (ptr == NULL || (index(&searchlist[l], ',') != NULL && (char*)ptr > (char*)index(&searchlist[l], ','))) { BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/string.h:431, BUILDSTDERR: from fake_router26.c:3: BUILDSTDERR: /usr/include/strings.h:68:14: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 68 | extern char *index (const char *__s, int __c) BUILDSTDERR: | ^~~~~ BUILDSTDERR: fake_router26.c:504:21: warning: pointer targets in passing argument 1 of 'index' differ in signedness [-Wpointer-sign] BUILDSTDERR: 504 | ptr = index(&searchlist[l], ','); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/string.h:431, BUILDSTDERR: from fake_router26.c:3: BUILDSTDERR: /usr/include/strings.h:68:14: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 68 | extern char *index (const char *__s, int __c) BUILDSTDERR: | ^~~~~ BUILDSTDERR: fake_router26.c:504:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 504 | ptr = index(&searchlist[l], ','); BUILDSTDERR: | ^ BUILDSTDERR: fake_router26.c:508:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 508 | n = strlen(&searchlist[l]); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from fake_router26.c:3: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: fake_router26.c:536:45: warning: pointer targets in passing argument 3 of 'thc_add_hdr_hopbyhop' differ in signedness [-Wpointer-sign] BUILDSTDERR: 536 | if (thc_add_hdr_hopbyhop(pkt, &pkt_len, frbuf2, 6) < 0) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from fake_router26.c:12: BUILDSTDERR: thc-ipv6.h:129:82: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 129 | extern int thc_add_hdr_hopbyhop(unsigned char *pkt, int *pkt_len, unsigned char *buf, int buflen); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: fake_router26.c:549:40: warning: pointer targets in passing argument 3 of 'thc_add_hdr_dst' differ in signedness [-Wpointer-sign] BUILDSTDERR: 549 | if (thc_add_hdr_dst(pkt, &pkt_len, buf3, sizeof(buf3)) < 0) BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from fake_router26.c:12: BUILDSTDERR: thc-ipv6.h:128:77: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 128 | extern int thc_add_hdr_dst(unsigned char *pkt, int *pkt_len, unsigned char *buf, int buflen); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: fake_router26.c:560:37: warning: pointer targets in passing argument 2 of 'thc_pcap_init' differ in signedness [-Wpointer-sign] BUILDSTDERR: 560 | if ((p = thc_pcap_init(interface, string)) == NULL) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from fake_router26.c:12: BUILDSTDERR: thc-ipv6.h:94:16: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 94 | extern pcap_t *thc_pcap_init(char *interface, char *capture); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: flood_router26.c: In function 'main': BUILDSTDERR: flood_router26.c:38:25: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 38 | unsigned char *mac6 = mac, *ip6; BUILDSTDERR: | ^~~ BUILDSTDERR: flood_router26.c:43:20: warning: variable 'rawmode' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 43 | int pkt_len = 0, rawmode = 0, count = 0, deanon = 0, do_alert = 0, do_hop = 0, do_frag = 0, do_dst = 0, bsize = -1, do_dhcp = 0, do_full = 0; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: passive_discovery6.c: In function 'detect': BUILDSTDERR: passive_discovery6.c:35:15: warning: pointer targets in initialization of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 35 | char *ptr = data, *ptr2; BUILDSTDERR: | ^~~~ BUILDSTDERR: passive_discovery6.c:41:19: warning: pointer targets in passing argument 1 of 'thc_dump_data' differ in signedness [-Wpointer-sign] BUILDSTDERR: 41 | thc_dump_data(ptr, 8, "packet"); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from passive_discovery6.c:11: BUILDSTDERR: thc-ipv6.h:147:42: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 147 | extern void thc_dump_data(unsigned char *buf, int len, char *text); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: passive_discovery6.c:84:34: warning: pointer targets in passing argument 1 of 'thc_ipv62notation' differ in signedness [-Wpointer-sign] BUILDSTDERR: 84 | ptr2 = thc_ipv62notation((char *) (ptr + offset)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from passive_discovery6.c:11: BUILDSTDERR: thc-ipv6.h:151:23: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 151 | extern unsigned char *thc_ipv62notation(unsigned char *string); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: passive_discovery6.c:84:14: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 84 | ptr2 = thc_ipv62notation((char *) (ptr + offset)); BUILDSTDERR: | ^ BUILDSTDERR: passive_discovery6.c: In function 'main': BUILDSTDERR: passive_discovery6.c:136:15: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 136 | replace = thc_resolve6(optarg); BUILDSTDERR: | ^ BUILDSTDERR: passive_discovery6.c:155:8: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 155 | glob = thc_get_own_ipv6(interface, NULL, PREFER_GLOBAL); BUILDSTDERR: | ^ BUILDSTDERR: passive_discovery6.c:156:6: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 156 | ll = thc_get_own_ipv6(interface, NULL, PREFER_LINK); BUILDSTDERR: | ^ BUILDSTDERR: fragmentation6.c:848:10: warning: 'tos' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 848 | if ((pkt3 = thc_create_ipv6_extended(interface, PREFER_GLOBAL, &pkt_len3, src6, dst6, 64, 0, count, ++tos, 0)) == NULL) BUILDSTDERR: | ^ BUILDSTDERR: dnsrevenum6.c: In function 'deeper': BUILDSTDERR: dnsrevenum6.c:193:26: warning: pointer targets in passing argument 1 of 'dnssocket' differ in signedness [-Wpointer-sign] BUILDSTDERR: 193 | sock = dnssocket(dst); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: dnsrevenum6.c:41:21: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 41 | int dnssocket(char *server) { BUILDSTDERR: | ~~~~~~^~~~~~ BUILDSTDERR: dnsrevenum6.c:204:20: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 204 | strcpy(name, "Found: "); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from dnsrevenum6.c:18: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: dnsrevenum6.c:216:20: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 216 | strcat(name, foo); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from dnsrevenum6.c:18: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: dnsrevenum6.c:216:26: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 216 | strcat(name, foo); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from dnsrevenum6.c:18: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: dnsrevenum6.c:218:20: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 218 | strcat(name, " is "); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from dnsrevenum6.c:18: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: dnsrevenum6.c:224:61: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 224 | strncat(name, ptr2 + 1, sizeof(name) - strlen(name) - 4); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from dnsrevenum6.c:21: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: dnsrevenum6.c:224:23: warning: pointer targets in passing argument 1 of 'strncat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 224 | strncat(name, ptr2 + 1, sizeof(name) - strlen(name) - 4); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from dnsrevenum6.c:18: BUILDSTDERR: /usr/include/bits/string_fortified.h:133:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 133 | __NTH (strncat (char *__restrict __dest, const char *__restrict __src, BUILDSTDERR: | ^~~~~ BUILDSTDERR: dnsrevenum6.c:224:34: warning: pointer targets in passing argument 2 of 'strncat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 224 | strncat(name, ptr2 + 1, sizeof(name) - strlen(name) - 4); BUILDSTDERR: | ~~~~~^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from dnsrevenum6.c:18: BUILDSTDERR: /usr/include/bits/string_fortified.h:133:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 133 | __NTH (strncat (char *__restrict __dest, const char *__restrict __src, BUILDSTDERR: | ^~~~~ BUILDSTDERR: dnsrevenum6.c:225:22: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 225 | strcat(name, "."); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from dnsrevenum6.c:18: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: dnsrevenum6.c:230:22: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 230 | strcat(name, " is "); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from dnsrevenum6.c:18: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: dnsrevenum6.c:236:63: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 236 | strncat(name, ptr2 + 1, sizeof(name) - strlen(name) - 4); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from dnsrevenum6.c:21: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: dnsrevenum6.c:236:25: warning: pointer targets in passing argument 1 of 'strncat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 236 | strncat(name, ptr2 + 1, sizeof(name) - strlen(name) - 4); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from dnsrevenum6.c:18: BUILDSTDERR: /usr/include/bits/string_fortified.h:133:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 133 | __NTH (strncat (char *__restrict __dest, const char *__restrict __src, BUILDSTDERR: | ^~~~~ BUILDSTDERR: dnsrevenum6.c:236:36: warning: pointer targets in passing argument 2 of 'strncat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 236 | strncat(name, ptr2 + 1, sizeof(name) - strlen(name) - 4); BUILDSTDERR: | ~~~~~^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from dnsrevenum6.c:18: BUILDSTDERR: /usr/include/bits/string_fortified.h:133:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 133 | __NTH (strncat (char *__restrict __dest, const char *__restrict __src, BUILDSTDERR: | ^~~~~ BUILDSTDERR: dnsrevenum6.c:237:24: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 237 | strcat(name, "."); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from dnsrevenum6.c:18: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: dnsrevenum6.c:278:22: warning: pointer targets in passing argument 1 of 'dnssocket' differ in signedness [-Wpointer-sign] BUILDSTDERR: 278 | sock = dnssocket(dst); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: dnsrevenum6.c:41:21: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 41 | int dnssocket(char *server) { BUILDSTDERR: | ~~~~~~^~~~~~ BUILDSTDERR: dnsrevenum6.c: In function 'main': BUILDSTDERR: dnsrevenum6.c:291:7: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 291 | prg = argv[0]; BUILDSTDERR: | ^ BUILDSTDERR: dnsrevenum6.c:317:7: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 317 | dst = argv[1]; BUILDSTDERR: | ^ BUILDSTDERR: dnsrevenum6.c:318:7: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 318 | ptr = argv[2]; BUILDSTDERR: | ^ BUILDSTDERR: dnsrevenum6.c:329:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 329 | for (i = strlen(ptr) - 1; i >= 0 && ok == 1; i--) { BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from dnsrevenum6.c:21: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: dnsrevenum6.c:342:20: warning: pointer targets in passing argument 1 of 'index' differ in signedness [-Wpointer-sign] BUILDSTDERR: 342 | } else if (index(ptr, ':') != NULL && (ptr2 = index(ptr, '/')) != NULL) { BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/string.h:431, BUILDSTDERR: from dnsrevenum6.c:21: BUILDSTDERR: /usr/include/strings.h:68:14: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 68 | extern char *index (const char *__s, int __c) BUILDSTDERR: | ^~~~~ BUILDSTDERR: dnsrevenum6.c:342:55: warning: pointer targets in passing argument 1 of 'index' differ in signedness [-Wpointer-sign] BUILDSTDERR: 342 | } else if (index(ptr, ':') != NULL && (ptr2 = index(ptr, '/')) != NULL) { BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/string.h:431, BUILDSTDERR: from dnsrevenum6.c:21: BUILDSTDERR: /usr/include/strings.h:68:14: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 68 | extern char *index (const char *__s, int __c) BUILDSTDERR: | ^~~~~ BUILDSTDERR: dnsrevenum6.c:342:47: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 342 | } else if (index(ptr, ':') != NULL && (ptr2 = index(ptr, '/')) != NULL) { BUILDSTDERR: | ^ BUILDSTDERR: dnsrevenum6.c:344:16: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] BUILDSTDERR: 344 | len = atoi(ptr2); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from dnsrevenum6.c:18: BUILDSTDERR: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 361 | __NTH (atoi (const char *__nptr)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: dnsrevenum6.c:355:30: warning: pointer targets in passing argument 1 of 'thc_resolve6' differ in signedness [-Wpointer-sign] BUILDSTDERR: 355 | if ((dest = thc_resolve6(ptr)) == NULL) { BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from dnsrevenum6.c:33: BUILDSTDERR: thc-ipv6.h:99:23: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 99 | extern unsigned char *thc_resolve6(char *target); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: dnsrevenum6.c:379:18: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 379 | strcpy(buf_end + 1, "ip6"); BUILDSTDERR: | ~~~~~~~~^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from dnsrevenum6.c:18: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: dnsrevenum6.c:381:18: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 381 | strcpy(buf_end + 5, "arpa"); BUILDSTDERR: | ~~~~~~~~^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from dnsrevenum6.c:18: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: dnsrevenum6.c:391:20: warning: pointer targets in passing argument 1 of 'dnssocket' differ in signedness [-Wpointer-sign] BUILDSTDERR: 391 | sock = dnssocket(dst); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: dnsrevenum6.c:41:21: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 41 | int dnssocket(char *server) { BUILDSTDERR: | ~~~~~~^~~~~~ BUILDSTDERR: dnsrevenum6.c:403:26: warning: pointer targets in passing argument 1 of 'dnssocket' differ in signedness [-Wpointer-sign] BUILDSTDERR: 403 | sock = dnssocket(dst); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: dnsrevenum6.c:41:21: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 41 | int dnssocket(char *server) { BUILDSTDERR: | ~~~~~~^~~~~~ BUILDSTDERR: inverse_lookup6.c: In function 'check_packets': BUILDSTDERR: inverse_lookup6.c:48:113: warning: pointer targets in passing argument 1 of 'thc_ipv62notation' differ in signedness [-Wpointer-sign] BUILDSTDERR: 48 | printf("Empty Inverse Neighbor Discovery message received by %s for %s\n", thc_ipv62notation((char *) ptr + 8), mac); BUILDSTDERR: | ~~~~~~~~~~~~~^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from inverse_lookup6.c:11: BUILDSTDERR: thc-ipv6.h:151:23: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 151 | extern unsigned char *thc_ipv62notation(unsigned char *string); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: inverse_lookup6.c:55:135: warning: pointer targets in passing argument 1 of 'thc_ipv62notation' differ in signedness [-Wpointer-sign] BUILDSTDERR: 55 | printf("Inverse Advertisement Discovery message received by %s for %s (%d entries):\n", thc_ipv62notation((char *) orig_ptr + 8), mac, j); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from inverse_lookup6.c:11: BUILDSTDERR: thc-ipv6.h:151:23: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 151 | extern unsigned char *thc_ipv62notation(unsigned char *string); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: inverse_lookup6.c:58:67: warning: pointer targets in passing argument 1 of 'thc_ipv62notation' differ in signedness [-Wpointer-sign] BUILDSTDERR: 58 | printf(" %s\n", thc_ipv62notation((char *) ptr + 7 + i * 16)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from inverse_lookup6.c:11: BUILDSTDERR: thc-ipv6.h:151:23: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 151 | extern unsigned char *thc_ipv62notation(unsigned char *string); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: inverse_lookup6.c: In function 'main': BUILDSTDERR: inverse_lookup6.c:87:7: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 87 | mac = argv[2]; BUILDSTDERR: | ^ BUILDSTDERR: node_query6.c: In function 'dump_node_reply': BUILDSTDERR: node_query6.c:67:46: warning: pointer targets in passing argument 1 of 'thc_ipv62notation' differ in signedness [-Wpointer-sign] BUILDSTDERR: 67 | printf(" %s\n", thc_ipv62notation((char *) (ipv6hdr+ i))); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from node_query6.c:11: BUILDSTDERR: thc-ipv6.h:151:23: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 151 | extern unsigned char *thc_ipv62notation(unsigned char *string); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: node_query6.c: In function 'main': BUILDSTDERR: node_query6.c:102:25: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 102 | unsigned char *mac6 = mac; BUILDSTDERR: | ^~~ BUILDSTDERR: node_query6.c:108:7: warning: variable 'rawmode' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 108 | int rawmode = 0; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: dnsrevenum6.c: In function 'deeper': BUILDSTDERR: dnsrevenum6.c:211:57: warning: 'j' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 211 | dst6[15 - i/2] = (tochar(ptr2[1]) * 16) + j; BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: node_query6.c:136:7: warning: 'cnt' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 136 | cnt += getpid(); BUILDSTDERR: | ^~ BUILDSTDERR: address6.c: In function 'main': BUILDSTDERR: address6.c:35:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 35 | if ((dst6 = index(argv[1], '/')) != NULL) BUILDSTDERR: | ^ BUILDSTDERR: address6.c:43:44: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] BUILDSTDERR: 43 | if (dst6[8] + dst6[9] == 0 && dst6[10] == 0xff & dst6[11] == 0xff) { BUILDSTDERR: | ~~~~~~~~~^~~~~~~ BUILDSTDERR: address6.c:53:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: 53 | sprintf(ipv4, "%d.%d.%d.%d", dst6[9], dst6[11], dst6[13], dst6[15]); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from address6.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: address6.c:54:23: warning: pointer targets in passing argument 1 of 'inet_aton' differ in signedness [-Wpointer-sign] BUILDSTDERR: 54 | if (inet_aton(ipv4, &in) != 0) { BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from address6.c:11: BUILDSTDERR: /usr/include/arpa/inet.h:73:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 73 | extern int inet_aton (const char *__cp, struct in_addr *__inp) __THROW; BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: address6.c:61:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: 61 | sprintf(ipv4, "%d.%d.%d.%d", dst6[12], dst6[13], dst6[14], dst6[15]); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from address6.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: address6.c:62:21: warning: pointer targets in passing argument 1 of 'inet_aton' differ in signedness [-Wpointer-sign] BUILDSTDERR: 62 | if (inet_aton(ipv4, &in) != 0) { BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from address6.c:11: BUILDSTDERR: /usr/include/arpa/inet.h:73:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 73 | extern int inet_aton (const char *__cp, struct in_addr *__inp) __THROW; BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: address6.c:72:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 72 | for (i = 0; i < strlen(ptr); i++) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from address6.c:3: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: address6.c:78:29: warning: pointer targets in passing argument 1 of 'inet_aton' differ in signedness [-Wpointer-sign] BUILDSTDERR: 78 | if (j == 0 && inet_aton(ptr, &in) != 0) { BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from address6.c:11: BUILDSTDERR: /usr/include/arpa/inet.h:73:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 73 | extern int inet_aton (const char *__cp, struct in_addr *__inp) __THROW; BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: address6.c:80:30: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | for (i = 0; i < strlen(ptr); i++) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from address6.c:3: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: address6.c:98:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 98 | if ((ptr = index(argv[2], '/')) != NULL) BUILDSTDERR: | ^ BUILDSTDERR: address6.c:108:9: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 108 | ptr = argv[1]; BUILDSTDERR: | ^ BUILDSTDERR: address6.c:110:25: warning: pointer targets in passing argument 1 of 'index' differ in signedness [-Wpointer-sign] BUILDSTDERR: 110 | if ((dst6 = index(ptr, '.')) != NULL) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/string.h:431, BUILDSTDERR: from address6.c:3: BUILDSTDERR: /usr/include/strings.h:68:14: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 68 | extern char *index (const char *__s, int __c) BUILDSTDERR: | ^~~~~ BUILDSTDERR: address6.c:110:17: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 110 | if ((dst6 = index(ptr, '.')) != NULL) BUILDSTDERR: | ^ BUILDSTDERR: address6.c:112:22: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] BUILDSTDERR: 112 | ipv4[i] = atoi(ptr); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from address6.c:1: BUILDSTDERR: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 361 | __NTH (atoi (const char *__nptr)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: address6.c:142:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: 142 | sprintf(ipv6, "::%d:%d:%d:%d", ipv4[0], ipv4[1], ipv4[2], ipv4[3]); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from address6.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: address6.c:143:29: warning: pointer targets in passing argument 1 of 'thc_resolve6' differ in signedness [-Wpointer-sign] BUILDSTDERR: 143 | dst6 = thc_resolve6(ipv6); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from address6.c:13: BUILDSTDERR: thc-ipv6.h:99:23: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 99 | extern unsigned char *thc_resolve6(char *target); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: address6.c:151:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: 151 | sprintf(ipv6, "::%d", ipv4[3]); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from address6.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: address6.c:152:29: warning: pointer targets in passing argument 1 of 'thc_resolve6' differ in signedness [-Wpointer-sign] BUILDSTDERR: 152 | dst6 = thc_resolve6(ipv6); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from address6.c:13: BUILDSTDERR: thc-ipv6.h:99:23: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 99 | extern unsigned char *thc_resolve6(char *target); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: covert_send6.c: In function 'main': BUILDSTDERR: covert_send6.c:47:7: warning: variable 'rawmode' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 47 | int rawmode = 0, tcp_port = -1; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: firewall6.c: In function 'main': BUILDSTDERR: firewall6.c:239:10: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 239 | strcat(string, thc_ipv62notation(src)); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from firewall6.c:6: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: firewall6.c:239:18: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 239 | strcat(string, thc_ipv62notation(src)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from firewall6.c:6: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: firewall6.c:242:37: warning: pointer targets in passing argument 2 of 'thc_pcap_init' differ in signedness [-Wpointer-sign] BUILDSTDERR: 242 | if ((p = thc_pcap_init(interface, string)) == NULL) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from firewall6.c:16: BUILDSTDERR: thc-ipv6.h:94:16: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 94 | extern pcap_t *thc_pcap_init(char *interface, char *capture); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: firewall6.c:286:106: warning: pointer targets in passing argument 12 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 286 | if (thc_add_tcp(pkt, &pkt_len, sport + count, port, sport + count, 0, TCP_SYN, 0x3840, 0, NULL, 0, buf, 1000) == -1) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from firewall6.c:16: BUILDSTDERR: thc-ipv6.h:133:262: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 133 | extern int thc_add_tcp(unsigned char *pkt, int *pkt_len, unsigned short int sport, unsigned short int dport, unsigned int sequence, unsigned int ack, unsigned char flags, unsigned short int window, unsigned short int urgent, char *option, int option_len, char *data, int data_len); BUILDSTDERR: | ~~~~~~^~~~ BUILDSTDERR: firewall6.c:289:62: warning: pointer targets in passing argument 6 of 'thc_add_udp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 289 | if (thc_add_udp(pkt, &pkt_len, sport + count, port, 0, buf, 1000) == -1) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from firewall6.c:16: BUILDSTDERR: thc-ipv6.h:134:139: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 134 | extern int thc_add_udp(unsigned char *pkt, int *pkt_len, unsigned short int sport, unsigned short int dport, unsigned int checksum, char *data, int data_len); BUILDSTDERR: | ~~~~~~^~~~ BUILDSTDERR: inject_alive6.c: In function 'main': BUILDSTDERR: inject_alive6.c:148:47: warning: pointer targets in passing argument 2 of 'thc_pcap_init_promisc' differ in signedness [-Wpointer-sign] BUILDSTDERR: 148 | if ((p = thc_pcap_init_promisc(interface, "it does not matter what we put here")) == NULL) { BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from inject_alive6.c:12: BUILDSTDERR: thc-ipv6.h:95:16: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 95 | extern pcap_t *thc_pcap_init_promisc(char *interface, unsigned char *capture); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: inject_alive6.c:159:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 159 | hdr.pkt = sndbuf; BUILDSTDERR: | ^ BUILDSTDERR: firewall6.c:934:106: warning: pointer targets in passing argument 12 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 934 | if (thc_add_tcp(pkt, &pkt_len, sport + count, port, sport + count, 0, TCP_SYN, 0x3840, 0, NULL, 0, buf, 2500) == -1) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from firewall6.c:16: BUILDSTDERR: thc-ipv6.h:133:262: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 133 | extern int thc_add_tcp(unsigned char *pkt, int *pkt_len, unsigned short int sport, unsigned short int dport, unsigned int sequence, unsigned int ack, unsigned char flags, unsigned short int window, unsigned short int urgent, char *option, int option_len, char *data, int data_len); BUILDSTDERR: | ~~~~~~^~~~ BUILDSTDERR: firewall6.c:937:62: warning: pointer targets in passing argument 6 of 'thc_add_udp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 937 | if (thc_add_udp(pkt, &pkt_len, sport + count, port, 0, buf, 2500) == -1) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from firewall6.c:16: BUILDSTDERR: thc-ipv6.h:134:139: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 134 | extern int thc_add_udp(unsigned char *pkt, int *pkt_len, unsigned short int sport, unsigned short int dport, unsigned int checksum, char *data, int data_len); BUILDSTDERR: | ~~~~~~^~~~ BUILDSTDERR: firewall6.c:989:106: warning: pointer targets in passing argument 12 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 989 | if (thc_add_tcp(pkt, &pkt_len, sport + count, port, sport + count, 0, TCP_SYN, 0x3840, 0, NULL, 0, buf, 2500) == -1) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from firewall6.c:16: BUILDSTDERR: thc-ipv6.h:133:262: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 133 | extern int thc_add_tcp(unsigned char *pkt, int *pkt_len, unsigned short int sport, unsigned short int dport, unsigned int sequence, unsigned int ack, unsigned char flags, unsigned short int window, unsigned short int urgent, char *option, int option_len, char *data, int data_len); BUILDSTDERR: | ~~~~~~^~~~ BUILDSTDERR: firewall6.c:992:62: warning: pointer targets in passing argument 6 of 'thc_add_udp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 992 | if (thc_add_udp(pkt, &pkt_len, sport + count, port, 0, buf, 2500) == -1) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from firewall6.c:16: BUILDSTDERR: thc-ipv6.h:134:139: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 134 | extern int thc_add_udp(unsigned char *pkt, int *pkt_len, unsigned short int sport, unsigned short int dport, unsigned int checksum, char *data, int data_len); BUILDSTDERR: | ~~~~~~^~~~ ash-protection -D_HAVE_SSL -o fake_router26 fake_router26.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o flood_router26 flood_router26.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o passive_discovery6 passive_discovery6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o dnsrevenum6 dnsrevenum6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o inverse_lookup6 inverse_lookup6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o node_query6 node_query6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o address6 address6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o covert_send6 covert_send6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o covert_send6d covert_send6d.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o inject_alive6 inject_alive6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o firewall6 firewall6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto BUILDSTDERR: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-sfirewall6.c:1044:106: warning: pointer targets in passing argument 12 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1044 | if (thc_add_tcp(pkt, &pkt_len, sport + count, port, sport + count, 0, TCP_SYN, 0x3840, 0, NULL, 0, buf, 2500) == -1) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from firewall6.c:16: BUILDSTDERR: thc-ipv6.h:133:262: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 133 | extern int thc_add_tcp(unsigned char *pkt, int *pkt_len, unsigned short int sport, unsigned short int dport, unsigned int sequence, unsigned int ack, unsigned char flags, unsigned short int window, unsigned short int urgent, char *option, int option_len, char *data, int data_len); BUILDSTDERR: | ~~~~~~^~~~ BUILDSTDERR: firewall6.c:1047:62: warning: pointer targets in passing argument 6 of 'thc_add_udp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1047 | if (thc_add_udp(pkt, &pkt_len, sport + count, port, 0, buf, 2500) == -1) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from firewall6.c:16: BUILDSTDERR: thc-ipv6.h:134:139: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 134 | extern int thc_add_udp(unsigned char *pkt, int *pkt_len, unsigned short int sport, unsigned short int dport, unsigned int checksum, char *data, int data_len); BUILDSTDERR: | ~~~~~~^~~~ BUILDSTDERR: firewall6.c:1142:106: warning: pointer targets in passing argument 12 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1142 | if (thc_add_tcp(pkt, &pkt_len, sport + count, port, sport + count, 0, TCP_SYN, 0x3840, 0, NULL, 0, buf, 2500) == -1) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from firewall6.c:16: BUILDSTDERR: thc-ipv6.h:133:262: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 133 | extern int thc_add_tcp(unsigned char *pkt, int *pkt_len, unsigned short int sport, unsigned short int dport, unsigned int sequence, unsigned int ack, unsigned char flags, unsigned short int window, unsigned short int urgent, char *option, int option_len, char *data, int data_len); BUILDSTDERR: | ~~~~~~^~~~ BUILDSTDERR: firewall6.c:1145:62: warning: pointer targets in passing argument 6 of 'thc_add_udp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1145 | if (thc_add_udp(pkt, &pkt_len, sport + count, port, 0, buf, 2500) == -1) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from firewall6.c:16: BUILDSTDERR: thc-ipv6.h:134:139: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 134 | extern int thc_add_udp(unsigned char *pkt, int *pkt_len, unsigned short int sport, unsigned short int dport, unsigned int checksum, char *data, int data_len); BUILDSTDERR: | ~~~~~~^~~~ BUILDSTDERR: firewall6.c:1197:106: warning: pointer targets in passing argument 12 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1197 | if (thc_add_tcp(pkt, &pkt_len, sport + count, port, sport + count, 0, TCP_SYN, 0x3840, 0, NULL, 0, buf, 2500) == -1) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from firewall6.c:16: BUILDSTDERR: thc-ipv6.h:133:262: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 133 | extern int thc_add_tcp(unsigned char *pkt, int *pkt_len, unsigned short int sport, unsigned short int dport, unsigned int sequence, unsigned int ack, unsigned char flags, unsigned short int window, unsigned short int urgent, char *option, int option_len, char *data, int data_len); BUILDSTDERR: | ~~~~~~^~~~ BUILDSTDERR: firewall6.c:1200:62: warning: pointer targets in passing argument 6 of 'thc_add_udp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1200 | if (thc_add_udp(pkt, &pkt_len, sport + count, port, 0, buf, 2500) == -1) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from firewall6.c:16: BUILDSTDERR: thc-ipv6.h:134:139: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 134 | extern int thc_add_udp(unsigned char *pkt, int *pkt_len, unsigned short int sport, unsigned short int dport, unsigned int checksum, char *data, int data_len); BUILDSTDERR: | ~~~~~~^~~~ BUILDSTDERR: firewall6.c:1252:106: warning: pointer targets in passing argument 12 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1252 | if (thc_add_tcp(pkt, &pkt_len, sport + count, port, sport + count, 0, TCP_SYN, 0x3840, 0, NULL, 0, buf, 2500) == -1) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from firewall6.c:16: BUILDSTDERR: thc-ipv6.h:133:262: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 133 | extern int thc_add_tcp(unsigned char *pkt, int *pkt_len, unsigned short int sport, unsigned short int dport, unsigned int sequence, unsigned int ack, unsigned char flags, unsigned short int window, unsigned short int urgent, char *option, int option_len, char *data, int data_len); BUILDSTDERR: | ~~~~~~^~~~ BUILDSTDERR: firewall6.c:1255:62: warning: pointer targets in passing argument 6 of 'thc_add_udp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1255 | if (thc_add_udp(pkt, &pkt_len, sport + count, port, 0, buf, 2500) == -1) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from firewall6.c:16: BUILDSTDERR: thc-ipv6.h:134:139: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 134 | extern int thc_add_udp(unsigned char *pkt, int *pkt_len, unsigned short int sport, unsigned short int dport, unsigned int checksum, char *data, int data_len); BUILDSTDERR: | ~~~~~~^~~~ BUILDSTDERR: firewall6.c:1307:106: warning: pointer targets in passing argument 12 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1307 | if (thc_add_tcp(pkt, &pkt_len, sport + count, port, sport + count, 0, TCP_SYN, 0x3840, 0, NULL, 0, buf, 2500) == -1) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from firewall6.c:16: BUILDSTDERR: thc-ipv6.h:133:262: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 133 | extern int thc_add_tcp(unsigned char *pkt, int *pkt_len, unsigned short int sport, unsigned short int dport, unsigned int sequence, unsigned int ack, unsigned char flags, unsigned short int window, unsigned short int urgent, char *option, int option_len, char *data, int data_len); BUILDSTDERR: | ~~~~~~^~~~ BUILDSTDERR: firewall6.c:1310:62: warning: pointer targets in passing argument 6 of 'thc_add_udp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1310 | if (thc_add_udp(pkt, &pkt_len, sport + count, port, 0, buf, 2500) == -1) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from firewall6.c:16: BUILDSTDERR: thc-ipv6.h:134:139: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 134 | extern int thc_add_udp(unsigned char *pkt, int *pkt_len, unsigned short int sport, unsigned short int dport, unsigned int checksum, char *data, int data_len); BUILDSTDERR: | ~~~~~~^~~~ BUILDSTDERR: firewall6.c:1340:106: warning: pointer targets in passing argument 12 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1340 | if (thc_add_tcp(pkt, &pkt_len, sport + count, port, sport + count, 0, TCP_SYN, 0x3840, 0, NULL, 0, buf, 0) == -1) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from firewall6.c:16: BUILDSTDERR: thc-ipv6.h:133:262: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 133 | extern int thc_add_tcp(unsigned char *pkt, int *pkt_len, unsigned short int sport, unsigned short int dport, unsigned int sequence, unsigned int ack, unsigned char flags, unsigned short int window, unsigned short int urgent, char *option, int option_len, char *data, int data_len); BUILDSTDERR: | ~~~~~~^~~~ BUILDSTDERR: firewall6.c:1343:62: warning: pointer targets in passing argument 6 of 'thc_add_udp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1343 | if (thc_add_udp(pkt, &pkt_len, sport + count, port, 0, buf, 0) == -1) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from firewall6.c:16: BUILDSTDERR: thc-ipv6.h:134:139: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 134 | extern int thc_add_udp(unsigned char *pkt, int *pkt_len, unsigned short int sport, unsigned short int dport, unsigned int checksum, char *data, int data_len); BUILDSTDERR: | ~~~~~~^~~~ BUILDSTDERR: firewall6.c:1416:106: warning: pointer targets in passing argument 12 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1416 | if (thc_add_tcp(pkt, &pkt_len, sport + count, port, sport + count, 0, TCP_SYN, 0x3840, 0, NULL, 0, buf, 0) == -1) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from firewall6.c:16: BUILDSTDERR: thc-ipv6.h:133:262: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 133 | extern int thc_add_tcp(unsigned char *pkt, int *pkt_len, unsigned short int sport, unsigned short int dport, unsigned int sequence, unsigned int ack, unsigned char flags, unsigned short int window, unsigned short int urgent, char *option, int option_len, char *data, int data_len); BUILDSTDERR: | ~~~~~~^~~~ BUILDSTDERR: firewall6.c:1419:62: warning: pointer targets in passing argument 6 of 'thc_add_udp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1419 | if (thc_add_udp(pkt, &pkt_len, sport + count, port, 0, buf, 0) == -1) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from firewall6.c:16: BUILDSTDERR: thc-ipv6.h:134:139: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 134 | extern int thc_add_udp(unsigned char *pkt, int *pkt_len, unsigned short int sport, unsigned short int dport, unsigned int checksum, char *data, int data_len); BUILDSTDERR: | ~~~~~~^~~~ BUILDSTDERR: firewall6.c:1492:106: warning: pointer targets in passing argument 12 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1492 | if (thc_add_tcp(pkt, &pkt_len, sport + count, port, sport + count, 0, TCP_SYN, 0x3840, 0, NULL, 0, buf, 40) == -1) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from firewall6.c:16: BUILDSTDERR: thc-ipv6.h:133:262: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 133 | extern int thc_add_tcp(unsigned char *pkt, int *pkt_len, unsigned short int sport, unsigned short int dport, unsigned int sequence, unsigned int ack, unsigned char flags, unsigned short int window, unsigned short int urgent, char *option, int option_len, char *data, int data_len); BUILDSTDERR: | ~~~~~~^~~~ BUILDSTDERR: firewall6.c:1495:62: warning: pointer targets in passing argument 6 of 'thc_add_udp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1495 | if (thc_add_udp(pkt, &pkt_len, sport + count, port, 0, buf, 40) == -1) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from firewall6.c:16: BUILDSTDERR: thc-ipv6.h:134:139: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 134 | extern int thc_add_udp(unsigned char *pkt, int *pkt_len, unsigned short int sport, unsigned short int dport, unsigned int checksum, char *data, int data_len); BUILDSTDERR: | ~~~~~~^~~~ BUILDSTDERR: firewall6.c:1693:128: warning: pointer targets in passing argument 12 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1693 | if (thc_add_tcp(pkt, &pkt_len, sport + count, port, sport + count, 0, TCP_SYN, 0x3840, 0, NULL, 0, hdr->pkt + hdr->pkt_len - 12, 12) == -1) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from firewall6.c:16: BUILDSTDERR: thc-ipv6.h:133:262: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 133 | extern int thc_add_tcp(unsigned char *pkt, int *pkt_len, unsigned short int sport, unsigned short int dport, unsigned int sequence, unsigned int ack, unsigned char flags, unsigned short int window, unsigned short int urgent, char *option, int option_len, char *data, int data_len); BUILDSTDERR: | ~~~~~~^~~~ BUILDSTDERR: firewall6.c:1724:104: warning: pointer targets in passing argument 12 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1724 | if (thc_add_tcp(pkt, &pkt_len, sports[i], port, sport + count, 0, TCP_SYN, 0x3840, 0, NULL, 0, buf, 0) == -1) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from firewall6.c:16: BUILDSTDERR: thc-ipv6.h:133:262: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 133 | extern int thc_add_tcp(unsigned char *pkt, int *pkt_len, unsigned short int sport, unsigned short int dport, unsigned int sequence, unsigned int ack, unsigned char flags, unsigned short int window, unsigned short int urgent, char *option, int option_len, char *data, int data_len); BUILDSTDERR: | ~~~~~~^~~~ BUILDSTDERR: firewall6.c:1744:61: warning: pointer targets in passing argument 6 of 'thc_add_udp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1744 | if (thc_add_udp(pkt, &pkt_len, sports2[i], port, 0, buf, 1000) == -1) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from firewall6.c:16: BUILDSTDERR: thc-ipv6.h:134:139: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 134 | extern int thc_add_udp(unsigned char *pkt, int *pkt_len, unsigned short int sport, unsigned short int dport, unsigned int checksum, char *data, int data_len); BUILDSTDERR: | ~~~~~~^~~~ BUILDSTDERR: ndpexhaust26.c: In function 'main': BUILDSTDERR: ndpexhaust26.c:152:45: warning: pointer targets in passing argument 3 of 'thc_add_hdr_hopbyhop' differ in signedness [-Wpointer-sign] BUILDSTDERR: 152 | if (thc_add_hdr_hopbyhop(pkt, &pkt_len, buf2, 6) < 0) BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from ndpexhaust26.c:11: BUILDSTDERR: thc-ipv6.h:129:82: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 129 | extern int thc_add_hdr_hopbyhop(unsigned char *pkt, int *pkt_len, unsigned char *buf, int buflen); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: thcsyn6.c: In function 'main': BUILDSTDERR: thcsyn6.c:172:47: warning: pointer targets in passing argument 3 of 'thc_add_hdr_hopbyhop' differ in signedness [-Wpointer-sign] BUILDSTDERR: 172 | if (thc_add_hdr_hopbyhop(pkt, &pkt_len, buf2, 6) < 0) BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from thcsyn6.c:11: BUILDSTDERR: thc-ipv6.h:129:82: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 129 | extern int thc_add_hdr_hopbyhop(unsigned char *pkt, int *pkt_len, unsigned char *buf, int buflen); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: thcsyn6.c:180:44: warning: pointer targets in passing argument 3 of 'thc_add_hdr_dst' differ in signedness [-Wpointer-sign] BUILDSTDERR: 180 | if (thc_add_hdr_dst(pkt, &pkt_len, buf2, 6) < 0) BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from thcsyn6.c:11: BUILDSTDERR: thc-ipv6.h:128:77: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 128 | extern int thc_add_hdr_dst(unsigned char *pkt, int *pkt_len, unsigned char *buf, int buflen); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: thcsyn6.c:38:91: warning: variable 'dont_crc' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 38 | int i, type = TCP_SYN, alert = 0, randsrc = 0, randdst = 0, randsrcp = 1, randdstp = 0, dont_crc = 0, seq, do_dst = 0, do_frag = 0, fastopen = 0, olen = 0; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: thcsyn6.c:191:9: warning: 'port' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 191 | if (thc_add_tcp(pkt, &pkt_len, sport, port, seq, 0, type, 0x3840, 0, buf3, olen, NULL, 0) < 0) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: thcsyn6.c:191:9: warning: 'sport' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: redirsniff6.c: In function 'intercept': BUILDSTDERR: redirsniff6.c:60:7: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 60 | ptr = thc_ipv62notation((unsigned char*)data + 14 + 8); BUILDSTDERR: | ^ BUILDSTDERR: redirsniff6.c:61:8: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 61 | ptr2 = thc_ipv62notation((unsigned char*)data + 14 + 8 + 16); BUILDSTDERR: | ^ BUILDSTDERR: redirsniff6.c: In function 'main': BUILDSTDERR: redirsniff6.c:131:20: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 131 | strcat(string, thc_ipv62notation(src6)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from redirsniff6.c:1: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: redirsniff6.c:135:20: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 135 | strcat(string, thc_ipv62notation(dest6)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from redirsniff6.c:1: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: redirsniff6.c:68:20: warning: variable 'offset' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 68 | int rawmode = 0, offset = 14; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: redirsniff6.c:68:7: warning: variable 'rawmode' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 68 | int rawmode = 0, offset = 14; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: flood_redir6.c: In function 'main': BUILDSTDERR: flood_redir6.c:25:25: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 25 | unsigned char *mac6 = mac; BUILDSTDERR: | ^~~ BUILDSTDERR: flood_redir6.c:30:34: warning: unused variable 'rawmode' [-Wunused-variable] BUILDSTDERR: 30 | int pkt_len = 0, pkt_len2 = 0, rawmode = 0, count = 0, do_alert = 0, do_hop = 0, do_frag = 0, do_dst = 0; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: dump_dhcp6.c: In function 'check_packets': BUILDSTDERR: dump_dhcp6.c:68:29: warning: variable 'rlen' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 68 | int len = header->caplen, rlen, i, j, k; BUILDSTDERR: | ^~~~ BUILDSTDERR: dump_dhcp6.c: In function 'main': BUILDSTDERR: dump_dhcp6.c:232:25: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 232 | unsigned char *mac6 = mac, *src, *dst, *vendorid = NULL, *ptr; BUILDSTDERR: | ^~~ BUILDSTDERR: dump_dhcp6.c:254:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 254 | vendorid = optarg; BUILDSTDERR: | ^ BUILDSTDERR: dump_dhcp6.c:285:45: warning: pointer targets in passing argument 2 of 'thc_pcap_init_promisc' differ in signedness [-Wpointer-sign] BUILDSTDERR: 285 | if ((p = thc_pcap_init_promisc(interface, "ip6 and udp and dst port 546")) == NULL) { BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from dump_dhcp6.c:14: BUILDSTDERR: thc-ipv6.h:95:16: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 95 | extern pcap_t *thc_pcap_init_promisc(char *interface, unsigned char *capture); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dump_dhcp6.c:312:22: warning: pointer targets in passing argument 1 of 'index' differ in signedness [-Wpointer-sign] BUILDSTDERR: 312 | if ((ptr = index(vendorid, ',')) == NULL) { BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/string.h:431, BUILDSTDERR: from dump_dhcp6.c:3: BUILDSTDERR: /usr/include/strings.h:68:14: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 68 | extern char *index (const char *__s, int __c) BUILDSTDERR: | ^~~~~ BUILDSTDERR: dump_dhcp6.c:312:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 312 | if ((ptr = index(vendorid, ',')) == NULL) { BUILDSTDERR: | ^ BUILDSTDERR: dump_dhcp6.c:317:14: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] BUILDSTDERR: 317 | i = atoi(vendorid); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from dump_dhcp6.c:1: BUILDSTDERR: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 361 | __NTH (atoi (const char *__nptr)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: dump_dhcp6.c:320:39: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 320 | wdatabuf[len+2] = (4 + 2 + strlen(ptr)) / 256; BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from dump_dhcp6.c:3: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: dump_dhcp6.c:321:39: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 321 | wdatabuf[len+3] = (4 + 2 + strlen(ptr)) % 256; BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from dump_dhcp6.c:3: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: dump_dhcp6.c:326:30: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 326 | wdatabuf[len+8] = strlen(ptr) / 256; BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from dump_dhcp6.c:3: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: dump_dhcp6.c:327:30: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 327 | wdatabuf[len+9] = strlen(ptr) % 256; BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from dump_dhcp6.c:3: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: dump_dhcp6.c:328:45: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 328 | memcpy(wdatabuf + len + 10, ptr, strlen(ptr)); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from dump_dhcp6.c:3: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: dump_dhcp6.c:329:58: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 329 | memcpy(wdatabuf2 + len2, wdatabuf + len, 10 + strlen(ptr)); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from dump_dhcp6.c:3: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: dump_dhcp6.c:330:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 330 | len += 10 + strlen(ptr); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from dump_dhcp6.c:3: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: dump_dhcp6.c:331:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 331 | len2 += 10 + strlen(ptr); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from dump_dhcp6.c:3: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: dump_dhcp6.c:334:12: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 334 | if ((pkt = thc_create_ipv6_extended(interface, PREFER_LINK, &pkt_len, src, dst, 1, 0, 0, 0, 0)) == NULL) BUILDSTDERR: | ^ BUILDSTDERR: dump_dhcp6.c:336:19: warning: pointer targets in passing argument 1 of 'thc_add_udp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 336 | if (thc_add_udp(pkt, &pkt_len, 546, 547, 0, wdatabuf, len) < 0) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from dump_dhcp6.c:14: BUILDSTDERR: thc-ipv6.h:134:39: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 134 | extern int thc_add_udp(unsigned char *pkt, int *pkt_len, unsigned short int sport, unsigned short int dport, unsigned int checksum, char *data, int data_len); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: dump_dhcp6.c:338:56: warning: pointer targets in passing argument 4 of 'thc_generate_and_send_pkt' differ in signedness [-Wpointer-sign] BUILDSTDERR: 338 | if (thc_generate_and_send_pkt(interface, mac6, NULL, pkt, &pkt_len) < 0) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from dump_dhcp6.c:14: BUILDSTDERR: thc-ipv6.h:139:116: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 139 | extern int thc_generate_and_send_pkt(char *interface, unsigned char *srcmac, unsigned char *dstmac, unsigned char *pkt, int *pkt_len); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: dump_dhcp6.c:340:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 340 | if ((pkt2 = thc_create_ipv6_extended(interface, PREFER_LINK, &pkt2_len, src, dst, 1, 0, 0, 0, 0)) == NULL) BUILDSTDERR: | ^ BUILDSTDERR: dump_dhcp6.c:342:19: warning: pointer targets in passing argument 1 of 'thc_add_udp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 342 | if (thc_add_udp(pkt2, &pkt2_len, 546, 547, 0, wdatabuf2, len2) < 0) BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from dump_dhcp6.c:14: BUILDSTDERR: thc-ipv6.h:134:39: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 134 | extern int thc_add_udp(unsigned char *pkt, int *pkt_len, unsigned short int sport, unsigned short int dport, unsigned int checksum, char *data, int data_len); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: dump_dhcp6.c:344:56: warning: pointer targets in passing argument 4 of 'thc_generate_and_send_pkt' differ in signedness [-Wpointer-sign] BUILDSTDERR: 344 | if (thc_generate_and_send_pkt(interface, mac6, NULL, pkt2, &pkt2_len) < 0) BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from dump_dhcp6.c:14: BUILDSTDERR: thc-ipv6.h:139:116: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 139 | extern int thc_generate_and_send_pkt(char *interface, unsigned char *srcmac, unsigned char *dstmac, unsigned char *pkt, int *pkt_len); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: dump_dhcp6.c:349:28: warning: pointer targets in passing argument 1 of 'thc_destroy_packet' differ in signedness [-Wpointer-sign] BUILDSTDERR: 349 | pkt = thc_destroy_packet(pkt); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from dump_dhcp6.c:14: BUILDSTDERR: thc-ipv6.h:142:23: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 142 | extern unsigned char *thc_destroy_packet(unsigned char *pkt); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: dump_dhcp6.c:349:7: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 349 | pkt = thc_destroy_packet(pkt); BUILDSTDERR: | ^ BUILDSTDERR: dump_dhcp6.c:236:7: warning: variable 'do_all' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 236 | int do_all = 1, use_real_mac = 1, use_real_link = 1; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: four2six.c: In function 'main': BUILDSTDERR: four2six.c:34:85: warning: 'cnt' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 34 | int pkt1_len = 0, prefer = PREFER_GLOBAL, i, do_hop = 0, do_dst = 0, do_frag = 0, cnt, type = NXT_ICMP6, offset = 14; BUILDSTDERR: | ^~~ BUILDSTDERR: fuzz_dhcps6.c: In function 'try_send_pkt': BUILDSTDERR: fuzz_dhcps6.c:231:33: warning: pointer targets in passing argument 2 of 'thc_send_pkt' differ in signedness [-Wpointer-sign] BUILDSTDERR: 231 | if (thc_send_pkt(interface, pkt, pkt_len) < 0) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from fuzz_dhcps6.c:19: BUILDSTDERR: thc-ipv6.h:141:57: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 141 | extern int thc_send_pkt(char *interface, unsigned char *pkt, int *pkt_len); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: fuzz_dhcps6.c: In function 'check_alive': BUILDSTDERR: fuzz_dhcps6.c:263:12: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 263 | if ((pkt = thc_create_ipv6_extended(interface, PREFER_LINK, &pkt_len, NULL, dst, 1, 0, 0, 0, 0)) == NULL) { BUILDSTDERR: | ^ BUILDSTDERR: fuzz_dhcps6.c:268:19: warning: pointer targets in passing argument 1 of 'thc_add_udp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 268 | if (thc_add_udp(pkt, &pkt_len, 546, 547, 0, wdatabuf, len) < 0) { BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from fuzz_dhcps6.c:19: BUILDSTDERR: thc-ipv6.h:134:39: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 134 | extern int thc_add_udp(unsigned char *pkt, int *pkt_len, unsigned short int sport, unsigned short int dport, unsigned int checksum, char *data, int data_len); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: fuzz_dhcps6.c:273:47: warning: pointer targets in passing argument 4 of 'thc_generate_pkt' differ in signedness [-Wpointer-sign] BUILDSTDERR: 273 | if (thc_generate_pkt(interface, mac6, NULL, pkt, &pkt_len) < 0) { BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from fuzz_dhcps6.c:19: BUILDSTDERR: thc-ipv6.h:140:107: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 140 | extern int thc_generate_pkt(char *interface, unsigned char *srcmac, unsigned char *dstmac, unsigned char *pkt, int *pkt_len); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: fuzz_dhcps6.c:295:35: warning: pointer targets in passing argument 2 of 'thc_send_pkt' differ in signedness [-Wpointer-sign] BUILDSTDERR: 295 | if (thc_send_pkt(interface, pkt, &pkt_len) < 0) { //Don't want to use try_send_pkt as it could take longer than timeout BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from fuzz_dhcps6.c:19: BUILDSTDERR: thc-ipv6.h:141:57: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 141 | extern int thc_send_pkt(char *interface, unsigned char *pkt, int *pkt_len); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: fuzz_dhcps6.c:297:33: warning: pointer targets in passing argument 2 of 'thc_send_pkt' differ in signedness [-Wpointer-sign] BUILDSTDERR: 297 | thc_send_pkt(interface, pkt, &pkt_len); //Retry sending packet after short time if sending failed BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from fuzz_dhcps6.c:19: BUILDSTDERR: thc-ipv6.h:141:57: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 141 | extern int thc_send_pkt(char *interface, unsigned char *pkt, int *pkt_len); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: fuzz_dhcps6.c:312:22: warning: pointer targets in passing argument 1 of 'thc_destroy_packet' differ in signedness [-Wpointer-sign] BUILDSTDERR: 312 | thc_destroy_packet(pkt); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from fuzz_dhcps6.c:19: BUILDSTDERR: thc-ipv6.h:142:23: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 142 | extern unsigned char *thc_destroy_packet(unsigned char *pkt); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: fuzz_dhcps6.c: In function 'fuzz_loop': BUILDSTDERR: fuzz_dhcps6.c:333:20: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] BUILDSTDERR: 333 | printf("fuzzbuf(%d): %s\n", strlen(fuzzbuf), fuzzbuf); BUILDSTDERR: | ~^ ~~~~~~~~~~~~~~~ BUILDSTDERR: | | | BUILDSTDERR: | int size_t {aka long unsigned int} BUILDSTDERR: | %ld BUILDSTDERR: fuzz_dhcps6.c:486:41: warning: pointer targets in passing argument 2 of 'thc_send_pkt' differ in signedness [-Wpointer-sign] BUILDSTDERR: 486 | while(thc_send_pkt(interface, pkt, pkt_len) < 0) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from fuzz_dhcps6.c:19: BUILDSTDERR: thc-ipv6.h:141:57: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 141 | extern int thc_send_pkt(char *interface, unsigned char *pkt, int *pkt_len); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: fuzz_dhcps6.c:324:21: warning: unused variable 'frag_offset' [-Wunused-variable] BUILDSTDERR: 324 | int fragment = 0, frag_offset = 0; BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: fuzz_dhcps6.c:324:7: warning: unused variable 'fragment' [-Wunused-variable] BUILDSTDERR: 324 | int fragment = 0, frag_offset = 0; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: fuzz_dhcps6.c: In function 'construct_from_adv_and_fuzz': BUILDSTDERR: fuzz_dhcps6.c:661:37: warning: pointer targets in passing argument 2 of 'thc_generate_pkt' differ in signedness [-Wpointer-sign] BUILDSTDERR: 661 | if (thc_generate_pkt(interface, smac, ptr + 6, pkt, &pkt_len) < 0) { BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from fuzz_dhcps6.c:19: BUILDSTDERR: thc-ipv6.h:140:61: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 140 | extern int thc_generate_pkt(char *interface, unsigned char *srcmac, unsigned char *dstmac, unsigned char *pkt, int *pkt_len); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: fuzz_dhcps6.c:666:19: warning: pointer targets in passing argument 1 of 'fuzz_loop' differ in signedness [-Wpointer-sign] BUILDSTDERR: 666 | if (fuzz_loop(pkt, &pkt_len) < 0) { BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: fuzz_dhcps6.c:317:21: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 317 | int fuzz_loop(char* pkt, int* pkt_len) { BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: fuzz_dhcps6.c: In function 'main': BUILDSTDERR: fuzz_dhcps6.c:687:25: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 687 | unsigned char *mac6 = mac, *src, *dst; BUILDSTDERR: | ^~~ BUILDSTDERR: fuzz_dhcps6.c:792:45: warning: pointer targets in passing argument 2 of 'thc_pcap_init_promisc' differ in signedness [-Wpointer-sign] BUILDSTDERR: 792 | if ((p = thc_pcap_init_promisc(interface, "ip6 and udp and dst port 546")) == NULL) { BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from fuzz_dhcps6.c:19: BUILDSTDERR: thc-ipv6.h:95:16: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 95 | extern pcap_t *thc_pcap_init_promisc(char *interface, unsigned char *capture); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fuzz_dhcps6.c:905:12: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 905 | if ((pkt = thc_create_ipv6_extended(interface, PREFER_LINK, &pkt_len, src, dst, 1, 0, 0, 0, 0)) == NULL) BUILDSTDERR: | ^ BUILDSTDERR: fuzz_dhcps6.c:907:19: warning: pointer targets in passing argument 1 of 'thc_add_udp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 907 | if (thc_add_udp(pkt, &pkt_len, 546, 547, 0, wdatabuf, len) < 0) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from fuzz_dhcps6.c:19: BUILDSTDERR: thc-ipv6.h:134:39: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 134 | extern int thc_add_udp(unsigned char *pkt, int *pkt_len, unsigned short int sport, unsigned short int dport, unsigned int checksum, char *data, int data_len); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: fuzz_dhcps6.c:910:47: warning: pointer targets in passing argument 4 of 'thc_generate_pkt' differ in signedness [-Wpointer-sign] BUILDSTDERR: 910 | if (thc_generate_pkt(interface, mac6, NULL, pkt, &pkt_len) < 0) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from fuzz_dhcps6.c:19: BUILDSTDERR: thc-ipv6.h:140:107: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 140 | extern int thc_generate_pkt(char *interface, unsigned char *srcmac, unsigned char *dstmac, unsigned char *pkt, int *pkt_len); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: fuzz_dhcps6.c:922:33: warning: pointer targets in passing argument 2 of 'thc_send_pkt' differ in signedness [-Wpointer-sign] BUILDSTDERR: 922 | if (thc_send_pkt(interface, pkt, &pkt_len) < 0) { BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from fuzz_dhcps6.c:19: BUILDSTDERR: thc-ipv6.h:141:57: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 141 | extern int thc_send_pkt(char *interface, unsigned char *pkt, int *pkt_len); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: fuzz_dhcps6.c:941:28: warning: pointer targets in passing argument 1 of 'thc_destroy_packet' differ in signedness [-Wpointer-sign] BUILDSTDERR: 941 | pkt = thc_destroy_packet(pkt); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from fuzz_dhcps6.c:19: BUILDSTDERR: thc-ipv6.h:142:23: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 142 | extern unsigned char *thc_destroy_packet(unsigned char *pkt); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: fuzz_dhcps6.c:941:7: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 941 | pkt = thc_destroy_packet(pkt); BUILDSTDERR: | ^ BUILDSTDERR: fuzz_dhcps6.c:690:7: warning: unused variable 'do_all' [-Wunused-variable] BUILDSTDERR: 690 | int do_all = 1, use_real_mac = 1, use_real_link = 1; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: flood_rs6.c: In function 'main': BUILDSTDERR: flood_rs6.c:32:70: warning: variable 'do_dst' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 32 | int pkt_len2 = 0, rawmode = 0, count = 0, do_hop = 0, do_frag = 0, do_dst = 0; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: flood_rs6.c:32:45: warning: variable 'do_hop' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 32 | int pkt_len2 = 0, rawmode = 0, count = 0, do_hop = 0, do_frag = 0, do_dst = 0; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: flood_rs6.c:32:21: warning: unused variable 'rawmode' [-Wunused-variable] BUILDSTDERR: 32 | int pkt_len2 = 0, rawmode = 0, count = 0, do_hop = 0, do_frag = 0, do_dst = 0; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: flood_rs6.c:30:13: warning: unused variable 'type' [-Wunused-variable] BUILDSTDERR: 30 | int i, k, type = NXT_ICMP6, offset = 14, mychecksum, prefer = PREFER_LINK; BUILDSTDERR: | ^~~~ BUILDSTDERR: fuzz_dhcpc6.c:206:23: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 206 | unsigned char *mac6 = mac, *src; //creates mac6 address usuing BUILDSTDERR: | ^~~ BUILDSTDERR: fuzz_dhcpc6.c: In function 'fuzz_loop': BUILDSTDERR: fuzz_dhcpc6.c:300:27: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] BUILDSTDERR: 300 | printf("fuzzing_mask(%d): %s\n", strlen(fuzzing_mask), fuzzing_mask); BUILDSTDERR: | ~^ ~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | | BUILDSTDERR: | int size_t {aka long unsigned int} BUILDSTDERR: | %ld BUILDSTDERR: fuzz_dhcpc6.c:477:42: warning: pointer targets in passing argument 2 of 'thc_send_pkt' differ in signedness [-Wpointer-sign] BUILDSTDERR: 477 | while (thc_send_pkt(interface, pkt, pkt_len) < 0) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from fuzz_dhcpc6.c:13: BUILDSTDERR: thc-ipv6.h:141:57: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 141 | extern int thc_send_pkt(char *interface, unsigned char *pkt, int *pkt_len); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: fuzz_dhcpc6.c:291:21: warning: unused variable 'frag_offset' [-Wunused-variable] BUILDSTDERR: 291 | int fragment = 0, frag_offset = 0; BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: fuzz_dhcpc6.c:291:7: warning: unused variable 'fragment' [-Wunused-variable] BUILDSTDERR: 291 | int fragment = 0, frag_offset = 0; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: fuzz_dhcpc6.c: In function 'dhcpc_listener': BUILDSTDERR: fuzz_dhcpc6.c:497:50: warning: pointer targets in passing argument 3 of 'thc_bind_multicast_to_socket' differ in signedness [-Wpointer-sign] BUILDSTDERR: 497 | if (thc_bind_multicast_to_socket(s, interface, thc_resolve6("ff02::1:2")) < 0) { BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from fuzz_dhcpc6.c:13: BUILDSTDERR: thc-ipv6.h:155:71: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 155 | extern int thc_bind_multicast_to_socket(int s, char *interface, char *src); BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: fuzz_dhcpc6.c:528:32: warning: pointer targets in passing argument 1 of 'thc_ipv62notation' differ in signedness [-Wpointer-sign] BUILDSTDERR: 528 | ptr2 = thc_ipv62notation((char *) &ddst.sin6_addr); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from fuzz_dhcpc6.c:13: BUILDSTDERR: thc-ipv6.h:151:23: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 151 | extern unsigned char *thc_ipv62notation(unsigned char *string); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: fuzz_dhcpc6.c:530:33: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 530 | strncpy((char *) &victim, ptr2, sizeof(victim)); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from fuzz_dhcpc6.c:1: BUILDSTDERR: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, BUILDSTDERR: | ^~~~~ BUILDSTDERR: fuzz_dhcpc6.c: In function 'main': BUILDSTDERR: fuzz_dhcpc6.c:665:25: warning: format '%x' expects argument of type 'unsigned int *', but argument 3 has type 'char *' [-Wformat=] BUILDSTDERR: 665 | sscanf(optarg, "%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x", (char *) &cid[0], (char *) &cid[1], (char *) &cid[2], (char *) &cid[3], (char *) &cid[4], (char *) &cid[5], BUILDSTDERR: | ~~^ ~~~~~~~~~~~~~~~~ BUILDSTDERR: | | | BUILDSTDERR: | unsigned int * char * BUILDSTDERR: | %2hhx BUILDSTDERR: fuzz_dhcpc6.c:665:28: warning: format '%x' expects argument of type 'unsigned int *', but argument 4 has type 'char *' [-Wformat=] BUILDSTDERR: 665 | sscanf(optarg, "%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x", (char *) &cid[0], (char *) &cid[1], (char *) &cid[2], (char *) &cid[3], (char *) &cid[4], (char *) &cid[5], BUILDSTDERR: | ~~^ ~~~~~~~~~~~~~~~~ BUILDSTDERR: | | | BUILDSTDERR: | unsigned int * char * BUILDSTDERR: | %2hhx BUILDSTDERR: fuzz_dhcpc6.c:665:31: warning: format '%x' expects argument of type 'unsigned int *', but argument 5 has type 'char *' [-Wformat=] BUILDSTDERR: 665 | sscanf(optarg, "%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x", (char *) &cid[0], (char *) &cid[1], (char *) &cid[2], (char *) &cid[3], (char *) &cid[4], (char *) &cid[5], BUILDSTDERR: | ~~^ ~~~~~~~~~~~~~~~~ BUILDSTDERR: | | | BUILDSTDERR: | unsigned int * char * BUILDSTDERR: | %2hhx BUILDSTDERR: fuzz_dhcpc6.c:665:34: warning: format '%x' expects argument of type 'unsigned int *', but argument 6 has type 'char *' [-Wformat=] BUILDSTDERR: 665 | sscanf(optarg, "%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x", (char *) &cid[0], (char *) &cid[1], (char *) &cid[2], (char *) &cid[3], (char *) &cid[4], (char *) &cid[5], BUILDSTDERR: | ~~^ ~~~~~~~~~~~~~~~~ BUILDSTDERR: | | | BUILDSTDERR: | unsigned int * char * BUILDSTDERR: | %2hhx BUILDSTDERR: fuzz_dhcpc6.c:665:37: warning: format '%x' expects argument of type 'unsigned int *', but argument 7 has type 'char *' [-Wformat=] BUILDSTDERR: 665 | sscanf(optarg, "%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x", (char *) &cid[0], (char *) &cid[1], (char *) &cid[2], (char *) &cid[3], (char *) &cid[4], (char *) &cid[5], BUILDSTDERR: | ~~^ ~~~~~~~~~~~~~~~~ BUILDSTDERR: | | | BUILDSTDERR: | unsigned int * char * BUILDSTDERR: | %2hhx BUILDSTDERR: fuzz_dhcpc6.c:665:40: warning: format '%x' expects argument of type 'unsigned int *', but argument 8 has type 'char *' [-Wformat=] BUILDSTDERR: 665 | sscanf(optarg, "%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x", (char *) &cid[0], (char *) &cid[1], (char *) &cid[2], (char *) &cid[3], (char *) &cid[4], (char *) &cid[5], BUILDSTDERR: | ~~^ ~~~~~~~~~~~~~~~~ BUILDSTDERR: | | | BUILDSTDERR: | unsigned int * char * BUILDSTDERR: | %2hhx BUILDSTDERR: fuzz_dhcpc6.c:665:43: warning: format '%x' expects argument of type 'unsigned int *', but argument 9 has type 'char *' [-Wformat=] BUILDSTDERR: 665 | sscanf(optarg, "%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x", (char *) &cid[0], (char *) &cid[1], (char *) &cid[2], (char *) &cid[3], (char *) &cid[4], (char *) &cid[5], BUILDSTDERR: | ~~^ BUILDSTDERR: | | BUILDSTDERR: | unsigned int * BUILDSTDERR: | %2hhx BUILDSTDERR: 666 | (char *) &cid[6], (char *) &cid[7], (char *) &cid[8], (char *) &cid[9], (char *) &cid[10], (char *) &cid[11], (char *) &cid[12], (char *) &cid[13]); BUILDSTDERR: | ~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: fuzz_dhcpc6.c:665:46: warning: format '%x' expects argument of type 'unsigned int *', but argument 10 has type 'char *' [-Wformat=] BUILDSTDERR: 665 | sscanf(optarg, "%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x", (char *) &cid[0], (char *) &cid[1], (char *) &cid[2], (char *) &cid[3], (char *) &cid[4], (char *) &cid[5], BUILDSTDERR: | ~~^ BUILDSTDERR: | | BUILDSTDERR: | unsigned int * BUILDSTDERR: | %2hhx BUILDSTDERR: 666 | (char *) &cid[6], (char *) &cid[7], (char *) &cid[8], (char *) &cid[9], (char *) &cid[10], (char *) &cid[11], (char *) &cid[12], (char *) &cid[13]); BUILDSTDERR: | ~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: fuzz_dhcpc6.c:665:49: warning: format '%x' expects argument of type 'unsigned int *', but argument 11 has type 'char *' [-Wformat=] BUILDSTDERR: 665 | sscanf(optarg, "%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x", (char *) &cid[0], (char *) &cid[1], (char *) &cid[2], (char *) &cid[3], (char *) &cid[4], (char *) &cid[5], BUILDSTDERR: | ~~^ BUILDSTDERR: | | BUILDSTDERR: | unsigned int * BUILDSTDERR: | %2hhx BUILDSTDERR: 666 | (char *) &cid[6], (char *) &cid[7], (char *) &cid[8], (char *) &cid[9], (char *) &cid[10], (char *) &cid[11], (char *) &cid[12], (char *) &cid[13]); BUILDSTDERR: | ~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: fuzz_dhcpc6.c:665:52: warning: format '%x' expects argument of type 'unsigned int *', but argument 12 has type 'char *' [-Wformat=] BUILDSTDERR: 665 | sscanf(optarg, "%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x", (char *) &cid[0], (char *) &cid[1], (char *) &cid[2], (char *) &cid[3], (char *) &cid[4], (char *) &cid[5], BUILDSTDERR: | ~~^ BUILDSTDERR: | | BUILDSTDERR: | unsigned int * BUILDSTDERR: | %2hhx BUILDSTDERR: 666 | (char *) &cid[6], (char *) &cid[7], (char *) &cid[8], (char *) &cid[9], (char *) &cid[10], (char *) &cid[11], (char *) &cid[12], (char *) &cid[13]); BUILDSTDERR: | ~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: fuzz_dhcpc6.c:665:55: warning: format '%x' expects argument of type 'unsigned int *', but argument 13 has type 'char *' [-Wformat=] BUILDSTDERR: 665 | sscanf(optarg, "%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x", (char *) &cid[0], (char *) &cid[1], (char *) &cid[2], (char *) &cid[3], (char *) &cid[4], (char *) &cid[5], BUILDSTDERR: | ~~^ BUILDSTDERR: | | BUILDSTDERR: | unsigned int * BUILDSTDERR: | %2hhx BUILDSTDERR: 666 | (char *) &cid[6], (char *) &cid[7], (char *) &cid[8], (char *) &cid[9], (char *) &cid[10], (char *) &cid[11], (char *) &cid[12], (char *) &cid[13]); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: fuzz_dhcpc6.c:665:58: warning: format '%x' expects argument of type 'unsigned int *', but argument 14 has type 'char *' [-Wformat=] BUILDSTDERR: 665 | sscanf(optarg, "%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x", (char *) &cid[0], (char *) &cid[1], (char *) &cid[2], (char *) &cid[3], (char *) &cid[4], (char *) &cid[5], BUILDSTDERR: | ~~^ BUILDSTDERR: | | BUILDSTDERR: | unsigned int * BUILDSTDERR: | %2hhx BUILDSTDERR: 666 | (char *) &cid[6], (char *) &cid[7], (char *) &cid[8], (char *) &cid[9], (char *) &cid[10], (char *) &cid[11], (char *) &cid[12], (char *) &cid[13]); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: fuzz_dhcpc6.c:665:61: warning: format '%x' expects argument of type 'unsigned int *', but argument 15 has type 'char *' [-Wformat=] BUILDSTDERR: 665 | sscanf(optarg, "%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x", (char *) &cid[0], (char *) &cid[1], (char *) &cid[2], (char *) &cid[3], (char *) &cid[4], (char *) &cid[5], BUILDSTDERR: | ~~^ BUILDSTDERR: | | BUILDSTDERR: | unsigned int * BUILDSTDERR: | %2hhx BUILDSTDERR: 666 | (char *) &cid[6], (char *) &cid[7], (char *) &cid[8], (char *) &cid[9], (char *) &cid[10], (char *) &cid[11], (char *) &cid[12], (char *) &cid[13]); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: fuzz_dhcpc6.c:665:64: warning: format '%x' expects argument of type 'unsigned int *', but argument 16 has type 'char *' [-Wformat=] BUILDSTDERR: 665 | sscanf(optarg, "%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x", (char *) &cid[0], (char *) &cid[1], (char *) &cid[2], (char *) &cid[3], (char *) &cid[4], (char *) &cid[5], BUILDSTDERR: | ~~^ BUILDSTDERR: | | BUILDSTDERR: | unsigned int * BUILDSTDERR: | %2hhx BUILDSTDERR: 666 | (char *) &cid[6], (char *) &cid[7], (char *) &cid[8], (char *) &cid[9], (char *) &cid[10], (char *) &cid[11], (char *) &cid[12], (char *) &cid[13]); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: fuzz_dhcpc6.c:709:45: warning: pointer targets in passing argument 2 of 'thc_pcap_init_promisc' differ in signedness [-Wpointer-sign] BUILDSTDERR: 709 | if ((p = thc_pcap_init_promisc(interface, "ip6 and udp and dst port 547")) == NULL) { BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from fuzz_dhcpc6.c:13: BUILDSTDERR: thc-ipv6.h:95:16: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 95 | extern pcap_t *thc_pcap_init_promisc(char *interface, unsigned char *capture); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fuzz_dhcpc6.c: In function 'do_fuzzer': BUILDSTDERR: fuzz_dhcpc6.c:811:12: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 811 | if ((pkt = thc_create_ipv6_extended(interface, PREFER_LINK, &pkt_len, src, dst, 1, 0, 0, 0, 0)) == NULL) { BUILDSTDERR: | ^ BUILDSTDERR: fuzz_dhcpc6.c:815:19: warning: pointer targets in passing argument 1 of 'thc_add_udp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 815 | if (thc_add_udp(pkt, &pkt_len, 547, 546, 0, wdatabuf, opt_off) < 0) { BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from fuzz_dhcpc6.c:13: BUILDSTDERR: thc-ipv6.h:134:39: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 134 | extern int thc_add_udp(unsigned char *pkt, int *pkt_len, unsigned short int sport, unsigned short int dport, unsigned int checksum, char *data, int data_len); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: fuzz_dhcpc6.c:820:47: warning: pointer targets in passing argument 4 of 'thc_generate_pkt' differ in signedness [-Wpointer-sign] BUILDSTDERR: 820 | if (thc_generate_pkt(interface, mac6, NULL, pkt, &pkt_len) < 0) { BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from fuzz_dhcpc6.c:13: BUILDSTDERR: thc-ipv6.h:140:107: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 140 | extern int thc_generate_pkt(char *interface, unsigned char *srcmac, unsigned char *dstmac, unsigned char *pkt, int *pkt_len); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: fuzz_dhcpc6.c:828:28: warning: pointer targets in passing argument 1 of 'thc_destroy_packet' differ in signedness [-Wpointer-sign] BUILDSTDERR: 828 | pkt = thc_destroy_packet(pkt); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from fuzz_dhcpc6.c:13: BUILDSTDERR: thc-ipv6.h:142:23: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 142 | extern unsigned char *thc_destroy_packet(unsigned char *pkt); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: fuzz_dhcpc6.c:828:7: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 828 | pkt = thc_destroy_packet(pkt); BUILDSTDERR: | ^ BUILDSTDERR: fuzz_dhcpc6.c: In function 'fuzz_loop': BUILDSTDERR: fuzz_dhcpc6.c:490:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 490 | } BUILDSTDERR: | ^ BUILDSTDERR: fuzz_dhcps6.c: In function 'construct_from_adv_and_fuzz': BUILDSTDERR: fuzz_dhcps6.c:661:9: warning: 'smac' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 661 | if (thc_generate_pkt(interface, smac, ptr + 6, pkt, &pkt_len) < 0) { BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: toobigsniff6.c: In function 'send_toobig': BUILDSTDERR: toobigsniff6.c:47:15: warning: pointer targets in passing argument 1 of 'thc_toobig6' differ in signedness [-Wpointer-sign] BUILDSTDERR: 47 | thc_toobig6(interface, src6, mac6, NULL, mtu, ipv6hdr, len); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from toobigsniff6.c:11: BUILDSTDERR: thc-ipv6.h:113:30: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 113 | extern int thc_toobig6(char *interface, unsigned char *src, unsigned char *srcmac, unsigned char *dstmac, unsigned int mtu, unsigned char *pkt, int pkt_len); BUILDSTDERR: | ~~~~~~^~~~~~~~~ BUILDSTDERR: toobigsniff6.c: In function 'main': BUILDSTDERR: toobigsniff6.c:87:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 87 | interface = argv[optind]; BUILDSTDERR: | ^ BUILDSTDERR: toobigsniff6.c:88:26: warning: pointer targets in passing argument 1 of 'thc_get_own_mac' differ in signedness [-Wpointer-sign] BUILDSTDERR: 88 | mac6 = thc_get_own_mac(interface); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from toobigsniff6.c:11: BUILDSTDERR: thc-ipv6.h:101:23: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 101 | extern unsigned char *thc_get_own_mac(char *interface); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: toobigsniff6.c:89:27: warning: pointer targets in passing argument 1 of 'thc_get_own_ipv6' differ in signedness [-Wpointer-sign] BUILDSTDERR: 89 | src6 = thc_get_own_ipv6(interface, NULL, PREFER_GLOBAL); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from toobigsniff6.c:11: BUILDSTDERR: thc-ipv6.h:103:23: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 103 | extern unsigned char *thc_get_own_ipv6(char *interface, unsigned char *dst, int prefer); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: toobigsniff6.c:107:26: warning: pointer targets in passing argument 1 of 'thc_pcap_init' differ in signedness [-Wpointer-sign] BUILDSTDERR: 107 | if ((p = thc_pcap_init(interface, string)) == NULL) { BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from toobigsniff6.c:11: BUILDSTDERR: thc-ipv6.h:94:16: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 94 | extern pcap_t *thc_pcap_init(char *interface, char *capture); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: toobigsniff6.c:59:7: warning: variable 'rawmode' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 59 | int rawmode = 0, i; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from fuzz_dhcpc6.c:3: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'dhcpc_listener' at fuzz_dhcpc6.c:530:7: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 128 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ trong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o ndpexhaust26 ndpexhaust26.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o fake_pim6 fake_pim6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o thcsyn6 thcsyn6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o redirsniff6 redirsniff6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o flood_redir6 flood_redir6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o four2six four2six.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o dump_dhcp6 dump_dhcp6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o flood_rs6 flood_rs6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o fuzz_dhcps6 fuzz_dhcps6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o fuzz_dhcpc6 fuzz_dhcpc6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o toobigsniff6 toobigsniff6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto BUILDSTDERR: gcc -O2 -g -pipe -WIn function 'strncpy', BUILDSTDERR: inlined from 'main' at fuzz_dhcpc6.c:653:7: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 128 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'main' at fuzz_dhcpc6.c:658:7: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 100 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: flood_unreach6.c: In function 'main': BUILDSTDERR: flood_unreach6.c:26:25: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 26 | unsigned char *mac6 = mac; BUILDSTDERR: | ^~~ BUILDSTDERR: flood_unreach6.c:31:34: warning: unused variable 'rawmode' [-Wunused-variable] BUILDSTDERR: 31 | int pkt_len = 0, pkt_len2 = 0, rawmode = 0, count = 0, do_alert = 0, do_hop = 0, do_frag = 0, do_dst = 0; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: flood_unreach6.c:29:47: warning: unused variable 'rand_newrouter' [-Wunused-variable] BUILDSTDERR: 29 | int i, j, k, type = NXT_ICMP6, offset = 14, rand_newrouter = 1, rand_src = 0, unreach = 0; BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: flood_unreach6.c:29:13: warning: unused variable 'k' [-Wunused-variable] BUILDSTDERR: 29 | int i, j, k, type = NXT_ICMP6, offset = 14, rand_newrouter = 1, rand_src = 0, unreach = 0; BUILDSTDERR: | ^ BUILDSTDERR: flood_unreach6.c:28:116: warning: unused variable 'newrouter' [-Wunused-variable] BUILDSTDERR: 28 | unsigned char *dst = thc_resolve6("ff02::1"), *src = NULL, *fake_dst = NULL, *dstmac = NULL, *oldrouter = NULL, *newrouter = NULL; BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: flood_unreach6.c:28:63: warning: unused variable 'fake_dst' [-Wunused-variable] BUILDSTDERR: 28 | unsigned char *dst = thc_resolve6("ff02::1"), *src = NULL, *fake_dst = NULL, *dstmac = NULL, *oldrouter = NULL, *newrouter = NULL; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: flood_unreach6.c:25:33: warning: unused variable 'newroutermac' [-Wunused-variable] BUILDSTDERR: 25 | char *interface, mac[6] = "", newroutermac[6]; BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: thcping6.c: In function 'check_packets': BUILDSTDERR: thcping6.c:94:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: 94 | sprintf(frag, " (fragmented: 0x%08lx)", fragid); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from thcping6.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: thcping6.c: In function 'main': BUILDSTDERR: thcping6.c:503:111: warning: pointer targets in passing argument 10 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 503 | if (thc_add_tcp(pkt1, &pkt1_len, port + flood + client, port, (port << 16) + port, 0, TCP_SYN, 5760, 0, (unsigned char *) &buf2, olen, (unsigned char *) &buf, dlen) < 0) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from thcping6.c:13: BUILDSTDERR: thc-ipv6.h:133:232: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 133 | extern int thc_add_tcp(unsigned char *pkt, int *pkt_len, unsigned short int sport, unsigned short int dport, unsigned int sequence, unsigned int ack, unsigned char flags, unsigned short int window, unsigned short int urgent, char *option, int option_len, char *data, int data_len); BUILDSTDERR: | ~~~~~~^~~~~~ BUILDSTDERR: thcping6.c:503:142: warning: pointer targets in passing argument 12 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 503 | if (thc_add_tcp(pkt1, &pkt1_len, port + flood + client, port, (port << 16) + port, 0, TCP_SYN, 5760, 0, (unsigned char *) &buf2, olen, (unsigned char *) &buf, dlen) < 0) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from thcping6.c:13: BUILDSTDERR: thc-ipv6.h:133:262: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 133 | extern int thc_add_tcp(unsigned char *pkt, int *pkt_len, unsigned short int sport, unsigned short int dport, unsigned int sequence, unsigned int ack, unsigned char flags, unsigned short int window, unsigned short int urgent, char *option, int option_len, char *data, int data_len); BUILDSTDERR: | ~~~~~~^~~~ BUILDSTDERR: thcping6.c:505:77: warning: pointer targets in passing argument 6 of 'thc_add_udp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 505 | } else if (thc_add_udp(pkt1, &pkt1_len, port + flood + client, port, 0, (unsigned char *) &buf, dlen) < 0) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from thcping6.c:13: BUILDSTDERR: thc-ipv6.h:134:139: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 134 | extern int thc_add_udp(unsigned char *pkt, int *pkt_len, unsigned short int sport, unsigned short int dport, unsigned int checksum, char *data, int data_len); BUILDSTDERR: | ~~~~~~^~~~ BUILDSTDERR: thcping6.c:548:20: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 548 | strcat(string, thc_ipv62notation(src6)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from thcping6.c:1: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: thcping6.c:583:47: warning: pointer targets in passing argument 3 of 'thc_pcap_check' differ in signedness [-Wpointer-sign] BUILDSTDERR: 583 | thc_pcap_check(p, (char *) check_packets, buf); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from thcping6.c:13: BUILDSTDERR: thc-ipv6.h:97:61: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 97 | extern int thc_pcap_check(pcap_t * p, char *function, char *opt); BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: connsplit6.c: In function 'netfilter_queue_callback': BUILDSTDERR: connsplit6.c:186:13: warning: unused variable 'port' [-Wunused-variable] BUILDSTDERR: 186 | int port = THC_SPLITCONNECT_PORT, pport; BUILDSTDERR: | ^~~~ BUILDSTDERR: connsplit6.c:91:16: warning: unused variable 'hdr' [-Wunused-variable] BUILDSTDERR: 91 | thc_ipv6_hdr hdr; BUILDSTDERR: | ^~~ BUILDSTDERR: connsplit6.c:90:33: warning: unused variable 'buflen' [-Wunused-variable] BUILDSTDERR: 90 | int i, j, k, proto, drop = 0, buflen = 0; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: connsplit6.c:90:23: warning: unused variable 'drop' [-Wunused-variable] BUILDSTDERR: 90 | int i, j, k, proto, drop = 0, buflen = 0; BUILDSTDERR: | ^~~~ BUILDSTDERR: connsplit6.c:90:13: warning: unused variable 'k' [-Wunused-variable] BUILDSTDERR: 90 | int i, j, k, proto, drop = 0, buflen = 0; BUILDSTDERR: | ^ BUILDSTDERR: connsplit6.c:90:10: warning: unused variable 'j' [-Wunused-variable] BUILDSTDERR: 90 | int i, j, k, proto, drop = 0, buflen = 0; BUILDSTDERR: | ^ BUILDSTDERR: connsplit6.c:90:7: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: 90 | int i, j, k, proto, drop = 0, buflen = 0; BUILDSTDERR: | ^ BUILDSTDERR: connsplit6.c:87:53: warning: unused variable 'dstmac' [-Wunused-variable] BUILDSTDERR: 87 | unsigned char *packet, payload[2048], buf[2048], *dstmac; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: connsplit6.c:87:41: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: 87 | unsigned char *packet, payload[2048], buf[2048], *dstmac; BUILDSTDERR: | ^~~ BUILDSTDERR: connsplit6.c:86:25: warning: unused variable 'temp_id' [-Wunused-variable] BUILDSTDERR: 86 | unsigned int len, id, temp_id; BUILDSTDERR: | ^~~~~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 all -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o flood_unreach6 flood_unreach6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o thcping6 thcping6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto -lrt gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o fragrouter6 fragrouter6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto -lnetfilter_queue || /bin/echo -e "\nCompilation of fragrouter6 failed, you have to install libnetfilter-queue-dev for this!\n" gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_HAVE_SSL -o connsplit6 connsplit6.c thc-ipv6-lib.o -lpcap -lssl -lcrypto -lnetfilter_queue || /bin/echo -e "\nCompilation of connsplit6 failed, you have to install libnetfilter-queue-dev for this!\n" Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.eMDaEu + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64 + cd thc-ipv6-3.4 + make install DESTDIR=/builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 3.4-4.fc31 --unique-debug-suffix -3.4-4.fc31.riscv64 --unique-debug-src-base thc-ipv6-3.4-4.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/thc-ipv6-3.4 echo parasite6 dos-new-ip6 detect-new-ip6 fake_router6 fake_advertise6 fake_solicitate6 fake_mld6 fake_mld26 fake_mldrouter6 flood_mldrouter6 fake_mipv6 redir6 smurf6 alive6 toobig6 rsmurf6 implementation6 implementation6d sendpees6 sendpeesmp6 randicmp6 fuzz_ip6 flood_mld6 flood_mld26 flood_router6 flood_advertise6 flood_solicitate6 trace6 exploit6 denial6 fake_dhcps6 flood_dhcpc6 fake_dns6d fragmentation6 kill_router6 fake_dnsupdate6 ndpexhaust6 detect_sniffer6 dump_router6 fake_router26 flood_router26 passive_discovery6 dnsrevenum6 inverse_lookup6 node_query6 address6 covert_send6 covert_send6d inject_alive6 firewall6 ndpexhaust26 fake_pim6 thcsyn6 redirsniff6 flood_redir6 four2six dump_dhcp6 flood_rs6 fuzz_dhcps6 fuzz_dhcpc6 toobigsniff6 flood_unreach6 dnssecwalk dnsdict6 thcping6 fragrouter6 connsplit6 parasite6 dos-new-ip6 detect-new-ip6 fake_router6 fake_advertise6 fake_solicitate6 fake_mld6 fake_mld26 fake_mldrouter6 flood_mldrouter6 fake_mipv6 redir6 smurf6 alive6 toobig6 rsmurf6 implementation6 implementation6d sendpees6 sendpeesmp6 randicmp6 fuzz_ip6 flood_mld6 flood_mld26 flood_router6 flood_advertise6 flood_solicitate6 trace6 exploit6 denial6 fake_dhcps6 flood_dhcpc6 fake_dns6d fragmentation6 kill_router6 fake_dnsupdate6 ndpexhaust6 detect_sniffer6 dump_router6 fake_router26 flood_router26 passive_discovery6 dnsrevenum6 inverse_lookup6 node_query6 address6 covert_send6 covert_send6d inject_alive6 firewall6 ndpexhaust26 fake_pim6 thcsyn6 redirsniff6 flood_redir6 four2six dump_dhcp6 flood_rs6 fuzz_dhcps6 fuzz_dhcpc6 toobigsniff6 flood_unreach6 dnssecwalk dnsdict6 thcping6 fragrouter6 connsplit6 install -m0755 -d /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin install -m0755 parasite6 dos-new-ip6 detect-new-ip6 fake_router6 fake_advertise6 fake_solicitate6 fake_mld6 fake_mld26 fake_mldrouter6 flood_mldrouter6 fake_mipv6 redir6 smurf6 alive6 toobig6 rsmurf6 implementation6 implementation6d sendpees6 sendpeesmp6 randicmp6 fuzz_ip6 flood_mld6 flood_mld26 flood_router6 flood_advertise6 flood_solicitate6 trace6 exploit6 denial6 fake_dhcps6 flood_dhcpc6 fake_dns6d fragmentation6 kill_router6 fake_dnsupdate6 ndpexhaust6 detect_sniffer6 dump_router6 fake_router26 flood_router26 passive_discovery6 dnsrevenum6 inverse_lookup6 node_query6 address6 covert_send6 covert_send6d inject_alive6 firewall6 ndpexhaust26 fake_pim6 thcsyn6 redirsniff6 flood_redir6 four2six dump_dhcp6 flood_rs6 fuzz_dhcps6 fuzz_dhcpc6 toobigsniff6 flood_unreach6 dnssecwalk dnsdict6 thcping6 fragrouter6 connsplit6 grep6.pl *.sh /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin install -m0755 -d /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/share/man/man8 install -m0644 -D thc-ipv6.8 /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/share/man/man8 install -m0644 -D parasite6.8 dos-new-ip6.8 detect-new-ip6.8 fake_router6.8 fake_advertise6.8 fake_solicitate6.8 fake_mld6.8 fake_mld26.8 fake_mldrouter6.8 flood_mldrouter6.8 fake_mipv6.8 redir6.8 smurf6.8 alive6.8 toobig6.8 rsmurf6.8 implementation6.8 implementation6d.8 sendpees6.8 sendpeesmp6.8 randicmp6.8 fuzz_ip6.8 flood_mld6.8 flood_mld26.8 flood_router6.8 flood_advertise6.8 flood_solicitate6.8 trace6.8 exploit6.8 denial6.8 fake_dhcps6.8 flood_dhcpc6.8 fake_dns6d.8 fragmentation6.8 kill_router6.8 fake_dnsupdate6.8 ndpexhaust6.8 detect_sniffer6.8 dump_router6.8 fake_router26.8 flood_router26.8 passive_discovery6.8 dnsrevenum6.8 inverse_lookup6.8 node_query6.8 address6.8 covert_send6.8 covert_send6d.8 inject_alive6.8 firewall6.8 ndpexhaust26.8 fake_pim6.8 thcsyn6.8 redirsniff6.8 flood_redir6.8 four2six.8 dump_dhcp6.8 flood_rs6.8 fuzz_dhcps6.8 fuzz_dhcpc6.8 toobigsniff6.8 flood_unreach6.8 dnssecwalk.8 dnsdict6.8 thcping6.8 fragrouter6.8 connsplit6.8 /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/share/man/man8 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/address6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/alive6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/covert_send6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/address6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/connsplit6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/alive6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/covert_send6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/connsplit6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/denial6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/denial6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/covert_send6d explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/detect_sniffer6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/covert_send6d extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/detect_sniffer6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/detect-new-ip6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/detect-new-ip6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/dnsdict6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/dnsdict6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/dnsrevenum6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/dnsrevenum6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/dnssecwalk extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/dnssecwalk explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/dos-new-ip6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/dos-new-ip6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/dump_dhcp6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/dump_dhcp6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/dump_router6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/dump_router6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/exploit6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/exploit6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/fake_advertise6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/fake_advertise6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/fake_dhcps6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/fake_dhcps6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/fake_dns6d extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/fake_dns6d explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/fake_dnsupdate6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/fake_dnsupdate6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/fake_mipv6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/fake_mipv6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/fake_mld26 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/fake_mld26 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/fake_mld6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/fake_mld6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/fake_mldrouter6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/fake_pim6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/fake_mldrouter6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/fake_pim6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/fake_router26 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/fake_router26 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/fake_router6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/fake_router6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/fake_solicitate6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/fake_solicitate6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/firewall6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/firewall6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/flood_advertise6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/flood_advertise6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/flood_mld26 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/flood_dhcpc6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/flood_mld26 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/flood_dhcpc6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/flood_mld6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/flood_mld6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/flood_mldrouter6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/flood_redir6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/flood_mldrouter6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/flood_redir6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/flood_router26 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/flood_router26 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/flood_router6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/flood_router6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/flood_rs6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/flood_rs6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/flood_solicitate6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/flood_solicitate6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/flood_unreach6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/flood_unreach6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/four2six extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/four2six explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/fragmentation6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/fragmentation6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/fragrouter6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/fragrouter6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/fuzz_dhcpc6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/fuzz_dhcpc6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/fuzz_dhcps6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/fuzz_dhcps6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/fuzz_ip6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/fuzz_ip6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/implementation6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/implementation6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/implementation6d extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/implementation6d explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/inject_alive6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/inject_alive6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/inverse_lookup6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/inverse_lookup6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/kill_router6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/kill_router6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/ndpexhaust26 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/ndpexhaust26 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/ndpexhaust6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/ndpexhaust6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/node_query6 BUILDSTDERR: extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/n2451 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs ode_query6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/parasite6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/parasite6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/passive_discovery6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/passive_discovery6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/randicmp6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/randicmp6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/redir6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/redir6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/redirsniff6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/redirsniff6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/rsmurf6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/rsmurf6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/sendpees6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/sendpees6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/sendpeesmp6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/sendpeesmp6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/smurf6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/smurf6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/thcping6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/thcsyn6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/thcsyn6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/thcping6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/toobig6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/toobig6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/toobigsniff6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/toobigsniff6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/trace6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/bin/trace6 original debug info size: 17568kB, size after compression: 16496kB /usr/lib/rpm/sepdebugcrcfix: Updated 67 CRC32s, 0 CRC32s did match. mangling shebang in /usr/bin/fragrouter6.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/bin/six2four.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/bin/extract_networks6.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/bin/alive2map.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/bin/dnsrevenum6.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/bin/local_discovery6.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/bin/extract_hosts6.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/bin/create_network_map.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/bin/dos_mld6.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/bin/thc-ipv6-setup.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/bin/axfr.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/bin/connsplit6.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/bin/axfr-reverse.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/bin/dnssecwalk.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/bin/trace62list.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/bin/6to4test.sh from /bin/bash to #!/usr/bin/bash Processing files: thc-ipv6-3.4-4.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.GEDFEx + umask 022 + cd /builddir/build/BUILD + cd thc-ipv6-3.4 + DOCDIR=/builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/share/doc/thc-ipv6 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/share/doc/thc-ipv6 + cp -pr CHANGES /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/share/doc/thc-ipv6 + cp -pr LICENSE /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/share/doc/thc-ipv6 + cp -pr LICENSE.OPENSSL /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/share/doc/thc-ipv6 + cp -pr README /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/share/doc/thc-ipv6 + cp -pr HOWTO-INJECT /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64/usr/share/doc/thc-ipv6 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: thc-ipv6 = 3.4-4.fc31 thc-ipv6(riscv-64) = 3.4-4.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/bash /usr/bin/perl ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libnetfilter_queue.so.1()(64bit) libpcap.so.1()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libresolv.so.2()(64bit) libresolv.so.2(GLIBC_2.27)(64bit) librt.so.1()(64bit) libssl.so.1.1()(64bit) perl(Socket) perl(Socket6) rtld(GNU_HASH) Processing files: thc-ipv6-debugsource-3.4-4.fc31.riscv64 Provides: thc-ipv6-debugsource = 3.4-4.fc31 thc-ipv6-debugsource(riscv-64) = 3.4-4.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: thc-ipv6-debuginfo-3.4-4.fc31.riscv64 Provides: debuginfo(build-id) = 011c8f6af76a212f29fbd61fecb676ffec864bc3 debuginfo(build-id) = 024b3a4ac2ff3cbf75b6659bd11189e7dbefa888 debuginfo(build-id) = 07870d274c84be1649f3bb021520f2f92ab5d4f1 debuginfo(build-id) = 0f851ea44abb414699eb53113564e70aa1c01d77 debuginfo(build-id) = 16e0a2db8ddf1ec93c4ceb4f9b5efff1314fe81a debuginfo(build-id) = 18b650bc6538beadd5623cc653ef12831ad6a4ef debuginfo(build-id) = 19f20fd1c2d1148e061832a8e855cabe1074861b debuginfo(build-id) = 1f754b0223e70b4eb0e26a50754bd1f572b06ec9 debuginfo(build-id) = 204929d61edd0187a2dcf9af5c6cd8acc0e8c1ab debuginfo(build-id) = 235999105a5cecec9df98aae156a1ecf275fa6f9 debuginfo(build-id) = 23dc2cb04f9aaf174ab81bfe1ae3f3b3d4d51315 debuginfo(build-id) = 24903fa18fe622fe949eec173f86cc37922a7663 debuginfo(build-id) = 2a74e580f98bc0858c37110f400d3e39dcc5b8aa debuginfo(build-id) = 2ce78f6a8c2207c41b1ee5130b2af0a38963f573 debuginfo(build-id) = 2e7eacf6c42e324e9300a5dae80037e579f5b16f debuginfo(build-id) = 300feb3bd9f1ada12780dbf3da1e67764ee062f0 debuginfo(build-id) = 3064e35f14786064430ac23ee6805aef4aaa26bf debuginfo(build-id) = 33767ee7f8375e4e6ce4aa334d5780c18aa1b88d debuginfo(build-id) = 344f23a01d0c07f2f322ceae9feb875cc099bc3a debuginfo(build-id) = 363e3068bd4dd6a7b4085826d5cceda0c296e3f7 debuginfo(build-id) = 3c2aa41250c12070939924bfe1f13b6f81a72ea3 debuginfo(build-id) = 3d37cae85d7cab43794b4441177aedb51b836dea debuginfo(build-id) = 3ffbb2fd84c6e459c29f8a98e39981d757a7fefd debuginfo(build-id) = 45bd3e9ce173ef60bcb0ecdd4065521af29fdc83 debuginfo(build-id) = 4b8ad4523387d1a4ff8bbd5ff4d169e06eb08da3 debuginfo(build-id) = 4d229d87a2f57c0348974a06b8bc72b4690df0b4 debuginfo(build-id) = 52cb3017c62a0acae54d99ee04530ed36ee3c852 debuginfo(build-id) = 551af492a018abb89e82424c9dbbf2070fb4b736 debuginfo(build-id) = 5d26987970dadac2063f34267a1ea8cbe8f44c00 debuginfo(build-id) = 5f195b0577a78fb4d0555feaea6b3f6770499e3e debuginfo(build-id) = 619f9b4229f8bed405163c82464c69d42e5e0b82 debuginfo(build-id) = 67e0452b5f84d176d78af89a3291ed0f892ba3c2 debuginfo(build-id) = 68285ec5d25bfbeeca91b5601e4f6725a513a4bb debuginfo(build-id) = 69898c13dcdf2dba74e9d8374573468b18568c78 debuginfo(build-id) = 6d85a5999dabc6017c29da874f82394b27487ac0 debuginfo(build-id) = 715ffc314fbf95fdefec41db3b04990eadeb6c85 debuginfo(build-id) = 771483de81e73d25b42fda93eb2f311701ed29c4 debuginfo(build-id) = 78a763b26b7122b2a8e334b4e634551e4caab47e debuginfo(build-id) = 7a129d3d986b8f8c0c4ea2e2dacbbb24963e7e7a debuginfo(build-id) = 7b6890be975539b6663a19a9f6b23f9c765e79c1 debuginfo(build-id) = 8b4e9a380a6f01f7f10a0b9871fdf844caa5396c debuginfo(build-id) = 949cba3009241915fcabfa8a6b4fe2bca9a4dec8 debuginfo(build-id) = 980b602df67dba9934d300ded0480c19b70588dd debuginfo(build-id) = 9dd54d01233edcf957542e15466197ff0a612845 debuginfo(build-id) = a20dc6db1e49c2de0f8173b1829bb779b144f6f9 debuginfo(build-id) = a2df1a167a54356388ba5f5ec2e2321213a9cffb debuginfo(build-id) = a47f74b8542aa1529c137adcddb590246309963f debuginfo(build-id) = a810e278e49aed3747a16a36f9d6773e73cd17ee debuginfo(build-id) = acd29ff57a3912623c8257e2a97cd59bd9eb91f8 debuginfo(build-id) = aed74ba43bc9441ce66ff72aeec729401f024617 debuginfo(build-id) = b200ae4ecfe49298a1f216536f61fd5b27850be3 debuginfo(build-id) = b77f4ded06cb0e517d1921e97041330c219999c6 debuginfo(build-id) = ba795de6e6c07c0ce068825a8c7290119d1dbb65 debuginfo(build-id) = c07673ee8862d81ed4d3510c64cb626930fd6116 debuginfo(build-id) = c65d5357f0376932661515d1596107e0172a1cca debuginfo(build-id) = c9306f25580a68b58ac28092505cc8aee2952234 debuginfo(build-id) = cb18c7cb7a6e4558664e8cd3344db44ae122c10f debuginfo(build-id) = cbe83a42b23427c8f7f6e9478395a5a9e1b9f417 debuginfo(build-id) = ce92bac01e3a3171bf8d8e64d7ff11b991563a07 debuginfo(build-id) = d577e5495e5f03aafe93ebf9f5b4d172860d394e debuginfo(build-id) = d589d5fc80ec1500f44f2879f4bcb8e294a4acf0 debuginfo(build-id) = d6c7fdfe68bb0df20d4df85f3a733a3a1bba2be7 debuginfo(build-id) = d8d3540acc632994fa2c047256ff596eb0448b18 debuginfo(build-id) = de2775b88a0b4af5007f65b20efab368b9173674 debuginfo(build-id) = f23f4c0a8a7cb5428e98423708a3273b8bd25b83 debuginfo(build-id) = fdfb8046b4c0dbae34239d224b2fbcbb8d1eb3ac debuginfo(build-id) = ffc63fbc358f2f703f28bf909bc85be03bbe86f9 thc-ipv6-debuginfo = 3.4-4.fc31 thc-ipv6-debuginfo(riscv-64) = 3.4-4.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: thc-ipv6-debugsource(riscv-64) = 3.4-4.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64 Wrote: /builddir/build/RPMS/thc-ipv6-debugsource-3.4-4.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/thc-ipv6-3.4-4.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/thc-ipv6-debuginfo-3.4-4.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.MyHRwy + umask 022 + cd /builddir/build/BUILD + cd thc-ipv6-3.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/thc-ipv6-3.4-4.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0