<86>Nov 13 11:52:33 userdel[2624889]: delete user 'rooter' <86>Nov 13 11:52:33 userdel[2624889]: removed group 'rooter' owned by 'rooter' <86>Nov 13 11:52:33 userdel[2624889]: removed shadow group 'rooter' owned by 'rooter' <86>Nov 13 11:52:33 groupadd[2624920]: group added to /etc/group: name=rooter, GID=681 <86>Nov 13 11:52:33 groupadd[2624920]: group added to /etc/gshadow: name=rooter <86>Nov 13 11:52:33 groupadd[2624920]: new group: name=rooter, GID=681 <86>Nov 13 11:52:33 useradd[2624966]: new user: name=rooter, UID=681, GID=681, home=/root, shell=/bin/bash <86>Nov 13 11:52:33 userdel[2625010]: delete user 'builder' <86>Nov 13 11:52:33 userdel[2625010]: removed group 'builder' owned by 'builder' <86>Nov 13 11:52:33 userdel[2625010]: removed shadow group 'builder' owned by 'builder' <86>Nov 13 11:52:33 groupadd[2625033]: group added to /etc/group: name=builder, GID=682 <86>Nov 13 11:52:33 groupadd[2625033]: group added to /etc/gshadow: name=builder <86>Nov 13 11:52:33 groupadd[2625033]: new group: name=builder, GID=682 <86>Nov 13 11:52:33 useradd[2625045]: new user: name=builder, UID=682, GID=682, home=/usr/src, shell=/bin/bash warning: user victor does not exist - using root warning: group victor does not exist - using root warning: user victor does not exist - using root warning: group victor does not exist - using root warning: user victor does not exist - using root warning: group victor does not exist - using root warning: user victor does not exist - using root warning: group victor does not exist - using root warning: user victor does not exist - using root warning: group victor does not exist - using root warning: user victor does not exist - using root warning: group victor does not exist - using root <13>Nov 13 11:52:35 rpmi: liblz4-1:1.9.2-alt1 p9+238696.500.1.1 1570228072 installed <13>Nov 13 11:52:35 rpmi: libgpg-error-1.36-alt1 p9+261942.140.4.1 1606237682 installed <13>Nov 13 11:52:35 rpmi: libgcrypt20-1.8.5-alt3 p9+261942.200.4.1 1606237844 installed <13>Nov 13 11:52:35 rpmi: libsystemd-1:247.11-alt1 p9+293887.400.6.1 1643984325 installed <13>Nov 13 11:52:35 rpmi: libdbus-1.12.16-alt2 p9+240607.100.1.1 1573553670 installed <13>Nov 13 11:52:35 rpmi: libpcap0.8-2:1.9.1-alt2 p9+263886.100.3.1 1609171732 installed <13>Nov 13 11:52:35 rpmi: libpcap-devel-2:1.9.1-alt2 p9+263886.100.3.1 1609171732 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/p0f-2.0.8-alt1.nosrc.rpm (w1.gzdio) Installing p0f-2.0.8-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.56345 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf p0f + echo 'Source #0 (p0f-2.0.8.tgz):' Source #0 (p0f-2.0.8.tgz): + /bin/gzip -dc /usr/src/RPM/SOURCES/p0f-2.0.8.tgz + /bin/tar -xf - + cd p0f + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (p0f-2.0.5-query.patch):' Patch #0 (p0f-2.0.5-query.patch): + /usr/bin/patch -p1 patching file p0f-query.c Hunk #1 succeeded at 74 (offset 5 lines). + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.85863 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd p0f + make 'CC=gcc -pipe -frecord-gcc-switches -Wall -g -O2' make: Entering directory '/usr/src/RPM/BUILD/p0f' ./Build all Your system type is: Linux Please help with p0f 2: http://lcamtuf.coredump.cx/p0f-help/ GNU make found at /usr/bin/gmake, trying to use it... gmake[1]: Entering directory '/usr/src/RPM/BUILD/p0f' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -O3 -Wall -fomit-frame-pointer -funroll-loops -DUSE_BPF=\"pcap-bpf.h\" -I/usr/include/pcap -I/usr/local/include/pcap -I/usr/local/include -o p0f p0f.c p0f-query.c crc32.c -lpcap In file included from p0f.c:53: mtu.h:26:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 256, "radio modem" }, ^~~~~~~~~~~~~ mtu.h:26:12: note: (near initialization for 'mtu[0].dev') mtu.h:27:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 386, "ethernut" }, ^~~~~~~~~~ mtu.h:27:12: note: (near initialization for 'mtu[1].dev') mtu.h:28:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 552, "SLIP line / encap ppp" }, ^~~~~~~~~~~~~~~~~~~~~~~ mtu.h:28:12: note: (near initialization for 'mtu[2].dev') mtu.h:29:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 576, "sometimes modem" }, ^~~~~~~~~~~~~~~~~ mtu.h:29:12: note: (near initialization for 'mtu[3].dev') mtu.h:30:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 1280, "gif tunnel" }, ^~~~~~~~~~~~ mtu.h:30:12: note: (near initialization for 'mtu[4].dev') mtu.h:31:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 1300, "PIX, SMC, sometimes wireless" }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtu.h:31:12: note: (near initialization for 'mtu[5].dev') mtu.h:32:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 1362, "sometimes DSL (1)" }, ^~~~~~~~~~~~~~~~~~~ mtu.h:32:12: note: (near initialization for 'mtu[6].dev') mtu.h:33:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 1372, "cable modem" }, ^~~~~~~~~~~~~ mtu.h:33:12: note: (near initialization for 'mtu[7].dev') mtu.h:34:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 1400, "(Google/AOL)" }, /* To be investigated */ ^~~~~~~~~~~~~~ mtu.h:34:12: note: (near initialization for 'mtu[8].dev') mtu.h:35:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 1415, "sometimes wireless" }, ^~~~~~~~~~~~~~~~~~~~ mtu.h:35:12: note: (near initialization for 'mtu[9].dev') mtu.h:36:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 1420, "GPRS, T1, FreeS/WAN" }, ^~~~~~~~~~~~~~~~~~~~~ mtu.h:36:12: note: (near initialization for 'mtu[10].dev') mtu.h:37:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 1423, "sometimes cable" }, ^~~~~~~~~~~~~~~~~ mtu.h:37:12: note: (near initialization for 'mtu[11].dev') mtu.h:38:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 1440, "sometimes DSL (2)" }, ^~~~~~~~~~~~~~~~~~~ mtu.h:38:12: note: (near initialization for 'mtu[12].dev') mtu.h:39:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 1442, "IPIP tunnel" }, ^~~~~~~~~~~~~ mtu.h:39:12: note: (near initialization for 'mtu[13].dev') mtu.h:40:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 1450, "vtun" }, ^~~~~~ mtu.h:40:12: note: (near initialization for 'mtu[14].dev') mtu.h:41:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 1452, "sometimes DSL (3)" }, ^~~~~~~~~~~~~~~~~~~ mtu.h:41:12: note: (near initialization for 'mtu[15].dev') mtu.h:42:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 1454, "sometimes DSL (4)" }, ^~~~~~~~~~~~~~~~~~~ mtu.h:42:12: note: (near initialization for 'mtu[16].dev') mtu.h:43:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 1456, "ISDN ppp" }, ^~~~~~~~~~ mtu.h:43:12: note: (near initialization for 'mtu[17].dev') mtu.h:44:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 1458, "BT DSL (?)" }, ^~~~~~~~~~~~ mtu.h:44:12: note: (near initialization for 'mtu[18].dev') mtu.h:45:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 1462, "sometimes DSL (5)" }, ^~~~~~~~~~~~~~~~~~~ mtu.h:45:12: note: (near initialization for 'mtu[19].dev') mtu.h:46:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 1470, "(Google 2)" }, ^~~~~~~~~~~~ mtu.h:46:12: note: (near initialization for 'mtu[20].dev') mtu.h:47:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 1476, "IPSec/GRE" }, ^~~~~~~~~~~ mtu.h:47:12: note: (near initialization for 'mtu[21].dev') mtu.h:48:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 1480, "IPv6/IPIP" }, ^~~~~~~~~~~ mtu.h:48:12: note: (near initialization for 'mtu[22].dev') mtu.h:49:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 1492, "pppoe (DSL)" }, ^~~~~~~~~~~~~ mtu.h:49:12: note: (near initialization for 'mtu[23].dev') mtu.h:50:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 1496, "vLAN" }, ^~~~~~ mtu.h:50:12: note: (near initialization for 'mtu[24].dev') mtu.h:51:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 1500, "ethernet/modem" }, ^~~~~~~~~~~~~~~~ mtu.h:51:12: note: (near initialization for 'mtu[25].dev') mtu.h:52:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 1656, "Ericsson HIS" }, ^~~~~~~~~~~~~~ mtu.h:52:12: note: (near initialization for 'mtu[26].dev') mtu.h:53:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 2024, "wireless/IrDA" }, ^~~~~~~~~~~~~~~ mtu.h:53:12: note: (near initialization for 'mtu[27].dev') mtu.h:54:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 2048, "Cyclom X.25 WAN" }, ^~~~~~~~~~~~~~~~~ mtu.h:54:12: note: (near initialization for 'mtu[28].dev') mtu.h:55:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 2250, "AiroNet wireless" }, ^~~~~~~~~~~~~~~~~~ mtu.h:55:12: note: (near initialization for 'mtu[29].dev') mtu.h:56:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 3924, "loopback" }, ^~~~~~~~~~ mtu.h:56:12: note: (near initialization for 'mtu[30].dev') mtu.h:57:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 4056, "token ring (1)" }, ^~~~~~~~~~~~~~~~ mtu.h:57:12: note: (near initialization for 'mtu[31].dev') mtu.h:58:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 4096, "Sangoma X.25 WAN" }, ^~~~~~~~~~~~~~~~~~ mtu.h:58:12: note: (near initialization for 'mtu[32].dev') mtu.h:59:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 4352, "FDDI" }, ^~~~~~ mtu.h:59:12: note: (near initialization for 'mtu[33].dev') mtu.h:60:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 4500, "token ring (2)" }, ^~~~~~~~~~~~~~~~ mtu.h:60:12: note: (near initialization for 'mtu[34].dev') mtu.h:61:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 9180, "FORE ATM" }, ^~~~~~~~~~ mtu.h:61:12: note: (near initialization for 'mtu[35].dev') mtu.h:62:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 16384, "sometimes loopback (1)" }, ^~~~~~~~~~~~~~~~~~~~~~~~ mtu.h:62:12: note: (near initialization for 'mtu[36].dev') mtu.h:63:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 16436, "sometimes loopback (2)" }, ^~~~~~~~~~~~~~~~~~~~~~~~ mtu.h:63:12: note: (near initialization for 'mtu[37].dev') mtu.h:64:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 18000, "token ring x4" }, ^~~~~~~~~~~~~~~ mtu.h:64:12: note: (near initialization for 'mtu[38].dev') In file included from p0f.c:54: tos.h:51:10: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 2, "low cost" }, /* LC */ ^~~~~~~~~~ tos.h:51:10: note: (near initialization for 'tos[0].desc') tos.h:52:10: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 4, "high reliability" }, /* HR */ ^~~~~~~~~~~~~~~~~~ tos.h:52:10: note: (near initialization for 'tos[1].desc') tos.h:53:10: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 8, "low delay" }, /* LD */ ^~~~~~~~~~~ tos.h:53:10: note: (near initialization for 'tos[2].desc') tos.h:54:10: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 12, "DNA.FI / CTINETS" }, /* LD, HR */ ^~~~~~~~~~~~~~~~~~ tos.h:54:10: note: (near initialization for 'tos[3].desc') tos.h:55:10: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 16, "high throughput" }, /* HT */ ^~~~~~~~~~~~~~~~~ tos.h:55:10: note: (near initialization for 'tos[4].desc') tos.h:56:10: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 32, "priority1" }, /* PRI1 */ ^~~~~~~~~~~ tos.h:56:10: note: (near initialization for 'tos[5].desc') tos.h:57:10: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 40, "UTFORS Sweden" }, /* PRI1, LD */ ^~~~~~~~~~~~~~~ tos.h:57:10: note: (near initialization for 'tos[6].desc') tos.h:58:10: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 64, "Tiscali Denmark" }, /* PRI2 */ ^~~~~~~~~~~~~~~~~ tos.h:58:10: note: (near initialization for 'tos[7].desc') tos.h:59:10: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 80, "Bredband Scandinavia" }, /* PRI2, HT */ ^~~~~~~~~~~~~~~~~~~~~~ tos.h:59:10: note: (near initialization for 'tos[8].desc') tos.h:60:10: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 112, "Bonet Sweden" }, /* PRI3, HT */ ^~~~~~~~~~~~~~ tos.h:60:10: note: (near initialization for 'tos[9].desc') tos.h:61:10: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 128, "Cable.BG / Teleca.SE" }, /* PRI4 */ ^~~~~~~~~~~~~~~~~~~~~~ tos.h:61:10: note: (near initialization for 'tos[10].desc') tos.h:62:10: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 144, "IPTelecom / Alkar" }, /* PRI4, HT */ ^~~~~~~~~~~~~~~~~~~ tos.h:62:10: note: (near initialization for 'tos[11].desc') tos.h:63:10: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 244, "top priority" }, /* PRI7 */ ^~~~~~~~~~~~~~ tos.h:63:10: note: (near initialization for 'tos[12].desc') tos.h:64:10: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 255, "Arcor IP" }, /* (bad) */ ^~~~~~~~~~ tos.h:64:10: note: (near initialization for 'tos[13].desc') p0f.c:112:24: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] *use_rule = "tcp[13] & 0x17 == 2"; ^~~~~~~~~~~~~~~~~~~~~ p0f.c: In function 'collide': p0f.c:304:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(sig[i].os,sig[id].os) && ~~~~~~^~~ In file included from p0f.c:17: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ p0f.c:304:34: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(sig[i].os,sig[id].os) && ~~~~~~~^~~ In file included from p0f.c:17: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ p0f.c:305:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] !strcmp(sig[i].desc,sig[id].desc)) { ~~~~~~^~~~~ In file included from p0f.c:17: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ p0f.c:305:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] !strcmp(sig[i].desc,sig[id].desc)) { ~~~~~~~^~~~~ In file included from p0f.c:17: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ p0f.c: In function 'load_config': p0f.c:508:28: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] FILE* c = fopen(file?file:(_u8*) ~~~~~~~~~^~~~~~~ (ack_mode?SYNACK_DB:(rst_mode?RST_DB:(open_mode?OPEN_DB:SYN_DB))), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from p0f.c:35: /usr/include/stdio.h:232:14: note: expected 'const char * restrict' but argument is of type '_u8 *' {aka 'unsigned char *'} extern FILE *fopen (const char *__restrict __filename, ^~~~~ p0f.c:513:63: warning: pointer targets in passing argument 1 of 'load_config' differ in signedness [-Wpointer-sign] if (!file) load_config(ack_mode? CONFIG_DIR "/" SYNACK_DB : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ ( rst_mode ? CONFIG_DIR "/" RST_DB : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ( open_mode ? CONFIG_DIR "/" OPEN_DB : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CONFIG_DIR "/" SYN_DB ))); ~~~~~~~~~~~~~~~~~~~~~~~~ p0f.c:504:13: note: expected '_u8 *' {aka 'unsigned char *'} but argument is of type 'char *' static void load_config(_u8* file) { ^~~~~~~~~~~ p0f.c:517:19: warning: pointer targets in passing argument 1 of 'perror' differ in signedness [-Wpointer-sign] else pfatal(file); ^~~~ p0f.c:93:53: note: in definition of macro 'pfatal' #define pfatal(x) do { debug("[-] ERROR: "); perror(x); exit(1); } while (0) ^ In file included from p0f.c:35: /usr/include/stdio.h:775:13: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} extern void perror (const char *__s); ^~~~~~ p0f.c:521:19: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] while ((p=fgets(buf,sizeof(buf),c))) { ^~~ In file included from /usr/include/stdio.h:862, from p0f.c:35: /usr/include/bits/stdio2.h:252:1: note: expected 'char * restrict' but argument is of type '_u8 *' {aka 'unsigned char *'} fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^~~~~ p0f.c:521:12: warning: pointer targets in assignment from 'char *' to '_u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] while ((p=fgets(buf,sizeof(buf),c))) { ^ p0f.c:530:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] file_cksum ^= crc32(buf, strlen(buf)); ^~~ In file included from p0f.c:17: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ p0f.c:536:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] l=strlen(p); ^ In file included from p0f.c:17: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ p0f.c:543:16: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] if (sscanf(p,"%[0-9%*()ST]:%d:%d:%[0-9()*]:%[^:]:%[^ :]:%[^:]:%[^:]", ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from p0f.c:16: /usr/include/stdio.h:400:12: note: expected 'const char * restrict' but argument is of type '_u8 *' {aka 'unsigned char *'} extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^~~~~~~~~~~~~~ p0f.c:552:16: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] s = atoi(sb); ^~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from p0f.c:16: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} __NTH (atoi (const char *__nptr)) ^~~~~ p0f.c:564:33: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] sig[sigcnt].os = strdup(gptr); ^~~~ In file included from p0f.c:17: /usr/include/string.h:167:14: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} extern char *strdup (const char *__s) ^~~~~~ p0f.c:564:24: warning: pointer targets in assignment from 'char *' to '_u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] sig[sigcnt].os = strdup(gptr); ^ p0f.c:565:33: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] sig[sigcnt].desc = strdup(desc); ^~~~ In file included from p0f.c:17: /usr/include/string.h:167:14: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} extern char *strdup (const char *__s) ^~~~~~ p0f.c:565:24: warning: pointer targets in assignment from 'char *' to '_u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] sig[sigcnt].desc = strdup(desc); ^ p0f.c:576:33: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] sig[sigcnt].wsize = atoi(w+1); ~^~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from p0f.c:16: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} __NTH (atoi (const char *__nptr)) ^~~~~ p0f.c:580:33: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] sig[sigcnt].wsize = atoi(w+1); ~^~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from p0f.c:16: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} __NTH (atoi (const char *__nptr)) ^~~~~ p0f.c:582:39: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] if (!(sig[sigcnt].wsize = atoi(w+1))) ~^~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from p0f.c:16: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} __NTH (atoi (const char *__nptr)) ^~~~~ p0f.c:585:37: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] } else sig[sigcnt].wsize = atoi(w); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from p0f.c:16: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} __NTH (atoi (const char *__nptr)) ^~~~~ p0f.c:623:51: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] if (!(sig[sigcnt].wsc = atoi(p+2))) ~^~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from p0f.c:16: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} __NTH (atoi (const char *__nptr)) ^~~~~ p0f.c:628:48: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] else sig[sigcnt].wsc = atoi(p+1); ~^~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from p0f.c:16: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} __NTH (atoi (const char *__nptr)) ^~~~~ p0f.c:636:51: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] if (!(sig[sigcnt].mss = atoi(p+2))) ~^~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from p0f.c:16: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} __NTH (atoi (const char *__nptr)) ^~~~~ p0f.c:641:48: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] else sig[sigcnt].mss = atoi(p+1); ~^~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from p0f.c:16: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} __NTH (atoi (const char *__nptr)) ^~~~~ p0f.c:647:56: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] else sig[sigcnt].opt[optcnt] = atoi(p+1); ~^~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from p0f.c:16: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} __NTH (atoi (const char *__nptr)) ^~~~~ p0f.c: In function 'lookup_link': p0f.c:746:40: warning: pointer targets in returning 'char *' from a function with return type '_u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] if (!mss) return txt ? "unspecified" : 0; ~~~~~~~~~~~~~~~~~~~~^~~ p0f.c:757:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(tmp,"unknown-%d",mss); ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from p0f.c:16: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type '_u8 *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ p0f.c: In function 'put_date': p0f.c:788:9: warning: pointer targets in assignment from 'char *' to '_u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] x = asctime((add_timestamp == 1) ? localtime(&tval.tv_sec) : ^ p0f.c:791:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (x[strlen(x)-1]=='\n') x[strlen(x)-1]=0; ^ In file included from p0f.c:17: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ p0f.c:791:42: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (x[strlen(x)-1]=='\n') x[strlen(x)-1]=0; ^ In file included from p0f.c:17: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ p0f.c: In function 'grab_name': p0f.c:827:27: warning: pointer targets in returning 'char *' from a function with return type '_u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] if (!do_resolve) return ""; ^~ p0f.c:829:17: warning: pointer targets in assignment from 'char *' to '_u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] if (!r || !(s = r->h_name) || !(j = strlen(s))) return ""; ^ p0f.c:829:46: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!r || !(s = r->h_name) || !(j = strlen(s))) return ""; ^ In file included from p0f.c:17: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ p0f.c:829:58: warning: pointer targets in returning 'char *' from a function with return type '_u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] if (!r || !(s = r->h_name) || !(j = strlen(s))) return ""; ^~ p0f.c:830:29: warning: pointer targets in returning 'char *' from a function with return type '_u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] if (j > MY_MAXDNS) return ""; ^~ p0f.c: In function 'display_signature': p0f.c:869:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!tstamp) putchar('0'); d=1; break; ^~ p0f.c:869:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!tstamp) putchar('0'); d=1; break; ^ p0f.c: In function 'main': p0f.c:1519:29: warning: pointer targets in assignment from 'char *' to '_u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] case 'f': config_file = optarg; break; ^ p0f.c:1521:27: warning: pointer targets in assignment from 'char *' to '_u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] case 'i': use_iface = optarg; break; ^ p0f.c:1523:26: warning: pointer targets in assignment from 'char *' to '_u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] case 's': use_dump = optarg; break; ^ p0f.c:1525:28: warning: pointer targets in assignment from 'char *' to '_u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] case 'w': write_dump = optarg; break; ^ p0f.c:1544:28: warning: pointer targets in assignment from 'char *' to '_u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] case 'Q': use_cache = optarg; break; ^ p0f.c:1546:28: warning: pointer targets in assignment from 'char *' to '_u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] case 'u': set_user = optarg; break; ^ p0f.c:1566:26: warning: pointer targets in assignment from 'char *' to '_u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] case 'A': use_rule = "tcp[13] & 0x17 == 0x12"; ^ p0f.c:1570:26: warning: pointer targets in assignment from 'char *' to '_u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] case 'R': use_rule = "tcp[13] & 0x17 == 0x4 or tcp[13] & 0x17 == 0x14"; ^ p0f.c:1574:26: warning: pointer targets in assignment from 'char *' to '_u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] case 'O': use_rule = "tcp[13] & 0x17 == 0x10"; ^ p0f.c:1598:26: warning: pointer targets in passing argument 1 of 'usage' differ in signedness [-Wpointer-sign] default: usage(argv[0]); ~~~~^~~ p0f.c:236:13: note: expected '_u8 *' {aka 'unsigned char *'} but argument is of type 'char *' static void usage(_u8* name) { ^~~~~ p0f.c:1645:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(buf,"(%s) and (%.3000s)",use_rule,argv[optind]); ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from p0f.c:16: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type '_u8 *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ p0f.c:1650:21: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] _u8* x = strdup(use_rule); ^~~~~~~~ In file included from p0f.c:17: /usr/include/string.h:167:14: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} extern char *strdup (const char *__s) ^~~~~~ p0f.c:1650:14: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] _u8* x = strdup(use_rule); ^~~~~~ p0f.c:1651:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(buf,"(%.1000s) or (vlan and (%.1000s))",x,x); ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from p0f.c:16: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type '_u8 *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ p0f.c:1671:24: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(x.sun_path,use_cache,63); ^~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from p0f.c:16: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type '_u8 *' {aka 'unsigned char *'} __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ p0f.c:1672:12: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] unlink(use_cache); ^~~~~~~~~ In file included from p0f.c:23: /usr/include/unistd.h:825:12: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} extern int unlink (const char *__name) __THROW __nonnull ((1)); ^~~~~~ p0f.c:1673:60: warning: pointer targets in passing argument 1 of 'perror' differ in signedness [-Wpointer-sign] if (bind(lsock,(struct sockaddr*)&x,sizeof(x))) pfatal(use_cache); ^~~~~~~~~ p0f.c:93:53: note: in definition of macro 'pfatal' #define pfatal(x) do { debug("[-] ERROR: "); perror(x); exit(1); } while (0) ^ In file included from p0f.c:35: /usr/include/stdio.h:775:13: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} extern void perror (const char *__s); ^~~~~~ p0f.c:1680:32: warning: pointer targets in passing argument 1 of 'pcap_open_offline' differ in signedness [-Wpointer-sign] if (!(pt=pcap_open_offline(use_dump, errbuf))) ^~~~~~~~ In file included from p0f.c:36: /usr/include/pcap/pcap.h:413:18: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} PCAP_API pcap_t *pcap_open_offline(const char *, char *); ^~~~~~~~~~~~~~~~~ p0f.c:1680:42: warning: pointer targets in passing argument 2 of 'pcap_open_offline' differ in signedness [-Wpointer-sign] if (!(pt=pcap_open_offline(use_dump, errbuf))) ^~~~~~ In file included from p0f.c:36: /usr/include/pcap/pcap.h:413:18: note: expected 'char *' but argument is of type '_u8 *' {aka 'unsigned char *'} PCAP_API pcap_t *pcap_open_offline(const char *, char *); ^~~~~~~~~~~~~~~~~ p0f.c:1699:5: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] if (!use_iface) use_iface=pcap_lookupdev(errbuf); ^~ In file included from p0f.c:36: /usr/include/pcap/pcap.h:328:16: note: declared here PCAP_API char *pcap_lookupdev(char *) ^~~~~~~~~~~~~~ p0f.c:1699:46: warning: pointer targets in passing argument 1 of 'pcap_lookupdev' differ in signedness [-Wpointer-sign] if (!use_iface) use_iface=pcap_lookupdev(errbuf); ^~~~~~ In file included from p0f.c:36: /usr/include/pcap/pcap.h:328:16: note: expected 'char *' but argument is of type '_u8 *' {aka 'unsigned char *'} PCAP_API char *pcap_lookupdev(char *) ^~~~~~~~~~~~~~ p0f.c:1699:30: warning: pointer targets in assignment from 'char *' to '_u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] if (!use_iface) use_iface=pcap_lookupdev(errbuf); ^ p0f.c:1702:31: warning: pointer targets in assignment from 'char *' to '_u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] if (!use_iface) use_iface = "lo"; ^ p0f.c:1708:29: warning: pointer targets in passing argument 1 of 'pcap_open_live' differ in signedness [-Wpointer-sign] if (!(pt=pcap_open_live(use_iface,PACKET_SNAPLEN,use_promisc,capture_timeout,errbuf))) ^~~~~~~~~ In file included from p0f.c:36: /usr/include/pcap/pcap.h:409:18: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); ^~~~~~~~~~~~~~ p0f.c:1708:82: warning: pointer targets in passing argument 5 of 'pcap_open_live' differ in signedness [-Wpointer-sign] if (!(pt=pcap_open_live(use_iface,PACKET_SNAPLEN,use_promisc,capture_timeout,errbuf))) ^~~~~~ In file included from p0f.c:36: /usr/include/pcap/pcap.h:409:18: note: expected 'char *' but argument is of type '_u8 *' {aka 'unsigned char *'} PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); ^~~~~~~~~~~~~~ p0f.c:1714:30: warning: pointer targets in passing argument 3 of 'pcap_compile' differ in signedness [-Wpointer-sign] if (pcap_compile(pt, &flt, use_rule, 1, 0)) ^~~~~~~~ In file included from p0f.c:36: /usr/include/pcap/pcap.h:458:14: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} PCAP_API int pcap_compile(pcap_t *, struct bpf_program *, const char *, int, ^~~~~~~~~~~~ p0f.c:1715:16: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] if (strchr(use_rule,'(')) { ^~~~~~~~ In file included from p0f.c:17: /usr/include/string.h:226:14: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} extern char *strchr (const char *__s, int __c) ^~~~~~ p0f.c:1736:37: warning: pointer targets in passing argument 2 of 'pcap_dump_open' differ in signedness [-Wpointer-sign] if (!(dumper=pcap_dump_open(pt, write_dump))) { ^~~~~~~~~~ In file included from p0f.c:36: /usr/include/pcap/pcap.h:488:25: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} PCAP_API pcap_dumper_t *pcap_dump_open(pcap_t *, const char *); ^~~~~~~~~~~~~~ p0f.c:1757:19: warning: pointer targets in passing argument 1 of 'getpwnam' differ in signedness [-Wpointer-sign] pw = getpwnam(set_user); ^~~~~~~~ In file included from p0f.c:27: /usr/include/pwd.h:116:23: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} extern struct passwd *getpwnam (const char *__name) __nonnull ((1)); ^~~~~~~~ p0f.c:1760:28: warning: pointer targets in passing argument 1 of 'chown' differ in signedness [-Wpointer-sign] if (use_cache && chown(use_cache,pw->pw_uid,pw->pw_gid)) ^~~~~~~~~ In file included from p0f.c:23: /usr/include/unistd.h:473:12: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} extern int chown (const char *__file, __uid_t __owner, __gid_t __group) ^~~~~ p0f.c:1855:24: warning: passing argument 2 to restrict-qualified parameter aliases with argument 4 [-Wrestrict] if (select(c+1,&f,0,&f,&tv)>0) ^~ ~~ p0f.c:1765:5: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir("/"); ^~~~~~~~~~ p0f.c:1790:5: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir("/"); ^~~~~~~~~~ p0f-query.c: In function 'p0f_addcache': p0f-query.c:79:15: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(sc->genre,genre,19); ~~^~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from p0f-query.c:17: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type '_u8 *' {aka 'unsigned char *'} __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ p0f-query.c:79:23: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(sc->genre,genre,19); ^~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from p0f-query.c:17: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type '_u8 *' {aka 'unsigned char *'} __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ p0f-query.c:80:15: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(sc->detail,detail,39); ~~^~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from p0f-query.c:17: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type '_u8 *' {aka 'unsigned char *'} __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ p0f-query.c:80:24: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(sc->detail,detail,39); ^~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from p0f-query.c:17: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type '_u8 *' {aka 'unsigned char *'} __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ p0f-query.c:83:23: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] if (link) strncpy(sc->link,link,29); ~~^~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from p0f-query.c:17: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type '_u8 *' {aka 'unsigned char *'} __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ p0f-query.c:83:30: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] if (link) strncpy(sc->link,link,29); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from p0f-query.c:17: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type '_u8 *' {aka 'unsigned char *'} __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ p0f-query.c:84:22: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] if (tos) strncpy(sc->tos,tos,29); ~~^~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from p0f-query.c:17: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type '_u8 *' {aka 'unsigned char *'} __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ p0f-query.c:84:28: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] if (tos) strncpy(sc->tos,tos,29); ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from p0f-query.c:17: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type '_u8 *' {aka 'unsigned char *'} __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ p0f-query.c: In function 'p0f_handlequery': p0f-query.c:134:14: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(s.version, VER, sizeof(s.version)-1); ~^~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from p0f-query.c:17: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type '_u8 *' {aka 'unsigned char *'} __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ p0f-query.c: In function 'p0f_findmasq': p0f-query.c:232:18: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp(genre,cur->s.genre)) flags |= D_GENRE; ^~~~~ In file included from p0f-query.c:23: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ p0f-query.c:232:30: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp(genre,cur->s.genre)) flags |= D_GENRE; ~~~~~~^~~~~~ In file included from p0f-query.c:23: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ strip p0f 2>/dev/null || true >> You can also try 'make p0fq' to compile a sample query >> client (see README for more information). gmake[1]: Leaving directory '/usr/src/RPM/BUILD/p0f' make: Leaving directory '/usr/src/RPM/BUILD/p0f' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.26045 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/p0f-buildroot + : + /bin/rm -rf -- /usr/src/tmp/p0f-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd p0f + install -pD -m755 p0f /usr/src/tmp/p0f-buildroot/usr/sbin/p0f + install -pD -m755 p0frep /usr/src/tmp/p0f-buildroot/usr/bin/p0frep + install -pD -m755 /usr/src/RPM/SOURCES/p0f.init /usr/src/tmp/p0f-buildroot/etc/rc.d/init.d/p0f + install -pD -m644 /usr/src/RPM/SOURCES/p0f.sysconfig /usr/src/tmp/p0f-buildroot/etc/sysconfig/p0f + install -pD -m644 /usr/src/RPM/SOURCES/p0f.logrotate /usr/src/tmp/p0f-buildroot/etc/logrotate.d/p0f + install -pD -m644 p0f.1 /usr/src/tmp/p0f-buildroot/usr/share/man/man1/p0f.1 + install -d /usr/src/tmp/p0f-buildroot/etc/p0f + install -m644 p0f.fp p0fa.fp p0fo.fp p0fr.fp /usr/src/tmp/p0f-buildroot/etc/p0f/ + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/p0f-buildroot (auto) Verifying and fixing files in /usr/src/tmp/p0f-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/p0f-buildroot/ (default) Compressing files in /usr/src/tmp/p0f-buildroot (auto) 056-debuginfo.brp: WARNING: You have 1 stripped ELF objects. Please compile with debugging information! 056-debuginfo.brp: WARNING: An excerpt from the list of affected files follows: ./usr/sbin/p0f Verifying ELF objects in /usr/src/tmp/p0f-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Hardlinking identical .pyc and .pyo files Processing files: p0f-2.0.8-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.26045 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd p0f + DOCDIR=/usr/src/tmp/p0f-buildroot/usr/share/doc/p0f-2.0.8 + export DOCDIR + rm -rf /usr/src/tmp/p0f-buildroot/usr/share/doc/p0f-2.0.8 + /bin/mkdir -p /usr/src/tmp/p0f-buildroot/usr/share/doc/p0f-2.0.8 + cp -prL doc/CREDITS doc/ChangeLog doc/KNOWN_BUGS doc/README doc/TODO /usr/src/tmp/p0f-buildroot/usr/share/doc/p0f-2.0.8 + chmod -R go-w /usr/src/tmp/p0f-buildroot/usr/share/doc/p0f-2.0.8 + chmod -R a+rX /usr/src/tmp/p0f-buildroot/usr/share/doc/p0f-2.0.8 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ws6viT find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ovALWq find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) find-requires: FINDPACKAGE-COMMANDS: awk cat chmod chown grep sed sort touch uniq Requires: /bin/sh, /etc/logrotate.d, /etc/rc.d/init.d, /etc/rc.d/init.d(SourceIfNotEmpty), /etc/rc.d/init.d(msg_usage), /etc/rc.d/init.d(start_daemon), /etc/rc.d/init.d(status), /etc/rc.d/init.d(stop_daemon), /etc/rc.d/init.d/functions, /lib64/ld-linux-x86-64.so.2, coreutils, gawk, grep, libc.so.6(GLIBC_2.15)(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.4)(64bit), libc.so.6(GLIBC_2.7)(64bit), libpcap.so.0.8()(64bit) >= set:kgdcDuiuPDdBtGi2RLHVI5rySZLDEdzLLxr71, rtld(GNU_HASH), sed Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.aXIzN1 Wrote: /usr/src/RPM/RPMS/x86_64/p0f-2.0.8-alt1.x86_64.rpm (w2.lzdio) 2.77user 0.83system 0:06.08elapsed 59%CPU (0avgtext+0avgdata 56596maxresident)k 0inputs+0outputs (0major+243086minor)pagefaults 0swaps 2.67user 1.56system 0:13.08elapsed 32%CPU (0avgtext+0avgdata 119804maxresident)k 0inputs+0outputs (34278major+156368minor)pagefaults 0swaps --- p0f-2.0.8-alt1.x86_64.rpm.repo 2006-12-15 12:07:47.000000000 +0000 +++ p0f-2.0.8-alt1.x86_64.rpm.hasher 2022-11-13 11:52:44.763415652 +0000 @@ -16,6 +16,6 @@ /usr/share/doc/p0f-2.0.8/TODO 100644 root:root -/usr/share/man/man1/p0f.1.gz 100644 root:root -Requires: rpmlib(PayloadFilesHavePrefix) <= 4.0-1 -Requires: rpmlib(CompressedFileNames) <= 3.0.4-1 +/usr/share/man/man1/p0f.1.xz 100644 root:root +Requires: /bin/sh Requires: /etc/logrotate.d +Requires: /etc/rc.d/init.d Requires: /etc/rc.d/init.d(SourceIfNotEmpty) @@ -25,2 +25,4 @@ Requires: /etc/rc.d/init.d(stop_daemon) +Requires: /etc/rc.d/init.d/functions +Requires: /lib64/ld-linux-x86-64.so.2 Requires: coreutils @@ -28,2 +30,3 @@ Requires: grep +Requires: libc.so.6(GLIBC_2.15)(64bit) Requires: libc.so.6(GLIBC_2.2.5)(64bit) @@ -32,7 +35,8 @@ Requires: libc.so.6(GLIBC_2.4)(64bit) -Requires: libpcap.so.0.8()(64bit) +Requires: libc.so.6(GLIBC_2.7)(64bit) +Requires: libpcap.so.0.8()(64bit) >= set:kgdcDuiuPDdBtGi2RLHVI5rySZLDEdzLLxr71 +Requires: rpmlib(SetVersions) Requires: rtld(GNU_HASH) Requires: sed -Requires: service -Requires: sh +Requires: rpmlib(PayloadIsLzma) Provides: p0f = 2.0.8-alt1 @@ -47,3 +51,3 @@ File: /usr/bin/p0frep 100755 root:root ffbde0a7f15e273c01fbd2c3f87f8b94 -File: /usr/sbin/p0f 100755 root:root 6126781cb236c0bd80427af9867eb5a0 +File: /usr/sbin/p0f 100755 root:root c8ff8f762d79ebfc79294377545b28dc File: /usr/share/doc/p0f-2.0.8 40755 root:root @@ -54,3 +58,3 @@ File: /usr/share/doc/p0f-2.0.8/TODO 100644 root:root 6756aea3d7b7aa7ca69930757ffb8cb9 -File: /usr/share/man/man1/p0f.1.gz 100644 root:root b445a8d2b15869fef03ba405aa66edf1 -RPMIdentity: 342c7c691b8894c34765a5adf82148e79fb2a8eb8638e886f8f9685d1f2fab9c9ef795b507b076d1dea41c50a40d8db672065db844c2343061c9bac008cc0fc4 +File: /usr/share/man/man1/p0f.1.xz 100644 root:root 5f6298c38572dce1751b5cd25f90e80d +RPMIdentity: d8fe1f4cad81358bab395b03e5e59d2254447f931ff456ce150384e2fb1c1ed7465ddce265a39396e372bed9024e3c6953faba211df01ad9494ea7bd3e0aa75a