[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

udprelay



OpenBSD 2.4
FWTK 2.1

I'm trying to install udprelay to wotk in conjunction with TIS' Firewall
Toolkit. It will not compile. The error message follows:

gcc -o udprelay -O -DSYSV -DRELAYHOST=\""something.something"\"
-DRELAYPORT=1092  -DNOBODY=\""nobody"\
" udprelay.c -lsocket
udprelay.c: In function `opensocket':
udprelay.c:335: `FIONBIO' undeclared (first use in this function)
udprelay.c:335: (Each undeclared identifier is reported only once
udprelay.c:335: for each function it appears in.)
udprelay.c:342: warning: passing arg 2 of `bind' from incompatible pointer
type
udprelay.c:348: warning: passing arg 2 of `getsockname' from incompatible
pointer type
udprelay.c: In function `sendtopartner':
udprelay.c:877: warning: passing arg 5 of `sendto' from incompatible pointer
type
udprelay.c: In function `fwdpacketfrom':
udprelay.c:905: warning: passing arg 5 of `recvfrom' from incompatible
pointer type
*** Error code 1

 Has anyone had luck with this under OpenBSD?. There are all kinds of
supposed patches, but none are OBSD specific.


Visit your host, monkey.org