1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327
|
/* Nessus
* Copyright (C) 1998 Renaud Deraison
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
/*
* GENERAL CONFIGURATION
*/
/*
* define this if you want to see some useful debug
* messages comming from Nessus
*/
#undef DEBUG
/*
* define this if you want to spot a particular
* problem, else don't, because it throws a lot
* of garbage to the screen
*/
#undef DEBUGMORE
/*
* NESSUSD SPECIFIC CONFIGURATION
*/
/*
* Default prefix
*/
#undef NESSUSD_DIR
/*
* The path to the Nessus directory
*/
#undef NESSUSD_REPORTS_DIR
/*
* The file that contains the nessus
* rules
*/
#undef NESSUSD_RULES
/*
* The file that contains the users database
*/
#undef NESSUSD_USERS
/*
* The Nessus logfile, if syslog is not used
*/
#undef NESSUSD_MESSAGES
/*
* The Nessus plugins directory
*/
#undef PLUGINS_DIR
/*
* Should we use the remote harg stuff ?
*/
#undef ENABLE_RHLST
/*
* Some definitions used for client/server ecryption
* (actvated only if ENABLE_CRYPTO_LAYER is set)
*/
/* The default server key file and key length */
#undef NESSUSD_KEYFILE
#undef NESSUSD_USRKEYS
#define NESSUSD_KEYLENGTH 1024
#define NESSUSD_MAXPWDFAIL 5
#define NESSUSD_USERNAME "nessusd"
/*
* The default port on which nessusd
* will be listenning
*/
#define DEFAULT_PORT 3001
/*
* How much time before closing
* the connection if nothing comes
* from the client ? (in secs)
*/
#define CLIENT_TIMEOUT 300
/*
* How much time before killing
* a plugin ? (in secs)
* (if you have a slow computer or a slow
* network connection, set it to 120 or 180)
*/
#define PLUGIN_TIMEOUT 80
/*
* Shall the server log EVERYTHING ?
*/
#undef LOGMORE
/*
* Shall the server log the whole attack ?
*/
#undef LOG_WHOLE_ATTACK
/*
* Host specs.
*
* Set this if you are running OpenBSD < 2.1 or all FreeBSD or
* all netBSD, or BSDi < 3.0
*
* If you have run this script as root, then it should be correctly
* set up
*
*/
#undef BSD_BYTE_ORDERING
/*
* NESSUS CLIENT SPECIFIC CONFIGURATION
*/
/*
* How long before closing the
* connection to the server if
* it stays mute ?
*/
#define SERVER_TIMEOUT 800
/*
* STOP ! Don't edit anything after this line !
*/
#ifndef _CYGWIN_
#undef _CYGWIN_
#endif
#undef STDC_HEADERS
#undef HAVE_VSNPRINTF
#undef HAVE_SNPRINTF
#undef HAVE_VASNPRINTF
#undef HAVE_VASPRINTF
#undef HAVE_ASPRINTF
#undef HAVE_ASNPRINTF
#undef HAVE_GMP_H
#undef HAVE_GMP2_GMP_H
#undef HAVE_UNISTD_H
#undef HAVE_ASSERT_H
#undef HAVE_FNMATCH
#undef HAVE_LSTAT
#undef HAVE_MMAP
#undef HAVE_BZERO
#undef HAVE_BCOPY
#undef HAVE_SIGACTION
#undef HAVE_UNLOCKPT
#undef HAVE_GRANTPT
#undef HAVE_PTSNAME
#undef HAVE_OPENPTY
#undef HAVE_RAND
#undef HAVE_POLL
#undef HAVE_SELECT
#undef HAVE_SETSID
#undef HAVE_POLL_H
#undef HAVE_GETTIMEOFDAY
#undef GETTIMEOFDAY_ONE_ARGUMENT
#undef HAVE_DEV_PTMX
#undef HAVE_TIMEVAL
#undef HAVE_GETHRTIME
#undef HAVE_GETRUSAGE
#undef HAVE_LONG_FILE_NAMES
#undef HAVE_GETOPT_H
#undef HAVE_STRING_H
#undef HAVE_STRINGS_H
#undef HAVE_SYS_POLL_H
#undef HAVE_SYS_SOCKIO_H
#undef HAVE_SYS_SOCKETIO_H
#undef HAVE_SYS_SOCKET_H
#undef HAVE_SYS_PARAM_H
#undef HAVE_NETDB_H
#undef HAVE_ARPA_INET_H
#undef HAVE_NETINET_TCP_H
#undef HAVE_NET_IF_H
#undef HAVE_NETINET_TCPIP_H
#undef HAVE_NETINET_IN_H
#undef HAVE_NETINET_IN_SYSTM_H
#undef HAVE_NETINET_IP_UDP_H
#undef HAVE_NETINET_UDP_H
#undef HAVE_NETINET_PROTOCOLS_H
#undef HAVE_NETINET_IP_H
#undef HAVE_NETINET_IP_ICMP_H
#undef HAVE_NETINET_IP_TCP_H
#undef HAVE_NETINET_PROTOCOLS_H
#undef HAVE_GETOPT_LONG
#undef HAVE_STRUCT_IP
#undef HAVE_STRUCT_ICMP
#undef HAVE_STRUCT_TCPHDR
#undef HAVE_TCPHDR_TH_OFF
#undef HAVE_TCPHDR_TH_X2_OFF
#undef HAVE_STRUCT_UDPHDR
#undef HAVE_BSD_STRUCT_UDPHDR
#undef HAVE_ICMP_ICMP_LIFETIME
#undef HAVE_SYS_WAIT_H
#undef HAVE_SYS_STAT_H
#undef HAVE_SIGNAL_H
#undef HAVE_PTEM_H
#undef HAVE_SYS_PTEM_H
#undef HAVE_LDTERM_H
#undef HAVE_SYS_LDTERM_H
#undef HAVE_STAT_H
#undef HAVE_FCNTL_H
#undef TIME_WITH_SYS_TIME
#undef HAVE_SYS_TIME_H
#undef HAVE_SYS_IOCTL_H
#undef HAVE_DIRENT_H
#undef HAVE_SYS_NDIR_H
#undef HAVE_SYS_DIR_H
#undef HAVE_STROPTS_H
#undef HAVE_NDIR_H
#undef HAVE_STRCHR
#undef HAVE_MEMCPY
#undef HAVE_MEMMOVE
#undef HAVE_ALLOCA
#undef HAVE_ALLOCA_H
#undef HAVE_PTHREAD_H
#undef HAVE_PTHREAD_CANCEL
#undef HAVE_DLFCN_H
#undef HAVE_RPC_RPC_H
#undef WORDS_BIGENDIAN
#undef SIZEOF_UNSIGNED_INT
#undef SIZEOF_UNSIGNED_LONG
#undef HAVE_OPTIND
#undef HAVE_MEMORY_H
#undef HAVE_ADDR2ASCII
#undef HAVE_INET_NETA
#undef HAVE_SYS_UN_H
#undef HAVE_CTYPE_H
#undef HAVE_SYS_TYPES_H
#undef HAVE_ERRNO_H
#undef HAVE_PWD_H
#undef HAVE_STDLIB_H
#undef HAVE_STDIO_H
#undef HAVE_SYS_FILIO_H
#undef HAVE_TERMIO_H
#undef HAVE_SYS_TERMIO_H
#undef HAVE_TERMIOS_H
#undef HAVE_SGTTY_H
#undef HAVE_VALUES_H
#undef HAVE_XDR_MON
#undef HAVE_SOCKADDR_SA_LEN
#undef HAVE_SYS_MMAN_H
#undef HAVE_SETJMP_H
#undef HAVE_LIMITS_H
#undef HAVE_SSL
#undef LINUX
#undef FREEBSD
#undef OPENBSD
#undef DARWIN
#undef SOLARIS
#undef SUNOS
#undef BSDI
#undef IRIX
#undef NETBSD
#undef HPUX
#undef HAVE_INET_ATON
#undef STUPID_SOLARIS_CHECKSUM_BUG
#undef HAVE_STRUCT_IP_CSUM
#undef HAVE_GETHOSTBYNAME_R
#undef HAVE_SOLARIS_GETHOSTBYNAME_R
#undef HAVE_SOLARIS_GETHOSTBYADDR_R
#undef USE_SYSLOG
#undef HAVE_SYSCTL
#undef HAVE_SYS_SYSCTL_H
#undef HAVE_SYS_PARAM_H
#undef HAVE_LINUX_MSG_H
#undef HAVE_SYS_MSG_H
#undef HAVE_SYS_IPC_H
#undef HAVE_SYS_UIO_H
#undef HAVE_SYS_RESOURCE_H
#undef EGD_PATH
#undef HAVE_DEV_BPFN
#undef HAVE_LRAND48
#undef HAVE_SETPROCTITLE
#undef HAVE_RAND_STATUS
#undef HAVE_SETITIMER
#undef USE_ARPA_NAMESER_COMPAT_H
#undef HAVE_STRUCT_IFMAP
#undef HAVE_SENDMSG
#undef HAVE_RECVMSG
#undef HAVE_ACCRIGHTS_IN_MSGHDR
#undef HAVE_CONTROL_IN_MSGHDR
#undef DEBUG_STORE
|