Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/thc-ipv6.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/epel-1-armhfp-8d02ede01b222dbb0743e2744c68a95d92650521/root'gid=135user='mockbuild'timeout=0logger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/thc-ipv6.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/thc-ipv6-3.8-1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/thc-ipv6.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/epel-1-armhfp-8d02ede01b222dbb0743e2744c68a95d92650521/root'gid=135user='mockbuild'timeout=0logger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/thc-ipv6.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.pyg71Z + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf thc-ipv6-3.8 + /usr/bin/gzip -dc /builddir/build/SOURCES/thc-ipv6-3.8.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd thc-ipv6-3.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/thc-ipv6-3.8-socket.patch + /usr/bin/patch -p1 -s + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.OLi4KV + umask 022 + cd /builddir/build/BUILD + cd thc-ipv6-3.8 ++ pkg-config --cflags-only-I openssl11 + OPENSSL_CFLAGS='-I/usr/include/openssl11 ' ++ pkg-config --libs-only-L openssl11 + OPENSSL_LDFLAGS='-L/usr/lib/openssl11 ' + /usr/bin/make -j4 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL' 'LDFLAGS=-Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto' cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -c -o thc-ipv6-lib.o thc-ipv6-lib.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o dnssecwalk dnssecwalk.c -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o dnsdict6 dnsdict6.c -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto -lpthread -lresolv thc-ipv6-lib.c: In function 'thc_ipv6_dummymac': thc-ipv6-lib.c:118:3: warning: pointer targets in return differ in signedness [-Wpointer-sign] return ptr; ^ thc-ipv6-lib.c: In function 'thc_pcap_function': thc-ipv6-lib.c:140:5: warning: pointer targets in passing argument 4 of 'pcap_dispatch' differ in signedness [-Wpointer-sign] if (pcap_dispatch(pcap_link, 1, (pcap_handler)function, opt) < 0) return -3; ^ In file included from /usr/include/pcap.h:45:0, from thc-ipv6-lib.c:45: /usr/include/pcap/pcap.h:373:5: note: expected 'u_char *' but argument is of type 'char *' int pcap_dispatch(pcap_t *, int, pcap_handler, u_char *); ^ thc-ipv6-lib.c: In function 'thc_pcap_init_promisc': thc-ipv6-lib.c:180:3: warning: pointer targets in passing argument 3 of 'pcap_compile' differ in signedness [-Wpointer-sign] else if (pcap_compile(pcap_link, &fcode, capture, 1, 0) < 0) ^ In file included from /usr/include/pcap.h:45:0, from thc-ipv6-lib.c:45: /usr/include/pcap/pcap.h:389:5: note: expected 'const char *' but argument is of type 'unsigned char *' int pcap_compile(pcap_t *, struct bpf_program *, const char *, int, ^ thc-ipv6-lib.c: In function 'thc_pcap_check': thc-ipv6-lib.c:189:3: warning: pointer targets in passing argument 4 of 'pcap_dispatch' differ in signedness [-Wpointer-sign] return pcap_dispatch(pcap_link, 1, (pcap_handler)function, opt); ^ In file included from /usr/include/pcap.h:45:0, from thc-ipv6-lib.c:45: /usr/include/pcap/pcap.h:373:5: note: expected 'u_char *' but argument is of type 'char *' int pcap_dispatch(pcap_t *, int, pcap_handler, u_char *); ^ thc-ipv6-lib.c: In function 'thc_notation2beauty': thc-ipv6-lib.c:203:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (ipv6[39] != 0 || strlen(ipv6) != 39) return; ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:208:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptr = ipv6 + i * 4 + i; ^ thc-ipv6-lib.c:238:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (ipv6[strlen(ipv6) - 1] == '0' && ipv6[strlen(ipv6) - 2] == ':' && ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:238:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (ipv6[strlen(ipv6) - 1] == '0' && ipv6[strlen(ipv6) - 2] == ':' && ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:240:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] ipv6[strlen(ipv6) - 1] = 0; ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:242:5: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(ipv6, buf); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from thc-ipv6-lib.c:13: /usr/include/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ thc-ipv6-lib.c: In function 'thc_ipv62string': thc-ipv6-lib.c:269:3: warning: pointer targets in return differ in signedness [-Wpointer-sign] return string; ^ thc-ipv6-lib.c: In function 'thc_ipv62notation': thc-ipv6-lib.c:315:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((res = thc_ipv62string(ipv6)) == NULL) return NULL; ^ thc-ipv6-lib.c:316:3: warning: pointer targets in passing argument 1 of 'thc_string2notation' differ in signedness [-Wpointer-sign] ptr = thc_string2notation(res); ^ thc-ipv6-lib.c:292:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *thc_string2notation(unsigned char *string) { ^ thc-ipv6-lib.c:316:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptr = thc_string2notation(res); ^ thc-ipv6-lib.c:318:3: warning: pointer targets in return differ in signedness [-Wpointer-sign] return ptr; ^ thc-ipv6-lib.c: In function 'thc_resolve6': thc-ipv6-lib.c:415:19: warning: pointer targets in passing argument 3 of 'getnameinfo' differ in signedness [-Wpointer-sign] sizeof(out), NULL, 0, NI_NUMERICHOST) != 0) ^ In file included from thc-ipv6-lib.c:33:0: /usr/include/netdb.h:677:12: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern int getnameinfo (const struct sockaddr *__restrict __sa, ^ thc-ipv6-lib.c:417:3: warning: pointer targets in passing argument 2 of 'inet_pton' differ in signedness [-Wpointer-sign] if (inet_pton(AF_INET6, out, glob_addr) < 0) return NULL; ^ In file included from thc-ipv6-lib.c:32:0: /usr/include/arpa/inet.h:58:12: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern int inet_pton (int __af, const char *__restrict __cp, ^ thc-ipv6-lib.c:422:3: warning: pointer targets in passing argument 1 of 'thc_dump_data' differ in signedness [-Wpointer-sign] if (debug) thc_dump_data(ret_addr, 16, "Target Resolve IPv6"); ^ In file included from thc-ipv6-lib.c:75:0: thc-ipv6.h:217:13: note: expected 'unsigned char *' but argument is of type 'char *' extern void thc_dump_data(unsigned char *buf, int len, char *text); ^ thc-ipv6-lib.c:424:3: warning: pointer targets in return differ in signedness [-Wpointer-sign] return ret_addr; ^ thc-ipv6-lib.c: In function 'thc_get_own_mac': thc-ipv6-lib.c:524:3: warning: pointer targets in passing argument 1 of 'thc_dump_data' differ in signedness [-Wpointer-sign] if (debug) thc_dump_data(mac, 6, "Own MAC address"); ^ In file included from thc-ipv6-lib.c:75:0: thc-ipv6.h:217:13: note: expected 'unsigned char *' but argument is of type 'char *' extern void thc_dump_data(unsigned char *buf, int len, char *text); ^ thc-ipv6-lib.c:525:3: warning: pointer targets in return differ in signedness [-Wpointer-sign] return mac; ^ thc-ipv6-lib.c: In function 'thc_get_own_ipv6': thc-ipv6-lib.c:580:5: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] while (done < 2 && fgets(buf, sizeof(buf), f) != NULL) { ^ In file included from /usr/include/stdio.h:937:0, from thc-ipv6-lib.c:13: /usr/include/bits/stdio2.h:253:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ thc-ipv6-lib.c:581:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:581:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:581:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:581:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:581:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:581:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:581:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:581:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:581:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:581:7: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ thc-ipv6-lib.c:581:7: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:581:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:581:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:581:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:581:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:581:7: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ thc-ipv6-lib.c:581:7: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:581:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:581:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:581:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:581:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:581:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:581:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:581:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:581:7: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ thc-ipv6-lib.c:581:7: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:581:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:581:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:581:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:581:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:581:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:581:7: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ thc-ipv6-lib.c:581:7: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:581:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:581:7: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ thc-ipv6-lib.c:583:9: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf(buf, "%s %x %x %x %s", tmpbuf, &a, &b, &c, bla); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from thc-ipv6-lib.c:13: /usr/include/stdio.h:448:12: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ thc-ipv6-lib.c:600:11: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(tmpbuf, tmpdst, b / 4) == 0) { ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:600:11: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(tmpbuf, tmpdst, b / 4) == 0) { ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:600:11: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(tmpbuf, tmpdst, b / 4) == 0) { ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:600:11: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(tmpbuf, tmpdst, b / 4) == 0) { ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:600:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(tmpbuf, tmpdst, b / 4) == 0) { ^ thc-ipv6-lib.c:600:11: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:600:11: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] thc-ipv6-lib.c:600:11: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:600:11: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:600:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(tmpbuf, tmpdst, b / 4) == 0) { ^ thc-ipv6-lib.c:600:11: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:600:11: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] thc-ipv6-lib.c:600:11: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:600:11: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:600:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(tmpbuf, tmpdst, b / 4) == 0) { ^ thc-ipv6-lib.c:600:11: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:600:11: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] thc-ipv6-lib.c:600:11: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:600:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] thc-ipv6-lib.c:600:11: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:600:11: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] thc-ipv6-lib.c:600:11: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:600:11: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ thc-ipv6-lib.c:600:11: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] if (strncmp(tmpbuf, tmpdst, b / 4) == 0) { ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ thc-ipv6-lib.c:621:11: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (((strncmp(tmpbuf, "fc", 2) == 0 || ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:621:11: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (((strncmp(tmpbuf, "fc", 2) == 0 || ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:621:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (((strncmp(tmpbuf, "fc", 2) == 0 || ^ thc-ipv6-lib.c:621:11: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:621:11: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:621:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (((strncmp(tmpbuf, "fc", 2) == 0 || ^ thc-ipv6-lib.c:621:11: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:621:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] thc-ipv6-lib.c:621:11: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:621:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] thc-ipv6-lib.c:621:11: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:621:11: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ thc-ipv6-lib.c:622:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strncmp(tmpbuf, "fd", 2) == 0) && ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:622:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strncmp(tmpbuf, "fd", 2) == 0) && ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:622:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strncmp(tmpbuf, "fd", 2) == 0) && ^ thc-ipv6-lib.c:622:17: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:622:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:622:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strncmp(tmpbuf, "fd", 2) == 0) && ^ thc-ipv6-lib.c:622:17: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:622:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] thc-ipv6-lib.c:622:17: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:622:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] thc-ipv6-lib.c:622:17: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:622:17: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ thc-ipv6-lib.c:623:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] (strncmp(tmpdst, "fc", 2) == 0 || ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:623:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] (strncmp(tmpdst, "fc", 2) == 0 || ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:623:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (strncmp(tmpdst, "fc", 2) == 0 || ^ thc-ipv6-lib.c:623:16: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:623:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:623:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (strncmp(tmpdst, "fc", 2) == 0 || ^ thc-ipv6-lib.c:623:16: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:623:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] thc-ipv6-lib.c:623:16: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:623:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] thc-ipv6-lib.c:623:16: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:623:16: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ thc-ipv6-lib.c:624:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strncmp(tmpdst, "fd", 2) == 0)) || ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:624:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strncmp(tmpdst, "fd", 2) == 0)) || ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:624:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strncmp(tmpdst, "fd", 2) == 0)) || ^ thc-ipv6-lib.c:624:17: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:624:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:624:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strncmp(tmpdst, "fd", 2) == 0)) || ^ thc-ipv6-lib.c:624:17: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:624:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] thc-ipv6-lib.c:624:17: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:624:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] thc-ipv6-lib.c:624:17: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:624:17: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ thc-ipv6-lib.c:636:11: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (save[2] == 0 && (((strncmp(tmpbuf, "fc", 2) == 0 || ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:636:11: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (save[2] == 0 && (((strncmp(tmpbuf, "fc", 2) == 0 || ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:636:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (save[2] == 0 && (((strncmp(tmpbuf, "fc", 2) == 0 || ^ thc-ipv6-lib.c:636:11: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:636:11: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:636:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (save[2] == 0 && (((strncmp(tmpbuf, "fc", 2) == 0 || ^ thc-ipv6-lib.c:636:11: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:636:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] thc-ipv6-lib.c:636:11: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:636:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] thc-ipv6-lib.c:636:11: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:636:11: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ thc-ipv6-lib.c:637:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strncmp(tmpbuf, "fd", 2) == 0) && ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:637:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strncmp(tmpbuf, "fd", 2) == 0) && ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:637:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strncmp(tmpbuf, "fd", 2) == 0) && ^ thc-ipv6-lib.c:637:34: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:637:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:637:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strncmp(tmpbuf, "fd", 2) == 0) && ^ thc-ipv6-lib.c:637:34: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:637:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] thc-ipv6-lib.c:637:34: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:637:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] thc-ipv6-lib.c:637:34: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:637:34: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ thc-ipv6-lib.c:639:32: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] ((strncmp(tmpdst, "fc", 2) == 0 || ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:639:32: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] ((strncmp(tmpdst, "fc", 2) == 0 || ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:639:32: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] ((strncmp(tmpdst, "fc", 2) == 0 || ^ thc-ipv6-lib.c:639:32: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:639:32: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:639:32: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] ((strncmp(tmpdst, "fc", 2) == 0 || ^ thc-ipv6-lib.c:639:32: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:639:32: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] thc-ipv6-lib.c:639:32: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:639:32: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] thc-ipv6-lib.c:639:32: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:639:32: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ thc-ipv6-lib.c:640:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strncmp(tmpdst, "fd", 2) == 0) && ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:640:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strncmp(tmpdst, "fd", 2) == 0) && ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:640:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strncmp(tmpdst, "fd", 2) == 0) && ^ thc-ipv6-lib.c:640:34: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:640:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:640:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strncmp(tmpdst, "fd", 2) == 0) && ^ thc-ipv6-lib.c:640:34: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:640:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] thc-ipv6-lib.c:640:34: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:640:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] thc-ipv6-lib.c:640:34: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:640:34: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ thc-ipv6-lib.c:654:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (done < 2 && strlen(&ipv6[2]) == 0 && strlen(&save[2]) > 0) { ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:654:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (done < 2 && strlen(&ipv6[2]) == 0 && strlen(&save[2]) > 0) { ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:662:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strlen(&save[2]) > 0 && prefer == PREFER_GLOBAL && ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:663:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strncmp(ipv6 + 2, "fe80", 2) == 0) { ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:663:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strncmp(ipv6 + 2, "fe80", 2) == 0) { ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:663:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strncmp(ipv6 + 2, "fe80", 2) == 0) { ^ thc-ipv6-lib.c:663:7: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:663:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:663:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strncmp(ipv6 + 2, "fe80", 2) == 0) { ^ thc-ipv6-lib.c:663:7: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:663:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] thc-ipv6-lib.c:663:7: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:663:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] thc-ipv6-lib.c:663:7: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:663:7: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ thc-ipv6-lib.c:669:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strlen(&ipv6[2]) == 0) { ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:682:3: warning: pointer targets in passing argument 1 of 'thc_resolve6' differ in signedness [-Wpointer-sign] myipv6 = thc_resolve6(tmpdst); ^ thc-ipv6-lib.c:389:16: note: expected 'char *' but argument is of type 'unsigned char *' unsigned char *thc_resolve6(char *target) { ^ thc-ipv6-lib.c:682:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] myipv6 = thc_resolve6(tmpdst); ^ thc-ipv6-lib.c:685:3: warning: pointer targets in passing argument 1 of 'thc_dump_data' differ in signedness [-Wpointer-sign] if (debug) thc_dump_data(myipv6, 16, "Own IPv6 address"); ^ In file included from thc-ipv6-lib.c:75:0: thc-ipv6.h:217:13: note: expected 'unsigned char *' but argument is of type 'char *' extern void thc_dump_data(unsigned char *buf, int len, char *text); ^ thc-ipv6-lib.c:686:3: warning: pointer targets in return differ in signedness [-Wpointer-sign] return myipv6; ^ thc-ipv6-lib.c: In function 'thc_lookup_ipv6_mac': thc-ipv6-lib.c:743:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((p1 = thc_get_own_ipv6(interface, dst, PREFER_LINK)) == NULL) return NULL; ^ thc-ipv6-lib.c:745:3: warning: pointer targets in passing argument 1 of 'thc_ipv62notation' differ in signedness [-Wpointer-sign] if ((p2 = thc_ipv62notation(p1)) == NULL) { ^ thc-ipv6-lib.c:311:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *thc_ipv62notation(unsigned char *ipv6) { ^ thc-ipv6-lib.c:745:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((p2 = thc_ipv62notation(p1)) == NULL) { ^ thc-ipv6-lib.c:759:5: warning: pointer targets in passing argument 2 of 'thc_neighborsol6' differ in signedness [-Wpointer-sign] thc_neighborsol6(interface, mysrc, NULL, dst, NULL, NULL); ^ In file included from thc-ipv6-lib.c:75:0: thc-ipv6.h:119:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_neighborsol6(char *interface, unsigned char *src, ^ thc-ipv6-lib.c: In function 'thc_look_neighborcache': thc-ipv6-lib.c:804:49: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] recvfrom(fd, buf, sizeof(buf), 0, (struct sockaddr *)&nladdr, &fromlen); ^ In file included from /usr/include/sys/socket.h:281:0, from /usr/include/net/if.h:26, from thc-ipv6-lib.c:22: /usr/include/bits/socket2.h:64:1: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, ^ thc-ipv6-lib.c:810:3: warning: pointer targets in passing argument 1 of 'thc_memstr' differ in signedness [-Wpointer-sign] if ((ptr = thc_memstr(buf, dst, gotsize /* - (ptr - buf) */, 16)) == NULL) ^ In file included from thc-ipv6-lib.c:75:0: thc-ipv6.h:222:23: note: expected 'char *' but argument is of type 'unsigned char *' extern unsigned char *thc_memstr(char *haystack, char *needle, ^ thc-ipv6-lib.c:810:3: warning: pointer targets in passing argument 2 of 'thc_memstr' differ in signedness [-Wpointer-sign] if ((ptr = thc_memstr(buf, dst, gotsize /* - (ptr - buf) */, 16)) == NULL) ^ In file included from thc-ipv6-lib.c:75:0: thc-ipv6.h:222:23: note: expected 'char *' but argument is of type 'unsigned char *' extern unsigned char *thc_memstr(char *haystack, char *needle, ^ thc-ipv6-lib.c: In function 'thc_is_dst_local': thc-ipv6-lib.c:842:3: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] while (local == 0 && fgets(buf, sizeof(buf), f) != NULL) { ^ In file included from /usr/include/stdio.h:937:0, from thc-ipv6-lib.c:13: /usr/include/bits/stdio2.h:253:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ thc-ipv6-lib.c:843:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:843:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:843:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:843:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:843:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:843:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:843:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:843:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:843:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:843:5: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ thc-ipv6-lib.c:843:5: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:843:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:843:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:843:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:843:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:843:5: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ thc-ipv6-lib.c:843:5: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:843:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:843:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:843:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:843:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:843:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:843:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:843:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:843:5: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ thc-ipv6-lib.c:843:5: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:843:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:843:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:843:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:843:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:843:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:843:5: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ thc-ipv6-lib.c:843:5: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:843:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:843:5: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ thc-ipv6-lib.c:845:7: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf(buf, "%s %x %x %x %s", tmpbuf, &a, &b, &c, bla); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from thc-ipv6-lib.c:13: /usr/include/stdio.h:448:12: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ thc-ipv6-lib.c:846:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(tmpbuf, tmpdst, b / 4) == 0) { ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:846:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(tmpbuf, tmpdst, b / 4) == 0) { ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:846:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(tmpbuf, tmpdst, b / 4) == 0) { ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:846:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(tmpbuf, tmpdst, b / 4) == 0) { ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:846:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(tmpbuf, tmpdst, b / 4) == 0) { ^ thc-ipv6-lib.c:846:7: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:846:7: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] thc-ipv6-lib.c:846:7: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:846:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:846:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(tmpbuf, tmpdst, b / 4) == 0) { ^ thc-ipv6-lib.c:846:7: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:846:7: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] thc-ipv6-lib.c:846:7: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:846:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:846:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(tmpbuf, tmpdst, b / 4) == 0) { ^ thc-ipv6-lib.c:846:7: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:846:7: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] thc-ipv6-lib.c:846:7: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:846:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] thc-ipv6-lib.c:846:7: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:846:7: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] thc-ipv6-lib.c:846:7: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:846:7: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ thc-ipv6-lib.c:846:7: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] if (strncmp(tmpbuf, tmpdst, b / 4) == 0) { ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ thc-ipv6-lib.c: In function 'thc_get_mac': thc-ipv6-lib.c:887:3: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] while (local == 0 && fgets(buf, sizeof(buf), f) != NULL) { ^ In file included from /usr/include/stdio.h:937:0, from thc-ipv6-lib.c:13: /usr/include/bits/stdio2.h:253:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ thc-ipv6-lib.c:888:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:888:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:888:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:888:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:888:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:888:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:888:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:888:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:888:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:888:5: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ thc-ipv6-lib.c:888:5: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:888:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:888:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:888:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:888:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:888:5: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ thc-ipv6-lib.c:888:5: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:888:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:888:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:888:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:888:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:888:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:888:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:888:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:888:5: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ thc-ipv6-lib.c:888:5: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:888:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:888:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:888:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:888:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:888:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:888:5: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ thc-ipv6-lib.c:888:5: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:888:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:888:5: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ thc-ipv6-lib.c:890:7: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf(buf, "%s %x %x %x %s", tmpbuf, &a, &b, &c, bla); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from thc-ipv6-lib.c:13: /usr/include/stdio.h:448:12: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ thc-ipv6-lib.c:891:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(tmpbuf, tmpdst, b / 4) == 0) { ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:891:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(tmpbuf, tmpdst, b / 4) == 0) { ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:891:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(tmpbuf, tmpdst, b / 4) == 0) { ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:891:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(tmpbuf, tmpdst, b / 4) == 0) { ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:891:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(tmpbuf, tmpdst, b / 4) == 0) { ^ thc-ipv6-lib.c:891:7: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:891:7: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] thc-ipv6-lib.c:891:7: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:891:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:891:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(tmpbuf, tmpdst, b / 4) == 0) { ^ thc-ipv6-lib.c:891:7: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:891:7: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] thc-ipv6-lib.c:891:7: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:891:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:891:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(tmpbuf, tmpdst, b / 4) == 0) { ^ thc-ipv6-lib.c:891:7: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:891:7: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] thc-ipv6-lib.c:891:7: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:891:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] thc-ipv6-lib.c:891:7: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:891:7: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] thc-ipv6-lib.c:891:7: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:891:7: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ thc-ipv6-lib.c:891:7: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] if (strncmp(tmpbuf, tmpdst, b / 4) == 0) { ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ thc-ipv6-lib.c:911:5: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] while (local == 0 && fgets(buf, sizeof(buf), f) != NULL) { ^ In file included from /usr/include/stdio.h:937:0, from thc-ipv6-lib.c:13: /usr/include/bits/stdio2.h:253:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ thc-ipv6-lib.c:912:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:912:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:912:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:912:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:912:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:912:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:912:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:912:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:912:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:912:7: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ thc-ipv6-lib.c:912:7: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:912:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:912:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:912:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:912:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:912:7: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ thc-ipv6-lib.c:912:7: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:912:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:912:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:912:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:912:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:912:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:912:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:912:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:912:7: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ thc-ipv6-lib.c:912:7: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:912:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:912:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:912:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:912:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:912:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:912:7: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ thc-ipv6-lib.c:912:7: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:912:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:912:7: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ thc-ipv6-lib.c:914:9: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf(buf, "%s %x %s %x %s %s", tmpbuf, &b, router1, &a, router2, bla); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from thc-ipv6-lib.c:13: /usr/include/stdio.h:448:12: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ thc-ipv6-lib.c:916:11: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(tmpbuf, tmpdst, b / 4) == 0) { ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:916:11: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(tmpbuf, tmpdst, b / 4) == 0) { ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:916:11: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(tmpbuf, tmpdst, b / 4) == 0) { ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:916:11: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(tmpbuf, tmpdst, b / 4) == 0) { ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:916:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(tmpbuf, tmpdst, b / 4) == 0) { ^ thc-ipv6-lib.c:916:11: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:916:11: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] thc-ipv6-lib.c:916:11: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:916:11: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:916:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(tmpbuf, tmpdst, b / 4) == 0) { ^ thc-ipv6-lib.c:916:11: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:916:11: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] thc-ipv6-lib.c:916:11: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:916:11: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:916:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(tmpbuf, tmpdst, b / 4) == 0) { ^ thc-ipv6-lib.c:916:11: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:916:11: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] thc-ipv6-lib.c:916:11: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:916:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] thc-ipv6-lib.c:916:11: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:916:11: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] thc-ipv6-lib.c:916:11: note: expected 'const char *' but argument is of type 'unsigned char *' thc-ipv6-lib.c:916:11: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ thc-ipv6-lib.c:916:11: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] if (strncmp(tmpbuf, tmpdst, b / 4) == 0) { ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ thc-ipv6-lib.c:925:11: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(defaultgw, router2); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from thc-ipv6-lib.c:13: /usr/include/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ thc-ipv6-lib.c:925:11: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(defaultgw, router2); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from thc-ipv6-lib.c:13: /usr/include/bits/string3.h:102:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ thc-ipv6-lib.c:929:11: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(tmpdst, router2); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from thc-ipv6-lib.c:13: /usr/include/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ thc-ipv6-lib.c:929:11: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(tmpdst, router2); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from thc-ipv6-lib.c:13: /usr/include/bits/string3.h:102:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ thc-ipv6-lib.c:933:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (local == 0 && strlen(defaultgw) > 0) { ^ In file included from thc-ipv6-lib.c:14:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ thc-ipv6-lib.c:936:7: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(tmpdst, defaultgw); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from thc-ipv6-lib.c:13: /usr/include/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ thc-ipv6-lib.c:936:7: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(tmpdst, defaultgw); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from thc-ipv6-lib.c:13: /usr/include/bits/string3.h:102:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ thc-ipv6-lib.c:950:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p1 = thc_string2ipv6(tmpdst); ^ thc-ipv6-lib.c:951:3: warning: pointer targets in passing argument 1 of 'thc_look_neighborcache' differ in signedness [-Wpointer-sign] if ((ret = thc_look_neighborcache(p1)) != NULL) { ^ thc-ipv6-lib.c:788:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *thc_look_neighborcache(unsigned char *dst) { ^ thc-ipv6-lib.c:951:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((ret = thc_look_neighborcache(p1)) != NULL) { ^ thc-ipv6-lib.c:954:5: warning: pointer targets in return differ in signedness [-Wpointer-sign] return ret; ^ thc-ipv6-lib.c:956:3: warning: pointer targets in passing argument 2 of 'thc_lookup_ipv6_mac' differ in signedness [-Wpointer-sign] ret = thc_lookup_ipv6_mac(interface, p1); ^ thc-ipv6-lib.c:731:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *thc_lookup_ipv6_mac(char *interface, unsigned char *dst) { ^ thc-ipv6-lib.c:956:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ret = thc_lookup_ipv6_mac(interface, p1); ^ thc-ipv6-lib.c:959:3: warning: pointer targets in return differ in signedness [-Wpointer-sign] return ret; ^ thc-ipv6-lib.c: In function 'thc_inverse_packet': thc-ipv6-lib.c:965:23: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char * src = &pkt[8], *dst = &pkt[24]; ^ thc-ipv6-lib.c:965:39: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char * src = &pkt[8], *dst = &pkt[24]; ^ thc-ipv6-lib.c:1001:43: warning: pointer targets in passing argument 1 of 'checksum_pseudo_header' differ in signedness [-Wpointer-sign] pkt_len - iptr); ^ thc-ipv6-lib.c:339:5: note: expected 'unsigned char *' but argument is of type 'char *' int checksum_pseudo_header(unsigned char *src, unsigned char *dst, ^ thc-ipv6-lib.c:1001:43: warning: pointer targets in passing argument 2 of 'checksum_pseudo_header' differ in signedness [-Wpointer-sign] pkt_len - iptr); ^ thc-ipv6-lib.c:339:5: note: expected 'unsigned char *' but argument is of type 'char *' int checksum_pseudo_header(unsigned char *src, unsigned char *dst, ^ thc-ipv6-lib.c: In function 'thc_send_raguard_bypass6': thc-ipv6-lib.c:1061:56: warning: unused variable 'last_size' [-Wunused-variable] int count, id = time(NULL) % 2000000000, offset = 0, last_size, more_runs = 1, ^ thc-ipv6-lib.c:1061:7: warning: unused variable 'count' [-Wunused-variable] int count, id = time(NULL) % 2000000000, offset = 0, last_size, more_runs = 1, ^ thc-ipv6-lib.c:1059:27: warning: unused variable 'frag_len' [-Wunused-variable] int pkt_len, frag_len, mymtu = thc_get_mtu(interface); ^ thc-ipv6-lib.c: In function 'thc_create_ipv6_extended': thc-ipv6-lib.c:1942:3: warning: pointer targets in return differ in signedness [-Wpointer-sign] return pkt; ^ thc-ipv6-lib.c: In function 'thc_add_ipv4_rudimentary': thc-ipv6-lib.c:2048:39: warning: pointer targets in passing argument 4 of 'checksum_pseudo_header' differ in signedness [-Wpointer-sign] THC_IPv4_RUDIMENTARY_LEN - 20); ^ thc-ipv6-lib.c:339:5: note: expected 'unsigned char *' but argument is of type 'char *' int checksum_pseudo_header(unsigned char *src, unsigned char *dst, ^ thc-ipv6-lib.c:2063:3: warning: pointer targets in passing argument 4 of 'checksum_pseudo_header' differ in signedness [-Wpointer-sign] checksum = checksum_pseudo_header(NULL, NULL, NXT_IP4, ihdr, 20); ^ thc-ipv6-lib.c:339:5: note: expected 'unsigned char *' but argument is of type 'char *' int checksum_pseudo_header(unsigned char *src, unsigned char *dst, ^ thc-ipv6-lib.c: In function 'thc_open_ipv6': thc-ipv6-lib.c:2677:5: warning: pointer targets in passing argument 1 of 'thc_dump_data' differ in signedness [-Wpointer-sign] if (debug) thc_dump_data(do_hdr, do_hdr_size + do_hdr_off, "PPPoE Header"); ^ In file included from thc-ipv6-lib.c:75:0: thc-ipv6.h:217:13: note: expected 'unsigned char *' but argument is of type 'char *' extern void thc_dump_data(unsigned char *buf, int len, char *text); ^ thc-ipv6-lib.c:2745:5: warning: pointer targets in passing argument 1 of 'thc_dump_data' differ in signedness [-Wpointer-sign] if (debug) thc_dump_data(do_hdr, do_hdr_size, "6in4 Header"); ^ In file included from thc-ipv6-lib.c:75:0: thc-ipv6.h:217:13: note: expected 'unsigned char *' but argument is of type 'char *' extern void thc_dump_data(unsigned char *buf, int len, char *text); ^ thc-ipv6-lib.c: In function 'thc_generate_pkt': thc-ipv6-lib.c:2839:9: warning: pointer targets in passing argument 1 of 'calculate_checksum' differ in signedness [-Wpointer-sign] i = calculate_checksum(do_hdr + 14 + do_hdr_off, 20); ^ thc-ipv6-lib.c:321:5: note: expected 'unsigned char *' but argument is of type 'char *' int calculate_checksum(unsigned char *data, int data_len) { ^ thc-ipv6-lib.c:2855:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] mysrcmac = thc_get_own_mac(interface); ^ thc-ipv6-lib.c:2857:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] mysrcmac = srcmac; ^ thc-ipv6-lib.c:2860:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] mydstmac = thc_get_mac(interface, hdr->src, hdr->dst); ^ thc-ipv6-lib.c:2862:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] mydstmac = dstmac; ^ thc-ipv6-lib.c:2891:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] last_type = &hdr->pkt[7 + offset]; ^ thc-ipv6-lib.c:2899:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] checksum_src = hdr->original_src; ^ thc-ipv6-lib.c:2914:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] last_type = &hdr->pkt[bufptr]; ^ thc-ipv6-lib.c:2919:24: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] checksum_src = &hdr->pkt[bufptr + 4]; ^ thc-ipv6-lib.c:2947:34: warning: pointer targets in passing argument 1 of 'checksum_pseudo_header' differ in signedness [-Wpointer-sign] &hdr->pkt[bufptr], ehdr->data_len); ^ thc-ipv6-lib.c:339:5: note: expected 'unsigned char *' but argument is of type 'char *' int checksum_pseudo_header(unsigned char *src, unsigned char *dst, ^ thc-ipv6-lib.c:2972:36: warning: pointer targets in passing argument 1 of 'checksum_pseudo_header' differ in signedness [-Wpointer-sign] &hdr->pkt[bufptr], 8 + ihdr->data_len); ^ thc-ipv6-lib.c:339:5: note: expected 'unsigned char *' but argument is of type 'char *' int checksum_pseudo_header(unsigned char *src, unsigned char *dst, ^ thc-ipv6-lib.c:3022:13: warning: pointer targets in passing argument 1 of 'checksum_pseudo_header' differ in signedness [-Wpointer-sign] 20 + thdr->option_len + thdr->data_len); ^ thc-ipv6-lib.c:339:5: note: expected 'unsigned char *' but argument is of type 'char *' int checksum_pseudo_header(unsigned char *src, unsigned char *dst, ^ thc-ipv6-lib.c:3062:36: warning: pointer targets in passing argument 1 of 'checksum_pseudo_header' differ in signedness [-Wpointer-sign] &hdr->pkt[bufptr], 8 + uhdr->data_len); ^ thc-ipv6-lib.c:339:5: note: expected 'unsigned char *' but argument is of type 'char *' int checksum_pseudo_header(unsigned char *src, unsigned char *dst, ^ thc-ipv6-lib.c:3085:36: warning: pointer targets in passing argument 1 of 'checksum_pseudo_header' differ in signedness [-Wpointer-sign] &hdr->pkt[bufptr], ehdr->data_len); ^ thc-ipv6-lib.c:339:5: note: expected 'unsigned char *' but argument is of type 'char *' int checksum_pseudo_header(unsigned char *src, unsigned char *dst, ^ thc-ipv6-lib.c:2814:55: warning: variable 'is_ip4' set but not used [-Wunused-but-set-variable] int type, bufptr, do_checksum = 0, offset = 0, i, is_ip4 = 0, malloc_size; ^ thc-ipv6-lib.c: In function 'thc_send_pkt': thc-ipv6-lib.c:3117:22: warning: unused variable 'sa' [-Wunused-variable] struct thcsockaddr sa; ^ thc-ipv6-lib.c: In function 'thc_destroy_packet': thc-ipv6-lib.c:3177:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptrs[iptr] = pkt; ^ thc-ipv6-lib.c:3188:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptrs[iptr] = ehdr->data; ^ thc-ipv6-lib.c:3201:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptrs[iptr] = ihdr->data; ^ thc-ipv6-lib.c:3208:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptrs[iptr] = thdr->option; ^ thc-ipv6-lib.c:3210:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptrs[iptr] = thdr->data; ^ thc-ipv6-lib.c:3217:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptrs[iptr] = uhdr->data; ^ thc-ipv6-lib.c:3227:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptrs[iptr] = ehdr->data; ^ thc-ipv6-lib.c:3234:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptrs[iptr] = ehdr->data; ^ thc-ipv6-lib.c: In function 'thc_memstr': thc-ipv6-lib.c:3319:59: warning: pointer targets in return differ in signedness [-Wpointer-sign] if (memcmp(haystack + i, needle, needle_length) == 0) return (haystack + i); ^ thc-ipv6-lib.c: In function 'thc_generate_cga': thc-ipv6-lib.c:3419:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] cga_hdr->pad = (char *)malloc(cga_hdr->pad_len); ^ thc-ipv6-lib.c:3423:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((*cga = (char *)malloc(16)) == NULL) { ^ thc-ipv6-lib.c:3367:42: warning: variable 'ignore' set but not used [-Wunused-but-set-variable] int klen, rand_fd, cgasize, ignore = 0; ^ thc-ipv6-lib.c: In function 'thc_generate_rsa': thc-ipv6-lib.c:3483:5: warning: pointer targets in passing argument 1 of 'SHA1' differ in signedness [-Wpointer-sign] SHA1(data2sign, data2sign_len, hash); ^ In file included from thc-ipv6-lib.c:50:0: /usr/include/openssl11/openssl/sha.h:44:16: note: expected 'const unsigned char *' but argument is of type 'char *' unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md); ^ thc-ipv6-lib.c:3495:3: warning: pointer targets in passing argument 4 of 'RSA_sign' differ in signedness [-Wpointer-sign] if (RSA_sign(NID_sha1, hash, 20, rsa_hdr->sign, &sign_len, key->rsa) == 0) { ^ In file included from thc-ipv6-lib.c:51:0: /usr/include/openssl11/openssl/rsa.h:314:5: note: expected 'unsigned char *' but argument is of type 'char *' int RSA_sign(int type, const unsigned char *m, unsigned int m_length, ^ thc-ipv6-lib.c:3495:3: warning: pointer targets in passing argument 5 of 'RSA_sign' differ in signedness [-Wpointer-sign] if (RSA_sign(NID_sha1, hash, 20, rsa_hdr->sign, &sign_len, key->rsa) == 0) { ^ In file included from thc-ipv6-lib.c:51:0: /usr/include/openssl11/openssl/rsa.h:314:5: note: expected 'unsigned int *' but argument is of type 'int *' int RSA_sign(int type, const unsigned char *m, unsigned int m_length, ^ thc-ipv6-lib.c:3471:44: warning: variable 'ignore' set but not used [-Wunused-but-set-variable] int rsa_hdr_len, sign_len, fd, ignore = 0; ^ thc-ipv6-lib.c: In function 'thc_add_send': thc-ipv6-lib.c:3572:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((ndp_opt_buff = (char *)malloc(ndp_opt_len)) == NULL) { ^ dnsdict6.c: In function 'dnsquerycode': dnsdict6.c:371:3: warning: pointer targets in passing argument 4 of '__res_query' differ in signedness [-Wpointer-sign] res_query(dom, ns_c_in, type, vbuf, sizeof(vbuf)); ^ thc-ipv6-lib.c:3602:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((data2sign = (char *)malloc(data2sign_len)) == NULL) { ^ In file included from dnsdict6.c:27:0: /usr/include/resolv.h:278:6: note: expected 'unsigned char *' but argument is of type 'char *' int res_query (const char *, int, int, unsigned char *, int) ^ thc-ipv6-lib.c:3619:45: warning: pointer targets in passing argument 4 of 'checksum_pseudo_header' differ in signedness [-Wpointer-sign] 8 + ndp_opt_len); ^ thc-ipv6-lib.c:339:5: note: expected 'unsigned char *' but argument is of type 'char *' int checksum_pseudo_header(unsigned char *src, unsigned char *dst, ^ thc-ipv6-lib.c:3627:3: warning: pointer targets in passing argument 1 of 'thc_generate_rsa' differ in signedness [-Wpointer-sign] if ((rsa_hdr = thc_generate_rsa(data2sign, data2sign_len, cga_hdr, key)) == ^ thc-ipv6-lib.c:3467:14: note: expected 'char *' but argument is of type 'unsigned char *' thc_rsa_hdr *thc_generate_rsa(char *data2sign, int data2sign_len, ^ dnsdict6.c: In function 'main': dnsdict6.c:657:21: warning: unused variable 'typ' [-Wunused-variable] char typ = 't', **sub_orig; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o parasite6 parasite6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o dos-new-ip6 dos-new-ip6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o detect-new-ip6 detect-new-ip6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o fake_router6 fake_router6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto dos-new-ip6.c: In function 'intercept': dos-new-ip6.c:89:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptr4 = thc_ipv62notation(ipv6->pkt + 22); ^ dos-new-ip6.c:93:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptr4 = thc_ipv62notation(ipv6->pkt + 62); ^ dos-new-ip6.c:41:18: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len = header->caplen - 14; ^ fake_router6.c: In function 'send_rs_reply': fake_router6.c:54:5: warning: pointer targets in passing argument 3 of 'thc_add_hdr_hopbyhop' differ in signedness [-Wpointer-sign] if (thc_add_hdr_hopbyhop(pkt, &pkt_len, frbuf2, frbuf2len) < 0) return; ^ In file included from fake_router6.c:11:0: thc-ipv6.h:178:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_add_hdr_hopbyhop(unsigned char *pkt, int *pkt_len, ^ fake_router6.c:63:5: warning: pointer targets in passing argument 3 of 'thc_add_hdr_dst' differ in signedness [-Wpointer-sign] if (thc_add_hdr_dst(pkt, &pkt_len, buf3, sizeof(buf3)) < 0) return; ^ In file included from fake_router6.c:11:0: thc-ipv6.h:176:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_add_hdr_dst(unsigned char *pkt, int *pkt_len, unsigned char *buf, ^ fake_router6.c:66:21: warning: pointer targets in passing argument 6 of 'thc_add_icmp6' differ in signedness [-Wpointer-sign] frbuflen, 0) < 0) ^ In file included from fake_router6.c:11:0: thc-ipv6.h:181:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_add_icmp6(unsigned char *pkt, int *pkt_len, int type, int code, ^ fake_router6.c: In function 'main': fake_router6.c:82:46: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] unsigned char *routerip6, *route6, *mac6 = mac, *ip6; ^ fake_router6.c:120:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] frbuf = buf; ^ fake_router6.c:121:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] frbuf2 = buf2; ^ fake_router6.c:127:34: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (argc - optind >= 7 && (ptr = argv[optind + 5]) != NULL) ^ fake_router6.c:131:12: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] (unsigned int *)&mac[5]); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from fake_router6.c:1: /usr/include/stdio.h:448:12: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ fake_router6.c:149:32: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (routerip == NULL || (ptr = index(routerip, '/')) == NULL) { ^ fake_router6.c:156:3: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] size = atoi(ptr); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from fake_router6.c:1: /usr/include/stdlib.h:278:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (atoi (const char *__nptr)) ^ fake_router6.c:197:3: warning: pointer targets in passing argument 2 of 'thc_pcap_init' differ in signedness [-Wpointer-sign] if ((p = thc_pcap_init(interface, string)) == NULL) { ^ In file included from fake_router6.c:11:0: thc-ipv6.h:95:16: note: expected 'char *' but argument is of type 'unsigned char *' extern pcap_t *thc_pcap_init(char *interface, char *capture); ^ fake_router6.c:284:5: warning: pointer targets in passing argument 3 of 'thc_add_hdr_hopbyhop' differ in signedness [-Wpointer-sign] if (thc_add_hdr_hopbyhop(pkt, &pkt_len, frbuf2, 6) < 0) return -1; ^ In file included from fake_router6.c:11:0: thc-ipv6.h:178:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_add_hdr_hopbyhop(unsigned char *pkt, int *pkt_len, ^ fake_router6.c:293:5: warning: pointer targets in passing argument 3 of 'thc_add_hdr_dst' differ in signedness [-Wpointer-sign] if (thc_add_hdr_dst(pkt, &pkt_len, buf3, sizeof(buf3)) < 0) return -1; ^ In file included from fake_router6.c:11:0: thc-ipv6.h:176:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_add_hdr_dst(unsigned char *pkt, int *pkt_len, unsigned char *buf, ^ fake_router6.c:91:18: warning: variable 'rawmode' set but not used [-Wunused-but-set-variable] int rawmode = 0; ^ detect-new-ip6.c: In function 'intercept': detect-new-ip6.c:58:3: warning: pointer targets in passing argument 1 of 'thc_ipv62notation' differ in signedness [-Wpointer-sign] ptr4 = thc_ipv62notation((char *)(ipv6hdr + 48)); ^ In file included from detect-new-ip6.c:11:0: thc-ipv6.h:221:23: note: expected 'unsigned char *' but argument is of type 'char *' extern unsigned char *thc_ipv62notation(unsigned char *string); ^ detect-new-ip6.c:58:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptr4 = thc_ipv62notation((char *)(ipv6hdr + 48)); ^ parasite6.c: In function 'intercept': parasite6.c:86:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptr2 = thc_ipv62notation(ipv6->pkt + 38); ^ parasite6.c:87:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptr4 = thc_ipv62notation(ipv6->pkt + 22); ^ parasite6.c:128:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptr2 = thc_ipv62notation(ipv62->pkt + 38); ^ parasite6.c:129:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptr4 = thc_ipv62notation(ipv62->pkt + 22); ^ parasite6.c: In function 'main': parasite6.c:187:27: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] unsigned char *ownmac = mac; ^ parasite6.c:243:41: warning: pointer targets in passing argument 4 of 'thc_create_ipv6_extended' differ in signedness [-Wpointer-sign] dummy, 255, 0, 0, 0, 0)) == NULL) ^ In file included from parasite6.c:10:0: thc-ipv6.h:160:23: note: expected 'unsigned char *' but argument is of type 'char *' extern unsigned char *thc_create_ipv6_extended(char *interface, int prefer, ^ parasite6.c:243:41: warning: pointer targets in passing argument 5 of 'thc_create_ipv6_extended' differ in signedness [-Wpointer-sign] dummy, 255, 0, 0, 0, 0)) == NULL) ^ In file included from parasite6.c:10:0: thc-ipv6.h:160:23: note: expected 'unsigned char *' but argument is of type 'char *' extern unsigned char *thc_create_ipv6_extended(char *interface, int prefer, ^ parasite6.c:247:7: warning: pointer targets in passing argument 3 of 'thc_add_hdr_hopbyhop' differ in signedness [-Wpointer-sign] if (thc_add_hdr_hopbyhop(pkt, &pkt_len, buf2, sizeof(buf2)) < 0) ^ dos-new-ip6.c: In function 'main': In file included from parasite6.c:10:0: thc-ipv6.h:178:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_add_hdr_hopbyhop(unsigned char *pkt, int *pkt_len, ^ dos-new-ip6.c:162:41: warning: pointer targets in passing argument 4 of 'thc_create_ipv6_extended' differ in signedness [-Wpointer-sign] dst, 255, 0, 0, 0, 0)) == NULL) ^ In file included from dos-new-ip6.c:11:0: thc-ipv6.h:160:23: note: expected 'unsigned char *' but argument is of type 'char *' extern unsigned char *thc_create_ipv6_extended(char *interface, int prefer, ^ parasite6.c:257:7: warning: pointer targets in passing argument 3 of 'thc_add_hdr_dst' differ in signedness [-Wpointer-sign] if (thc_add_hdr_dst(pkt, &pkt_len, buf3, sizeof(buf3)) < 0) return -1; ^ dos-new-ip6.c:165:23: warning: pointer targets in passing argument 6 of 'thc_add_icmp6' differ in signedness [-Wpointer-sign] ICMP6_NEIGHBORADV_OVERRIDE, dummy, 24, 0) < 0) ^ In file included from parasite6.c:10:0: thc-ipv6.h:176:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_add_hdr_dst(unsigned char *pkt, int *pkt_len, unsigned char *buf, ^ In file included from dos-new-ip6.c:11:0: thc-ipv6.h:181:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_add_icmp6(unsigned char *pkt, int *pkt_len, int type, int code, ^ parasite6.c:262:23: warning: pointer targets in passing argument 6 of 'thc_add_icmp6' differ in signedness [-Wpointer-sign] dummy, 24, 0) < 0) ^ dos-new-ip6.c:175:41: warning: pointer targets in passing argument 4 of 'thc_create_ipv6_extended' differ in signedness [-Wpointer-sign] dst, 255, 0, 0, 0, 0)) == NULL) ^ In file included from parasite6.c:10:0: thc-ipv6.h:181:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_add_icmp6(unsigned char *pkt, int *pkt_len, int type, int code, ^ In file included from dos-new-ip6.c:11:0: thc-ipv6.h:160:23: note: expected 'unsigned char *' but argument is of type 'char *' extern unsigned char *thc_create_ipv6_extended(char *interface, int prefer, ^ parasite6.c:264:5: warning: pointer targets in passing argument 3 of 'thc_generate_pkt' differ in signedness [-Wpointer-sign] if (thc_generate_pkt(interface, ownmac, dummy, pkt, &pkt_len) < 0) ^ dos-new-ip6.c:177:5: warning: pointer targets in passing argument 6 of 'thc_add_icmp6' differ in signedness [-Wpointer-sign] if (thc_add_icmp6(pkt, &pkt_len, ICMP6_NEIGHBORSOL, 0, 0, dummy, 16, 0) < 0) ^ In file included from parasite6.c:10:0: thc-ipv6.h:206:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_generate_pkt(char *interface, unsigned char *srcmac, ^ In file included from dos-new-ip6.c:11:0: thc-ipv6.h:181:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_add_icmp6(unsigned char *pkt, int *pkt_len, int type, int code, ^ fake_router6.c: In function 'send_rs_reply': fake_router6.c:43:20: warning: 'cnt' may be used uninitialized in this function [-Wmaybe-uninitialized] int pkt_len = 0, cnt, i; ^ fake_router6.c: In function 'main': fake_router6.c:88:45: warning: 'cnt' may be used uninitialized in this function [-Wmaybe-uninitialized] int size, mtu = 1500, i, j, k, cnt; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o fake_advertise6 fake_advertise6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto fake_advertise6.c: In function 'main': fake_advertise6.c:51:21: warning: unused variable 'pkt2_len' [-Wunused-variable] int pkt1_len = 0, pkt2_len = 0, prefer = PREFER_GLOBAL, i, do_hop = 0, ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o fake_solicitate6 fake_solicitate6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto fake_advertise6.c:52:32: warning: 'cnt' may be used uninitialized in this function [-Wmaybe-uninitialized] do_dst = 0, do_frag = 0, cnt, type = NXT_ICMP6, wait = 5, loop = -1, ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o fake_mld6 fake_mld6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o fake_mld26 fake_mld26.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto fake_solicitate6.c: In function 'main': fake_solicitate6.c:34:20: warning: 'cnt' may be used uninitialized in this function [-Wmaybe-uninitialized] do_frag = 0, cnt, type = NXT_ICMP6, offset = 14; ^ fake_mld6.c: In function 'main': fake_mld6.c:95:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] multicast6 = thc_resolve6("::"); ^ fake_mld6.c:98:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((multicast6 = thc_resolve6(argv[3])) == NULL) { ^ fake_mld6.c:110:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] dst6 = multicast6; ^ fake_mld6.c:137:3: warning: pointer targets in passing argument 2 of 'thc_pcap_init_promisc' differ in signedness [-Wpointer-sign] if ((p = thc_pcap_init_promisc(interface, string)) == NULL) { ^ In file included from fake_mld6.c:11:0: thc-ipv6.h:96:16: note: expected 'unsigned char *' but argument is of type 'char *' extern pcap_t *thc_pcap_init_promisc(char *interface, unsigned char *capture); ^ fake_mld26.c: In function 'main': fake_mld26.c:134:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] multicast6 = thc_resolve6("::"); ^ fake_mld26.c:137:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((multicast6 = thc_resolve6(argv[3])) == NULL) { ^ fake_mld26.c:149:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] dst6 = multicast6; ^ fake_mld26.c:180:3: warning: pointer targets in passing argument 2 of 'thc_pcap_init_promisc' differ in signedness [-Wpointer-sign] if ((p = thc_pcap_init_promisc(interface, string)) == NULL) { ^ In file included from fake_mld26.c:11:0: thc-ipv6.h:96:16: note: expected 'unsigned char *' but argument is of type 'char *' extern pcap_t *thc_pcap_init_promisc(char *interface, unsigned char *capture); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o fake_mldrouter6 fake_mldrouter6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o flood_mldrouter6 flood_mldrouter6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o fake_mipv6 fake_mipv6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto flood_mldrouter6.c: In function 'main': flood_mldrouter6.c:23:25: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] unsigned char *mac6 = mac, *ip6 = thc_resolve6("fe80::ff:fe00:0"); ^ flood_mldrouter6.c:30:18: warning: variable 'rawmode' set but not used [-Wunused-but-set-variable] int rawmode = 0; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o redir6 redir6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o smurf6 smurf6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o alive6 alive6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto smurf6.c: In function 'main': smurf6.c:32:18: warning: unused variable 'rawmode' [-Wunused-variable] int rawmode = 0; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o toobig6 toobig6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto alive6.c: In function 'warlord_checkFingerprint': alive6.c:291:25: warning: variable 'ip_mod' set but not used [-Wunused-but-set-variable] char *os, *end, *ptr, ip_mod, ip_ver = 0, ip_hdr_size = 0; ^ alive6.c: In function 'check_packets': alive6.c:433:9: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (memcmp(ptr + 48 + offset, (char *)tagging, strlen(tagging)) == 0) { ^ In file included from alive6.c:3:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ alive6.c:455:9: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(sport, sizeof(sport), "%d/", i); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from alive6.c:1: /usr/include/bits/stdio2.h:61:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (snprintf (char *__restrict __s, size_t __n, ^ alive6.c:469:7: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(sport, sizeof(sport), "%d/", i); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from alive6.c:1: /usr/include/bits/stdio2.h:61:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (snprintf (char *__restrict __s, size_t __n, ^ alive6.c:472:11: warning: pointer targets in passing argument 1 of 'warlord_checkFingerprint' differ in signedness [-Wpointer-sign] os = warlord_checkFingerprint(ptr, len); ^ alive6.c:290:7: note: expected 'char *' but argument is of type 'unsigned char *' char *warlord_checkFingerprint(char *buffer, int len) { ^ alive6.c:536:9: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(sport, sizeof(sport), "%d:%d/", ptr[40], ptr[41]); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from alive6.c:1: /usr/include/bits/stdio2.h:61:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (snprintf (char *__restrict __s, size_t __n, ^ alive6.c:587:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p1 = "unreachable"; ^ alive6.c:590:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p1 = "toobig"; ^ alive6.c:593:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p1 = "time-to-live-exceeded"; ^ alive6.c: In function 'main': alive6.c:821:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] tagging = optarg; ^ alive6.c:887:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((p2 = strdup(optarg)) == NULL) { ^ alive6.c:891:11: warning: pointer targets in passing argument 1 of 'index' differ in signedness [-Wpointer-sign] p3 = index(p2, '/'); ^ In file included from alive6.c:3:0: /usr/include/string.h:485:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *index (const char *__s, int __c) ^ alive6.c:891:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p3 = index(p2, '/'); ^ alive6.c:893:11: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] if ((i = atoi(p3)) < 8 || i > 120 || i % 8 != 0) { ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from alive6.c:1: /usr/include/stdlib.h:278:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (atoi (const char *__nptr)) ^ alive6.c:1068:5: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(string, "ip6"); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from alive6.c:1: /usr/include/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ alive6.c:1070:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(string, "dst %s", thc_ipv62notation(src6)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from alive6.c:1: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ alive6.c:1072:5: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(string, " and "); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from alive6.c:1: /usr/include/bits/string3.h:140:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ alive6.c:1075:7: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(string, "( icmp6 or "); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from alive6.c:1: /usr/include/bits/string3.h:140:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ alive6.c:1076:7: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] if (udpports[0] != -1) strcat(string, "udp "); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from alive6.c:1: /usr/include/bits/string3.h:140:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ alive6.c:1079:9: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(string, "or "); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from alive6.c:1: /usr/include/bits/string3.h:140:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ alive6.c:1081:9: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(string, "tcp "); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from alive6.c:1: /usr/include/bits/string3.h:140:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ alive6.c:1082:7: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(string, ")"); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from alive6.c:1: /usr/include/bits/string3.h:140:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ alive6.c:1084:7: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(string, "icmp6"); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from alive6.c:1: /usr/include/bits/string3.h:140:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ alive6.c:1113:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strlen(tagging) > 8) tagging[8] = 0; ^ In file included from alive6.c:3:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ alive6.c:1114:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] for (i = 0; i < (sizeof(buf) / strlen(tagging)); i++) ^ In file included from alive6.c:3:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ alive6.c:1115:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] memcpy(buf + i * (strlen(tagging)), tagging, strlen(tagging)); ^ In file included from alive6.c:3:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ alive6.c:1115:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] memcpy(buf + i * (strlen(tagging)), tagging, strlen(tagging)); ^ In file included from alive6.c:3:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ alive6.c:1119:3: warning: pointer targets in passing argument 2 of 'thc_pcap_init' differ in signedness [-Wpointer-sign] if ((p = thc_pcap_init(interface, string)) == NULL) { ^ In file included from alive6.c:16:0: thc-ipv6.h:95:16: note: expected 'char *' but argument is of type 'unsigned char *' extern pcap_t *thc_pcap_init(char *interface, char *capture); ^ alive6.c:1384:7: warning: pointer targets in passing argument 3 of 'adress4to6' differ in signedness [-Wpointer-sign] bl = adress4to6(cur_dst, addr_cur, &bh); ^ alive6.c:642:5: note: expected 'char *' but argument is of type 'unsigned char *' int adress4to6(unsigned char *addr6, unsigned int addr4, char *state) { ^ alive6.c:1836:31: warning: pointer targets in passing argument 10 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] TCP_OPT_LEN, NULL, 0) < 0) ^ In file included from alive6.c:16:0: thc-ipv6.h:186:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int thc_add_tcp(unsigned char *pkt, int *pkt_len, ^ alive6.c:1965:29: warning: pointer targets in passing argument 6 of 'thc_add_udp' differ in signedness [-Wpointer-sign] sizeof(dns6buf)) < 0) ^ In file included from alive6.c:16:0: thc-ipv6.h:192:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int thc_add_udp(unsigned char *pkt, int *pkt_len, ^ alive6.c:727:55: warning: unused variable 'sendrc' [-Wunused-variable] no_send_remote = 2, nos = 0, renew = 0, errcnt, sendrc; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o rsmurf6 rsmurf6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o implementation6 implementation6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto rsmurf6.c: In function 'main': rsmurf6.c:28:18: warning: variable 'rawmode' set but not used [-Wunused-but-set-variable] int rawmode = 0; ^ implementation6.c: In function 'main': implementation6.c:327:3: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(string, thc_ipv62notation(src6)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from implementation6.c:9: /usr/include/bits/string3.h:140:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ implementation6.c:327:3: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(string, thc_ipv62notation(src6)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from implementation6.c:9: /usr/include/bits/string3.h:140:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ implementation6.c:328:3: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(string2, thc_ipv62notation(dst6)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from implementation6.c:9: /usr/include/bits/string3.h:140:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ implementation6.c:328:3: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(string2, thc_ipv62notation(dst6)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from implementation6.c:9: /usr/include/bits/string3.h:140:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ implementation6.c:340:3: warning: pointer targets in passing argument 2 of 'thc_pcap_init' differ in signedness [-Wpointer-sign] if ((p = thc_pcap_init(interface, string)) == NULL) { ^ In file included from implementation6.c:19:0: thc-ipv6.h:95:16: note: expected 'char *' but argument is of type 'unsigned char *' extern pcap_t *thc_pcap_init(char *interface, char *capture); ^ implementation6.c:1546:5: warning: pointer targets in passing argument 2 of 'thc_pcap_init' differ in signedness [-Wpointer-sign] p = thc_pcap_init(interface, string2); ^ In file included from implementation6.c:19:0: thc-ipv6.h:95:16: note: expected 'char *' but argument is of type 'unsigned char *' extern pcap_t *thc_pcap_init(char *interface, char *capture); ^ implementation6.c:1556:5: warning: pointer targets in passing argument 2 of 'thc_pcap_init' differ in signedness [-Wpointer-sign] p = thc_pcap_init(interface, string); ^ In file included from implementation6.c:19:0: thc-ipv6.h:95:16: note: expected 'char *' but argument is of type 'unsigned char *' extern pcap_t *thc_pcap_init(char *interface, char *capture); ^ implementation6.c:1635:5: warning: pointer targets in passing argument 2 of 'thc_pcap_init' differ in signedness [-Wpointer-sign] p = thc_pcap_init(interface, string2); ^ In file included from implementation6.c:19:0: thc-ipv6.h:95:16: note: expected 'char *' but argument is of type 'unsigned char *' extern pcap_t *thc_pcap_init(char *interface, char *capture); ^ implementation6.c:1653:5: warning: pointer targets in passing argument 2 of 'thc_pcap_init' differ in signedness [-Wpointer-sign] p = thc_pcap_init(interface, string); ^ In file included from implementation6.c:19:0: thc-ipv6.h:95:16: note: expected 'char *' but argument is of type 'unsigned char *' extern pcap_t *thc_pcap_init(char *interface, char *capture); ^ implementation6.c:1670:5: warning: pointer targets in passing argument 2 of 'thc_pcap_init' differ in signedness [-Wpointer-sign] p = thc_pcap_init(interface, string2); ^ In file included from implementation6.c:19:0: thc-ipv6.h:95:16: note: expected 'char *' but argument is of type 'unsigned char *' extern pcap_t *thc_pcap_init(char *interface, char *capture); ^ implementation6.c:1688:5: warning: pointer targets in passing argument 2 of 'thc_pcap_init' differ in signedness [-Wpointer-sign] p = thc_pcap_init(interface, string); ^ In file included from implementation6.c:19:0: thc-ipv6.h:95:16: note: expected 'char *' but argument is of type 'unsigned char *' extern pcap_t *thc_pcap_init(char *interface, char *capture); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o implementation6d implementation6d.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto implementation6d.c: In function 'main': implementation6d.c:182:3: warning: pointer targets in passing argument 2 of 'thc_pcap_function' differ in signedness [-Wpointer-sign] if (thc_pcap_function(interface, string, (char *)check_packet, 0, NULL) < 0) { ^ In file included from implementation6d.c:34:0: thc-ipv6.h:93:16: note: expected 'char *' but argument is of type 'unsigned char *' extern int thc_pcap_function(char *interface, char *capture, char *function, ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o sendpees6 sendpees6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto sendpees6.c: In function 'main': sendpees6.c:42:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] dev = argv[1]; ^ sendpees6.c:43:3: warning: pointer targets in passing argument 1 of 'thc_get_own_ipv6' differ in signedness [-Wpointer-sign] if (thc_get_own_ipv6(dev, NULL, PREFER_LINK) == NULL) { ^ In file included from sendpees6.c:20:0: thc-ipv6.h:104:23: note: expected 'char *' but argument is of type 'unsigned char *' extern unsigned char *thc_get_own_ipv6(char *interface, unsigned char *dst, ^ sendpees6.c:57:3: warning: pointer targets in passing argument 1 of 'thc_generate_cga' differ in signedness [-Wpointer-sign] cga_opt = thc_generate_cga(prefix, key, &cga); ^ In file included from sendpees6.c:20:0: thc-ipv6.h:439:21: note: expected 'unsigned char *' but argument is of type 'char *' extern thc_cga_hdr *thc_generate_cga(unsigned char *prefix, thc_key_t *key, ^ sendpees6.c:71:39: warning: pointer targets in passing argument 1 of 'thc_create_ipv6_extended' differ in signedness [-Wpointer-sign] 0, 0, 0, 0, 0)) == NULL) { ^ In file included from sendpees6.c:20:0: thc-ipv6.h:160:23: note: expected 'char *' but argument is of type 'unsigned char *' extern unsigned char *thc_create_ipv6_extended(char *interface, int prefer, ^ sendpees6.c:76:20: warning: pointer targets in passing argument 6 of 'thc_add_send' differ in signedness [-Wpointer-sign] cga_opt, key, NULL, 0) < 0) { ^ In file included from sendpees6.c:20:0: thc-ipv6.h:442:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_add_send(unsigned char *pkt, int *pkt_len, int type, int code, ^ sendpees6.c:82:3: warning: pointer targets in passing argument 1 of 'thc_generate_pkt' differ in signedness [-Wpointer-sign] if (thc_generate_pkt(dev, srchw, dsthw, pkt, &pkt_len) < 0) { ^ In file included from sendpees6.c:20:0: thc-ipv6.h:206:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int thc_generate_pkt(char *interface, unsigned char *srcmac, ^ sendpees6.c:82:3: warning: pointer targets in passing argument 2 of 'thc_generate_pkt' differ in signedness [-Wpointer-sign] if (thc_generate_pkt(dev, srchw, dsthw, pkt, &pkt_len) < 0) { ^ In file included from sendpees6.c:20:0: thc-ipv6.h:206:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_generate_pkt(char *interface, unsigned char *srcmac, ^ sendpees6.c:82:3: warning: pointer targets in passing argument 3 of 'thc_generate_pkt' differ in signedness [-Wpointer-sign] if (thc_generate_pkt(dev, srchw, dsthw, pkt, &pkt_len) < 0) { ^ In file included from sendpees6.c:20:0: thc-ipv6.h:206:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_generate_pkt(char *interface, unsigned char *srcmac, ^ sendpees6.c:90:5: warning: pointer targets in passing argument 1 of 'thc_send_pkt' differ in signedness [-Wpointer-sign] thc_send_pkt(dev, pkt, &pkt_len); ^ In file included from sendpees6.c:20:0: thc-ipv6.h:209:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int thc_send_pkt(char *interface, unsigned char *pkt, int *pkt_len); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o sendpeesmp6 sendpeesmp6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto alive6.c:1497:42: warning: 'tip8' may be used uninitialized in this function [-Wmaybe-uninitialized] cip8 = fip8 + (step + cip8 - tip8); ^ alive6.c:1516:42: warning: 'tip7' may be used uninitialized in this function [-Wmaybe-uninitialized] cip7 = fip7 + (step + cip7 - tip7); ^ alive6.c:1535:42: warning: 'tip6' may be used uninitialized in this function [-Wmaybe-uninitialized] cip6 = fip6 + (step + cip6 - tip6); ^ alive6.c:1554:42: warning: 'tip5' may be used uninitialized in this function [-Wmaybe-uninitialized] cip5 = fip5 + (step + cip5 - tip5); ^ alive6.c:1573:42: warning: 'tip4' may be used uninitialized in this function [-Wmaybe-uninitialized] cip4 = fip4 + (step + cip4 - tip4); ^ alive6.c:1592:42: warning: 'tip3' may be used uninitialized in this function [-Wmaybe-uninitialized] cip3 = fip3 + (step + cip3 - tip3); ^ alive6.c:1611:42: warning: 'tip2' may be used uninitialized in this function [-Wmaybe-uninitialized] cip2 = fip2 + (step + cip2 - tip2); ^ alive6.c:1630:42: warning: 'tip1' may be used uninitialized in this function [-Wmaybe-uninitialized] cip1 = fip1 + (step + cip1 - tip1); ^ alive6.c:1497:20: warning: 'fip8' may be used uninitialized in this function [-Wmaybe-uninitialized] cip8 = fip8 + (step + cip8 - tip8); ^ alive6.c:1516:20: warning: 'fip7' may be used uninitialized in this function [-Wmaybe-uninitialized] cip7 = fip7 + (step + cip7 - tip7); ^ alive6.c:1535:20: warning: 'fip6' may be used uninitialized in this function [-Wmaybe-uninitialized] cip6 = fip6 + (step + cip6 - tip6); ^ alive6.c:1554:20: warning: 'fip5' may be used uninitialized in this function [-Wmaybe-uninitialized] cip5 = fip5 + (step + cip5 - tip5); ^ alive6.c:1573:20: warning: 'fip4' may be used uninitialized in this function [-Wmaybe-uninitialized] cip4 = fip4 + (step + cip4 - tip4); ^ alive6.c:1592:20: warning: 'fip3' may be used uninitialized in this function [-Wmaybe-uninitialized] cip3 = fip3 + (step + cip3 - tip3); ^ alive6.c:1611:20: warning: 'fip2' may be used uninitialized in this function [-Wmaybe-uninitialized] cip2 = fip2 + (step + cip2 - tip2); ^ alive6.c:1630:20: warning: 'fip1' may be used uninitialized in this function [-Wmaybe-uninitialized] cip1 = fip1 + (step + cip1 - tip1); ^ alive6.c:1494:22: warning: 'cip8' may be used uninitialized in this function [-Wmaybe-uninitialized] if (cip8 + step <= tip8) { ^ alive6.c:1522:19: warning: 'cip7' may be used uninitialized in this function [-Wmaybe-uninitialized] cip7++; ^ alive6.c:1541:19: warning: 'cip6' may be used uninitialized in this function [-Wmaybe-uninitialized] cip6++; ^ alive6.c:1560:19: warning: 'cip5' may be used uninitialized in this function [-Wmaybe-uninitialized] cip5++; ^ alive6.c:1579:19: warning: 'cip4' may be used uninitialized in this function [-Wmaybe-uninitialized] cip4++; ^ alive6.c:1598:19: warning: 'cip3' may be used uninitialized in this function [-Wmaybe-uninitialized] cip3++; ^ alive6.c:1617:19: warning: 'cip2' may be used uninitialized in this function [-Wmaybe-uninitialized] cip2++; ^ alive6.c:1636:19: warning: 'cip1' may be used uninitialized in this function [-Wmaybe-uninitialized] cip1++; ^ alive6.c:1321:14: warning: 'ip3' may be used uninitialized in this function [-Wmaybe-uninitialized] ip3++; ^ alive6.c:1324:14: warning: 'ip2' may be used uninitialized in this function [-Wmaybe-uninitialized] ip2++; ^ alive6.c:1328:14: warning: 'ip1' may be used uninitialized in this function [-Wmaybe-uninitialized] ip1++; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o randicmp6 randicmp6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto alive6.c:2047:28: warning: 'ok' may be used uninitialized in this function [-Wmaybe-uninitialized] if (curr > 1 || list > 0 || ok != 0 || tcount > alive_no || ^ alive6.c:1856:31: warning: 'errcnt' may be used uninitialized in this function [-Wmaybe-uninitialized] usleep(errcnt << 10); ^ alive6.c:1375:14: warning: 'cur_dst' may be used uninitialized in this function [-Wmaybe-uninitialized] p2 = thc_ipv62notation(cur_dst); ^ sendpeesmp6.c: In function 'main': sendpeesmp6.c:86:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] dev = argv[1]; /* read interface from commandline */ ^ sendpeesmp6.c:87:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((addr = thc_resolve6(argv[3])) == NULL) { ^ sendpeesmp6.c:92:3: warning: pointer targets in passing argument 1 of 'thc_get_own_ipv6' differ in signedness [-Wpointer-sign] if (thc_get_own_ipv6(dev, NULL, PREFER_LINK) == NULL) { ^ In file included from sendpeesmp6.c:19:0: thc-ipv6.h:104:23: note: expected 'char *' but argument is of type 'unsigned char *' extern unsigned char *thc_get_own_ipv6(char *interface, unsigned char *dst, ^ sendpeesmp6.c:105:3: warning: pointer targets in passing argument 1 of 'thc_generate_cga' differ in signedness [-Wpointer-sign] cga_opt = thc_generate_cga(prefix, key, &cga); ^ In file included from sendpeesmp6.c:19:0: thc-ipv6.h:439:21: note: expected 'unsigned char *' but argument is of type 'char *' extern thc_cga_hdr *thc_generate_cga(unsigned char *prefix, thc_key_t *key, ^ sendpeesmp6.c:119:3: warning: pointer targets in passing argument 1 of 'thc_get_mac' differ in signedness [-Wpointer-sign] tgthw = thc_get_mac(dev, cga, dst6); ^ In file included from sendpeesmp6.c:19:0: thc-ipv6.h:107:23: note: expected 'char *' but argument is of type 'unsigned char *' extern unsigned char *thc_get_mac(char *interface, unsigned char *src, ^ sendpeesmp6.c:152:43: warning: pointer targets in passing argument 1 of 'thc_create_ipv6_extended' differ in signedness [-Wpointer-sign] 0, 0, 0, 0, 0)) == NULL) { ^ In file included from sendpeesmp6.c:19:0: thc-ipv6.h:160:23: note: expected 'char *' but argument is of type 'unsigned char *' extern unsigned char *thc_create_ipv6_extended(char *interface, int prefer, ^ sendpeesmp6.c:159:24: warning: pointer targets in passing argument 6 of 'thc_add_send' differ in signedness [-Wpointer-sign] 24, cga_opt, key, NULL, 0) < 0) { ^ In file included from sendpeesmp6.c:19:0: thc-ipv6.h:442:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_add_send(unsigned char *pkt, int *pkt_len, int type, int code, ^ sendpeesmp6.c:166:7: warning: pointer targets in passing argument 1 of 'thc_generate_pkt' differ in signedness [-Wpointer-sign] if ((result = thc_generate_pkt(dev, test, tgthw, pkt, &pkt_len)) < 0) { ^ In file included from sendpeesmp6.c:19:0: thc-ipv6.h:206:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int thc_generate_pkt(char *interface, unsigned char *srcmac, ^ sendpeesmp6.c:176:9: warning: pointer targets in passing argument 1 of 'thc_send_pkt' differ in signedness [-Wpointer-sign] thc_send_pkt(dev, pkt, &pkt_len); ^ In file included from sendpeesmp6.c:19:0: thc-ipv6.h:209:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int thc_send_pkt(char *interface, unsigned char *pkt, int *pkt_len); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o fuzz_ip6 fuzz_ip6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto fuzz_ip6.c: In function 'main': fuzz_ip6.c:353:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((srcmac = thc_get_own_mac(interface)) == NULL) { ^ fuzz_ip6.c:387:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((real_dst6 = thc_resolve6(argv[optind + 1])) == NULL) { ^ fuzz_ip6.c:422:3: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(string, thc_ipv62notation(src6)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from fuzz_ip6.c:1: /usr/include/bits/string3.h:140:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ fuzz_ip6.c:422:3: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(string, thc_ipv62notation(src6)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from fuzz_ip6.c:1: /usr/include/bits/string3.h:140:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ fuzz_ip6.c:433:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] dns = thc_resolve6("ff02::fb"); ^ fuzz_ip6.c:434:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] route6 = thc_resolve6("2a01::"); ^ fuzz_ip6.c:436:3: warning: pointer targets in passing argument 2 of 'thc_pcap_init' differ in signedness [-Wpointer-sign] if ((p = thc_pcap_init(interface, string)) == NULL) { ^ In file included from fuzz_ip6.c:11:0: thc-ipv6.h:95:16: note: expected 'char *' but argument is of type 'unsigned char *' extern pcap_t *thc_pcap_init(char *interface, char *capture); ^ fuzz_ip6.c:444:5: warning: pointer targets in passing argument 3 of 'check_alive' differ in signedness [-Wpointer-sign] if (check_alive(p, interface, srcmac, mac, src6, real_dst6) == 0) { ^ fuzz_ip6.c:209:5: note: expected 'unsigned char *' but argument is of type 'char *' int check_alive(pcap_t *p, char *interface, unsigned char *srcmac, ^ fuzz_ip6.c:444:5: warning: pointer targets in passing argument 6 of 'check_alive' differ in signedness [-Wpointer-sign] if (check_alive(p, interface, srcmac, mac, src6, real_dst6) == 0) { ^ fuzz_ip6.c:209:5: note: expected 'unsigned char *' but argument is of type 'char *' int check_alive(pcap_t *p, char *interface, unsigned char *srcmac, ^ fuzz_ip6.c:497:9: warning: pointer targets in passing argument 3 of 'addfuzz' differ in signedness [-Wpointer-sign] addfuzz(&fuzzbuf, &fuzzbuf_sz, buf3); ^ fuzz_ip6.c:196:6: note: expected 'char *' but argument is of type 'unsigned char *' void addfuzz(char **fuzzbuf, int *fuzzbuf_sz, char *fuzztype) { ^ fuzz_ip6.c:550:7: warning: pointer targets in passing argument 3 of 'addfuzz' differ in signedness [-Wpointer-sign] addfuzz(&fuzzbuf, &fuzzbuf_sz, buf3); ^ fuzz_ip6.c:196:6: note: expected 'char *' but argument is of type 'unsigned char *' void addfuzz(char **fuzzbuf, int *fuzzbuf_sz, char *fuzztype) { ^ fuzz_ip6.c:593:23: warning: pointer targets in passing argument 10 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] 20) < 0) ^ In file included from fuzz_ip6.c:11:0: thc-ipv6.h:186:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int thc_add_tcp(unsigned char *pkt, int *pkt_len, ^ fuzz_ip6.c:593:23: warning: pointer targets in passing argument 12 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] 20) < 0) ^ In file included from fuzz_ip6.c:11:0: thc-ipv6.h:186:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int thc_add_tcp(unsigned char *pkt, int *pkt_len, ^ fuzz_ip6.c:624:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] tmp6 = thc_get_own_ipv6(interface, dst6, PREFER_GLOBAL); ^ fuzz_ip6.c:626:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] tmp6 = someaddr6; ^ fuzz_ip6.c:639:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] tmp6 = thc_get_own_ipv6(interface, dst6, PREFER_GLOBAL); ^ fuzz_ip6.c:641:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] tmp6 = someaddr6; ^ fuzz_ip6.c:645:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] tmp6 = thc_resolve6("ff00::"); ^ fuzz_ip6.c:650:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] tmp6 = thc_get_own_ipv6(interface, dst6, PREFER_GLOBAL); ^ fuzz_ip6.c:656:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] tmp6 = thc_get_own_ipv6(interface, dst6, PREFER_GLOBAL); ^ fuzz_ip6.c:658:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] tmp6 = someaddr6; ^ fuzz_ip6.c:669:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] tmp6 = someaddr6; ^ fuzz_ip6.c:671:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] tmp6 = thc_resolve6("ff05::3"); ^ fuzz_ip6.c:858:3: warning: pointer targets in passing argument 2 of 'thc_generate_pkt' differ in signedness [-Wpointer-sign] if (thc_generate_pkt(interface, srcmac, mac, pkt, &pkt_len) < 0) return -1; ^ In file included from fuzz_ip6.c:11:0: thc-ipv6.h:206:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_generate_pkt(char *interface, unsigned char *srcmac, ^ fuzz_ip6.c:1112:11: warning: pointer targets in passing argument 3 of 'check_alive' differ in signedness [-Wpointer-sign] if (check_alive(p, interface, srcmac, mac, src6, real_dst6) == 0) { ^ fuzz_ip6.c:209:5: note: expected 'unsigned char *' but argument is of type 'char *' int check_alive(pcap_t *p, char *interface, unsigned char *srcmac, ^ fuzz_ip6.c:1112:11: warning: pointer targets in passing argument 6 of 'check_alive' differ in signedness [-Wpointer-sign] if (check_alive(p, interface, srcmac, mac, src6, real_dst6) == 0) { ^ fuzz_ip6.c:209:5: note: expected 'unsigned char *' but argument is of type 'char *' int check_alive(pcap_t *p, char *interface, unsigned char *srcmac, ^ fuzz_ip6.c:1133:5: warning: pointer targets in passing argument 3 of 'check_alive' differ in signedness [-Wpointer-sign] if (check_alive(p, interface, srcmac, mac, src6, real_dst6) == 0) { ^ fuzz_ip6.c:209:5: note: expected 'unsigned char *' but argument is of type 'char *' int check_alive(pcap_t *p, char *interface, unsigned char *srcmac, ^ fuzz_ip6.c:1133:5: warning: pointer targets in passing argument 6 of 'check_alive' differ in signedness [-Wpointer-sign] if (check_alive(p, interface, srcmac, mac, src6, real_dst6) == 0) { ^ fuzz_ip6.c:209:5: note: expected 'unsigned char *' but argument is of type 'char *' int check_alive(pcap_t *p, char *interface, unsigned char *srcmac, ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o flood_mld6 flood_mld6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto fuzz_ip6.c:963:42: warning: array subscript is above array bounds [-Warray-bounds] hdr->pkt[test_pos] ^ xors[test_cnt - COUNT_BYTE - 1]; ^ flood_mld6.c: In function 'main': flood_mld6.c:23:25: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] unsigned char *mac6 = mac, *ip6 = thc_resolve6("fe80::ff:fe00:0"); ^ flood_mld6.c:30:18: warning: variable 'rawmode' set but not used [-Wunused-but-set-variable] int rawmode = 0; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o flood_mld26 flood_mld26.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto flood_mld26.c: In function 'main': flood_mld26.c:25:25: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] unsigned char *mac6 = mac, *ip6 = thc_resolve6("fe80::ff:fe00:0"); ^ flood_mld26.c:32:18: warning: variable 'rawmode' set but not used [-Wunused-but-set-variable] int rawmode = 0; ^ flood_mld26.c:29:24: warning: variable 'prefer' set but not used [-Wunused-but-set-variable] int i, j, prefer = PREFER_LINK; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o flood_router6 flood_router6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto flood_router6.c: In function 'main': flood_router6.c:27:46: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] unsigned char *routerip6, *route6, *mac6 = mac, *ip6; ^ flood_router6.c:33:20: warning: variable 'rawmode' set but not used [-Wunused-but-set-variable] int pkt_len = 0, rawmode = 0, count = 0, do_hop = 0, do_frag = 0, cnt, ^ flood_router6.c:33:69: warning: 'cnt' may be used uninitialized in this function [-Wmaybe-uninitialized] int pkt_len = 0, rawmode = 0, count = 0, do_hop = 0, do_frag = 0, cnt, ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o flood_advertise6 flood_advertise6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o flood_solicitate6 flood_solicitate6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto flood_advertise6.c: In function 'main': flood_advertise6.c:26:25: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] unsigned char *mac6 = mac, *ip6; ^ flood_advertise6.c:33:7: warning: variable 'keepmac' set but not used [-Wunused-but-set-variable] keepmac = 0; ^ flood_advertise6.c:32:27: warning: unused variable 'rawmode' [-Wunused-variable] int pkt_len = 0, flags, rawmode = 0, count = 0, prefer = PREFER_LINK, ^ flood_solicitate6.c: In function 'main': flood_solicitate6.c:28:25: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] unsigned char *mac6 = mac, *ip6, *query6, *smac = NULL; ^ flood_solicitate6.c:54:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] smac = srcmac; ^ flood_solicitate6.c:34:31: warning: unused variable 'rawmode' [-Wunused-variable] int pkt_len = 0, rawmode = 0, count = 0; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o trace6 trace6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o exploit6 exploit6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o denial6 denial6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto trace6.c: In function 'check_packets': trace6.c:119:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] remark[pos] = strdup("\t[ping reply received]"); ^ trace6.c:166:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] remark[pos] = strdup("\t[unreachable message received]"); ^ trace6.c:189:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] remark[pos] = strdup("\t[parameter problem received]"); ^ trace6.c:211:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] remark[pos] = strdup("\t[TCP SYN-ACK reply received]"); ^ trace6.c:214:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] remark[pos] = strdup("\t[TCP RST reply received]"); ^ trace6.c:217:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] remark[pos] = strdup("\t[TCP unknown reply received]"); ^ trace6.c:228:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] remark[pos] = strdup("\t[UDP reply received]"); ^ trace6.c:250:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] remark[pos] = strdup("\t[port unreachable message received]"); ^ trace6.c:254:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] remark[pos] = strdup("\t[unreachable message received]"); ^ trace6.c: In function 'main': trace6.c:336:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] interface = argv[optind]; ^ trace6.c:341:3: warning: pointer targets in passing argument 1 of 'thc_get_own_ipv6' differ in signedness [-Wpointer-sign] if (src6 == NULL) src6 = thc_get_own_ipv6(interface, dst6, PREFER_GLOBAL); ^ In file included from trace6.c:12:0: thc-ipv6.h:104:23: note: expected 'char *' but argument is of type 'unsigned char *' extern unsigned char *thc_get_own_ipv6(char *interface, unsigned char *dst, ^ trace6.c:342:3: warning: pointer targets in passing argument 1 of 'thc_get_own_mac' differ in signedness [-Wpointer-sign] srcmac = thc_get_own_mac(interface); ^ In file included from trace6.c:12:0: thc-ipv6.h:102:23: note: expected 'char *' but argument is of type 'unsigned char *' extern unsigned char *thc_get_own_mac(char *interface); ^ trace6.c:367:3: warning: pointer targets in passing argument 1 of 'thc_get_mac' differ in signedness [-Wpointer-sign] if (rawmode == 0 && (mac = thc_get_mac(interface, src6, dst6)) == NULL) { ^ In file included from trace6.c:12:0: thc-ipv6.h:107:23: note: expected 'char *' but argument is of type 'unsigned char *' extern unsigned char *thc_get_mac(char *interface, unsigned char *src, ^ trace6.c:372:3: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(string, thc_ipv62notation(src6)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from trace6.c:1: /usr/include/bits/string3.h:140:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ trace6.c:372:3: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(string, thc_ipv62notation(src6)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from trace6.c:1: /usr/include/bits/string3.h:140:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ trace6.c:376:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] remark[i] = strdup(""); ^ trace6.c:380:3: warning: pointer targets in passing argument 1 of 'thc_pcap_init' differ in signedness [-Wpointer-sign] if ((p = thc_pcap_init(interface, string)) == NULL) { ^ In file included from trace6.c:12:0: thc-ipv6.h:95:16: note: expected 'char *' but argument is of type 'unsigned char *' extern pcap_t *thc_pcap_init(char *interface, char *capture); ^ trace6.c:380:3: warning: pointer targets in passing argument 2 of 'thc_pcap_init' differ in signedness [-Wpointer-sign] if ((p = thc_pcap_init(interface, string)) == NULL) { ^ In file included from trace6.c:12:0: thc-ipv6.h:95:16: note: expected 'char *' but argument is of type 'unsigned char *' extern pcap_t *thc_pcap_init(char *interface, char *capture); ^ exploit6.c: In function 'main': exploit6.c:107:3: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(string, thc_ipv62notation(src6)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from exploit6.c:6: /usr/include/bits/string3.h:140:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ exploit6.c:107:3: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(string, thc_ipv62notation(src6)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from exploit6.c:6: /usr/include/bits/string3.h:140:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ exploit6.c:108:3: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(string2, thc_ipv62notation(dst6)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from exploit6.c:6: /usr/include/bits/string3.h:140:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ exploit6.c:108:3: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(string2, thc_ipv62notation(dst6)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from exploit6.c:6: /usr/include/bits/string3.h:140:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ exploit6.c:124:3: warning: pointer targets in passing argument 2 of 'thc_pcap_init' differ in signedness [-Wpointer-sign] if ((p = thc_pcap_init(interface, string)) == NULL) { ^ In file included from exploit6.c:16:0: thc-ipv6.h:95:16: note: expected 'char *' but argument is of type 'unsigned char *' extern pcap_t *thc_pcap_init(char *interface, char *capture); ^ exploit6.c:70:44: warning: unused variable 'pkt_len3' [-Wunused-variable] int pkt_len = 0, pkt_len2 = 0, pkt_len3 = 0, noping = 0, mtu = 1500; ^ exploit6.c:70:30: warning: unused variable 'pkt_len2' [-Wunused-variable] int pkt_len = 0, pkt_len2 = 0, pkt_len3 = 0, noping = 0, mtu = 1500; ^ exploit6.c:69:45: warning: unused variable 'pkt3' [-Wunused-variable] unsigned char *pkt = NULL, *pkt2 = NULL, *pkt3 = NULL; ^ exploit6.c:69:31: warning: unused variable 'pkt2' [-Wunused-variable] unsigned char *pkt = NULL, *pkt2 = NULL, *pkt3 = NULL; ^ exploit6.c:67:25: warning: unused variable 'j' [-Wunused-variable] int i = 0, j, srcmtu, fragsize, offset = 14; ^ exploit6.c:65:50: warning: unused variable 'routers' [-Wunused-variable] unsigned char *srcmac = NULL, *dstmac = NULL, *routers[2], null_buffer[6]; ^ exploit6.c:63:61: warning: variable 'mcast6' set but not used [-Wunused-but-set-variable] unsigned char *dst6, *ldst6 = malloc(16), *src6, *lsrc6, *mcast6, *route6, ^ trace6.c:386:3: warning: pointer targets in passing argument 1 of 'thc_get_mtu' differ in signedness [-Wpointer-sign] if ((mtu = thc_get_mtu(interface)) < 1280) { ^ In file included from trace6.c:12:0: thc-ipv6.h:103:23: note: expected 'char *' but argument is of type 'unsigned char *' extern int thc_get_mtu(char *interface); ^ trace6.c:432:45: warning: pointer targets in passing argument 1 of 'thc_create_ipv6_extended' differ in signedness [-Wpointer-sign] src6, dst6, i, 0, 0, 0, 0)) == NULL) ^ In file included from trace6.c:12:0: thc-ipv6.h:160:23: note: expected 'char *' but argument is of type 'unsigned char *' extern unsigned char *thc_create_ipv6_extended(char *interface, int prefer, ^ trace6.c:466:24: warning: pointer targets in passing argument 1 of 'thc_create_ipv6_extended' differ in signedness [-Wpointer-sign] interface, 0, &pkt2_len, dst6, foo6, i, 0, 0, 0, 0)) == ^ In file included from trace6.c:12:0: thc-ipv6.h:160:23: note: expected 'char *' but argument is of type 'unsigned char *' extern unsigned char *thc_create_ipv6_extended(char *interface, int prefer, ^ trace6.c:472:15: warning: pointer targets in passing argument 1 of 'thc_generate_pkt' differ in signedness [-Wpointer-sign] thc_generate_pkt(interface, foomac, foomac, pkt2, &pkt2_len); ^ In file included from trace6.c:12:0: thc-ipv6.h:206:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int thc_generate_pkt(char *interface, unsigned char *srcmac, ^ trace6.c:498:31: warning: pointer targets in passing argument 6 of 'thc_add_udp' differ in signedness [-Wpointer-sign] buf_len > 0 ? buf : NULL, buf_len) < 0) ^ In file included from trace6.c:12:0: thc-ipv6.h:192:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int thc_add_udp(unsigned char *pkt, int *pkt_len, ^ trace6.c:502:36: warning: pointer targets in passing argument 12 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] buf_len > 0 ? buf : NULL, buf_len) < 0) ^ In file included from trace6.c:12:0: thc-ipv6.h:186:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int thc_add_tcp(unsigned char *pkt, int *pkt_len, ^ trace6.c:505:11: warning: pointer targets in passing argument 1 of 'thc_generate_and_send_pkt' differ in signedness [-Wpointer-sign] if (thc_generate_and_send_pkt(interface, srcmac, mac, pkt, &pkt_len) < ^ In file included from trace6.c:12:0: thc-ipv6.h:203:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int thc_generate_and_send_pkt(char *interface, unsigned char *srcmac, ^ trace6.c:543:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] position[up_to] = strdup("!!!"); ^ trace6.c:554:7: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(text, sizeof(text), " with starting MTU %d", orig_mtu); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from trace6.c:1: /usr/include/bits/stdio2.h:61:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (snprintf (char *__restrict __s, size_t __n, ^ trace6.c:567:11: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(text, sizeof(text), " - new MTU %d", rmtu[i]); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from trace6.c:1: /usr/include/bits/stdio2.h:61:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (snprintf (char *__restrict __s, size_t __n, ^ trace6.c:570:20: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] rmtu[i]); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from trace6.c:1: /usr/include/bits/stdio2.h:61:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (snprintf (char *__restrict __s, size_t __n, ^ trace6.c:574:20: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] " - new MTU %d - PPP or Teredo tunnel endpoint", rmtu[i]); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from trace6.c:1: /usr/include/bits/stdio2.h:61:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (snprintf (char *__restrict __s, size_t __n, ^ trace6.c:577:20: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] rmtu[i]); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from trace6.c:1: /usr/include/bits/stdio2.h:61:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (snprintf (char *__restrict __s, size_t __n, ^ trace6.c:580:20: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] rmtu[i]); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from trace6.c:1: /usr/include/bits/stdio2.h:61:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (snprintf (char *__restrict __s, size_t __n, ^ trace6.c:582:11: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(text, sizeof(text), " - new MTU %d", rmtu[i]); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from trace6.c:1: /usr/include/bits/stdio2.h:61:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (snprintf (char *__restrict __s, size_t __n, ^ trace6.c:584:11: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(text, sizeof(text), " - new MTU %d", rmtu[i]); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from trace6.c:1: /usr/include/bits/stdio2.h:61:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (snprintf (char *__restrict __s, size_t __n, ^ trace6.c:590:9: warning: pointer targets in passing argument 1 of 'thc_resolve6' differ in signedness [-Wpointer-sign] he = gethostbyaddr(thc_resolve6(position[i]), 16, AF_INET6); ^ In file included from trace6.c:12:0: thc-ipv6.h:100:23: note: expected 'char *' but argument is of type 'unsigned char *' extern unsigned char *thc_resolve6(char *target); ^ denial6.c: In function 'main': denial6.c:320:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] randptr = ipv6->pkt + do_hdr_size + 40 + 8 + 4; ^ denial6.c:322:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] randptr = ipv6->pkt + 14 + 40 + 8 + 4; ^ denial6.c:60:70: warning: unused variable 'mtu' [-Wunused-variable] int pkt_len = 0, pkt_len2 = 0, pkt_len3 = 0, noping = 0, mtu = 1500; ^ denial6.c:60:58: warning: unused variable 'noping' [-Wunused-variable] int pkt_len = 0, pkt_len2 = 0, pkt_len3 = 0, noping = 0, mtu = 1500; ^ denial6.c:60:44: warning: unused variable 'pkt_len3' [-Wunused-variable] int pkt_len = 0, pkt_len2 = 0, pkt_len3 = 0, noping = 0, mtu = 1500; ^ denial6.c:60:30: warning: unused variable 'pkt_len2' [-Wunused-variable] int pkt_len = 0, pkt_len2 = 0, pkt_len3 = 0, noping = 0, mtu = 1500; ^ denial6.c:59:45: warning: unused variable 'pkt3' [-Wunused-variable] unsigned char *pkt = NULL, *pkt2 = NULL, *pkt3 = NULL; ^ denial6.c:59:31: warning: unused variable 'pkt2' [-Wunused-variable] unsigned char *pkt = NULL, *pkt2 = NULL, *pkt3 = NULL; ^ denial6.c:58:35: warning: variable 'fragsize' set but not used [-Wunused-but-set-variable] int i, j, k, srcmtu, fragsize; ^ denial6.c:57:18: warning: unused variable 'hdr' [-Wunused-variable] thc_ipv6_hdr * hdr; ^ denial6.c:56:50: warning: unused variable 'routers' [-Wunused-variable] unsigned char *srcmac = NULL, *dstmac = NULL, *routers[2], null_buffer[6]; ^ denial6.c:55:25: warning: unused variable 'mal' [-Wunused-variable] *mal; ^ denial6.c:54:70: warning: unused variable 'route6' [-Wunused-variable] unsigned char *dst6, *ldst6 = malloc(16), *src6, *lsrc6, *mcast6, *route6, ^ denial6.c:54:61: warning: variable 'mcast6' set but not used [-Wunused-but-set-variable] unsigned char *dst6, *ldst6 = malloc(16), *src6, *lsrc6, *mcast6, *route6, ^ denial6.c:52:39: warning: unused variable 'tmplen' [-Wunused-variable] int test = 0, count = 1, tmplen; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o fake_dhcps6 fake_dhcps6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto fake_dhcps6.c: In function 'main': fake_dhcps6.c:29:37: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] unsigned char *routerip6, *mac6 = mac, *ip6, *ptr, *ptr1, *ptr2, *ptr3; ^ fake_dhcps6.c:55:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (argc >= 6 && (ptr = argv[5]) != NULL) ^ fake_dhcps6.c:59:12: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] (unsigned int *)&mac[5]); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from fake_dhcps6.c:1: /usr/include/stdio.h:448:12: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ fake_dhcps6.c:74:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((ptr = index(routerip, '/')) == NULL) { ^ fake_dhcps6.c:81:3: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] size = atoi(ptr); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from fake_dhcps6.c:1: /usr/include/stdlib.h:278:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (atoi (const char *__nptr)) ^ fake_dhcps6.c:130:3: warning: pointer targets in passing argument 3 of 'thc_bind_multicast_to_socket' differ in signedness [-Wpointer-sign] if (thc_bind_multicast_to_socket(s, interface, thc_resolve6("ff02::1:2")) < ^ In file included from fake_dhcps6.c:13:0: thc-ipv6.h:226:14: note: expected 'char *' but argument is of type 'unsigned char *' extern int thc_bind_multicast_to_socket(int s, char *interface, char *src); ^ fake_dhcps6.c:132:7: warning: pointer targets in passing argument 3 of 'thc_bind_multicast_to_socket' differ in signedness [-Wpointer-sign] thc_bind_multicast_to_socket(s, interface, thc_resolve6("ff02::1:3")) < ^ In file included from fake_dhcps6.c:13:0: thc-ipv6.h:226:14: note: expected 'char *' but argument is of type 'unsigned char *' extern int thc_bind_multicast_to_socket(int s, char *interface, char *src); ^ fake_dhcps6.c:173:7: warning: pointer targets in passing argument 1 of 'thc_dump_data' differ in signedness [-Wpointer-sign] if (debug) thc_dump_data(rdatabuf, len, "Received Packet"); ^ In file included from fake_dhcps6.c:13:0: thc-ipv6.h:217:13: note: expected 'unsigned char *' but argument is of type 'char *' extern void thc_dump_data(unsigned char *buf, int len, char *text); ^ fake_dhcps6.c:175:7: warning: pointer targets in passing argument 1 of 'thc_ipv62notation' differ in signedness [-Wpointer-sign] ptr2 = thc_ipv62notation((char *)&ddst.sin6_addr); ^ In file included from fake_dhcps6.c:13:0: thc-ipv6.h:221:23: note: expected 'unsigned char *' but argument is of type 'char *' extern unsigned char *thc_ipv62notation(unsigned char *string); ^ fake_dhcps6.c:178:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptr1 = "Solicitate"; ^ fake_dhcps6.c:181:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptr1 = "Advertise (illegal, ignored)"; ^ fake_dhcps6.c:184:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptr1 = "Request"; ^ fake_dhcps6.c:187:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptr1 = "Confirm"; ^ fake_dhcps6.c:190:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptr1 = "Renew"; ^ fake_dhcps6.c:193:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptr1 = "Rebind"; ^ fake_dhcps6.c:196:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptr1 = "Reply (illegal, ignored)"; ^ fake_dhcps6.c:199:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptr1 = "Release (ignored)"; ^ fake_dhcps6.c:202:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptr1 = "Decline (ignored)"; ^ fake_dhcps6.c:205:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptr1 = "Reconfigure (illegal, ignored)"; ^ fake_dhcps6.c:208:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptr1 = "Information Request (ignored)"; ^ fake_dhcps6.c:211:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptr1 = "Relay Forward (ignored)"; ^ fake_dhcps6.c:214:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptr1 = "Relay Reply (ignored)"; ^ fake_dhcps6.c:217:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptr1 = "Unknown (ignored)"; ^ fake_dhcps6.c:271:11: warning: pointer targets in passing argument 1 of 'thc_ipv62notation' differ in signedness [-Wpointer-sign] ptr3 = thc_ipv62notation(wdatabuf + i + 4); ^ In file included from fake_dhcps6.c:13:0: thc-ipv6.h:221:23: note: expected 'unsigned char *' but argument is of type 'char *' extern unsigned char *thc_ipv62notation(unsigned char *string); ^ fake_dhcps6.c:301:9: warning: pointer targets in passing argument 1 of 'thc_dump_data' differ in signedness [-Wpointer-sign] if (debug) thc_dump_data(wdatabuf, len, "Reply Packet"); ^ In file included from fake_dhcps6.c:13:0: thc-ipv6.h:217:13: note: expected 'unsigned char *' but argument is of type 'char *' extern void thc_dump_data(unsigned char *buf, int len, char *text); ^ fake_dhcps6.c:311:11: warning: pointer targets in passing argument 1 of 'thc_ipv62notation' differ in signedness [-Wpointer-sign] ptr2 = thc_ipv62notation((char *)&ddst.sin6_addr); ^ In file included from fake_dhcps6.c:13:0: thc-ipv6.h:221:23: note: expected 'unsigned char *' but argument is of type 'char *' extern unsigned char *thc_ipv62notation(unsigned char *string); ^ fake_dhcps6.c:31:13: warning: variable 'fromlen' set but not used [-Wunused-but-set-variable] int size, fromlen = 0, /*mtu = 1500, */ i, j, k, l, m, s, len, t, mlen, ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o flood_dhcpc6 flood_dhcpc6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto fake_dhcps6.c:316:21: warning: 'm' may be used uninitialized in this function [-Wmaybe-uninitialized] } else if (m) ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o fake_dns6d fake_dns6d.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto flood_dhcpc6.c: In function 'check_packets': flood_dhcpc6.c:112:5: warning: pointer targets in passing argument 2 of 'thc_generate_and_send_pkt' differ in signedness [-Wpointer-sign] if (thc_generate_and_send_pkt(interface, smac, ptr + 6, pkt, &pkt_len) < 0) ^ In file included from flood_dhcpc6.c:13:0: thc-ipv6.h:203:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_generate_and_send_pkt(char *interface, unsigned char *srcmac, ^ flood_dhcpc6.c: In function 'main': flood_dhcpc6.c:122:33: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] unsigned char * mac6 = mac, *src, *dst; ^ flood_dhcpc6.c:179:3: warning: pointer targets in passing argument 2 of 'thc_pcap_init_promisc' differ in signedness [-Wpointer-sign] if ((p = thc_pcap_init_promisc(interface, "ip6 and udp and dst port 546")) == ^ In file included from flood_dhcpc6.c:13:0: thc-ipv6.h:96:16: note: expected 'unsigned char *' but argument is of type 'char *' extern pcap_t *thc_pcap_init_promisc(char *interface, unsigned char *capture); ^ flood_dhcpc6.c:224:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((pkt = thc_create_ipv6_extended(interface, PREFER_LINK, &pkt_len, src, ^ flood_dhcpc6.c:227:5: warning: pointer targets in passing argument 1 of 'thc_add_udp' differ in signedness [-Wpointer-sign] if (thc_add_udp(pkt, &pkt_len, 546, 547, 0, wdatabuf, len) < 0) return -1; ^ In file included from flood_dhcpc6.c:13:0: thc-ipv6.h:192:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_add_udp(unsigned char *pkt, int *pkt_len, ^ flood_dhcpc6.c:229:5: warning: pointer targets in passing argument 4 of 'thc_generate_and_send_pkt' differ in signedness [-Wpointer-sign] if (thc_generate_and_send_pkt(interface, mac6, NULL, pkt, &pkt_len) < 0) ^ In file included from flood_dhcpc6.c:13:0: thc-ipv6.h:203:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_generate_and_send_pkt(char *interface, unsigned char *srcmac, ^ flood_dhcpc6.c:231:5: warning: pointer targets in passing argument 1 of 'thc_destroy_packet' differ in signedness [-Wpointer-sign] pkt = thc_destroy_packet(pkt); ^ In file included from flood_dhcpc6.c:13:0: thc-ipv6.h:210:23: note: expected 'unsigned char *' but argument is of type 'char *' extern unsigned char *thc_destroy_packet(unsigned char *pkt); ^ flood_dhcpc6.c:231:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] pkt = thc_destroy_packet(pkt); ^ flood_dhcpc6.c: In function 'check_packets': flood_dhcpc6.c:112:34: warning: 'smac' may be used uninitialized in this function [-Wmaybe-uninitialized] if (thc_generate_and_send_pkt(interface, smac, ptr + 6, pkt, &pkt_len) < 0) ^ fake_dns6d.c: In function 'check_packets': fake_dns6d.c:39:54: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] *dmac = NULL, *pkt, *look, *lwrite = lookup; ^ fake_dns6d.c:72:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] src6 = ip6; // then use this as a spoofed source ^ fake_dns6d.c:78:3: warning: pointer targets in passing argument 2 of 'thc_generate_and_send_pkt' differ in signedness [-Wpointer-sign] thc_generate_and_send_pkt(interface, mac6, dmac, pkt, &pkt_len); ^ In file included from fake_dns6d.c:13:0: thc-ipv6.h:203:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_generate_and_send_pkt(char *interface, unsigned char *srcmac, ^ fake_dns6d.c: In function 'main': fake_dns6d.c:128:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] mac6 = thc_get_own_mac(interface); ^ fake_dns6d.c:131:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ip6 = thc_resolve6(argv[3]); ^ fake_dns6d.c:133:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ip6 = thc_get_own_ipv6(interface, NULL, PREFER_LINK); ^ fake_dns6d.c:141:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] routerip6 = thc_resolve6(argv[2]); ^ fake_dns6d.c:158:12: warning: pointer targets in passing argument 2 of 'thc_pcap_init_promisc' differ in signedness [-Wpointer-sign] interface, "ip6 and udp and (dst port 53 or dst port 5353)")) == ^ In file included from fake_dns6d.c:13:0: thc-ipv6.h:96:16: note: expected 'unsigned char *' but argument is of type 'char *' extern pcap_t *thc_pcap_init_promisc(char *interface, unsigned char *capture); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o fragmentation6 fragmentation6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o kill_router6 kill_router6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o fake_dnsupdate6 fake_dnsupdate6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o ndpexhaust6 ndpexhaust6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto fragmentation6.c: In function 'main': fragmentation6.c:42:31: warning: variable 'fragsize' set but not used [-Wunused-but-set-variable] int offset = 14, fragsize = 0; ^ kill_router6.c: In function 'send_ra_kill': kill_router6.c:61:5: warning: pointer targets in passing argument 3 of 'thc_add_hdr_hopbyhop' differ in signedness [-Wpointer-sign] if (thc_add_hdr_hopbyhop(pkt, &pkt_len, frbuf2, frbuf2len) < 0) return; ^ In file included from kill_router6.c:11:0: thc-ipv6.h:178:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_add_hdr_hopbyhop(unsigned char *pkt, int *pkt_len, ^ kill_router6.c:70:5: warning: pointer targets in passing argument 3 of 'thc_add_hdr_dst' differ in signedness [-Wpointer-sign] if (thc_add_hdr_dst(pkt, &pkt_len, buf3, sizeof(buf3)) < 0) return; ^ In file included from kill_router6.c:11:0: thc-ipv6.h:176:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_add_hdr_dst(unsigned char *pkt, int *pkt_len, unsigned char *buf, ^ kill_router6.c:73:21: warning: pointer targets in passing argument 6 of 'thc_add_icmp6' differ in signedness [-Wpointer-sign] frbuflen, 0) < 0) ^ In file included from kill_router6.c:11:0: thc-ipv6.h:181:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_add_icmp6(unsigned char *pkt, int *pkt_len, int type, int code, ^ kill_router6.c: In function 'main': kill_router6.c:93:25: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] unsigned char *mac6 = mac, *ip6; ^ kill_router6.c:96:27: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] unsigned char *dstmac = dmac; ^ kill_router6.c:129:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] frbuf = buf; ^ kill_router6.c:130:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] frbuf2 = buf2; ^ kill_router6.c:136:34: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (argc - optind >= 4 && (ptr = argv[optind + 3]) != NULL) ^ kill_router6.c:140:12: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] (unsigned int *)&dmac[5]); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from kill_router6.c:1: /usr/include/stdio.h:448:12: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ kill_router6.c:143:34: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (argc - optind >= 3 && (ptr = argv[optind + 2]) != NULL) ^ kill_router6.c:147:12: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] (unsigned int *)&mac[5]); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from kill_router6.c:1: /usr/include/stdio.h:448:12: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ kill_router6.c:168:3: warning: pointer targets in passing argument 2 of 'thc_pcap_init_promisc' differ in signedness [-Wpointer-sign] if ((p = thc_pcap_init_promisc(interface, string)) == NULL) { ^ In file included from kill_router6.c:11:0: thc-ipv6.h:96:16: note: expected 'unsigned char *' but argument is of type 'char *' extern pcap_t *thc_pcap_init_promisc(char *interface, unsigned char *capture); ^ kill_router6.c:189:5: warning: pointer targets in passing argument 3 of 'thc_add_hdr_dst' differ in signedness [-Wpointer-sign] if (thc_add_hdr_dst(pkt, &pkt_len, buf3, sizeof(buf3)) < 0) return -1; ^ In file included from kill_router6.c:11:0: thc-ipv6.h:176:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_add_hdr_dst(unsigned char *pkt, int *pkt_len, unsigned char *buf, ^ kill_router6.c:100:18: warning: variable 'rawmode' set but not used [-Wunused-but-set-variable] int rawmode = 0; ^ kill_router6.c: In function 'send_ra_kill': kill_router6.c:41:20: warning: 'cnt' may be used uninitialized in this function [-Wmaybe-uninitialized] int pkt_len = 0, cnt, i, len = header->caplen - 14, offset = 14; ^ kill_router6.c: In function 'main': kill_router6.c:97:21: warning: 'cnt' may be used uninitialized in this function [-Wmaybe-uninitialized] int i, cnt, offset = 14; ^ fake_dnsupdate6.c: In function 'main': fake_dnsupdate6.c:60:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((dst = thc_resolve6(argv[3])) == NULL) { ^ ndpexhaust6.c: In function 'main': ndpexhaust6.c:57:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] dstnet = argv[2]; // hier stehts dstnet drin ^ ndpexhaust6.c:58:3: warning: pointer targets in passing argument 1 of 'index' differ in signedness [-Wpointer-sign] if (dstnet == NULL || (ptr = index(dstnet, '/')) == NULL) { ^ In file included from ndpexhaust6.c:3:0: /usr/include/string.h:485:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *index (const char *__s, int __c) ^ ndpexhaust6.c:58:30: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (dstnet == NULL || (ptr = index(dstnet, '/')) == NULL) { ^ ndpexhaust6.c:66:3: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] size = atoi(ptr); // prefix lenght ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from ndpexhaust6.c:1: /usr/include/stdlib.h:278:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (atoi (const char *__nptr)) ^ ndpexhaust6.c:76:3: warning: pointer targets in passing argument 1 of 'thc_resolve6' differ in signedness [-Wpointer-sign] dst6 = thc_resolve6(dstnet); ^ In file included from ndpexhaust6.c:11:0: thc-ipv6.h:100:23: note: expected 'char *' but argument is of type 'unsigned char *' extern unsigned char *thc_resolve6(char *target); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o detect_sniffer6 detect_sniffer6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o dump_router6 dump_router6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o fake_router26 fake_router26.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto fragmentation6.c:45:29: warning: 'tos' may be used uninitialized in this function [-Wmaybe-uninitialized] char * interface, tos; ^ detect_sniffer6.c: In function 'main': detect_sniffer6.c:134:3: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(string, thc_ipv62notation(src6)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from detect_sniffer6.c:2: /usr/include/bits/string3.h:140:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ detect_sniffer6.c:148:5: warning: pointer targets in passing argument 3 of 'thc_pcap_check' differ in signedness [-Wpointer-sign] thc_pcap_check(p, (char *)check_packets, buf); ^ In file included from detect_sniffer6.c:13:0: thc-ipv6.h:98:16: note: expected 'char *' but argument is of type 'unsigned char *' extern int thc_pcap_check(pcap_t *p, char *function, char *opt); ^ fake_router26.c: In function 'send_rs_reply': fake_router26.c:125:5: warning: pointer targets in passing argument 3 of 'thc_add_hdr_hopbyhop' differ in signedness [-Wpointer-sign] if (thc_add_hdr_hopbyhop(pkt, &pkt_len, frbuf2, frbuf2len) < 0) return; ^ dump_router6.c: In function 'main': dump_router6.c:217:18: warning: variable 'rawmode' set but not used [-Wunused-but-set-variable] int rawmode = 0; ^ In file included from fake_router26.c:12:0: thc-ipv6.h:178:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_add_hdr_hopbyhop(unsigned char *pkt, int *pkt_len, ^ fake_router26.c:136:5: warning: pointer targets in passing argument 3 of 'thc_add_hdr_dst' differ in signedness [-Wpointer-sign] if (thc_add_hdr_dst(pkt, &pkt_len, buf3, sizeof(buf3)) < 0) return; ^ In file included from fake_router26.c:12:0: thc-ipv6.h:176:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_add_hdr_dst(unsigned char *pkt, int *pkt_len, unsigned char *buf, ^ fake_router26.c:139:21: warning: pointer targets in passing argument 6 of 'thc_add_icmp6' differ in signedness [-Wpointer-sign] frbuflen, 0) < 0) ^ In file included from fake_router26.c:12:0: thc-ipv6.h:181:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_add_icmp6(unsigned char *pkt, int *pkt_len, int type, int code, ^ fake_router26.c: In function 'exit_cleanup': fake_router26.c:158:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] prefix = thc_resolve6("2001:db8::"); ^ fake_router26.c:160:5: warning: pointer targets in passing argument 7 of 'thc_routeradv6' differ in signedness [-Wpointer-sign] thc_routeradv6(interface, NULL, NULL, NULL, 0, 0, prefix, 0, 0, 0); ^ In file included from fake_router26.c:12:0: thc-ipv6.h:122:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_routeradv6(char *interface, unsigned char *src, ^ fake_router26.c:162:5: warning: pointer targets in passing argument 7 of 'thc_routeradv6' differ in signedness [-Wpointer-sign] thc_routeradv6(interface, NULL, NULL, NULL, 0, 0, prefix, 0, 0, 0); ^ In file included from fake_router26.c:12:0: thc-ipv6.h:122:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_routeradv6(char *interface, unsigned char *src, ^ fake_router26.c:164:5: warning: pointer targets in passing argument 7 of 'thc_routeradv6' differ in signedness [-Wpointer-sign] thc_routeradv6(interface, NULL, NULL, NULL, 0, 0, prefix, 0, 0, 0); ^ In file included from fake_router26.c:12:0: thc-ipv6.h:122:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_routeradv6(char *interface, unsigned char *src, ^ fake_router26.c: In function 'main': fake_router26.c:200:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] dstmac = dmac; ^ fake_router26.c:207:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] mac6 = mac; ^ fake_router26.c:214:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] fmac = smac; ^ fake_router26.c:253:36: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (optarg == NULL || (ptr = index(optarg, '/')) == NULL) { ^ fake_router26.c:261:9: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] if ((size = atoi(ptr)) < 0 && ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from fake_router26.c:1: /usr/include/stdlib.h:278:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (atoi (const char *__nptr)) ^ fake_router26.c:323:36: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (optarg == NULL || (ptr = index(optarg, '/')) == NULL) { ^ fake_router26.c:331:9: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] if ((size = atoi(ptr)) < 0 && ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from fake_router26.c:1: /usr/include/stdlib.h:278:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (atoi (const char *__nptr)) ^ fake_router26.c:361:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] searchlist = optarg; ^ fake_router26.c:413:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptr = strtok(optarg, ","); ^ fake_router26.c:415:11: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] if (strncasecmp(ptr, "man", 3) == 0) ^ In file included from fake_router26.c:3:0: /usr/include/string.h:536:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ fake_router26.c:417:11: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] else if (strncasecmp(ptr, "oth", 3) == 0) ^ In file included from fake_router26.c:3:0: /usr/include/string.h:536:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ fake_router26.c:419:11: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] else if (strncasecmp(ptr, "hom", 3) == 0) ^ In file included from fake_router26.c:3:0: /usr/include/string.h:536:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ fake_router26.c:421:11: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] else if (strncasecmp(ptr, "prox", 4) == 0) ^ In file included from fake_router26.c:3:0: /usr/include/string.h:536:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ fake_router26.c:423:11: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] else if (strncasecmp(ptr, "res", 3) == 0) ^ In file included from fake_router26.c:3:0: /usr/include/string.h:536:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ fake_router26.c:425:11: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] else if (strncasecmp(ptr, "unk", 3) == 0) ^ In file included from fake_router26.c:3:0: /usr/include/string.h:536:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ fake_router26.c:431:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptr = strtok(NULL, ","); ^ fake_router26.c:471:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] frbuf = buf; ^ fake_router26.c:472:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] frbuf2 = buf2; ^ fake_router26.c:575:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (searchlist[strlen(searchlist) - 1] == '.') ^ In file included from fake_router26.c:3:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ fake_router26.c:576:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] searchlist[strlen(searchlist) - 1] = 0; ^ In file included from fake_router26.c:3:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ fake_router26.c:578:5: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] while ((ptr = strstr(searchlist, ".,")) != NULL) { ^ In file included from fake_router26.c:3:0: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ fake_router26.c:578:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] while ((ptr = strstr(searchlist, ".,")) != NULL) { ^ fake_router26.c:579:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] m = strlen(ptr); ^ In file included from fake_router26.c:3:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ fake_router26.c:586:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] j = strlen(searchlist); ^ In file included from fake_router26.c:3:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ fake_router26.c:589:7: warning: pointer targets in passing argument 1 of 'index' differ in signedness [-Wpointer-sign] ptr = index(&searchlist[l], '.'); ^ In file included from fake_router26.c:3:0: /usr/include/string.h:485:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *index (const char *__s, int __c) ^ fake_router26.c:589:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptr = index(&searchlist[l], '.'); ^ fake_router26.c:590:7: warning: pointer targets in passing argument 1 of 'index' differ in signedness [-Wpointer-sign] if (ptr == NULL || (index(&searchlist[l], ',') != NULL && ^ In file included from fake_router26.c:3:0: /usr/include/string.h:485:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *index (const char *__s, int __c) ^ fake_router26.c:591:27: warning: pointer targets in passing argument 1 of 'index' differ in signedness [-Wpointer-sign] (char *)ptr > (char *)index(&searchlist[l], ','))) { ^ In file included from fake_router26.c:3:0: /usr/include/string.h:485:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *index (const char *__s, int __c) ^ fake_router26.c:593:9: warning: pointer targets in passing argument 1 of 'index' differ in signedness [-Wpointer-sign] ptr = index(&searchlist[l], ','); ^ In file included from fake_router26.c:3:0: /usr/include/string.h:485:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *index (const char *__s, int __c) ^ fake_router26.c:593:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptr = index(&searchlist[l], ','); ^ fake_router26.c:596:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] n = strlen(&searchlist[l]); ^ In file included from fake_router26.c:3:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ fake_router26.c:623:5: warning: pointer targets in passing argument 3 of 'thc_add_hdr_hopbyhop' differ in signedness [-Wpointer-sign] if (thc_add_hdr_hopbyhop(pkt, &pkt_len, frbuf2, 6) < 0) return -1; ^ In file included from fake_router26.c:12:0: thc-ipv6.h:178:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_add_hdr_hopbyhop(unsigned char *pkt, int *pkt_len, ^ fake_router26.c:635:5: warning: pointer targets in passing argument 3 of 'thc_add_hdr_dst' differ in signedness [-Wpointer-sign] if (thc_add_hdr_dst(pkt, &pkt_len, buf3, sizeof(buf3)) < 0) return -1; ^ In file included from fake_router26.c:12:0: thc-ipv6.h:176:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_add_hdr_dst(unsigned char *pkt, int *pkt_len, unsigned char *buf, ^ fake_router26.c:645:3: warning: pointer targets in passing argument 2 of 'thc_pcap_init' differ in signedness [-Wpointer-sign] if ((p = thc_pcap_init(interface, string)) == NULL) { ^ In file included from fake_router26.c:12:0: thc-ipv6.h:95:16: note: expected 'char *' but argument is of type 'unsigned char *' extern pcap_t *thc_pcap_init(char *interface, char *capture); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o flood_router26 flood_router26.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto flood_router26.c: In function 'main': cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o passive_discovery6 passive_discovery6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto flood_router26.c:44:25: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] unsigned char *mac6 = mac, *ip6; ^ flood_router26.c:51:20: warning: variable 'rawmode' set but not used [-Wunused-but-set-variable] int pkt_len = 0, rawmode = 0, count = 0, deanon = 0, do_alert = 0, do_hop = 0, ^ passive_discovery6.c: In function 'detect': passive_discovery6.c:52:15: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char *ptr = data, *ptr2; ^ passive_discovery6.c:58:5: warning: pointer targets in passing argument 1 of 'thc_dump_data' differ in signedness [-Wpointer-sign] thc_dump_data(ptr, 8, "packet"); ^ In file included from passive_discovery6.c:11:0: thc-ipv6.h:217:13: note: expected 'unsigned char *' but argument is of type 'char *' extern void thc_dump_data(unsigned char *buf, int len, char *text); ^ passive_discovery6.c:100:9: warning: pointer targets in passing argument 1 of 'thc_ipv62notation' differ in signedness [-Wpointer-sign] ptr2 = thc_ipv62notation((char *)(ptr + offset)); ^ In file included from passive_discovery6.c:11:0: thc-ipv6.h:221:23: note: expected 'unsigned char *' but argument is of type 'char *' extern unsigned char *thc_ipv62notation(unsigned char *string); ^ passive_discovery6.c:100:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptr2 = thc_ipv62notation((char *)(ptr + offset)); ^ passive_discovery6.c: In function 'main': passive_discovery6.c:152:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] replace = thc_resolve6(optarg); ^ passive_discovery6.c:169:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] glob = thc_get_own_ipv6(interface, NULL, PREFER_GLOBAL); ^ passive_discovery6.c:170:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ll = thc_get_own_ipv6(interface, NULL, PREFER_LINK); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o dnsrevenum6 dnsrevenum6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o inverse_lookup6 inverse_lookup6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o node_query6 node_query6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto dnsrevenum6.c: In function 'deeper': dnsrevenum6.c:195:9: warning: pointer targets in passing argument 1 of 'dnssocket' differ in signedness [-Wpointer-sign] sock = dnssocket(dst); ^ dnsrevenum6.c:45:5: note: expected 'char *' but argument is of type 'unsigned char *' int dnssocket(char *server) { ^ inverse_lookup6.c: In function 'check_packets': inverse_lookup6.c:50:14: warning: pointer targets in passing argument 1 of 'thc_ipv62notation' differ in signedness [-Wpointer-sign] thc_ipv62notation((char *)ptr + 8), mac); ^ dnsrevenum6.c:206:13: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(name, "Found: "); ^ In file included from inverse_lookup6.c:11:0: thc-ipv6.h:221:23: note: expected 'unsigned char *' but argument is of type 'char *' extern unsigned char *thc_ipv62notation(unsigned char *string); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from dnsrevenum6.c:19: /usr/include/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ inverse_lookup6.c:61:15: warning: pointer targets in passing argument 1 of 'thc_ipv62notation' differ in signedness [-Wpointer-sign] thc_ipv62notation((char *)orig_ptr + 8), mac, j); ^ In file included from inverse_lookup6.c:11:0: thc-ipv6.h:221:23: note: expected 'unsigned char *' but argument is of type 'char *' extern unsigned char *thc_ipv62notation(unsigned char *string); ^ dnsrevenum6.c:218:13: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(name, foo); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from dnsrevenum6.c:19: /usr/include/bits/string3.h:140:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ inverse_lookup6.c:64:15: warning: pointer targets in passing argument 1 of 'thc_ipv62notation' differ in signedness [-Wpointer-sign] printf(" %s\n", thc_ipv62notation((char *)ptr + 7 + i * 16)); ^ dnsrevenum6.c:218:13: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(name, foo); ^ In file included from inverse_lookup6.c:11:0: thc-ipv6.h:221:23: note: expected 'unsigned char *' but argument is of type 'char *' extern unsigned char *thc_ipv62notation(unsigned char *string); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from dnsrevenum6.c:19: /usr/include/bits/string3.h:140:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ dnsrevenum6.c:220:13: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(name, " is "); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from dnsrevenum6.c:19: /usr/include/bits/string3.h:140:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ dnsrevenum6.c:226:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strncat(name, ptr2 + 1, sizeof(name) - strlen(name) - 4); ^ In file included from dnsrevenum6.c:22:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ dnsrevenum6.c:226:15: warning: pointer targets in passing argument 1 of 'strncat' differ in signedness [-Wpointer-sign] strncat(name, ptr2 + 1, sizeof(name) - strlen(name) - 4); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from dnsrevenum6.c:19: /usr/include/bits/string3.h:147:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncat (char *__restrict __dest, const char *__restrict __src, ^ dnsrevenum6.c:226:15: warning: pointer targets in passing argument 2 of 'strncat' differ in signedness [-Wpointer-sign] strncat(name, ptr2 + 1, sizeof(name) - strlen(name) - 4); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from dnsrevenum6.c:19: /usr/include/bits/string3.h:147:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncat (char *__restrict __dest, const char *__restrict __src, ^ dnsrevenum6.c:227:15: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(name, "."); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from dnsrevenum6.c:19: /usr/include/bits/string3.h:140:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ dnsrevenum6.c:232:15: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(name, " is "); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from dnsrevenum6.c:19: /usr/include/bits/string3.h:140:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ dnsrevenum6.c:238:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strncat(name, ptr2 + 1, sizeof(name) - strlen(name) - 4); ^ inverse_lookup6.c: In function 'main': In file included from dnsrevenum6.c:22:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ inverse_lookup6.c:95:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] mac = argv[2]; ^ dnsrevenum6.c:238:17: warning: pointer targets in passing argument 1 of 'strncat' differ in signedness [-Wpointer-sign] strncat(name, ptr2 + 1, sizeof(name) - strlen(name) - 4); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from dnsrevenum6.c:19: /usr/include/bits/string3.h:147:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncat (char *__restrict __dest, const char *__restrict __src, ^ dnsrevenum6.c:238:17: warning: pointer targets in passing argument 2 of 'strncat' differ in signedness [-Wpointer-sign] strncat(name, ptr2 + 1, sizeof(name) - strlen(name) - 4); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from dnsrevenum6.c:19: /usr/include/bits/string3.h:147:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncat (char *__restrict __dest, const char *__restrict __src, ^ dnsrevenum6.c:239:17: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(name, "."); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from dnsrevenum6.c:19: /usr/include/bits/string3.h:140:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ dnsrevenum6.c:279:5: warning: pointer targets in passing argument 1 of 'dnssocket' differ in signedness [-Wpointer-sign] sock = dnssocket(dst); ^ dnsrevenum6.c:45:5: note: expected 'char *' but argument is of type 'unsigned char *' int dnssocket(char *server) { ^ dnsrevenum6.c: In function 'main': dnsrevenum6.c:293:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] prg = argv[0]; ^ dnsrevenum6.c:326:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] dst = argv[1]; ^ dnsrevenum6.c:327:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptr = argv[2]; ^ dnsrevenum6.c:340:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] for (i = strlen(ptr) - 1; i >= 0 && ok == 1; i--) { ^ In file included from dnsrevenum6.c:22:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ dnsrevenum6.c:355:3: warning: pointer targets in passing argument 1 of 'index' differ in signedness [-Wpointer-sign] } else if (index(ptr, ':') != NULL && (ptr2 = index(ptr, '/')) != NULL) { ^ In file included from dnsrevenum6.c:22:0: /usr/include/string.h:485:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *index (const char *__s, int __c) ^ dnsrevenum6.c:355:3: warning: pointer targets in passing argument 1 of 'index' differ in signedness [-Wpointer-sign] } else if (index(ptr, ':') != NULL && (ptr2 = index(ptr, '/')) != NULL) { ^ In file included from dnsrevenum6.c:22:0: /usr/include/string.h:485:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *index (const char *__s, int __c) ^ dnsrevenum6.c:355:47: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] } else if (index(ptr, ':') != NULL && (ptr2 = index(ptr, '/')) != NULL) { ^ dnsrevenum6.c:357:5: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] len = atoi(ptr2); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from dnsrevenum6.c:19: /usr/include/stdlib.h:278:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (atoi (const char *__nptr)) ^ dnsrevenum6.c:371:5: warning: pointer targets in passing argument 1 of 'thc_resolve6' differ in signedness [-Wpointer-sign] if ((dest = thc_resolve6(ptr)) == NULL) { ^ In file included from dnsrevenum6.c:35:0: thc-ipv6.h:100:23: note: expected 'char *' but argument is of type 'unsigned char *' extern unsigned char *thc_resolve6(char *target); ^ dnsrevenum6.c:395:3: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(buf_end + 1, "ip6"); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from dnsrevenum6.c:19: /usr/include/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ dnsrevenum6.c:397:3: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(buf_end + 5, "arpa"); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from dnsrevenum6.c:19: /usr/include/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ dnsrevenum6.c:407:3: warning: pointer targets in passing argument 1 of 'dnssocket' differ in signedness [-Wpointer-sign] sock = dnssocket(dst); ^ dnsrevenum6.c:45:5: note: expected 'char *' but argument is of type 'unsigned char *' int dnssocket(char *server) { ^ dnsrevenum6.c:419:9: warning: pointer targets in passing argument 1 of 'dnssocket' differ in signedness [-Wpointer-sign] sock = dnssocket(dst); ^ dnsrevenum6.c:45:5: note: expected 'char *' but argument is of type 'unsigned char *' int dnssocket(char *server) { ^ node_query6.c: In function 'dump_node_reply': node_query6.c:70:11: warning: pointer targets in passing argument 1 of 'thc_ipv62notation' differ in signedness [-Wpointer-sign] printf(" %s\n", thc_ipv62notation((char *)(ipv6hdr + i))); ^ In file included from node_query6.c:11:0: thc-ipv6.h:221:23: note: expected 'unsigned char *' but argument is of type 'char *' extern unsigned char *thc_ipv62notation(unsigned char *string); ^ node_query6.c: In function 'main': node_query6.c:105:25: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] unsigned char *mac6 = mac; ^ node_query6.c:111:18: warning: variable 'rawmode' set but not used [-Wunused-but-set-variable] int rawmode = 0; ^ node_query6.c:138:7: warning: 'cnt' may be used uninitialized in this function [-Wmaybe-uninitialized] cnt += getpid(); ^ dnsrevenum6.c: In function 'deeper': dnsrevenum6.c:213:34: warning: 'j' may be used uninitialized in this function [-Wmaybe-uninitialized] dst6[15 - i / 2] = (tochar(ptr2[1]) * 16) + j; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o address6 address6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o covert_send6 covert_send6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto address6.c: In function 'main': address6.c:40:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((dst6 = index(argv[1], '/')) != NULL) *dst6 = 0; ^ address6.c:48:44: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] if (dst6[8] + dst6[9] == 0 && dst6[10] == 0xff & dst6[11] == 0xff) { ^ address6.c:58:9: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(ipv4, "%d.%d.%d.%d", dst6[9], dst6[11], dst6[13], dst6[15]); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from address6.c:1: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ address6.c:59:9: warning: pointer targets in passing argument 1 of 'inet_aton' differ in signedness [-Wpointer-sign] if (inet_aton(ipv4, &in) != 0) { ^ In file included from address6.c:11:0: /usr/include/arpa/inet.h:73:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int inet_aton (const char *__cp, struct in_addr *__inp) __THROW; ^ address6.c:67:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(ipv4, "%d.%d.%d.%d", dst6[12], dst6[13], dst6[14], dst6[15]); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from address6.c:1: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ address6.c:68:7: warning: pointer targets in passing argument 1 of 'inet_aton' differ in signedness [-Wpointer-sign] if (inet_aton(ipv4, &in) != 0) { ^ In file included from address6.c:11:0: /usr/include/arpa/inet.h:73:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int inet_aton (const char *__cp, struct in_addr *__inp) __THROW; ^ address6.c:78:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] for (i = 0; i < strlen(ptr); i++) ^ In file included from address6.c:3:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ address6.c:83:5: warning: pointer targets in passing argument 1 of 'inet_aton' differ in signedness [-Wpointer-sign] if (j == 0 && inet_aton(ptr, &in) != 0) { ^ In file included from address6.c:11:0: /usr/include/arpa/inet.h:73:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int inet_aton (const char *__cp, struct in_addr *__inp) __THROW; ^ address6.c:85:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] for (i = 0; i < strlen(ptr); i++) ^ In file included from address6.c:3:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ address6.c:103:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((ptr = index(argv[2], '/')) != NULL) *ptr = 0; ^ address6.c:112:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptr = argv[1]; ^ address6.c:114:7: warning: pointer targets in passing argument 1 of 'index' differ in signedness [-Wpointer-sign] if ((dst6 = index(ptr, '.')) != NULL) *dst6 = 0; ^ In file included from address6.c:3:0: /usr/include/string.h:485:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *index (const char *__s, int __c) ^ address6.c:114:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((dst6 = index(ptr, '.')) != NULL) *dst6 = 0; ^ address6.c:115:7: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] ipv4[i] = atoi(ptr); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from address6.c:1: /usr/include/stdlib.h:278:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (atoi (const char *__nptr)) ^ address6.c:143:9: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(ipv6, "::%d:%d:%d:%d", ipv4[0], ipv4[1], ipv4[2], ipv4[3]); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from address6.c:1: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ address6.c:144:9: warning: pointer targets in passing argument 1 of 'thc_resolve6' differ in signedness [-Wpointer-sign] dst6 = thc_resolve6(ipv6); ^ In file included from address6.c:13:0: thc-ipv6.h:100:23: note: expected 'char *' but argument is of type 'unsigned char *' extern unsigned char *thc_resolve6(char *target); ^ address6.c:152:9: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(ipv6, "::%d", ipv4[3]); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from address6.c:1: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ address6.c:153:9: warning: pointer targets in passing argument 1 of 'thc_resolve6' differ in signedness [-Wpointer-sign] dst6 = thc_resolve6(ipv6); ^ In file included from address6.c:13:0: thc-ipv6.h:100:23: note: expected 'char *' but argument is of type 'unsigned char *' extern unsigned char *thc_resolve6(char *target); ^ covert_send6.c: In function 'main': covert_send6.c:60:10: warning: variable 'rawmode' set but not used [-Wunused-but-set-variable] int rawmode = 0, tcp_port = -1; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o covert_send6d covert_send6d.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o inject_alive6 inject_alive6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o firewall6 firewall6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto inject_alive6.c: In function 'main': inject_alive6.c:166:14: warning: pointer targets in passing argument 2 of 'thc_pcap_init_promisc' differ in signedness [-Wpointer-sign] interface, "it does not matter what we put here")) == NULL) { ^ In file included from inject_alive6.c:12:0: thc-ipv6.h:96:16: note: expected 'unsigned char *' but argument is of type 'char *' extern pcap_t *thc_pcap_init_promisc(char *interface, unsigned char *capture); ^ inject_alive6.c:177:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] hdr.pkt = sndbuf; ^ firewall6.c: In function 'main': firewall6.c:233:3: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(string, thc_ipv62notation(src)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from firewall6.c:6: /usr/include/bits/string3.h:140:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ firewall6.c:233:3: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(string, thc_ipv62notation(src)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from firewall6.c:6: /usr/include/bits/string3.h:140:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ firewall6.c:236:3: warning: pointer targets in passing argument 2 of 'thc_pcap_init' differ in signedness [-Wpointer-sign] if ((p = thc_pcap_init(interface, string)) == NULL) { ^ In file included from firewall6.c:16:0: thc-ipv6.h:95:16: note: expected 'char *' but argument is of type 'unsigned char *' extern pcap_t *thc_pcap_init(char *interface, char *capture); ^ firewall6.c:287:23: warning: pointer targets in passing argument 12 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] TCP_SYN, 0x3840, 0, NULL, 0, buf, 1000) == -1) ^ In file included from firewall6.c:16:0: thc-ipv6.h:186:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int thc_add_tcp(unsigned char *pkt, int *pkt_len, ^ firewall6.c:290:7: warning: pointer targets in passing argument 6 of 'thc_add_udp' differ in signedness [-Wpointer-sign] if (thc_add_udp(pkt, &pkt_len, sport + count, port, 0, buf, 1000) == -1) ^ In file included from firewall6.c:16:0: thc-ipv6.h:192:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int thc_add_udp(unsigned char *pkt, int *pkt_len, ^ firewall6.c:1004:23: warning: pointer targets in passing argument 12 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] TCP_SYN, 0x3840, 0, NULL, 0, buf, 2500) == -1) ^ In file included from firewall6.c:16:0: thc-ipv6.h:186:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int thc_add_tcp(unsigned char *pkt, int *pkt_len, ^ firewall6.c:1007:7: warning: pointer targets in passing argument 6 of 'thc_add_udp' differ in signedness [-Wpointer-sign] if (thc_add_udp(pkt, &pkt_len, sport + count, port, 0, buf, 2500) == -1) ^ In file included from firewall6.c:16:0: thc-ipv6.h:192:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int thc_add_udp(unsigned char *pkt, int *pkt_len, ^ firewall6.c:1071:23: warning: pointer targets in passing argument 12 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] TCP_SYN, 0x3840, 0, NULL, 0, buf, 2500) == -1) ^ In file included from firewall6.c:16:0: thc-ipv6.h:186:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int thc_add_tcp(unsigned char *pkt, int *pkt_len, ^ firewall6.c:1074:7: warning: pointer targets in passing argument 6 of 'thc_add_udp' differ in signedness [-Wpointer-sign] if (thc_add_udp(pkt, &pkt_len, sport + count, port, 0, buf, 2500) == -1) ^ In file included from firewall6.c:16:0: thc-ipv6.h:192:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int thc_add_udp(unsigned char *pkt, int *pkt_len, ^ firewall6.c:1138:23: warning: pointer targets in passing argument 12 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] TCP_SYN, 0x3840, 0, NULL, 0, buf, 2500) == -1) ^ In file included from firewall6.c:16:0: thc-ipv6.h:186:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int thc_add_tcp(unsigned char *pkt, int *pkt_len, ^ firewall6.c:1141:7: warning: pointer targets in passing argument 6 of 'thc_add_udp' differ in signedness [-Wpointer-sign] if (thc_add_udp(pkt, &pkt_len, sport + count, port, 0, buf, 2500) == -1) ^ In file included from firewall6.c:16:0: thc-ipv6.h:192:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int thc_add_udp(unsigned char *pkt, int *pkt_len, ^ firewall6.c:1252:23: warning: pointer targets in passing argument 12 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] TCP_SYN, 0x3840, 0, NULL, 0, buf, 2500) == -1) ^ In file included from firewall6.c:16:0: thc-ipv6.h:186:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int thc_add_tcp(unsigned char *pkt, int *pkt_len, ^ firewall6.c:1255:7: warning: pointer targets in passing argument 6 of 'thc_add_udp' differ in signedness [-Wpointer-sign] if (thc_add_udp(pkt, &pkt_len, sport + count, port, 0, buf, 2500) == -1) ^ In file included from firewall6.c:16:0: thc-ipv6.h:192:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int thc_add_udp(unsigned char *pkt, int *pkt_len, ^ firewall6.c:1319:23: warning: pointer targets in passing argument 12 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] TCP_SYN, 0x3840, 0, NULL, 0, buf, 2500) == -1) ^ In file included from firewall6.c:16:0: thc-ipv6.h:186:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int thc_add_tcp(unsigned char *pkt, int *pkt_len, ^ firewall6.c:1322:7: warning: pointer targets in passing argument 6 of 'thc_add_udp' differ in signedness [-Wpointer-sign] if (thc_add_udp(pkt, &pkt_len, sport + count, port, 0, buf, 2500) == -1) ^ In file included from firewall6.c:16:0: thc-ipv6.h:192:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int thc_add_udp(unsigned char *pkt, int *pkt_len, ^ firewall6.c:1386:23: warning: pointer targets in passing argument 12 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] TCP_SYN, 0x3840, 0, NULL, 0, buf, 2500) == -1) ^ In file included from firewall6.c:16:0: thc-ipv6.h:186:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int thc_add_tcp(unsigned char *pkt, int *pkt_len, ^ firewall6.c:1389:7: warning: pointer targets in passing argument 6 of 'thc_add_udp' differ in signedness [-Wpointer-sign] if (thc_add_udp(pkt, &pkt_len, sport + count, port, 0, buf, 2500) == -1) ^ In file included from firewall6.c:16:0: thc-ipv6.h:192:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int thc_add_udp(unsigned char *pkt, int *pkt_len, ^ firewall6.c:1453:23: warning: pointer targets in passing argument 12 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] TCP_SYN, 0x3840, 0, NULL, 0, buf, 2500) == -1) ^ In file included from firewall6.c:16:0: thc-ipv6.h:186:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int thc_add_tcp(unsigned char *pkt, int *pkt_len, ^ firewall6.c:1456:7: warning: pointer targets in passing argument 6 of 'thc_add_udp' differ in signedness [-Wpointer-sign] if (thc_add_udp(pkt, &pkt_len, sport + count, port, 0, buf, 2500) == -1) ^ In file included from firewall6.c:16:0: thc-ipv6.h:192:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int thc_add_udp(unsigned char *pkt, int *pkt_len, ^ firewall6.c:1490:23: warning: pointer targets in passing argument 12 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] TCP_SYN, 0x3840, 0, NULL, 0, buf, 0) == -1) ^ In file included from firewall6.c:16:0: thc-ipv6.h:186:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int thc_add_tcp(unsigned char *pkt, int *pkt_len, ^ firewall6.c:1493:7: warning: pointer targets in passing argument 6 of 'thc_add_udp' differ in signedness [-Wpointer-sign] if (thc_add_udp(pkt, &pkt_len, sport + count, port, 0, buf, 0) == -1) ^ In file included from firewall6.c:16:0: thc-ipv6.h:192:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int thc_add_udp(unsigned char *pkt, int *pkt_len, ^ firewall6.c:1576:23: warning: pointer targets in passing argument 12 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] TCP_SYN, 0x3840, 0, NULL, 0, buf, 0) == -1) ^ In file included from firewall6.c:16:0: thc-ipv6.h:186:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int thc_add_tcp(unsigned char *pkt, int *pkt_len, ^ firewall6.c:1579:7: warning: pointer targets in passing argument 6 of 'thc_add_udp' differ in signedness [-Wpointer-sign] if (thc_add_udp(pkt, &pkt_len, sport + count, port, 0, buf, 0) == -1) ^ In file included from firewall6.c:16:0: thc-ipv6.h:192:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int thc_add_udp(unsigned char *pkt, int *pkt_len, ^ firewall6.c:1662:23: warning: pointer targets in passing argument 12 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] TCP_SYN, 0x3840, 0, NULL, 0, buf, 40) == -1) ^ In file included from firewall6.c:16:0: thc-ipv6.h:186:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int thc_add_tcp(unsigned char *pkt, int *pkt_len, ^ firewall6.c:1665:7: warning: pointer targets in passing argument 6 of 'thc_add_udp' differ in signedness [-Wpointer-sign] if (thc_add_udp(pkt, &pkt_len, sport + count, port, 0, buf, 40) == -1) ^ In file included from firewall6.c:16:0: thc-ipv6.h:192:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int thc_add_udp(unsigned char *pkt, int *pkt_len, ^ firewall6.c:1879:21: warning: pointer targets in passing argument 12 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] 12) == -1) ^ In file included from firewall6.c:16:0: thc-ipv6.h:186:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int thc_add_tcp(unsigned char *pkt, int *pkt_len, ^ firewall6.c:1914:25: warning: pointer targets in passing argument 12 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] TCP_SYN, 0x3840, 0, NULL, 0, buf, 0) == -1) ^ In file included from firewall6.c:16:0: thc-ipv6.h:186:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int thc_add_tcp(unsigned char *pkt, int *pkt_len, ^ firewall6.c:1937:9: warning: pointer targets in passing argument 6 of 'thc_add_udp' differ in signedness [-Wpointer-sign] if (thc_add_udp(pkt, &pkt_len, sports2[i], port, 0, buf, 1000) == -1) ^ In file included from firewall6.c:16:0: thc-ipv6.h:192:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int thc_add_udp(unsigned char *pkt, int *pkt_len, ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o ndpexhaust26 ndpexhaust26.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o fake_pim6 fake_pim6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto ndpexhaust26.c: In function 'main': ndpexhaust26.c:148:5: warning: pointer targets in passing argument 3 of 'thc_add_hdr_hopbyhop' differ in signedness [-Wpointer-sign] if (thc_add_hdr_hopbyhop(pkt, &pkt_len, buf2, 6) < 0) return -1; ^ In file included from ndpexhaust26.c:11:0: thc-ipv6.h:178:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_add_hdr_hopbyhop(unsigned char *pkt, int *pkt_len, ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o thcsyn6 thcsyn6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto thcsyn6.c: In function 'main': thcsyn6.c:192:7: warning: pointer targets in passing argument 3 of 'thc_add_hdr_hopbyhop' differ in signedness [-Wpointer-sign] if (thc_add_hdr_hopbyhop(pkt, &pkt_len, buf2, 6) < 0) return -1; ^ In file included from thcsyn6.c:11:0: thc-ipv6.h:178:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_add_hdr_hopbyhop(unsigned char *pkt, int *pkt_len, ^ thcsyn6.c:199:9: warning: pointer targets in passing argument 3 of 'thc_add_hdr_dst' differ in signedness [-Wpointer-sign] if (thc_add_hdr_dst(pkt, &pkt_len, buf2, 6) < 0) return -1; ^ In file included from thcsyn6.c:11:0: thc-ipv6.h:176:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_add_hdr_dst(unsigned char *pkt, int *pkt_len, unsigned char *buf, ^ thcsyn6.c:47:24: warning: variable 'dont_crc' set but not used [-Wunused-but-set-variable] randdstp = 0, dont_crc = 0, seq, do_dst = 0, do_frag = 0, fastopen = 0, ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o redirsniff6 redirsniff6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto thcsyn6.c:209:20: warning: 'port' may be used uninitialized in this function [-Wmaybe-uninitialized] if (thc_add_tcp(pkt, &pkt_len, sport, port, seq, 0, type, 0x3840, 0, buf3, ^ thcsyn6.c:209:20: warning: 'sport' may be used uninitialized in this function [-Wmaybe-uninitialized] redirsniff6.c: In function 'intercept': redirsniff6.c:68:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptr = thc_ipv62notation((unsigned char *)data + 14 + 8); ^ redirsniff6.c:69:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptr2 = thc_ipv62notation((unsigned char *)data + 14 + 8 + 16); ^ redirsniff6.c: In function 'main': redirsniff6.c:148:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(string, thc_ipv62notation(src6)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from redirsniff6.c:1: /usr/include/bits/string3.h:140:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ redirsniff6.c:152:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(string, thc_ipv62notation(dest6)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from redirsniff6.c:1: /usr/include/bits/string3.h:140:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ redirsniff6.c:76:21: warning: variable 'offset' set but not used [-Wunused-but-set-variable] int rawmode = 0, offset = 14; ^ redirsniff6.c:76:8: warning: variable 'rawmode' set but not used [-Wunused-but-set-variable] int rawmode = 0, offset = 14; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o flood_redir6 flood_redir6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto flood_redir6.c: In function 'main': flood_redir6.c:28:25: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] unsigned char *mac6 = mac; ^ flood_redir6.c:35:34: warning: unused variable 'rawmode' [-Wunused-variable] int pkt_len = 0, pkt_len2 = 0, rawmode = 0, count = 0, do_alert = 0, ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o four2six four2six.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o dump_dhcp6 dump_dhcp6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto four2six.c: In function 'main': four2six.c:45:20: warning: 'cnt' may be used uninitialized in this function [-Wmaybe-uninitialized] do_frag = 0, cnt, type = NXT_ICMP6, offset = 14; ^ dump_dhcp6.c: In function 'check_packets': dump_dhcp6.c:63:40: warning: variable 'rlen' set but not used [-Wunused-but-set-variable] int len = header->caplen, rlen, i, j, k; ^ dump_dhcp6.c: In function 'main': dump_dhcp6.c:236:25: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] unsigned char *mac6 = mac, *src, *dst, *vendorid = NULL, *ptr; ^ dump_dhcp6.c:259:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] vendorid = optarg; ^ dump_dhcp6.c:298:3: warning: pointer targets in passing argument 2 of 'thc_pcap_init_promisc' differ in signedness [-Wpointer-sign] if ((p = thc_pcap_init_promisc(interface, "ip6 and udp and dst port 546")) == ^ In file included from dump_dhcp6.c:14:0: thc-ipv6.h:96:16: note: expected 'unsigned char *' but argument is of type 'char *' extern pcap_t *thc_pcap_init_promisc(char *interface, unsigned char *capture); ^ dump_dhcp6.c:324:5: warning: pointer targets in passing argument 1 of 'index' differ in signedness [-Wpointer-sign] if ((ptr = index(vendorid, ',')) == NULL) { ^ In file included from dump_dhcp6.c:3:0: /usr/include/string.h:485:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *index (const char *__s, int __c) ^ dump_dhcp6.c:324:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((ptr = index(vendorid, ',')) == NULL) { ^ dump_dhcp6.c:329:5: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] i = atoi(vendorid); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from dump_dhcp6.c:1: /usr/include/stdlib.h:278:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (atoi (const char *__nptr)) ^ dump_dhcp6.c:332:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] wdatabuf[len + 2] = (4 + 2 + strlen(ptr)) / 256; ^ In file included from dump_dhcp6.c:3:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ dump_dhcp6.c:333:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] wdatabuf[len + 3] = (4 + 2 + strlen(ptr)) % 256; ^ In file included from dump_dhcp6.c:3:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ dump_dhcp6.c:338:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] wdatabuf[len + 8] = strlen(ptr) / 256; ^ In file included from dump_dhcp6.c:3:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ dump_dhcp6.c:339:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] wdatabuf[len + 9] = strlen(ptr) % 256; ^ In file included from dump_dhcp6.c:3:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ dump_dhcp6.c:340:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] memcpy(wdatabuf + len + 10, ptr, strlen(ptr)); ^ In file included from dump_dhcp6.c:3:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ dump_dhcp6.c:341:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] memcpy(wdatabuf2 + len2, wdatabuf + len, 10 + strlen(ptr)); ^ In file included from dump_dhcp6.c:3:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ dump_dhcp6.c:342:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len += 10 + strlen(ptr); ^ In file included from dump_dhcp6.c:3:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ dump_dhcp6.c:343:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len2 += 10 + strlen(ptr); ^ In file included from dump_dhcp6.c:3:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ dump_dhcp6.c:346:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((pkt = thc_create_ipv6_extended(interface, source, &pkt_len, src, dst, ^ dump_dhcp6.c:349:3: warning: pointer targets in passing argument 1 of 'thc_add_udp' differ in signedness [-Wpointer-sign] if (thc_add_udp(pkt, &pkt_len, 546, 547, 0, wdatabuf, len) < 0) return -1; ^ In file included from dump_dhcp6.c:14:0: thc-ipv6.h:192:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_add_udp(unsigned char *pkt, int *pkt_len, ^ dump_dhcp6.c:350:3: warning: pointer targets in passing argument 4 of 'thc_generate_and_send_pkt' differ in signedness [-Wpointer-sign] if (thc_generate_and_send_pkt(interface, mac6, NULL, pkt, &pkt_len) < 0) ^ In file included from dump_dhcp6.c:14:0: thc-ipv6.h:203:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_generate_and_send_pkt(char *interface, unsigned char *srcmac, ^ dump_dhcp6.c:352:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((pkt2 = thc_create_ipv6_extended(interface, source, &pkt2_len, src, dst, ^ dump_dhcp6.c:355:3: warning: pointer targets in passing argument 1 of 'thc_add_udp' differ in signedness [-Wpointer-sign] if (thc_add_udp(pkt2, &pkt2_len, 546, 547, 0, wdatabuf2, len2) < 0) return -1; ^ In file included from dump_dhcp6.c:14:0: thc-ipv6.h:192:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_add_udp(unsigned char *pkt, int *pkt_len, ^ dump_dhcp6.c:356:3: warning: pointer targets in passing argument 4 of 'thc_generate_and_send_pkt' differ in signedness [-Wpointer-sign] if (thc_generate_and_send_pkt(interface, mac6, NULL, pkt2, &pkt2_len) < 0) ^ In file included from dump_dhcp6.c:14:0: thc-ipv6.h:203:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_generate_and_send_pkt(char *interface, unsigned char *srcmac, ^ dump_dhcp6.c:361:3: warning: pointer targets in passing argument 1 of 'thc_destroy_packet' differ in signedness [-Wpointer-sign] pkt = thc_destroy_packet(pkt); ^ In file included from dump_dhcp6.c:14:0: thc-ipv6.h:210:23: note: expected 'unsigned char *' but argument is of type 'char *' extern unsigned char *thc_destroy_packet(unsigned char *pkt); ^ dump_dhcp6.c:361:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] pkt = thc_destroy_packet(pkt); ^ dump_dhcp6.c:241:26: warning: variable 'do_all' set but not used [-Wunused-but-set-variable] int do_all = 1, use_real_mac = 1, use_real_link = 1; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o flood_rs6 flood_rs6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o fuzz_dhcps6 fuzz_dhcps6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto flood_rs6.c: In function 'main': flood_rs6.c:34:70: warning: variable 'do_dst' set but not used [-Wunused-but-set-variable] int pkt_len2 = 0, rawmode = 0, count = 0, do_hop = 0, do_frag = 0, do_dst = 0; ^ flood_rs6.c:34:45: warning: variable 'do_hop' set but not used [-Wunused-but-set-variable] int pkt_len2 = 0, rawmode = 0, count = 0, do_hop = 0, do_frag = 0, do_dst = 0; ^ flood_rs6.c:34:21: warning: unused variable 'rawmode' [-Wunused-variable] int pkt_len2 = 0, rawmode = 0, count = 0, do_hop = 0, do_frag = 0, do_dst = 0; ^ flood_rs6.c:32:13: warning: unused variable 'type' [-Wunused-variable] int i, k, type = NXT_ICMP6, offset = 14, mychecksum, prefer = PREFER_LINK; ^ fuzz_dhcps6.c: In function 'try_send_pkt': fuzz_dhcps6.c:222:5: warning: pointer targets in passing argument 2 of 'thc_send_pkt' differ in signedness [-Wpointer-sign] if (thc_send_pkt(interface, pkt, pkt_len) < 0) ^ In file included from fuzz_dhcps6.c:19:0: thc-ipv6.h:209:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_send_pkt(char *interface, unsigned char *pkt, int *pkt_len); ^ fuzz_dhcps6.c: In function 'check_alive': fuzz_dhcps6.c:255:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((pkt = thc_create_ipv6_extended(interface, PREFER_LINK, &pkt_len, NULL, ^ fuzz_dhcps6.c:262:3: warning: pointer targets in passing argument 1 of 'thc_add_udp' differ in signedness [-Wpointer-sign] if (thc_add_udp(pkt, &pkt_len, 546, 547, 0, wdatabuf, len) < 0) { ^ In file included from fuzz_dhcps6.c:19:0: thc-ipv6.h:192:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_add_udp(unsigned char *pkt, int *pkt_len, ^ fuzz_dhcps6.c:267:3: warning: pointer targets in passing argument 4 of 'thc_generate_pkt' differ in signedness [-Wpointer-sign] if (thc_generate_pkt(interface, mac6, NULL, pkt, &pkt_len) < 0) { ^ In file included from fuzz_dhcps6.c:19:0: thc-ipv6.h:206:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_generate_pkt(char *interface, unsigned char *srcmac, ^ fuzz_dhcps6.c:289:7: warning: pointer targets in passing argument 2 of 'thc_send_pkt' differ in signedness [-Wpointer-sign] if (thc_send_pkt(interface, pkt, &pkt_len) < ^ In file included from fuzz_dhcps6.c:19:0: thc-ipv6.h:209:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_send_pkt(char *interface, unsigned char *pkt, int *pkt_len); ^ fuzz_dhcps6.c:293:9: warning: pointer targets in passing argument 2 of 'thc_send_pkt' differ in signedness [-Wpointer-sign] thc_send_pkt(interface, pkt, &pkt_len); // Retry sending packet after ^ In file included from fuzz_dhcps6.c:19:0: thc-ipv6.h:209:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_send_pkt(char *interface, unsigned char *pkt, int *pkt_len); ^ fuzz_dhcps6.c:311:3: warning: pointer targets in passing argument 1 of 'thc_destroy_packet' differ in signedness [-Wpointer-sign] thc_destroy_packet(pkt); ^ In file included from fuzz_dhcps6.c:19:0: thc-ipv6.h:210:23: note: expected 'unsigned char *' but argument is of type 'char *' extern unsigned char *thc_destroy_packet(unsigned char *pkt); ^ fuzz_dhcps6.c: In function 'fuzz_loop': fuzz_dhcps6.c:490:11: warning: pointer targets in passing argument 2 of 'thc_send_pkt' differ in signedness [-Wpointer-sign] while (thc_send_pkt(interface, pkt, pkt_len) < 0) ^ In file included from fuzz_dhcps6.c:19:0: thc-ipv6.h:209:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_send_pkt(char *interface, unsigned char *pkt, int *pkt_len); ^ fuzz_dhcps6.c:323:37: warning: unused variable 'frag_offset' [-Wunused-variable] int fragment = 0, frag_offset = 0; ^ fuzz_dhcps6.c:323:23: warning: unused variable 'fragment' [-Wunused-variable] int fragment = 0, frag_offset = 0; ^ fuzz_dhcps6.c: In function 'construct_from_adv_and_fuzz': fuzz_dhcps6.c:673:5: warning: pointer targets in passing argument 2 of 'thc_generate_pkt' differ in signedness [-Wpointer-sign] if (thc_generate_pkt(interface, smac, ptr + 6, pkt, &pkt_len) < 0) { ^ In file included from fuzz_dhcps6.c:19:0: thc-ipv6.h:206:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_generate_pkt(char *interface, unsigned char *srcmac, ^ fuzz_dhcps6.c:678:5: warning: pointer targets in passing argument 1 of 'fuzz_loop' differ in signedness [-Wpointer-sign] if (fuzz_loop(pkt, &pkt_len) < 0) { ^ fuzz_dhcps6.c:316:5: note: expected 'char *' but argument is of type 'unsigned char *' int fuzz_loop(char *pkt, int *pkt_len) { ^ fuzz_dhcps6.c: In function 'main': fuzz_dhcps6.c:698:25: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] unsigned char *mac6 = mac, *src, *dst; ^ fuzz_dhcps6.c:803:3: warning: pointer targets in passing argument 2 of 'thc_pcap_init_promisc' differ in signedness [-Wpointer-sign] if ((p = thc_pcap_init_promisc(interface, "ip6 and udp and dst port 546")) == ^ In file included from fuzz_dhcps6.c:19:0: thc-ipv6.h:96:16: note: expected 'unsigned char *' but argument is of type 'char *' extern pcap_t *thc_pcap_init_promisc(char *interface, unsigned char *capture); ^ fuzz_dhcps6.c:915:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((pkt = thc_create_ipv6_extended(interface, PREFER_LINK, &pkt_len, src, ^ fuzz_dhcps6.c:918:3: warning: pointer targets in passing argument 1 of 'thc_add_udp' differ in signedness [-Wpointer-sign] if (thc_add_udp(pkt, &pkt_len, 546, 547, 0, wdatabuf, len) < 0) return -1; ^ In file included from fuzz_dhcps6.c:19:0: thc-ipv6.h:192:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_add_udp(unsigned char *pkt, int *pkt_len, ^ fuzz_dhcps6.c:920:3: warning: pointer targets in passing argument 4 of 'thc_generate_pkt' differ in signedness [-Wpointer-sign] if (thc_generate_pkt(interface, mac6, NULL, pkt, &pkt_len) < 0) return -1; ^ In file included from fuzz_dhcps6.c:19:0: thc-ipv6.h:206:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_generate_pkt(char *interface, unsigned char *srcmac, ^ fuzz_dhcps6.c:930:5: warning: pointer targets in passing argument 2 of 'thc_send_pkt' differ in signedness [-Wpointer-sign] if (thc_send_pkt(interface, pkt, &pkt_len) < 0) { ^ In file included from fuzz_dhcps6.c:19:0: thc-ipv6.h:209:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_send_pkt(char *interface, unsigned char *pkt, int *pkt_len); ^ fuzz_dhcps6.c:952:3: warning: pointer targets in passing argument 1 of 'thc_destroy_packet' differ in signedness [-Wpointer-sign] pkt = thc_destroy_packet(pkt); ^ In file included from fuzz_dhcps6.c:19:0: thc-ipv6.h:210:23: note: expected 'unsigned char *' but argument is of type 'char *' extern unsigned char *thc_destroy_packet(unsigned char *pkt); ^ fuzz_dhcps6.c:952:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] pkt = thc_destroy_packet(pkt); ^ fuzz_dhcps6.c:701:7: warning: unused variable 'do_all' [-Wunused-variable] int do_all = 1, use_real_mac = 1, use_real_link = 1; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o fuzz_dhcpc6 fuzz_dhcpc6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o toobigsniff6 toobigsniff6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto fuzz_dhcpc6.c:271:23: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] unsigned char *mac6 = mac, *src; // creates mac6 address usuing ^ fuzz_dhcpc6.c: In function 'fuzz_loop': fuzz_dhcpc6.c:557:11: warning: pointer targets in passing argument 2 of 'thc_send_pkt' differ in signedness [-Wpointer-sign] while (thc_send_pkt(interface, pkt, pkt_len) < 0) ^ In file included from fuzz_dhcpc6.c:13:0: thc-ipv6.h:209:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_send_pkt(char *interface, unsigned char *pkt, int *pkt_len); ^ fuzz_dhcpc6.c:369:37: warning: unused variable 'frag_offset' [-Wunused-variable] int fragment = 0, frag_offset = 0; ^ fuzz_dhcpc6.c:369:23: warning: unused variable 'fragment' [-Wunused-variable] int fragment = 0, frag_offset = 0; ^ fuzz_dhcpc6.c: In function 'dhcpc_listener': fuzz_dhcpc6.c:577:3: warning: pointer targets in passing argument 3 of 'thc_bind_multicast_to_socket' differ in signedness [-Wpointer-sign] if (thc_bind_multicast_to_socket(s, interface, thc_resolve6("ff02::1:2")) < ^ In file included from fuzz_dhcpc6.c:13:0: thc-ipv6.h:226:14: note: expected 'char *' but argument is of type 'unsigned char *' extern int thc_bind_multicast_to_socket(int s, char *interface, char *src); ^ fuzz_dhcpc6.c:610:7: warning: pointer targets in passing argument 1 of 'thc_ipv62notation' differ in signedness [-Wpointer-sign] ptr2 = thc_ipv62notation((char *)&ddst.sin6_addr); ^ In file included from fuzz_dhcpc6.c:13:0: thc-ipv6.h:221:23: note: expected 'unsigned char *' but argument is of type 'char *' extern unsigned char *thc_ipv62notation(unsigned char *string); ^ fuzz_dhcpc6.c:612:7: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy((char *)&victim, ptr2, sizeof(victim)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from fuzz_dhcpc6.c:1: /usr/include/bits/string3.h:117:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ fuzz_dhcpc6.c: In function 'main': fuzz_dhcpc6.c:757:16: warning: format '%x' expects argument of type 'unsigned int *', but argument 3 has type 'char *' [-Wformat=] (char *)&cid[12], (char *)&cid[13]); ^ fuzz_dhcpc6.c:757:16: warning: format '%x' expects argument of type 'unsigned int *', but argument 4 has type 'char *' [-Wformat=] fuzz_dhcpc6.c:757:16: warning: format '%x' expects argument of type 'unsigned int *', but argument 5 has type 'char *' [-Wformat=] fuzz_dhcpc6.c:757:16: warning: format '%x' expects argument of type 'unsigned int *', but argument 6 has type 'char *' [-Wformat=] fuzz_dhcpc6.c:757:16: warning: format '%x' expects argument of type 'unsigned int *', but argument 7 has type 'char *' [-Wformat=] fuzz_dhcpc6.c:757:16: warning: format '%x' expects argument of type 'unsigned int *', but argument 8 has type 'char *' [-Wformat=] fuzz_dhcpc6.c:757:16: warning: format '%x' expects argument of type 'unsigned int *', but argument 9 has type 'char *' [-Wformat=] fuzz_dhcpc6.c:757:16: warning: format '%x' expects argument of type 'unsigned int *', but argument 10 has type 'char *' [-Wformat=] fuzz_dhcpc6.c:757:16: warning: format '%x' expects argument of type 'unsigned int *', but argument 11 has type 'char *' [-Wformat=] fuzz_dhcpc6.c:757:16: warning: format '%x' expects argument of type 'unsigned int *', but argument 12 has type 'char *' [-Wformat=] fuzz_dhcpc6.c:757:16: warning: format '%x' expects argument of type 'unsigned int *', but argument 13 has type 'char *' [-Wformat=] fuzz_dhcpc6.c:757:16: warning: format '%x' expects argument of type 'unsigned int *', but argument 14 has type 'char *' [-Wformat=] fuzz_dhcpc6.c:757:16: warning: format '%x' expects argument of type 'unsigned int *', but argument 15 has type 'char *' [-Wformat=] fuzz_dhcpc6.c:757:16: warning: format '%x' expects argument of type 'unsigned int *', but argument 16 has type 'char *' [-Wformat=] toobigsniff6.c: In function 'send_toobig': toobigsniff6.c:53:3: warning: pointer targets in passing argument 1 of 'thc_toobig6' differ in signedness [-Wpointer-sign] thc_toobig6(interface, src6, mac6, NULL, mtu, ipv6hdr, len); ^ In file included from toobigsniff6.c:11:0: thc-ipv6.h:130:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int thc_toobig6(char *interface, unsigned char *src, ^ toobigsniff6.c: In function 'main': toobigsniff6.c:90:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] interface = argv[optind]; ^ toobigsniff6.c:91:3: warning: pointer targets in passing argument 1 of 'thc_get_own_mac' differ in signedness [-Wpointer-sign] mac6 = thc_get_own_mac(interface); ^ In file included from toobigsniff6.c:11:0: thc-ipv6.h:102:23: note: expected 'char *' but argument is of type 'unsigned char *' extern unsigned char *thc_get_own_mac(char *interface); ^ toobigsniff6.c:92:3: warning: pointer targets in passing argument 1 of 'thc_get_own_ipv6' differ in signedness [-Wpointer-sign] src6 = thc_get_own_ipv6(interface, NULL, PREFER_GLOBAL); ^ In file included from toobigsniff6.c:11:0: thc-ipv6.h:104:23: note: expected 'char *' but argument is of type 'unsigned char *' extern unsigned char *thc_get_own_ipv6(char *interface, unsigned char *dst, ^ toobigsniff6.c:112:3: warning: pointer targets in passing argument 1 of 'thc_pcap_init' differ in signedness [-Wpointer-sign] if ((p = thc_pcap_init(interface, string)) == NULL) { ^ In file included from toobigsniff6.c:11:0: thc-ipv6.h:95:16: note: expected 'char *' but argument is of type 'unsigned char *' extern pcap_t *thc_pcap_init(char *interface, char *capture); ^ toobigsniff6.c:65:11: warning: variable 'rawmode' set but not used [-Wunused-but-set-variable] int rawmode = 0, i; ^ fuzz_dhcpc6.c:800:3: warning: pointer targets in passing argument 2 of 'thc_pcap_init_promisc' differ in signedness [-Wpointer-sign] if ((p = thc_pcap_init_promisc(interface, "ip6 and udp and dst port 547")) == ^ In file included from fuzz_dhcpc6.c:13:0: thc-ipv6.h:96:16: note: expected 'unsigned char *' but argument is of type 'char *' extern pcap_t *thc_pcap_init_promisc(char *interface, unsigned char *capture); ^ fuzz_dhcpc6.c: In function 'do_fuzzer': fuzz_dhcpc6.c:901:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((pkt = thc_create_ipv6_extended(interface, PREFER_LINK, &pkt_len, src, ^ fuzz_dhcpc6.c:906:3: warning: pointer targets in passing argument 1 of 'thc_add_udp' differ in signedness [-Wpointer-sign] if (thc_add_udp(pkt, &pkt_len, 547, 546, 0, wdatabuf, opt_off) < 0) { ^ In file included from fuzz_dhcpc6.c:13:0: thc-ipv6.h:192:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_add_udp(unsigned char *pkt, int *pkt_len, ^ fuzz_dhcpc6.c:911:3: warning: pointer targets in passing argument 4 of 'thc_generate_pkt' differ in signedness [-Wpointer-sign] if (thc_generate_pkt(interface, mac6, NULL, pkt, &pkt_len) < 0) { ^ In file included from fuzz_dhcpc6.c:13:0: thc-ipv6.h:206:12: note: expected 'unsigned char *' but argument is of type 'char *' extern int thc_generate_pkt(char *interface, unsigned char *srcmac, ^ fuzz_dhcpc6.c:918:3: warning: pointer targets in passing argument 1 of 'thc_destroy_packet' differ in signedness [-Wpointer-sign] pkt = thc_destroy_packet(pkt); ^ In file included from fuzz_dhcpc6.c:13:0: thc-ipv6.h:210:23: note: expected 'unsigned char *' but argument is of type 'char *' extern unsigned char *thc_destroy_packet(unsigned char *pkt); ^ fuzz_dhcpc6.c:918:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] pkt = thc_destroy_packet(pkt); ^ fuzz_dhcpc6.c: In function 'main': fuzz_dhcpc6.c:816:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ fuzz_dhcps6.c: In function 'construct_from_adv_and_fuzz': fuzz_dhcps6.c:673:25: warning: 'smac' may be used uninitialized in this function [-Wmaybe-uninitialized] if (thc_generate_pkt(interface, smac, ptr + 6, pkt, &pkt_len) < 0) { ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o flood_unreach6 flood_unreach6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto flood_unreach6.c: In function 'main': flood_unreach6.c:29:25: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] unsigned char *mac6 = mac; ^ flood_unreach6.c:36:34: warning: unused variable 'rawmode' [-Wunused-variable] int pkt_len = 0, pkt_len2 = 0, rawmode = 0, count = 0, do_alert = 0, ^ flood_unreach6.c:33:47: warning: unused variable 'rand_newrouter' [-Wunused-variable] int i, j, k, type = NXT_ICMP6, offset = 14, rand_newrouter = 1, rand_src = 0, ^ flood_unreach6.c:33:13: warning: unused variable 'k' [-Wunused-variable] int i, j, k, type = NXT_ICMP6, offset = 14, rand_newrouter = 1, rand_src = 0, ^ flood_unreach6.c:32:53: warning: unused variable 'newrouter' [-Wunused-variable] *dstmac = NULL, *oldrouter = NULL, *newrouter = NULL; ^ flood_unreach6.c:31:63: warning: unused variable 'fake_dst' [-Wunused-variable] unsigned char *dst = thc_resolve6("ff02::1"), *src = NULL, *fake_dst = NULL, ^ flood_unreach6.c:28:42: warning: unused variable 'newroutermac' [-Wunused-variable] char * interface, mac[6] = "", newroutermac[6]; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o connect6 connect6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o thcping6 thcping6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto -lrt cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o fragrouter6 fragrouter6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto -lnetfilter_queue || /bin/echo -e "\nCompilation of fragrouter6 failed, you have to install libnetfilter-queue-dev for this!\n" connect6.c: In function 'main': connect6.c:197:5: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] i = getsockopt(t, IPPROTO_IPV6, IPV6_MTU, &optval, &optlen); ^ In file included from connect6.c:9:0: /usr/include/sys/socket.h:220:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' extern int getsockopt (int __fd, int __level, int __optname, ^ connect6.c:254:18: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] (waitms - diff) % 1000); ^ connect6.c:254:18: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] connect6.c:55:18: warning: variable 'conn_len' set but not used [-Wunused-but-set-variable] int i, t = -1, conn_len, do_alert = 0, interactive = 0, optval, optlen, ^ thcping6.c: In function 'check_packets': thcping6.c:123:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(frag, " (fragmented: 0x%08lx)", fragid); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from thcping6.c:1: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ thcping6.c: In function 'main': thcping6.c:398:3: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(string, thc_ipv62notation(src6)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from thcping6.c:1: /usr/include/bits/string3.h:140:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ thcping6.c:594:23: warning: pointer targets in passing argument 10 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] (unsigned char *)&buf, dlen) < 0) ^ In file included from thcping6.c:14:0: thc-ipv6.h:186:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int thc_add_tcp(unsigned char *pkt, int *pkt_len, ^ thcping6.c:594:23: warning: pointer targets in passing argument 12 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] (unsigned char *)&buf, dlen) < 0) ^ In file included from thcping6.c:14:0: thc-ipv6.h:186:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int thc_add_tcp(unsigned char *pkt, int *pkt_len, ^ thcping6.c:597:28: warning: pointer targets in passing argument 6 of 'thc_add_udp' differ in signedness [-Wpointer-sign] (unsigned char *)&buf, dlen) < 0) ^ In file included from thcping6.c:14:0: thc-ipv6.h:192:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int thc_add_udp(unsigned char *pkt, int *pkt_len, ^ thcping6.c:688:9: warning: pointer targets in passing argument 3 of 'thc_pcap_check' differ in signedness [-Wpointer-sign] while (thc_pcap_check(p, (char *)check_packets, buf) > 0) ^ In file included from thcping6.c:14:0: thc-ipv6.h:98:16: note: expected 'char *' but argument is of type 'unsigned char *' extern int thc_pcap_check(pcap_t *p, char *function, char *opt); ^ thcping6.c:698:5: warning: pointer targets in passing argument 3 of 'thc_pcap_check' differ in signedness [-Wpointer-sign] thc_pcap_check(p, (char *)check_packets, buf); ^ In file included from thcping6.c:14:0: thc-ipv6.h:98:16: note: expected 'char *' but argument is of type 'unsigned char *' extern int thc_pcap_check(pcap_t *p, char *function, char *opt); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_HAVE_SSL -o connsplit6 connsplit6.c thc-ipv6-lib.o -Wl,-z,relro -L/usr/lib/openssl11 -lpcap -lssl -lcrypto -lnetfilter_queue || /bin/echo -e "\nCompilation of connsplit6 failed, you have to install libnetfilter-queue-dev for this!\n" connsplit6.c: In function 'netfilter_queue_callback': connsplit6.c:207:24: warning: unused variable 'port' [-Wunused-variable] int port = THC_SPLITCONNECT_PORT, pport; ^ connsplit6.c:98:16: warning: unused variable 'hdr' [-Wunused-variable] thc_ipv6_hdr hdr; ^ connsplit6.c:97:34: warning: unused variable 'buflen' [-Wunused-variable] int i, j, k, proto, drop = 0, buflen = 0; ^ connsplit6.c:97:24: warning: unused variable 'drop' [-Wunused-variable] int i, j, k, proto, drop = 0, buflen = 0; ^ connsplit6.c:97:14: warning: unused variable 'k' [-Wunused-variable] int i, j, k, proto, drop = 0, buflen = 0; ^ connsplit6.c:97:11: warning: unused variable 'j' [-Wunused-variable] int i, j, k, proto, drop = 0, buflen = 0; ^ connsplit6.c:97:8: warning: unused variable 'i' [-Wunused-variable] int i, j, k, proto, drop = 0, buflen = 0; ^ connsplit6.c:94:54: warning: unused variable 'dstmac' [-Wunused-variable] unsigned char * packet, payload[2048], buf[2048], *dstmac; ^ connsplit6.c:94:42: warning: unused variable 'buf' [-Wunused-variable] unsigned char * packet, payload[2048], buf[2048], *dstmac; ^ connsplit6.c:93:28: warning: unused variable 'temp_id' [-Wunused-variable] unsigned int len, id, temp_id; ^ + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.VfyTSm + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm ++ dirname /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm + cd thc-ipv6-3.8 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm PREFIX=/usr STRIP=/usr/bin/true /usr/bin/true 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 connect6 dnssecwalk dnsdict6 thcping6 fragrouter6 connsplit6 install -m0755 -d /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/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 connect6 dnssecwalk dnsdict6 thcping6 fragrouter6 connsplit6 grep6.pl *.sh /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin install -m0755 -d /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/share/man/man8 install -m0644 -D thc-ipv6.8 /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/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 connect6.8 dnssecwalk.8 dnsdict6.8 thcping6.8 fragrouter6.8 connsplit6.8 /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/share/man/man8 + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/thc-ipv6-3.8 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/ndpexhaust26 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/flood_router6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/node_query6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/address6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/fake_pim6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/redirsniff6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/alive6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/flood_mld6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/redir6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/dump_dhcp6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/flood_mld26 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/fake_mipv6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/trace6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/fuzz_dhcps6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/toobig6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/fake_router26 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/rsmurf6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/connsplit6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/fake_advertise6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/fuzz_dhcpc6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/fake_mldrouter6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/fuzz_ip6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/implementation6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/flood_rs6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/four2six extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/flood_solicitate6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/smurf6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/toobigsniff6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/dnssecwalk extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/flood_mldrouter6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/thcping6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/flood_redir6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/covert_send6d extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/ndpexhaust6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/flood_dhcpc6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/dos-new-ip6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/fake_mld26 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/fake_solicitate6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/fake_dnsupdate6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/denial6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/covert_send6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/connect6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/detect-new-ip6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/fragmentation6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/exploit6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/sendpees6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/parasite6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/detect_sniffer6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/fake_mld6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/fake_router6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/inverse_lookup6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/flood_router26 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/flood_unreach6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/flood_advertise6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/passive_discovery6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/randicmp6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/fake_dns6d extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/thcsyn6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/firewall6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/fake_dhcps6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/fragrouter6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/dnsrevenum6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/kill_router6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/dump_router6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/implementation6d extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/sendpeesmp6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/inject_alive6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/bin/dnsdict6 /usr/lib/rpm/sepdebugcrcfix: Updated 68 CRC32s, 0 CRC32s did match. 3592 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: thc-ipv6-3.8-1.el7.armv7hl Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.gVRpCr + umask 022 + cd /builddir/build/BUILD + cd thc-ipv6-3.8 + DOCDIR=/builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/share/doc/thc-ipv6-3.8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/share/doc/thc-ipv6-3.8 + cp -pr CHANGES /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/share/doc/thc-ipv6-3.8 + cp -pr HOWTO-INJECT /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/share/doc/thc-ipv6-3.8 + cp -pr README /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/share/doc/thc-ipv6-3.8 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.rDxPRy + umask 022 + cd /builddir/build/BUILD + cd thc-ipv6-3.8 + LICENSEDIR=/builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/share/licenses/thc-ipv6-3.8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/share/licenses/thc-ipv6-3.8 + cp -pr LICENSE /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/share/licenses/thc-ipv6-3.8 + cp -pr LICENSE.OPENSSL /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm/usr/share/licenses/thc-ipv6-3.8 + exit 0 Provides: thc-ipv6 = 3.8-1.el7 thc-ipv6(armv7hl-32) = 3.8-1.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/bash /usr/bin/perl ld-linux-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libc.so.6 libc.so.6(GLIBC_2.15) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libcrypto.so.1.1 libcrypto.so.1.1(OPENSSL_1_1_0) libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) libnetfilter_queue.so.1 libpcap.so.1 libpthread.so.0 libpthread.so.0(GLIBC_2.4) libresolv.so.2 libresolv.so.2(GLIBC_2.4) librt.so.1 librt.so.1(GLIBC_2.4) libssl.so.1.1 perl(Socket) rtld(GNU_HASH) Processing files: thc-ipv6-debuginfo-3.8-1.el7.armv7hl Provides: thc-ipv6-debuginfo = 3.8-1.el7 thc-ipv6-debuginfo(armv7hl-32) = 3.8-1.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm Wrote: /builddir/build/RPMS/thc-ipv6-3.8-1.el7.armv7hl.rpm Wrote: /builddir/build/RPMS/thc-ipv6-debuginfo-3.8-1.el7.armv7hl.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.MsX57O + umask 022 + cd /builddir/build/BUILD + cd thc-ipv6-3.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/thc-ipv6-3.8-1.el7.arm + exit 0 Child return code was: 0