Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/thc-ipv6.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1672366638.363812/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.40exenvn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.40exenvn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '2de007a118fa48cbb88c3e5117235d86', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1672366638.363812/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.40exenvn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/thc-ipv6.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658534400 Wrote: /builddir/build/SRPMS/thc-ipv6-3.8-2.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/thc-ipv6.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1672366638.363812/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.40exenvn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.40exenvn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '6c2635f941a742cfaf358ab2bb4b2123', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1672366638.363812/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.40exenvn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/thc-ipv6.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.P1ddDc + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf thc-ipv6-3.8 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/thc-ipv6-3.8.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd thc-ipv6-3.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/thc-ipv6-3.8-socket.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8icSp6 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd thc-ipv6-3.8 + /usr/bin/make -O -j2 V=1 VERBOSE=1 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o dnssecwalk dnssecwalk.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o dnsdict6 dnsdict6.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto -lpthread -lresolv dnsdict6.c: In function 'dnsquerycode': dnsdict6.c:371:33: warning: pointer targets in passing argument 4 of 'res_query' differ in signedness [-Wpointer-sign] 371 | res_query(dom, ns_c_in, type, vbuf, sizeof(vbuf)); | ^~~~ | | | char * In file included from dnsdict6.c:27: /usr/include/resolv.h:197:52: note: expected 'unsigned char *' but argument is of type 'char *' 197 | int res_query (const char *, int, int, unsigned char *, int) | ^~~~~~~~~~~~~~~ dnsdict6.c: In function 'main': dnsdict6.c:657:21: warning: unused variable 'typ' [-Wunused-variable] 657 | char typ = 't', **sub_orig; | ^~~ dnsdict6.c: In function 'threaded_resolve': dnsdict6.c:286:36: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 199 [-Wformat-truncation=] 286 | snprintf(dom, sizeof(dom), "%s.%s", list[i], domain); | ^~ ~~~~~~ In file included from /usr/include/stdio.h:906, from dnsdict6.c:14: In function 'snprintf', inlined from 'threaded_resolve' at dnsdict6.c:286:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dnsdict6.c: In function 'threaded_resolve_srv': dnsdict6.c:396:39: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 198 [-Wformat-truncation=] 396 | snprintf(dom, sizeof(dom), "%s.%s.%s", list[i], type, domain); | ^~ ~~~~~~ In function 'snprintf', inlined from 'threaded_resolve_srv' at dnsdict6.c:396:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 3 or more bytes (assuming 258) into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -c -o thc-ipv6-lib.o thc-ipv6-lib.c thc-ipv6-lib.c: In function 'thc_ipv6_dummymac': thc-ipv6-lib.c:118:10: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] 118 | return ptr; | ^~~ thc-ipv6-lib.c: In function 'thc_pcap_function': thc-ipv6-lib.c:140:61: warning: pointer targets in passing argument 4 of 'pcap_dispatch' differ in signedness [-Wpointer-sign] 140 | if (pcap_dispatch(pcap_link, 1, (pcap_handler)function, opt) < 0) return -3; | ^~~ | | | char * In file included from /usr/include/pcap.h:43, from thc-ipv6-lib.c:45: /usr/include/pcap/pcap.h:568:60: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 568 | PCAP_API 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:44: warning: pointer targets in passing argument 3 of 'pcap_compile' differ in signedness [-Wpointer-sign] 180 | else if (pcap_compile(pcap_link, &fcode, capture, 1, 0) < 0) | ^~~~~~~ | | | unsigned char * /usr/include/pcap/pcap.h:613:62: note: expected 'const char *' but argument is of type 'unsigned char *' 613 | PCAP_API 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:62: warning: pointer targets in passing argument 4 of 'pcap_dispatch' differ in signedness [-Wpointer-sign] 189 | return pcap_dispatch(pcap_link, 1, (pcap_handler)function, opt); | ^~~ | | | char * /usr/include/pcap/pcap.h:568:60: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 568 | PCAP_API int pcap_dispatch(pcap_t *, int, pcap_handler, u_char *); | ^~~~~~~~ thc-ipv6-lib.c: In function 'thc_notation2beauty': thc-ipv6-lib.c:203:31: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 203 | if (ipv6[39] != 0 || strlen(ipv6) != 39) return; | ^~~~ | | | unsigned char * In file included from thc-ipv6-lib.c:14: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ thc-ipv6-lib.c:208:9: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 208 | ptr = ipv6 + i * 4 + i; | ^ thc-ipv6-lib.c:238:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 238 | if (ipv6[strlen(ipv6) - 1] == '0' && ipv6[strlen(ipv6) - 2] == ':' && | ^~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ thc-ipv6-lib.c:238:54: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 238 | if (ipv6[strlen(ipv6) - 1] == '0' && ipv6[strlen(ipv6) - 2] == ':' && | ^~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ thc-ipv6-lib.c:240:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 240 | ipv6[strlen(ipv6) - 1] = 0; | ^~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ thc-ipv6-lib.c:242:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 242 | strcpy(ipv6, buf); | ^~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from thc-ipv6-lib.c:13: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ thc-ipv6-lib.c: In function 'thc_ipv62string': thc-ipv6-lib.c:269:10: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] 269 | return string; | ^~~~~~ thc-ipv6-lib.c: In function 'thc_ipv62notation': thc-ipv6-lib.c:315:12: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 315 | if ((res = thc_ipv62string(ipv6)) == NULL) return NULL; | ^ thc-ipv6-lib.c:316:29: warning: pointer targets in passing argument 1 of 'thc_string2notation' differ in signedness [-Wpointer-sign] 316 | ptr = thc_string2notation(res); | ^~~ | | | char * thc-ipv6-lib.c:292:51: note: expected 'unsigned char *' but argument is of type 'char *' 292 | unsigned char *thc_string2notation(unsigned char *string) { | ~~~~~~~~~~~~~~~^~~~~~ thc-ipv6-lib.c:316:7: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 316 | ptr = thc_string2notation(res); | ^ thc-ipv6-lib.c:318:10: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] 318 | return ptr; | ^~~ thc-ipv6-lib.c: In function 'thc_resolve6': thc-ipv6-lib.c:414:66: warning: pointer targets in passing argument 3 of 'getnameinfo' differ in signedness [-Wpointer-sign] 414 | if (getnameinfo(glob_result->ai_addr, glob_result->ai_addrlen, out, | ^~~ | | | unsigned char * In file included from thc-ipv6-lib.c:33: /usr/include/netdb.h:676:61: note: expected 'char * restrict' but argument is of type 'unsigned char *' 676 | socklen_t __salen, char *__restrict __host, | ~~~~~~~~~~~~~~~~~^~~~~~ thc-ipv6-lib.c:417:27: warning: pointer targets in passing argument 2 of 'inet_pton' differ in signedness [-Wpointer-sign] 417 | if (inet_pton(AF_INET6, out, glob_addr) < 0) return NULL; | ^~~ | | | unsigned char * In file included from thc-ipv6-lib.c:32: /usr/include/arpa/inet.h:58:56: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 58 | extern int inet_pton (int __af, const char *__restrict __cp, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ thc-ipv6-lib.c:422:28: warning: pointer targets in passing argument 1 of 'thc_dump_data' differ in signedness [-Wpointer-sign] 422 | if (debug) thc_dump_data(ret_addr, 16, "Target Resolve IPv6"); | ^~~~~~~~ | | | char * In file included from thc-ipv6-lib.c:75: thc-ipv6.h:217:42: note: expected 'unsigned char *' but argument is of type 'char *' 217 | extern void thc_dump_data(unsigned char *buf, int len, char *text); | ~~~~~~~~~~~~~~~^~~ thc-ipv6-lib.c:424:10: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] 424 | return ret_addr; | ^~~~~~~~ thc-ipv6-lib.c: In function 'thc_get_own_mac': thc-ipv6-lib.c:524:28: warning: pointer targets in passing argument 1 of 'thc_dump_data' differ in signedness [-Wpointer-sign] 524 | if (debug) thc_dump_data(mac, 6, "Own MAC address"); | ^~~ | | | char * thc-ipv6.h:217:42: note: expected 'unsigned char *' but argument is of type 'char *' 217 | extern void thc_dump_data(unsigned char *buf, int len, char *text); | ~~~~~~~~~~~~~~~^~~ thc-ipv6-lib.c:525:10: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] 525 | return mac; | ^~~ thc-ipv6-lib.c: In function 'thc_get_own_ipv6': thc-ipv6-lib.c:580:30: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] 580 | while (done < 2 && fgets(buf, sizeof(buf), f) != NULL) { | ^~~ | | | unsigned char * In file included from /usr/include/stdio.h:906: /usr/include/bits/stdio2.h:209:25: note: expected 'char * restrict' but argument is of type 'unsigned char *' 209 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ~~~~~~~~~~~~~~~~~^~~ thc-ipv6-lib.c:581:42: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 581 | if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], | ^~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ thc-ipv6-lib.c:581:30: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] 581 | if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ thc-ipv6-lib.c:583:16: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 583 | sscanf(buf, "%s %x %x %x %s", tmpbuf, &a, &b, &c, bla); | ^~~ | | | unsigned char * /usr/include/stdio.h:423:43: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 423 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ thc-ipv6-lib.c:600:23: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 600 | if (strncmp(tmpbuf, tmpdst, b / 4) == 0) { | ^~~~~~ | | | unsigned char * /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ thc-ipv6-lib.c:600:31: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] 600 | if (strncmp(tmpbuf, tmpdst, b / 4) == 0) { | ^~~~~~ | | | unsigned char * /usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ thc-ipv6-lib.c:621:25: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 621 | if (((strncmp(tmpbuf, "fc", 2) == 0 || | ^~~~~~ | | | unsigned char * /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ thc-ipv6-lib.c:622:25: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 622 | strncmp(tmpbuf, "fd", 2) == 0) && | ^~~~~~ | | | unsigned char * /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ thc-ipv6-lib.c:623:25: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 623 | (strncmp(tmpdst, "fc", 2) == 0 || | ^~~~~~ | | | unsigned char * /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ thc-ipv6-lib.c:624:25: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 624 | strncmp(tmpdst, "fd", 2) == 0)) || | ^~~~~~ | | | unsigned char * /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ thc-ipv6-lib.c:636:42: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 636 | if (save[2] == 0 && (((strncmp(tmpbuf, "fc", 2) == 0 || | ^~~~~~ | | | unsigned char * /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ thc-ipv6-lib.c:637:42: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 637 | strncmp(tmpbuf, "fd", 2) == 0) && | ^~~~~~ | | | unsigned char * /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ thc-ipv6-lib.c:639:42: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 639 | ((strncmp(tmpdst, "fc", 2) == 0 || | ^~~~~~ | | | unsigned char * /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ thc-ipv6-lib.c:640:42: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 640 | strncmp(tmpdst, "fd", 2) == 0) && | ^~~~~~ | | | unsigned char * /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ thc-ipv6-lib.c:654:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 654 | if (done < 2 && strlen(&ipv6[2]) == 0 && strlen(&save[2]) > 0) { | ^~~~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ thc-ipv6-lib.c:654:53: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 654 | if (done < 2 && strlen(&ipv6[2]) == 0 && strlen(&save[2]) > 0) { | ^~~~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ thc-ipv6-lib.c:662:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 662 | if (strlen(&save[2]) > 0 && prefer == PREFER_GLOBAL && | ^~~~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ thc-ipv6-lib.c:663:20: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 663 | strncmp(ipv6 + 2, "fe80", 2) == 0) { | ~~~~~^~~ | | | unsigned char * /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ thc-ipv6-lib.c:669:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 669 | if (strlen(&ipv6[2]) == 0) { | ^~~~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ thc-ipv6-lib.c:682:25: warning: pointer targets in passing argument 1 of 'thc_resolve6' differ in signedness [-Wpointer-sign] 682 | myipv6 = thc_resolve6(tmpdst); | ^~~~~~ | | | unsigned char * thc-ipv6-lib.c:389:35: note: expected 'char *' but argument is of type 'unsigned char *' 389 | unsigned char *thc_resolve6(char *target) { | ~~~~~~^~~~~~ thc-ipv6-lib.c:682:10: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 682 | myipv6 = thc_resolve6(tmpdst); | ^ thc-ipv6-lib.c:685:28: warning: pointer targets in passing argument 1 of 'thc_dump_data' differ in signedness [-Wpointer-sign] 685 | if (debug) thc_dump_data(myipv6, 16, "Own IPv6 address"); | ^~~~~~ | | | char * thc-ipv6.h:217:42: note: expected 'unsigned char *' but argument is of type 'char *' 217 | extern void thc_dump_data(unsigned char *buf, int len, char *text); | ~~~~~~~~~~~~~~~^~~ thc-ipv6-lib.c:686:10: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] 686 | return myipv6; | ^~~~~~ thc-ipv6-lib.c: In function 'thc_lookup_ipv6_mac': thc-ipv6-lib.c:743:11: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 743 | if ((p1 = thc_get_own_ipv6(interface, dst, PREFER_LINK)) == NULL) return NULL; | ^ thc-ipv6-lib.c:745:31: warning: pointer targets in passing argument 1 of 'thc_ipv62notation' differ in signedness [-Wpointer-sign] 745 | if ((p2 = thc_ipv62notation(p1)) == NULL) { | ^~ | | | char * thc-ipv6-lib.c:311:49: note: expected 'unsigned char *' but argument is of type 'char *' 311 | unsigned char *thc_ipv62notation(unsigned char *ipv6) { | ~~~~~~~~~~~~~~~^~~~ thc-ipv6-lib.c:745:11: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 745 | if ((p2 = thc_ipv62notation(p1)) == NULL) { | ^ thc-ipv6-lib.c:759:33: warning: pointer targets in passing argument 2 of 'thc_neighborsol6' differ in signedness [-Wpointer-sign] 759 | thc_neighborsol6(interface, mysrc, NULL, dst, NULL, NULL); | ^~~~~ | | | char * thc-ipv6.h:119:61: note: expected 'unsigned char *' but argument is of type 'char *' 119 | extern int thc_neighborsol6(char *interface, unsigned char *src, | ~~~~~~~~~~~~~~~^~~ thc-ipv6-lib.c: In function 'thc_look_neighborcache': thc-ipv6-lib.c:804:69: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] 804 | recvfrom(fd, buf, sizeof(buf), 0, (struct sockaddr *)&nladdr, &fromlen); | ^~~~~~~~ | | | int * In file included from /usr/include/sys/socket.h:343, from /usr/include/net/if.h:26, from thc-ipv6-lib.c:22: /usr/include/bits/socket2.h:62:56: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 62 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ thc-ipv6-lib.c:810:25: warning: pointer targets in passing argument 1 of 'thc_memstr' differ in signedness [-Wpointer-sign] 810 | if ((ptr = thc_memstr(buf, dst, gotsize /* - (ptr - buf) */, 16)) == NULL) | ^~~ | | | unsigned char * thc-ipv6.h:222:40: note: expected 'char *' but argument is of type 'unsigned char *' 222 | extern unsigned char *thc_memstr(char *haystack, char *needle, | ~~~~~~^~~~~~~~ thc-ipv6-lib.c:810:30: warning: pointer targets in passing argument 2 of 'thc_memstr' differ in signedness [-Wpointer-sign] 810 | if ((ptr = thc_memstr(buf, dst, gotsize /* - (ptr - buf) */, 16)) == NULL) | ^~~ | | | unsigned char * thc-ipv6.h:222:56: note: expected 'char *' but argument is of type 'unsigned char *' 222 | extern unsigned char *thc_memstr(char *haystack, char *needle, | ~~~~~~^~~~~~ thc-ipv6-lib.c: In function 'thc_is_dst_local': thc-ipv6-lib.c:842:30: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] 842 | while (local == 0 && fgets(buf, sizeof(buf), f) != NULL) { | ^~~ | | | unsigned char * /usr/include/bits/stdio2.h:209:25: note: expected 'char * restrict' but argument is of type 'unsigned char *' 209 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ~~~~~~~~~~~~~~~~~^~~ thc-ipv6-lib.c:843:40: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 843 | if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], | ^~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ thc-ipv6-lib.c:843:28: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] 843 | if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ thc-ipv6-lib.c:845:14: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 845 | sscanf(buf, "%s %x %x %x %s", tmpbuf, &a, &b, &c, bla); | ^~~ | | | unsigned char * /usr/include/stdio.h:423:43: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 423 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ thc-ipv6-lib.c:846:19: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 846 | if (strncmp(tmpbuf, tmpdst, b / 4) == 0) { | ^~~~~~ | | | unsigned char * /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ thc-ipv6-lib.c:846:27: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] 846 | if (strncmp(tmpbuf, tmpdst, b / 4) == 0) { | ^~~~~~ | | | unsigned char * /usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ thc-ipv6-lib.c: In function 'thc_get_mac': thc-ipv6-lib.c:887:30: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] 887 | while (local == 0 && fgets(buf, sizeof(buf), f) != NULL) { | ^~~ | | | unsigned char * /usr/include/bits/stdio2.h:209:25: note: expected 'char * restrict' but argument is of type 'unsigned char *' 209 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ~~~~~~~~~~~~~~~~~^~~ thc-ipv6-lib.c:888:40: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 888 | if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], | ^~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ thc-ipv6-lib.c:888:28: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] 888 | if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ thc-ipv6-lib.c:890:14: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 890 | sscanf(buf, "%s %x %x %x %s", tmpbuf, &a, &b, &c, bla); | ^~~ | | | unsigned char * /usr/include/stdio.h:423:43: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 423 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ thc-ipv6-lib.c:891:19: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 891 | if (strncmp(tmpbuf, tmpdst, b / 4) == 0) { | ^~~~~~ | | | unsigned char * /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ thc-ipv6-lib.c:891:27: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] 891 | if (strncmp(tmpbuf, tmpdst, b / 4) == 0) { | ^~~~~~ | | | unsigned char * /usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ thc-ipv6-lib.c:911:32: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] 911 | while (local == 0 && fgets(buf, sizeof(buf), f) != NULL) { | ^~~ | | | unsigned char * /usr/include/bits/stdio2.h:209:25: note: expected 'char * restrict' but argument is of type 'unsigned char *' 209 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ~~~~~~~~~~~~~~~~~^~~ thc-ipv6-lib.c:912:42: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 912 | if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], | ^~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ thc-ipv6-lib.c:912:30: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] 912 | if (strncmp(interface, &buf[strlen(buf) - strlen(interface) - 1], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ thc-ipv6-lib.c:914:16: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 914 | sscanf(buf, "%s %x %s %x %s %s", tmpbuf, &b, router1, &a, router2, bla); | ^~~ | | | unsigned char * /usr/include/stdio.h:423:43: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 423 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ thc-ipv6-lib.c:916:23: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 916 | if (strncmp(tmpbuf, tmpdst, b / 4) == 0) { | ^~~~~~ | | | unsigned char * /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ thc-ipv6-lib.c:916:31: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] 916 | if (strncmp(tmpbuf, tmpdst, b / 4) == 0) { | ^~~~~~ | | | unsigned char * /usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ thc-ipv6-lib.c:925:18: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 925 | strcpy(defaultgw, router2); | ^~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ thc-ipv6-lib.c:925:29: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 925 | strcpy(defaultgw, router2); | ^~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ thc-ipv6-lib.c:929:18: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 929 | strcpy(tmpdst, router2); | ^~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ thc-ipv6-lib.c:929:26: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 929 | strcpy(tmpdst, router2); | ^~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ thc-ipv6-lib.c:933:30: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 933 | if (local == 0 && strlen(defaultgw) > 0) { | ^~~~~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ thc-ipv6-lib.c:936:14: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 936 | strcpy(tmpdst, defaultgw); | ^~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ thc-ipv6-lib.c:936:22: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 936 | strcpy(tmpdst, defaultgw); | ^~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ thc-ipv6-lib.c:950:6: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 950 | p1 = thc_string2ipv6(tmpdst); | ^ thc-ipv6-lib.c:951:37: warning: pointer targets in passing argument 1 of 'thc_look_neighborcache' differ in signedness [-Wpointer-sign] 951 | if ((ret = thc_look_neighborcache(p1)) != NULL) { | ^~ | | | char * thc-ipv6-lib.c:788:54: note: expected 'unsigned char *' but argument is of type 'char *' 788 | unsigned char *thc_look_neighborcache(unsigned char *dst) { | ~~~~~~~~~~~~~~~^~~ thc-ipv6-lib.c:951:12: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 951 | if ((ret = thc_look_neighborcache(p1)) != NULL) { | ^ thc-ipv6-lib.c:954:12: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] 954 | return ret; | ^~~ thc-ipv6-lib.c:956:40: warning: pointer targets in passing argument 2 of 'thc_lookup_ipv6_mac' differ in signedness [-Wpointer-sign] 956 | ret = thc_lookup_ipv6_mac(interface, p1); | ^~ | | | char * thc-ipv6-lib.c:731:68: note: expected 'unsigned char *' but argument is of type 'char *' 731 | unsigned char *thc_lookup_ipv6_mac(char *interface, unsigned char *dst) { | ~~~~~~~~~~~~~~~^~~ thc-ipv6-lib.c:956:7: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 956 | ret = thc_lookup_ipv6_mac(interface, p1); | ^ thc-ipv6-lib.c:959:10: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] 959 | return ret; | ^~~ thc-ipv6-lib.c: In function 'thc_inverse_packet': thc-ipv6-lib.c:965:23: warning: pointer targets in initialization of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign] 965 | char * src = &pkt[8], *dst = &pkt[24]; | ^ thc-ipv6-lib.c:965:39: warning: pointer targets in initialization of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign] 965 | char * src = &pkt[8], *dst = &pkt[24]; | ^ thc-ipv6-lib.c:1000:43: warning: pointer targets in passing argument 1 of 'checksum_pseudo_header' differ in signedness [-Wpointer-sign] 1000 | checksum = checksum_pseudo_header(src, dst, NXT_ICMP6, &pkt[iptr], | ^~~ | | | char * thc-ipv6-lib.c:339:43: note: expected 'unsigned char *' but argument is of type 'char *' 339 | int checksum_pseudo_header(unsigned char *src, unsigned char *dst, | ~~~~~~~~~~~~~~~^~~ thc-ipv6-lib.c:1000:48: warning: pointer targets in passing argument 2 of 'checksum_pseudo_header' differ in signedness [-Wpointer-sign] 1000 | checksum = checksum_pseudo_header(src, dst, NXT_ICMP6, &pkt[iptr], | ^~~ | | | char * thc-ipv6-lib.c:339:63: note: expected 'unsigned char *' but argument is of type 'char *' 339 | 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] 1061 | 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] 1061 | 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] 1059 | 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:10: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] 1942 | return pkt; | ^~~ thc-ipv6-lib.c: In function 'thc_add_ipv4_rudimentary': thc-ipv6-lib.c:2047:67: warning: pointer targets in passing argument 4 of 'checksum_pseudo_header' differ in signedness [-Wpointer-sign] 2047 | checksum = checksum_pseudo_header(NULL, NULL, NXT_ICMP4, ihdr + 20, | ~~~~~^~~~ | | | char * thc-ipv6-lib.c:340:63: note: expected 'unsigned char *' but argument is of type 'char *' 340 | unsigned char type, unsigned char *data, | ~~~~~~~~~~~~~~~^~~~ thc-ipv6-lib.c:2063:58: warning: pointer targets in passing argument 4 of 'checksum_pseudo_header' differ in signedness [-Wpointer-sign] 2063 | checksum = checksum_pseudo_header(NULL, NULL, NXT_IP4, ihdr, 20); | ^~~~ | | | char * thc-ipv6-lib.c:340:63: note: expected 'unsigned char *' but argument is of type 'char *' 340 | unsigned char type, unsigned char *data, | ~~~~~~~~~~~~~~~^~~~ thc-ipv6-lib.c: In function 'thc_open_ipv6': thc-ipv6-lib.c:2677:30: warning: pointer targets in passing argument 1 of 'thc_dump_data' differ in signedness [-Wpointer-sign] 2677 | if (debug) thc_dump_data(do_hdr, do_hdr_size + do_hdr_off, "PPPoE Header"); | ^~~~~~ | | | char * thc-ipv6.h:217:42: note: expected 'unsigned char *' but argument is of type 'char *' 217 | extern void thc_dump_data(unsigned char *buf, int len, char *text); | ~~~~~~~~~~~~~~~^~~ thc-ipv6-lib.c:2745:30: warning: pointer targets in passing argument 1 of 'thc_dump_data' differ in signedness [-Wpointer-sign] 2745 | if (debug) thc_dump_data(do_hdr, do_hdr_size, "6in4 Header"); | ^~~~~~ | | | char * thc-ipv6.h:217:42: note: expected 'unsigned char *' but argument is of type 'char *' 217 | 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:44: warning: pointer targets in passing argument 1 of 'calculate_checksum' differ in signedness [-Wpointer-sign] 2839 | i = calculate_checksum(do_hdr + 14 + do_hdr_off, 20); | ~~~~~~~~~~~~^~~~~~~~~~~~ | | | char * thc-ipv6-lib.c:321:39: note: expected 'unsigned char *' but argument is of type 'char *' 321 | int calculate_checksum(unsigned char *data, int data_len) { | ~~~~~~~~~~~~~~~^~~~ thc-ipv6-lib.c:2855:18: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 2855 | mysrcmac = thc_get_own_mac(interface); | ^ thc-ipv6-lib.c:2857:18: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 2857 | mysrcmac = srcmac; | ^ thc-ipv6-lib.c:2860:18: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 2860 | mydstmac = thc_get_mac(interface, hdr->src, hdr->dst); | ^ thc-ipv6-lib.c:2862:18: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 2862 | mydstmac = dstmac; | ^ thc-ipv6-lib.c:2891:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 2891 | last_type = &hdr->pkt[7 + offset]; | ^ thc-ipv6-lib.c:2899:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 2899 | checksum_src = hdr->original_src; | ^ thc-ipv6-lib.c:2914:17: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 2914 | last_type = &hdr->pkt[bufptr]; | ^ thc-ipv6-lib.c:2919:24: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 2919 | checksum_src = &hdr->pkt[bufptr + 4]; | ^ thc-ipv6-lib.c:2946:34: warning: pointer targets in passing argument 1 of 'checksum_pseudo_header' differ in signedness [-Wpointer-sign] 2946 | checksum_pseudo_header(checksum_src, hdr->final_dst, NXT_PIM, | ^~~~~~~~~~~~ | | | char * thc-ipv6-lib.c:339:43: note: expected 'unsigned char *' but argument is of type 'char *' 339 | int checksum_pseudo_header(unsigned char *src, unsigned char *dst, | ~~~~~~~~~~~~~~~^~~ thc-ipv6-lib.c:2971:36: warning: pointer targets in passing argument 1 of 'checksum_pseudo_header' differ in signedness [-Wpointer-sign] 2971 | checksum_pseudo_header(checksum_src, hdr->final_dst, NXT_ICMP6, | ^~~~~~~~~~~~ | | | char * thc-ipv6-lib.c:339:43: note: expected 'unsigned char *' but argument is of type 'char *' 339 | int checksum_pseudo_header(unsigned char *src, unsigned char *dst, | ~~~~~~~~~~~~~~~^~~ thc-ipv6-lib.c:3021:13: warning: pointer targets in passing argument 1 of 'checksum_pseudo_header' differ in signedness [-Wpointer-sign] 3021 | checksum_src, hdr->final_dst, NXT_TCP, &hdr->pkt[bufptr], | ^~~~~~~~~~~~ | | | char * thc-ipv6-lib.c:339:43: note: expected 'unsigned char *' but argument is of type 'char *' 339 | int checksum_pseudo_header(unsigned char *src, unsigned char *dst, | ~~~~~~~~~~~~~~~^~~ thc-ipv6-lib.c:3061:36: warning: pointer targets in passing argument 1 of 'checksum_pseudo_header' differ in signedness [-Wpointer-sign] 3061 | checksum_pseudo_header(checksum_src, hdr->final_dst, NXT_UDP, | ^~~~~~~~~~~~ | | | char * thc-ipv6-lib.c:339:43: note: expected 'unsigned char *' but argument is of type 'char *' 339 | int checksum_pseudo_header(unsigned char *src, unsigned char *dst, | ~~~~~~~~~~~~~~~^~~ thc-ipv6-lib.c:3084:36: warning: pointer targets in passing argument 1 of 'checksum_pseudo_header' differ in signedness [-Wpointer-sign] 3084 | checksum_pseudo_header(checksum_src, hdr->final_dst, NXT_MIPV6, | ^~~~~~~~~~~~ | | | char * thc-ipv6-lib.c:339:43: note: expected 'unsigned char *' but argument is of type 'char *' 339 | 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] 2814 | 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] 3117 | struct thcsockaddr sa; | ^~ thc-ipv6-lib.c: In function 'thc_destroy_packet': thc-ipv6-lib.c:3177:14: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 3177 | ptrs[iptr] = pkt; | ^ thc-ipv6-lib.c:3188:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 3188 | ptrs[iptr] = ehdr->data; | ^ thc-ipv6-lib.c:3201:18: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 3201 | ptrs[iptr] = ihdr->data; | ^ thc-ipv6-lib.c:3208:18: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 3208 | ptrs[iptr] = thdr->option; | ^ thc-ipv6-lib.c:3210:18: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 3210 | ptrs[iptr] = thdr->data; | ^ thc-ipv6-lib.c:3217:18: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 3217 | ptrs[iptr] = uhdr->data; | ^ thc-ipv6-lib.c:3227:18: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 3227 | ptrs[iptr] = ehdr->data; | ^ thc-ipv6-lib.c:3234:18: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 3234 | ptrs[iptr] = ehdr->data; | ^ thc-ipv6-lib.c: In function 'thc_memstr': thc-ipv6-lib.c:3319:76: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] 3319 | if (memcmp(haystack + i, needle, needle_length) == 0) return (haystack + i); | ~~~~~~~~~~^~~~ thc-ipv6-lib.c: In function 'thc_generate_key': thc-ipv6-lib.c:3332:3: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3332 | RSA *rsa = RSA_new(); | ^~~ In file included from thc-ipv6-lib.c:51: /usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ thc-ipv6-lib.c:3342:3: warning: 'RSA_generate_key_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3342 | if (RSA_generate_key_ex(rsa, key_len, f4, NULL) != 1) { | ^~ /usr/include/openssl/rsa.h:260:27: note: declared here 260 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, | ^~~~~~~~~~~~~~~~~~~ thc-ipv6-lib.c: In function 'thc_generate_cga': thc-ipv6-lib.c:3387:3: warning: 'i2d_RSA_PUBKEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3387 | klen = i2d_RSA_PUBKEY(key->rsa, NULL); | ^~~~ In file included from /usr/include/openssl/objects.h:21, from /usr/include/openssl/evp.h:43, from thc-ipv6-lib.c:49: /usr/include/openssl/x509.h:710:1: note: declared here 710 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0,RSA, RSA_PUBKEY) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ thc-ipv6-lib.c:3393:3: warning: 'i2d_RSA_PUBKEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3393 | klen = i2d_RSA_PUBKEY(key->rsa, &p); | ^~~~ /usr/include/openssl/x509.h:710:1: note: declared here 710 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0,RSA, RSA_PUBKEY) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ thc-ipv6-lib.c:3419:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3419 | cga_hdr->pad = (char *)malloc(cga_hdr->pad_len); | ^ thc-ipv6-lib.c:3423:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3423 | if ((*cga = (char *)malloc(16)) == NULL) { | ^ thc-ipv6-lib.c:3367:42: warning: variable 'ignore' set but not used [-Wunused-but-set-variable] 3367 | int klen, rand_fd, cgasize, ignore = 0; | ^~~~~~ thc-ipv6-lib.c: In function 'thc_generate_rsa': thc-ipv6-lib.c:3483:10: warning: pointer targets in passing argument 1 of 'SHA1' differ in signedness [-Wpointer-sign] 3483 | SHA1(data2sign, data2sign_len, hash); | ^~~~~~~~~ | | | char * In file included from thc-ipv6-lib.c:50: /usr/include/openssl/sha.h:55:42: note: expected 'const unsigned char *' but argument is of type 'char *' 55 | unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md); | ~~~~~~~~~~~~~~~~~~~~~^ thc-ipv6-lib.c:3490:3: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3490 | sign_len = RSA_size(key->rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:204:27: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ thc-ipv6-lib.c:3495:3: warning: 'RSA_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3495 | if (RSA_sign(NID_sha1, hash, 20, rsa_hdr->sign, &sign_len, key->rsa) == 0) { | ^~ /usr/include/openssl/rsa.h:348:27: note: declared here 348 | OSSL_DEPRECATEDIN_3_0 int RSA_sign(int type, const unsigned char *m, | ^~~~~~~~ thc-ipv6-lib.c:3495:43: warning: pointer targets in passing argument 4 of 'RSA_sign' differ in signedness [-Wpointer-sign] 3495 | if (RSA_sign(NID_sha1, hash, 20, rsa_hdr->sign, &sign_len, key->rsa) == 0) { | ~~~~~~~^~~~~~ | | | char * /usr/include/openssl/rsa.h:349:74: note: expected 'unsigned char *' but argument is of type 'char *' 349 | unsigned int m_length, unsigned char *sigret, | ~~~~~~~~~~~~~~~^~~~~~ thc-ipv6-lib.c:3495:51: warning: pointer targets in passing argument 5 of 'RSA_sign' differ in signedness [-Wpointer-sign] 3495 | if (RSA_sign(NID_sha1, hash, 20, rsa_hdr->sign, &sign_len, key->rsa) == 0) { | ^~~~~~~~~ | | | int * /usr/include/openssl/rsa.h:350:50: note: expected 'unsigned int *' but argument is of type 'int *' 350 | unsigned int *siglen, RSA *rsa); | ~~~~~~~~~~~~~~^~~~~~ thc-ipv6-lib.c:3471:44: warning: variable 'ignore' set but not used [-Wunused-but-set-variable] 3471 | 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 from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3572 | if ((ndp_opt_buff = (char *)malloc(ndp_opt_len)) == NULL) { | ^ thc-ipv6-lib.c:3602:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3602 | if ((data2sign = (char *)malloc(data2sign_len)) == NULL) { | ^ thc-ipv6-lib.c:3618:76: warning: pointer targets in passing argument 4 of 'checksum_pseudo_header' differ in signedness [-Wpointer-sign] 3618 | ihdr->checksum = checksum_pseudo_header(hdr->src, hdr->dst, NXT_ICMP6, buff, | ^~~~ | | | char * thc-ipv6-lib.c:340:63: note: expected 'unsigned char *' but argument is of type 'char *' 340 | unsigned char type, unsigned char *data, | ~~~~~~~~~~~~~~~^~~~ thc-ipv6-lib.c:3627:35: warning: pointer targets in passing argument 1 of 'thc_generate_rsa' differ in signedness [-Wpointer-sign] 3627 | if ((rsa_hdr = thc_generate_rsa(data2sign, data2sign_len, cga_hdr, key)) == | ^~~~~~~~~ | | | unsigned char * thc-ipv6-lib.c:3467:37: note: expected 'char *' but argument is of type 'unsigned char *' 3467 | thc_rsa_hdr *thc_generate_rsa(char *data2sign, int data2sign_len, | ~~~~~~^~~~~~~~~ thc-ipv6-lib.c: In function 'thc_get_mtu': thc-ipv6-lib.c:449:49: warning: '%s' directive output may be truncated writing up to 31 bytes into a region of size 16 [-Wformat-truncation=] 449 | snprintf(ifr.ifr_name, sizeof(ifr.ifr_name), "%s", interface); | ^~ In function 'snprintf', inlined from 'thc_get_mtu' at thc-ipv6-lib.c:449:3: /usr/include/bits/stdio2.h:54:10: note: 'snprintf' output between 1 and 32 bytes into a destination of size 16 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ thc-ipv6-lib.c: In function 'thc_get_own_mac': thc-ipv6-lib.c:511:49: warning: '%s' directive output may be truncated writing up to 31 bytes into a region of size 16 [-Wformat-truncation=] 511 | snprintf(ifr.ifr_name, sizeof(ifr.ifr_name), "%s", interface); | ^~ In function 'snprintf', inlined from 'thc_get_own_mac' at thc-ipv6-lib.c:511:3: /usr/include/bits/stdio2.h:54:10: note: 'snprintf' output between 1 and 32 bytes into a destination of size 16 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o dos-new-ip6 dos-new-ip6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto dos-new-ip6.c: In function 'intercept': dos-new-ip6.c:89:10: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 89 | ptr4 = thc_ipv62notation(ipv6->pkt + 22); | ^ dos-new-ip6.c:93:10: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 93 | ptr4 = thc_ipv62notation(ipv6->pkt + 62); | ^ dos-new-ip6.c:41:18: warning: variable 'len' set but not used [-Wunused-but-set-variable] 41 | int len = header->caplen - 14; | ^~~ dos-new-ip6.c: In function 'main': dos-new-ip6.c:161:75: warning: pointer targets in passing argument 4 of 'thc_create_ipv6_extended' differ in signedness [-Wpointer-sign] 161 | if ((pkt = thc_create_ipv6_extended(interface, PREFER_LINK, &pkt_len, dummy, | ^~~~~ | | | char * In file included from dos-new-ip6.c:11: thc-ipv6.h:161:77: note: expected 'unsigned char *' but argument is of type 'char *' 161 | int *pkt_len, unsigned char *src, | ~~~~~~~~~~~~~~~^~~ dos-new-ip6.c:165:51: warning: pointer targets in passing argument 6 of 'thc_add_icmp6' differ in signedness [-Wpointer-sign] 165 | ICMP6_NEIGHBORADV_OVERRIDE, dummy, 24, 0) < 0) | ^~~~~ | | | char * thc-ipv6.h:182:61: note: expected 'unsigned char *' but argument is of type 'char *' 182 | unsigned int flags, unsigned char *data, int data_len, | ~~~~~~~~~~~~~~~^~~~ dos-new-ip6.c:174:75: warning: pointer targets in passing argument 4 of 'thc_create_ipv6_extended' differ in signedness [-Wpointer-sign] 174 | if ((pkt = thc_create_ipv6_extended(interface, PREFER_LINK, &pkt_len, dummy, | ^~~~~ | | | char * thc-ipv6.h:161:77: note: expected 'unsigned char *' but argument is of type 'char *' 161 | int *pkt_len, unsigned char *src, | ~~~~~~~~~~~~~~~^~~ dos-new-ip6.c:177:63: warning: pointer targets in passing argument 6 of 'thc_add_icmp6' differ in signedness [-Wpointer-sign] 177 | if (thc_add_icmp6(pkt, &pkt_len, ICMP6_NEIGHBORSOL, 0, 0, dummy, 16, 0) < 0) | ^~~~~ | | | char * thc-ipv6.h:182:61: note: expected 'unsigned char *' but argument is of type 'char *' 182 | unsigned int flags, unsigned char *data, int data_len, | ~~~~~~~~~~~~~~~^~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o parasite6 parasite6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto parasite6.c: In function 'intercept': parasite6.c:86:8: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 86 | ptr2 = thc_ipv62notation(ipv6->pkt + 38); | ^ parasite6.c:87:8: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 87 | ptr4 = thc_ipv62notation(ipv6->pkt + 22); | ^ parasite6.c:128:10: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 128 | ptr2 = thc_ipv62notation(ipv62->pkt + 38); | ^ parasite6.c:129:10: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 129 | ptr4 = thc_ipv62notation(ipv62->pkt + 22); | ^ parasite6.c: In function 'main': parasite6.c:187:27: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 187 | unsigned char *ownmac = mac; | ^~~ parasite6.c:242:75: warning: pointer targets in passing argument 4 of 'thc_create_ipv6_extended' differ in signedness [-Wpointer-sign] 242 | if ((pkt = thc_create_ipv6_extended(interface, PREFER_LINK, &pkt_len, dummy, | ^~~~~ | | | char * In file included from parasite6.c:10: thc-ipv6.h:161:77: note: expected 'unsigned char *' but argument is of type 'char *' 161 | int *pkt_len, unsigned char *src, | ~~~~~~~~~~~~~~~^~~ parasite6.c:243:41: warning: pointer targets in passing argument 5 of 'thc_create_ipv6_extended' differ in signedness [-Wpointer-sign] 243 | dummy, 255, 0, 0, 0, 0)) == NULL) | ^~~~~ | | | char * thc-ipv6.h:162:63: note: expected 'unsigned char *' but argument is of type 'char *' 162 | unsigned char *dst, int ttl, | ~~~~~~~~~~~~~~~^~~ parasite6.c:247:47: warning: pointer targets in passing argument 3 of 'thc_add_hdr_hopbyhop' differ in signedness [-Wpointer-sign] 247 | if (thc_add_hdr_hopbyhop(pkt, &pkt_len, buf2, sizeof(buf2)) < 0) | ^~~~ | | | char * thc-ipv6.h:179:48: note: expected 'unsigned char *' but argument is of type 'char *' 179 | unsigned char *buf, int buflen); | ~~~~~~~~~~~~~~~^~~ parasite6.c:257:42: warning: pointer targets in passing argument 3 of 'thc_add_hdr_dst' differ in signedness [-Wpointer-sign] 257 | if (thc_add_hdr_dst(pkt, &pkt_len, buf3, sizeof(buf3)) < 0) return -1; | ^~~~ | | | char * thc-ipv6.h:176:77: note: expected 'unsigned char *' but argument is of type 'char *' 176 | extern int thc_add_hdr_dst(unsigned char *pkt, int *pkt_len, unsigned char *buf, | ~~~~~~~~~~~~~~~^~~ parasite6.c:262:23: warning: pointer targets in passing argument 6 of 'thc_add_icmp6' differ in signedness [-Wpointer-sign] 262 | dummy, 24, 0) < 0) | ^~~~~ | | | char * thc-ipv6.h:182:61: note: expected 'unsigned char *' but argument is of type 'char *' 182 | unsigned int flags, unsigned char *data, int data_len, | ~~~~~~~~~~~~~~~^~~~ parasite6.c:264:45: warning: pointer targets in passing argument 3 of 'thc_generate_pkt' differ in signedness [-Wpointer-sign] 264 | if (thc_generate_pkt(interface, ownmac, dummy, pkt, &pkt_len) < 0) | ^~~~~ | | | char * thc-ipv6.h:207:44: note: expected 'unsigned char *' but argument is of type 'char *' 207 | unsigned char *dstmac, unsigned char *pkt, | ~~~~~~~~~~~~~~~^~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o detect-new-ip6 detect-new-ip6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto detect-new-ip6.c: In function 'intercept': detect-new-ip6.c:58:28: warning: pointer targets in passing argument 1 of 'thc_ipv62notation' differ in signedness [-Wpointer-sign] 58 | ptr4 = thc_ipv62notation((char *)(ipv6hdr + 48)); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from detect-new-ip6.c:11: thc-ipv6.h:221:56: note: expected 'unsigned char *' but argument is of type 'char *' 221 | extern unsigned char *thc_ipv62notation(unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ detect-new-ip6.c:58:8: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 58 | ptr4 = thc_ipv62notation((char *)(ipv6hdr + 48)); | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o fake_router6 fake_router6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto fake_router6.c: In function 'send_rs_reply': fake_router6.c:54:45: warning: pointer targets in passing argument 3 of 'thc_add_hdr_hopbyhop' differ in signedness [-Wpointer-sign] 54 | if (thc_add_hdr_hopbyhop(pkt, &pkt_len, frbuf2, frbuf2len) < 0) return; | ^~~~~~ | | | char * In file included from fake_router6.c:11: thc-ipv6.h:179:48: note: expected 'unsigned char *' but argument is of type 'char *' 179 | unsigned char *buf, int buflen); | ~~~~~~~~~~~~~~~^~~ fake_router6.c:63:40: warning: pointer targets in passing argument 3 of 'thc_add_hdr_dst' differ in signedness [-Wpointer-sign] 63 | if (thc_add_hdr_dst(pkt, &pkt_len, buf3, sizeof(buf3)) < 0) return; | ^~~~ | | | char * thc-ipv6.h:176:77: note: expected 'unsigned char *' but argument is of type 'char *' 176 | extern int thc_add_hdr_dst(unsigned char *pkt, int *pkt_len, unsigned char *buf, | ~~~~~~~~~~~~~~~^~~ fake_router6.c:65:68: warning: pointer targets in passing argument 6 of 'thc_add_icmp6' differ in signedness [-Wpointer-sign] 65 | if (thc_add_icmp6(pkt, &pkt_len, ICMP6_ROUTERADV, 0, 0xff080800, frbuf, | ^~~~~ | | | char * thc-ipv6.h:182:61: note: expected 'unsigned char *' but argument is of type 'char *' 182 | unsigned int flags, unsigned char *data, int data_len, | ~~~~~~~~~~~~~~~^~~~ fake_router6.c: In function 'main': fake_router6.c:82:46: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 82 | unsigned char *routerip6, *route6, *mac6 = mac, *ip6; | ^~~ fake_router6.c:120:9: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 120 | frbuf = buf; | ^ fake_router6.c:121:10: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 121 | frbuf2 = buf2; | ^ fake_router6.c:127:34: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 127 | if (argc - optind >= 7 && (ptr = argv[optind + 5]) != NULL) | ^ fake_router6.c:128:12: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 128 | sscanf(ptr, "%x:%x:%x:%x:%x:%x", (unsigned int *)&mac[0], | ^~~ | | | unsigned char * In file included from fake_router6.c:1: /usr/include/stdio.h:423:43: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 423 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ fake_router6.c:149:32: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 149 | if (routerip == NULL || (ptr = index(routerip, '/')) == NULL) { | ^ fake_router6.c:156:15: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 156 | size = atoi(ptr); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27: /usr/include/stdlib.h:362:1: note: expected 'const char *' but argument is of type 'unsigned char *' 362 | __NTH (atoi (const char *__nptr)) | ^~~~~ fake_router6.c:197:37: warning: pointer targets in passing argument 2 of 'thc_pcap_init' differ in signedness [-Wpointer-sign] 197 | if ((p = thc_pcap_init(interface, string)) == NULL) { | ^~~~~~ | | | unsigned char * thc-ipv6.h:95:53: note: expected 'char *' but argument is of type 'unsigned char *' 95 | extern pcap_t *thc_pcap_init(char *interface, char *capture); | ~~~~~~^~~~~~~ fake_router6.c:284:45: warning: pointer targets in passing argument 3 of 'thc_add_hdr_hopbyhop' differ in signedness [-Wpointer-sign] 284 | if (thc_add_hdr_hopbyhop(pkt, &pkt_len, frbuf2, 6) < 0) return -1; | ^~~~~~ | | | char * thc-ipv6.h:179:48: note: expected 'unsigned char *' but argument is of type 'char *' 179 | unsigned char *buf, int buflen); | ~~~~~~~~~~~~~~~^~~ fake_router6.c:293:40: warning: pointer targets in passing argument 3 of 'thc_add_hdr_dst' differ in signedness [-Wpointer-sign] 293 | if (thc_add_hdr_dst(pkt, &pkt_len, buf3, sizeof(buf3)) < 0) return -1; | ^~~~ | | | char * thc-ipv6.h:176:77: note: expected 'unsigned char *' but argument is of type 'char *' 176 | 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] 91 | int rawmode = 0; | ^~~~~~~ fake_router6.c: In function 'send_rs_reply': fake_router6.c:43:20: warning: 'cnt' may be used uninitialized [-Wmaybe-uninitialized] 43 | int pkt_len = 0, cnt, i; | ^~~ fake_router6.c: In function 'main': fake_router6.c:88:45: warning: 'cnt' may be used uninitialized [-Wmaybe-uninitialized] 88 | int size, mtu = 1500, i, j, k, cnt; | ^~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o fake_advertise6 fake_advertise6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto fake_advertise6.c: In function 'main': fake_advertise6.c:51:21: warning: unused variable 'pkt2_len' [-Wunused-variable] 51 | int pkt1_len = 0, pkt2_len = 0, prefer = PREFER_GLOBAL, i, do_hop = 0, | ^~~~~~~~ fake_advertise6.c:52:32: warning: 'cnt' may be used uninitialized [-Wmaybe-uninitialized] 52 | do_dst = 0, do_frag = 0, cnt, type = NXT_ICMP6, wait = 5, loop = -1, | ^~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o fake_solicitate6 fake_solicitate6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto fake_solicitate6.c: In function 'main': fake_solicitate6.c:34:20: warning: 'cnt' may be used uninitialized [-Wmaybe-uninitialized] 34 | do_frag = 0, cnt, type = NXT_ICMP6, offset = 14; | ^~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o fake_mld6 fake_mld6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto fake_mld6.c: In function 'main': fake_mld6.c:95:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 95 | multicast6 = thc_resolve6("::"); | ^ fake_mld6.c:98:21: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 98 | if ((multicast6 = thc_resolve6(argv[3])) == NULL) { | ^ fake_mld6.c:110:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 110 | dst6 = multicast6; | ^ fake_mld6.c:137:45: warning: pointer targets in passing argument 2 of 'thc_pcap_init_promisc' differ in signedness [-Wpointer-sign] 137 | if ((p = thc_pcap_init_promisc(interface, string)) == NULL) { | ^~~~~~ | | | char * In file included from fake_mld6.c:11: thc-ipv6.h:96:70: note: expected 'unsigned char *' but argument is of type 'char *' 96 | extern pcap_t *thc_pcap_init_promisc(char *interface, unsigned char *capture); | ~~~~~~~~~~~~~~~^~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o fake_mld26 fake_mld26.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto fake_mld26.c: In function 'main': fake_mld26.c:134:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 134 | multicast6 = thc_resolve6("::"); | ^ fake_mld26.c:137:21: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 137 | if ((multicast6 = thc_resolve6(argv[3])) == NULL) { | ^ fake_mld26.c:149:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 149 | dst6 = multicast6; | ^ fake_mld26.c:180:45: warning: pointer targets in passing argument 2 of 'thc_pcap_init_promisc' differ in signedness [-Wpointer-sign] 180 | if ((p = thc_pcap_init_promisc(interface, string)) == NULL) { | ^~~~~~ | | | char * In file included from fake_mld26.c:11: thc-ipv6.h:96:70: note: expected 'unsigned char *' but argument is of type 'char *' 96 | extern pcap_t *thc_pcap_init_promisc(char *interface, unsigned char *capture); | ~~~~~~~~~~~~~~~^~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o fake_mldrouter6 fake_mldrouter6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o flood_mldrouter6 flood_mldrouter6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto flood_mldrouter6.c: In function 'main': flood_mldrouter6.c:23:25: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 23 | 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] 30 | int rawmode = 0; | ^~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o fake_mipv6 fake_mipv6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o smurf6 smurf6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto smurf6.c: In function 'main': smurf6.c:32:18: warning: unused variable 'rawmode' [-Wunused-variable] 32 | int rawmode = 0; | ^~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o redir6 redir6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o toobig6 toobig6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o rsmurf6 rsmurf6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto rsmurf6.c: In function 'main': rsmurf6.c:28:18: warning: variable 'rawmode' set but not used [-Wunused-but-set-variable] 28 | int rawmode = 0; | ^~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o alive6 alive6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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] 291 | char *os, *end, *ptr, ip_mod, ip_ver = 0, ip_hdr_size = 0; | ^~~~~~ alive6.c: In function 'check_packets': alive6.c:433:63: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 433 | if (memcmp(ptr + 48 + offset, (char *)tagging, strlen(tagging)) == 0) { | ^~~~~~~ | | | unsigned char * In file included from alive6.c:3: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ alive6.c:455:18: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 455 | snprintf(sport, sizeof(sport), "%d/", i); | ^~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from alive6.c:1: /usr/include/bits/stdio2.h:51:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 51 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ alive6.c:469:16: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 469 | snprintf(sport, sizeof(sport), "%d/", i); | ^~~~~ | | | unsigned char * /usr/include/bits/stdio2.h:51:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 51 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ alive6.c:472:41: warning: pointer targets in passing argument 1 of 'warlord_checkFingerprint' differ in signedness [-Wpointer-sign] 472 | os = warlord_checkFingerprint(ptr, len); | ^~~ | | | unsigned char * alive6.c:290:38: note: expected 'char *' but argument is of type 'unsigned char *' 290 | char *warlord_checkFingerprint(char *buffer, int len) { | ~~~~~~^~~~~~ alive6.c:536:18: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 536 | snprintf(sport, sizeof(sport), "%d:%d/", ptr[40], ptr[41]); | ^~~~~ | | | unsigned char * /usr/include/bits/stdio2.h:51:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 51 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ alive6.c:587:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 587 | p1 = "unreachable"; | ^ alive6.c:590:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 590 | p1 = "toobig"; | ^ alive6.c:593:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 593 | p1 = "time-to-live-exceeded"; | ^ alive6.c: In function 'main': alive6.c:821:17: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 821 | tagging = optarg; | ^ alive6.c:887:19: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 887 | if ((p2 = strdup(optarg)) == NULL) { | ^ alive6.c:891:22: warning: pointer targets in passing argument 1 of 'index' differ in signedness [-Wpointer-sign] 891 | p3 = index(p2, '/'); | ^~ | | | unsigned char * In file included from /usr/include/string.h:462: /usr/include/strings.h:68:33: note: expected 'const char *' but argument is of type 'unsigned char *' 68 | extern char *index (const char *__s, int __c) | ~~~~~~~~~~~~^~~ alive6.c:891:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 891 | p3 = index(p2, '/'); | ^ alive6.c:893:25: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 893 | if ((i = atoi(p3)) < 8 || i > 120 || i % 8 != 0) { | ^~ | | | unsigned char * /usr/include/stdlib.h:362:1: note: expected 'const char *' but argument is of type 'unsigned char *' 362 | __NTH (atoi (const char *__nptr)) | ^~~~~ alive6.c:1068:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1068 | strcpy(string, "ip6"); | ^~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ alive6.c:1070:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1070 | sprintf(string, "dst %s", thc_ipv62notation(src6)); | ^~~~~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ alive6.c:1072:12: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 1072 | strcat(string, " and "); | ^~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ alive6.c:1075:14: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 1075 | strcat(string, "( icmp6 or "); | ^~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ alive6.c:1076:37: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 1076 | if (udpports[0] != -1) strcat(string, "udp "); | ^~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ alive6.c:1079:16: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 1079 | strcat(string, "or "); | ^~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ alive6.c:1081:16: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 1081 | strcat(string, "tcp "); | ^~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ alive6.c:1082:14: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 1082 | strcat(string, ")"); | ^~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ alive6.c:1084:14: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 1084 | strcat(string, "icmp6"); | ^~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ alive6.c:1113:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1113 | if (strlen(tagging) > 8) tagging[8] = 0; | ^~~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ alive6.c:1114:43: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1114 | for (i = 0; i < (sizeof(buf) / strlen(tagging)); i++) | ^~~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ alive6.c:1115:32: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1115 | memcpy(buf + i * (strlen(tagging)), tagging, strlen(tagging)); | ^~~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ alive6.c:1115:59: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1115 | memcpy(buf + i * (strlen(tagging)), tagging, strlen(tagging)); | ^~~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ alive6.c:1119:37: warning: pointer targets in passing argument 2 of 'thc_pcap_init' differ in signedness [-Wpointer-sign] 1119 | if ((p = thc_pcap_init(interface, string)) == NULL) { | ^~~~~~ | | | unsigned char * In file included from alive6.c:16: thc-ipv6.h:95:53: note: expected 'char *' but argument is of type 'unsigned char *' 95 | extern pcap_t *thc_pcap_init(char *interface, char *capture); | ~~~~~~^~~~~~~ alive6.c:1384:42: warning: pointer targets in passing argument 3 of 'adress4to6' differ in signedness [-Wpointer-sign] 1384 | bl = adress4to6(cur_dst, addr_cur, &bh); | ^~~ | | | unsigned char * alive6.c:642:64: note: expected 'char *' but argument is of type 'unsigned char *' 642 | int adress4to6(unsigned char *addr6, unsigned int addr4, char *state) { | ~~~~~~^~~~~ alive6.c:1835:69: warning: pointer targets in passing argument 10 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] 1835 | (sp << 16) + sp, 0, TCP_SYN, 5760, 0, tcp_opt, | ^~~~~~~ | | | unsigned char * thc-ipv6.h:190:57: note: expected 'char *' but argument is of type 'unsigned char *' 190 | unsigned short int urgent, char *option, int option_len, | ~~~~~~^~~~~~ alive6.c:1964:72: warning: pointer targets in passing argument 6 of 'thc_add_udp' differ in signedness [-Wpointer-sign] 1964 | if (thc_add_udp(pkt, &pkt_len, sp, udpports[i] % 65536, 0, dns6buf, | ^~~~~~~ | | | unsigned char * thc-ipv6.h:194:53: note: expected 'char *' but argument is of type 'unsigned char *' 194 | unsigned int checksum, char *data, int data_len); | ~~~~~~^~~~ alive6.c:727:55: warning: unused variable 'sendrc' [-Wunused-variable] 727 | no_send_remote = 2, nos = 0, renew = 0, errcnt, sendrc; | ^~~~~~ In file included from /usr/include/stdio.h:906: In function 'printf', inlined from 'check_packets' at alive6.c:596:7: /usr/include/bits/stdio2.h:86:10: warning: 'p1' may be used uninitialized [-Wmaybe-uninitialized] 86 | return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alive6.c: In function 'check_packets': alive6.c:393:48: note: 'p1' was declared here 393 | unsigned char *ptr = (unsigned char *)data, *p1, *p2, *p3, sport[16] = "", | ^~ alive6.c: In function 'main': alive6.c:1198:23: warning: '%s' directive argument is null [-Wformat-overflow=] 1198 | "Warning: network mask is ignored and processed as " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alive6.c:1199:37: note: format string is defined here 1199 | "single host: %s\n", | ^~ alive6.c:1375:16: warning: 'cur_dst' may be used uninitialized [-Wmaybe-uninitialized] 1375 | p2 = thc_ipv62notation(cur_dst); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ alive6.c:718:48: note: 'cur_dst' was declared here 718 | unsigned char *pkt = NULL, *router6 = NULL, *cur_dst, *p2, *p3, *ptr3, *smac, | ^~~~~~~ alive6.c:731:31: warning: 'bm' may be used uninitialized [-Wmaybe-uninitialized] 731 | unsigned char fcnt = 0, bh, bm, bl, restart, use_dmac = 0, dump_all = 0, | ^~ alive6.c:1279:12: warning: 'bl' may be used uninitialized [-Wmaybe-uninitialized] 1279 | if (bl == 255) { | ^ alive6.c:731:35: note: 'bl' was declared here 731 | unsigned char fcnt = 0, bh, bm, bl, restart, use_dmac = 0, dump_all = 0, | ^~ alive6.c:1373:10: warning: 'restart' may be used uninitialized [-Wmaybe-uninitialized] 1373 | if (restart) { // bl = return, bm = fcnt_counter, bh = state | ^ alive6.c:731:39: note: 'restart' was declared here 731 | unsigned char fcnt = 0, bh, bm, bl, restart, use_dmac = 0, dump_all = 0, | ^~~~~~~ alive6.c:1323:19: warning: 'ip2' may be used uninitialized [-Wmaybe-uninitialized] 1323 | } else if (ip2 < dict[dictptr + 5]) { | ^ alive6.c:733:21: note: 'ip2' was declared here 733 | unsigned int ip1, ip2, ip3, ip4, cip1, cip2, cip3, cip4, cip5, cip6, cip7, | ^~~ alive6.c:1320:17: warning: 'ip3' may be used uninitialized [-Wmaybe-uninitialized] 1320 | else if (ip3 < dict[dictptr + 6]) { | ^ alive6.c:733:26: note: 'ip3' was declared here 733 | unsigned int ip1, ip2, ip3, ip4, cip1, cip2, cip3, cip4, cip5, cip6, cip7, | ^~~ alive6.c:1318:12: warning: 'ip4' may be used uninitialized [-Wmaybe-uninitialized] 1318 | if (ip4 < dict[dictptr + 7]) | ^ alive6.c:733:31: note: 'ip4' was declared here 733 | unsigned int ip1, ip2, ip3, ip4, cip1, cip2, cip3, cip4, cip5, cip6, cip7, | ^~~ alive6.c:1635:16: warning: 'cip1' may be used uninitialized [-Wmaybe-uninitialized] 1635 | if (cip1 < tip1) { | ^ alive6.c:733:36: note: 'cip1' was declared here 733 | unsigned int ip1, ip2, ip3, ip4, cip1, cip2, cip3, cip4, cip5, cip6, cip7, | ^~~~ alive6.c:1616:16: warning: 'cip2' may be used uninitialized [-Wmaybe-uninitialized] 1616 | if (cip2 < tip2) { | ^ alive6.c:733:42: note: 'cip2' was declared here 733 | unsigned int ip1, ip2, ip3, ip4, cip1, cip2, cip3, cip4, cip5, cip6, cip7, | ^~~~ alive6.c:1597:16: warning: 'cip3' may be used uninitialized [-Wmaybe-uninitialized] 1597 | if (cip3 < tip3) { | ^ alive6.c:733:48: note: 'cip3' was declared here 733 | unsigned int ip1, ip2, ip3, ip4, cip1, cip2, cip3, cip4, cip5, cip6, cip7, | ^~~~ alive6.c:1578:16: warning: 'cip4' may be used uninitialized [-Wmaybe-uninitialized] 1578 | if (cip4 < tip4) { | ^ alive6.c:733:54: note: 'cip4' was declared here 733 | unsigned int ip1, ip2, ip3, ip4, cip1, cip2, cip3, cip4, cip5, cip6, cip7, | ^~~~ alive6.c:1559:16: warning: 'cip5' may be used uninitialized [-Wmaybe-uninitialized] 1559 | if (cip5 < tip5) { | ^ alive6.c:733:60: note: 'cip5' was declared here 733 | unsigned int ip1, ip2, ip3, ip4, cip1, cip2, cip3, cip4, cip5, cip6, cip7, | ^~~~ alive6.c:1532:22: warning: 'cip6' may be used uninitialized [-Wmaybe-uninitialized] 1532 | if (cip6 + step <= tip6) { | ~~~~~^~~~~~ alive6.c:733:66: note: 'cip6' was declared here 733 | unsigned int ip1, ip2, ip3, ip4, cip1, cip2, cip3, cip4, cip5, cip6, cip7, | ^~~~ alive6.c:1513:22: warning: 'cip7' may be used uninitialized [-Wmaybe-uninitialized] 1513 | if (cip7 + step <= tip7) { | ~~~~~^~~~~~ alive6.c:733:72: note: 'cip7' was declared here 733 | unsigned int ip1, ip2, ip3, ip4, cip1, cip2, cip3, cip4, cip5, cip6, cip7, | ^~~~ alive6.c:1494:22: warning: 'cip8' may be used uninitialized [-Wmaybe-uninitialized] 1494 | if (cip8 + step <= tip8) { | ~~~~~^~~~~~ alive6.c:734:7: note: 'cip8' was declared here 734 | cip8; | ^~~~ alive6.c:1624:12: warning: 'fip1' may be used uninitialized [-Wmaybe-uninitialized] 1624 | if (fip1 != tip1 && (inc_step || inc_next)) { | ^ alive6.c:735:16: note: 'fip1' was declared here 735 | unsigned int fip1, fip2, fip3, fip4, fip5, fip6, fip7, fip8, tip1, tip2, tip3, | ^~~~ alive6.c:1605:12: warning: 'fip2' may be used uninitialized [-Wmaybe-uninitialized] 1605 | if (fip2 != tip2 && (inc_step || inc_next)) { | ^ alive6.c:735:22: note: 'fip2' was declared here 735 | unsigned int fip1, fip2, fip3, fip4, fip5, fip6, fip7, fip8, tip1, tip2, tip3, | ^~~~ alive6.c:1586:12: warning: 'fip3' may be used uninitialized [-Wmaybe-uninitialized] 1586 | if (fip3 != tip3 && (inc_step || inc_next)) { | ^ alive6.c:735:28: note: 'fip3' was declared here 735 | unsigned int fip1, fip2, fip3, fip4, fip5, fip6, fip7, fip8, tip1, tip2, tip3, | ^~~~ alive6.c:1567:12: warning: 'fip4' may be used uninitialized [-Wmaybe-uninitialized] 1567 | if (fip4 != tip4 && (inc_step || inc_next)) { | ^ alive6.c:735:34: note: 'fip4' was declared here 735 | unsigned int fip1, fip2, fip3, fip4, fip5, fip6, fip7, fip8, tip1, tip2, tip3, | ^~~~ alive6.c:1548:12: warning: 'fip5' may be used uninitialized [-Wmaybe-uninitialized] 1548 | if (fip5 != tip5 && (inc_step || inc_next)) { | ^ alive6.c:735:40: note: 'fip5' was declared here 735 | unsigned int fip1, fip2, fip3, fip4, fip5, fip6, fip7, fip8, tip1, tip2, tip3, | ^~~~ alive6.c:1529:12: warning: 'fip6' may be used uninitialized [-Wmaybe-uninitialized] 1529 | if (fip6 != tip6 && (inc_step || inc_next)) { | ^ alive6.c:735:46: note: 'fip6' was declared here 735 | unsigned int fip1, fip2, fip3, fip4, fip5, fip6, fip7, fip8, tip1, tip2, tip3, | ^~~~ alive6.c:1510:12: warning: 'fip7' may be used uninitialized [-Wmaybe-uninitialized] 1510 | if (fip7 != tip7 && (inc_step || inc_next)) { | ^ alive6.c:735:52: note: 'fip7' was declared here 735 | unsigned int fip1, fip2, fip3, fip4, fip5, fip6, fip7, fip8, tip1, tip2, tip3, | ^~~~ alive6.c:1491:12: warning: 'fip8' may be used uninitialized [-Wmaybe-uninitialized] 1491 | if (fip8 != tip8 && (inc_step || inc_next)) { | ^ alive6.c:735:58: note: 'fip8' was declared here 735 | unsigned int fip1, fip2, fip3, fip4, fip5, fip6, fip7, fip8, tip1, tip2, tip3, | ^~~~ alive6.c:1624:12: warning: 'tip1' may be used uninitialized [-Wmaybe-uninitialized] 1624 | if (fip1 != tip1 && (inc_step || inc_next)) { | ^ alive6.c:735:64: note: 'tip1' was declared here 735 | unsigned int fip1, fip2, fip3, fip4, fip5, fip6, fip7, fip8, tip1, tip2, tip3, | ^~~~ alive6.c:1605:12: warning: 'tip2' may be used uninitialized [-Wmaybe-uninitialized] 1605 | if (fip2 != tip2 && (inc_step || inc_next)) { | ^ alive6.c:735:70: note: 'tip2' was declared here 735 | unsigned int fip1, fip2, fip3, fip4, fip5, fip6, fip7, fip8, tip1, tip2, tip3, | ^~~~ alive6.c:1586:12: warning: 'tip3' may be used uninitialized [-Wmaybe-uninitialized] 1586 | if (fip3 != tip3 && (inc_step || inc_next)) { | ^ alive6.c:735:76: note: 'tip3' was declared here 735 | unsigned int fip1, fip2, fip3, fip4, fip5, fip6, fip7, fip8, tip1, tip2, tip3, | ^~~~ alive6.c:1567:12: warning: 'tip4' may be used uninitialized [-Wmaybe-uninitialized] 1567 | if (fip4 != tip4 && (inc_step || inc_next)) { | ^ alive6.c:736:7: note: 'tip4' was declared here 736 | tip4, tip5, tip6, tip7, tip8; | ^~~~ alive6.c:1548:12: warning: 'tip5' may be used uninitialized [-Wmaybe-uninitialized] 1548 | if (fip5 != tip5 && (inc_step || inc_next)) { | ^ alive6.c:736:13: note: 'tip5' was declared here 736 | tip4, tip5, tip6, tip7, tip8; | ^~~~ alive6.c:1529:12: warning: 'tip6' may be used uninitialized [-Wmaybe-uninitialized] 1529 | if (fip6 != tip6 && (inc_step || inc_next)) { | ^ alive6.c:736:19: note: 'tip6' was declared here 736 | tip4, tip5, tip6, tip7, tip8; | ^~~~ alive6.c:1510:12: warning: 'tip7' may be used uninitialized [-Wmaybe-uninitialized] 1510 | if (fip7 != tip7 && (inc_step || inc_next)) { | ^ alive6.c:736:25: note: 'tip7' was declared here 736 | tip4, tip5, tip6, tip7, tip8; | ^~~~ alive6.c:1491:12: warning: 'tip8' may be used uninitialized [-Wmaybe-uninitialized] 1491 | if (fip8 != tip8 && (inc_step || inc_next)) { | ^ alive6.c:736:31: note: 'tip8' was declared here 736 | tip4, tip5, tip6, tip7, tip8; | ^~~~ alive6.c:1384:12: warning: 'addr_cur' may be used uninitialized [-Wmaybe-uninitialized] 1384 | bl = adress4to6(cur_dst, addr_cur, &bh); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alive6.c:730:57: note: 'addr_cur' was declared here 730 | unsigned int four_from[MAX_FOUR], four_to[MAX_FOUR], addr_cur; | ^~~~~~~~ alive6.c:1340:20: warning: 'ip1' may be used uninitialized [-Wmaybe-uninitialized] 1340 | cur_dst[9] = ip1 % 256; | ~~~~~~~~~~~^~~~~~~~~~~ alive6.c:733:16: note: 'ip1' was declared here 733 | unsigned int ip1, ip2, ip3, ip4, cip1, cip2, cip3, cip4, cip5, cip6, cip7, | ^~~ alive6.c:727:47: warning: 'errcnt' may be used uninitialized [-Wmaybe-uninitialized] 727 | no_send_remote = 2, nos = 0, renew = 0, errcnt, sendrc; | ^~~~~~ alive6.c:2047:28: warning: 'ok' may be used uninitialized [-Wmaybe-uninitialized] 2047 | if (curr > 1 || list > 0 || ok != 0 || tcount > alive_no || | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ alive6.c:729:36: note: 'ok' was declared here 729 | *ptr, *ptr2, do_router = 0, ok; | ^~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o implementation6d implementation6d.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto implementation6d.c: In function 'main': implementation6d.c:182:36: warning: pointer targets in passing argument 2 of 'thc_pcap_function' differ in signedness [-Wpointer-sign] 182 | if (thc_pcap_function(interface, string, (char *)check_packet, 0, NULL) < 0) { | ^~~~~~ | | | unsigned char * In file included from implementation6d.c:34: thc-ipv6.h:93:57: note: expected 'char *' but argument is of type 'unsigned char *' 93 | extern int thc_pcap_function(char *interface, char *capture, char *function, | ~~~~~~^~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o sendpees6 sendpees6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto sendpees6.c: In function 'main': sendpees6.c:42:7: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 42 | dev = argv[1]; | ^ sendpees6.c:43:24: warning: pointer targets in passing argument 1 of 'thc_get_own_ipv6' differ in signedness [-Wpointer-sign] 43 | if (thc_get_own_ipv6(dev, NULL, PREFER_LINK) == NULL) { | ^~~ | | | unsigned char * In file included from sendpees6.c:20: thc-ipv6.h:104:46: note: expected 'char *' but argument is of type 'unsigned char *' 104 | extern unsigned char *thc_get_own_ipv6(char *interface, unsigned char *dst, | ~~~~~~^~~~~~~~~ sendpees6.c:57:30: warning: pointer targets in passing argument 1 of 'thc_generate_cga' differ in signedness [-Wpointer-sign] 57 | cga_opt = thc_generate_cga(prefix, key, &cga); | ^~~~~~ | | | char * thc-ipv6.h:439:53: note: expected 'unsigned char *' but argument is of type 'char *' 439 | extern thc_cga_hdr *thc_generate_cga(unsigned char *prefix, thc_key_t *key, | ~~~~~~~~~~~~~~~^~~~~~ sendpees6.c:70:39: warning: pointer targets in passing argument 1 of 'thc_create_ipv6_extended' differ in signedness [-Wpointer-sign] 70 | if ((pkt = thc_create_ipv6_extended(dev, PREFER_GLOBAL, &pkt_len, cga, dst6, | ^~~ | | | unsigned char * thc-ipv6.h:160:54: note: expected 'char *' but argument is of type 'unsigned char *' 160 | extern unsigned char *thc_create_ipv6_extended(char *interface, int prefer, | ~~~~~~^~~~~~~~~ sendpees6.c:75:71: warning: pointer targets in passing argument 6 of 'thc_add_send' differ in signedness [-Wpointer-sign] 75 | if (thc_add_send(pkt, &pkt_len, ICMP6_NEIGHBORSOL, 0xfacebabe, 0x0, dummy, 24, | ^~~~~ | | | char * thc-ipv6.h:443:60: note: expected 'unsigned char *' but argument is of type 'char *' 443 | unsigned int flags, unsigned char *data, int data_len, | ~~~~~~~~~~~~~~~^~~~ sendpees6.c:82:24: warning: pointer targets in passing argument 1 of 'thc_generate_pkt' differ in signedness [-Wpointer-sign] 82 | if (thc_generate_pkt(dev, srchw, dsthw, pkt, &pkt_len) < 0) { | ^~~ | | | unsigned char * thc-ipv6.h:206:35: note: expected 'char *' but argument is of type 'unsigned char *' 206 | extern int thc_generate_pkt(char *interface, unsigned char *srcmac, | ~~~~~~^~~~~~~~~ sendpees6.c:82:29: warning: pointer targets in passing argument 2 of 'thc_generate_pkt' differ in signedness [-Wpointer-sign] 82 | if (thc_generate_pkt(dev, srchw, dsthw, pkt, &pkt_len) < 0) { | ^~~~~ | | | char * thc-ipv6.h:206:61: note: expected 'unsigned char *' but argument is of type 'char *' 206 | extern int thc_generate_pkt(char *interface, unsigned char *srcmac, | ~~~~~~~~~~~~~~~^~~~~~ sendpees6.c:82:36: warning: pointer targets in passing argument 3 of 'thc_generate_pkt' differ in signedness [-Wpointer-sign] 82 | if (thc_generate_pkt(dev, srchw, dsthw, pkt, &pkt_len) < 0) { | ^~~~~ | | | char * thc-ipv6.h:207:44: note: expected 'unsigned char *' but argument is of type 'char *' 207 | unsigned char *dstmac, unsigned char *pkt, | ~~~~~~~~~~~~~~~^~~~~~ sendpees6.c:90:18: warning: pointer targets in passing argument 1 of 'thc_send_pkt' differ in signedness [-Wpointer-sign] 90 | thc_send_pkt(dev, pkt, &pkt_len); | ^~~ | | | unsigned char * thc-ipv6.h:209:31: note: expected 'char *' but argument is of type 'unsigned char *' 209 | extern int thc_send_pkt(char *interface, unsigned char *pkt, int *pkt_len); | ~~~~~~^~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o implementation6 implementation6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto implementation6.c: In function 'main': implementation6.c:327:10: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 327 | strcat(string, thc_ipv62notation(src6)); | ^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from implementation6.c:9: /usr/include/bits/string_fortified.h:128:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ implementation6.c:327:18: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] 327 | strcat(string, thc_ipv62notation(src6)); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ implementation6.c:328:10: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 328 | strcat(string2, thc_ipv62notation(dst6)); | ^~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ implementation6.c:328:19: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] 328 | strcat(string2, thc_ipv62notation(dst6)); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ implementation6.c:340:37: warning: pointer targets in passing argument 2 of 'thc_pcap_init' differ in signedness [-Wpointer-sign] 340 | if ((p = thc_pcap_init(interface, string)) == NULL) { | ^~~~~~ | | | unsigned char * In file included from implementation6.c:19: thc-ipv6.h:95:53: note: expected 'char *' but argument is of type 'unsigned char *' 95 | extern pcap_t *thc_pcap_init(char *interface, char *capture); | ~~~~~~^~~~~~~ implementation6.c:1546:34: warning: pointer targets in passing argument 2 of 'thc_pcap_init' differ in signedness [-Wpointer-sign] 1546 | p = thc_pcap_init(interface, string2); | ^~~~~~~ | | | unsigned char * thc-ipv6.h:95:53: note: expected 'char *' but argument is of type 'unsigned char *' 95 | extern pcap_t *thc_pcap_init(char *interface, char *capture); | ~~~~~~^~~~~~~ implementation6.c:1556:34: warning: pointer targets in passing argument 2 of 'thc_pcap_init' differ in signedness [-Wpointer-sign] 1556 | p = thc_pcap_init(interface, string); | ^~~~~~ | | | unsigned char * thc-ipv6.h:95:53: note: expected 'char *' but argument is of type 'unsigned char *' 95 | extern pcap_t *thc_pcap_init(char *interface, char *capture); | ~~~~~~^~~~~~~ implementation6.c:1635:34: warning: pointer targets in passing argument 2 of 'thc_pcap_init' differ in signedness [-Wpointer-sign] 1635 | p = thc_pcap_init(interface, string2); | ^~~~~~~ | | | unsigned char * thc-ipv6.h:95:53: note: expected 'char *' but argument is of type 'unsigned char *' 95 | extern pcap_t *thc_pcap_init(char *interface, char *capture); | ~~~~~~^~~~~~~ implementation6.c:1653:34: warning: pointer targets in passing argument 2 of 'thc_pcap_init' differ in signedness [-Wpointer-sign] 1653 | p = thc_pcap_init(interface, string); | ^~~~~~ | | | unsigned char * thc-ipv6.h:95:53: note: expected 'char *' but argument is of type 'unsigned char *' 95 | extern pcap_t *thc_pcap_init(char *interface, char *capture); | ~~~~~~^~~~~~~ implementation6.c:1670:34: warning: pointer targets in passing argument 2 of 'thc_pcap_init' differ in signedness [-Wpointer-sign] 1670 | p = thc_pcap_init(interface, string2); | ^~~~~~~ | | | unsigned char * thc-ipv6.h:95:53: note: expected 'char *' but argument is of type 'unsigned char *' 95 | extern pcap_t *thc_pcap_init(char *interface, char *capture); | ~~~~~~^~~~~~~ implementation6.c:1688:34: warning: pointer targets in passing argument 2 of 'thc_pcap_init' differ in signedness [-Wpointer-sign] 1688 | p = thc_pcap_init(interface, string); | ^~~~~~ | | | unsigned char * thc-ipv6.h:95:53: note: expected 'char *' but argument is of type 'unsigned char *' 95 | extern pcap_t *thc_pcap_init(char *interface, char *capture); | ~~~~~~^~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o randicmp6 randicmp6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o sendpeesmp6 sendpeesmp6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto sendpeesmp6.c: In function 'main': sendpeesmp6.c:86:7: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 86 | dev = argv[1]; /* read interface from commandline */ | ^ sendpeesmp6.c:87:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 87 | if ((addr = thc_resolve6(argv[3])) == NULL) { | ^ sendpeesmp6.c:92:24: warning: pointer targets in passing argument 1 of 'thc_get_own_ipv6' differ in signedness [-Wpointer-sign] 92 | if (thc_get_own_ipv6(dev, NULL, PREFER_LINK) == NULL) { | ^~~ | | | unsigned char * In file included from sendpeesmp6.c:19: thc-ipv6.h:104:46: note: expected 'char *' but argument is of type 'unsigned char *' 104 | extern unsigned char *thc_get_own_ipv6(char *interface, unsigned char *dst, | ~~~~~~^~~~~~~~~ sendpeesmp6.c:105:30: warning: pointer targets in passing argument 1 of 'thc_generate_cga' differ in signedness [-Wpointer-sign] 105 | cga_opt = thc_generate_cga(prefix, key, &cga); | ^~~~~~ | | | char * thc-ipv6.h:439:53: note: expected 'unsigned char *' but argument is of type 'char *' 439 | extern thc_cga_hdr *thc_generate_cga(unsigned char *prefix, thc_key_t *key, | ~~~~~~~~~~~~~~~^~~~~~ sendpeesmp6.c:119:23: warning: pointer targets in passing argument 1 of 'thc_get_mac' differ in signedness [-Wpointer-sign] 119 | tgthw = thc_get_mac(dev, cga, dst6); | ^~~ | | | unsigned char * thc-ipv6.h:107:41: note: expected 'char *' but argument is of type 'unsigned char *' 107 | extern unsigned char *thc_get_mac(char *interface, unsigned char *src, | ~~~~~~^~~~~~~~~ sendpeesmp6.c:151:43: warning: pointer targets in passing argument 1 of 'thc_create_ipv6_extended' differ in signedness [-Wpointer-sign] 151 | if ((pkt = thc_create_ipv6_extended(dev, PREFER_LINK, &pkt_len, cga, dst6, | ^~~ | | | unsigned char * thc-ipv6.h:160:54: note: expected 'char *' but argument is of type 'unsigned char *' 160 | extern unsigned char *thc_create_ipv6_extended(char *interface, int prefer, | ~~~~~~^~~~~~~~~ sendpeesmp6.c:158:70: warning: pointer targets in passing argument 6 of 'thc_add_send' differ in signedness [-Wpointer-sign] 158 | if (thc_add_send(pkt, &pkt_len, ICMP6_NEIGHBORSOL, 0x0, flags, soldummy, | ^~~~~~~~ | | | char * thc-ipv6.h:443:60: note: expected 'unsigned char *' but argument is of type 'char *' 443 | unsigned int flags, unsigned char *data, int data_len, | ~~~~~~~~~~~~~~~^~~~ sendpeesmp6.c:166:38: warning: pointer targets in passing argument 1 of 'thc_generate_pkt' differ in signedness [-Wpointer-sign] 166 | if ((result = thc_generate_pkt(dev, test, tgthw, pkt, &pkt_len)) < 0) { | ^~~ | | | unsigned char * thc-ipv6.h:206:35: note: expected 'char *' but argument is of type 'unsigned char *' 206 | extern int thc_generate_pkt(char *interface, unsigned char *srcmac, | ~~~~~~^~~~~~~~~ sendpeesmp6.c:176:22: warning: pointer targets in passing argument 1 of 'thc_send_pkt' differ in signedness [-Wpointer-sign] 176 | thc_send_pkt(dev, pkt, &pkt_len); | ^~~ | | | unsigned char * thc-ipv6.h:209:31: note: expected 'char *' but argument is of type 'unsigned char *' 209 | extern int thc_send_pkt(char *interface, unsigned char *pkt, int *pkt_len); | ~~~~~~^~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o flood_mld6 flood_mld6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto flood_mld6.c: In function 'main': flood_mld6.c:23:25: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 23 | 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] 30 | int rawmode = 0; | ^~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o fuzz_ip6 fuzz_ip6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto fuzz_ip6.c: In function 'main': fuzz_ip6.c:353:15: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 353 | if ((srcmac = thc_get_own_mac(interface)) == NULL) { | ^ fuzz_ip6.c:387:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 387 | if ((real_dst6 = thc_resolve6(argv[optind + 1])) == NULL) { | ^ fuzz_ip6.c:422:10: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 422 | strcat(string, thc_ipv62notation(src6)); | ^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from fuzz_ip6.c:1: /usr/include/bits/string_fortified.h:128:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ fuzz_ip6.c:422:18: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] 422 | strcat(string, thc_ipv62notation(src6)); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ fuzz_ip6.c:433:7: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 433 | dns = thc_resolve6("ff02::fb"); | ^ fuzz_ip6.c:434:10: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 434 | route6 = thc_resolve6("2a01::"); | ^ fuzz_ip6.c:436:37: warning: pointer targets in passing argument 2 of 'thc_pcap_init' differ in signedness [-Wpointer-sign] 436 | if ((p = thc_pcap_init(interface, string)) == NULL) { | ^~~~~~ | | | unsigned char * In file included from fuzz_ip6.c:11: thc-ipv6.h:95:53: note: expected 'char *' but argument is of type 'unsigned char *' 95 | extern pcap_t *thc_pcap_init(char *interface, char *capture); | ~~~~~~^~~~~~~ fuzz_ip6.c:444:35: warning: pointer targets in passing argument 3 of 'check_alive' differ in signedness [-Wpointer-sign] 444 | if (check_alive(p, interface, srcmac, mac, src6, real_dst6) == 0) { | ^~~~~~ | | | char * fuzz_ip6.c:209:60: note: expected 'unsigned char *' but argument is of type 'char *' 209 | int check_alive(pcap_t *p, char *interface, unsigned char *srcmac, | ~~~~~~~~~~~~~~~^~~~~~ fuzz_ip6.c:444:54: warning: pointer targets in passing argument 6 of 'check_alive' differ in signedness [-Wpointer-sign] 444 | if (check_alive(p, interface, srcmac, mac, src6, real_dst6) == 0) { | ^~~~~~~~~ | | | char * fuzz_ip6.c:210:75: note: expected 'unsigned char *' but argument is of type 'char *' 210 | unsigned char *dstmac, unsigned char *src, unsigned char *dst) { | ~~~~~~~~~~~~~~~^~~ fuzz_ip6.c:497:40: warning: pointer targets in passing argument 3 of 'addfuzz' differ in signedness [-Wpointer-sign] 497 | addfuzz(&fuzzbuf, &fuzzbuf_sz, buf3); | ^~~~ | | | unsigned char * fuzz_ip6.c:196:53: note: expected 'char *' but argument is of type 'unsigned char *' 196 | void addfuzz(char **fuzzbuf, int *fuzzbuf_sz, char *fuzztype) { | ~~~~~~^~~~~~~~ fuzz_ip6.c:550:38: warning: pointer targets in passing argument 3 of 'addfuzz' differ in signedness [-Wpointer-sign] 550 | addfuzz(&fuzzbuf, &fuzzbuf_sz, buf3); | ^~~~ | | | unsigned char * fuzz_ip6.c:196:53: note: expected 'char *' but argument is of type 'unsigned char *' 196 | void addfuzz(char **fuzzbuf, int *fuzzbuf_sz, char *fuzztype) { | ~~~~~~^~~~~~~~ fuzz_ip6.c:592:32: warning: pointer targets in passing argument 10 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] 592 | 5760, 0, (unsigned char *)buf, 20, (unsigned char *)buf, | ^~~~~~~~~~~~~~~~~~~~ | | | unsigned char * thc-ipv6.h:190:57: note: expected 'char *' but argument is of type 'unsigned char *' 190 | unsigned short int urgent, char *option, int option_len, | ~~~~~~^~~~~~ fuzz_ip6.c:592:58: warning: pointer targets in passing argument 12 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] 592 | 5760, 0, (unsigned char *)buf, 20, (unsigned char *)buf, | ^~~~~~~~~~~~~~~~~~~~ | | | unsigned char * thc-ipv6.h:191:30: note: expected 'char *' but argument is of type 'unsigned char *' 191 | char *data, int data_len); | ~~~~~~^~~~ fuzz_ip6.c:624:14: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 624 | tmp6 = thc_get_own_ipv6(interface, dst6, PREFER_GLOBAL); | ^ fuzz_ip6.c:626:14: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 626 | tmp6 = someaddr6; | ^ fuzz_ip6.c:639:14: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 639 | tmp6 = thc_get_own_ipv6(interface, dst6, PREFER_GLOBAL); | ^ fuzz_ip6.c:641:14: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 641 | tmp6 = someaddr6; | ^ fuzz_ip6.c:645:12: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 645 | tmp6 = thc_resolve6("ff00::"); | ^ fuzz_ip6.c:650:12: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 650 | tmp6 = thc_get_own_ipv6(interface, dst6, PREFER_GLOBAL); | ^ fuzz_ip6.c:656:14: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 656 | tmp6 = thc_get_own_ipv6(interface, dst6, PREFER_GLOBAL); | ^ fuzz_ip6.c:658:14: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 658 | tmp6 = someaddr6; | ^ fuzz_ip6.c:669:14: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 669 | tmp6 = someaddr6; | ^ fuzz_ip6.c:671:14: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 671 | tmp6 = thc_resolve6("ff05::3"); | ^ fuzz_ip6.c:858:35: warning: pointer targets in passing argument 2 of 'thc_generate_pkt' differ in signedness [-Wpointer-sign] 858 | if (thc_generate_pkt(interface, srcmac, mac, pkt, &pkt_len) < 0) return -1; | ^~~~~~ | | | char * thc-ipv6.h:206:61: note: expected 'unsigned char *' but argument is of type 'char *' 206 | extern int thc_generate_pkt(char *interface, unsigned char *srcmac, | ~~~~~~~~~~~~~~~^~~~~~ fuzz_ip6.c:1112:41: warning: pointer targets in passing argument 3 of 'check_alive' differ in signedness [-Wpointer-sign] 1112 | if (check_alive(p, interface, srcmac, mac, src6, real_dst6) == 0) { | ^~~~~~ | | | char * fuzz_ip6.c:209:60: note: expected 'unsigned char *' but argument is of type 'char *' 209 | int check_alive(pcap_t *p, char *interface, unsigned char *srcmac, | ~~~~~~~~~~~~~~~^~~~~~ fuzz_ip6.c:1112:60: warning: pointer targets in passing argument 6 of 'check_alive' differ in signedness [-Wpointer-sign] 1112 | if (check_alive(p, interface, srcmac, mac, src6, real_dst6) == 0) { | ^~~~~~~~~ | | | char * fuzz_ip6.c:210:75: note: expected 'unsigned char *' but argument is of type 'char *' 210 | unsigned char *dstmac, unsigned char *src, unsigned char *dst) { | ~~~~~~~~~~~~~~~^~~ fuzz_ip6.c:1133:35: warning: pointer targets in passing argument 3 of 'check_alive' differ in signedness [-Wpointer-sign] 1133 | if (check_alive(p, interface, srcmac, mac, src6, real_dst6) == 0) { | ^~~~~~ | | | char * fuzz_ip6.c:209:60: note: expected 'unsigned char *' but argument is of type 'char *' 209 | int check_alive(pcap_t *p, char *interface, unsigned char *srcmac, | ~~~~~~~~~~~~~~~^~~~~~ fuzz_ip6.c:1133:54: warning: pointer targets in passing argument 6 of 'check_alive' differ in signedness [-Wpointer-sign] 1133 | if (check_alive(p, interface, srcmac, mac, src6, real_dst6) == 0) { | ^~~~~~~~~ | | | char * fuzz_ip6.c:210:75: note: expected 'unsigned char *' but argument is of type 'char *' 210 | unsigned char *dstmac, unsigned char *src, unsigned char *dst) { | ~~~~~~~~~~~~~~~^~~ fuzz_ip6.c:963:42: warning: array subscript 7 is above array bounds of 'unsigned int[2]' [-Warray-bounds=] 963 | hdr->pkt[test_pos] ^ xors[test_cnt - COUNT_BYTE - 1]; | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ fuzz_ip6.c:54:20: note: while referencing 'xors' 54 | unsigned int xors[] = {0, 0xffffffff}; // 2 | ^~~~ In file included from /usr/include/string.h:535, from fuzz_ip6.c:3: In function 'memcpy', inlined from 'main' at fuzz_ip6.c:690:9: /usr/include/bits/string_fortified.h:29:10: warning: 'mcast6' may be used uninitialized [-Wmaybe-uninitialized] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ fuzz_ip6.c: In function 'main': fuzz_ip6.c:231:41: note: 'mcast6' was declared here 231 | unsigned char *pkt = NULL, *pkt_bak, *mcast6, *someaddr6 = NULL; | ^~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o flood_mld26 flood_mld26.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto flood_mld26.c: In function 'main': flood_mld26.c:25:25: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 25 | 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] 32 | int rawmode = 0; | ^~~~~~~ flood_mld26.c:29:24: warning: variable 'prefer' set but not used [-Wunused-but-set-variable] 29 | int i, j, prefer = PREFER_LINK; | ^~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o flood_advertise6 flood_advertise6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto flood_advertise6.c: In function 'main': flood_advertise6.c:26:25: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 26 | unsigned char *mac6 = mac, *ip6; | ^~~ flood_advertise6.c:33:7: warning: variable 'keepmac' set but not used [-Wunused-but-set-variable] 33 | keepmac = 0; | ^~~~~~~ flood_advertise6.c:32:27: warning: unused variable 'rawmode' [-Wunused-variable] 32 | int pkt_len = 0, flags, rawmode = 0, count = 0, prefer = PREFER_LINK, | ^~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o flood_router6 flood_router6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto flood_router6.c: In function 'main': flood_router6.c:27:46: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 27 | unsigned char *routerip6, *route6, *mac6 = mac, *ip6; | ^~~ flood_router6.c:33:20: warning: variable 'rawmode' set but not used [-Wunused-but-set-variable] 33 | 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 [-Wmaybe-uninitialized] 33 | int pkt_len = 0, rawmode = 0, count = 0, do_hop = 0, do_frag = 0, cnt, | ^~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o flood_solicitate6 flood_solicitate6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto flood_solicitate6.c: In function 'main': flood_solicitate6.c:28:25: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 28 | unsigned char *mac6 = mac, *ip6, *query6, *smac = NULL; | ^~~ flood_solicitate6.c:54:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 54 | smac = srcmac; | ^ flood_solicitate6.c:34:31: warning: unused variable 'rawmode' [-Wunused-variable] 34 | int pkt_len = 0, rawmode = 0, count = 0; | ^~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o trace6 trace6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto trace6.c: In function 'check_packets': trace6.c:119:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 119 | remark[pos] = strdup("\t[ping reply received]"); | ^ trace6.c:166:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 166 | remark[pos] = strdup("\t[unreachable message received]"); | ^ trace6.c:189:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 189 | remark[pos] = strdup("\t[parameter problem received]"); | ^ trace6.c:211:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 211 | remark[pos] = strdup("\t[TCP SYN-ACK reply received]"); | ^ trace6.c:214:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 214 | remark[pos] = strdup("\t[TCP RST reply received]"); | ^ trace6.c:217:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 217 | remark[pos] = strdup("\t[TCP unknown reply received]"); | ^ trace6.c:228:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 228 | remark[pos] = strdup("\t[UDP reply received]"); | ^ trace6.c:250:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 250 | remark[pos] = strdup("\t[port unreachable message received]"); | ^ trace6.c:254:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 254 | remark[pos] = strdup("\t[unreachable message received]"); | ^ trace6.c: In function 'main': trace6.c:336:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 336 | interface = argv[optind]; | ^ trace6.c:341:45: warning: pointer targets in passing argument 1 of 'thc_get_own_ipv6' differ in signedness [-Wpointer-sign] 341 | if (src6 == NULL) src6 = thc_get_own_ipv6(interface, dst6, PREFER_GLOBAL); | ^~~~~~~~~ | | | unsigned char * In file included from trace6.c:12: thc-ipv6.h:104:46: note: expected 'char *' but argument is of type 'unsigned char *' 104 | extern unsigned char *thc_get_own_ipv6(char *interface, unsigned char *dst, | ~~~~~~^~~~~~~~~ trace6.c:342:28: warning: pointer targets in passing argument 1 of 'thc_get_own_mac' differ in signedness [-Wpointer-sign] 342 | srcmac = thc_get_own_mac(interface); | ^~~~~~~~~ | | | unsigned char * thc-ipv6.h:102:45: note: expected 'char *' but argument is of type 'unsigned char *' 102 | extern unsigned char *thc_get_own_mac(char *interface); | ~~~~~~^~~~~~~~~ trace6.c:367:42: warning: pointer targets in passing argument 1 of 'thc_get_mac' differ in signedness [-Wpointer-sign] 367 | if (rawmode == 0 && (mac = thc_get_mac(interface, src6, dst6)) == NULL) { | ^~~~~~~~~ | | | unsigned char * thc-ipv6.h:107:41: note: expected 'char *' but argument is of type 'unsigned char *' 107 | extern unsigned char *thc_get_mac(char *interface, unsigned char *src, | ~~~~~~^~~~~~~~~ trace6.c:372:10: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 372 | strcat(string, thc_ipv62notation(src6)); | ^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from trace6.c:1: /usr/include/bits/string_fortified.h:128:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ trace6.c:372:18: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] 372 | strcat(string, thc_ipv62notation(src6)); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ trace6.c:376:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 376 | remark[i] = strdup(""); | ^ trace6.c:380:26: warning: pointer targets in passing argument 1 of 'thc_pcap_init' differ in signedness [-Wpointer-sign] 380 | if ((p = thc_pcap_init(interface, string)) == NULL) { | ^~~~~~~~~ | | | unsigned char * thc-ipv6.h:95:36: note: expected 'char *' but argument is of type 'unsigned char *' 95 | extern pcap_t *thc_pcap_init(char *interface, char *capture); | ~~~~~~^~~~~~~~~ trace6.c:380:37: warning: pointer targets in passing argument 2 of 'thc_pcap_init' differ in signedness [-Wpointer-sign] 380 | if ((p = thc_pcap_init(interface, string)) == NULL) { | ^~~~~~ | | | unsigned char * thc-ipv6.h:95:53: note: expected 'char *' but argument is of type 'unsigned char *' 95 | extern pcap_t *thc_pcap_init(char *interface, char *capture); | ~~~~~~^~~~~~~ trace6.c:386:26: warning: pointer targets in passing argument 1 of 'thc_get_mtu' differ in signedness [-Wpointer-sign] 386 | if ((mtu = thc_get_mtu(interface)) < 1280) { | ^~~~~~~~~ | | | unsigned char * thc-ipv6.h:103:41: note: expected 'char *' but argument is of type 'unsigned char *' 103 | extern int thc_get_mtu(char *interface); | ~~~~~~^~~~~~~~~ trace6.c:431:45: warning: pointer targets in passing argument 1 of 'thc_create_ipv6_extended' differ in signedness [-Wpointer-sign] 431 | thc_create_ipv6_extended(interface, PREFER_GLOBAL, &pkt_len, | ^~~~~~~~~ | | | unsigned char * thc-ipv6.h:160:54: note: expected 'char *' but argument is of type 'unsigned char *' 160 | 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] 466 | interface, 0, &pkt2_len, dst6, foo6, i, 0, 0, 0, 0)) == | ^~~~~~~~~ | | | unsigned char * thc-ipv6.h:160:54: note: expected 'char *' but argument is of type 'unsigned char *' 160 | extern unsigned char *thc_create_ipv6_extended(char *interface, int prefer, | ~~~~~~^~~~~~~~~ trace6.c:472:32: warning: pointer targets in passing argument 1 of 'thc_generate_pkt' differ in signedness [-Wpointer-sign] 472 | thc_generate_pkt(interface, foomac, foomac, pkt2, &pkt2_len); | ^~~~~~~~~ | | | unsigned char * thc-ipv6.h:206:35: note: expected 'char *' but argument is of type 'unsigned char *' 206 | extern int thc_generate_pkt(char *interface, unsigned char *srcmac, | ~~~~~~^~~~~~~~~ trace6.c:498:49: warning: pointer targets in passing argument 6 of 'thc_add_udp' differ in signedness [-Wpointer-sign] 498 | buf_len > 0 ? buf : NULL, buf_len) < 0) | ^ | | | unsigned char * thc-ipv6.h:194:53: note: expected 'char *' but argument is of type 'unsigned char *' 194 | unsigned int checksum, char *data, int data_len); | ~~~~~~^~~~ trace6.c:502:54: warning: pointer targets in passing argument 12 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] 502 | buf_len > 0 ? buf : NULL, buf_len) < 0) | ^ | | | unsigned char * thc-ipv6.h:191:30: note: expected 'char *' but argument is of type 'unsigned char *' 191 | char *data, int data_len); | ~~~~~~^~~~ trace6.c:505:41: warning: pointer targets in passing argument 1 of 'thc_generate_and_send_pkt' differ in signedness [-Wpointer-sign] 505 | if (thc_generate_and_send_pkt(interface, srcmac, mac, pkt, &pkt_len) < | ^~~~~~~~~ | | | unsigned char * thc-ipv6.h:203:44: note: expected 'char *' but argument is of type 'unsigned char *' 203 | extern int thc_generate_and_send_pkt(char *interface, unsigned char *srcmac, | ~~~~~~^~~~~~~~~ trace6.c:543:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 543 | position[up_to] = strdup("!!!"); | ^ trace6.c:554:16: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 554 | snprintf(text, sizeof(text), " with starting MTU %d", orig_mtu); | ^~~~ | | | unsigned char * /usr/include/bits/stdio2.h:51:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 51 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ trace6.c:567:20: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 567 | snprintf(text, sizeof(text), " - new MTU %d", rmtu[i]); | ^~~~ | | | unsigned char * /usr/include/bits/stdio2.h:51:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 51 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ trace6.c:569:20: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 569 | snprintf(text, sizeof(text), " - new MTU %d - 6in4 tunnel endpoint", | ^~~~ | | | unsigned char * /usr/include/bits/stdio2.h:51:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 51 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ trace6.c:573:20: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 573 | snprintf(text, sizeof(text), | ^~~~ | | | unsigned char * /usr/include/bits/stdio2.h:51:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 51 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ trace6.c:576:20: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 576 | snprintf(text, sizeof(text), " - new MTU %d - PPTP tunnel endpoint", | ^~~~ | | | unsigned char * /usr/include/bits/stdio2.h:51:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 51 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ trace6.c:579:20: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 579 | snprintf(text, sizeof(text), " - new MTU %d - AYIYA tunnel endpoint", | ^~~~ | | | unsigned char * /usr/include/bits/stdio2.h:51:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 51 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ trace6.c:582:20: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 582 | snprintf(text, sizeof(text), " - new MTU %d", rmtu[i]); | ^~~~ | | | unsigned char * /usr/include/bits/stdio2.h:51:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 51 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ trace6.c:584:20: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 584 | snprintf(text, sizeof(text), " - new MTU %d", rmtu[i]); | ^~~~ | | | unsigned char * /usr/include/bits/stdio2.h:51:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 51 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ trace6.c:590:49: warning: pointer targets in passing argument 1 of 'thc_resolve6' differ in signedness [-Wpointer-sign] 590 | he = gethostbyaddr(thc_resolve6(position[i]), 16, AF_INET6); | ~~~~~~~~^~~ | | | unsigned char * thc-ipv6.h:100:42: note: expected 'char *' but argument is of type 'unsigned char *' 100 | extern unsigned char *thc_resolve6(char *target); | ~~~~~~^~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o exploit6 exploit6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto exploit6.c: In function 'main': exploit6.c:107:10: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 107 | strcat(string, thc_ipv62notation(src6)); | ^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from exploit6.c:6: /usr/include/bits/string_fortified.h:128:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ exploit6.c:107:18: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] 107 | strcat(string, thc_ipv62notation(src6)); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ exploit6.c:108:10: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 108 | strcat(string2, thc_ipv62notation(dst6)); | ^~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ exploit6.c:108:19: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] 108 | strcat(string2, thc_ipv62notation(dst6)); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ exploit6.c:124:37: warning: pointer targets in passing argument 2 of 'thc_pcap_init' differ in signedness [-Wpointer-sign] 124 | if ((p = thc_pcap_init(interface, string)) == NULL) { | ^~~~~~ | | | unsigned char * In file included from exploit6.c:16: thc-ipv6.h:95:53: note: expected 'char *' but argument is of type 'unsigned char *' 95 | extern pcap_t *thc_pcap_init(char *interface, char *capture); | ~~~~~~^~~~~~~ exploit6.c:70:44: warning: unused variable 'pkt_len3' [-Wunused-variable] 70 | 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] 70 | int pkt_len = 0, pkt_len2 = 0, pkt_len3 = 0, noping = 0, mtu = 1500; | ^~~~~~~~ exploit6.c:69:45: warning: unused variable 'pkt3' [-Wunused-variable] 69 | unsigned char *pkt = NULL, *pkt2 = NULL, *pkt3 = NULL; | ^~~~ exploit6.c:69:31: warning: unused variable 'pkt2' [-Wunused-variable] 69 | unsigned char *pkt = NULL, *pkt2 = NULL, *pkt3 = NULL; | ^~~~ exploit6.c:67:25: warning: unused variable 'j' [-Wunused-variable] 67 | int i = 0, j, srcmtu, fragsize, offset = 14; | ^ exploit6.c:65:50: warning: unused variable 'routers' [-Wunused-variable] 65 | 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] 63 | unsigned char *dst6, *ldst6 = malloc(16), *src6, *lsrc6, *mcast6, *route6, | ^~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o denial6 denial6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto denial6.c: In function 'main': denial6.c:320:15: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 320 | randptr = ipv6->pkt + do_hdr_size + 40 + 8 + 4; | ^ denial6.c:322:15: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 322 | randptr = ipv6->pkt + 14 + 40 + 8 + 4; | ^ denial6.c:60:70: warning: unused variable 'mtu' [-Wunused-variable] 60 | int pkt_len = 0, pkt_len2 = 0, pkt_len3 = 0, noping = 0, mtu = 1500; | ^~~ denial6.c:60:58: warning: unused variable 'noping' [-Wunused-variable] 60 | 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] 60 | 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] 60 | int pkt_len = 0, pkt_len2 = 0, pkt_len3 = 0, noping = 0, mtu = 1500; | ^~~~~~~~ denial6.c:59:45: warning: unused variable 'pkt3' [-Wunused-variable] 59 | unsigned char *pkt = NULL, *pkt2 = NULL, *pkt3 = NULL; | ^~~~ denial6.c:59:31: warning: unused variable 'pkt2' [-Wunused-variable] 59 | unsigned char *pkt = NULL, *pkt2 = NULL, *pkt3 = NULL; | ^~~~ denial6.c:58:35: warning: variable 'fragsize' set but not used [-Wunused-but-set-variable] 58 | int i, j, k, srcmtu, fragsize; | ^~~~~~~~ denial6.c:57:18: warning: unused variable 'hdr' [-Wunused-variable] 57 | thc_ipv6_hdr * hdr; | ^~~ denial6.c:56:50: warning: unused variable 'routers' [-Wunused-variable] 56 | unsigned char *srcmac = NULL, *dstmac = NULL, *routers[2], null_buffer[6]; | ^~~~~~~ denial6.c:55:25: warning: unused variable 'mal' [-Wunused-variable] 55 | *mal; | ^~~ denial6.c:54:70: warning: unused variable 'route6' [-Wunused-variable] 54 | 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] 54 | unsigned char *dst6, *ldst6 = malloc(16), *src6, *lsrc6, *mcast6, *route6, | ^~~~~~ denial6.c:52:39: warning: unused variable 'tmplen' [-Wunused-variable] 52 | int test = 0, count = 1, tmplen; | ^~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o fake_dhcps6 fake_dhcps6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto fake_dhcps6.c: In function 'main': fake_dhcps6.c:29:37: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 29 | unsigned char *routerip6, *mac6 = mac, *ip6, *ptr, *ptr1, *ptr2, *ptr3; | ^~~ fake_dhcps6.c:55:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 55 | if (argc >= 6 && (ptr = argv[5]) != NULL) | ^ fake_dhcps6.c:56:12: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 56 | sscanf(ptr, "%x:%x:%x:%x:%x:%x", (unsigned int *)&mac[0], | ^~~ | | | unsigned char * In file included from fake_dhcps6.c:1: /usr/include/stdio.h:423:43: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 423 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ fake_dhcps6.c:74:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 74 | if ((ptr = index(routerip, '/')) == NULL) { | ^ fake_dhcps6.c:81:15: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 81 | size = atoi(ptr); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27: /usr/include/stdlib.h:362:1: note: expected 'const char *' but argument is of type 'unsigned char *' 362 | __NTH (atoi (const char *__nptr)) | ^~~~~ fake_dhcps6.c:130:50: warning: pointer targets in passing argument 3 of 'thc_bind_multicast_to_socket' differ in signedness [-Wpointer-sign] 130 | if (thc_bind_multicast_to_socket(s, interface, thc_resolve6("ff02::1:2")) < | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from fake_dhcps6.c:13: thc-ipv6.h:226:73: note: expected 'char *' but argument is of type 'unsigned char *' 226 | extern int thc_bind_multicast_to_socket(int s, char *interface, char *src); | ~~~~~~^~~ fake_dhcps6.c:132:50: warning: pointer targets in passing argument 3 of 'thc_bind_multicast_to_socket' differ in signedness [-Wpointer-sign] 132 | thc_bind_multicast_to_socket(s, interface, thc_resolve6("ff02::1:3")) < | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * thc-ipv6.h:226:73: note: expected 'char *' but argument is of type 'unsigned char *' 226 | extern int thc_bind_multicast_to_socket(int s, char *interface, char *src); | ~~~~~~^~~ fake_dhcps6.c:173:32: warning: pointer targets in passing argument 1 of 'thc_dump_data' differ in signedness [-Wpointer-sign] 173 | if (debug) thc_dump_data(rdatabuf, len, "Received Packet"); | ^~~~~~~~ | | | char * thc-ipv6.h:217:42: note: expected 'unsigned char *' but argument is of type 'char *' 217 | extern void thc_dump_data(unsigned char *buf, int len, char *text); | ~~~~~~~~~~~~~~~^~~ fake_dhcps6.c:175:32: warning: pointer targets in passing argument 1 of 'thc_ipv62notation' differ in signedness [-Wpointer-sign] 175 | ptr2 = thc_ipv62notation((char *)&ddst.sin6_addr); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * thc-ipv6.h:221:56: note: expected 'unsigned char *' but argument is of type 'char *' 221 | extern unsigned char *thc_ipv62notation(unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ fake_dhcps6.c:178:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 178 | ptr1 = "Solicitate"; | ^ fake_dhcps6.c:181:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 181 | ptr1 = "Advertise (illegal, ignored)"; | ^ fake_dhcps6.c:184:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 184 | ptr1 = "Request"; | ^ fake_dhcps6.c:187:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 187 | ptr1 = "Confirm"; | ^ fake_dhcps6.c:190:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 190 | ptr1 = "Renew"; | ^ fake_dhcps6.c:193:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 193 | ptr1 = "Rebind"; | ^ fake_dhcps6.c:196:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 196 | ptr1 = "Reply (illegal, ignored)"; | ^ fake_dhcps6.c:199:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 199 | ptr1 = "Release (ignored)"; | ^ fake_dhcps6.c:202:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 202 | ptr1 = "Decline (ignored)"; | ^ fake_dhcps6.c:205:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 205 | ptr1 = "Reconfigure (illegal, ignored)"; | ^ fake_dhcps6.c:208:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 208 | ptr1 = "Information Request (ignored)"; | ^ fake_dhcps6.c:211:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 211 | ptr1 = "Relay Forward (ignored)"; | ^ fake_dhcps6.c:214:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 214 | ptr1 = "Relay Reply (ignored)"; | ^ fake_dhcps6.c:217:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 217 | ptr1 = "Unknown (ignored)"; | ^ fake_dhcps6.c:271:49: warning: pointer targets in passing argument 1 of 'thc_ipv62notation' differ in signedness [-Wpointer-sign] 271 | ptr3 = thc_ipv62notation(wdatabuf + i + 4); | ~~~~~~~~~~~~~^~~ | | | char * thc-ipv6.h:221:56: note: expected 'unsigned char *' but argument is of type 'char *' 221 | extern unsigned char *thc_ipv62notation(unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ fake_dhcps6.c:301:34: warning: pointer targets in passing argument 1 of 'thc_dump_data' differ in signedness [-Wpointer-sign] 301 | if (debug) thc_dump_data(wdatabuf, len, "Reply Packet"); | ^~~~~~~~ | | | char * thc-ipv6.h:217:42: note: expected 'unsigned char *' but argument is of type 'char *' 217 | extern void thc_dump_data(unsigned char *buf, int len, char *text); | ~~~~~~~~~~~~~~~^~~ fake_dhcps6.c:311:36: warning: pointer targets in passing argument 1 of 'thc_ipv62notation' differ in signedness [-Wpointer-sign] 311 | ptr2 = thc_ipv62notation((char *)&ddst.sin6_addr); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * thc-ipv6.h:221:56: note: expected 'unsigned char *' but argument is of type 'char *' 221 | extern unsigned char *thc_ipv62notation(unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ fake_dhcps6.c:31:13: warning: variable 'fromlen' set but not used [-Wunused-but-set-variable] 31 | int size, fromlen = 0, /*mtu = 1500, */ i, j, k, l, m, s, len, t, mlen, | ^~~~~~~ fake_dhcps6.c:315:13: warning: 'ptr3' may be used uninitialized [-Wmaybe-uninitialized] 315 | free(ptr3); | ^~~~~~~~~~ fake_dhcps6.c:29:69: note: 'ptr3' was declared here 29 | unsigned char *routerip6, *mac6 = mac, *ip6, *ptr, *ptr1, *ptr2, *ptr3; | ^~~~ fake_dhcps6.c:316:21: warning: 'm' may be used uninitialized [-Wmaybe-uninitialized] 316 | } else if (m) | ^ fake_dhcps6.c:31:55: note: 'm' was declared here 31 | int size, fromlen = 0, /*mtu = 1500, */ i, j, k, l, m, s, len, t, mlen, | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o fake_dns6d fake_dns6d.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto fake_dns6d.c: In function 'check_packets': fake_dns6d.c:39:54: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 39 | *dmac = NULL, *pkt, *look, *lwrite = lookup; | ^~~~~~ fake_dns6d.c:72:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 72 | src6 = ip6; // then use this as a spoofed source | ^ fake_dns6d.c:78:40: warning: pointer targets in passing argument 2 of 'thc_generate_and_send_pkt' differ in signedness [-Wpointer-sign] 78 | thc_generate_and_send_pkt(interface, mac6, dmac, pkt, &pkt_len); | ^~~~ | | | char * In file included from fake_dns6d.c:13: thc-ipv6.h:203:70: note: expected 'unsigned char *' but argument is of type 'char *' 203 | 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 from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 128 | mac6 = thc_get_own_mac(interface); | ^ fake_dns6d.c:131:9: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 131 | ip6 = thc_resolve6(argv[3]); | ^ fake_dns6d.c:133:9: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 133 | ip6 = thc_get_own_ipv6(interface, NULL, PREFER_LINK); | ^ fake_dns6d.c:141:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 141 | routerip6 = thc_resolve6(argv[2]); | ^ fake_dns6d.c:158:23: warning: pointer targets in passing argument 2 of 'thc_pcap_init_promisc' differ in signedness [-Wpointer-sign] 158 | interface, "ip6 and udp and (dst port 53 or dst port 5353)")) == | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * thc-ipv6.h:96:70: note: expected 'unsigned char *' but argument is of type 'char *' 96 | extern pcap_t *thc_pcap_init_promisc(char *interface, unsigned char *capture); | ~~~~~~~~~~~~~~~^~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o flood_dhcpc6 flood_dhcpc6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto flood_dhcpc6.c: In function 'check_packets': flood_dhcpc6.c:112:46: warning: pointer targets in passing argument 2 of 'thc_generate_and_send_pkt' differ in signedness [-Wpointer-sign] 112 | if (thc_generate_and_send_pkt(interface, smac, ptr + 6, pkt, &pkt_len) < 0) | ^~~~ | | | char * In file included from flood_dhcpc6.c:13: thc-ipv6.h:203:70: note: expected 'unsigned char *' but argument is of type 'char *' 203 | 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 of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 122 | unsigned char * mac6 = mac, *src, *dst; | ^~~ flood_dhcpc6.c:179:45: warning: pointer targets in passing argument 2 of 'thc_pcap_init_promisc' differ in signedness [-Wpointer-sign] 179 | if ((p = thc_pcap_init_promisc(interface, "ip6 and udp and dst port 546")) == | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * thc-ipv6.h:96:70: note: expected 'unsigned char *' but argument is of type 'char *' 96 | extern pcap_t *thc_pcap_init_promisc(char *interface, unsigned char *capture); | ~~~~~~~~~~~~~~~^~~~~~~ flood_dhcpc6.c:224:14: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 224 | if ((pkt = thc_create_ipv6_extended(interface, PREFER_LINK, &pkt_len, src, | ^ flood_dhcpc6.c:227:21: warning: pointer targets in passing argument 1 of 'thc_add_udp' differ in signedness [-Wpointer-sign] 227 | if (thc_add_udp(pkt, &pkt_len, 546, 547, 0, wdatabuf, len) < 0) return -1; | ^~~ | | | char * thc-ipv6.h:192:39: note: expected 'unsigned char *' but argument is of type 'char *' 192 | extern int thc_add_udp(unsigned char *pkt, int *pkt_len, | ~~~~~~~~~~~~~~~^~~ flood_dhcpc6.c:229:58: warning: pointer targets in passing argument 4 of 'thc_generate_and_send_pkt' differ in signedness [-Wpointer-sign] 229 | if (thc_generate_and_send_pkt(interface, mac6, NULL, pkt, &pkt_len) < 0) | ^~~ | | | char * thc-ipv6.h:204:76: note: expected 'unsigned char *' but argument is of type 'char *' 204 | unsigned char *dstmac, unsigned char *pkt, | ~~~~~~~~~~~~~~~^~~ flood_dhcpc6.c:231:30: warning: pointer targets in passing argument 1 of 'thc_destroy_packet' differ in signedness [-Wpointer-sign] 231 | pkt = thc_destroy_packet(pkt); | ^~~ | | | char * thc-ipv6.h:210:57: note: expected 'unsigned char *' but argument is of type 'char *' 210 | extern unsigned char *thc_destroy_packet(unsigned char *pkt); | ~~~~~~~~~~~~~~~^~~ flood_dhcpc6.c:231:9: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 231 | pkt = thc_destroy_packet(pkt); | ^ flood_dhcpc6.c: In function 'check_packets': flood_dhcpc6.c:112:9: warning: 'smac' may be used uninitialized [-Wmaybe-uninitialized] 112 | if (thc_generate_and_send_pkt(interface, smac, ptr + 6, pkt, &pkt_len) < 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ flood_dhcpc6.c:54:18: note: 'smac' was declared here 54 | char * smac, mac[6] = {0, 0x0d, 0, 0x0d, 0x0d, 0x0e}; | ^~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o kill_router6 kill_router6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto kill_router6.c: In function 'send_ra_kill': kill_router6.c:61:45: warning: pointer targets in passing argument 3 of 'thc_add_hdr_hopbyhop' differ in signedness [-Wpointer-sign] 61 | if (thc_add_hdr_hopbyhop(pkt, &pkt_len, frbuf2, frbuf2len) < 0) return; | ^~~~~~ | | | char * In file included from kill_router6.c:11: thc-ipv6.h:179:48: note: expected 'unsigned char *' but argument is of type 'char *' 179 | unsigned char *buf, int buflen); | ~~~~~~~~~~~~~~~^~~ kill_router6.c:70:40: warning: pointer targets in passing argument 3 of 'thc_add_hdr_dst' differ in signedness [-Wpointer-sign] 70 | if (thc_add_hdr_dst(pkt, &pkt_len, buf3, sizeof(buf3)) < 0) return; | ^~~~ | | | char * thc-ipv6.h:176:77: note: expected 'unsigned char *' but argument is of type 'char *' 176 | extern int thc_add_hdr_dst(unsigned char *pkt, int *pkt_len, unsigned char *buf, | ~~~~~~~~~~~~~~~^~~ kill_router6.c:72:68: warning: pointer targets in passing argument 6 of 'thc_add_icmp6' differ in signedness [-Wpointer-sign] 72 | if (thc_add_icmp6(pkt, &pkt_len, ICMP6_ROUTERADV, 0, 0x40080000, frbuf, | ^~~~~ | | | char * thc-ipv6.h:182:61: note: expected 'unsigned char *' but argument is of type 'char *' 182 | unsigned int flags, unsigned char *data, int data_len, | ~~~~~~~~~~~~~~~^~~~ kill_router6.c: In function 'main': kill_router6.c:93:25: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 93 | unsigned char *mac6 = mac, *ip6; | ^~~ kill_router6.c:96:27: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 96 | unsigned char *dstmac = dmac; | ^~~~ kill_router6.c:129:9: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 129 | frbuf = buf; | ^ kill_router6.c:130:10: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 130 | frbuf2 = buf2; | ^ kill_router6.c:136:34: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 136 | if (argc - optind >= 4 && (ptr = argv[optind + 3]) != NULL) | ^ kill_router6.c:137:12: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 137 | sscanf(ptr, "%x:%x:%x:%x:%x:%x", (unsigned int *)&dmac[0], | ^~~ | | | unsigned char * In file included from kill_router6.c:1: /usr/include/stdio.h:423:43: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 423 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ kill_router6.c:143:34: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 143 | if (argc - optind >= 3 && (ptr = argv[optind + 2]) != NULL) | ^ kill_router6.c:144:12: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 144 | sscanf(ptr, "%x:%x:%x:%x:%x:%x", (unsigned int *)&mac[0], | ^~~ | | | unsigned char * /usr/include/stdio.h:423:43: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 423 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ kill_router6.c:168:45: warning: pointer targets in passing argument 2 of 'thc_pcap_init_promisc' differ in signedness [-Wpointer-sign] 168 | if ((p = thc_pcap_init_promisc(interface, string)) == NULL) { | ^~~~~~ | | | char * thc-ipv6.h:96:70: note: expected 'unsigned char *' but argument is of type 'char *' 96 | extern pcap_t *thc_pcap_init_promisc(char *interface, unsigned char *capture); | ~~~~~~~~~~~~~~~^~~~~~~ kill_router6.c:189:40: warning: pointer targets in passing argument 3 of 'thc_add_hdr_dst' differ in signedness [-Wpointer-sign] 189 | if (thc_add_hdr_dst(pkt, &pkt_len, buf3, sizeof(buf3)) < 0) return -1; | ^~~~ | | | char * thc-ipv6.h:176:77: note: expected 'unsigned char *' but argument is of type 'char *' 176 | 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] 100 | int rawmode = 0; | ^~~~~~~ kill_router6.c: In function 'send_ra_kill': kill_router6.c:41:20: warning: 'cnt' may be used uninitialized [-Wmaybe-uninitialized] 41 | 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 [-Wmaybe-uninitialized] 97 | int i, cnt, offset = 14; | ^~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o fake_dnsupdate6 fake_dnsupdate6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto fake_dnsupdate6.c: In function 'main': fake_dnsupdate6.c:60:12: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 60 | if ((dst = thc_resolve6(argv[3])) == NULL) { | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o ndpexhaust6 ndpexhaust6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto ndpexhaust6.c: In function 'main': ndpexhaust6.c:57:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 57 | dstnet = argv[2]; // hier stehts dstnet drin | ^ ndpexhaust6.c:58:38: warning: pointer targets in passing argument 1 of 'index' differ in signedness [-Wpointer-sign] 58 | if (dstnet == NULL || (ptr = index(dstnet, '/')) == NULL) { | ^~~~~~ | | | unsigned char * In file included from /usr/include/string.h:462, from ndpexhaust6.c:3: /usr/include/strings.h:68:33: note: expected 'const char *' but argument is of type 'unsigned char *' 68 | extern char *index (const char *__s, int __c) | ~~~~~~~~~~~~^~~ ndpexhaust6.c:58:30: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 58 | if (dstnet == NULL || (ptr = index(dstnet, '/')) == NULL) { | ^ ndpexhaust6.c:66:15: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 66 | size = atoi(ptr); // prefix lenght | ^~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ndpexhaust6.c:1: /usr/include/stdlib.h:362:1: note: expected 'const char *' but argument is of type 'unsigned char *' 362 | __NTH (atoi (const char *__nptr)) | ^~~~~ ndpexhaust6.c:76:23: warning: pointer targets in passing argument 1 of 'thc_resolve6' differ in signedness [-Wpointer-sign] 76 | dst6 = thc_resolve6(dstnet); | ^~~~~~ | | | unsigned char * In file included from ndpexhaust6.c:11: thc-ipv6.h:100:42: note: expected 'char *' but argument is of type 'unsigned char *' 100 | extern unsigned char *thc_resolve6(char *target); | ~~~~~~^~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o detect_sniffer6 detect_sniffer6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto detect_sniffer6.c: In function 'main': detect_sniffer6.c:134:18: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] 134 | strcat(string, thc_ipv62notation(src6)); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from detect_sniffer6.c:2: /usr/include/bits/string_fortified.h:128:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ detect_sniffer6.c:148:46: warning: pointer targets in passing argument 3 of 'thc_pcap_check' differ in signedness [-Wpointer-sign] 148 | thc_pcap_check(p, (char *)check_packets, buf); | ^~~ | | | unsigned char * In file included from detect_sniffer6.c:13: thc-ipv6.h:98:64: note: expected 'char *' but argument is of type 'unsigned char *' 98 | extern int thc_pcap_check(pcap_t *p, char *function, char *opt); | ~~~~~~^~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o fragmentation6 fragmentation6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto fragmentation6.c: In function 'main': fragmentation6.c:42:31: warning: variable 'fragsize' set but not used [-Wunused-but-set-variable] 42 | int offset = 14, fragsize = 0; | ^~~~~~~~ fragmentation6.c:45:29: warning: 'tos' may be used uninitialized [-Wmaybe-uninitialized] 45 | char * interface, tos; | ^~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o dump_router6 dump_router6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto dump_router6.c: In function 'main': dump_router6.c:217:18: warning: variable 'rawmode' set but not used [-Wunused-but-set-variable] 217 | int rawmode = 0; | ^~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o fake_router26 fake_router26.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto fake_router26.c: In function 'send_rs_reply': fake_router26.c:125:45: warning: pointer targets in passing argument 3 of 'thc_add_hdr_hopbyhop' differ in signedness [-Wpointer-sign] 125 | if (thc_add_hdr_hopbyhop(pkt, &pkt_len, frbuf2, frbuf2len) < 0) return; | ^~~~~~ | | | char * In file included from fake_router26.c:12: thc-ipv6.h:179:48: note: expected 'unsigned char *' but argument is of type 'char *' 179 | unsigned char *buf, int buflen); | ~~~~~~~~~~~~~~~^~~ fake_router26.c:136:40: warning: pointer targets in passing argument 3 of 'thc_add_hdr_dst' differ in signedness [-Wpointer-sign] 136 | if (thc_add_hdr_dst(pkt, &pkt_len, buf3, sizeof(buf3)) < 0) return; | ^~~~ | | | char * thc-ipv6.h:176:77: note: expected 'unsigned char *' but argument is of type 'char *' 176 | extern int thc_add_hdr_dst(unsigned char *pkt, int *pkt_len, unsigned char *buf, | ~~~~~~~~~~~~~~~^~~ fake_router26.c:138:68: warning: pointer targets in passing argument 6 of 'thc_add_icmp6' differ in signedness [-Wpointer-sign] 138 | if (thc_add_icmp6(pkt, &pkt_len, ICMP6_ROUTERADV, 0, 0xff080800, frbuf, | ^~~~~ | | | char * thc-ipv6.h:182:61: note: expected 'unsigned char *' but argument is of type 'char *' 182 | unsigned int flags, unsigned char *data, int data_len, | ~~~~~~~~~~~~~~~^~~~ fake_router26.c: In function 'exit_cleanup': fake_router26.c:158:12: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 158 | prefix = thc_resolve6("2001:db8::"); | ^ fake_router26.c:160:55: warning: pointer targets in passing argument 7 of 'thc_routeradv6' differ in signedness [-Wpointer-sign] 160 | thc_routeradv6(interface, NULL, NULL, NULL, 0, 0, prefix, 0, 0, 0); | ^~~~~~ | | | char * thc-ipv6.h:125:42: note: expected 'unsigned char *' but argument is of type 'char *' 125 | unsigned char *prefix, int prefixlen, int mtu, | ~~~~~~~~~~~~~~~^~~~~~ fake_router26.c:162:55: warning: pointer targets in passing argument 7 of 'thc_routeradv6' differ in signedness [-Wpointer-sign] 162 | thc_routeradv6(interface, NULL, NULL, NULL, 0, 0, prefix, 0, 0, 0); | ^~~~~~ | | | char * thc-ipv6.h:125:42: note: expected 'unsigned char *' but argument is of type 'char *' 125 | unsigned char *prefix, int prefixlen, int mtu, | ~~~~~~~~~~~~~~~^~~~~~ fake_router26.c:164:55: warning: pointer targets in passing argument 7 of 'thc_routeradv6' differ in signedness [-Wpointer-sign] 164 | thc_routeradv6(interface, NULL, NULL, NULL, 0, 0, prefix, 0, 0, 0); | ^~~~~~ | | | char * thc-ipv6.h:125:42: note: expected 'unsigned char *' but argument is of type 'char *' 125 | unsigned char *prefix, int prefixlen, int mtu, | ~~~~~~~~~~~~~~~^~~~~~ fake_router26.c: In function 'main': fake_router26.c:200:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 200 | dstmac = dmac; | ^ fake_router26.c:207:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 207 | mac6 = mac; | ^ fake_router26.c:214:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 214 | fmac = smac; | ^ fake_router26.c:253:36: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 253 | if (optarg == NULL || (ptr = index(optarg, '/')) == NULL) { | ^ fake_router26.c:261:26: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 261 | if ((size = atoi(ptr)) < 0 && | ^~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from fake_router26.c:1: /usr/include/stdlib.h:362:1: note: expected 'const char *' but argument is of type 'unsigned char *' 362 | __NTH (atoi (const char *__nptr)) | ^~~~~ fake_router26.c:323:36: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 323 | if (optarg == NULL || (ptr = index(optarg, '/')) == NULL) { | ^ fake_router26.c:331:26: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 331 | if ((size = atoi(ptr)) < 0 && | ^~~ | | | unsigned char * /usr/include/stdlib.h:362:1: note: expected 'const char *' but argument is of type 'unsigned char *' 362 | __NTH (atoi (const char *__nptr)) | ^~~~~ fake_router26.c:361:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 361 | searchlist = optarg; | ^ fake_router26.c:413:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 413 | ptr = strtok(optarg, ","); | ^ fake_router26.c:415:27: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 415 | if (strncasecmp(ptr, "man", 3) == 0) | ^~~ | | | unsigned char * In file included from /usr/include/string.h:462, from fake_router26.c:3: /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'unsigned char *' 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ fake_router26.c:417:32: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 417 | else if (strncasecmp(ptr, "oth", 3) == 0) | ^~~ | | | unsigned char * /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'unsigned char *' 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ fake_router26.c:419:32: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 419 | else if (strncasecmp(ptr, "hom", 3) == 0) | ^~~ | | | unsigned char * /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'unsigned char *' 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ fake_router26.c:421:32: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 421 | else if (strncasecmp(ptr, "prox", 4) == 0) | ^~~ | | | unsigned char * /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'unsigned char *' 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ fake_router26.c:423:32: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 423 | else if (strncasecmp(ptr, "res", 3) == 0) | ^~~ | | | unsigned char * /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'unsigned char *' 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ fake_router26.c:425:32: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 425 | else if (strncasecmp(ptr, "unk", 3) == 0) | ^~~ | | | unsigned char * /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'unsigned char *' 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ fake_router26.c:431:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 431 | ptr = strtok(NULL, ","); | ^ fake_router26.c:471:9: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 471 | frbuf = buf; | ^ fake_router26.c:472:10: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 472 | frbuf2 = buf2; | ^ fake_router26.c:575:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 575 | if (searchlist[strlen(searchlist) - 1] == '.') | ^~~~~~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ fake_router26.c:576:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 576 | searchlist[strlen(searchlist) - 1] = 0; | ^~~~~~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ fake_router26.c:578:26: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] 578 | while ((ptr = strstr(searchlist, ".,")) != NULL) { | ^~~~~~~~~~ | | | unsigned char * /usr/include/string.h:350:34: note: expected 'const char *' but argument is of type 'unsigned char *' 350 | extern char *strstr (const char *__haystack, const char *__needle) | ~~~~~~~~~~~~^~~~~~~~~~ fake_router26.c:578:17: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 578 | while ((ptr = strstr(searchlist, ".,")) != NULL) { | ^ fake_router26.c:579:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 579 | m = strlen(ptr); | ^~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ fake_router26.c:586:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 586 | j = strlen(searchlist); | ^~~~~~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ fake_router26.c:589:19: warning: pointer targets in passing argument 1 of 'index' differ in signedness [-Wpointer-sign] 589 | ptr = index(&searchlist[l], '.'); | ^~~~~~~~~~~~~~ | | | unsigned char * /usr/include/strings.h:68:33: note: expected 'const char *' but argument is of type 'unsigned char *' 68 | extern char *index (const char *__s, int __c) | ~~~~~~~~~~~~^~~ fake_router26.c:589:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 589 | ptr = index(&searchlist[l], '.'); | ^ fake_router26.c:590:33: warning: pointer targets in passing argument 1 of 'index' differ in signedness [-Wpointer-sign] 590 | if (ptr == NULL || (index(&searchlist[l], ',') != NULL && | ^~~~~~~~~~~~~~ | | | unsigned char * /usr/include/strings.h:68:33: note: expected 'const char *' but argument is of type 'unsigned char *' 68 | extern char *index (const char *__s, int __c) | ~~~~~~~~~~~~^~~ fake_router26.c:591:55: warning: pointer targets in passing argument 1 of 'index' differ in signedness [-Wpointer-sign] 591 | (char *)ptr > (char *)index(&searchlist[l], ','))) { | ^~~~~~~~~~~~~~ | | | unsigned char * /usr/include/strings.h:68:33: note: expected 'const char *' but argument is of type 'unsigned char *' 68 | extern char *index (const char *__s, int __c) | ~~~~~~~~~~~~^~~ fake_router26.c:593:21: warning: pointer targets in passing argument 1 of 'index' differ in signedness [-Wpointer-sign] 593 | ptr = index(&searchlist[l], ','); | ^~~~~~~~~~~~~~ | | | unsigned char * /usr/include/strings.h:68:33: note: expected 'const char *' but argument is of type 'unsigned char *' 68 | extern char *index (const char *__s, int __c) | ~~~~~~~~~~~~^~~ fake_router26.c:593:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 593 | ptr = index(&searchlist[l], ','); | ^ fake_router26.c:596:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 596 | n = strlen(&searchlist[l]); | ^~~~~~~~~~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ fake_router26.c:623:45: warning: pointer targets in passing argument 3 of 'thc_add_hdr_hopbyhop' differ in signedness [-Wpointer-sign] 623 | if (thc_add_hdr_hopbyhop(pkt, &pkt_len, frbuf2, 6) < 0) return -1; | ^~~~~~ | | | char * thc-ipv6.h:179:48: note: expected 'unsigned char *' but argument is of type 'char *' 179 | unsigned char *buf, int buflen); | ~~~~~~~~~~~~~~~^~~ fake_router26.c:635:40: warning: pointer targets in passing argument 3 of 'thc_add_hdr_dst' differ in signedness [-Wpointer-sign] 635 | if (thc_add_hdr_dst(pkt, &pkt_len, buf3, sizeof(buf3)) < 0) return -1; | ^~~~ | | | char * thc-ipv6.h:176:77: note: expected 'unsigned char *' but argument is of type 'char *' 176 | extern int thc_add_hdr_dst(unsigned char *pkt, int *pkt_len, unsigned char *buf, | ~~~~~~~~~~~~~~~^~~ fake_router26.c:645:37: warning: pointer targets in passing argument 2 of 'thc_pcap_init' differ in signedness [-Wpointer-sign] 645 | if ((p = thc_pcap_init(interface, string)) == NULL) { | ^~~~~~ | | | unsigned char * thc-ipv6.h:95:53: note: expected 'char *' but argument is of type 'unsigned char *' 95 | extern pcap_t *thc_pcap_init(char *interface, char *capture); | ~~~~~~^~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o flood_router26 flood_router26.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto flood_router26.c: In function 'main': flood_router26.c:44:25: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 44 | unsigned char *mac6 = mac, *ip6; | ^~~ flood_router26.c:51:20: warning: variable 'rawmode' set but not used [-Wunused-but-set-variable] 51 | int pkt_len = 0, rawmode = 0, count = 0, deanon = 0, do_alert = 0, do_hop = 0, | ^~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o passive_discovery6 passive_discovery6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto passive_discovery6.c: In function 'detect': passive_discovery6.c:52:15: warning: pointer targets in initialization of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign] 52 | char *ptr = data, *ptr2; | ^~~~ passive_discovery6.c:58:19: warning: pointer targets in passing argument 1 of 'thc_dump_data' differ in signedness [-Wpointer-sign] 58 | thc_dump_data(ptr, 8, "packet"); | ^~~ | | | char * In file included from passive_discovery6.c:11: thc-ipv6.h:217:42: note: expected 'unsigned char *' but argument is of type 'char *' 217 | extern void thc_dump_data(unsigned char *buf, int len, char *text); | ~~~~~~~~~~~~~~~^~~ passive_discovery6.c:100:34: warning: pointer targets in passing argument 1 of 'thc_ipv62notation' differ in signedness [-Wpointer-sign] 100 | ptr2 = thc_ipv62notation((char *)(ptr + offset)); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * thc-ipv6.h:221:56: note: expected 'unsigned char *' but argument is of type 'char *' 221 | extern unsigned char *thc_ipv62notation(unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ passive_discovery6.c:100:14: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 100 | ptr2 = thc_ipv62notation((char *)(ptr + offset)); | ^ passive_discovery6.c: In function 'main': passive_discovery6.c:152:17: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 152 | replace = thc_resolve6(optarg); | ^ passive_discovery6.c:169:8: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 169 | glob = thc_get_own_ipv6(interface, NULL, PREFER_GLOBAL); | ^ passive_discovery6.c:170:6: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 170 | ll = thc_get_own_ipv6(interface, NULL, PREFER_LINK); | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o dnsrevenum6 dnsrevenum6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto dnsrevenum6.c: In function 'deeper': dnsrevenum6.c:195:26: warning: pointer targets in passing argument 1 of 'dnssocket' differ in signedness [-Wpointer-sign] 195 | sock = dnssocket(dst); | ^~~ | | | unsigned char * dnsrevenum6.c:45:21: note: expected 'char *' but argument is of type 'unsigned char *' 45 | int dnssocket(char *server) { | ~~~~~~^~~~~~ dnsrevenum6.c:206:20: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 206 | strcpy(name, "Found: "); | ^~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from dnsrevenum6.c:19: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ dnsrevenum6.c:218:20: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 218 | strcat(name, foo); | ^~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ dnsrevenum6.c:218:26: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] 218 | strcat(name, foo); | ^~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ dnsrevenum6.c:220:20: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 220 | strcat(name, " is "); | ^~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ dnsrevenum6.c:226:61: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 226 | strncat(name, ptr2 + 1, sizeof(name) - strlen(name) - 4); | ^~~~ | | | unsigned char * In file included from dnsrevenum6.c:22: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ dnsrevenum6.c:226:23: warning: pointer targets in passing argument 1 of 'strncat' differ in signedness [-Wpointer-sign] 226 | strncat(name, ptr2 + 1, sizeof(name) - strlen(name) - 4); | ^~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:135:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 135 | __NTH (strncat (char *__restrict __dest, const char *__restrict __src, | ^~~~~ dnsrevenum6.c:226:34: warning: pointer targets in passing argument 2 of 'strncat' differ in signedness [-Wpointer-sign] 226 | strncat(name, ptr2 + 1, sizeof(name) - strlen(name) - 4); | ~~~~~^~~ | | | unsigned char * /usr/include/bits/string_fortified.h:135:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 135 | __NTH (strncat (char *__restrict __dest, const char *__restrict __src, | ^~~~~ dnsrevenum6.c:227:22: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 227 | strcat(name, "."); | ^~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ dnsrevenum6.c:232:22: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 232 | strcat(name, " is "); | ^~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ dnsrevenum6.c:238:63: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 238 | strncat(name, ptr2 + 1, sizeof(name) - strlen(name) - 4); | ^~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ dnsrevenum6.c:238:25: warning: pointer targets in passing argument 1 of 'strncat' differ in signedness [-Wpointer-sign] 238 | strncat(name, ptr2 + 1, sizeof(name) - strlen(name) - 4); | ^~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:135:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 135 | __NTH (strncat (char *__restrict __dest, const char *__restrict __src, | ^~~~~ dnsrevenum6.c:238:36: warning: pointer targets in passing argument 2 of 'strncat' differ in signedness [-Wpointer-sign] 238 | strncat(name, ptr2 + 1, sizeof(name) - strlen(name) - 4); | ~~~~~^~~ | | | unsigned char * /usr/include/bits/string_fortified.h:135:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 135 | __NTH (strncat (char *__restrict __dest, const char *__restrict __src, | ^~~~~ dnsrevenum6.c:239:24: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 239 | strcat(name, "."); | ^~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ dnsrevenum6.c:279:22: warning: pointer targets in passing argument 1 of 'dnssocket' differ in signedness [-Wpointer-sign] 279 | sock = dnssocket(dst); | ^~~ | | | unsigned char * dnsrevenum6.c:45:21: note: expected 'char *' but argument is of type 'unsigned char *' 45 | int dnssocket(char *server) { | ~~~~~~^~~~~~ dnsrevenum6.c: In function 'main': dnsrevenum6.c:293:7: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 293 | prg = argv[0]; | ^ dnsrevenum6.c:326:7: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 326 | dst = argv[1]; | ^ dnsrevenum6.c:327:7: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 327 | ptr = argv[2]; | ^ dnsrevenum6.c:340:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 340 | for (i = strlen(ptr) - 1; i >= 0 && ok == 1; i--) { | ^~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ dnsrevenum6.c:355:20: warning: pointer targets in passing argument 1 of 'index' differ in signedness [-Wpointer-sign] 355 | } else if (index(ptr, ':') != NULL && (ptr2 = index(ptr, '/')) != NULL) { | ^~~ | | | unsigned char * In file included from /usr/include/string.h:462: /usr/include/strings.h:68:33: note: expected 'const char *' but argument is of type 'unsigned char *' 68 | extern char *index (const char *__s, int __c) | ~~~~~~~~~~~~^~~ dnsrevenum6.c:355:55: warning: pointer targets in passing argument 1 of 'index' differ in signedness [-Wpointer-sign] 355 | } else if (index(ptr, ':') != NULL && (ptr2 = index(ptr, '/')) != NULL) { | ^~~ | | | unsigned char * /usr/include/strings.h:68:33: note: expected 'const char *' but argument is of type 'unsigned char *' 68 | extern char *index (const char *__s, int __c) | ~~~~~~~~~~~~^~~ dnsrevenum6.c:355:47: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 355 | } else if (index(ptr, ':') != NULL && (ptr2 = index(ptr, '/')) != NULL) { | ^ dnsrevenum6.c:357:16: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 357 | len = atoi(ptr2); | ^~~~ | | | unsigned char * /usr/include/stdlib.h:362:1: note: expected 'const char *' but argument is of type 'unsigned char *' 362 | __NTH (atoi (const char *__nptr)) | ^~~~~ dnsrevenum6.c:371:30: warning: pointer targets in passing argument 1 of 'thc_resolve6' differ in signedness [-Wpointer-sign] 371 | if ((dest = thc_resolve6(ptr)) == NULL) { | ^~~ | | | unsigned char * In file included from dnsrevenum6.c:35: thc-ipv6.h:100:42: note: expected 'char *' but argument is of type 'unsigned char *' 100 | extern unsigned char *thc_resolve6(char *target); | ~~~~~~^~~~~~ dnsrevenum6.c:395:18: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 395 | strcpy(buf_end + 1, "ip6"); | ~~~~~~~~^~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ dnsrevenum6.c:397:18: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 397 | strcpy(buf_end + 5, "arpa"); | ~~~~~~~~^~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ dnsrevenum6.c:407:20: warning: pointer targets in passing argument 1 of 'dnssocket' differ in signedness [-Wpointer-sign] 407 | sock = dnssocket(dst); | ^~~ | | | unsigned char * dnsrevenum6.c:45:21: note: expected 'char *' but argument is of type 'unsigned char *' 45 | int dnssocket(char *server) { | ~~~~~~^~~~~~ dnsrevenum6.c:419:26: warning: pointer targets in passing argument 1 of 'dnssocket' differ in signedness [-Wpointer-sign] 419 | sock = dnssocket(dst); | ^~~ | | | unsigned char * dnsrevenum6.c:45:21: note: expected 'char *' but argument is of type 'unsigned char *' 45 | int dnssocket(char *server) { | ~~~~~~^~~~~~ dnsrevenum6.c: In function 'deeper': dnsrevenum6.c:213:59: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] 213 | dst6[15 - i / 2] = (tochar(ptr2[1]) * 16) + j; | ~~~~~~~~~~~~~~~~~~~~~~~^~~ dnsrevenum6.c:149:20: note: 'j' was declared here 149 | int i, j, ok = 0, rs = 0, len, clen, nlen, recv_len = sizeof(buf2); | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o inverse_lookup6 inverse_lookup6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto inverse_lookup6.c: In function 'check_packets': inverse_lookup6.c:50:44: warning: pointer targets in passing argument 1 of 'thc_ipv62notation' differ in signedness [-Wpointer-sign] 50 | thc_ipv62notation((char *)ptr + 8), mac); | ~~~~~~~~~~~~^~~ | | | char * In file included from inverse_lookup6.c:11: thc-ipv6.h:221:56: note: expected 'unsigned char *' but argument is of type 'char *' 221 | extern unsigned char *thc_ipv62notation(unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ inverse_lookup6.c:61:50: warning: pointer targets in passing argument 1 of 'thc_ipv62notation' differ in signedness [-Wpointer-sign] 61 | thc_ipv62notation((char *)orig_ptr + 8), mac, j); | ~~~~~~~~~~~~~~~~~^~~ | | | char * thc-ipv6.h:221:56: note: expected 'unsigned char *' but argument is of type 'char *' 221 | extern unsigned char *thc_ipv62notation(unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ inverse_lookup6.c:64:66: warning: pointer targets in passing argument 1 of 'thc_ipv62notation' differ in signedness [-Wpointer-sign] 64 | printf(" %s\n", thc_ipv62notation((char *)ptr + 7 + i * 16)); | ~~~~~~~~~~~~~~~~^~~~~~~~ | | | char * thc-ipv6.h:221:56: note: expected 'unsigned char *' but argument is of type 'char *' 221 | extern unsigned char *thc_ipv62notation(unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ inverse_lookup6.c: In function 'main': inverse_lookup6.c:95:7: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 95 | mac = argv[2]; | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o address6 address6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto address6.c: In function 'main': address6.c:40:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 40 | if ((dst6 = index(argv[1], '/')) != NULL) *dst6 = 0; | ^ address6.c:48:44: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 48 | if (dst6[8] + dst6[9] == 0 && dst6[10] == 0xff & dst6[11] == 0xff) { | ~~~~~~~~~^~~~~~~ address6.c:58:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 58 | sprintf(ipv4, "%d.%d.%d.%d", dst6[9], dst6[11], dst6[13], dst6[15]); | ^~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from address6.c:1: /usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ address6.c:59:23: warning: pointer targets in passing argument 1 of 'inet_aton' differ in signedness [-Wpointer-sign] 59 | if (inet_aton(ipv4, &in) != 0) { | ^~~~ | | | unsigned char * In file included from address6.c:11: /usr/include/arpa/inet.h:73:35: note: expected 'const char *' but argument is of type 'unsigned char *' 73 | extern int inet_aton (const char *__cp, struct in_addr *__inp) __THROW; | ~~~~~~~~~~~~^~~~ address6.c:67:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 67 | sprintf(ipv4, "%d.%d.%d.%d", dst6[12], dst6[13], dst6[14], dst6[15]); | ^~~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ address6.c:68:21: warning: pointer targets in passing argument 1 of 'inet_aton' differ in signedness [-Wpointer-sign] 68 | if (inet_aton(ipv4, &in) != 0) { | ^~~~ | | | unsigned char * /usr/include/arpa/inet.h:73:35: note: expected 'const char *' but argument is of type 'unsigned char *' 73 | extern int inet_aton (const char *__cp, struct in_addr *__inp) __THROW; | ~~~~~~~~~~~~^~~~ address6.c:78:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 78 | for (i = 0; i < strlen(ptr); i++) | ^~~ | | | unsigned char * In file included from address6.c:3: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ address6.c:83:29: warning: pointer targets in passing argument 1 of 'inet_aton' differ in signedness [-Wpointer-sign] 83 | if (j == 0 && inet_aton(ptr, &in) != 0) { | ^~~ | | | unsigned char * /usr/include/arpa/inet.h:73:35: note: expected 'const char *' but argument is of type 'unsigned char *' 73 | extern int inet_aton (const char *__cp, struct in_addr *__inp) __THROW; | ~~~~~~~~~~~~^~~~ address6.c:85:30: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 85 | for (i = 0; i < strlen(ptr); i++) | ^~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ address6.c:103:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 103 | if ((ptr = index(argv[2], '/')) != NULL) *ptr = 0; | ^ address6.c:112:9: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 112 | ptr = argv[1]; | ^ address6.c:114:25: warning: pointer targets in passing argument 1 of 'index' differ in signedness [-Wpointer-sign] 114 | if ((dst6 = index(ptr, '.')) != NULL) *dst6 = 0; | ^~~ | | | unsigned char * In file included from /usr/include/string.h:462: /usr/include/strings.h:68:33: note: expected 'const char *' but argument is of type 'unsigned char *' 68 | extern char *index (const char *__s, int __c) | ~~~~~~~~~~~~^~~ address6.c:114:17: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 114 | if ((dst6 = index(ptr, '.')) != NULL) *dst6 = 0; | ^ address6.c:115:22: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 115 | ipv4[i] = atoi(ptr); | ^~~ | | | unsigned char * /usr/include/stdlib.h:362:1: note: expected 'const char *' but argument is of type 'unsigned char *' 362 | __NTH (atoi (const char *__nptr)) | ^~~~~ address6.c:143:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 143 | sprintf(ipv6, "::%d:%d:%d:%d", ipv4[0], ipv4[1], ipv4[2], ipv4[3]); | ^~~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ address6.c:144:29: warning: pointer targets in passing argument 1 of 'thc_resolve6' differ in signedness [-Wpointer-sign] 144 | dst6 = thc_resolve6(ipv6); | ^~~~ | | | unsigned char * In file included from address6.c:13: thc-ipv6.h:100:42: note: expected 'char *' but argument is of type 'unsigned char *' 100 | extern unsigned char *thc_resolve6(char *target); | ~~~~~~^~~~~~ address6.c:152:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 152 | sprintf(ipv6, "::%d", ipv4[3]); | ^~~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ address6.c:153:29: warning: pointer targets in passing argument 1 of 'thc_resolve6' differ in signedness [-Wpointer-sign] 153 | dst6 = thc_resolve6(ipv6); | ^~~~ | | | unsigned char * thc-ipv6.h:100:42: note: expected 'char *' but argument is of type 'unsigned char *' 100 | extern unsigned char *thc_resolve6(char *target); | ~~~~~~^~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o node_query6 node_query6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto node_query6.c: In function 'dump_node_reply': node_query6.c:70:48: warning: pointer targets in passing argument 1 of 'thc_ipv62notation' differ in signedness [-Wpointer-sign] 70 | printf(" %s\n", thc_ipv62notation((char *)(ipv6hdr + i))); | ^~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from node_query6.c:11: thc-ipv6.h:221:56: note: expected 'unsigned char *' but argument is of type 'char *' 221 | extern unsigned char *thc_ipv62notation(unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ node_query6.c: In function 'main': node_query6.c:105:25: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 105 | unsigned char *mac6 = mac; | ^~~ node_query6.c:111:18: warning: variable 'rawmode' set but not used [-Wunused-but-set-variable] 111 | int rawmode = 0; | ^~~~~~~ node_query6.c:138:7: warning: 'cnt' may be used uninitialized [-Wmaybe-uninitialized] 138 | cnt += getpid(); | ^~ node_query6.c:108:21: note: 'cnt' was declared here 108 | int i, cnt; | ^~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o covert_send6d covert_send6d.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto covert_send6d.c: In function 'check_packets': covert_send6d.c:101:7: warning: 'BF_cfb64_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 101 | BF_cfb64_encrypt((unsigned char *)rbuf, (unsigned char *)wbuf, bytes, | ^~~~~~~~~~~~~~~~ In file included from covert_send6d.c:27: /usr/include/openssl/blowfish.h:61:28: note: declared here 61 | OSSL_DEPRECATEDIN_3_0 void BF_cfb64_encrypt(const unsigned char *in, | ^~~~~~~~~~~~~~~~ covert_send6d.c: In function 'main': covert_send6d.c:148:5: warning: 'BF_set_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 148 | BF_set_key(&bfkey, sizeof(hash), (unsigned char *)hash); | ^~~~~~~~~~ /usr/include/openssl/blowfish.h:50:28: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 void BF_set_key(BF_KEY *key, int len, | ^~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o covert_send6 covert_send6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto covert_send6.c: In function 'main': covert_send6.c:124:5: warning: 'BF_set_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 124 | BF_set_key(&bfkey, sizeof(hash), (unsigned char *)hash); | ^~~~~~~~~~ In file included from covert_send6.c:27: /usr/include/openssl/blowfish.h:50:28: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 void BF_set_key(BF_KEY *key, int len, | ^~~~~~~~~~ covert_send6.c:139:7: warning: 'BF_cfb64_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 139 | BF_cfb64_encrypt((unsigned char *)rbuf, (unsigned char *)wbuf, bytes, | ^~~~~~~~~~~~~~~~ /usr/include/openssl/blowfish.h:61:28: note: declared here 61 | OSSL_DEPRECATEDIN_3_0 void BF_cfb64_encrypt(const unsigned char *in, | ^~~~~~~~~~~~~~~~ covert_send6.c:60:10: warning: variable 'rawmode' set but not used [-Wunused-but-set-variable] 60 | int rawmode = 0, tcp_port = -1; | ^~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o inject_alive6 inject_alive6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto inject_alive6.c: In function 'main': inject_alive6.c:166:25: warning: pointer targets in passing argument 2 of 'thc_pcap_init_promisc' differ in signedness [-Wpointer-sign] 166 | interface, "it does not matter what we put here")) == NULL) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from inject_alive6.c:12: thc-ipv6.h:96:70: note: expected 'unsigned char *' but argument is of type 'char *' 96 | extern pcap_t *thc_pcap_init_promisc(char *interface, unsigned char *capture); | ~~~~~~~~~~~~~~~^~~~~~~ inject_alive6.c:177:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 177 | hdr.pkt = sndbuf; | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o ndpexhaust26 ndpexhaust26.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto ndpexhaust26.c: In function 'main': ndpexhaust26.c:148:45: warning: pointer targets in passing argument 3 of 'thc_add_hdr_hopbyhop' differ in signedness [-Wpointer-sign] 148 | if (thc_add_hdr_hopbyhop(pkt, &pkt_len, buf2, 6) < 0) return -1; | ^~~~ | | | char * In file included from ndpexhaust26.c:11: thc-ipv6.h:179:48: note: expected 'unsigned char *' but argument is of type 'char *' 179 | unsigned char *buf, int buflen); | ~~~~~~~~~~~~~~~^~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o fake_pim6 fake_pim6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto In file included from /usr/include/string.h:535, from fake_pim6.c:3: In function 'memcpy', inlined from 'main' at fake_pim6.c:279:7: /usr/include/bits/string_fortified.h:29:10: warning: 'multicast6' may be used uninitialized [-Wmaybe-uninitialized] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ fake_pim6.c: In function 'main': fake_pim6.c:56:18: note: 'multicast6' was declared here 56 | *multicast6, *target6, *neighbor6; | ^~~~~~~~~~ In function 'memcpy', inlined from 'main' at fake_pim6.c:287:7: /usr/include/bits/string_fortified.h:29:10: warning: 'target6' may be used uninitialized [-Wmaybe-uninitialized] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ fake_pim6.c: In function 'main': fake_pim6.c:56:31: note: 'target6' was declared here 56 | *multicast6, *target6, *neighbor6; | ^~~~~~~ In function 'memcpy', inlined from 'main' at fake_pim6.c:274:7: /usr/include/bits/string_fortified.h:29:10: warning: 'neighbor6' may be used uninitialized [-Wmaybe-uninitialized] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ fake_pim6.c: In function 'main': fake_pim6.c:56:41: note: 'neighbor6' was declared here 56 | *multicast6, *target6, *neighbor6; | ^~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o firewall6 firewall6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto firewall6.c: In function 'main': firewall6.c:233:10: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 233 | strcat(string, thc_ipv62notation(src)); | ^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from firewall6.c:6: /usr/include/bits/string_fortified.h:128:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ firewall6.c:233:18: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] 233 | strcat(string, thc_ipv62notation(src)); | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ firewall6.c:236:37: warning: pointer targets in passing argument 2 of 'thc_pcap_init' differ in signedness [-Wpointer-sign] 236 | if ((p = thc_pcap_init(interface, string)) == NULL) { | ^~~~~~ | | | unsigned char * In file included from firewall6.c:16: thc-ipv6.h:95:53: note: expected 'char *' but argument is of type 'unsigned char *' 95 | extern pcap_t *thc_pcap_init(char *interface, char *capture); | ~~~~~~^~~~~~~ firewall6.c:287:52: warning: pointer targets in passing argument 12 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] 287 | TCP_SYN, 0x3840, 0, NULL, 0, buf, 1000) == -1) | ^~~ | | | unsigned char * thc-ipv6.h:191:30: note: expected 'char *' but argument is of type 'unsigned char *' 191 | char *data, int data_len); | ~~~~~~^~~~ firewall6.c:290:62: warning: pointer targets in passing argument 6 of 'thc_add_udp' differ in signedness [-Wpointer-sign] 290 | if (thc_add_udp(pkt, &pkt_len, sport + count, port, 0, buf, 1000) == -1) | ^~~ | | | unsigned char * thc-ipv6.h:194:53: note: expected 'char *' but argument is of type 'unsigned char *' 194 | unsigned int checksum, char *data, int data_len); | ~~~~~~^~~~ firewall6.c:1004:52: warning: pointer targets in passing argument 12 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] 1004 | TCP_SYN, 0x3840, 0, NULL, 0, buf, 2500) == -1) | ^~~ | | | unsigned char * thc-ipv6.h:191:30: note: expected 'char *' but argument is of type 'unsigned char *' 191 | char *data, int data_len); | ~~~~~~^~~~ firewall6.c:1007:62: warning: pointer targets in passing argument 6 of 'thc_add_udp' differ in signedness [-Wpointer-sign] 1007 | if (thc_add_udp(pkt, &pkt_len, sport + count, port, 0, buf, 2500) == -1) | ^~~ | | | unsigned char * thc-ipv6.h:194:53: note: expected 'char *' but argument is of type 'unsigned char *' 194 | unsigned int checksum, char *data, int data_len); | ~~~~~~^~~~ firewall6.c:1071:52: warning: pointer targets in passing argument 12 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] 1071 | TCP_SYN, 0x3840, 0, NULL, 0, buf, 2500) == -1) | ^~~ | | | unsigned char * thc-ipv6.h:191:30: note: expected 'char *' but argument is of type 'unsigned char *' 191 | char *data, int data_len); | ~~~~~~^~~~ firewall6.c:1074:62: warning: pointer targets in passing argument 6 of 'thc_add_udp' differ in signedness [-Wpointer-sign] 1074 | if (thc_add_udp(pkt, &pkt_len, sport + count, port, 0, buf, 2500) == -1) | ^~~ | | | unsigned char * thc-ipv6.h:194:53: note: expected 'char *' but argument is of type 'unsigned char *' 194 | unsigned int checksum, char *data, int data_len); | ~~~~~~^~~~ firewall6.c:1138:52: warning: pointer targets in passing argument 12 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] 1138 | TCP_SYN, 0x3840, 0, NULL, 0, buf, 2500) == -1) | ^~~ | | | unsigned char * thc-ipv6.h:191:30: note: expected 'char *' but argument is of type 'unsigned char *' 191 | char *data, int data_len); | ~~~~~~^~~~ firewall6.c:1141:62: warning: pointer targets in passing argument 6 of 'thc_add_udp' differ in signedness [-Wpointer-sign] 1141 | if (thc_add_udp(pkt, &pkt_len, sport + count, port, 0, buf, 2500) == -1) | ^~~ | | | unsigned char * thc-ipv6.h:194:53: note: expected 'char *' but argument is of type 'unsigned char *' 194 | unsigned int checksum, char *data, int data_len); | ~~~~~~^~~~ firewall6.c:1252:52: warning: pointer targets in passing argument 12 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] 1252 | TCP_SYN, 0x3840, 0, NULL, 0, buf, 2500) == -1) | ^~~ | | | unsigned char * thc-ipv6.h:191:30: note: expected 'char *' but argument is of type 'unsigned char *' 191 | char *data, int data_len); | ~~~~~~^~~~ firewall6.c:1255:62: warning: pointer targets in passing argument 6 of 'thc_add_udp' differ in signedness [-Wpointer-sign] 1255 | if (thc_add_udp(pkt, &pkt_len, sport + count, port, 0, buf, 2500) == -1) | ^~~ | | | unsigned char * thc-ipv6.h:194:53: note: expected 'char *' but argument is of type 'unsigned char *' 194 | unsigned int checksum, char *data, int data_len); | ~~~~~~^~~~ firewall6.c:1319:52: warning: pointer targets in passing argument 12 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] 1319 | TCP_SYN, 0x3840, 0, NULL, 0, buf, 2500) == -1) | ^~~ | | | unsigned char * thc-ipv6.h:191:30: note: expected 'char *' but argument is of type 'unsigned char *' 191 | char *data, int data_len); | ~~~~~~^~~~ firewall6.c:1322:62: warning: pointer targets in passing argument 6 of 'thc_add_udp' differ in signedness [-Wpointer-sign] 1322 | if (thc_add_udp(pkt, &pkt_len, sport + count, port, 0, buf, 2500) == -1) | ^~~ | | | unsigned char * thc-ipv6.h:194:53: note: expected 'char *' but argument is of type 'unsigned char *' 194 | unsigned int checksum, char *data, int data_len); | ~~~~~~^~~~ firewall6.c:1386:52: warning: pointer targets in passing argument 12 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] 1386 | TCP_SYN, 0x3840, 0, NULL, 0, buf, 2500) == -1) | ^~~ | | | unsigned char * thc-ipv6.h:191:30: note: expected 'char *' but argument is of type 'unsigned char *' 191 | char *data, int data_len); | ~~~~~~^~~~ firewall6.c:1389:62: warning: pointer targets in passing argument 6 of 'thc_add_udp' differ in signedness [-Wpointer-sign] 1389 | if (thc_add_udp(pkt, &pkt_len, sport + count, port, 0, buf, 2500) == -1) | ^~~ | | | unsigned char * thc-ipv6.h:194:53: note: expected 'char *' but argument is of type 'unsigned char *' 194 | unsigned int checksum, char *data, int data_len); | ~~~~~~^~~~ firewall6.c:1453:52: warning: pointer targets in passing argument 12 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] 1453 | TCP_SYN, 0x3840, 0, NULL, 0, buf, 2500) == -1) | ^~~ | | | unsigned char * thc-ipv6.h:191:30: note: expected 'char *' but argument is of type 'unsigned char *' 191 | char *data, int data_len); | ~~~~~~^~~~ firewall6.c:1456:62: warning: pointer targets in passing argument 6 of 'thc_add_udp' differ in signedness [-Wpointer-sign] 1456 | if (thc_add_udp(pkt, &pkt_len, sport + count, port, 0, buf, 2500) == -1) | ^~~ | | | unsigned char * thc-ipv6.h:194:53: note: expected 'char *' but argument is of type 'unsigned char *' 194 | unsigned int checksum, char *data, int data_len); | ~~~~~~^~~~ firewall6.c:1490:52: warning: pointer targets in passing argument 12 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] 1490 | TCP_SYN, 0x3840, 0, NULL, 0, buf, 0) == -1) | ^~~ | | | unsigned char * thc-ipv6.h:191:30: note: expected 'char *' but argument is of type 'unsigned char *' 191 | char *data, int data_len); | ~~~~~~^~~~ firewall6.c:1493:62: warning: pointer targets in passing argument 6 of 'thc_add_udp' differ in signedness [-Wpointer-sign] 1493 | if (thc_add_udp(pkt, &pkt_len, sport + count, port, 0, buf, 0) == -1) | ^~~ | | | unsigned char * thc-ipv6.h:194:53: note: expected 'char *' but argument is of type 'unsigned char *' 194 | unsigned int checksum, char *data, int data_len); | ~~~~~~^~~~ firewall6.c:1576:52: warning: pointer targets in passing argument 12 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] 1576 | TCP_SYN, 0x3840, 0, NULL, 0, buf, 0) == -1) | ^~~ | | | unsigned char * thc-ipv6.h:191:30: note: expected 'char *' but argument is of type 'unsigned char *' 191 | char *data, int data_len); | ~~~~~~^~~~ firewall6.c:1579:62: warning: pointer targets in passing argument 6 of 'thc_add_udp' differ in signedness [-Wpointer-sign] 1579 | if (thc_add_udp(pkt, &pkt_len, sport + count, port, 0, buf, 0) == -1) | ^~~ | | | unsigned char * thc-ipv6.h:194:53: note: expected 'char *' but argument is of type 'unsigned char *' 194 | unsigned int checksum, char *data, int data_len); | ~~~~~~^~~~ firewall6.c:1662:52: warning: pointer targets in passing argument 12 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] 1662 | TCP_SYN, 0x3840, 0, NULL, 0, buf, 40) == -1) | ^~~ | | | unsigned char * thc-ipv6.h:191:30: note: expected 'char *' but argument is of type 'unsigned char *' 191 | char *data, int data_len); | ~~~~~~^~~~ firewall6.c:1665:62: warning: pointer targets in passing argument 6 of 'thc_add_udp' differ in signedness [-Wpointer-sign] 1665 | if (thc_add_udp(pkt, &pkt_len, sport + count, port, 0, buf, 40) == -1) | ^~~ | | | unsigned char * thc-ipv6.h:194:53: note: expected 'char *' but argument is of type 'unsigned char *' 194 | unsigned int checksum, char *data, int data_len); | ~~~~~~^~~~ firewall6.c:1878:74: warning: pointer targets in passing argument 12 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] 1878 | TCP_SYN, 0x3840, 0, NULL, 0, hdr->pkt + hdr->pkt_len - 12, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ | | | unsigned char * thc-ipv6.h:191:30: note: expected 'char *' but argument is of type 'unsigned char *' 191 | char *data, int data_len); | ~~~~~~^~~~ firewall6.c:1914:54: warning: pointer targets in passing argument 12 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] 1914 | TCP_SYN, 0x3840, 0, NULL, 0, buf, 0) == -1) | ^~~ | | | unsigned char * thc-ipv6.h:191:30: note: expected 'char *' but argument is of type 'unsigned char *' 191 | char *data, int data_len); | ~~~~~~^~~~ firewall6.c:1937:61: warning: pointer targets in passing argument 6 of 'thc_add_udp' differ in signedness [-Wpointer-sign] 1937 | if (thc_add_udp(pkt, &pkt_len, sports2[i], port, 0, buf, 1000) == -1) | ^~~ | | | unsigned char * thc-ipv6.h:194:53: note: expected 'char *' but argument is of type 'unsigned char *' 194 | unsigned int checksum, char *data, int data_len); | ~~~~~~^~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o redirsniff6 redirsniff6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto redirsniff6.c: In function 'intercept': redirsniff6.c:68:7: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 68 | ptr = thc_ipv62notation((unsigned char *)data + 14 + 8); | ^ redirsniff6.c:69:8: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 69 | ptr2 = thc_ipv62notation((unsigned char *)data + 14 + 8 + 16); | ^ redirsniff6.c: In function 'main': redirsniff6.c:148:20: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] 148 | strcat(string, thc_ipv62notation(src6)); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from redirsniff6.c:1: /usr/include/bits/string_fortified.h:128:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ redirsniff6.c:152:20: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] 152 | strcat(string, thc_ipv62notation(dest6)); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ redirsniff6.c:76:21: warning: variable 'offset' set but not used [-Wunused-but-set-variable] 76 | int rawmode = 0, offset = 14; | ^~~~~~ redirsniff6.c:76:8: warning: variable 'rawmode' set but not used [-Wunused-but-set-variable] 76 | int rawmode = 0, offset = 14; | ^~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o thcsyn6 thcsyn6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto thcsyn6.c: In function 'main': thcsyn6.c:192:47: warning: pointer targets in passing argument 3 of 'thc_add_hdr_hopbyhop' differ in signedness [-Wpointer-sign] 192 | if (thc_add_hdr_hopbyhop(pkt, &pkt_len, buf2, 6) < 0) return -1; | ^~~~ | | | char * In file included from thcsyn6.c:11: thc-ipv6.h:179:48: note: expected 'unsigned char *' but argument is of type 'char *' 179 | unsigned char *buf, int buflen); | ~~~~~~~~~~~~~~~^~~ thcsyn6.c:199:44: warning: pointer targets in passing argument 3 of 'thc_add_hdr_dst' differ in signedness [-Wpointer-sign] 199 | if (thc_add_hdr_dst(pkt, &pkt_len, buf2, 6) < 0) return -1; | ^~~~ | | | char * thc-ipv6.h:176:77: note: expected 'unsigned char *' but argument is of type 'char *' 176 | 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] 47 | randdstp = 0, dont_crc = 0, seq, do_dst = 0, do_frag = 0, fastopen = 0, | ^~~~~~~~ thcsyn6.c:209:9: warning: 'sport' may be used uninitialized [-Wmaybe-uninitialized] 209 | if (thc_add_tcp(pkt, &pkt_len, sport, port, seq, 0, type, 0x3840, 0, buf3, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 210 | olen, NULL, 0) < 0) | ~~~~~~~~~~~~~~ thcsyn6.c:51:22: note: 'sport' was declared here 51 | unsigned short int sport, port; | ^~~~~ thcsyn6.c:209:9: warning: 'port' may be used uninitialized [-Wmaybe-uninitialized] 209 | if (thc_add_tcp(pkt, &pkt_len, sport, port, seq, 0, type, 0x3840, 0, buf3, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 210 | olen, NULL, 0) < 0) | ~~~~~~~~~~~~~~ thcsyn6.c:51:29: note: 'port' was declared here 51 | unsigned short int sport, port; | ^~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o flood_redir6 flood_redir6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto flood_redir6.c: In function 'main': flood_redir6.c:28:25: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 28 | unsigned char *mac6 = mac; | ^~~ flood_redir6.c:35:34: warning: unused variable 'rawmode' [-Wunused-variable] 35 | int pkt_len = 0, pkt_len2 = 0, rawmode = 0, count = 0, do_alert = 0, | ^~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o four2six four2six.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto four2six.c: In function 'main': four2six.c:45:20: warning: 'cnt' may be used uninitialized [-Wmaybe-uninitialized] 45 | do_frag = 0, cnt, type = NXT_ICMP6, offset = 14; | ^~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o flood_rs6 flood_rs6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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] 34 | 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] 34 | 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] 34 | 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] 32 | int i, k, type = NXT_ICMP6, offset = 14, mychecksum, prefer = PREFER_LINK; | ^~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o dump_dhcp6 dump_dhcp6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto dump_dhcp6.c: In function 'check_packets': dump_dhcp6.c:63:40: warning: variable 'rlen' set but not used [-Wunused-but-set-variable] 63 | int len = header->caplen, rlen, i, j, k; | ^~~~ dump_dhcp6.c: In function 'main': dump_dhcp6.c:236:25: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 236 | unsigned char *mac6 = mac, *src, *dst, *vendorid = NULL, *ptr; | ^~~ dump_dhcp6.c:259:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 259 | vendorid = optarg; | ^ dump_dhcp6.c:298:45: warning: pointer targets in passing argument 2 of 'thc_pcap_init_promisc' differ in signedness [-Wpointer-sign] 298 | if ((p = thc_pcap_init_promisc(interface, "ip6 and udp and dst port 546")) == | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from dump_dhcp6.c:14: thc-ipv6.h:96:70: note: expected 'unsigned char *' but argument is of type 'char *' 96 | extern pcap_t *thc_pcap_init_promisc(char *interface, unsigned char *capture); | ~~~~~~~~~~~~~~~^~~~~~~ dump_dhcp6.c:324:22: warning: pointer targets in passing argument 1 of 'index' differ in signedness [-Wpointer-sign] 324 | if ((ptr = index(vendorid, ',')) == NULL) { | ^~~~~~~~ | | | unsigned char * In file included from /usr/include/string.h:462, from dump_dhcp6.c:3: /usr/include/strings.h:68:33: note: expected 'const char *' but argument is of type 'unsigned char *' 68 | extern char *index (const char *__s, int __c) | ~~~~~~~~~~~~^~~ dump_dhcp6.c:324:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 324 | if ((ptr = index(vendorid, ',')) == NULL) { | ^ dump_dhcp6.c:329:14: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 329 | i = atoi(vendorid); | ^~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from dump_dhcp6.c:1: /usr/include/stdlib.h:362:1: note: expected 'const char *' but argument is of type 'unsigned char *' 362 | __NTH (atoi (const char *__nptr)) | ^~~~~ dump_dhcp6.c:332:41: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 332 | wdatabuf[len + 2] = (4 + 2 + strlen(ptr)) / 256; | ^~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ dump_dhcp6.c:333:41: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 333 | wdatabuf[len + 3] = (4 + 2 + strlen(ptr)) % 256; | ^~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ dump_dhcp6.c:338:32: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 338 | wdatabuf[len + 8] = strlen(ptr) / 256; | ^~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ dump_dhcp6.c:339:32: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 339 | wdatabuf[len + 9] = strlen(ptr) % 256; | ^~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ dump_dhcp6.c:340:45: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 340 | memcpy(wdatabuf + len + 10, ptr, strlen(ptr)); | ^~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ dump_dhcp6.c:341:58: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 341 | memcpy(wdatabuf2 + len2, wdatabuf + len, 10 + strlen(ptr)); | ^~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ dump_dhcp6.c:342:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 342 | len += 10 + strlen(ptr); | ^~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ dump_dhcp6.c:343:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 343 | len2 += 10 + strlen(ptr); | ^~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ dump_dhcp6.c:346:12: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 346 | if ((pkt = thc_create_ipv6_extended(interface, source, &pkt_len, src, dst, | ^ dump_dhcp6.c:349:19: warning: pointer targets in passing argument 1 of 'thc_add_udp' differ in signedness [-Wpointer-sign] 349 | if (thc_add_udp(pkt, &pkt_len, 546, 547, 0, wdatabuf, len) < 0) return -1; | ^~~ | | | char * thc-ipv6.h:192:39: note: expected 'unsigned char *' but argument is of type 'char *' 192 | extern int thc_add_udp(unsigned char *pkt, int *pkt_len, | ~~~~~~~~~~~~~~~^~~ dump_dhcp6.c:350:56: warning: pointer targets in passing argument 4 of 'thc_generate_and_send_pkt' differ in signedness [-Wpointer-sign] 350 | if (thc_generate_and_send_pkt(interface, mac6, NULL, pkt, &pkt_len) < 0) | ^~~ | | | char * thc-ipv6.h:204:76: note: expected 'unsigned char *' but argument is of type 'char *' 204 | unsigned char *dstmac, unsigned char *pkt, | ~~~~~~~~~~~~~~~^~~ dump_dhcp6.c:352:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 352 | if ((pkt2 = thc_create_ipv6_extended(interface, source, &pkt2_len, src, dst, | ^ dump_dhcp6.c:355:19: warning: pointer targets in passing argument 1 of 'thc_add_udp' differ in signedness [-Wpointer-sign] 355 | if (thc_add_udp(pkt2, &pkt2_len, 546, 547, 0, wdatabuf2, len2) < 0) return -1; | ^~~~ | | | char * thc-ipv6.h:192:39: note: expected 'unsigned char *' but argument is of type 'char *' 192 | extern int thc_add_udp(unsigned char *pkt, int *pkt_len, | ~~~~~~~~~~~~~~~^~~ dump_dhcp6.c:356:56: warning: pointer targets in passing argument 4 of 'thc_generate_and_send_pkt' differ in signedness [-Wpointer-sign] 356 | if (thc_generate_and_send_pkt(interface, mac6, NULL, pkt2, &pkt2_len) < 0) | ^~~~ | | | char * thc-ipv6.h:204:76: note: expected 'unsigned char *' but argument is of type 'char *' 204 | unsigned char *dstmac, unsigned char *pkt, | ~~~~~~~~~~~~~~~^~~ dump_dhcp6.c:361:28: warning: pointer targets in passing argument 1 of 'thc_destroy_packet' differ in signedness [-Wpointer-sign] 361 | pkt = thc_destroy_packet(pkt); | ^~~ | | | char * thc-ipv6.h:210:57: note: expected 'unsigned char *' but argument is of type 'char *' 210 | extern unsigned char *thc_destroy_packet(unsigned char *pkt); | ~~~~~~~~~~~~~~~^~~ dump_dhcp6.c:361:7: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 361 | pkt = thc_destroy_packet(pkt); | ^ dump_dhcp6.c:241:26: warning: variable 'do_all' set but not used [-Wunused-but-set-variable] 241 | int do_all = 1, use_real_mac = 1, use_real_link = 1; | ^~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o fuzz_dhcps6 fuzz_dhcps6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto fuzz_dhcps6.c: In function 'try_send_pkt': fuzz_dhcps6.c:222:33: warning: pointer targets in passing argument 2 of 'thc_send_pkt' differ in signedness [-Wpointer-sign] 222 | if (thc_send_pkt(interface, pkt, pkt_len) < 0) | ^~~ | | | char * In file included from fuzz_dhcps6.c:19: thc-ipv6.h:209:57: note: expected 'unsigned char *' but argument is of type 'char *' 209 | 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 from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 255 | if ((pkt = thc_create_ipv6_extended(interface, PREFER_LINK, &pkt_len, NULL, | ^ fuzz_dhcps6.c:262:19: warning: pointer targets in passing argument 1 of 'thc_add_udp' differ in signedness [-Wpointer-sign] 262 | if (thc_add_udp(pkt, &pkt_len, 546, 547, 0, wdatabuf, len) < 0) { | ^~~ | | | char * thc-ipv6.h:192:39: note: expected 'unsigned char *' but argument is of type 'char *' 192 | extern int thc_add_udp(unsigned char *pkt, int *pkt_len, | ~~~~~~~~~~~~~~~^~~ fuzz_dhcps6.c:267:47: warning: pointer targets in passing argument 4 of 'thc_generate_pkt' differ in signedness [-Wpointer-sign] 267 | if (thc_generate_pkt(interface, mac6, NULL, pkt, &pkt_len) < 0) { | ^~~ | | | char * thc-ipv6.h:207:67: note: expected 'unsigned char *' but argument is of type 'char *' 207 | unsigned char *dstmac, unsigned char *pkt, | ~~~~~~~~~~~~~~~^~~ fuzz_dhcps6.c:289:35: warning: pointer targets in passing argument 2 of 'thc_send_pkt' differ in signedness [-Wpointer-sign] 289 | if (thc_send_pkt(interface, pkt, &pkt_len) < | ^~~ | | | char * thc-ipv6.h:209:57: note: expected 'unsigned char *' but argument is of type 'char *' 209 | extern int thc_send_pkt(char *interface, unsigned char *pkt, int *pkt_len); | ~~~~~~~~~~~~~~~^~~ fuzz_dhcps6.c:293:33: warning: pointer targets in passing argument 2 of 'thc_send_pkt' differ in signedness [-Wpointer-sign] 293 | thc_send_pkt(interface, pkt, &pkt_len); // Retry sending packet after | ^~~ | | | char * thc-ipv6.h:209:57: note: expected 'unsigned char *' but argument is of type 'char *' 209 | extern int thc_send_pkt(char *interface, unsigned char *pkt, int *pkt_len); | ~~~~~~~~~~~~~~~^~~ fuzz_dhcps6.c:311:22: warning: pointer targets in passing argument 1 of 'thc_destroy_packet' differ in signedness [-Wpointer-sign] 311 | thc_destroy_packet(pkt); | ^~~ | | | char * thc-ipv6.h:210:57: note: expected 'unsigned char *' but argument is of type 'char *' 210 | extern unsigned char *thc_destroy_packet(unsigned char *pkt); | ~~~~~~~~~~~~~~~^~~ fuzz_dhcps6.c: In function 'fuzz_loop': fuzz_dhcps6.c:333:20: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 333 | printf("fuzzbuf(%d): %s\n", strlen(fuzzbuf), fuzzbuf); | ~^ ~~~~~~~~~~~~~~~ | | | | int size_t {aka long unsigned int} | %ld fuzz_dhcps6.c:490:42: warning: pointer targets in passing argument 2 of 'thc_send_pkt' differ in signedness [-Wpointer-sign] 490 | while (thc_send_pkt(interface, pkt, pkt_len) < 0) | ^~~ | | | char * thc-ipv6.h:209:57: note: expected 'unsigned char *' but argument is of type 'char *' 209 | 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] 323 | int fragment = 0, frag_offset = 0; | ^~~~~~~~~~~ fuzz_dhcps6.c:323:23: warning: unused variable 'fragment' [-Wunused-variable] 323 | int fragment = 0, frag_offset = 0; | ^~~~~~~~ fuzz_dhcps6.c: In function 'construct_from_adv_and_fuzz': fuzz_dhcps6.c:673:37: warning: pointer targets in passing argument 2 of 'thc_generate_pkt' differ in signedness [-Wpointer-sign] 673 | if (thc_generate_pkt(interface, smac, ptr + 6, pkt, &pkt_len) < 0) { | ^~~~ | | | char * thc-ipv6.h:206:61: note: expected 'unsigned char *' but argument is of type 'char *' 206 | extern int thc_generate_pkt(char *interface, unsigned char *srcmac, | ~~~~~~~~~~~~~~~^~~~~~ fuzz_dhcps6.c:678:19: warning: pointer targets in passing argument 1 of 'fuzz_loop' differ in signedness [-Wpointer-sign] 678 | if (fuzz_loop(pkt, &pkt_len) < 0) { | ^~~ | | | unsigned char * fuzz_dhcps6.c:316:21: note: expected 'char *' but argument is of type 'unsigned char *' 316 | int fuzz_loop(char *pkt, int *pkt_len) { | ~~~~~~^~~ fuzz_dhcps6.c: In function 'main': fuzz_dhcps6.c:698:25: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 698 | unsigned char *mac6 = mac, *src, *dst; | ^~~ fuzz_dhcps6.c:803:45: warning: pointer targets in passing argument 2 of 'thc_pcap_init_promisc' differ in signedness [-Wpointer-sign] 803 | if ((p = thc_pcap_init_promisc(interface, "ip6 and udp and dst port 546")) == | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * thc-ipv6.h:96:70: note: expected 'unsigned char *' but argument is of type 'char *' 96 | extern pcap_t *thc_pcap_init_promisc(char *interface, unsigned char *capture); | ~~~~~~~~~~~~~~~^~~~~~~ fuzz_dhcps6.c:915:12: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 915 | if ((pkt = thc_create_ipv6_extended(interface, PREFER_LINK, &pkt_len, src, | ^ fuzz_dhcps6.c:918:19: warning: pointer targets in passing argument 1 of 'thc_add_udp' differ in signedness [-Wpointer-sign] 918 | if (thc_add_udp(pkt, &pkt_len, 546, 547, 0, wdatabuf, len) < 0) return -1; | ^~~ | | | char * thc-ipv6.h:192:39: note: expected 'unsigned char *' but argument is of type 'char *' 192 | extern int thc_add_udp(unsigned char *pkt, int *pkt_len, | ~~~~~~~~~~~~~~~^~~ fuzz_dhcps6.c:920:47: warning: pointer targets in passing argument 4 of 'thc_generate_pkt' differ in signedness [-Wpointer-sign] 920 | if (thc_generate_pkt(interface, mac6, NULL, pkt, &pkt_len) < 0) return -1; | ^~~ | | | char * thc-ipv6.h:207:67: note: expected 'unsigned char *' but argument is of type 'char *' 207 | unsigned char *dstmac, unsigned char *pkt, | ~~~~~~~~~~~~~~~^~~ fuzz_dhcps6.c:930:33: warning: pointer targets in passing argument 2 of 'thc_send_pkt' differ in signedness [-Wpointer-sign] 930 | if (thc_send_pkt(interface, pkt, &pkt_len) < 0) { | ^~~ | | | char * thc-ipv6.h:209:57: note: expected 'unsigned char *' but argument is of type 'char *' 209 | extern int thc_send_pkt(char *interface, unsigned char *pkt, int *pkt_len); | ~~~~~~~~~~~~~~~^~~ fuzz_dhcps6.c:952:28: warning: pointer targets in passing argument 1 of 'thc_destroy_packet' differ in signedness [-Wpointer-sign] 952 | pkt = thc_destroy_packet(pkt); | ^~~ | | | char * thc-ipv6.h:210:57: note: expected 'unsigned char *' but argument is of type 'char *' 210 | extern unsigned char *thc_destroy_packet(unsigned char *pkt); | ~~~~~~~~~~~~~~~^~~ fuzz_dhcps6.c:952:7: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 952 | pkt = thc_destroy_packet(pkt); | ^ fuzz_dhcps6.c:701:7: warning: unused variable 'do_all' [-Wunused-variable] 701 | int do_all = 1, use_real_mac = 1, use_real_link = 1; | ^~~~~~ fuzz_dhcps6.c: In function 'construct_from_adv_and_fuzz': fuzz_dhcps6.c:673:9: warning: 'smac' may be used uninitialized [-Wmaybe-uninitialized] 673 | if (thc_generate_pkt(interface, smac, ptr + 6, pkt, &pkt_len) < 0) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fuzz_dhcps6.c:523:18: note: 'smac' was declared here 523 | char * smac, mac[6] = {0, 0x0d, 0, 0x0d, 0x0d, 0x0e}; | ^~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o fuzz_dhcpc6 fuzz_dhcpc6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto fuzz_dhcpc6.c:271:23: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 271 | unsigned char *mac6 = mac, *src; // creates mac6 address usuing | ^~~ fuzz_dhcpc6.c: In function 'fuzz_loop': fuzz_dhcpc6.c:378:27: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 378 | printf("fuzzing_mask(%d): %s\n", strlen(fuzzing_mask), fuzzing_mask); | ~^ ~~~~~~~~~~~~~~~~~~~~ | | | | int size_t {aka long unsigned int} | %ld fuzz_dhcpc6.c:557:42: warning: pointer targets in passing argument 2 of 'thc_send_pkt' differ in signedness [-Wpointer-sign] 557 | while (thc_send_pkt(interface, pkt, pkt_len) < 0) | ^~~ | | | char * In file included from fuzz_dhcpc6.c:13: thc-ipv6.h:209:57: note: expected 'unsigned char *' but argument is of type 'char *' 209 | 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] 369 | int fragment = 0, frag_offset = 0; | ^~~~~~~~~~~ fuzz_dhcpc6.c:369:23: warning: unused variable 'fragment' [-Wunused-variable] 369 | int fragment = 0, frag_offset = 0; | ^~~~~~~~ fuzz_dhcpc6.c: In function 'dhcpc_listener': fuzz_dhcpc6.c:577:50: warning: pointer targets in passing argument 3 of 'thc_bind_multicast_to_socket' differ in signedness [-Wpointer-sign] 577 | if (thc_bind_multicast_to_socket(s, interface, thc_resolve6("ff02::1:2")) < | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * thc-ipv6.h:226:73: note: expected 'char *' but argument is of type 'unsigned char *' 226 | extern int thc_bind_multicast_to_socket(int s, char *interface, char *src); | ~~~~~~^~~ fuzz_dhcpc6.c:610:32: warning: pointer targets in passing argument 1 of 'thc_ipv62notation' differ in signedness [-Wpointer-sign] 610 | ptr2 = thc_ipv62notation((char *)&ddst.sin6_addr); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * thc-ipv6.h:221:56: note: expected 'unsigned char *' but argument is of type 'char *' 221 | extern unsigned char *thc_ipv62notation(unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ fuzz_dhcpc6.c:612:32: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 612 | strncpy((char *)&victim, ptr2, sizeof(victim)); | ^~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from fuzz_dhcpc6.c:1: /usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ fuzz_dhcpc6.c: In function 'main': fuzz_dhcpc6.c:752:27: warning: format '%x' expects argument of type 'unsigned int *', but argument 3 has type 'char *' [-Wformat=] 752 | sscanf(optarg, "%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x", | ~~^ | | | unsigned int * | %2hhx 753 | (char *)&cid[0], (char *)&cid[1], (char *)&cid[2], | ~~~~~~~~~~~~~~~ | | | char * fuzz_dhcpc6.c:752:30: warning: format '%x' expects argument of type 'unsigned int *', but argument 4 has type 'char *' [-Wformat=] 752 | sscanf(optarg, "%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x", | ~~^ | | | unsigned int * | %2hhx 753 | (char *)&cid[0], (char *)&cid[1], (char *)&cid[2], | ~~~~~~~~~~~~~~~ | | | char * fuzz_dhcpc6.c:752:33: warning: format '%x' expects argument of type 'unsigned int *', but argument 5 has type 'char *' [-Wformat=] 752 | sscanf(optarg, "%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x", | ~~^ | | | unsigned int * | %2hhx 753 | (char *)&cid[0], (char *)&cid[1], (char *)&cid[2], | ~~~~~~~~~~~~~~~ | | | char * fuzz_dhcpc6.c:752:36: warning: format '%x' expects argument of type 'unsigned int *', but argument 6 has type 'char *' [-Wformat=] 752 | sscanf(optarg, "%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x", | ~~^ | | | unsigned int * | %2hhx 753 | (char *)&cid[0], (char *)&cid[1], (char *)&cid[2], 754 | (char *)&cid[3], (char *)&cid[4], (char *)&cid[5], | ~~~~~~~~~~~~~~~ | | | char * fuzz_dhcpc6.c:752:39: warning: format '%x' expects argument of type 'unsigned int *', but argument 7 has type 'char *' [-Wformat=] 752 | sscanf(optarg, "%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x", | ~~^ | | | unsigned int * | %2hhx 753 | (char *)&cid[0], (char *)&cid[1], (char *)&cid[2], 754 | (char *)&cid[3], (char *)&cid[4], (char *)&cid[5], | ~~~~~~~~~~~~~~~ | | | char * fuzz_dhcpc6.c:752:42: warning: format '%x' expects argument of type 'unsigned int *', but argument 8 has type 'char *' [-Wformat=] 752 | sscanf(optarg, "%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x", | ~~^ | | | unsigned int * | %2hhx 753 | (char *)&cid[0], (char *)&cid[1], (char *)&cid[2], 754 | (char *)&cid[3], (char *)&cid[4], (char *)&cid[5], | ~~~~~~~~~~~~~~~ | | | char * fuzz_dhcpc6.c:752:45: warning: format '%x' expects argument of type 'unsigned int *', but argument 9 has type 'char *' [-Wformat=] 752 | sscanf(optarg, "%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x", | ~~^ | | | unsigned int * | %2hhx ...... 755 | (char *)&cid[6], (char *)&cid[7], (char *)&cid[8], | ~~~~~~~~~~~~~~~ | | | char * fuzz_dhcpc6.c:752:48: warning: format '%x' expects argument of type 'unsigned int *', but argument 10 has type 'char *' [-Wformat=] 752 | sscanf(optarg, "%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x", | ~~^ | | | unsigned int * | %2hhx ...... 755 | (char *)&cid[6], (char *)&cid[7], (char *)&cid[8], | ~~~~~~~~~~~~~~~ | | | char * fuzz_dhcpc6.c:752:51: warning: format '%x' expects argument of type 'unsigned int *', but argument 11 has type 'char *' [-Wformat=] 752 | sscanf(optarg, "%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x", | ~~^ | | | unsigned int * | %2hhx ...... 755 | (char *)&cid[6], (char *)&cid[7], (char *)&cid[8], | ~~~~~~~~~~~~~~~ | | | char * fuzz_dhcpc6.c:752:54: warning: format '%x' expects argument of type 'unsigned int *', but argument 12 has type 'char *' [-Wformat=] 752 | sscanf(optarg, "%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x", | ~~^ | | | unsigned int * | %2hhx ...... 756 | (char *)&cid[9], (char *)&cid[10], (char *)&cid[11], | ~~~~~~~~~~~~~~~ | | | char * fuzz_dhcpc6.c:752:57: warning: format '%x' expects argument of type 'unsigned int *', but argument 13 has type 'char *' [-Wformat=] 752 | sscanf(optarg, "%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x", | ~~^ | | | unsigned int * | %2hhx ...... 756 | (char *)&cid[9], (char *)&cid[10], (char *)&cid[11], | ~~~~~~~~~~~~~~~~ | | | char * fuzz_dhcpc6.c:752:60: warning: format '%x' expects argument of type 'unsigned int *', but argument 14 has type 'char *' [-Wformat=] 752 | sscanf(optarg, "%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x", | ~~^ | | | unsigned int * | %2hhx ...... 756 | (char *)&cid[9], (char *)&cid[10], (char *)&cid[11], | ~~~~~~~~~~~~~~~~ | | | char * fuzz_dhcpc6.c:752:63: warning: format '%x' expects argument of type 'unsigned int *', but argument 15 has type 'char *' [-Wformat=] 752 | sscanf(optarg, "%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x", | ~~^ | | | unsigned int * | %2hhx ...... 757 | (char *)&cid[12], (char *)&cid[13]); | ~~~~~~~~~~~~~~~~ | | | char * fuzz_dhcpc6.c:752:66: warning: format '%x' expects argument of type 'unsigned int *', but argument 16 has type 'char *' [-Wformat=] 752 | sscanf(optarg, "%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x%2x", | ~~^ | | | unsigned int * | %2hhx ...... 757 | (char *)&cid[12], (char *)&cid[13]); | ~~~~~~~~~~~~~~~~ | | | char * fuzz_dhcpc6.c:800:45: warning: pointer targets in passing argument 2 of 'thc_pcap_init_promisc' differ in signedness [-Wpointer-sign] 800 | if ((p = thc_pcap_init_promisc(interface, "ip6 and udp and dst port 547")) == | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * thc-ipv6.h:96:70: note: expected 'unsigned char *' but argument is of type 'char *' 96 | 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 from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 901 | if ((pkt = thc_create_ipv6_extended(interface, PREFER_LINK, &pkt_len, src, | ^ fuzz_dhcpc6.c:906:19: warning: pointer targets in passing argument 1 of 'thc_add_udp' differ in signedness [-Wpointer-sign] 906 | if (thc_add_udp(pkt, &pkt_len, 547, 546, 0, wdatabuf, opt_off) < 0) { | ^~~ | | | char * thc-ipv6.h:192:39: note: expected 'unsigned char *' but argument is of type 'char *' 192 | extern int thc_add_udp(unsigned char *pkt, int *pkt_len, | ~~~~~~~~~~~~~~~^~~ fuzz_dhcpc6.c:911:47: warning: pointer targets in passing argument 4 of 'thc_generate_pkt' differ in signedness [-Wpointer-sign] 911 | if (thc_generate_pkt(interface, mac6, NULL, pkt, &pkt_len) < 0) { | ^~~ | | | char * thc-ipv6.h:207:67: note: expected 'unsigned char *' but argument is of type 'char *' 207 | unsigned char *dstmac, unsigned char *pkt, | ~~~~~~~~~~~~~~~^~~ fuzz_dhcpc6.c:918:28: warning: pointer targets in passing argument 1 of 'thc_destroy_packet' differ in signedness [-Wpointer-sign] 918 | pkt = thc_destroy_packet(pkt); | ^~~ | | | char * thc-ipv6.h:210:57: note: expected 'unsigned char *' but argument is of type 'char *' 210 | extern unsigned char *thc_destroy_packet(unsigned char *pkt); | ~~~~~~~~~~~~~~~^~~ fuzz_dhcpc6.c:918:7: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 918 | pkt = thc_destroy_packet(pkt); | ^ fuzz_dhcpc6.c: In function 'dhcpc_listener': fuzz_dhcpc6.c:612:7: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 612 | strncpy((char *)&victim, ptr2, sizeof(victim)); | ^ fuzz_dhcpc6.c: In function 'main': fuzz_dhcpc6.c:740:9: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 740 | strncpy((char *)&victim, optarg, sizeof(victim)); | ^ fuzz_dhcpc6.c:745:9: warning: 'strncpy' specified bound 100 equals destination size [-Wstringop-truncation] 745 | strncpy((char *)&option_string, optarg, sizeof(option_string)); | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o toobigsniff6 toobigsniff6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto toobigsniff6.c: In function 'send_toobig': toobigsniff6.c:53:15: warning: pointer targets in passing argument 1 of 'thc_toobig6' differ in signedness [-Wpointer-sign] 53 | thc_toobig6(interface, src6, mac6, NULL, mtu, ipv6hdr, len); | ^~~~~~~~~ | | | unsigned char * In file included from toobigsniff6.c:11: thc-ipv6.h:130:30: note: expected 'char *' but argument is of type 'unsigned char *' 130 | extern int thc_toobig6(char *interface, unsigned char *src, | ~~~~~~^~~~~~~~~ toobigsniff6.c: In function 'main': toobigsniff6.c:90:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 90 | interface = argv[optind]; | ^ toobigsniff6.c:91:26: warning: pointer targets in passing argument 1 of 'thc_get_own_mac' differ in signedness [-Wpointer-sign] 91 | mac6 = thc_get_own_mac(interface); | ^~~~~~~~~ | | | unsigned char * thc-ipv6.h:102:45: note: expected 'char *' but argument is of type 'unsigned char *' 102 | extern unsigned char *thc_get_own_mac(char *interface); | ~~~~~~^~~~~~~~~ toobigsniff6.c:92:27: warning: pointer targets in passing argument 1 of 'thc_get_own_ipv6' differ in signedness [-Wpointer-sign] 92 | src6 = thc_get_own_ipv6(interface, NULL, PREFER_GLOBAL); | ^~~~~~~~~ | | | unsigned char * thc-ipv6.h:104:46: note: expected 'char *' but argument is of type 'unsigned char *' 104 | extern unsigned char *thc_get_own_ipv6(char *interface, unsigned char *dst, | ~~~~~~^~~~~~~~~ toobigsniff6.c:112:26: warning: pointer targets in passing argument 1 of 'thc_pcap_init' differ in signedness [-Wpointer-sign] 112 | if ((p = thc_pcap_init(interface, string)) == NULL) { | ^~~~~~~~~ | | | unsigned char * thc-ipv6.h:95:36: note: expected 'char *' but argument is of type 'unsigned char *' 95 | 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] 65 | int rawmode = 0, i; | ^~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o flood_unreach6 flood_unreach6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto flood_unreach6.c: In function 'main': flood_unreach6.c:29:25: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 29 | unsigned char *mac6 = mac; | ^~~ flood_unreach6.c:36:34: warning: unused variable 'rawmode' [-Wunused-variable] 36 | 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] 33 | 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] 33 | 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] 32 | *dstmac = NULL, *oldrouter = NULL, *newrouter = NULL; | ^~~~~~~~~ flood_unreach6.c:31:63: warning: unused variable 'fake_dst' [-Wunused-variable] 31 | unsigned char *dst = thc_resolve6("ff02::1"), *src = NULL, *fake_dst = NULL, | ^~~~~~~~ flood_unreach6.c:28:42: warning: unused variable 'newroutermac' [-Wunused-variable] 28 | char * interface, mac[6] = "", newroutermac[6]; | ^~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o connect6 connect6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto connect6.c: In function 'main': connect6.c:197:56: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] 197 | i = getsockopt(t, IPPROTO_IPV6, IPV6_MTU, &optval, &optlen); | ^~~~~~~ | | | int * In file included from connect6.c:9: /usr/include/sys/socket.h:257:46: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 257 | socklen_t *__restrict __optlen) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ connect6.c:253:38: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 253 | printf("Connected seq=%lu %ds %dms\n", ping, (waitms - diff) / 1000, | ~^ ~~~~~~~~~~~~~~~~~~~~~~ | | | | int long unsigned int | %ld connect6.c:253:42: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 253 | printf("Connected seq=%lu %ds %dms\n", ping, (waitms - diff) / 1000, | ~^ | | | int | %ld 254 | (waitms - diff) % 1000); | ~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int connect6.c:55:18: warning: variable 'conn_len' set but not used [-Wunused-but-set-variable] 55 | int i, t = -1, conn_len, do_alert = 0, interactive = 0, optval, optlen, | ^~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o fragrouter6 fragrouter6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto -lnetfilter_queue || /bin/echo -e "\nCompilation of fragrouter6 failed, you have to install libnetfilter-queue-dev for this!\n" gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o thcping6 thcping6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lssl -lcrypto -lrt thcping6.c: In function 'check_packets': thcping6.c:123:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 123 | sprintf(frag, " (fragmented: 0x%08lx)", fragid); | ^~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from thcping6.c:1: /usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ thcping6.c: In function 'main': thcping6.c:398:18: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] 398 | strcat(string, thc_ipv62notation(src6)); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ thcping6.c:593:41: warning: pointer targets in passing argument 10 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] 593 | TCP_SYN, 5760, 0, (unsigned char *)&buf2, olen, | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from thcping6.c:14: thc-ipv6.h:190:57: note: expected 'char *' but argument is of type 'unsigned char *' 190 | unsigned short int urgent, char *option, int option_len, | ~~~~~~^~~~~~ thcping6.c:594:23: warning: pointer targets in passing argument 12 of 'thc_add_tcp' differ in signedness [-Wpointer-sign] 594 | (unsigned char *)&buf, dlen) < 0) | ^~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * thc-ipv6.h:191:30: note: expected 'char *' but argument is of type 'unsigned char *' 191 | char *data, int data_len); | ~~~~~~^~~~ thcping6.c:597:28: warning: pointer targets in passing argument 6 of 'thc_add_udp' differ in signedness [-Wpointer-sign] 597 | (unsigned char *)&buf, dlen) < 0) | ^~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * thc-ipv6.h:194:53: note: expected 'char *' but argument is of type 'unsigned char *' 194 | unsigned int checksum, char *data, int data_len); | ~~~~~~^~~~ thcping6.c:688:57: warning: pointer targets in passing argument 3 of 'thc_pcap_check' differ in signedness [-Wpointer-sign] 688 | while (thc_pcap_check(p, (char *)check_packets, buf) > 0) | ^~~ | | | unsigned char * thc-ipv6.h:98:64: note: expected 'char *' but argument is of type 'unsigned char *' 98 | extern int thc_pcap_check(pcap_t *p, char *function, char *opt); | ~~~~~~^~~ thcping6.c:698:46: warning: pointer targets in passing argument 3 of 'thc_pcap_check' differ in signedness [-Wpointer-sign] 698 | thc_pcap_check(p, (char *)check_packets, buf); | ^~~ | | | unsigned char * thc-ipv6.h:98:64: note: expected 'char *' but argument is of type 'unsigned char *' 98 | extern int thc_pcap_check(pcap_t *p, char *function, char *opt); | ~~~~~~^~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_HAVE_SSL -o connsplit6 connsplit6.c thc-ipv6-lib.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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] 207 | int port = THC_SPLITCONNECT_PORT, pport; | ^~~~ connsplit6.c:98:16: warning: unused variable 'hdr' [-Wunused-variable] 98 | thc_ipv6_hdr hdr; | ^~~ connsplit6.c:97:34: warning: unused variable 'buflen' [-Wunused-variable] 97 | int i, j, k, proto, drop = 0, buflen = 0; | ^~~~~~ connsplit6.c:97:24: warning: unused variable 'drop' [-Wunused-variable] 97 | int i, j, k, proto, drop = 0, buflen = 0; | ^~~~ connsplit6.c:97:14: warning: unused variable 'k' [-Wunused-variable] 97 | int i, j, k, proto, drop = 0, buflen = 0; | ^ connsplit6.c:97:11: warning: unused variable 'j' [-Wunused-variable] 97 | int i, j, k, proto, drop = 0, buflen = 0; | ^ connsplit6.c:97:8: warning: unused variable 'i' [-Wunused-variable] 97 | int i, j, k, proto, drop = 0, buflen = 0; | ^ connsplit6.c:94:54: warning: unused variable 'dstmac' [-Wunused-variable] 94 | unsigned char * packet, payload[2048], buf[2048], *dstmac; | ^~~~~~ connsplit6.c:94:42: warning: unused variable 'buf' [-Wunused-variable] 94 | unsigned char * packet, payload[2048], buf[2048], *dstmac; | ^~~ connsplit6.c:93:28: warning: unused variable 'temp_id' [-Wunused-variable] 93 | unsigned int len, id, temp_id; | ^~~~~~~ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.vTQ3UW + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd thc-ipv6-3.8 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64 'INSTALL=/usr/bin/install -p' 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-2.fc38.x86_64/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-2.fc38.x86_64/usr/bin install -m0755 -d /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/share/man/man8 install -m0644 -D thc-ipv6.8 /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/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-2.fc38.x86_64/usr/share/man/man8 + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 3.8-2.fc38 --unique-debug-suffix -3.8-2.fc38.x86_64 --unique-debug-src-base thc-ipv6-3.8-2.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/thc-ipv6-3.8 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/address6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/alive6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/connect6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/connsplit6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/covert_send6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/covert_send6d extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/denial6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/detect-new-ip6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/detect_sniffer6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/dnsdict6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/dnsrevenum6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/dnssecwalk extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/dos-new-ip6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/dump_dhcp6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/dump_router6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/exploit6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/fake_advertise6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/fake_dhcps6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/fake_dns6d extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/fake_dnsupdate6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/fake_mipv6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/fake_mld26 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/fake_mld6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/fake_mldrouter6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/fake_pim6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/fake_router26 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/fake_router6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/fake_solicitate6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/firewall6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/flood_advertise6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/flood_dhcpc6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/flood_mld26 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/flood_mld6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/flood_mldrouter6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/flood_redir6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/flood_router26 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/flood_router6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/flood_rs6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/flood_solicitate6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/flood_unreach6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/four2six extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/fragmentation6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/fragrouter6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/fuzz_dhcpc6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/fuzz_dhcps6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/fuzz_ip6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/implementation6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/implementation6d extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/inject_alive6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/inverse_lookup6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/kill_router6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/ndpexhaust26 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/ndpexhaust6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/node_query6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/parasite6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/passive_discovery6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/randicmp6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/redir6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/redirsniff6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/rsmurf6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/sendpees6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/sendpeesmp6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/smurf6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/thcping6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/thcsyn6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/toobig6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/toobigsniff6 extracting debug info from /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/bin/trace6 original debug info size: 8664kB, size after compression: 6976kB /usr/bin/sepdebugcrcfix: Updated 68 CRC32s, 0 CRC32s did match. 3592 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/trace62list.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/bin/thc-ipv6-setup.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/bin/six2four.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/bin/local_discovery6.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/bin/fragrouter6.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/bin/extract_networks6.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/bin/extract_hosts6.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/bin/dos_mld6.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/bin/dnssecwalk.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/bin/dnsrevenum6.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/bin/create_network_map.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/bin/connsplit6.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/bin/axfr.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/bin/axfr-reverse.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/bin/alive2map.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/bin/6to4test.sh from /bin/bash to #!/usr/bin/bash + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: thc-ipv6-3.8-2.fc38.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.terZJp + umask 022 + cd /builddir/build/BUILD + cd thc-ipv6-3.8 + DOCDIR=/builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/share/doc/thc-ipv6 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/share/doc/thc-ipv6 + cp -pr CHANGES /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/share/doc/thc-ipv6 + cp -pr HOWTO-INJECT /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/share/doc/thc-ipv6 + cp -pr README /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/share/doc/thc-ipv6 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.FevK8j + umask 022 + cd /builddir/build/BUILD + cd thc-ipv6-3.8 + LICENSEDIR=/builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/share/licenses/thc-ipv6 + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/share/licenses/thc-ipv6 + cp -pr LICENSE /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/share/licenses/thc-ipv6 + cp -pr LICENSE.OPENSSL /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64/usr/share/licenses/thc-ipv6 + RPM_EC=0 ++ jobs -p + exit 0 Provides: thc-ipv6 = 3.8-2.fc38 thc-ipv6(x86-64) = 3.8-2.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/bash /usr/bin/perl libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libnetfilter_queue.so.1()(64bit) libpcap.so.1()(64bit) perl(Socket) rtld(GNU_HASH) Processing files: thc-ipv6-debugsource-3.8-2.fc38.x86_64 Provides: thc-ipv6-debugsource = 3.8-2.fc38 thc-ipv6-debugsource(x86-64) = 3.8-2.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: thc-ipv6-debuginfo-3.8-2.fc38.x86_64 Provides: debuginfo(build-id) = 022f8f3a12daff11cfccaf5efb05350d34a1cff1 debuginfo(build-id) = 0662d98a463d6d4a3a134b19c043a2a73683bf70 debuginfo(build-id) = 0feda46bfc66848297aa7bca2b6a29b601982d3e debuginfo(build-id) = 15af5c89a8f592eb8c7cbf1b046028b34470fcb0 debuginfo(build-id) = 19a0354585bc863af723dbbc460c9b6a1c639c64 debuginfo(build-id) = 19cdfb55a40e7d92fc354c50ff9ffa0cbb463d3b debuginfo(build-id) = 1bbdea6b2a5f844013bac154e8cede5c28df92e3 debuginfo(build-id) = 1d6614a8a930b7b3bbdb1f75dd1942b8ccbcc034 debuginfo(build-id) = 20adf447b96f8bd1dcfd205069997c8f85263201 debuginfo(build-id) = 21f206230e11d86a6204ff08bc94f2eb029c04b7 debuginfo(build-id) = 2268bed868c5da3a8ab76dd47ff6df5bce03eea6 debuginfo(build-id) = 276f72df11e211c0bae076fcb47c2be9860053f2 debuginfo(build-id) = 283f6b7486907cde104c6249ba659a52d5ffb197 debuginfo(build-id) = 2dad23094626c3fefdf1e7787639ed16eb17737c debuginfo(build-id) = 317e4a222a46db653d9812f80119fe05fd628755 debuginfo(build-id) = 3266322b4e0a6389e9052ea539eb8e32b4ab0935 debuginfo(build-id) = 3d9206eaae72a81658e569bbf77fc06fdedb2188 debuginfo(build-id) = 3fe6c13823dfd7ef4664ddcfdc5d661e34a82e61 debuginfo(build-id) = 417b371ad7c1589bb475159f282e163bbea4f849 debuginfo(build-id) = 41f2fb49123524af92b393c4a48a5ac22a4bf45b debuginfo(build-id) = 485628bf41d215a1b4e5d0790976eeff307cbeb8 debuginfo(build-id) = 4aac22fecc93f4bfb803cf82ac630d6fc1449138 debuginfo(build-id) = 4b5d00fbfed730ec943311a78983692f9ce513c2 debuginfo(build-id) = 5274a968dff854d3b907a2be80491d17e5b3ab65 debuginfo(build-id) = 55fe1eb3dc69fc57c82aefff648e266a04a39f29 debuginfo(build-id) = 57b5a74ce2ce6a8736e8567e3a442649ba3804ce debuginfo(build-id) = 5824c6ca9709eb5b8c004c0382b3d2d0d74708c6 debuginfo(build-id) = 6bc2bb073e5c0ce4c91e8e29878d61503bfe8866 debuginfo(build-id) = 7373330826abc9f75033f1ec04bb31236f6c8700 debuginfo(build-id) = 7c31dbeba7e018b290c9098d26f77988b59c08bf debuginfo(build-id) = 7d2aa33e6268603436a8663a1805e6e80046e4d5 debuginfo(build-id) = 7d834b010a2fbe0d21e5116ea148d6eb4022df9e debuginfo(build-id) = 8579935a89289de10a254bdbe8af8bd1b18601b9 debuginfo(build-id) = 89a02a285444688fb3d7d373a9b2cb3bedbbd8cc debuginfo(build-id) = 8e08b2ef9d09e514e28aa567317f0f2e8cfa4c44 debuginfo(build-id) = 94b1bdae2a3908cfbdbbacfa0ba12fa71dceee97 debuginfo(build-id) = 975f24d55e494cde9e83c68dba7189827306f6f3 debuginfo(build-id) = 9901bd5f38294867f164f27df1af90eb3612877e debuginfo(build-id) = 9b3ffe2ec97c1a2f53ac0d184e7c6c8302b3deb1 debuginfo(build-id) = 9b8701369aa947de97e16a0496e321d72da20189 debuginfo(build-id) = ac714b2ea80f69e026ce5fed52fc269b1f9a1ca9 debuginfo(build-id) = b4dcc75f94364bf3af0b7b9324d379d82e81b980 debuginfo(build-id) = b634cd2555a878522b2211a78153a14487a86038 debuginfo(build-id) = c13eb0ee489ebad7fd6bae238d01e93f2e8854e5 debuginfo(build-id) = c514ac939a9242b9d55758f9cf4355ea29c58518 debuginfo(build-id) = c8ef6599c8f85034a636311b17376481bd675ce2 debuginfo(build-id) = c9fa93d2fea364bc613b900c56e2d443711b3d48 debuginfo(build-id) = ccdd08d71ad9c6666b6f0a0f3a537ddeaae3b189 debuginfo(build-id) = cd59d66bf7911eacc0a10e2df1d7b4545fd5171b debuginfo(build-id) = ce1c5a363d449f63f31a4416e103bc89369a08eb debuginfo(build-id) = d434f9eed9a18e08e021858316b426f612176f86 debuginfo(build-id) = d652d80b6834f8377112eaffd886f03f202fa0fb debuginfo(build-id) = d75840a4ccd0cecaef7cc61806464da467863441 debuginfo(build-id) = dbd13fd34e7faee1c7224dee3397630ac75f7693 debuginfo(build-id) = dca737264b7e5ae104138c78f9dc20b5a6e550f7 debuginfo(build-id) = dd204f095f0296f1c952a05d8abfe4a23dad5988 debuginfo(build-id) = e09f16867f159d09005d253fafd0b877f4055c91 debuginfo(build-id) = e39fdf161f4a8fe9f0a0b08f8f9c3a79972540d7 debuginfo(build-id) = e6419f40c0e0cb1ba94d9b02c59d14aa968e2be9 debuginfo(build-id) = e7362562950aae0978d1d59f63f1705703337245 debuginfo(build-id) = eab81ed957244dcd801c3785ecd0b88831de5d0b debuginfo(build-id) = ecbca584e9fe9bee8fbe6dae3892bddb4aaa86c2 debuginfo(build-id) = edd9a21a4cfbb6b4eaf8ea1b8dbefabc1fffe76f debuginfo(build-id) = eef1f19ee90c87136c5bb360e94f839b557cdaec debuginfo(build-id) = f0230cd7e34c2e18893da409e52a23dcc8824a7a debuginfo(build-id) = f3286818608a26b870c000d930d9e7590e4712b5 debuginfo(build-id) = f64732d147091a8f4305af9fa3725f5b7c1d6fca debuginfo(build-id) = f98b1abc31b1d89c8153da00a131456bd72b6627 thc-ipv6-debuginfo = 3.8-2.fc38 thc-ipv6-debuginfo(x86-64) = 3.8-2.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: thc-ipv6-debugsource(x86-64) = 3.8-2.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64 Wrote: /builddir/build/RPMS/thc-ipv6-3.8-2.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/thc-ipv6-debugsource-3.8-2.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/thc-ipv6-debuginfo-3.8-2.fc38.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.pYkESS + umask 022 + cd /builddir/build/BUILD + cd thc-ipv6-3.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/thc-ipv6-3.8-2.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.IhJupg + umask 022 + cd /builddir/build/BUILD + rm -rf thc-ipv6-3.8 thc-ipv6-3.8.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0