I downloaded portsentry-1.2.tar.gz untarred it and ran
'make linux'. I got the folowing response:
SYSTYPE=linux
Making
cc -O -Wall -DLINUX -DSUPPORT_STEALTH -o ./portsentry
./portsentry.c ./portsentry_io.c ./portsentry_util.c
In file included from ./portsentry.h:51,
from ./portsentry.c:20:
./portsentry_tcpip.h:45:22: features.h: No such file or
directory
./portsentry.c: In function `Usage':
./portsentry.c:1584: error: missing terminating " character
./portsentry.c:1585: error: `sourceforget' undeclared
(first use in this function)
./portsentry.c:1585: error: (Each undeclared identifier
is reported only once
./portsentry.c:1585: error: for each function it
appears in.)
./portsentry.c:1585: error: syntax error before "dot"
./portsentry.c:1585: error: stray '\' in program
./portsentry.c:1585: error: missing terminating " character
In file included from ./portsentry.h:51,
from ./portsentry_io.c:20:
./portsentry_tcpip.h:45:22: features.h: No such file or
directory
./portsentry_io.c: In function `WriteBlocked':
./portsentry_io.c:260: warning: long int format, time_t
arg (arg 3)
./portsentry_io.c:278: warning: long int format, time_t
arg (arg 3)
In file included from ./portsentry.h:51,
from ./portsentry_util.c:20:
./portsentry_tcpip.h:45:22: features.h: No such file or
directory
*** Error code 1
Stop in /root/portsentry_beta.
It looks to me like features.h is missing. Ok, found
the previous version and downloaded
portsentry-1.1.tar.gz and got essentially the same output.
SYSTYPE=linux
Making
cc -O -Wall -DLINUX -DSUPPORT_STEALTH -o ./portsentry
./portsentry.c ./portsentry_io.c ./portsentry_util.c
In file included from ./portsentry.h:58,
from ./portsentry.c:29:
./portsentry_tcpip.h:45:22: features.h: No such file or
directory
In file included from ./portsentry.h:58,
from ./portsentry_io.c:29:
./portsentry_tcpip.h:45:22: features.h: No such file or
directory
./portsentry_io.c: In function `WriteBlocked':
./portsentry_io.c:269: warning: long int format, time_t
arg (arg 3)
./portsentry_io.c:287: warning: long int format, time_t
arg (arg 3)
In file included from ./portsentry.h:58,
from ./portsentry_util.c:29:
./portsentry_tcpip.h:45:22: features.h: No such file or
directory
*** Error code 1
Stop in /root/portsentry-1.1.
Please help! (I'm running freebsd 5.3 stable) If
anyone knows of any reason why this tool and my server
should not be happily wed, please recommend something else.