<86>Oct 23 08:41:10 userdel[2733134]: delete user 'rooter' <86>Oct 23 08:41:10 userdel[2733134]: removed group 'rooter' owned by 'rooter' <86>Oct 23 08:41:10 userdel[2733134]: removed shadow group 'rooter' owned by 'rooter' <86>Oct 23 08:41:10 groupadd[2733151]: group added to /etc/group: name=rooter, GID=555 <86>Oct 23 08:41:10 groupadd[2733151]: group added to /etc/gshadow: name=rooter <86>Oct 23 08:41:10 groupadd[2733151]: new group: name=rooter, GID=555 <86>Oct 23 08:41:10 useradd[2733160]: new user: name=rooter, UID=555, GID=555, home=/root, shell=/bin/bash <86>Oct 23 08:41:10 userdel[2733180]: delete user 'builder' <86>Oct 23 08:41:10 userdel[2733180]: removed group 'builder' owned by 'builder' <86>Oct 23 08:41:10 userdel[2733180]: removed shadow group 'builder' owned by 'builder' <86>Oct 23 08:41:10 groupadd[2733201]: group added to /etc/group: name=builder, GID=556 <86>Oct 23 08:41:10 groupadd[2733201]: group added to /etc/gshadow: name=builder <86>Oct 23 08:41:10 groupadd[2733201]: new group: name=builder, GID=556 <86>Oct 23 08:41:10 useradd[2733212]: new user: name=builder, UID=556, GID=556, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/p0f-2.0.8-alt1.src.rpm: The use of such a license name is ambiguous: LGPL warning: user victor does not exist - using root warning: group victor does not exist - using root warning: user victor does not exist - using root warning: group victor does not exist - using root warning: user victor does not exist - using root warning: group victor does not exist - using root warning: user victor does not exist - using root warning: group victor does not exist - using root warning: user victor does not exist - using root warning: group victor does not exist - using root warning: user victor does not exist - using root warning: group victor does not exist - using root <13>Oct 23 08:41:12 rpmi: liblz4-1:1.9.2-alt1 sisyphus+238585.100.2.2 1570066927 installed <13>Oct 23 08:41:12 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521082 installed <13>Oct 23 08:41:12 rpmi: libgcrypt20-1.8.5-alt3 sisyphus+239622.100.1.1 1571746654 installed <13>Oct 23 08:41:12 rpmi: libsystemd-1:246.6-alt4 sisyphus+260111.200.2.1 1603281931 installed <13>Oct 23 08:41:12 rpmi: libdbus-1.12.18-alt1 sisyphus+252758.100.1.1 1591203693 installed <13>Oct 23 08:41:12 rpmi: libpcap0.8-2:1.9.1-alt2 sisyphus+252303.100.1.1 1590571652 installed <13>Oct 23 08:41:12 rpmi: libpcap-devel-2:1.9.1-alt2 sisyphus+252303.100.1.1 1590571652 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/p0f-2.0.8-alt1.nosrc.rpm Installing p0f-2.0.8-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.97682 + 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/tar -xf - + /bin/gzip -dc /usr/src/RPM/SOURCES/p0f-2.0.8.tgz + 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.97682 + 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 -march=i586 -mtune=generic' 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 -march=i586 -mtune=generic -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:137:32: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 137 | 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 *} In file included from p0f.c:17: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 137 | 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 *} In file included from p0f.c:17: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 137 | 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 *} In file included from p0f.c:17: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 137 | 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:246:14: note: expected 'const char * restrict' but argument is of type '_u8 *' {aka 'unsigned char *'} 246 | 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:53: note: in definition of macro 'pfatal' 93 | #define pfatal(x) do { debug("[-] ERROR: "); perror(x); exit(1); } while (0) | ^ In file included from p0f.c:35: /usr/include/stdio.h:775:33: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 775 | extern void perror (const char *__s); | ~~~~~~~~~~~~^~~ 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:867, from p0f.c:35: /usr/include/bits/stdio2.h:255:25: note: expected 'char * restrict' but argument is of type '_u8 *' {aka 'unsigned char *'} 255 | 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 *} In file included from p0f.c:17: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 385 | 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 *} In file included from p0f.c:17: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 385 | 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 *} In file included from p0f.c:35: /usr/include/stdio.h:399:43: note: expected 'const char * restrict' but argument is of type '_u8 *' {aka 'unsigned char *'} 399 | 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:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from p0f.c:16: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 361 | __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 *} In file included from p0f.c:17: /usr/include/string.h:167:14: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 167 | 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 *} In file included from p0f.c:17: /usr/include/string.h:167:14: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 167 | 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 *} In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from p0f.c:16: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 361 | __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 *} In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from p0f.c:16: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 361 | __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 *} In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from p0f.c:16: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 361 | __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 *} In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from p0f.c:16: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 361 | __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 *} In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from p0f.c:16: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 361 | __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 *} In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from p0f.c:16: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 361 | __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 *} In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from p0f.c:16: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 361 | __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 *} In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from p0f.c:16: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 361 | __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 *} In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from p0f.c:16: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 361 | __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 *} In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from p0f.c:16: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type '_u8 *' {aka 'unsigned char *'} 34 | __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 *} In file included from p0f.c:17: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 385 | 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 *} In file included from p0f.c:17: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 385 | 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 *} In file included from p0f.c:17: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 385 | 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 *} In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from p0f.c:16: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type '_u8 *' {aka 'unsigned char *'} 34 | __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 *} In file included from p0f.c:17: /usr/include/string.h:167:14: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 167 | 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 *} In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from p0f.c:16: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type '_u8 *' {aka 'unsigned char *'} 34 | __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 *} In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from p0f.c:16: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type '_u8 *' {aka 'unsigned char *'} 103 | __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:825:32: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 825 | 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:53: note: in definition of macro 'pfatal' 93 | #define pfatal(x) do { debug("[-] ERROR: "); perror(x); exit(1); } while (0) | ^ In file included from p0f.c:35: /usr/include/stdio.h:775:33: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 775 | 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] 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:413:18: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 413 | 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 *} In file included from p0f.c:36: /usr/include/pcap/pcap.h:413:18: note: expected 'char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 413 | 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); | ^~ In file included from p0f.c:36: /usr/include/pcap/pcap.h:328:16: note: declared here 328 | 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 *} In file included from p0f.c:36: /usr/include/pcap/pcap.h:328:16: note: expected 'char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 328 | 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 *} In file included from p0f.c:36: /usr/include/pcap/pcap.h:409:18: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 409 | 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 *} In file included from p0f.c:36: /usr/include/pcap/pcap.h:409:18: note: expected 'char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 409 | 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 *} In file included from p0f.c:36: /usr/include/pcap/pcap.h:458:59: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 458 | 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 *} In file included from p0f.c:17: /usr/include/string.h:226:14: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 226 | 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 *} In file included from p0f.c:36: /usr/include/pcap/pcap.h:488:25: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 488 | 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:23: 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 *} In file included from p0f.c:23: /usr/include/unistd.h:473:31: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 473 | 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:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from p0f-query.c:17: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type '_u8 *' {aka 'unsigned char *'} 103 | __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 *} In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from p0f-query.c:17: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type '_u8 *' {aka 'unsigned char *'} 103 | __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 *} In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from p0f-query.c:17: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type '_u8 *' {aka 'unsigned char *'} 103 | __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 *} In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from p0f-query.c:17: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type '_u8 *' {aka 'unsigned char *'} 103 | __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 *} In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from p0f-query.c:17: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type '_u8 *' {aka 'unsigned char *'} 103 | __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 *} In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from p0f-query.c:17: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type '_u8 *' {aka 'unsigned char *'} 103 | __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 *} In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from p0f-query.c:17: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type '_u8 *' {aka 'unsigned char *'} 103 | __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 *} In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from p0f-query.c:17: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type '_u8 *' {aka 'unsigned char *'} 103 | __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 *} In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from p0f-query.c:17: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type '_u8 *' {aka 'unsigned char *'} 103 | __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:137:32: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 137 | 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 *} In file included from p0f-query.c:23: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} 137 | 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.56678 + 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) 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) verify-elf: WARNING: ./usr/sbin/p0f: uses non-LFS functions: fopen freopen Hardlinking identical .pyc and .pyo files Processing files: p0f-2.0.8-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.16110 + 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.HbyJka find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.aHDGB9 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) find-requires: FINDPACKAGE-COMMANDS: awk cat chmod chown grep sed sort touch uniq Requires: /bin/sh, /etc/logrotate.d, /etc/rc.d/init.d, /etc/rc.d/init.d(SourceIfNotEmpty), /etc/rc.d/init.d(msg_usage), /etc/rc.d/init.d(start_daemon), /etc/rc.d/init.d(status), /etc/rc.d/init.d(stop_daemon), /etc/rc.d/init.d/functions, /lib/ld-linux.so.2, coreutils, gawk, grep, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.15), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libpcap.so.0.8 >= 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.SeoFDb Wrote: /usr/src/RPM/RPMS/i586/p0f-2.0.8-alt1.i586.rpm 4.57user 0.72system 0:07.31elapsed 72%CPU (0avgtext+0avgdata 40028maxresident)k 0inputs+0outputs (0major+197987minor)pagefaults 0swaps /.out/p0f-2.0.8-alt1.i586.rpm: The use of such a license name is ambiguous: LGPL 8.54user 4.00system 0:14.39elapsed 87%CPU (0avgtext+0avgdata 109880maxresident)k 512inputs+0outputs (0major+466614minor)pagefaults 0swaps --- p0f-2.0.8-alt1.i586.rpm.repo 2006-12-15 12:07:47.000000000 +0000 +++ p0f-2.0.8-alt1.i586.rpm.hasher 2020-10-23 08:41:22.318980076 +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: /lib/ld-linux.so.2 Requires: coreutils @@ -30,2 +32,3 @@ Requires: libc.so.6(GLIBC_2.1) +Requires: libc.so.6(GLIBC_2.15) Requires: libc.so.6(GLIBC_2.3) @@ -33,7 +36,8 @@ Requires: libc.so.6(GLIBC_2.4) -Requires: libpcap.so.0.8 +Requires: libc.so.6(GLIBC_2.7) +Requires: libpcap.so.0.8 >= set:kgdcDuiuPDdBtGi2RLHVI5rySZLDEdzLLxr71 +Requires: rpmlib(SetVersions) Requires: rtld(GNU_HASH) Requires: sed -Requires: service -Requires: sh +Requires: rpmlib(PayloadIsLzma) Provides: p0f = 2.0.8-alt1