* Package: net-analyzer/hunt-1.5_p6_p1 * Repository: gentoo * Maintainer: netmon@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking hunt_1.5.orig.tar.gz to /var/tmp/portage/net-analyzer/hunt-1.5_p6_p1/work >>> Unpacking hunt_1.5-6.1.diff.gz to /var/tmp/portage/net-analyzer/hunt-1.5_p6_p1/work >>> Source unpacked in /var/tmp/portage/net-analyzer/hunt-1.5_p6_p1/work >>> Preparing source in /var/tmp/portage/net-analyzer/hunt-1.5_p6_p1/work/hunt-1.5 ... * Applying hunt_1.5-6.1.diff ... [ ok ] * Applying hunt-1.5-exit.patch ... [ ok ] * Applying hunt-1.5-gentoo.patch ... [ ok ] * Applying hunt-1.5-log2.patch ... [ ok ] * Applying hunt-1.5-tpserv-log.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-analyzer/hunt-1.5_p6_p1/work/hunt-1.5 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/net-analyzer/hunt-1.5_p6_p1/work/hunt-1.5 ... make -j4 CC=x86_64-pc-linux-gnu-gcc 'LDFLAGS=-O2 -pipe -march=native -frecord-gcc-switches -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' -C . make: Entering directory '/var/tmp/portage/net-analyzer/hunt-1.5_p6_p1/work/hunt-1.5' x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -Wall -D_REENTRANT -std=gnu89 -DSYNC_FAST -c -o hunt.o hunt.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -Wall -D_REENTRANT -std=gnu89 -DSYNC_FAST -c -o main.o main.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -Wall -D_REENTRANT -std=gnu89 -DSYNC_FAST -c -o c/list.o c/list.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -Wall -D_REENTRANT -std=gnu89 -DSYNC_FAST -c -o c/hash.o c/hash.c c/list.c: In function ‘__func_remove_at’: c/list.c:252:12: warning: cast from pointer to integer of different size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-to-int-cast-Wpointer-to-int-cast]8;;] 252 | if (nr == (int) m) | ^ c/list.c: In function ‘list_remove_at’: c/list.c:297:44: warning: cast to pointer from integer of different size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast]8;;] 297 | return __list_remove(l, __func_remove_at, (void *) nr); | ^ hunt.c: In function ‘conn_add_update’: hunt.c:393:30: warning: variable ‘h_dst’ set but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-but-set-variable-Wunused-but-set-variable]8;;] 393 | struct host_info *h_src, *h_dst; | ^~~~~ hunt.c: In function ‘mac_arp_learn’: hunt.c:696:7: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 696 | mac = arpethh->ar_sha; | ^ hunt.c: In function ‘mac_ip_learn’: hunt.c:710:6: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 710 | mac = p->p_ethh->h_source; | ^ main.c: In function ‘a_hijack’: main.c:350:34: warning: pointer targets in passing argument 2 of ‘user_arp_hijack’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 350 | retval = user_arp_hijack(&uci, src_fake_mac, dst_fake_mac, input_mode); | ^~~~~~~~~~~~ | | | unsigned char * In file included from main.c:9: hunt.h:503:55: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 503 | int user_arp_hijack(struct user_conn_info *uci, char *src_fake_mac, | ~~~~~~^~~~~~~~~~~~ main.c:350:48: warning: pointer targets in passing argument 3 of ‘user_arp_hijack’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 350 | retval = user_arp_hijack(&uci, src_fake_mac, dst_fake_mac, input_mode); | ^~~~~~~~~~~~ | | | unsigned char * In file included from main.c:9: hunt.h:504:13: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 504 | char *dst_fake_mac, int input_mode); | ~~~~~~^~~~~~~~~~~~ main.c:373:24: warning: pointer targets in passing argument 1 of ‘user_arp_hijack_done’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 373 | user_arp_hijack_done(src_fake_mac, dst_fake_mac); | ^~~~~~~~~~~~ | | | unsigned char * In file included from main.c:9: hunt.h:505:33: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 505 | void user_arp_hijack_done(char *src_fake_mac, char *dst_fake_mac); | ~~~~~~^~~~~~~~~~~~ main.c:373:38: warning: pointer targets in passing argument 2 of ‘user_arp_hijack_done’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 373 | user_arp_hijack_done(src_fake_mac, dst_fake_mac); | ^~~~~~~~~~~~ | | | unsigned char * In file included from main.c:9: hunt.h:505:53: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 505 | void user_arp_hijack_done(char *src_fake_mac, char *dst_fake_mac); | ~~~~~~^~~~~~~~~~~~ main.c: In function ‘main’: main.c:509:56: warning: backslash and newline separated by space 509 | fprintf(stderr, "Network interface %s does not have "\ | hunt.c: In function ‘print_mac_table’: hunt.c:1016:26: warning: pointer targets in passing argument 2 of ‘sprintf_eth_mac’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 1016 | sprintf_eth_mac(buf, mi->mac); | ~~^~~~~ | | | char * In file included from hunt.c:9: hunt.h:422:45: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 422 | int sprintf_eth_mac(char *b, unsigned char *mac); | ~~~~~~~~~~~~~~~^~~ main.c: In function ‘simple_hijack’: main.c:250:4: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 250 | fgets(cmdbuf, sizeof(cmdbuf), stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from main.c:14: In function ‘strncpy’, inlined from ‘main’ at main.c:499:2: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 16 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wstringop-truncation-Wstringop-truncation]8;;] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -Wall -D_REENTRANT -std=gnu89 -DSYNC_FAST -c -o c/array.o c/array.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -Wall -D_REENTRANT -std=gnu89 -DSYNC_FAST -c -o util.o util.c In file included from c/array.c:10: c/array.c: In function ‘array_init’: c/array.c:27:9: warning: suggest parentheses around assignment used as truth value []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wparentheses-Wparentheses]8;;] 27 | assert(a->a_arr = malloc(size * sizeof(struct array_item))); | ^ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -Wall -D_REENTRANT -std=gnu89 -DSYNC_FAST -c -o net.o net.c net.c: In function ‘is_icmp_reply’: net.c:189:17: warning: variable ‘seq’ set but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-but-set-variable-Wunused-but-set-variable]8;;] 189 | unsigned short seq, id; | ^~~ In file included from /usr/include/string.h:495, from net.c:13: In function ‘strncpy’, inlined from ‘send_tcp_packet’ at net.c:85:2: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 14 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wstringop-truncation-Wstringop-truncation]8;;] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘send_icmp_packet’ at net.c:151:2: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 14 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wstringop-truncation-Wstringop-truncation]8;;] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -Wall -D_REENTRANT -std=gnu89 -DSYNC_FAST -c -o rst.o rst.c In function ‘strncpy’, inlined from ‘send_arp_packet’ at net.c:246:2: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 14 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wstringop-truncation-Wstringop-truncation]8;;] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘send_packet’ at net.c:274:2: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 14 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wstringop-truncation-Wstringop-truncation]8;;] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -Wall -D_REENTRANT -std=gnu89 -DSYNC_FAST -c -o menu.o menu.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -Wall -D_REENTRANT -std=gnu89 -DSYNC_FAST -c -o hijack.o hijack.c rst.c: In function ‘rst’: rst.c:60:14: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 60 | ts.src_mac = ci->dst.dst_mac; | ^ rst.c:61:14: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 61 | ts.dst_mac = ci->dst.src_mac; | ^ rst.c:69:14: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 69 | ts.src_mac = ci->src.dst_mac; | ^ rst.c:70:14: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 70 | ts.dst_mac = ci->src.src_mac; | ^ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -Wall -D_REENTRANT -std=gnu89 -DSYNC_FAST -c -o rstd.o rstd.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -Wall -D_REENTRANT -std=gnu89 -DSYNC_FAST -c -o sniff.o sniff.c menu.c: In function ‘menu_choose_mac’: menu.c:254:22: warning: pointer targets in passing argument 2 of ‘parse_mac’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 254 | if (parse_mac(buf, mac_ret) == 0) | ^~~~~~~ | | | unsigned char * menu.c:173:32: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 173 | int parse_mac(char *buf, char *mac_ret) | ~~~~~~^~~~~~~ menu.c: In function ‘menu_choose_ports’: menu.c:281:24: warning: pointer targets in passing argument 2 of ‘parse_ports’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 281 | if (parse_ports(buf, ret_ports) == 0) | ^~~~~~~~~ | | | int * menu.c:58:42: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 58 | int parse_ports(char *buf, unsigned int *ret_ports) | ~~~~~~~~~~~~~~^~~~~~~~~ menu.c: In function ‘menu_choose_host_mask_ports_dfl’: menu.c:347:29: warning: pointer targets in passing argument 1 of ‘sprintf_db_ports’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 347 | buf_p += sprintf_db_ports(dfl_ports, buf_p, | ^~~~~~~~~ | | | int * In file included from menu.c:9: hunt.h:415:36: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 415 | int sprintf_db_ports(unsigned int *ports, char *buf, int buf_size, int all); | ~~~~~~~~~~~~~~^~~~~ menu.c: In function ‘menu’: menu.c:522:12: warning: field width specifier ‘*’ expects argument of type ‘int’, but argument 2 has type ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;] 522 | printf("%*s", strlen(head) + 9, " "); | ~^~ ~~~~~~~~~~~~~~~~ | | | | int size_t {aka long unsigned int} menu.c: In function ‘menu_prompt’: menu.c:33:2: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 33 | fgets(buf, buf_size, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ menu.c: In function ‘menu_choose_char_nconn’: menu.c:426:3: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 426 | fgets(buf, sizeof(buf), stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hijack.c: In function ‘fast_ack_to_dst’: hijack.c:89:15: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 89 | ts.src_mac = ci->src.src_mac; | ^ hijack.c:90:15: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 90 | ts.dst_mac = ci->dst.src_mac; | ^ menu.c: In function ‘menu_choose_string’: menu.c:487:2: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 487 | fgets(buf, sizeof(buf), stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hijack.c: In function ‘stormack_hijack’: hijack.c:223:13: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 223 | ts.src_mac = ci->dst.dst_mac; | ^ hijack.c:224:13: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 224 | ts.dst_mac = ci->dst.src_mac; | ^ rstd.c: In function ‘func_tcp_packet’: rstd.c:86:27: warning: cast to pointer from integer of different size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast]8;;] 86 | p->p_arg[MODULE_RSTD] = (void *) dbi->rst_mode; | ^ rstd.c: In function ‘rst_daemon_thr’: rstd.c:140:14: warning: cast from pointer to integer of different size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-to-int-cast-Wpointer-to-int-cast]8;;] 140 | rst_mode = (int) p->p_arg[MODULE_RSTD]; | ^ rstd.c: In function ‘rst_add_item’: rstd.c:265:16: warning: pointer targets in passing argument 4 of ‘menu_choose_host_mask_ports_dfl’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 265 | &src_mask, src_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ | | | int * In file included from rstd.c:9: hunt.h:371:41: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ rstd.c:268:16: warning: pointer targets in passing argument 4 of ‘menu_choose_host_mask_ports_dfl’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 268 | &dst_mask, dst_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ | | | int * In file included from rstd.c:9: hunt.h:371:41: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ rstd.c:281:13: warning: pointer targets in passing argument 1 of ‘port_htons’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 281 | port_htons(src_ports); | ^~~~~~~~~ | | | int * In file included from rstd.c:9: hunt.h:428:31: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ rstd.c:285:13: warning: pointer targets in passing argument 1 of ‘port_htons’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 285 | port_htons(dst_ports); | ^~~~~~~~~ | | | int * In file included from rstd.c:9: hunt.h:428:31: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ rstd.c: In function ‘rst_mod_item’: rstd.c:314:28: warning: pointer targets in passing argument 4 of ‘menu_choose_host_mask_ports_dfl’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 314 | &src_ip, &src_mask, src_ports, | ^~~~~~~~~ | | | int * In file included from rstd.c:9: hunt.h:371:41: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ rstd.c:315:41: warning: pointer targets in passing argument 7 of ‘menu_choose_host_mask_ports_dfl’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 315 | dbi->src_addr, dbi->src_mask, dbi->src_ports) < 0) | ~~~^~~~~~~~~~~ | | | unsigned int * In file included from rstd.c:9: hunt.h:372:52: note: expected ‘int *’ but argument is of type ‘unsigned int *’ 372 | unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); | ~~~~~^~~~~~~~~ rstd.c:318:28: warning: pointer targets in passing argument 4 of ‘menu_choose_host_mask_ports_dfl’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 318 | &dst_ip, &dst_mask, dst_ports, | ^~~~~~~~~ | | | int * In file included from rstd.c:9: hunt.h:371:41: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ rstd.c:319:41: warning: pointer targets in passing argument 7 of ‘menu_choose_host_mask_ports_dfl’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 319 | dbi->dst_addr, dbi->dst_mask, dbi->dst_ports) < 0) | ~~~^~~~~~~~~~~ | | | unsigned int * In file included from rstd.c:9: hunt.h:372:52: note: expected ‘int *’ but argument is of type ‘unsigned int *’ 372 | unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); | ~~~~~^~~~~~~~~ rstd.c:326:13: warning: pointer targets in passing argument 1 of ‘port_htons’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 326 | port_htons(src_ports); | ^~~~~~~~~ | | | int * In file included from rstd.c:9: hunt.h:428:31: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ rstd.c:327:13: warning: pointer targets in passing argument 1 of ‘port_htons’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 327 | port_htons(dst_ports); | ^~~~~~~~~ | | | int * In file included from rstd.c:9: hunt.h:428:31: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ sniff.c: In function ‘sniff_item_print’: sniff.c:128:21: warning: pointer targets in passing argument 1 of ‘sprintf_db_ports’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 128 | sprintf_db_ports(si->src_ports, buf_src_ports, sizeof(buf_src_ports), 1); | ~~^~~~~~~~~~~ | | | int * In file included from sniff.c:9: hunt.h:415:36: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 415 | int sprintf_db_ports(unsigned int *ports, char *buf, int buf_size, int all); | ~~~~~~~~~~~~~~^~~~~ sniff.c:129:21: warning: pointer targets in passing argument 1 of ‘sprintf_db_ports’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 129 | sprintf_db_ports(si->dst_ports, buf_dst_ports, sizeof(buf_dst_ports), 1); | ~~^~~~~~~~~~~ | | | int * In file included from sniff.c:9: hunt.h:415:36: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 415 | int sprintf_db_ports(unsigned int *ports, char *buf, int buf_size, int all); | ~~~~~~~~~~~~~~^~~~~ sniff.c: In function ‘sniff_packet_match’: sniff.c:174:34: warning: pointer targets in passing argument 2 of ‘port_match’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 174 | port_match(tcph->source, si->src_ports) && | ~~^~~~~~~~~~~ | | | int * In file included from sniff.c:9: hunt.h:427:40: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 427 | int port_match(int port, unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ sniff.c:175:32: warning: pointer targets in passing argument 2 of ‘port_match’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 175 | port_match(tcph->dest, si->dst_ports)) | ~~^~~~~~~~~~~ | | | int * In file included from sniff.c:9: hunt.h:427:40: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 427 | int port_match(int port, unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ sniff.c:181:34: warning: pointer targets in passing argument 2 of ‘port_match’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 181 | port_match(tcph->source, si->dst_ports) && | ~~^~~~~~~~~~~ | | | int * In file included from sniff.c:9: hunt.h:427:40: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 427 | int port_match(int port, unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ sniff.c:182:32: warning: pointer targets in passing argument 2 of ‘port_match’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 182 | port_match(tcph->dest, si->src_ports)) | ~~^~~~~~~~~~~ | | | int * In file included from sniff.c:9: hunt.h:427:40: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 427 | int port_match(int port, unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ sniff.c: In function ‘sniff_add_item’: sniff.c:664:4: warning: pointer targets in passing argument 3 of ‘menu_choose_host_mask_ports_dfl’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 664 | &src_mask, src_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ | | | int * In file included from sniff.c:9: hunt.h:371:17: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~ sniff.c:664:15: warning: pointer targets in passing argument 4 of ‘menu_choose_host_mask_ports_dfl’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 664 | &src_mask, src_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ | | | int * In file included from sniff.c:9: hunt.h:371:41: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ sniff.c:667:4: warning: pointer targets in passing argument 3 of ‘menu_choose_host_mask_ports_dfl’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 667 | &dst_mask, dst_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ | | | int * In file included from sniff.c:9: hunt.h:371:17: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~ sniff.c:667:15: warning: pointer targets in passing argument 4 of ‘menu_choose_host_mask_ports_dfl’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 667 | &dst_mask, dst_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ | | | int * In file included from sniff.c:9: hunt.h:371:41: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ sniff.c:705:13: warning: pointer targets in passing argument 1 of ‘port_htons’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 705 | port_htons(src_ports); | ^~~~~~~~~ | | | int * In file included from sniff.c:9: hunt.h:428:31: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ sniff.c:709:13: warning: pointer targets in passing argument 1 of ‘port_htons’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 709 | port_htons(dst_ports); | ^~~~~~~~~ | | | int * In file included from sniff.c:9: hunt.h:428:31: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ sniff.c: In function ‘sniff_mod_item’: sniff.c:747:17: warning: pointer targets in passing argument 3 of ‘menu_choose_host_mask_ports_dfl’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 747 | &src_ip, &src_mask, src_ports, | ^~~~~~~~~ | | | int * In file included from sniff.c:9: hunt.h:371:17: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~ sniff.c:747:28: warning: pointer targets in passing argument 4 of ‘menu_choose_host_mask_ports_dfl’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 747 | &src_ip, &src_mask, src_ports, | ^~~~~~~~~ | | | int * In file included from sniff.c:9: hunt.h:371:41: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ sniff.c:751:17: warning: pointer targets in passing argument 3 of ‘menu_choose_host_mask_ports_dfl’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 751 | &dst_ip, &dst_mask, dst_ports, | ^~~~~~~~~ | | | int * In file included from sniff.c:9: hunt.h:371:17: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~ sniff.c:751:28: warning: pointer targets in passing argument 4 of ‘menu_choose_host_mask_ports_dfl’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 751 | &dst_ip, &dst_mask, dst_ports, | ^~~~~~~~~ | | | int * In file included from sniff.c:9: hunt.h:371:41: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ sniff.c:770:13: warning: pointer targets in passing argument 1 of ‘port_htons’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 770 | port_htons(src_ports); | ^~~~~~~~~ | | | int * In file included from sniff.c:9: hunt.h:428:31: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ sniff.c:771:13: warning: pointer targets in passing argument 1 of ‘port_htons’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 771 | port_htons(dst_ports); | ^~~~~~~~~ | | | int * In file included from sniff.c:9: hunt.h:428:31: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -Wall -D_REENTRANT -std=gnu89 -DSYNC_FAST -c -o macdisc.o macdisc.c rstd.c: In function ‘db_item_print’: rstd.c:228:23: warning: ‘%s’ directive writing up to 511 bytes into a region of size 508 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat-overflow=-Wformat-overflow=]8;;] 228 | sprintf(buf, "%s/%d [%s]", host_lookup(dbi->src_addr, hl_mode), | ^~ 229 | count_mask(dbi->src_mask), buf_src_ports); | ~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from rstd.c:10: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 6 or more bytes (assuming 517) into a destination of size 512 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sniff.c: In function ‘sniff_item_print’: sniff.c:135:28: warning: ‘%s’ directive writing up to 511 bytes into a region of size 508 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat-overflow=-Wformat-overflow=]8;;] 135 | sprintf(host_buf, "%s/%d [%s]", host_lookup(si->src_addr, hl_mode), | ^~ 136 | count_mask(si->src_mask), buf_src_ports); | ~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from sniff.c:12: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 6 or more bytes (assuming 517) into a destination of size 512 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ macdisc.c: In function ‘mac_discover’: macdisc.c:40:13: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 40 | as.src_mac = my_eth_mac; | ^ macdisc.c:41:13: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 41 | as.dst_mac = mac_broadcast; | ^ macdisc.c:43:16: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 43 | as.sender_mac = my_eth_mac; | ^ macdisc.c:45:16: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 45 | as.target_mac = mac_zero; | ^ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -Wall -D_REENTRANT -std=gnu89 -DSYNC_FAST -c -o tap.o tap.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -Wall -D_REENTRANT -std=gnu89 -DSYNC_FAST -c -o arphijack.o arphijack.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -Wall -D_REENTRANT -std=gnu89 -DSYNC_FAST -c -o tty.o tty.c sniff.c: In function ‘sniffer_log_print’: sniff.c:236:28: warning: ‘%d’ directive writing between 1 and 10 bytes into a region of size between 0 and 511 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat-overflow=-Wformat-overflow=]8;;] 236 | sprintf(file_name, "%s_%d", file_name_buf, ++i); | ^~ sniff.c:236:24: note: directive argument in the range [1, 2147483647] 236 | sprintf(file_name, "%s_%d", file_name_buf, ++i); | ^~~~~~~ In file included from /usr/include/stdio.h:867, from sniff.c:12: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 3 and 523 bytes into a destination of size 512 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tap.c: In function ‘get_ifc_info’: tap.c:135:17: warning: pointer targets in passing argument 1 of ‘print_eth_mac’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 135 | print_eth_mac(mac); | ^~~ | | | char * In file included from tap.c:31: hunt.h:421:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 421 | int print_eth_mac(unsigned char *mac); | ~~~~~~~~~~~~~~~^~~ arphijack.c: In function ‘watch_tty’: arphijack.c:81:14: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 81 | ts.dst_mac = wtd->ci->dst.src_mac; | ^ arphijack.c: In function ‘arp_hijack’: arphijack.c:122:21: warning: pointer targets in passing argument 3 of ‘start_arp_spoof’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 122 | ci->src.src_mac, ci->dst.src_mac, | ~~~~~~~^~~~~~~~ | | | unsigned char * In file included from arphijack.c:9: hunt.h:522:9: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 522 | char *src_mac, char *dst_mac, char *src_fake_mac, | ~~~~~~^~~~~~~ arphijack.c:122:38: warning: pointer targets in passing argument 4 of ‘start_arp_spoof’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 122 | ci->src.src_mac, ci->dst.src_mac, | ~~~~~~~^~~~~~~~ | | | unsigned char * In file included from arphijack.c:9: hunt.h:522:24: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 522 | char *src_mac, char *dst_mac, char *src_fake_mac, | ~~~~~~^~~~~~~ arphijack.c:143:19: warning: pointer targets in passing argument 3 of ‘start_arp_spoof’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 143 | ci->dst.src_mac, ci->src.src_mac, | ~~~~~~~^~~~~~~~ | | | unsigned char * In file included from arphijack.c:9: hunt.h:522:9: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 522 | char *src_mac, char *dst_mac, char *src_fake_mac, | ~~~~~~^~~~~~~ arphijack.c:143:36: warning: pointer targets in passing argument 4 of ‘start_arp_spoof’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 143 | ci->dst.src_mac, ci->src.src_mac, | ~~~~~~~^~~~~~~~ | | | unsigned char * In file included from arphijack.c:9: hunt.h:522:24: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 522 | char *src_mac, char *dst_mac, char *src_fake_mac, | ~~~~~~^~~~~~~ arphijack.c:169:19: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 169 | wtd.src_fake_mac = asi_src ? asi_src->src_fake_mac : ci->src.src_mac; | ^ arphijack.c:200:16: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 200 | ts.src_mac = asi_src ? asi_src->src_fake_mac : | ^ arphijack.c:202:16: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 202 | ts.dst_mac = ci->dst.src_mac; | ^ arphijack.c:224:16: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 224 | ts.src_mac = asi_dst ? asi_dst->src_fake_mac : | ^ arphijack.c:226:16: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 226 | ts.dst_mac = ci->src.src_mac; | ^ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -Wall -D_REENTRANT -std=gnu89 -DSYNC_FAST -c -o synchijack.o synchijack.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -Wall -D_REENTRANT -std=gnu89 -DSYNC_FAST -c -o arpspoof.o arpspoof.c synchijack.c: In function ‘hijack_sync_init_msg’: synchijack.c:153:14: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 153 | ts.src_mac = ci->src.dst_mac; | ^ synchijack.c:154:14: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 154 | ts.dst_mac = ci->src.src_mac; | ^ synchijack.c: In function ‘need_read_write_negative’: synchijack.c:220:13: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 220 | ts.src_mac = ci->dst.dst_mac; | ^ synchijack.c:221:13: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 221 | ts.dst_mac = ci->dst.src_mac; | ^ synchijack.c: In function ‘need_write_positive’: synchijack.c:279:13: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 279 | ts.src_mac = ci->src.dst_mac; | ^ synchijack.c:280:13: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 280 | ts.dst_mac = ci->src.src_mac; | ^ synchijack.c: In function ‘need_read_positive’: synchijack.c:307:13: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 307 | ts.src_mac = ci->src.dst_mac; | ^ synchijack.c:308:13: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 308 | ts.dst_mac = ci->src.src_mac; | ^ synchijack.c: In function ‘f_hijack_sync’: synchijack.c:419:16: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 419 | ts.src_mac = ci->dst.dst_mac; | ^ synchijack.c:420:16: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 420 | ts.dst_mac = ci->dst.src_mac; | ^ synchijack.c: In function ‘hijack_sync’: synchijack.c:467:17: warning: unused variable ‘p’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-variable-Wunused-variable]8;;] 467 | struct packet *p; | ^ synchijack.c:463:29: warning: unused variable ‘ifunc_dst’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-variable-Wunused-variable]8;;] 463 | struct ifunc_item ifunc_f, ifunc_dst; | ^~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -Wall -D_REENTRANT -std=gnu89 -DSYNC_FAST -c -o hostup.o hostup.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -Wall -D_REENTRANT -std=gnu89 -DSYNC_FAST -c -o addpolicy.o addpolicy.c arpspoof.c: In function ‘send_src_spoof_to_dst’: arpspoof.c:85:17: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 85 | as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : asi->src_fake_mac; | ^ arpspoof.c:86:17: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 86 | as_dst.dst_mac = asi->dst_mac; | ^ arpspoof.c:88:20: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 88 | as_dst.sender_mac = asi->src_fake_mac; | ^ arpspoof.c:90:20: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 90 | as_dst.target_mac = asi->dst_mac; | ^ arpspoof.c: In function ‘send_src_spoof_to_dst_through_request’: arpspoof.c:117:17: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 117 | as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : asi->src_fake_mac; | ^ arpspoof.c:118:17: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 118 | as_dst.dst_mac = asi->dst_mac; /* don't use broadcast - we want that it is received only by the target */ | ^ arpspoof.c:120:20: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 120 | as_dst.sender_mac = asi->src_fake_mac; | ^ arpspoof.c:122:20: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 122 | as_dst.target_mac = mac_zero; | ^ arpspoof.c: In function ‘stop_arp_spoof’: arpspoof.c:543:19: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 543 | as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : | ^ arpspoof.c:546:19: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 546 | as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : | ^ arpspoof.c:548:18: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 548 | as_dst.dst_mac = asi->dst_mac; | ^ arpspoof.c:550:21: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 550 | as_dst.sender_mac = asi_src_mac; | ^ arpspoof.c:552:21: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 552 | as_dst.target_mac = asi->dst_mac; | ^ arpspoof.c:565:19: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 565 | as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : | ^ arpspoof.c:568:19: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 568 | as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : | ^ arpspoof.c:570:18: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 570 | as_dst.src_mac = asi->src_mac; | ^ arpspoof.c:571:18: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 571 | as_dst.dst_mac = asi->dst_mac; | ^ arpspoof.c:573:21: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 573 | as_dst.sender_mac = asi_src_mac; | ^ arpspoof.c:575:21: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 575 | as_dst.target_mac = mac_zero; | ^ arpspoof.c: In function ‘arp_spoof_range_list’: arpspoof.c:951:27: warning: pointer targets in passing argument 2 of ‘sprintf_eth_mac’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 951 | sprintf_eth_mac(buf, asr->src_fake_mac); | ~~~^~~~~~~~~~~~~~ | | | char * In file included from arpspoof.c:9: hunt.h:422:45: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 422 | int sprintf_eth_mac(char *b, unsigned char *mac); | ~~~~~~~~~~~~~~~^~~ arpspoof.c: In function ‘arp_spoof_add_item’: arpspoof.c:1008:36: warning: pointer targets in passing argument 5 of ‘start_arp_spoof’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 1008 | mi_dst ? mi_dst->mac : NULL, src_fake_mac, | ^~~~~~~~~~~~ | | | unsigned char * arpspoof.c:398:39: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 398 | char *src_mac, char *dst_mac, char *src_fake_mac, | ~~~~~~^~~~~~~~~~~~ arpspoof.c: In function ‘arp_spoof_add_h’: arpspoof.c:1163:77: warning: pointer targets in passing argument 5 of ‘start_arp_spoof’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 1163 | = start_arp_spoof(src_ip, dst_ip, mi_src->mac, mi_dst->mac, src_fake_mac, | ^~~~~~~~~~~~ | | | unsigned char * arpspoof.c:398:39: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 398 | char *src_mac, char *dst_mac, char *src_fake_mac, | ~~~~~~^~~~~~~~~~~~ arpspoof.c:1165:77: warning: pointer targets in passing argument 5 of ‘start_arp_spoof’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 1165 | = start_arp_spoof(dst_ip, src_ip, mi_dst->mac, mi_src->mac, dst_fake_mac, | ^~~~~~~~~~~~ | | | unsigned char * arpspoof.c:398:39: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 398 | char *src_mac, char *dst_mac, char *src_fake_mac, | ~~~~~~^~~~~~~~~~~~ arpspoof.c: In function ‘arpspoof_test’: arpspoof.c:1390:54: warning: pointer targets in passing argument 3 of ‘send_icmp_request’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 1390 | send_icmp_request(asi->src_addr, asi->dst_addr, asi->src_fake_mac, | ~~~^~~~~~~~~~~~~~ | | | unsigned char * In file included from arpspoof.c:9: hunt.h:698:16: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 698 | char *src_mac, char *dst_mac, unsigned short seq); | ~~~~~~^~~~~~~ arpspoof.c:1391:10: warning: pointer targets in passing argument 4 of ‘send_icmp_request’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 1391 | asi->dst_mac, 1 + i); | ~~~^~~~~~~~~ | | | unsigned char * In file included from arpspoof.c:9: hunt.h:698:31: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 698 | char *src_mac, char *dst_mac, unsigned short seq); | ~~~~~~^~~~~~~ arpspoof.c:1397:16: warning: pointer targets in passing argument 4 of ‘is_icmp_reply’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 1397 | asi->dst_mac, asi->src_fake_mac); | ~~~^~~~~~~~~ | | | unsigned char * In file included from arpspoof.c:9: hunt.h:700:11: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 700 | char *src_mac, char *dst_mac); | ~~~~~~^~~~~~~ arpspoof.c:1397:30: warning: pointer targets in passing argument 5 of ‘is_icmp_reply’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 1397 | asi->dst_mac, asi->src_fake_mac); | ~~~^~~~~~~~~~~~~~ | | | unsigned char * In file included from arpspoof.c:9: hunt.h:700:26: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 700 | char *src_mac, char *dst_mac); | ~~~~~~^~~~~~~ addpolicy.c: In function ‘addpolicy_add_item’: addpolicy.c:113:16: warning: pointer targets in passing argument 4 of ‘menu_choose_host_mask_ports_dfl’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 113 | &src_mask, src_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ | | | int * hostup.c: In function ‘perform_ping’: In file included from addpolicy.c:9: hunt.h:371:41: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ hostup.c:87:14: warning: pointer targets in passing argument 3 of ‘send_icmp_request’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 87 | ip, my_eth_mac, | ^~~~~~~~~~ | | | unsigned char * addpolicy.c:116:16: warning: pointer targets in passing argument 4 of ‘menu_choose_host_mask_ports_dfl’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 116 | &dst_mask, dst_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ | | | int * In file included from addpolicy.c:9: hunt.h:371:41: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ In file included from hostup.c:9: hunt.h:698:16: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 698 | char *src_mac, char *dst_mac, unsigned short seq); | ~~~~~~^~~~~~~ hostup.c:93:7: warning: pointer targets in passing argument 3 of ‘send_icmp_request’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 93 | my_eth_mac, fake_mac, htons(j + 2000)); | ^~~~~~~~~~ | | | unsigned char * addpolicy.c:125:13: warning: pointer targets in passing argument 1 of ‘port_htons’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 125 | port_htons(src_ports); | ^~~~~~~~~ | | | int * In file included from hostup.c:9: hunt.h:698:16: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 698 | char *src_mac, char *dst_mac, unsigned short seq); | ~~~~~~^~~~~~~ In file included from addpolicy.c:9: hunt.h:428:31: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ hostup.c:93:19: warning: pointer targets in passing argument 4 of ‘send_icmp_request’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 93 | my_eth_mac, fake_mac, htons(j + 2000)); | ^~~~~~~~ | | | unsigned char * In file included from hostup.c:9: hunt.h:698:31: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 698 | char *src_mac, char *dst_mac, unsigned short seq); | ~~~~~~^~~~~~~ addpolicy.c:129:13: warning: pointer targets in passing argument 1 of ‘port_htons’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 129 | port_htons(dst_ports); | ^~~~~~~~~ | | | int * In file included from addpolicy.c:9: hunt.h:428:31: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ hostup.c:106:17: warning: pointer targets in passing argument 4 of ‘is_icmp_reply’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 106 | p->p_ethh->h_source, my_eth_mac) || | ~~~~~~~~~^~~~~~~~~~ | | | unsigned char * In file included from hostup.c:9: hunt.h:700:11: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 700 | char *src_mac, char *dst_mac); | ~~~~~~^~~~~~~ hostup.c:106:29: warning: pointer targets in passing argument 5 of ‘is_icmp_reply’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 106 | p->p_ethh->h_source, my_eth_mac) || | ^~~~~~~~~~ | | | unsigned char * In file included from hostup.c:9: hunt.h:700:26: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 700 | char *src_mac, char *dst_mac); | ~~~~~~^~~~~~~ addpolicy.c: In function ‘addpolicy_mod_item’: hostup.c:108:8: warning: pointer targets in passing argument 4 of ‘is_icmp_reply’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 108 | fake_mac, my_eth_mac))) { | ^~~~~~~~ | | | unsigned char * addpolicy.c:150:28: warning: pointer targets in passing argument 4 of ‘menu_choose_host_mask_ports_dfl’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 150 | &src_ip, &src_mask, src_ports, | ^~~~~~~~~ | | | int * In file included from hostup.c:9: hunt.h:700:11: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 700 | char *src_mac, char *dst_mac); | ~~~~~~^~~~~~~ In file included from addpolicy.c:9: hunt.h:371:41: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ hostup.c:108:18: warning: pointer targets in passing argument 5 of ‘is_icmp_reply’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 108 | fake_mac, my_eth_mac))) { | ^~~~~~~~~~ | | | unsigned char * addpolicy.c:151:41: warning: pointer targets in passing argument 7 of ‘menu_choose_host_mask_ports_dfl’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 151 | api->src_addr, api->src_mask, api->src_ports) < 0) | ~~~^~~~~~~~~~~ | | | unsigned int * In file included from hostup.c:9: hunt.h:700:26: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 700 | char *src_mac, char *dst_mac); | ~~~~~~^~~~~~~ In file included from addpolicy.c:9: hunt.h:372:52: note: expected ‘int *’ but argument is of type ‘unsigned int *’ 372 | unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); | ~~~~~^~~~~~~~~ addpolicy.c:154:28: warning: pointer targets in passing argument 4 of ‘menu_choose_host_mask_ports_dfl’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 154 | &dst_ip, &dst_mask, dst_ports, | ^~~~~~~~~ | | | int * In file included from addpolicy.c:9: hunt.h:371:41: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ addpolicy.c:155:41: warning: pointer targets in passing argument 7 of ‘menu_choose_host_mask_ports_dfl’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 155 | api->dst_addr, api->dst_mask, api->dst_ports) < 0) | ~~~^~~~~~~~~~~ | | | unsigned int * hostup.c: In function ‘send_arp_message’: In file included from addpolicy.c:9: hunt.h:372:52: note: expected ‘int *’ but argument is of type ‘unsigned int *’ 372 | unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); | ~~~~~^~~~~~~~~ hostup.c:125:13: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 125 | as.src_mac = my_eth_mac; | ^ addpolicy.c:157:13: warning: pointer targets in passing argument 1 of ‘port_htons’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 157 | port_htons(src_ports); | ^~~~~~~~~ | | | int * In file included from addpolicy.c:9: hunt.h:428:31: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ hostup.c:128:16: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 128 | as.sender_mac = my_eth_mac; | ^ addpolicy.c:158:13: warning: pointer targets in passing argument 1 of ‘port_htons’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 158 | port_htons(dst_ports); | ^~~~~~~~~ | | | int * In file included from addpolicy.c:9: hunt.h:428:31: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ hostup.c:130:16: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 130 | as.target_mac = mac_zero; | ^ hostup.c: In function ‘perform_arp’: hostup.c:159:27: warning: pointer targets in passing argument 2 of ‘send_arp_message’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 159 | send_arp_message(ip, mac_broadcast); | ^~~~~~~~~~~~~ | | | unsigned char * hostup.c:121:53: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 121 | static void send_arp_message(unsigned int ip, char *dst_mac) | ~~~~~~^~~~~~~ hostup.c:161:27: warning: pointer targets in passing argument 2 of ‘send_arp_message’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 161 | send_arp_message(ip, fake_mac); | ^~~~~~~~ | | | unsigned char * hostup.c:121:53: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 121 | static void send_arp_message(unsigned int ip, char *dst_mac) | ~~~~~~^~~~~~~ hostup.c: In function ‘host_up’: hostup.c:299:19: warning: pointer targets in passing argument 1 of ‘sprintf_eth_mac’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 299 | sprintf_eth_mac(buf_mac, suggest_mac()); | ^~~~~~~ | | | unsigned char * In file included from hostup.c:9: hunt.h:422:27: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 422 | int sprintf_eth_mac(char *b, unsigned char *mac); | ~~~~~~^ hostup.c:300:70: warning: pointer targets in passing argument 3 of ‘menu_choose_mac’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 300 | u_choose_mac("choose unused MAC in your network", fake_mac, buf_mac) >= 0) { | ^~~~~~~ | | | unsigned char * In file included from hostup.c:9: hunt.h:365:64: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 365 | int menu_choose_mac(char *label, unsigned char *mac_ret, char *dfl); | ~~~~~~^~~ hostup.c:314:19: warning: pointer targets in passing argument 1 of ‘sprintf_eth_mac’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 314 | sprintf_eth_mac(buf_mac, suggest_mac()); | ^~~~~~~ | | | unsigned char * In file included from hostup.c:9: hunt.h:422:27: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 422 | int sprintf_eth_mac(char *b, unsigned char *mac); | ~~~~~~^ hostup.c:315:70: warning: pointer targets in passing argument 3 of ‘menu_choose_mac’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 315 | u_choose_mac("choose unused MAC in your network", fake_mac, buf_mac) >= 0) { | ^~~~~~~ | | | unsigned char * In file included from hostup.c:9: hunt.h:365:64: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 365 | int menu_choose_mac(char *label, unsigned char *mac_ret, char *dfl); | ~~~~~~^~~ addpolicy.c: In function ‘addpolicy_item_print’: addpolicy.c:79:28: warning: ‘%s’ directive writing up to 511 bytes into a region of size 508 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat-overflow=-Wformat-overflow=]8;;] 79 | sprintf(host_buf, "%s/%d [%s]", host_lookup(api->src_addr, hl_mode), | ^~ 80 | count_mask(api->src_mask), buf_src_ports); | ~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from addpolicy.c:10: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 6 or more bytes (assuming 517) into a destination of size 512 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -Wall -D_REENTRANT -std=gnu89 -DSYNC_FAST -c -o options.o options.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -Wall -D_REENTRANT -std=gnu89 -DSYNC_FAST -c -o resolv.o resolv.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -Wall -D_REENTRANT -std=gnu89 -DSYNC_FAST -c -o timer.o timer.c resolv.c: In function ‘update_thr’: resolv.c:131:11: warning: cast from pointer to integer of different size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-to-int-cast-Wpointer-to-int-cast]8;;] 131 | int fd = (int) arg; | ^ resolv.c: In function ‘resolv_init’: resolv.c:485:52: warning: cast to pointer from integer of different size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast]8;;] 485 | pthread_create(&res_update_thr, NULL, update_thr, (void *) fd_req); | ^ resolv.c: In function ‘resolv_request’: resolv.c:105:2: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 105 | write(fd_req, &req, sizeof(struct req)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resolv.c: In function ‘handle_response’: resolv.c:337:4: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 337 | read(sl->s_fd, res + 1, res->name_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resolv.c:339:4: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 339 | write(fd, buf, sizeof(struct res) + res->name_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resolv.c: In function ‘send_req_to_slave’: resolv.c:257:4: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 257 | write(sl->s_fd, &req, sizeof(struct req)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resolv.c:285:4: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 285 | write(sl->s_fd, &req, sizeof(struct req)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resolv.c: In function ‘resolv_slave’: resolv.c:226:4: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 226 | write(fd, res, sizeof(struct res) + res->name_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -Wall -D_REENTRANT -std=gnu89 -DSYNC_FAST -c -o pktrelay.o pktrelay.c pktrelay.c: In function ‘relay_add_item’: pktrelay.c:270:16: warning: pointer targets in passing argument 4 of ‘menu_choose_host_mask_ports_dfl’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 270 | &src_mask, src_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ | | | int * In file included from pktrelay.c:9: hunt.h:371:41: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ pktrelay.c:273:16: warning: pointer targets in passing argument 4 of ‘menu_choose_host_mask_ports_dfl’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 273 | &dst_mask, dst_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ | | | int * In file included from pktrelay.c:9: hunt.h:371:41: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ pktrelay.c:294:13: warning: pointer targets in passing argument 1 of ‘port_htons’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 294 | port_htons(src_ports); | ^~~~~~~~~ | | | int * In file included from pktrelay.c:9: hunt.h:428:31: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ pktrelay.c:298:13: warning: pointer targets in passing argument 1 of ‘port_htons’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 298 | port_htons(dst_ports); | ^~~~~~~~~ | | | int * In file included from pktrelay.c:9: hunt.h:428:31: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ pktrelay.c: In function ‘relay_mod_item’: pktrelay.c:334:28: warning: pointer targets in passing argument 4 of ‘menu_choose_host_mask_ports_dfl’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 334 | &src_ip, &src_mask, src_ports, | ^~~~~~~~~ | | | int * In file included from pktrelay.c:9: hunt.h:371:41: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ pktrelay.c:335:38: warning: pointer targets in passing argument 7 of ‘menu_choose_host_mask_ports_dfl’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 335 | ri->src_addr, ri->src_mask, ri->src_ports) < 0) | ~~^~~~~~~~~~~ | | | unsigned int * In file included from pktrelay.c:9: hunt.h:372:52: note: expected ‘int *’ but argument is of type ‘unsigned int *’ 372 | unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); | ~~~~~^~~~~~~~~ pktrelay.c:338:28: warning: pointer targets in passing argument 4 of ‘menu_choose_host_mask_ports_dfl’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 338 | &dst_ip, &dst_mask, dst_ports, | ^~~~~~~~~ | | | int * In file included from pktrelay.c:9: hunt.h:371:41: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ pktrelay.c:339:38: warning: pointer targets in passing argument 7 of ‘menu_choose_host_mask_ports_dfl’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 339 | ri->dst_addr, ri->dst_mask, ri->dst_ports) < 0) | ~~^~~~~~~~~~~ | | | unsigned int * In file included from pktrelay.c:9: hunt.h:372:52: note: expected ‘int *’ but argument is of type ‘unsigned int *’ 372 | unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); | ~~~~~^~~~~~~~~ pktrelay.c:367:13: warning: pointer targets in passing argument 1 of ‘port_htons’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 367 | port_htons(src_ports); | ^~~~~~~~~ | | | int * In file included from pktrelay.c:9: hunt.h:428:31: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ pktrelay.c:368:13: warning: pointer targets in passing argument 1 of ‘port_htons’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 368 | port_htons(dst_ports); | ^~~~~~~~~ | | | int * In file included from pktrelay.c:9: hunt.h:428:31: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 428 | void port_htons(unsigned int *db_ports); | ~~~~~~~~~~~~~~^~~~~~~~ pktrelay.c: In function ‘relay_item_print’: pktrelay.c:225:23: warning: ‘%s’ directive writing up to 511 bytes into a region of size 508 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat-overflow=-Wformat-overflow=]8;;] 225 | sprintf(buf, "%s/%d [%s]", host_lookup(ri->src_addr, hl_mode), | ^~ 226 | count_mask(ri->src_mask), buf_src_ports); | ~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from pktrelay.c:12: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 6 or more bytes (assuming 517) into a destination of size 512 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o hunt hunt.o main.o c/list.o c/hash.o c/array.o util.o net.o rst.o menu.o hijack.o rstd.o sniff.o macdisc.o tap.o arphijack.o tty.o synchijack.o arpspoof.o hostup.o addpolicy.o options.o resolv.o timer.o pktrelay.o -lpthread make: Leaving directory '/var/tmp/portage/net-analyzer/hunt-1.5_p6_p1/work/hunt-1.5' make -j4 CC=x86_64-pc-linux-gnu-gcc 'LDFLAGS=-O2 -pipe -march=native -frecord-gcc-switches -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' -C tpserv make: Entering directory '/var/tmp/portage/net-analyzer/hunt-1.5_p6_p1/work/hunt-1.5/tpserv' x86_64-pc-linux-gnu-gcc -Wall -O2 -g -DSYNC_FAST -c -o tpserv.o tpserv.c tpserv.c: In function ‘process_request_connect’: tpserv.c:161:25: warning: passing argument 2 of ‘connect’ from incompatible pointer type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types]8;;] 161 | if (connect(fd_remote, to_addr, to_addr_len) < 0) { | ^~~~~~~ | | | struct sockaddr_in * In file included from tpserv.c:11: /usr/include/sys/socket.h:126:52: note: expected ‘const struct sockaddr *’ but argument is of type ‘struct sockaddr_in *’ 126 | extern int connect (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len); | ^ tpserv.c:166:62: warning: pointer targets in passing argument 3 of ‘getsockname’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 166 | if (getsockname(fd_remote, (struct sockaddr *) &local_addr, &local_addr_len) < 0) { | ^~~~~~~~~~~~~~~ | | | int * In file included from tpserv.c:11: /usr/include/sys/socket.h:117:26: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 117 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ tpserv.c: In function ‘serv_slave’: tpserv.c:216:52: warning: pointer targets in passing argument 3 of ‘getsockname’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 216 | if (getsockname(fd, (struct sockaddr *) &to_addr, &to_addr_len) < 0) { | ^~~~~~~~~~~~ | | | int * In file included from tpserv.c:11: /usr/include/sys/socket.h:117:26: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 117 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ tpserv.c:222:54: warning: pointer targets in passing argument 3 of ‘getpeername’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 222 | if (getpeername(fd, (struct sockaddr *) &from_addr, &from_addr_len) < 0) { | ^~~~~~~~~~~~~~ | | | int * In file included from tpserv.c:11: /usr/include/sys/socket.h:131:26: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 131 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ tpserv.c: In function ‘main’: tpserv.c:336:54: warning: pointer targets in passing argument 3 of ‘accept’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 336 | clifd = accept(lfd, (struct sockaddr *) &cliaddr, &clilen); | ^~~~~~~ | | | int * In file included from tpserv.c:11: /usr/include/sys/socket.h:233:28: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 233 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ tpserv.c:327:3: warning: ignoring return value of ‘daemon’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 327 | daemon(0, 0); | ^~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wall -O2 -g -O2 -pipe -march=native -frecord-gcc-switches -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o tpserv tpserv.o make: Leaving directory '/var/tmp/portage/net-analyzer/hunt-1.5_p6_p1/work/hunt-1.5/tpserv' >>> Source compiled. >>> Test phase: net-analyzer/hunt-1.5_p6_p1 >>> Completed testing net-analyzer/hunt-1.5_p6_p1 >>> Install net-analyzer/hunt-1.5_p6_p1 into /var/tmp/portage/net-analyzer/hunt-1.5_p6_p1/image >>> Completed installing net-analyzer/hunt-1.5_p6_p1 into /var/tmp/portage/net-analyzer/hunt-1.5_p6_p1/image * Final size of build directory: 1152 KiB (1.1 MiB) * Final size of installed tree: 324 KiB * QA Notice: Files built without respecting CFLAGS have been detected * Please include the following list of files in your report: * /usr/sbin/tpserv strip: x86_64-pc-linux-gnu-strip --strip-unneeded -N __gentoo_check_ldflags__ -R .comment -R .GCC.command.line -R .note.gnu.gold-version /usr/sbin/tpserv /usr/sbin/hunt >>> Done. emerge --info: Portage 2.3.99 (python 3.7.7-final-0, default/linux/amd64/17.1, gcc-10.1.0, glibc-2.31-r3, 5.4.0-1009-aws x86_64) ================================================================= System uname: Linux-5.4.0-1009-aws-x86_64-AMD_EPYC_7571-with-gentoo-2.7 KiB Mem: 16011344 total, 3945320 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Sat, 23 May 2020 18:35:26 +0000 sh bash 5.0_p17 ld GNU ld (Gentoo 2.34 p4) 2.34.0 app-shells/bash: 5.0_p17::gentoo dev-lang/perl: 5.30.2-r2::gentoo dev-lang/python: 2.7.18::gentoo, 3.7.7-r2::gentoo, 3.8.3::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.18::gentoo sys-devel/autoconf: 2.69-r5::gentoo sys-devel/automake: 1.16.2::gentoo sys-devel/binutils: 2.34-r1::gentoo sys-devel/gcc: 10.1.0::gentoo sys-devel/gcc-config: 2.3::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.6::gentoo (virtual/os-headers) sys-libs/glibc: 2.31-r3::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-max-age: 24 sync-rsync-verify-metamanifest: yes sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CC="x86_64-pc-linux-gnu-gcc" CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXX="x86_64-pc-linux-gnu-g++" CXXFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y --binpkg-respect-use=y -1 -b -k" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" MAKEOPTS="-j4" PKGDIR="/root/.packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl amd64 berkdb bzip2 cli crypt dri fortran gdbm iconv ipv6 libtirpc multilib ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS