------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/libnet-1.1.6_5,1.txz SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> ipguard-1.04_2 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> ipguard-1.04_2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by ipguard-1.04_2 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> ipguard-1.04_2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by ipguard-1.04_2 for building => SHA256 Checksum OK for ipguard-1.04.tar.gz. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> ipguard-1.04_2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by ipguard-1.04_2 for building ===> Extracting for ipguard-1.04_2 => SHA256 Checksum OK for ipguard-1.04.tar.gz. Extracted Memory Use: 0.12M SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for ipguard-1.04_2 ===> Applying ports patches for ipguard-1.04_2 ===> Cleanly applied ports patch(es) patch-Makefile SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- ===> ipguard-1.04_2 depends on shared library: libnet.so - found (/usr/local/lib/libnet.so) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> ipguard-1.04_2 depends on shared library: libnet.so - found (/usr/local/lib/libnet.so) ===> Configuring for ipguard-1.04_2 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for ipguard-1.04_2 --- start --- --- ethers.o --- --- ipguard.o --- --- packet.o --- --- system.o --- --- ipguard.o --- Compiling ipguard.c --- packet.o --- Compiling packet.c --- ethers.o --- Compiling ethers.c --- system.o --- Compiling system.c --- start --- Making ipguard INCLUDES=-I/usr/local/include LIBS=-L/usr/local/lib -lnet -lpcap -L/usr/local/lib DEFINES=-DLIBNET_LIL_ENDIAN CFLAGS=-pipe -O2 -fno-strict-aliasing -g -Wall -DETHERS='/etc/ethers' --- packet.o --- In file included from /usr/local/include/libnet.h:119, from packet.c:50: /usr/local/include/./libnet/libnet-headers.h:510: warning: "ETHERTYPE_IPV6" redefined #define ETHERTYPE_IPV6 0x86dd /* IPv6 protocol */ In file included from /usr/include/netinet/if_ether.h:38, from packet.c:43: /usr/include/net/ethernet.h:321: note: this is the location of the previous definition #define ETHERTYPE_IPV6 0x86DD /* IP protocol version 6 */ --- ethers.o --- ethers.c: In function 'ethers_init': ethers.c:79:34: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 121 [-Wformat-truncation=] snprintf(s, 128, "fclose(%s):", ethers_name); ^~ ~~~~~~~~~~~ ethers.c:79:9: note: 'snprintf' output between 10 and 1033 bytes into a destination of size 128 snprintf(s, 128, "fclose(%s):", ethers_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ethers.c:42:33: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 122 [-Wformat-truncation=] snprintf(s, 128, "fopen(%s):", ethers_name); ^~ ~~~~~~~~~~~ ethers.c:42:9: note: 'snprintf' output between 9 and 1032 bytes into a destination of size 128 snprintf(s, 128, "fopen(%s):", ethers_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ethers.c:71:90: warning: 'strncpy' output may be truncated copying 64 bytes from a string of length 127 [-Wstringop-truncation] if (strchr(mac, '.')) { strncpy(str, mac, ADDR_LEN); strncpy(mac, ip, ADDR_LEN); strncpy(ip, str, ADDR_LEN); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- packet.o --- packet.c: In function 'pair_add': packet.c:192:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (verbose) log_str(WARNING, "Invalid MAC:", mac); return; ^~ packet.c:192:61: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (verbose) log_str(WARNING, "Invalid MAC:", mac); return; ^~~~~~ packet.c:195:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (verbose) log_str(WARNING, "Host unknown:", ip); return; ^~ packet.c:195:61: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (verbose) log_str(WARNING, "Host unknown:", ip); return; ^~~~~~ --- system.o --- system.c: In function 'pid_unlink': system.c:180:34: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 121 [-Wformat-truncation=] snprintf(s, 128, "unlink(%s):", pid_name); ^~ ~~~~~~~~ system.c:180:9: note: 'snprintf' output between 10 and 1033 bytes into a destination of size 128 snprintf(s, 128, "unlink(%s):", pid_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ system.c: In function 'pid_check': system.c:144:37: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 122 [-Wformat-truncation=] snprintf(s, 128, "fopen(%s):", pid_name); ^~ ~~~~~~~~ system.c:144:13: note: 'snprintf' output between 9 and 1032 bytes into a destination of size 128 snprintf(s, 128, "fopen(%s):", pid_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ system.c:160:52: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 42 [-Wformat-truncation=] snprintf(s, 64, "Wrong pid file found: %s", pid_name); ^~ ~~~~~~~~ system.c:160:13: note: 'snprintf' output between 23 and 1046 bytes into a destination of size 64 snprintf(s, 64, "Wrong pid file found: %s", pid_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ system.c:138:36: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 123 [-Wformat-truncation=] snprintf(s, 128, "stat(%s):", pid_name); ^~ ~~~~~~~~ system.c:138:13: note: 'snprintf' output between 8 and 1031 bytes into a destination of size 128 snprintf(s, 128, "stat(%s):", pid_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ system.c: In function 'pid_creat': system.c:170:33: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 122 [-Wformat-truncation=] snprintf(s, 128, "fopen(%s):", pid_name); ^~ ~~~~~~~~ system.c:170:9: note: 'snprintf' output between 9 and 1032 bytes into a destination of size 128 snprintf(s, 128, "fopen(%s):", pid_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- ipguard.o --- ipguard.c: In function 'main': ipguard.c:128:20: warning: 'strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] if (!pcapf[0]) strncpy(pcapf, "arp", 3); ^~~~~~~~~~~~~~~~~~~~~~~~ ipguard.c:129:39: warning: 'strncat' specified bound 8 equals source length [-Wstringop-overflow=] else { pcapf[PCAPFSIZ-10] = '\0'; strncat(pcapf, " and arp", 8); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- system.o --- system.c: In function 'ethers_stat': system.c:297:32: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 123 [-Wformat-truncation=] snprintf(s, 128, "stat(%s):", ethers_name); ^~ ~~~~~~~~~~~ system.c:297:9: note: 'snprintf' output between 8 and 1031 bytes into a destination of size 128 snprintf(s, 128, "stat(%s):", ethers_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- packet.o --- packet.c: In function 'pair_dump': packet.c:225:9: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] strncpy(ntoasw, inet_ntoa(p->mask), 16); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ packet.c: In function 'packet_init': packet.c:261:40: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size 115 [-Wformat-truncation=] snprintf(s, 128, "pcap_compile(%s):", pcapf); ^~ ~~~~~ packet.c:261:9: note: 'snprintf' output between 16 and 143 bytes into a destination of size 128 snprintf(s, 128, "pcap_compile(%s):", pcapf); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ packet.c:248:5: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] strncpy(ifname, iface, IFNAMSIZ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ packet.c: In function 'packet_check': packet.c:341:13: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] strncpy(ntoasw, inet_ntoa(tp_addr), 16); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ packet.c:349:13: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] strncpy(ntoasw, inet_ntoa(tp_addr), 16); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ packet.c:357:13: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] strncpy(ntoasw, inet_ntoa(tp_addr), 16); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ packet.c:457:13: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] strncpy(ntoasw, inet_ntoa(tp_addr), 16); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ packet.c:466:13: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] strncpy(ntoasw, inet_ntoa(tp_addr), 16); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ packet.c:447:13: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] strncpy(ntoasw, inet_ntoa(tp_addr), 16); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ packet.c:476:13: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] strncpy(ntoasw, inet_ntoa(tp_addr), 16); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ packet.c:486:13: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] strncpy(ntoasw, inet_ntoa(tp_addr), 16); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ packet.c:496:5: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] strncpy(ntoasw, inet_ntoa(tp_addr), 16); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- ipguard.o --- ipguard.c:122:26: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] if (argc > optind) { strncpy(iface, argv[optind], IFNAMSIZ); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ipguard.c:102:23: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] case 's': strncpy(suser, optarg, MAXLOGNAME); break; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ipguard.c:99:23: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] case 'p': strncpy(pid_name, optarg, PATH_MAX); break; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ipguard.c:100:23: warning: 'strncpy' specified bound 18 equals destination size [-Wstringop-truncation] case 'm': strncpy(fmac, optarg, 18); break; ^~~~~~~~~~~~~~~~~~~~~~~~~ ipguard.c:98:23: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] case 'l': strncpy(log_name, optarg, PATH_MAX); break; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ipguard.c:97:23: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] case 'e': strncpy(ethers_name, optarg, PATH_MAX); break; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ipguard.c:101:23: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] case 'c': strncpy(pcapf, optarg, PCAPFSIZ); break; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- ipguard --- Linking ipguard SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for ipguard-1.04_2 ===> Generating temporary packing list Making ipguard INCLUDES=-I/usr/local/include LIBS=-L/usr/local/lib -lnet -lpcap -L/usr/local/lib DEFINES=-DLIBNET_LIL_ENDIAN CFLAGS=-pipe -O2 -fno-strict-aliasing -g -Wall -DETHERS='/etc/ethers' mkdir -p -m 755 /construction/security/ipguard/stage/usr/local/sbin install -s -m 755 ipguard /construction/security/ipguard/stage/usr/local/sbin/ipguard mkdir -p -m 755 /construction/security/ipguard/stage/usr/local/man/man8 install -m 644 doc/ipguard.8 /construction/security/ipguard/stage/usr/local/man/man8/ipguard.8 install -m 0644 /construction/security/ipguard/ipguard-1.04/doc/COPYRIGHT /construction/security/ipguard/ipguard-1.04/doc/NEWS /construction/security/ipguard/ipguard-1.04/doc/README /construction/security/ipguard/ipguard-1.04/doc/README.tcpdump /construction/security/ipguard/ipguard-1.04/doc/README.log /construction/security/ipguard/ipguard-1.04/doc/ethers.sample /construction/security/ipguard/ipguard-1.04/doc/rfc826.txt /construction/security/ipguard/stage/usr/local/share/doc/ipguard ====> Compressing man pages (compress-man) ===> Staging rc.d startup script(s) ====> Running Q/A tests (stage-qa) Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for ipguard-1.04_2 file sizes/checksums [10]: 0% file sizes/checksums [10]: 100% packing files [10]: 0% packing files [10]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:00 TOTAL TIME 00:00:04