Changeset 341

Show
Ignore:
Timestamp:
02/20/06 10:51:00 (3 years ago)
Author:
common
Message:

[x] nepenthes 0.1.5 commit

unpacked package to trunk, svn added new files and dirs.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • nepenthes/trunk/CHANGES

    r339 r341  
     1Version 0.1.6 
     2============= 
     3 
     4 
     5We made sure the source compiles on 
     6  * cygwin 
     7  * linux (tested debian on x86, fedora core 3 on amd64, suse 9 enterprise server on powerpc) 
     8  * openbsd (tested on openbsd 3.8 on x86) 
     9  * netbsd (tested on netbsd 2.0.2 on x86) 
     10 
     11For cygwin we had to cast many int32_t to int, and many int32_t * to int too (104 times)... and include sys/socket.h (26 times) 
     12OpenBSD enforced including sys/types.h nearly everywhere (37 times) 
     1364bit fedora made us use intptr_t instead of int to point to memory (19 times) 
     14 
     15The other focus was adding some new shellcode handlers,  
     16and we added a new download handler for the broken by design rcp protocol 
     17 
     18 
     19Nepenthes 
     20        FIXES and ADDITIONS 
     21        ----- 
     22        * DownloadManager 
     23                * as long as BIG_ENDIAN is not coverd by  autoconf, dont rely it on here. 
     24 
     25        * UploadManager  
     26                * fixed includes 
     27        * DNSManager  
     28                * errno fix 
     29         
     30        * DownloadUrl 
     31                * fixed inclues  
     32         
     33        * Buffer  
     34                * casting int for amd64  
     35 
     36        * Nepenthes 
     37                * getopt int casting 
     38                * no logfiles chown own cygwin 
     39                * no filetype on cygwin, dont rely on it  
     40                * cygwin needs int main() 
     41                * no signals for cygwin (yet) 
     42                 
     43        * SocketManager 
     44                * interface to request tcp connect sockets with provided local port ( for download-rcp ) 
     45        * TCPSocket  
     46                * new constructor for connect sockets which allows setting a local port 
     47                 
     48         
     49Modules 
     50        FIXES and ADDITIONS 
     51        ----- 
     52        * many modules 
     53                * fixed wrong module names/descriptions 
     54         
     55        * shellcode-generic (picchio contributed the analysis for them, we are really glad about his work) 
     56                * added sch_generic_winexec 
     57                * pinnebergConnect added 
     58                * sch_generic_xor schoenberg xor added 
     59                * schoenenberg bind added 
     60                * ravensburg bind added 
     61                * rosengarten xor added 
     62                * schauenburg bind added 
     63                * schauenburg xor added 
     64                * leimbach xor family added 
     65                * lichtenfels xor & connectback 
     66                 
     67        * submit-xmlrpc 
     68                * using geolocation submit-xmlrpc resolved the locals geolocation,  
     69                  now we resolve the remotes 
     70                   
     71        * log-irc  
     72                * channel pass fix 
     73                * upon request - reply nepenthes version to !version 
     74                 
     75        * shellemu-winnt 
     76                * added VFSCommandRCP for rcp.exe 
     77                 
     78                   
     79        NEW 
     80        --- 
     81        * download-rcp 
     82                * created, downloads files via the undocumented rcp protcoll 
     83 
     84 
     85 
     86 
     87 
     88 
    189Version 0.1.5 
    290============= 
  • nepenthes/trunk/conf/nepenthes.conf.dist

    r339 r341  
    2929//  "downloadnepenthes.so",         "download-nepenthes.conf",      ""  // get data from others via submit-nepenthes 
    3030    "downloadtftp.so",              "download-tftp.conf",           "" 
     31    "downloadrcp.so",               ""                              "" 
    3132 
    3233// upload handler for various? protocols 
  • nepenthes/trunk/configure

    r339 r341  
    11#! /bin/sh 
    2 # From configure.ac Id: configure.ac 2213 2005-12-18 19:04:59Z common . 
     2# From configure.ac Id: configure.ac 2272 2006-01-14 20:36:02Z common . 
    33# Guess values for system-dependent variables and create Makefiles. 
    4 # Generated by GNU Autoconf 2.59 for nepenthes 0.1.5
     4# Generated by GNU Autoconf 2.59 for nepenthes 0.1.6
    55# 
    66# Report bugs to <dornseif@informatik.rwth-aachen.de>. 
     
    425425PACKAGE_NAME='nepenthes' 
    426426PACKAGE_TARNAME='nepenthes' 
    427 PACKAGE_VERSION='0.1.5
    428 PACKAGE_STRING='nepenthes 0.1.5
     427PACKAGE_VERSION='0.1.6
     428PACKAGE_STRING='nepenthes 0.1.6
    429429PACKAGE_BUGREPORT='dornseif@informatik.rwth-aachen.de' 
    430430 
     
    957957  # This message is too long to be a string in the A/UX 3.1 sh. 
    958958  cat <<_ACEOF 
    959 \`configure' configures nepenthes 0.1.5 to adapt to many kinds of systems. 
     959\`configure' configures nepenthes 0.1.6 to adapt to many kinds of systems. 
    960960 
    961961Usage: $0 [OPTION]... [VAR=VALUE]... 
     
    10231023if test -n "$ac_init_help"; then 
    10241024  case $ac_init_help in 
    1025      short | recursive ) echo "Configuration of nepenthes 0.1.5:";; 
     1025     short | recursive ) echo "Configuration of nepenthes 0.1.6:";; 
    10261026   esac 
    10271027  cat <<\_ACEOF 
     
    10571057  --with-tags[=TAGS] 
    10581058                          include additional configurations [automatic] 
     1059  --with-curl-include=PATH      specify path to curl include files 
     1060  --with-curl-lib=PATH  specify path to curl client library 
     1061  --with-pcre-include=PATH              specify path to pcre include files 
     1062  --with-pcre-lib=PATH  specify path to pcre client library 
     1063  --with-magic-include=PATH             specify path to magic include files 
     1064  --with-magic-lib=PATH specify path to magic client library 
    10591065  --with-ssh-lib=PATH   specify path to ssh client library 
    10601066  --with-ssh-include=PATH       specify path to ssh include files 
     
    10671073  --with-ip2location-include=PATH       specify path to IP2Location include files 
    10681074  --with-ip2location-lib=PATH   specify path to IP2Location client library 
     1075  --with-adns-include=PATH      specify path to adns include files 
     1076  --with-adns-lib=PATH  specify path to adns client library 
    10691077 
    10701078Some influential environment variables: 
     
    11811189if $ac_init_version; then 
    11821190  cat <<\_ACEOF 
    1183 nepenthes configure 0.1.5 
     1191nepenthes configure 0.1.6 
    11841192generated by GNU Autoconf 2.59 
    11851193 
     
    11951203running configure, to aid debugging if configure makes a mistake. 
    11961204 
    1197 It was created by nepenthes $as_me 0.1.5, which was 
     1205It was created by nepenthes $as_me 0.1.6, which was 
    11981206generated by GNU Autoconf 2.59.  Invocation command line was 
    11991207 
     
    18381846# Define the identity of the package. 
    18391847 PACKAGE=nepenthes 
    1840  VERSION=0.1.5 
     1848 VERSION=0.1.6 
    18411849 
    18421850 
     
    53765384*-*-irix6*) 
    53775385  # Find out which ABI we are using. 
    5378   echo '#line 5378 "configure"' > conftest.$ac_ext 
     5386  echo '#line 5386 "configure"' > conftest.$ac_ext 
    53795387  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    53805388  (eval $ac_compile) 2>&5 
     
    64876495 
    64886496# Provide some information about the compiler. 
    6489 echo "$as_me:6489:" \ 
     6497echo "$as_me:6497:" \ 
    64906498     "checking for Fortran 77 compiler version" >&5 
    64916499ac_compiler=`set X $ac_compile; echo $2` 
     
    75837591   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 
    75847592   -e 's:$: $lt_compiler_flag:'` 
    7585    (eval echo "\"\$as_me:7585: $lt_compile\"" >&5) 
     7593   (eval echo "\"\$as_me:7593: $lt_compile\"" >&5) 
    75867594   (eval "$lt_compile" 2>conftest.err) 
    75877595   ac_status=$? 
    75887596   cat conftest.err >&5 
    7589    echo "$as_me:7589: \$? = $ac_status" >&5 
     7597   echo "$as_me:7597: \$? = $ac_status" >&5 
    75907598   if (exit $ac_status) && test -s "$ac_outfile"; then 
    75917599     # The compiler can only warn and ignore the option if not recognized 
     
    78457853   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 
    78467854   -e 's:$: $lt_compiler_flag:'` 
    7847    (eval echo "\"\$as_me:7847: $lt_compile\"" >&5) 
     7855   (eval echo "\"\$as_me:7855: $lt_compile\"" >&5) 
    78487856   (eval "$lt_compile" 2>conftest.err) 
    78497857   ac_status=$? 
    78507858   cat conftest.err >&5 
    7851    echo "$as_me:7851: \$? = $ac_status" >&5 
     7859   echo "$as_me:7859: \$? = $ac_status" >&5 
    78527860   if (exit $ac_status) && test -s "$ac_outfile"; then 
    78537861     # The compiler can only warn and ignore the option if not recognized 
     
    79077915   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 
    79087916   -e 's:$: $lt_compiler_flag:'` 
    7909    (eval echo "\"\$as_me:7909: $lt_compile\"" >&5) 
     7917   (eval echo "\"\$as_me:7917: $lt_compile\"" >&5) 
    79107918   (eval "$lt_compile" 2>out/conftest.err) 
    79117919   ac_status=$? 
    79127920   cat out/conftest.err >&5 
    7913    echo "$as_me:7913: \$? = $ac_status" >&5 
     7921   echo "$as_me:7921: \$? = $ac_status" >&5 
    79147922   if (exit $ac_status) && test -s out/conftest2.$ac_objext 
    79157923   then 
     
    1015910167  lt_status=$lt_dlunknown 
    1016010168  cat > conftest.$ac_ext <<EOF 
    10161 #line 10161 "configure" 
     10169#line 10169 "configure" 
    1016210170#include "confdefs.h" 
    1016310171 
     
    1025710265  lt_status=$lt_dlunknown 
    1025810266  cat > conftest.$ac_ext <<EOF 
    10259 #line 10259 "configure" 
     10267#line 10267 "configure" 
    1026010268#include "confdefs.h" 
    1026110269 
     
    1251012518   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 
    1251112519   -e 's:$: $lt_compiler_flag:'` 
    12512    (eval echo "\"\$as_me:12512: $lt_compile\"" >&5) 
     12520   (eval echo "\"\$as_me:12520: $lt_compile\"" >&5) 
    1251312521   (eval "$lt_compile" 2>conftest.err) 
    1251412522   ac_status=$? 
    1251512523   cat conftest.err >&5 
    12516    echo "$as_me:12516: \$? = $ac_status" >&5 
     12524   echo "$as_me:12524: \$? = $ac_status" >&5 
    1251712525   if (exit $ac_status) && test -s "$ac_outfile"; then 
    1251812526     # The compiler can only warn and ignore the option if not recognized 
     
    1257212580   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 
    1257312581   -e 's:$: $lt_compiler_flag:'` 
    12574    (eval echo "\"\$as_me:12574: $lt_compile\"" >&5) 
     12582   (eval echo "\"\$as_me:12582: $lt_compile\"" >&5) 
    1257512583   (eval "$lt_compile" 2>out/conftest.err) 
    1257612584   ac_status=$? 
    1257712585   cat out/conftest.err >&5 
    12578    echo "$as_me:12578: \$? = $ac_status" >&5 
     12586   echo "$as_me:12586: \$? = $ac_status" >&5 
    1257912587   if (exit $ac_status) && test -s out/conftest2.$ac_objext 
    1258012588   then 
     
    1395713965  lt_status=$lt_dlunknown 
    1395813966  cat > conftest.$ac_ext <<EOF 
    13959 #line 13959 "configure" 
     13967#line 13967 "configure" 
    1396013968#include "confdefs.h" 
    1396113969 
     
    1405514063  lt_status=$lt_dlunknown 
    1405614064  cat > conftest.$ac_ext <<EOF 
    14057 #line 14057 "configure" 
     14065#line 14065 "configure" 
    1405814066#include "confdefs.h" 
    1405914067 
     
    1494014948   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 
    1494114949   -e 's:$: $lt_compiler_flag:'` 
    14942    (eval echo "\"\$as_me:14942: $lt_compile\"" >&5) 
     14950   (eval echo "\"\$as_me:14950: $lt_compile\"" >&5) 
    1494314951   (eval "$lt_compile" 2>conftest.err) 
    1494414952   ac_status=$? 
    1494514953   cat conftest.err >&5 
    14946    echo "$as_me:14946: \$? = $ac_status" >&5 
     14954   echo "$as_me:14954: \$? = $ac_status" >&5 
    1494714955   if (exit $ac_status) && test -s "$ac_outfile"; then 
    1494814956     # The compiler can only warn and ignore the option if not recognized 
     
    1500215010   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 
    1500315011   -e 's:$: $lt_compiler_flag:'` 
    15004    (eval echo "\"\$as_me:15004: $lt_compile\"" >&5) 
     15012   (eval echo "\"\$as_me:15012: $lt_compile\"" >&5) 
    1500515013   (eval "$lt_compile" 2>out/conftest.err) 
    1500615014   ac_status=$? 
    1500715015   cat out/conftest.err >&5 
    15008    echo "$as_me:15008: \$? = $ac_status" >&5 
     15016   echo "$as_me:15016: \$? = $ac_status" >&5 
    1500915017   if (exit $ac_status) && test -s out/conftest2.$ac_objext 
    1501015018   then 
     
    1714317151   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 
    1714417152   -e 's:$: $lt_compiler_flag:'` 
    17145    (eval echo "\"\$as_me:17145: $lt_compile\"" >&5) 
     17153   (eval echo "\"\$as_me:17153: $lt_compile\"" >&5) 
    1714617154   (eval "$lt_compile" 2>conftest.err) 
    1714717155   ac_status=$? 
    1714817156   cat conftest.err >&5 
    17149    echo "$as_me:17149: \$? = $ac_status" >&5 
     17157   echo "$as_me:17157: \$? = $ac_status" >&5 
    1715017158   if (exit $ac_status) && test -s "$ac_outfile"; then 
    1715117159     # The compiler can only warn and ignore the option if not recognized 
     
    1740517413   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 
    1740617414   -e 's:$: $lt_compiler_flag:'` 
    17407    (eval echo "\"\$as_me:17407: $lt_compile\"" >&5) 
     17415   (eval echo "\"\$as_me:17415: $lt_compile\"" >&5) 
    1740817416   (eval "$lt_compile" 2>conftest.err) 
    1740917417   ac_status=$? 
    1741017418   cat conftest.err >&5 
    17411    echo "$as_me:17411: \$? = $ac_status" >&5 
     17419   echo "$as_me:17419: \$? = $ac_status" >&5 
    1741217420   if (exit $ac_status) && test -s "$ac_outfile"; then 
    1741317421     # The compiler can only warn and ignore the option if not recognized 
     
    1746717475   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 
    1746817476   -e 's:$: $lt_compiler_flag:'` 
    17469    (eval echo "\"\$as_me:17469: $lt_compile\"" >&5) 
     17477   (eval echo "\"\$as_me:17477: $lt_compile\"" >&5) 
    1747017478   (eval "$lt_compile" 2>out/conftest.err) 
    1747117479   ac_status=$? 
    1747217480   cat out/conftest.err >&5 
    17473    echo "$as_me:17473: \$? = $ac_status" >&5 
     17481   echo "$as_me:17481: \$? = $ac_status" >&5 
    1747417482   if (exit $ac_status) && test -s out/conftest2.$ac_objext 
    1747517483   then 
     
    1971919727  lt_status=$lt_dlunknown 
    1972019728  cat > conftest.$ac_ext <<EOF 
    19721 #line 19721 "configure" 
     19729#line 19729 "configure" 
    1972219730#include "confdefs.h" 
    1972319731 
     
    1981719825  lt_status=$lt_dlunknown 
    1981819826  cat > conftest.$ac_ext <<EOF 
    19819 #line 19819 "configure" 
     19827#line 19827 "configure" 
    1982019828#include "confdefs.h" 
    1982119829 
     
    2331123319 
    2331223320 
    23313  
    23314 echo "$as_me:$LINENO: checking for curl_version in -lcurl" >&5 
     23321# Check whether --with-curl-include or --without-curl-include was given. 
     23322if test "${with_curl_include+set}" = set; then 
     23323  withval="$with_curl_include" 
     23324  curl_inc=$withval 
     23325else 
     23326  curl_inc=no 
     23327fi; 
     23328 
     23329 
     23330# Check whether --with-curl-lib or --without-curl-lib was given. 
     23331if test "${with_curl_lib+set}" = set; then 
     23332  withval="$with_curl_lib" 
     23333  curl_lib=$withval 
     23334else 
     23335  curl_lib=no 
     23336fi; 
     23337 
     23338if test xyes = "xyes"; then 
     23339    orig_cppflags=$CPPFLAGS 
     23340 
     23341    if test "x$curl_inc" != xno; then 
     23342      CPPFLAGS="-I$curl_inc $CPPFLAGS" 
     23343    fi 
     23344 
     23345    orig_ldflags=$LDFLAGS 
     23346    if test "x$curl_lib" != "xno"; then 
     23347        LDFLAGS="-L$curl_lib $LDFLAGS" 
     23348    fi 
     23349 
     23350    echo "$as_me:$LINENO: checking for curl_version in -lcurl" >&5 
    2331523351echo $ECHO_N "checking for curl_version in -lcurl... $ECHO_C" >&6 
    2331623352if test "${ac_cv_lib_curl_curl_version+set}" = set; then 
     
    2338923425fi 
    2339023426 
    23391  
    23392  
    23393 echo "$as_me:$LINENO: checking for pcre_compile in -lpcre" >&5 
     23427fi 
     23428 
     23429 
     23430 
     23431 
     23432# Check whether --with-pcre-include or --without-pcre-include was given. 
     23433if test "${with_pcre_include+set}" = set; then 
     23434  withval="$with_pcre_include" 
     23435  pcre_inc=$withval 
     23436else 
     23437  pcre_inc=no 
     23438fi; 
     23439 
     23440 
     23441# Check whether --with-pcre-lib or --without-pcre-lib was given. 
     23442if test "${with_pcre_lib+set}" = set; then 
     23443  withval="$with_pcre_lib" 
     23444  pcre_lib=$withval 
     23445else 
     23446  pcre_lib=no 
     23447fi; 
     23448 
     23449if test xyes = "xyes"; then 
     23450    orig_cppflags=$CPPFLAGS 
     23451 
     23452    if test "x$pcre_inc" != xno; then 
     23453      CPPFLAGS="-I$pcre_inc $CPPFLAGS" 
     23454    fi 
     23455 
     23456    orig_ldflags=$LDFLAGS 
     23457    if test "x$pcre_lib" != "xno"; then 
     23458        LDFLAGS="-L$pcre_lib $LDFLAGS" 
     23459    fi 
     23460 
     23461    echo "$as_me:$LINENO: checking for pcre_compile in -lpcre" >&5 
    2339423462echo $ECHO_N "checking for pcre_compile in -lpcre... $ECHO_C" >&6 
    2339523463if test "${ac_cv_lib_pcre_pcre_compile+set}" = set; then 
     
    2346823536fi 
    2346923537 
    23470  
    23471 echo "$as_me:$LINENO: checking for magic_open in -lmagic" >&5 
     23538fi 
     23539 
     23540 
     23541 
     23542# Check whether --with-magic-include or --without-magic-include was given. 
     23543if test "${with_magic_include+set}" = set; then 
     23544  withval="$with_magic_include" 
     23545  magic_inc=$withval 
     23546else 
     23547  magic_inc=no 
     23548fi; 
     23549 
     23550 
     23551# Check whether --with-magic-lib or --without-magic-lib was given. 
     23552if test "${with_magic_lib+set}" = set; then 
     23553  withval="$with_magic_lib" 
     23554  magic_lib=$withval 
     23555else 
     23556  magic_lib=no 
     23557fi; 
     23558 
     23559if test xyes = "xyes"; then 
     23560    orig_cppflags=$CPPFLAGS 
     23561 
     23562    if test "x$magic_inc" != xno; then 
     23563      CPPFLAGS="-I$magic_inc $CPPFLAGS" 
     23564    fi 
     23565 
     23566    orig_ldflags=$LDFLAGS 
     23567    if test "x$magic_lib" != "xno"; then 
     23568        LDFLAGS="-L$magic_lib $LDFLAGS" 
     23569    fi 
     23570 
     23571 
     23572    echo "$as_me:$LINENO: checking for magic_open in -lmagic" >&5 
    2347223573echo $ECHO_N "checking for magic_open in -lmagic... $ECHO_C" >&6 
    2347323574if test "${ac_cv_lib_magic_magic_open+set}" = set; then 
     
    2369523796done 
    2369623797 
     23798fi 
    2369723799 
    2369823800 
     
    2519725299fi; 
    2519825300 
     25301 
     25302# Check whether --with-adns-include or --without-adns-include was given. 
     25303if test "${with_adns_include+set}" = set; then 
     25304  withval="$with_adns_include" 
     25305  adns_inc=$withval 
     25306else 
     25307  adns_inc=no 
     25308fi; 
     25309 
     25310 
     25311# Check whether --with-adns-lib or --without-adns-lib was given. 
     25312if test "${with_adns_lib+set}" = set; then 
     25313  withval="$with_adns_lib" 
     25314  adns_lib=$withval 
     25315else 
     25316  adns_lib=no 
     25317fi; 
     25318 
    2519925319if test x$enable_dnsresolve_adns = xyes; then 
    25200   echo "$as_me:$LINENO: checking for adns_init in -ladns" >&5 
     25320    orig_cppflags=$CPPFLAGS 
     25321 
     25322    if test "x$adns_inc" != xno; then 
     25323      CPPFLAGS="-I$adns_inc $CPPFLAGS" 
     25324    fi 
     25325 
     25326    orig_ldflags=$LDFLAGS 
     25327    if test "x$adns_lib" != "xno"; then 
     25328        LDFLAGS="-L$adns_lib $LDFLAGS" 
     25329    fi 
     25330 
     25331 
     25332    echo "$as_me:$LINENO: checking for adns_init in -ladns" >&5 
    2520125333echo $ECHO_N "checking for adns_init in -ladns... $ECHO_C" >&6 
    2520225334if test "${ac_cv_lib_adns_adns_init+set}" = set; then 
     
    2528325415 
    2528425416 
     25417#dnl ************************************************** 
     25418#dnl * ipv6 Support                                   * 
     25419#dnl ************************************************** 
     25420# 
     25421#AC_ARG_ENABLE(ipv6, 
     25422#  [  --enable-ipv6          enable IPv6 support [default=auto].], 
     25423#  [ if test "$enableval" = "no"; then 
     25424#       enable_ipv6="no" 
     25425#    fi ], 
     25426#  [ enable_ipv6="yes" ] ) 
     25427# 
     25428# 
     25429# 
     25430#if test x$enabled_ipv6 = xno ; then 
     25431#    AC_MSG_RESULT([no -- disabled by user]) 
     25432#else 
     25433#    enable_ipv6="no" 
     25434#    AC_CHECK_FUNC(inet_pton,[enable_ipv6=yes]) 
     25435#    AC_CHECK_LIB(resolv,inet_pton,[enable_ipv6=yes]) 
     25436#    AC_MSG_CHECKING(for sockaddr_in6 in netinet/in.h) 
     25437#    AC_EGREP_HEADER(sockaddr_in6,netinet/in.h, 
     25438#    [AC_MSG_RESULT(yes)], [AC_MSG_RESULT(no); enable_ipv6="no"]) 
     25439#    if ${have_ipv6}; then 
     25440#        AC_DEFINE(HAVE_IPV6, 1, Define if the system have IPv6 structures.) 
     25441#    fi 
     25442#fi 
     25443 
     25444 
     25445 
    2528525446 
    2528625447 
     
    2535425515 
    2535525516 
    25356                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           ac_config_files="$ac_config_files Makefile nepenthes-core/Makefile nepenthes-core/include/Makefile nepenthes-core/src/Makefile modules/Makefile modules/download-creceive/Makefile modules/download-csend/Makefile modules/download-curl/Makefile modules/download-ftp/Makefile modules/download-link/Makefile modules/download-nepenthes/Makefile modules/download-tftp/Makefile modules/log-download/Makefile modules/log-irc/Makefile modules/module-portwatch/Makefile modules/submit-file/Makefile modules/submit-nepenthes/Makefile modules/submit-norman/Makefile modules/submit-xmlrpc/Makefile modules/shellcode-generic/Makefile modules/shellemu-winnt/Makefile modules/vuln-asn1/Makefile modules/vuln-bagle/Makefile modules/vuln-dcom/Makefile modules/vuln-iis/Makefile modules/vuln-kuang2/Makefile modules/vuln-lsass/Makefile modules/vuln-msmq/Makefile modules/vuln-mssql/Makefile modules/vuln-mydoom/Makefile modules/vuln-netbiosname/Makefile modules/vuln-netdde/Makefile modules/vuln-optix/Makefile modules/vuln-pnp/Makefile modules/vuln-sasserftpd/Makefile modules/vuln-sub7/Makefile modules/vuln-upnp/Makefile modules/vuln-veritas/Makefile modules/vuln-wins/Makefile modules/vuln-dameware/Makefile modules/vuln-ssh/Makefile modules/x-1/Makefile modules/x-2/Makefile modules/x-3/Makefile modules/x-4/Makefile modules/x-5/Makefile modules/x-6/Makefile modules/x-7/Makefile modules/x-8/Makefile modules/geolocation-hostip/Makefile modules/geolocation-geoip/Makefile modules/download-http/Makefile modules/upload-http/Makefile modules/dnsresolve-adns/Makefile modules/geolocation-ip2location/Makefile modules/log-surfnet/Makefile modules/vuln-msdtc/Makefile" 
     25517                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ac_config_files="$ac_config_files Makefile nepenthes-core/Makefile nepenthes-core/include/Makefile nepenthes-core/src/Makefile modules/Makefile modules/download-creceive/Makefile modules/download-csend/Makefile modules/download-curl/Makefile modules/download-ftp/Makefile modules/download-link/Makefile modules/download-nepenthes/Makefile modules/download-tftp/Makefile modules/log-download/Makefile modules/log-irc/Makefile modules/module-portwatch/Makefile modules/submit-file/Makefile modules/submit-nepenthes/Makefile modules/submit-norman/Makefile modules/submit-xmlrpc/Makefile modules/shellcode-generic/Makefile modules/shellemu-winnt/Makefile modules/vuln-asn1/Makefile modules/vuln-bagle/Makefile modules/vuln-dcom/Makefile modules/vuln-iis/Makefile modules/vuln-kuang2/Makefile modules/vuln-lsass/Makefile modules/vuln-msmq/Makefile modules/vuln-mssql/Makefile modules/vuln-mydoom/Makefile modules/vuln-netbiosname/Makefile modules/vuln-netdde/Makefile modules/vuln-optix/Makefile modules/vuln-pnp/Makefile modules/vuln-sasserftpd/Makefile modules/vuln-sub7/Makefile modules/vuln-upnp/Makefile modules/vuln-veritas/Makefile modules/vuln-wins/Makefile modules/vuln-dameware/Makefile modules/vuln-ssh/Makefile modules/x-1/Makefile modules/x-2/Makefile modules/x-3/Makefile modules/x-4/Makefile modules/x-5/Makefile modules/x-6/Makefile modules/x-7/Makefile modules/x-8/Makefile modules/geolocation-hostip/Makefile modules/geolocation-geoip/Makefile modules/download-http/Makefile modules/upload-http/Makefile modules/dnsresolve-adns/Makefile modules/geolocation-ip2location/Makefile modules/log-surfnet/Makefile modules/vuln-msdtc/Makefile modules/download-rcp/Makefile" 
    2535725518 
    2535825519#                modules/module-drone/Makefile 
    2535925520#                modules/log-surfnet/Makefile]) 
    2536025521#                modules/vuln-netbios/Makefile 
     25522#                 modules/module-baitnswitch/Makefile 
     25523 
    2536125524 
    2536225525cat >confcache <<\_ACEOF 
     
    2576425927cat >&5 <<_CSEOF 
    2576525928 
    25766 This file was extended by nepenthes $as_me 0.1.5, which was 
     25929This file was extended by nepenthes $as_me 0.1.6, which was 
    2576725930generated by GNU Autoconf 2.59.  Invocation command line was 
    2576825931 
     
    2582725990cat >>$CONFIG_STATUS <<_ACEOF 
    2582825991ac_cs_version="\\ 
    25829 nepenthes config.status 0.1.5 
     25992nepenthes config.status 0.1.6 
    2583025993configured by $0, generated by GNU Autoconf 2.59, 
    2583125994  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 
     
    2599426157  "modules/log-surfnet/Makefile" ) CONFIG_FILES="$CONFIG_FILES modules/log-surfnet/Makefile" ;; 
    2599526158  "modules/vuln-msdtc/Makefile" ) CONFIG_FILES="$CONFIG_FILES modules/vuln-msdtc/Makefile" ;; 
     26159  "modules/download-rcp/Makefile" ) CONFIG_FILES="$CONFIG_FILES modules/download-rcp/Makefile" ;; 
    2599626160  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 
    2599726161  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 
     
    2689027054echo "" 
    2689127055echo "- Support ssh                 : $enable_ssh" 
     27056# echo "" 
     27057# echo "- Support ipv6                : $enable_ipv6" 
  • nepenthes/trunk/configure.ac

    r339 r341  
    77 
    88AC_PREREQ(2.59) 
    9 AC_INIT([nepenthes], [0.1.5], [dornseif@informatik.rwth-aachen.de]) 
    10 AM_INIT_AUTOMAKE([nepenthes], [0.1.5]) 
     9AC_INIT([nepenthes], [0.1.6], [dornseif@informatik.rwth-aachen.de]) 
     10AM_INIT_AUTOMAKE([nepenthes], [0.1.6]) 
    1111AC_REVISION([$Id$]) 
    1212 
     
    166166dnl * libcurl Support                                * 
    167167dnl ************************************************** 
    168  
    169  
    170 AC_CHECK_LIB([curl], [curl_version], 
     168AC_ARG_WITH(curl-include, 
     169    [  --with-curl-include=PATH specify path to curl include files], 
     170    [curl_inc=$withval], 
     171    [curl_inc=no]) 
     172 
     173AC_ARG_WITH(curl-lib, 
     174    [  --with-curl-lib=PATH     specify path to curl client library], 
     175    [curl_lib=$withval], 
     176    [curl_lib=no]) 
     177 
     178if test xyes = "xyes"; then 
     179    orig_cppflags=$CPPFLAGS 
     180   
     181    if test "x$curl_inc" != xno; then 
     182      CPPFLAGS="-I$curl_inc $CPPFLAGS" 
     183    fi 
     184 
     185    orig_ldflags=$LDFLAGS 
     186    if test "x$curl_lib" != "xno"; then 
     187        LDFLAGS="-L$curl_lib $LDFLAGS" 
     188    fi 
     189 
     190    AC_CHECK_LIB([curl], [curl_version], 
    171191             [AC_DEFINE(HAVE_LIBCURL, 1, 
    172192                       [Define if you want to use libcurl]) 
     
    174194             [AC_MSG_ERROR([libcurl is missing - install it please]) 
    175195             ]) 
     196fi 
     197           
    176198 
    177199dnl ************************************************** 
     
    179201dnl ************************************************** 
    180202 
    181 AC_CHECK_LIB([pcre], [pcre_compile], 
     203AC_ARG_WITH(pcre-include, 
     204    [  --with-pcre-include=PATH         specify path to pcre include files], 
     205    [pcre_inc=$withval], 
     206    [pcre_inc=no]) 
     207 
     208AC_ARG_WITH(pcre-lib, 
     209    [  --with-pcre-lib=PATH     specify path to pcre client library], 
     210    [pcre_lib=$withval], 
     211    [pcre_lib=no]) 
     212 
     213if test xyes = "xyes"; then 
     214    orig_cppflags=$CPPFLAGS 
     215   
     216    if test "x$pcre_inc" != xno; then 
     217      CPPFLAGS="-I$pcre_inc $CPPFLAGS" 
     218    fi 
     219 
     220    orig_ldflags=$LDFLAGS 
     221    if test "x$pcre_lib" != "xno"; then 
     222        LDFLAGS="-L$pcre_lib $LDFLAGS" 
     223    fi 
     224     
     225    AC_CHECK_LIB([pcre], [pcre_compile], 
    182226             [AC_DEFINE(HAVE_LIBPCRE, 1, 
    183227                        [Define if you want to use libpcre]) 
     
    185229             [AC_MSG_ERROR([libpcre is missing - install it please]) 
    186230             ]) 
     231fi            
    187232 
    188233dnl ************************************************** 
    189234dnl * libmagic Support                               * 
    190235dnl ************************************************** 
    191 AC_CHECK_LIB([magic], [magic_open], 
     236 
     237AC_ARG_WITH(magic-include, 
     238    [  --with-magic-include=PATH                specify path to magic include files], 
     239    [magic_inc=$withval], 
     240    [magic_inc=no]) 
     241 
     242AC_ARG_WITH(magic-lib, 
     243    [  --with-magic-lib=PATH    specify path to magic client library], 
     244    [magic_lib=$withval], 
     245    [magic_lib=no]) 
     246 
     247if test xyes = "xyes"; then 
     248    orig_cppflags=$CPPFLAGS 
     249   
     250    if test "x$magic_inc" != xno; then 
     251      CPPFLAGS="-I$magic_inc $CPPFLAGS" 
     252    fi 
     253 
     254    orig_ldflags=$LDFLAGS 
     255    if test "x$magic_lib" != "xno"; then 
     256        LDFLAGS="-L$magic_lib $LDFLAGS" 
     257    fi 
     258 
     259 
     260    AC_CHECK_LIB([magic], [magic_open], 
    192261             [AC_DEFINE(HAVE_LIBMAGIC, 1, 
    193262                       [Define if you want to use libmagic]) 
     
    195264             [AC_MSG_ERROR([libmagic is missing - install it please]) 
    196265             ]) 
    197 AC_CHECK_HEADERS(magic.h) 
     266    AC_CHECK_HEADERS(magic.h) 
     267fi 
    198268 
    199269 
     
    588658dnl * libadns Support                                *