http://sourceforge.net/projects/sentrytools/
메뉴얼 대로 설치 진행 하는데..아래처럼 오류가 발생한다
make linux SYSTYPE=linux Making cc -O -Wall -DLINUX -DSUPPORT_STEALTH -o ./portsentry ./portsentry.c \ ./portsentry_io.c ./portsentry_util.c ./portsentry.c: In function 'PortSentryModeTCP': ./portsentry.c:1187: warning: pointer targets in passing argument 3 of 'accept' differ in signedness ./portsentry.c: In function 'PortSentryModeUDP': ./portsentry.c:1384: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness ./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: expected ')' before 'dot' ./portsentry.c:1585: error: stray '\' in program ./portsentry.c:1585: error: missing terminating " character ./portsentry.c:1595: error: expected ';' before '}' token make: *** [linux] 오류 1
해결 방법을 찾던중 구글검색중 발견...
http://www.howtoforge.com/forums/showthread.php?t=25114
해결법 portsentry.c 파일의 1584, 1585 행을 보면 아래처럼 바꾸란다 ^^;
The problem was in lines 1584-1585 from portsentry.c the original look like this: 1583 printf ("PortSentry - Port Scan Detector.\n"); 1584 printf ("Copyright 1997-2003 Craig H. Rowland <craigrowland at users dot 1585 sourceforget dot net>\n"); 1586 printf ("Licensing restrictions apply. Please see documentation\n"); 1587 printf ("Version: %s\n\n", VERSION); to work this script shopuld be: 1583 printf ("PortSentry - Port Scan Detector.\n"); 1584 printf ("Copyright 1997-2003 Craig H. Rowland <craigrowland at users dot sourceforget dot net>\n"); 1585 printf ("Licensing restrictions apply. Please see documentation\n"); 1586 printf ("Version: %s\n\n", VERSION);
다시 make linux 진행 하면 아래 처럼 경고 문이 나오지만 무시해도 상관 없다.
make linux SYSTYPE=linux Making cc -O -Wall -DLINUX -DSUPPORT_STEALTH -o ./portsentry ./portsentry.c \ ./portsentry_io.c ./portsentry_util.c ./portsentry.c: In function 'PortSentryModeTCP': ./portsentry.c:1187: warning: pointer targets in passing argument 3 of 'accept' differ in signedness ./portsentry.c: In function 'PortSentryModeUDP': ./portsentry.c:1384: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness
make install 설치 완료