<86>Dec 19 01:05:02 userdel[3619414]: delete user 'rooter' <86>Dec 19 01:05:02 userdel[3619414]: removed group 'rooter' owned by 'rooter' <86>Dec 19 01:05:02 groupadd[3619431]: group added to /etc/group: name=rooter, GID=1223 <86>Dec 19 01:05:02 groupadd[3619431]: group added to /etc/gshadow: name=rooter <86>Dec 19 01:05:02 groupadd[3619431]: new group: name=rooter, GID=1223 <86>Dec 19 01:05:02 useradd[3619442]: new user: name=rooter, UID=1223, GID=1223, home=/root, shell=/bin/bash, from=none <86>Dec 19 01:05:02 userdel[3619465]: delete user 'builder' <86>Dec 19 01:05:02 userdel[3619465]: removed group 'builder' owned by 'builder' <86>Dec 19 01:05:02 groupadd[3619484]: group added to /etc/group: name=builder, GID=1224 <86>Dec 19 01:05:02 groupadd[3619484]: group added to /etc/gshadow: name=builder <86>Dec 19 01:05:02 groupadd[3619484]: new group: name=builder, GID=1224 <86>Dec 19 01:05:02 useradd[3619492]: new user: name=builder, UID=1224, GID=1224, home=/usr/src, shell=/bin/bash, from=none warning: user grenka does not exist - using root warning: group grenka does not exist - using root warning: user grenka does not exist - using root warning: group grenka does not exist - using root warning: user grenka does not exist - using root warning: group grenka does not exist - using root warning: user grenka does not exist - using root warning: group grenka does not exist - using root warning: user grenka does not exist - using root warning: group grenka does not exist - using root warning: user grenka does not exist - using root warning: group grenka does not exist - using root <13>Dec 19 01:05:07 rpmi: liblz4-1:1.9.4-alt1 sisyphus+309416.100.1.1 1667412981 installed <13>Dec 19 01:05:07 rpmi: libsystemd-1:255.13-alt1 sisyphus+359453.100.2.1 1728651180 installed <13>Dec 19 01:05:07 rpmi: libdbus-1.14.10-alt1 sisyphus+327286.5700.14.1 1711487401 installed <13>Dec 19 01:05:07 rpmi: libpcap0.8-2:1.10.4-alt1 sisyphus+322910.100.5.1 1687282815 installed <13>Dec 19 01:05:07 rpmi: libpcap-devel-2:1.10.4-alt1 sisyphus+322910.100.5.1 1687282815 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/p0f-2.0.8-alt2.nosrc.rpm (w1.gzdio) Installing p0f-2.0.8-alt2.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.27377 + 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): + /usr/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.27377 + 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 -flto=auto -fcommon' 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 -flto=auto -fcommon -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] 26 | { 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] 27 | { 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] 28 | { 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] 29 | { 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] 30 | { 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] 31 | { 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] 32 | { 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] 33 | { 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] 34 | { 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] 35 | { 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] 36 | { 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] 37 | { 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] 38 | { 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] 39 | { 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] 40 | { 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] 41 | { 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] 42 | { 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] 43 | { 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] 44 | { 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] 45 | { 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] 46 | { 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] 47 | { 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] 48 | { 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] 49 | { 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] 50 | { 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] 51 | { 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] 52 | { 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] 53 | { 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] 54 | { 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] 55 | { 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] 56 | { 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] 57 | { 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] 58 | { 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] 59 | { 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] 60 | { 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] 61 | { 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] 62 | { 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] 63 | { 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] 64 | { 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] 51 | { 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] 52 | { 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] 53 | { 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] 54 | { 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] 55 | { 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] 56 | { 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] 57 | { 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] 58 | { 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] 59 | { 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] 60 | { 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] 61 | { 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] 62 | { 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] 63 | { 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] 64 | { 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] 112 | *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] 304 | if (!strcmp(sig[i].os,sig[id].os) && | ~~~~~~^~~ | | | _u8 * {aka unsigned char *} In file included from p0f.c:17: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 156 | 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] 304 | if (!strcmp(sig[i].os,sig[id].os) && | ~~~~~~~^~~ | | | _u8 * {aka unsigned char *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 156 | 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] 305 | !strcmp(sig[i].desc,sig[id].desc)) { | ~~~~~~^~~~~ | | | _u8 * {aka unsigned char *} /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 156 | 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] 305 | !strcmp(sig[i].desc,sig[id].desc)) { | ~~~~~~~^~~~~ | | | _u8 * {aka unsigned char *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 156 | 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] 508 | FILE* c = fopen(file?file:(_u8*) | ~~~~~~~~~^~~~~~~ | | | _u8 * {aka unsigned char *} 509 | (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:263:44: note: expected 'const char * restrict' but argument is of type '_u8 *' {aka 'unsigned char *'} 263 | 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] 513 | if (!file) load_config(ack_mode? CONFIG_DIR "/" SYNACK_DB : | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ | | | char * 514 | ( rst_mode ? CONFIG_DIR "/" RST_DB : | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 515 | ( open_mode ? CONFIG_DIR "/" OPEN_DB : | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 516 | CONFIG_DIR "/" SYN_DB ))); | ~~~~~~~~~~~~~~~~~~~~~~~~ p0f.c:504:30: note: expected '_u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 504 | static void load_config(_u8* file) { | ~~~~~^~~~ p0f.c:517:19: warning: pointer targets in passing argument 1 of 'perror' differ in signedness [-Wpointer-sign] 517 | else pfatal(file); | ^~~~ | | | _u8 * {aka unsigned char *} p0f.c:93:59: note: in definition of macro 'pfatal' 93 | #define pfatal(x) do { debug("[-] ERROR: "); perror(x); exit(1); } while (0) | ^ /usr/include/stdio.h:862:33: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 862 | extern void perror (const char *__s) __COLD; | ~~~~~~~~~~~~^~~ p0f.c:521:19: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] 521 | while ((p=fgets(buf,sizeof(buf),c))) { | ^~~ | | | _u8 * {aka unsigned char *} In file included from /usr/include/stdio.h:964: /usr/include/bits/stdio2.h:195:25: note: expected 'char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 195 | 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] 521 | 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] 530 | file_cksum ^= crc32(buf, strlen(buf)); | ^~~ | | | _u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 407 | 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] 536 | l=strlen(p); | ^ | | | _u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 407 | 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] 543 | if (sscanf(p,"%[0-9%*()ST]:%d:%d:%[0-9()*]:%[^:]:%[^ :]:%[^:]:%[^:]", | ^ | | | _u8 * {aka unsigned char *} /usr/include/stdio.h:428:43: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 428 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ p0f.c:552:16: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 552 | s = atoi(sb); | ^~ | | | _u8 * {aka unsigned char *} In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from p0f.c:16: /usr/include/stdlib.h:481:1: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 481 | __NTH (atoi (const char *__nptr)) | ^~~~~ p0f.c:564:33: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 564 | sig[sigcnt].os = strdup(gptr); | ^~~~ | | | _u8 * {aka unsigned char *} /usr/include/string.h:187:34: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 187 | 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] 564 | sig[sigcnt].os = strdup(gptr); | ^ p0f.c:565:33: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 565 | sig[sigcnt].desc = strdup(desc); | ^~~~ | | | _u8 * {aka unsigned char *} /usr/include/string.h:187:34: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 187 | 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] 565 | sig[sigcnt].desc = strdup(desc); | ^ p0f.c:576:33: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 576 | sig[sigcnt].wsize = atoi(w+1); | ~^~ | | | _u8 * {aka unsigned char *} /usr/include/stdlib.h:481:1: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 481 | __NTH (atoi (const char *__nptr)) | ^~~~~ p0f.c:580:33: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 580 | sig[sigcnt].wsize = atoi(w+1); | ~^~ | | | _u8 * {aka unsigned char *} /usr/include/stdlib.h:481:1: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 481 | __NTH (atoi (const char *__nptr)) | ^~~~~ p0f.c:582:39: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 582 | if (!(sig[sigcnt].wsize = atoi(w+1))) | ~^~ | | | _u8 * {aka unsigned char *} /usr/include/stdlib.h:481:1: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 481 | __NTH (atoi (const char *__nptr)) | ^~~~~ p0f.c:585:37: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 585 | } else sig[sigcnt].wsize = atoi(w); | ^ | | | _u8 * {aka unsigned char *} /usr/include/stdlib.h:481:1: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 481 | __NTH (atoi (const char *__nptr)) | ^~~~~ p0f.c:623:51: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 623 | if (!(sig[sigcnt].wsc = atoi(p+2))) | ~^~ | | | _u8 * {aka unsigned char *} /usr/include/stdlib.h:481:1: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 481 | __NTH (atoi (const char *__nptr)) | ^~~~~ p0f.c:628:48: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 628 | else sig[sigcnt].wsc = atoi(p+1); | ~^~ | | | _u8 * {aka unsigned char *} /usr/include/stdlib.h:481:1: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 481 | __NTH (atoi (const char *__nptr)) | ^~~~~ p0f.c:636:51: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 636 | if (!(sig[sigcnt].mss = atoi(p+2))) | ~^~ | | | _u8 * {aka unsigned char *} /usr/include/stdlib.h:481:1: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 481 | __NTH (atoi (const char *__nptr)) | ^~~~~ p0f.c:641:48: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 641 | else sig[sigcnt].mss = atoi(p+1); | ~^~ | | | _u8 * {aka unsigned char *} /usr/include/stdlib.h:481:1: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 481 | __NTH (atoi (const char *__nptr)) | ^~~~~ p0f.c:647:56: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 647 | else sig[sigcnt].opt[optcnt] = atoi(p+1); | ~^~ | | | _u8 * {aka unsigned char *} /usr/include/stdlib.h:481:1: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 481 | __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] 746 | if (!mss) return txt ? "unspecified" : 0; | ~~~~~~~~~~~~~~~~~~~~^~~ p0f.c:757:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 757 | sprintf(tmp,"unknown-%d",mss); | ^~~ | | | _u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 28 | __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] 788 | 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] 791 | if (x[strlen(x)-1]=='\n') x[strlen(x)-1]=0; | ^ | | | _u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 407 | 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] 791 | if (x[strlen(x)-1]=='\n') x[strlen(x)-1]=0; | ^ | | | _u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 407 | 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] 827 | 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] 829 | 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] 829 | if (!r || !(s = r->h_name) || !(j = strlen(s))) return ""; | ^ | | | _u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 407 | 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] 829 | 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] 830 | if (j > MY_MAXDNS) return ""; | ^~ p0f.c: In function 'display_signature': p0f.c:869:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 869 | 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' 869 | 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] 1519 | 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] 1521 | 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] 1523 | 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] 1525 | 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] 1544 | 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] 1546 | 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] 1566 | 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] 1570 | 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] 1574 | 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] 1598 | default: usage(argv[0]); | ~~~~^~~ | | | char * p0f.c:236:24: note: expected '_u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 236 | static void usage(_u8* name) { | ~~~~~^~~~ p0f.c:1645:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1645 | sprintf(buf,"(%s) and (%.3000s)",use_rule,argv[optind]); | ^~~ | | | _u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 28 | __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] 1650 | _u8* x = strdup(use_rule); | ^~~~~~~~ | | | _u8 * {aka unsigned char *} /usr/include/string.h:187:34: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 187 | 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] 1650 | _u8* x = strdup(use_rule); | ^~~~~~ p0f.c:1651:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1651 | sprintf(buf,"(%.1000s) or (vlan and (%.1000s))",x,x); | ^~~ | | | _u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 28 | __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] 1671 | strncpy(x.sun_path,use_cache,63); | ^~~~~~~~~ | | | _u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:92:1: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 92 | __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] 1672 | unlink(use_cache); | ^~~~~~~~~ | | | _u8 * {aka unsigned char *} In file included from p0f.c:23: /usr/include/unistd.h:858:32: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 858 | 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] 1673 | if (bind(lsock,(struct sockaddr*)&x,sizeof(x))) pfatal(use_cache); | ^~~~~~~~~ | | | _u8 * {aka unsigned char *} p0f.c:93:59: note: in definition of macro 'pfatal' 93 | #define pfatal(x) do { debug("[-] ERROR: "); perror(x); exit(1); } while (0) | ^ /usr/include/stdio.h:862:33: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 862 | extern void perror (const char *__s) __COLD; | ~~~~~~~~~~~~^~~ p0f.c:1680:32: warning: pointer targets in passing argument 1 of 'pcap_open_offline' differ in signedness [-Wpointer-sign] 1680 | if (!(pt=pcap_open_offline(use_dump, errbuf))) | ^~~~~~~~ | | | _u8 * {aka unsigned char *} In file included from p0f.c:36: /usr/include/pcap/pcap.h:527:36: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 527 | 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] 1680 | if (!(pt=pcap_open_offline(use_dump, errbuf))) | ^~~~~~ | | | _u8 * {aka unsigned char *} /usr/include/pcap/pcap.h:527:50: note: expected 'char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 527 | 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] 1699 | if (!use_iface) use_iface=pcap_lookupdev(errbuf); | ^~ /usr/include/pcap/pcap.h:395:18: note: declared here 395 | 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] 1699 | if (!use_iface) use_iface=pcap_lookupdev(errbuf); | ^~~~~~ | | | _u8 * {aka unsigned char *} /usr/include/pcap/pcap.h:395:33: note: expected 'char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 395 | 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] 1699 | 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] 1702 | 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] 1708 | if (!(pt=pcap_open_live(use_iface,PACKET_SNAPLEN,use_promisc,capture_timeout,errbuf))) | ^~~~~~~~~ | | | _u8 * {aka unsigned char *} /usr/include/pcap/pcap.h:515:33: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 515 | 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] 1708 | if (!(pt=pcap_open_live(use_iface,PACKET_SNAPLEN,use_promisc,capture_timeout,errbuf))) | ^~~~~~ | | | _u8 * {aka unsigned char *} /usr/include/pcap/pcap.h:515:62: note: expected 'char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 515 | 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] 1714 | if (pcap_compile(pt, &flt, use_rule, 1, 0)) | ^~~~~~~~ | | | _u8 * {aka unsigned char *} /usr/include/pcap/pcap.h:613:62: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 613 | 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] 1715 | if (strchr(use_rule,'(')) { | ^~~~~~~~ | | | _u8 * {aka unsigned char *} /usr/include/string.h:246:34: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 246 | 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] 1736 | if (!(dumper=pcap_dump_open(pt, write_dump))) { | ^~~~~~~~~~ | | | _u8 * {aka unsigned char *} /usr/include/pcap/pcap.h:696:50: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 696 | 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] 1757 | pw = getpwnam(set_user); | ^~~~~~~~ | | | _u8 * {aka unsigned char *} In file included from p0f.c:27: /usr/include/pwd.h:116:45: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 116 | 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] 1760 | if (use_cache && chown(use_cache,pw->pw_uid,pw->pw_gid)) | ^~~~~~~~~ | | | _u8 * {aka unsigned char *} /usr/include/unistd.h:493:31: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 493 | 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] 1855 | 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] 1765 | chdir("/"); | ^~~~~~~~~~ p0f.c:1790:5: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 1790 | 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] 79 | strncpy(sc->genre,genre,19); | ~~^~~~~~~ | | | _u8 * {aka unsigned char *} In file included from /usr/include/features.h:503, 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:92:1: note: expected 'char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 92 | __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] 79 | strncpy(sc->genre,genre,19); | ^~~~~ | | | _u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:92:1: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 92 | __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] 80 | strncpy(sc->detail,detail,39); | ~~^~~~~~~~ | | | _u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:92:1: note: expected 'char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 92 | __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] 80 | strncpy(sc->detail,detail,39); | ^~~~~~ | | | _u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:92:1: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 92 | __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] 83 | if (link) strncpy(sc->link,link,29); | ~~^~~~~~ | | | _u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:92:1: note: expected 'char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 92 | __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] 83 | if (link) strncpy(sc->link,link,29); | ^~~~ | | | _u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:92:1: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 92 | __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] 84 | if (tos) strncpy(sc->tos,tos,29); | ~~^~~~~ | | | _u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:92:1: note: expected 'char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 92 | __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] 84 | if (tos) strncpy(sc->tos,tos,29); | ^~~ | | | _u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:92:1: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 92 | __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] 134 | strncpy(s.version, VER, sizeof(s.version)-1); | ~^~~~~~~~ | | | _u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:92:1: note: expected 'char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 92 | __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] 232 | if (strcmp(genre,cur->s.genre)) flags |= D_GENRE; | ^~~~~ | | | _u8 * {aka unsigned char *} In file included from p0f-query.c:23: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 156 | 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] 232 | if (strcmp(genre,cur->s.genre)) flags |= D_GENRE; | ~~~~~~^~~~~~ | | | _u8 * {aka unsigned char *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 156 | 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.45593 + 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:/usr/bin:/bin:/usr/local/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) Splitting links to aliased files under /{,s}bin in /usr/src/tmp/p0f-buildroot Processing files: p0f-2.0.8-alt2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.45593 + 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.wFzrHb find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.RpMlwt find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,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.34)(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.g8JtQa Wrote: /usr/src/RPM/RPMS/x86_64/p0f-2.0.8-alt2.x86_64.rpm (w2.lzdio) 1.97user 0.84system 0:04.92elapsed 57%CPU (0avgtext+0avgdata 58708maxresident)k 0inputs+0outputs (0major+206133minor)pagefaults 0swaps 5.06user 2.13system 0:14.65elapsed 49%CPU (0avgtext+0avgdata 137660maxresident)k 536inputs+0outputs (0major+192268minor)pagefaults 0swaps --- p0f-2.0.8-alt2.x86_64.rpm.repo 2021-03-30 05:36:18.000000000 +0000 +++ p0f-2.0.8-alt2.x86_64.rpm.hasher 2024-12-19 01:05:14.492431227 +0000 @@ -34,2 +34,3 @@ Requires: libc.so.6(GLIBC_2.3.4)(64bit) +Requires: libc.so.6(GLIBC_2.34)(64bit) Requires: libc.so.6(GLIBC_2.4)(64bit) @@ -51,3 +52,3 @@ File: /usr/bin/p0frep 100755 root:root ffbde0a7f15e273c01fbd2c3f87f8b94 -File: /usr/sbin/p0f 100755 root:root 4a063a96010bf5ebb952ef03e1a23f0a +File: /usr/sbin/p0f 100755 root:root 8db11cab9aa5d70b38ebb99d1eb79f7c File: /usr/share/doc/p0f-2.0.8 40755 root:root @@ -59,2 +60,2 @@ File: /usr/share/man/man1/p0f.1.xz 100644 root:root 5f6298c38572dce1751b5cd25f90e80d -RPMIdentity: 3306782fdf50e61cbf4c26906c2eb5896e6057c9373eb5ada958cf1489ac010bfa0c161156377b88f54fb67df6df58c27e9a29b4968cd60d8319cd260a7f82a1 +RPMIdentity: d9b17023b6d34eba9fa26d2dd7f61798462899d9832a9f25426582668b67c0df19c8e29f3f720c802ad10226b4289c9e918e35c053ff3238d19faf56782245b2