=> Bootstrap dependency digest>=20010302: found digest-20080510
WARNING: [license.mk] Every package should define a LICENSE.
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for dsniff-nox11-2.3nb3
gcc -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/pkg/lib/\" -I. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include/libnet10     -I./missing -c ./missing/dummy.c
ar -cr libmissing.a dummy.o
ranlib libmissing.a
gcc -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/pkg/lib/\" -I. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include/libnet10     -I./missing -c ./arpspoof.c
./arpspoof.c:58:7: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign]
                tha = "\xff\xff\xff\xff\xff\xff";
                    ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
./arpspoof.c:162:41: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                        if ((target_ip = libnet_name_resolve(optarg, 1)) == -1)
                                                             ^~~~~~
/scratch/security/dsniff-nox11/work/.buildlink/include/libnet10/./libnet/libnet-functions.h:147:13: note: passing argument to parameter here
    u_char *,           /* Pointer the hostname or dotted decimal IP address */
            ^
./arpspoof.c:175:38: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        if ((spoof_ip = libnet_name_resolve(argv[0], 1)) == -1)
                                            ^~~~~~~
/scratch/security/dsniff-nox11/work/.buildlink/include/libnet10/./libnet/libnet-functions.h:147:13: note: passing argument to parameter here
    u_char *,           /* Pointer the hostname or dotted decimal IP address */
            ^
3 warnings generated.
gcc -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/pkg/lib/\" -I. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include/libnet10     -I./missing -c ./arp.c
gcc -Wl,-rpath,/usr/pkg/lib -L/usr/pkg/lib -lglib-2.0 -lgthread-2.0 -L/usr/lib -Wl,-rpath,/usr/lib -L/usr/pkg/lib/libnet10 -Wl,-rpath,/usr/pkg/lib/libnet10 -o arpspoof arpspoof.o arp.o -lresolv -lrpcsvc  -L. -lmissing -lpcap -L/usr/pkg/lib/libnet10 -lnet
gcc -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/pkg/lib/\" -I. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include/libnet10     -I./missing -c ./dnsspoof.c
./dnsspoof.c:225:10: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                if ((q = dns_lookup_ptr(name)) == NULL)
                       ^ ~~~~~~~~~~~~~~~~~~~~
./dnsspoof.c:229:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                anslen = dn_comp(q, p + 12, 256, NULL, NULL);
                                 ^
/usr/include/resolv.h:454:26: note: passing argument to parameter here
int             dn_comp(const char *, u_char *, int, u_char **, u_char **);
                                    ^
2 warnings generated.
gcc -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/pkg/lib/\" -I. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include/libnet10     -I./missing -c ./pcaputil.c
gcc -Wl,-rpath,/usr/pkg/lib -L/usr/pkg/lib -lglib-2.0 -lgthread-2.0 -L/usr/lib -Wl,-rpath,/usr/lib -L/usr/pkg/lib/libnet10 -Wl,-rpath,/usr/pkg/lib/libnet10 -o dnsspoof dnsspoof.o pcaputil.o -lresolv -lrpcsvc  -L. -lmissing -lpcap -L/usr/pkg/lib/libnet10 -lnet
rpcgen -h mount.x -o mount.h
rpcgen -c mount.x -o mount.c
gcc -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/pkg/lib/\" -I. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include/libnet10     -I./missing -c ./asn1.c
gcc -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/pkg/lib/\" -I. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include/libnet10     -I./missing -c ./base64.c
gcc -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/pkg/lib/\" -I. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include/libnet10     -I./missing -c ./buf.c
./buf.c:111:16: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        i = vsnprintf(buf_ptr(buf), buf_len(buf), fmt, ap);
                      ^~~~~~~~~~~~
./buf.h:31:20: note: expanded from:
#define buf_ptr(b)      ((b)->base + (b)->offset)
                        ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/stdio.h:348:33: note: passing argument to parameter here
int      vsnprintf(char * __restrict, size_t, const char * __restrict,
                                    ^
1 warning generated.
gcc -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/pkg/lib/\" -I. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include/libnet10     -I./missing -c ./hex.c
gcc -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/pkg/lib/\" -I. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include/libnet10     -I./missing -c ./magic.c
gcc -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/pkg/lib/\" -I. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include/libnet10     -I./missing -c ./mount.c
gcc -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/pkg/lib/\" -I. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include/libnet10     -I./missing -c ./rpc.c
./rpc.c:110:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                xdrmem_create(&xdrs, buf, len, XDR_DECODE);
                                     ^~~
/usr/include/rpc/xdr.h:337:42: note: passing argument to parameter here
extern void   xdrmem_create(XDR *, char *, u_int, enum xdr_op);
                                         ^
./rpc.c:119:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                xdrmem_create(&xdrs, buf, len, XDR_DECODE);
                                     ^~~
/usr/include/rpc/xdr.h:337:42: note: passing argument to parameter here
extern void   xdrmem_create(XDR *, char *, u_int, enum xdr_op);
                                         ^
2 warnings generated.
gcc -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/pkg/lib/\" -I. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include/libnet10     -I./missing -c ./tcp_raw.c
gcc -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/pkg/lib/\" -I. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include/libnet10     -I./missing -c ./trigger.c
./trigger.c:297:42: warning: passing 'char [4096]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        if ((len = t->decode->dc_func(buf, len, obuf, sizeof(obuf))) > 0) {
                                                ^~~~
./trigger.c:299:36: warning: passing 'char [4096]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                       0, 0, t->decode->dc_name, obuf, len);
                                                 ^~~~
./record.h:17:29: note: passing argument to parameter 'buf' here
               char *name, u_char *buf, int len);
                                   ^
./trigger.c:343:42: warning: passing 'char [4096]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        if ((len = t->decode->dc_func(buf, len, obuf, sizeof(obuf))) > 0) {
                                                ^~~~
./trigger.c:346:30: warning: passing 'char [4096]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                       t->decode->dc_name, obuf, len);
                                           ^~~~
./record.h:17:29: note: passing argument to parameter 'buf' here
               char *name, u_char *buf, int len);
                                   ^
./trigger.c:357:6: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        buf = hs->data;
            ^ ~~~~~~~~
./trigger.c:375:12: warning: passing 'char [4096]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                                              obuf, sizeof(obuf))) > 0) {
                                              ^~~~
./trigger.c:378:11: warning: passing 'char [4096]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                               obuf, len);
                               ^~~~
./record.h:17:29: note: passing argument to parameter 'buf' here
               char *name, u_char *buf, int len);
                                   ^
./trigger.c:475:7: warning: passing 'char [4096]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                                         obuf, sizeof(obuf));
                                         ^~~~
./trigger.c:481:11: warning: passing 'char [4096]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                               obuf, len);
                               ^~~~
./record.h:17:29: note: passing argument to parameter 'buf' here
               char *name, u_char *buf, int len);
                                   ^
./trigger.c:509:12: warning: passing 'char [4096]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                                              obuf, sizeof(obuf))) > 0) {
                                              ^~~~
./trigger.c:511:31: warning: passing 'char [4096]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                               t->decode->dc_name, obuf, len);
                                                   ^~~~
./record.h:17:29: note: passing argument to parameter 'buf' here
               char *name, u_char *buf, int len);
                                   ^
11 warnings generated.
gcc -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/pkg/lib/\" -I. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include/libnet10     -I./missing -c ./record.c
./record.c:65:7: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        srcp = libnet_host_lookup(rec->src, Opt_dns);
             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./record.c:66:7: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        dstp = libnet_host_lookup(rec->dst, Opt_dns);
             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./record.c:101:18: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        MD5Update(&ctx, rec->name.n_bytes, rec->name.n_len);
                        ^~~~~~~~~~~~~~~~~
./missing/md5.h:11:65: note: passing argument to parameter 'buf' here
void MD5Update(struct MD5Context *context, unsigned char const *buf,
                                                                ^
./record.c:102:18: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        MD5Update(&ctx, rec->data.n_bytes, rec->data.n_len);
                        ^~~~~~~~~~~~~~~~~
./missing/md5.h:11:65: note: passing argument to parameter 'buf' here
void MD5Update(struct MD5Context *context, unsigned char const *buf,
                                                                ^
./record.c:118:23: warning: passing 'u_char [2048]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        xdrmem_create(&xdrs, buf, sizeof(buf), XDR_ENCODE);
                             ^~~
/usr/include/rpc/xdr.h:337:42: note: passing argument to parameter here
extern void   xdrmem_create(XDR *, char *, u_int, enum xdr_op);
                                         ^
./record.c:192:19: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        rec.data.n_bytes = buf;
                         ^ ~~~
6 warnings generated.
gcc -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/pkg/lib/\" -I. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include/libnet10     -I./missing -c ./dsniff.c
gcc -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/pkg/lib/\" -I. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include/libnet10     -I./missing -c ./decode.c
./decode.c:120:7: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                                p = buf + i + 1;
                                  ^ ~~~~~~~~~~~
./decode.c:121:21: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                                if ((q = bufbuf(p, len - i, "\xff", 1))
                                                ^
./decode.h:48:24: note: passing argument to parameter 'big' here
u_char *bufbuf(u_char *big, int blen, u_char *little, int llen);
                       ^
./decode.c:121:33: warning: passing 'char [2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                                if ((q = bufbuf(p, len - i, "\xff", 1))
                                                            ^~~~~~
./decode.h:48:47: note: passing argument to parameter 'little' here
u_char *bufbuf(u_char *big, int blen, u_char *little, int llen);
                                              ^
./decode.c:121:12: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                                if ((q = bufbuf(p, len - i, "\xff", 1))
                                       ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./decode.c:123:22: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                                        if ((p = bufbuf(p, q - p, "USER\x01",
                                                        ^
./decode.h:48:24: note: passing argument to parameter 'big' here
u_char *bufbuf(u_char *big, int blen, u_char *little, int llen);
                       ^
./decode.c:123:32: warning: passing 'char [6]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                                        if ((p = bufbuf(p, q - p, "USER\x01",
                                                                  ^~~~~~~~~~
./decode.h:48:47: note: passing argument to parameter 'little' here
u_char *bufbuf(u_char *big, int blen, u_char *little, int llen);
                                              ^
./decode.c:123:13: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                                        if ((p = bufbuf(p, q - p, "USER\x01",
                                               ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7 warnings generated.
gcc -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/pkg/lib/\" -I. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include/libnet10     -I./missing -c ./decode_aim.c
./decode_aim.c:64:22: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                                if ((j = strcspn(p, " ")) > 0)
                                                 ^
/usr/include/string.h:59:29: note: passing argument to parameter here
size_t   strcspn(const char *, const char *);
                             ^
./decode_aim.c:67:15: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        if (strtok(p, " ") == NULL)
                                   ^
/usr/include/string.h:69:31: note: passing argument to parameter here
char    *strtok(char * __restrict, const char * __restrict);
                                 ^
./decode_aim.c:72:15: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        i = strlen(p);
                                   ^
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
./decode_aim.c:73:19: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        j = hex_decode(p, i, p, i);
                                       ^
./hex.h:14:22: note: passing argument to parameter 'src' here
int     hex_decode(char *src, int srclen, u_char *buf, int len);
                         ^
4 warnings generated.
gcc -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/pkg/lib/\" -I. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include/libnet10     -I./missing -c ./decode_citrix.c
gcc -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/pkg/lib/\" -I. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include/libnet10     -I./missing -c ./decode_cvs.c
gcc -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/pkg/lib/\" -I. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include/libnet10     -I./missing -c ./decode_ftp.c
./decode_ftp.c:45:19: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                if (strncasecmp(buf_ptr(line), "USER ", 5) == 0 ||
                                ^~~~~~~~~~~~~
./buf.h:31:20: note: expanded from:
#define buf_ptr(b)      ((b)->base + (b)->offset)
                        ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/strings.h:64:30: note: passing argument to parameter here
int      strncasecmp(const char *, const char *, size_t);
                                 ^
./decode_ftp.c:46:19: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                    strncasecmp(buf_ptr(line), "ACCT ", 5) == 0 ||
                                ^~~~~~~~~~~~~
./buf.h:31:20: note: expanded from:
#define buf_ptr(b)      ((b)->base + (b)->offset)
                        ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/strings.h:64:30: note: passing argument to parameter here
int      strncasecmp(const char *, const char *, size_t);
                                 ^
./decode_ftp.c:47:19: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                    strncasecmp(buf_ptr(line), "PASS ", 5) == 0) {
                                ^~~~~~~~~~~~~
./buf.h:31:20: note: expanded from:
#define buf_ptr(b)      ((b)->base + (b)->offset)
                        ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/strings.h:64:30: note: passing argument to parameter here
int      strncasecmp(const char *, const char *, size_t);
                                 ^
3 warnings generated.
gcc -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/pkg/lib/\" -I. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include/libnet10     -I./missing -c ./decode_hex.c
gcc -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/pkg/lib/\" -I. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include/libnet10     -I./missing -c ./decode_http.c
./decode_http.c:117:21: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                if ((req = strtok(buf_ptr(msg), "\r\n")) == NULL)
                                  ^~~~~~~~~~~~
./buf.h:31:20: note: expanded from:
#define buf_ptr(b)      ((b)->base + (b)->offset)
                        ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/string.h:69:31: note: passing argument to parameter here
char    *strtok(char * __restrict, const char * __restrict);
                                 ^
./decode_http.c:155:12: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                                        query = buf_ptr(msg);
                                              ^ ~~~~~~~~~~~~
./decode_http.c:174:24: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                                i = base64_pton(p, p, strlen(p));
                                                   ^
./base64.h:12:39: note: passing argument to parameter here
int     base64_pton(char const *, u_char *, size_t);
                                          ^
./decode_http.c:181:24: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                                i = base64_pton(p, p, strlen(p));
                                                   ^
./base64.h:12:39: note: passing argument to parameter here
int     base64_pton(char const *, u_char *, size_t);
                                          ^
4 warnings generated.
gcc -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/pkg/lib/\" -I. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include/libnet10     -I./missing -c ./decode_icq.c
gcc -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/pkg/lib/\" -I. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include/libnet10     -I./missing -c ./decode_imap.c
gcc -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/pkg/lib/\" -I. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include/libnet10     -I./missing -c ./decode_irc.c
gcc -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/pkg/lib/\" -I. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include/libnet10     -I./missing -c ./decode_ldap.c
gcc -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/pkg/lib/\" -I. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include/libnet10     -I./missing -c ./decode_mmxp.c
./decode_mmxp.c:28:16: warning: initializing 'u_char *' (aka 'unsigned char *') with an expression of type 'char [33]' converts between pointers to integer types with different sign [-Wpointer-sign]
static u_char *mm_xor = MM_SECRET;
               ^        ~~~~~~~~~
1 warning generated.
gcc -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/pkg/lib/\" -I. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include/libnet10     -I./missing -c ./decode_mountd.c
./decode_mountd.c:45:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                xdrmem_create(&xdrs, buf + hdrlen, len - hdrlen, XDR_DECODE);
                                     ^~~~~~~~~~~~
/usr/include/rpc/xdr.h:337:42: note: passing argument to parameter here
extern void   xdrmem_create(XDR *, char *, u_int, enum xdr_op);
                                         ^
./decode_mountd.c:57:25: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        xdrmem_create(&xdrs, buf + hdrlen, len - hdrlen,
                                             ^~~~~~~~~~~~
/usr/include/rpc/xdr.h:337:42: note: passing argument to parameter here
extern void   xdrmem_create(XDR *, char *, u_int, enum xdr_op);
                                         ^
2 warnings generated.
gcc -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/pkg/lib/\" -I. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include/libnet10     -I./missing -c ./decode_napster.c
gcc -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/pkg/lib/\" -I. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include/libnet10     -I./missing -c ./decode_nntp.c
./decode_nntp.c:29:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        for (p = strtok(buf, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) {
                        ^~~
/usr/include/string.h:69:31: note: passing argument to parameter here
char    *strtok(char * __restrict, const char * __restrict);
                                 ^
./decode_nntp.c:31:12: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        strlcat(obuf, p, olen);
                                ^~~~
/usr/include/string.h:104:23: note: passing argument to parameter here
size_t   strlcat(char *, const char *, size_t);
                       ^
./decode_nntp.c:32:12: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        strlcat(obuf, "\n", olen);
                                ^~~~
/usr/include/string.h:104:23: note: passing argument to parameter here
size_t   strlcat(char *, const char *, size_t);
                       ^
./decode_nntp.c:36:12: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        strlcat(obuf, p, olen);
                                ^~~~
/usr/include/string.h:104:23: note: passing argument to parameter here
size_t   strlcat(char *, const char *, size_t);
                       ^
./decode_nntp.c:47:25: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                                        i = base64_pton(p, p, strlen(p));
                                                           ^
./base64.h:12:39: note: passing argument to parameter here
int     base64_pton(char const *, u_char *, size_t);
                                          ^
./decode_nntp.c:49:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                                        i = strlen(obuf);
                                                   ^~~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
./decode_nntp.c:50:15: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                                        snprintf(obuf + i, olen - i,
                                                 ^~~~~~~~
/usr/include/stdio.h:346:32: note: passing argument to parameter here
int      snprintf(char * __restrict, size_t, const char * __restrict, ...)
                                   ^
./decode_nntp.c:54:12: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        strlcat(obuf, "\n", olen);
                                ^~~~
/usr/include/string.h:104:23: note: passing argument to parameter here
size_t   strlcat(char *, const char *, size_t);
                       ^
./decode_nntp.c:57:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        return (strlen(obuf));
                       ^~~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
9 warnings generated.
gcc -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/pkg/lib/\" -I. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include/libnet10     -I./missing -c ./decode_oracle.c
./decode_oracle.c:40:11: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        snprintf(obuf, olen, "%s\n", q);
                 ^~~~
/usr/include/stdio.h:346:32: note: passing argument to parameter here
int      snprintf(char * __restrict, size_t, const char * __restrict, ...)
                                   ^
./decode_oracle.c:44:26: warning: passing 'char [7]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        if ((p = bufbuf(p, len, "(TNS V", 6)) == NULL) return (0);
                                ^~~~~~~~
./decode.h:48:47: note: passing argument to parameter 'little' here
u_char *bufbuf(u_char *big, int blen, u_char *little, int llen);
                                              ^
./decode_oracle.c:64:14: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                j = strlen(obuf);
                           ^~~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
./decode_oracle.c:65:12: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                snprintf(obuf + j, olen + j, "%s\n", p + 117);
                         ^~~~~~~~
/usr/include/stdio.h:346:32: note: passing argument to parameter here
int      snprintf(char * __restrict, size_t, const char * __restrict, ...)
                                   ^
./decode_oracle.c:68:27: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        return (gotauth ? strlen(obuf) : 0);
                                 ^~~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
5 warnings generated.
gcc -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/pkg/lib/\" -I. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include/libnet10     -I./missing -c ./decode_ospf.c
./decode_ospf.c:29:19: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        return (snprintf(obuf, olen, "%s\n", buf + 16));
                         ^~~~
/usr/include/stdio.h:346:32: note: passing argument to parameter here
int      snprintf(char * __restrict, size_t, const char * __restrict, ...)
                                   ^
1 warning generated.
gcc -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/pkg/lib/\" -I. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include/libnet10     -I./missing -c ./decode_pcanywhere.c
gcc -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/pkg/lib/\" -I. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include/libnet10     -I./missing -c ./decode_pop.c
./decode_pop.c:27:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        for (p = strtok(buf, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) {
                        ^~~
/usr/include/string.h:69:31: note: passing argument to parameter here
char    *strtok(char * __restrict, const char * __restrict);
                                 ^
./decode_pop.c:31:12: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        strlcat(obuf, p, olen);
                                ^~~~
/usr/include/string.h:104:23: note: passing argument to parameter here
size_t   strlcat(char *, const char *, size_t);
                       ^
./decode_pop.c:32:12: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        strlcat(obuf, "\n", olen);
                                ^~~~
/usr/include/string.h:104:23: note: passing argument to parameter here
size_t   strlcat(char *, const char *, size_t);
                       ^
./decode_pop.c:35:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (strip_lines(obuf, Opt_lines) < 3)
                        ^~~~
./decode.h:44:23: note: passing argument to parameter 'buf' here
int     strip_lines(char *buf, int max_lines);
                          ^
./decode_pop.c:38:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        return (strlen(obuf));
                       ^~~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
./decode_pop.c:49:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        for (p = strtok(buf, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) {
                        ^~~
/usr/include/string.h:69:31: note: passing argument to parameter here
char    *strtok(char * __restrict, const char * __restrict);
                                 ^
./decode_pop.c:52:12: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        strlcat(obuf, p, olen);
                                ^~~~
/usr/include/string.h:104:23: note: passing argument to parameter here
size_t   strlcat(char *, const char *, size_t);
                       ^
./decode_pop.c:53:12: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        strlcat(obuf, "\n", olen);
                                ^~~~
/usr/include/string.h:104:23: note: passing argument to parameter here
size_t   strlcat(char *, const char *, size_t);
                       ^
./decode_pop.c:57:13: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                                strlcat(obuf, p, olen);
                                        ^~~~
/usr/include/string.h:104:23: note: passing argument to parameter here
size_t   strlcat(char *, const char *, size_t);
                       ^
./decode_pop.c:58:24: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                                j = base64_pton(p, p, strlen(p));
                                                   ^
./base64.h:12:39: note: passing argument to parameter here
int     base64_pton(char const *, u_char *, size_t);
                                          ^
./decode_pop.c:60:13: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                                strlcat(obuf, " [", olen);
                                        ^~~~
/usr/include/string.h:104:23: note: passing argument to parameter here
size_t   strlcat(char *, const char *, size_t);
                       ^
./decode_pop.c:61:13: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                                strlcat(obuf, p, olen);
                                        ^~~~
/usr/include/string.h:104:23: note: passing argument to parameter here
size_t   strlcat(char *, const char *, size_t);
                       ^
./decode_pop.c:62:13: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                                strlcat(obuf, "]\n", olen);
                                        ^~~~
/usr/include/string.h:104:23: note: passing argument to parameter here
size_t   strlcat(char *, const char *, size_t);
                       ^
./decode_pop.c:69:12: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        strlcat(obuf, p, olen);
                                ^~~~
/usr/include/string.h:104:23: note: passing argument to parameter here
size_t   strlcat(char *, const char *, size_t);
                       ^
./decode_pop.c:70:12: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        strlcat(obuf, "\n", olen);
                                ^~~~
/usr/include/string.h:104:23: note: passing argument to parameter here
size_t   strlcat(char *, const char *, size_t);
                       ^
./decode_pop.c:73:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        return (strlen(obuf));
                       ^~~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
16 warnings generated.
gcc -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/pkg/lib/\" -I. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include/libnet10     -I./missing -c ./decode_portmap.c
./decode_portmap.c:39:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                xdrmem_create(&xdrs, buf + hdrlen, len - hdrlen, XDR_DECODE);
                                     ^~~~~~~~~~~~
/usr/include/rpc/xdr.h:337:42: note: passing argument to parameter here
extern void   xdrmem_create(XDR *, char *, u_int, enum xdr_op);
                                         ^
./decode_portmap.c:54:25: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        xdrmem_create(&xdrs, buf + hdrlen, len - hdrlen,
                                             ^~~~~~~~~~~~
/usr/include/rpc/xdr.h:337:42: note: passing argument to parameter here
extern void   xdrmem_create(XDR *, char *, u_int, enum xdr_op);
                                         ^
2 warnings generated.
gcc -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/pkg/lib/\" -I. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include/libnet10     -I./missing -c ./decode_postgresql.c
./decode_postgresql.c:44:8: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                                db = p + 4; db[63] = '\0';
                                   ^ ~~~~~
./decode_postgresql.c:50:27: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        snprintf(obuf + strlen(obuf),
                                               ^~~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
./decode_postgresql.c:51:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                                 olen - strlen(obuf),
                                               ^~~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
./decode_postgresql.c:50:13: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        snprintf(obuf + strlen(obuf),
                                 ^~~~~~~~~~~~~~~~~~~
/usr/include/stdio.h:346:32: note: passing argument to parameter here
int      snprintf(char * __restrict, size_t, const char * __restrict, ...)
                                   ^
./decode_postgresql.c:58:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        return (strlen(obuf));
                       ^~~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
5 warnings generated.
gcc -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/pkg/lib/\" -I. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include/libnet10     -I./missing -c ./decode_pptp.c
./decode_pptp.c:184:20: warning: passing 'u_char [64]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        if ((p = strchr(name, '\\')) == NULL)
                                        ^~~~
/usr/include/string.h:55:26: note: passing argument to parameter here
char    *strchr(const char *, int);
                            ^
./decode_pptp.c:184:11: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        if ((p = strchr(name, '\\')) == NULL)
                               ^ ~~~~~~~~~~~~~~~~~~
./decode_pptp.c:190:32: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        SHA1_Update(&ctx, p, strlen(p));
                                                    ^
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
3 warnings generated.
gcc -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/pkg/lib/\" -I. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include/libnet10     -I./missing -c ./decode_rip.c
./decode_rip.c:30:19: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        return (snprintf(obuf, olen, "%s\n", buf + 20));
                         ^~~~
/usr/include/stdio.h:346:32: note: passing argument to parameter here
int      snprintf(char * __restrict, size_t, const char * __restrict, ...)
                                   ^
1 warning generated.
gcc -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/pkg/lib/\" -I. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include/libnet10     -I./missing -c ./decode_rlogin.c
./decode_rlogin.c:28:10: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        strlcpy(obuf, "[", olen);
                ^~~~
/usr/include/string.h:105:23: note: passing argument to parameter here
size_t   strlcpy(char *, const char *, size_t);
                       ^
./decode_rlogin.c:29:10: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        strlcat(obuf, p, olen);         /* Local username */
                ^~~~
/usr/include/string.h:104:23: note: passing argument to parameter here
size_t   strlcat(char *, const char *, size_t);
                       ^
./decode_rlogin.c:29:16: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        strlcat(obuf, p, olen);         /* Local username */
                      ^
/usr/include/string.h:104:37: note: passing argument to parameter here
size_t   strlcat(char *, const char *, size_t);
                                     ^
./decode_rlogin.c:30:10: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        strlcat(obuf, ":", olen);
                ^~~~
/usr/include/string.h:104:23: note: passing argument to parameter here
size_t   strlcat(char *, const char *, size_t);
                       ^
./decode_rlogin.c:31:14: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        p += strlen(p) + 1;
                    ^
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
./decode_rlogin.c:33:10: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        strlcat(obuf, p, olen);         /* Remote username */
                ^~~~
/usr/include/string.h:104:23: note: passing argument to parameter here
size_t   strlcat(char *, const char *, size_t);
                       ^
./decode_rlogin.c:33:16: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        strlcat(obuf, p, olen);         /* Remote username */
                      ^
/usr/include/string.h:104:37: note: passing argument to parameter here
size_t   strlcat(char *, const char *, size_t);
                                     ^
./decode_rlogin.c:34:10: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        strlcat(obuf, "]\n", olen);
                ^~~~
/usr/include/string.h:104:23: note: passing argument to parameter here
size_t   strlcat(char *, const char *, size_t);
                       ^
./decode_rlogin.c:35:14: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        p += strlen(p) + 1;
                    ^
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
./decode_rlogin.c:37:14: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        p += strlen(p) + 1;                     /* Skip term info */
                    ^
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
./decode_rlogin.c:39:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if ((q = strstr(p, "\xff\xffss")) != NULL)      /* Skip window size */
                        ^
/usr/include/string.h:68:26: note: passing argument to parameter here
char    *strstr(const char *, const char *);
                            ^
./decode_rlogin.c:39:9: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if ((q = strstr(p, "\xff\xffss")) != NULL)      /* Skip window size */
               ^ ~~~~~~~~~~~~~~~~~~~~~~~
./decode_rlogin.c:42:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        for (p = strtok(p, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) {
                        ^
/usr/include/string.h:69:31: note: passing argument to parameter here
char    *strtok(char * __restrict, const char * __restrict);
                                 ^
./decode_rlogin.c:42:9: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        for (p = strtok(p, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) {
               ^ ~~~~~~~~~~~~~~~~~
./decode_rlogin.c:42:43: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        for (p = strtok(p, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) {
                                                 ^ ~~~~~~~~~~~~~~~~~~~~
./decode_rlogin.c:43:11: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                strlcat(obuf, p, olen);
                        ^~~~
/usr/include/string.h:104:23: note: passing argument to parameter here
size_t   strlcat(char *, const char *, size_t);
                       ^
./decode_rlogin.c:43:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                strlcat(obuf, p, olen);
                              ^
/usr/include/string.h:104:37: note: passing argument to parameter here
size_t   strlcat(char *, const char *, size_t);
                                     ^
./decode_rlogin.c:44:11: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                strlcat(obuf, "\n", olen);
                        ^~~~
/usr/include/string.h:104:23: note: passing argument to parameter here
size_t   strlcat(char *, const char *, size_t);
                       ^
./decode_rlogin.c:46:19: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (!strip_lines(obuf, Opt_lines))
                         ^~~~
./decode.h:44:23: note: passing argument to parameter 'buf' here
int     strip_lines(char *buf, int max_lines);
                          ^
./decode_rlogin.c:49:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        return (strlen(obuf));
                       ^~~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
20 warnings generated.
gcc -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/pkg/lib/\" -I. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include/libnet10     -I./missing -c ./decode_smb.c
./decode_smb.c:64:9: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                        pass = q + 6;
                             ^ ~~~~~
./decode_smb.c:72:9: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                        pass = q + 12;
                             ^ ~~~~~~
./decode_smb.c:80:12: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        strlcat(obuf, user, olen);
                                ^~~~
/usr/include/string.h:104:23: note: passing argument to parameter here
size_t   strlcat(char *, const char *, size_t);
                       ^
./decode_smb.c:81:12: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        strlcat(obuf, " ", olen);
                                ^~~~
/usr/include/string.h:104:23: note: passing argument to parameter here
size_t   strlcat(char *, const char *, size_t);
                       ^
./decode_smb.c:82:12: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        strlcat(obuf, pass, olen);
                                ^~~~
/usr/include/string.h:104:23: note: passing argument to parameter here
size_t   strlcat(char *, const char *, size_t);
                       ^
./decode_smb.c:83:12: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        strlcat(obuf, "\n", olen);
                                ^~~~
/usr/include/string.h:104:23: note: passing argument to parameter here
size_t   strlcat(char *, const char *, size_t);
                       ^
./decode_smb.c:86:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        return (strlen(obuf));
                       ^~~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
7 warnings generated.
gcc -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/pkg/lib/\" -I. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include/libnet10     -I./missing -c ./decode_smtp.c
./decode_smtp.c:28:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        for (p = strtok(buf, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) {
                        ^~~
/usr/include/string.h:69:31: note: passing argument to parameter here
char    *strtok(char * __restrict, const char * __restrict);
                                 ^
./decode_smtp.c:30:12: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        strlcat(obuf, p, olen);
                                ^~~~
/usr/include/string.h:104:23: note: passing argument to parameter here
size_t   strlcat(char *, const char *, size_t);
                       ^
./decode_smtp.c:31:23: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                        i = base64_pton(p, p, strlen(p));
                                           ^
./base64.h:12:39: note: passing argument to parameter here
int     base64_pton(char const *, u_char *, size_t);
                                          ^
./decode_smtp.c:33:15: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        j = strlen(obuf);
                                   ^~~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
./decode_smtp.c:34:13: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        snprintf(obuf + j, olen - j, " [%s]\n", p);
                                 ^~~~~~~~
/usr/include/stdio.h:346:32: note: passing argument to parameter here
int      snprintf(char * __restrict, size_t, const char * __restrict, ...)
                                   ^
./decode_smtp.c:38:12: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        strlcat(obuf, p, olen);
                                ^~~~
/usr/include/string.h:104:23: note: passing argument to parameter here
size_t   strlcat(char *, const char *, size_t);
                       ^
./decode_smtp.c:40:23: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                        i = base64_pton(p, p, strlen(p));
                                           ^
./base64.h:12:39: note: passing argument to parameter here
int     base64_pton(char const *, u_char *, size_t);
                                          ^
./decode_smtp.c:42:15: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        j = strlen(obuf);
                                   ^~~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
./decode_smtp.c:43:13: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        snprintf(obuf + j, olen - j, " [%s]\n", p);
                                 ^~~~~~~~
/usr/include/stdio.h:346:32: note: passing argument to parameter here
int      snprintf(char * __restrict, size_t, const char * __restrict, ...)
                                   ^
./decode_smtp.c:52:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        return (strlen(obuf));
                       ^~~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
10 warnings generated.
gcc -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/pkg/lib/\" -I. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include/libnet10     -I./missing -c ./decode_sniffer.c
./decode_sniffer.c:32:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        return (strlcpy(obuf, "[]\n", olen));
                                        ^~~~
/usr/include/string.h:105:23: note: passing argument to parameter here
size_t   strlcpy(char *, const char *, size_t);
                       ^
./decode_sniffer.c:36:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        return (strlcpy(obuf, "[]\n", olen));
                                        ^~~~
/usr/include/string.h:105:23: note: passing argument to parameter here
size_t   strlcpy(char *, const char *, size_t);
                       ^
./decode_sniffer.c:40:29: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        buf[len - 3]= '\0'; strtok(&buf[32], "\r\n");
                                   ^~~~~~~~
/usr/include/string.h:69:31: note: passing argument to parameter here
char    *strtok(char * __restrict, const char * __restrict);
                                 ^
./decode_sniffer.c:41:11: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        snprintf(obuf, olen, "%s [", &buf[32]);
                 ^~~~
/usr/include/stdio.h:346:32: note: passing argument to parameter here
int      snprintf(char * __restrict, size_t, const char * __restrict, ...)
                                   ^
./decode_sniffer.c:42:15: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        len = strlen(obuf);
                     ^~~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
./decode_sniffer.c:43:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        i = base64_pton(&buf[32], &obuf[len], olen - len - 3);
                        ^~~~~~~~
./base64.h:12:29: note: passing argument to parameter here
int     base64_pton(char const *, u_char *, size_t);
                                ^
./decode_sniffer.c:45:10: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        strlcat(obuf, "]\n", olen);
                ^~~~
/usr/include/string.h:104:23: note: passing argument to parameter here
size_t   strlcat(char *, const char *, size_t);
                       ^
./decode_sniffer.c:47:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        return (strlen(obuf));
                       ^~~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
8 warnings generated.
gcc -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/pkg/lib/\" -I. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include/libnet10     -I./missing -c ./decode_snmp.c
./decode_snmp.c:45:4: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        p = buf_strdup(b);
          ^ ~~~~~~~~~~~~~
1 warning generated.
gcc -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/pkg/lib/\" -I. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include/libnet10     -I./missing -c ./decode_socks.c
./decode_socks.c:45:11: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        snprintf(obuf, olen, "%s ", p - 1);
                 ^~~~
/usr/include/stdio.h:346:32: note: passing argument to parameter here
int      snprintf(char * __restrict, size_t, const char * __restrict, ...)
                                   ^
./decode_socks.c:53:10: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        strlcat(obuf, p - 1, olen);
                ^~~~
/usr/include/string.h:104:23: note: passing argument to parameter here
size_t   strlcat(char *, const char *, size_t);
                       ^
./decode_socks.c:53:16: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        strlcat(obuf, p - 1, olen);
                      ^~~~~
/usr/include/string.h:104:37: note: passing argument to parameter here
size_t   strlcat(char *, const char *, size_t);
                                     ^
./decode_socks.c:54:10: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        strlcat(obuf, "\n", olen);
                ^~~~
/usr/include/string.h:104:23: note: passing argument to parameter here
size_t   strlcat(char *, const char *, size_t);
                       ^
./decode_socks.c:56:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        return (strlen(obuf));
                       ^~~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
5 warnings generated.
gcc -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/pkg/lib/\" -I. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include/libnet10     -I./missing -c ./decode_tds.c
./decode_tds.c:152:12: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        strlcat(obuf, tl->username, olen);
                                ^~~~
/usr/include/string.h:104:23: note: passing argument to parameter here
size_t   strlcat(char *, const char *, size_t);
                       ^
./decode_tds.c:153:12: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        strlcat(obuf, "\n", olen);
                                ^~~~
/usr/include/string.h:104:23: note: passing argument to parameter here
size_t   strlcat(char *, const char *, size_t);
                       ^
./decode_tds.c:159:12: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        strlcat(obuf, tl->password, olen);
                                ^~~~
/usr/include/string.h:104:23: note: passing argument to parameter here
size_t   strlcat(char *, const char *, size_t);
                       ^
./decode_tds.c:160:12: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        strlcat(obuf, "\n", olen);
                                ^~~~
/usr/include/string.h:104:23: note: passing argument to parameter here
size_t   strlcat(char *, const char *, size_t);
                       ^
./decode_tds.c:186:27: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        snprintf(obuf + strlen(obuf),
                                               ^~~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
./decode_tds.c:187:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                                 olen - strlen(obuf),
                                               ^~~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
./decode_tds.c:186:13: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        snprintf(obuf + strlen(obuf),
                                 ^~~~~~~~~~~~~~~~~~~
/usr/include/stdio.h:346:32: note: passing argument to parameter here
int      snprintf(char * __restrict, size_t, const char * __restrict, ...)
                                   ^
./decode_tds.c:191:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        return (strlen(obuf));
                       ^~~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
8 warnings generated.
gcc -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/pkg/lib/\" -I. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include/libnet10     -I./missing -c ./decode_telnet.c
./decode_telnet.c:25:23: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (!is_ascii_string(buf, len))
                             ^~~
./decode.h:46:27: note: passing argument to parameter 'buf' here
int     is_ascii_string(char *buf, int len);
                              ^
./decode_telnet.c:28:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (strip_lines(buf, Opt_lines) < 2)
                        ^~~
./decode.h:44:23: note: passing argument to parameter 'buf' here
int     strip_lines(char *buf, int max_lines);
                          ^
./decode_telnet.c:31:10: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        strlcpy(obuf, buf, olen);
                ^~~~
/usr/include/string.h:105:23: note: passing argument to parameter here
size_t   strlcpy(char *, const char *, size_t);
                       ^
./decode_telnet.c:31:16: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        strlcpy(obuf, buf, olen);
                      ^~~
/usr/include/string.h:105:37: note: passing argument to parameter here
size_t   strlcpy(char *, const char *, size_t);
                                     ^
./decode_telnet.c:33:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        return (strlen(obuf));
                       ^~~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
5 warnings generated.
gcc -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/pkg/lib/\" -I. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include/libnet10     -I./missing -c ./decode_vrrp.c
gcc -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/pkg/lib/\" -I. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include/libnet10     -I./missing -c ./decode_yp.c
./decode_yp.c:84:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                xdrmem_create(&xdrs, buf + hdrlen, len - hdrlen, XDR_DECODE);
                                     ^~~~~~~~~~~~
/usr/include/rpc/xdr.h:337:42: note: passing argument to parameter here
extern void   xdrmem_create(XDR *, char *, u_int, enum xdr_op);
                                         ^
./decode_yp.c:86:13: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        snprintf(obuf, olen,
                                 ^~~~
/usr/include/stdio.h:346:32: note: passing argument to parameter here
int      snprintf(char * __restrict, size_t, const char * __restrict, ...)
                                   ^
./decode_yp.c:95:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        return (strlen(obuf));
                       ^~~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
./decode_yp.c:116:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                xdrmem_create(&xdrs, buf + hdrlen, len - hdrlen, XDR_DECODE);
                                     ^~~~~~~~~~~~
/usr/include/rpc/xdr.h:337:42: note: passing argument to parameter here
extern void   xdrmem_create(XDR *, char *, u_int, enum xdr_op);
                                         ^
./decode_yp.c:129:25: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        xdrmem_create(&xdrs, buf + hdrlen, len - hdrlen,
                                             ^~~~~~~~~~~~
/usr/include/rpc/xdr.h:337:42: note: passing argument to parameter here
extern void   xdrmem_create(XDR *, char *, u_int, enum xdr_op);
                                         ^
./decode_yp.c:133:15: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                                        snprintf(obuf, olen, "%s\n",
                                                 ^~~~
/usr/include/stdio.h:346:32: note: passing argument to parameter here
int      snprintf(char * __restrict, size_t, const char * __restrict, ...)
                                   ^
./decode_yp.c:141:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        return (strlen(obuf));
                       ^~~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
7 warnings generated.
gcc -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/pkg/lib/\" -I. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include/libnet10     -I./missing -c ./decode_x11.c
./decode_x11.c:24:4: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        p = buf + 12;
          ^ ~~~~~~~~
./decode_x11.c:29:10: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        strlcpy(obuf, "MIT-MAGIC-COOKIE-1 ", olen);
                ^~~~
/usr/include/string.h:105:23: note: passing argument to parameter here
size_t   strlcpy(char *, const char *, size_t);
                       ^
./decode_x11.c:33:4: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        q = obuf + 19;
          ^ ~~~~~~~~~
./decode_x11.c:37:10: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        strlcat(obuf, "\n", olen);
                ^~~~
/usr/include/string.h:104:23: note: passing argument to parameter here
size_t   strlcat(char *, const char *, size_t);
                       ^
./decode_x11.c:39:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        return (strlen(obuf));
                       ^~~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
5 warnings generated.
gcc -Wl,-rpath,/usr/pkg/lib -L/usr/pkg/lib -lglib-2.0 -lgthread-2.0 -L/usr/lib -Wl,-rpath,/usr/lib -L/usr/pkg/lib/libnet10 -Wl,-rpath,/usr/pkg/lib/libnet10 -o dsniff asn1.o base64.o buf.o hex.o magic.o mount.o pcaputil.o rpc.o tcp_raw.o trigger.o record.o dsniff.o decode.o decode_aim.o decode_citrix.o decode_cvs.o decode_ftp.o decode_hex.o decode_http.o decode_icq.o decode_imap.o decode_irc.o decode_ldap.o decode_mmxp.o decode_mountd.o decode_napster.o decode_nntp.o decode_oracle.o decode_ospf.o decode_pcanywhere.o decode_pop.o decode_portmap.o decode_postgresql.o decode_pptp.o decode_rip.o decode_rlogin.o decode_smb.o decode_smtp.o decode_sniffer.o decode_snmp.o decode_socks.o decode_tds.o decode_telnet.o decode_vrrp.o decode_yp.o decode_x11.o -lresolv -lrpcsvc  -L. -lmissing -L/usr/pkg/lib -lnids -lpcap -L/usr/pkg/lib/libnet10 -lnet  -lssl -lcrypto
/scratch/security/dsniff-nox11/work/.buildlink/lib/libnids.a(tcp.o): In function `process_tcp':
tcp.c:(.text+0xc37): undefined reference to `before'
tcp.c:(.text+0xc57): undefined reference to `before'
tcp.c:(.text+0xd43): undefined reference to `before'
tcp.c:(.text+0xfa4): undefined reference to `after'
tcp.c:(.text+0xfef): undefined reference to `after'
tcp.c:(.text+0x111c): undefined reference to `after'
tcp.c:(.text+0x1145): undefined reference to `after'
tcp.c:(.text+0x1287): undefined reference to `after'
/scratch/security/dsniff-nox11/work/.buildlink/lib/libnids.a(tcp.o):tcp.c:(.text+0x1665): more undefined references to `after' follow
/scratch/security/dsniff-nox11/work/.buildlink/lib/libnids.a(tcp.o): In function `add_from_skb':
tcp.c:(.text+0x16be): undefined reference to `before'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.
make: stopped in /scratch/security/dsniff-nox11/work/dsniff-2.3
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/security/dsniff-nox11
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/security/dsniff-nox11
