<86>Apr 14 00:54:33 userdel[100268]: delete user 'rooter' <86>Apr 14 00:54:33 groupadd[100378]: group added to /etc/group: name=rooter, GID=579 <86>Apr 14 00:54:33 groupadd[100378]: group added to /etc/gshadow: name=rooter <86>Apr 14 00:54:33 groupadd[100378]: new group: name=rooter, GID=579 <86>Apr 14 00:54:33 useradd[100523]: new user: name=rooter, UID=579, GID=579, home=/root, shell=/bin/bash <86>Apr 14 00:54:33 userdel[100680]: delete user 'builder' <86>Apr 14 00:54:33 userdel[100680]: removed group 'builder' owned by 'builder' <86>Apr 14 00:54:33 userdel[100680]: removed shadow group 'builder' owned by 'builder' <86>Apr 14 00:54:33 groupadd[100821]: group added to /etc/group: name=builder, GID=580 <86>Apr 14 00:54:33 groupadd[100821]: group added to /etc/gshadow: name=builder <86>Apr 14 00:54:33 groupadd[100821]: new group: name=builder, GID=580 <86>Apr 14 00:54:33 useradd[100876]: new user: name=builder, UID=580, GID=580, home=/usr/src, shell=/bin/bash <13>Apr 14 00:54:36 rpmi: libpcap0.8-2:1.1.1-alt3 1298589613 installed <13>Apr 14 00:54:36 rpmi: libpcap-devel-2:1.1.1-alt3 1298589613 installed 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.6734 + 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.6734 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd p0f + make 'CC=gcc -pipe -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 -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:0: mtu.h:26:12: warning: pointer targets in initialization 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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:0: tos.h:51:10: warning: pointer targets in initialization 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 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 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 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 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 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 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 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 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 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 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 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 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 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 differ in signedness [-Wpointer-sign] *use_rule = "tcp[13] & 0x17 == 2"; ^ In file included from /usr/include/string.h:648:0, from p0f.c:17: p0f.c: In function 'collide': p0f.c:304:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp(sig[i].os,sig[id].os) && ^ In file included from p0f.c:17:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from p0f.c:17: p0f.c:304:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp(sig[i].os,sig[id].os) && ^ In file included from p0f.c:17:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from p0f.c:17: p0f.c:304:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(sig[i].os,sig[id].os) && ^ p0f.c:304:17: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' p0f.c:304:27: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(sig[i].os,sig[id].os) && ^ p0f.c:304:27: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' p0f.c:304:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp(sig[i].os,sig[id].os) && ^ In file included from p0f.c:17:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from p0f.c:17: p0f.c:304:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(sig[i].os,sig[id].os) && ^ p0f.c:304:17: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' p0f.c:304:27: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(sig[i].os,sig[id].os) && ^ p0f.c:304:27: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' p0f.c:304:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp(sig[i].os,sig[id].os) && ^ In file included from p0f.c:17:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from p0f.c:17: p0f.c:304:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(sig[i].os,sig[id].os) && ^ p0f.c:304:17: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' p0f.c:304:27: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(sig[i].os,sig[id].os) && ^ p0f.c:304:27: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' p0f.c:304:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(sig[i].os,sig[id].os) && ^ p0f.c:304:17: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' p0f.c:304:27: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(sig[i].os,sig[id].os) && ^ p0f.c:304:27: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' p0f.c:305:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strcmp(sig[i].desc,sig[id].desc)) { ^ In file included from p0f.c:17:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from p0f.c:17: p0f.c:305:29: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strcmp(sig[i].desc,sig[id].desc)) { ^ In file included from p0f.c:17:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from p0f.c:17: p0f.c:305:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strcmp(sig[i].desc,sig[id].desc)) { ^ p0f.c:305:17: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' p0f.c:305:29: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strcmp(sig[i].desc,sig[id].desc)) { ^ p0f.c:305:29: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' p0f.c:305:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strcmp(sig[i].desc,sig[id].desc)) { ^ In file included from p0f.c:17:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from p0f.c:17: p0f.c:305:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strcmp(sig[i].desc,sig[id].desc)) { ^ p0f.c:305:17: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' p0f.c:305:29: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strcmp(sig[i].desc,sig[id].desc)) { ^ p0f.c:305:29: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' p0f.c:305:29: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strcmp(sig[i].desc,sig[id].desc)) { ^ In file included from p0f.c:17:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from p0f.c:17: p0f.c:305:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strcmp(sig[i].desc,sig[id].desc)) { ^ p0f.c:305:17: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' p0f.c:305:29: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strcmp(sig[i].desc,sig[id].desc)) { ^ p0f.c:305:29: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' p0f.c:305:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strcmp(sig[i].desc,sig[id].desc)) { ^ p0f.c:305:17: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' p0f.c:305:29: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strcmp(sig[i].desc,sig[id].desc)) { ^ p0f.c:305:29: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' p0f.c: In function 'load_config': p0f.c:508:19: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] FILE* c = fopen(file?file:(_u8*) ^ In file included from p0f.c:35:0: /usr/include/stdio.h:272: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:28: 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 : ^ 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:0: /usr/include/stdio.h:846: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:936:0, from p0f.c:35: /usr/include/bits/stdio2.h:253: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 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:0: /usr/include/string.h:394: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:0: /usr/include/string.h:394: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:368:0, from /usr/include/stdlib.h:24, from p0f.c:16: /usr/include/stdio.h:448: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:368:0, from /usr/include/stdlib.h:24, from p0f.c:16: /usr/include/stdlib.h:278:1: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' __NTH (atoi (const char *__nptr)) ^ In file included from /usr/include/string.h:648:0, from p0f.c:17: p0f.c:564:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sig[sigcnt].os = strdup(gptr); ^ In file included from p0f.c:17:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from p0f.c:17: p0f.c:564:33: warning: pointer targets in passing argument 1 of '__strdup' differ in signedness [-Wpointer-sign] sig[sigcnt].os = strdup(gptr); ^ /usr/include/bits/string2.h:1278:14: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' extern char *__strdup (const char *__string) __THROW __attribute_malloc__; ^ p0f.c:564:24: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] sig[sigcnt].os = strdup(gptr); ^ In file included from /usr/include/string.h:648:0, from p0f.c:17: p0f.c:565:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sig[sigcnt].desc = strdup(desc); ^ In file included from p0f.c:17:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from p0f.c:17: p0f.c:565:33: warning: pointer targets in passing argument 1 of '__strdup' differ in signedness [-Wpointer-sign] sig[sigcnt].desc = strdup(desc); ^ /usr/include/bits/string2.h:1278:14: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' extern char *__strdup (const char *__string) __THROW __attribute_malloc__; ^ p0f.c:565:24: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] sig[sigcnt].desc = strdup(desc); ^ p0f.c:576:32: 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:368:0, from /usr/include/stdlib.h:24, from p0f.c:16: /usr/include/stdlib.h:278:1: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' __NTH (atoi (const char *__nptr)) ^ p0f.c:580:32: 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:368:0, from /usr/include/stdlib.h:24, from p0f.c:16: /usr/include/stdlib.h:278:1: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' __NTH (atoi (const char *__nptr)) ^ p0f.c:582:38: 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:368:0, from /usr/include/stdlib.h:24, from p0f.c:16: /usr/include/stdlib.h:278: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:368:0, from /usr/include/stdlib.h:24, from p0f.c:16: /usr/include/stdlib.h:278:1: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' __NTH (atoi (const char *__nptr)) ^ p0f.c:623:50: 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:368:0, from /usr/include/stdlib.h:24, from p0f.c:16: /usr/include/stdlib.h:278:1: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' __NTH (atoi (const char *__nptr)) ^ p0f.c:628:47: 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:368:0, from /usr/include/stdlib.h:24, from p0f.c:16: /usr/include/stdlib.h:278:1: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' __NTH (atoi (const char *__nptr)) ^ p0f.c:636:50: 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:368:0, from /usr/include/stdlib.h:24, from p0f.c:16: /usr/include/stdlib.h:278:1: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' __NTH (atoi (const char *__nptr)) ^ p0f.c:641:47: 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:368:0, from /usr/include/stdlib.h:24, from p0f.c:16: /usr/include/stdlib.h:278:1: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' __NTH (atoi (const char *__nptr)) ^ p0f.c:647:55: 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:368:0, from /usr/include/stdlib.h:24, from p0f.c:16: /usr/include/stdlib.h:278: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:20: warning: pointer targets in return 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:368:0, from /usr/include/stdlib.h:24, 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 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:0: /usr/include/string.h:394: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:0: /usr/include/string.h:394: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 return differ in signedness [-Wpointer-sign] if (!do_resolve) return ""; ^ p0f.c:829:17: warning: pointer targets in assignment 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:0: /usr/include/string.h:394: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 return differ in signedness [-Wpointer-sign] if (!r || !(s = r->h_name) || !(j = strlen(s))) return ""; ^ p0f.c:830:29: warning: pointer targets in return differ in signedness [-Wpointer-sign] if (j > MY_MAXDNS) return ""; ^ p0f.c: In function 'main': p0f.c:1519:29: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] case 'f': config_file = optarg; break; ^ p0f.c:1521:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] case 'i': use_iface = optarg; break; ^ p0f.c:1523:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] case 's': use_dump = optarg; break; ^ p0f.c:1525:28: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] case 'w': write_dump = optarg; break; ^ p0f.c:1544:28: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] case 'Q': use_cache = optarg; break; ^ p0f.c:1546:28: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] case 'u': set_user = optarg; break; ^ p0f.c:1566:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] case 'A': use_rule = "tcp[13] & 0x17 == 0x12"; ^ p0f.c:1570:26: warning: pointer targets in assignment 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 differ in signedness [-Wpointer-sign] case 'O': use_rule = "tcp[13] & 0x17 == 0x10"; ^ p0f.c:1598:22: 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:368:0, from /usr/include/stdlib.h:24, 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, ...)) ^ In file included from /usr/include/string.h:648:0, from p0f.c:17: p0f.c:1650:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] _u8* x = strdup(use_rule); ^ In file included from p0f.c:17:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from p0f.c:17: p0f.c:1650:21: warning: pointer targets in passing argument 1 of '__strdup' differ in signedness [-Wpointer-sign] _u8* x = strdup(use_rule); ^ /usr/include/bits/string2.h:1278:14: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' extern char *__strdup (const char *__string) __THROW __attribute_malloc__; ^ p0f.c:1650:14: warning: pointer targets in initialization 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:368:0, from /usr/include/stdlib.h:24, 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:368:0, from /usr/include/stdlib.h:24, from p0f.c:16: /usr/include/bits/string3.h:123: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:0: /usr/include/unistd.h:829: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:0: /usr/include/stdio.h:846: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:0: /usr/include/pcap/pcap.h:283:9: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' 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:0: /usr/include/pcap/pcap.h:283:9: note: expected 'char *' but argument is of type '_u8 * {aka unsigned char *}' pcap_t *pcap_open_offline(const char *, 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:0: /usr/include/pcap/pcap.h:269:7: note: expected 'char *' but argument is of type '_u8 * {aka unsigned char *}' char *pcap_lookupdev(char *); ^ p0f.c:1699:30: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!use_iface) use_iface=pcap_lookupdev(errbuf); ^ p0f.c:1702:31: warning: pointer targets in assignment 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:0: /usr/include/pcap/pcap.h:281:9: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' 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:0: /usr/include/pcap/pcap.h:281:9: note: expected 'char *' but argument is of type '_u8 * {aka unsigned char *}' 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:0: /usr/include/pcap/pcap.h:314:5: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' int pcap_compile(pcap_t *, struct bpf_program *, const char *, int, ^ In file included from /usr/include/string.h:648:0, from p0f.c:17: p0f.c:1715:16: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (strchr(use_rule,'(')) { ^ p0f.c:1715:16: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' 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:0: /usr/include/pcap/pcap.h:338:16: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' 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:0: /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:0: /usr/include/unistd.h:476: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: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:13: 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:368:0, from /usr/include/stdio.h:27, from p0f-query.c:17: /usr/include/bits/string3.h:123: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:368:0, from /usr/include/stdio.h:27, from p0f-query.c:17: /usr/include/bits/string3.h:123: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:13: 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:368:0, from /usr/include/stdio.h:27, from p0f-query.c:17: /usr/include/bits/string3.h:123: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:368:0, from /usr/include/stdio.h:27, from p0f-query.c:17: /usr/include/bits/string3.h:123: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:21: 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:368:0, from /usr/include/stdio.h:27, from p0f-query.c:17: /usr/include/bits/string3.h:123: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:368:0, from /usr/include/stdio.h:27, from p0f-query.c:17: /usr/include/bits/string3.h:123: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:20: 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:368:0, from /usr/include/stdio.h:27, from p0f-query.c:17: /usr/include/bits/string3.h:123: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:368:0, from /usr/include/stdio.h:27, from p0f-query.c:17: /usr/include/bits/string3.h:123: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:13: 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:368:0, from /usr/include/stdio.h:27, from p0f-query.c:17: /usr/include/bits/string3.h:123:1: note: expected 'char * restrict' but argument is of type '_u8 * {aka unsigned char *}' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ In file included from /usr/include/string.h:648:0, from p0f-query.c:23: p0f-query.c: In function 'p0f_findmasq': p0f-query.c:232:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strcmp(genre,cur->s.genre)) flags |= D_GENRE; ^ In file included from p0f-query.c:23:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from p0f-query.c:23: p0f-query.c:232:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strcmp(genre,cur->s.genre)) flags |= D_GENRE; ^ In file included from p0f-query.c:23:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from p0f-query.c:23: p0f-query.c:232:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strcmp(genre,cur->s.genre)) flags |= D_GENRE; ^ p0f-query.c:232:18: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' p0f-query.c:232:24: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strcmp(genre,cur->s.genre)) flags |= D_GENRE; ^ p0f-query.c:232:24: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' p0f-query.c:232:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strcmp(genre,cur->s.genre)) flags |= D_GENRE; ^ In file included from p0f-query.c:23:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from p0f-query.c:23: p0f-query.c:232:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strcmp(genre,cur->s.genre)) flags |= D_GENRE; ^ p0f-query.c:232:18: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' p0f-query.c:232:24: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strcmp(genre,cur->s.genre)) flags |= D_GENRE; ^ p0f-query.c:232:24: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' p0f-query.c:232:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strcmp(genre,cur->s.genre)) flags |= D_GENRE; ^ In file included from p0f-query.c:23:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from p0f-query.c:23: p0f-query.c:232:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strcmp(genre,cur->s.genre)) flags |= D_GENRE; ^ p0f-query.c:232:18: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' p0f-query.c:232:24: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strcmp(genre,cur->s.genre)) flags |= D_GENRE; ^ p0f-query.c:232:24: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' p0f-query.c:232:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strcmp(genre,cur->s.genre)) flags |= D_GENRE; ^ p0f-query.c:232:18: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' p0f-query.c:232:24: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strcmp(genre,cur->s.genre)) flags |= D_GENRE; ^ p0f-query.c:232:24: note: expected 'const char *' but argument is of type '_u8 * {aka unsigned char *}' 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.5389 + 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 + 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) Compressing files in /usr/src/tmp/p0f-buildroot (auto) 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.5389 + 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.ZztsFH find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.PmAWWi find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) 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.Pw0vYW Wrote: /usr/src/RPM/RPMS/x86_64/p0f-2.0.8-alt1.x86_64.rpm 3.18user 0.43system 0:07.38elapsed 48%CPU (0avgtext+0avgdata 54412maxresident)k 0inputs+0outputs (0major+181385minor)pagefaults 0swaps 5.99user 2.31system 0:14.73elapsed 56%CPU (0avgtext+0avgdata 124124maxresident)k 0inputs+0outputs (0major+374846minor)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 2019-04-14 00:54:45.682590018 +0000 @@ -16,6 +16,6 @@ /usr/share/doc/p0f-2.0.8/TODO 100644 -/usr/share/man/man1/p0f.1.gz 100644 -Requires: rpmlib(PayloadFilesHavePrefix) <= 4.0-1 -Requires: rpmlib(CompressedFileNames) <= 3.0.4-1 +/usr/share/man/man1/p0f.1.xz 100644 +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