1 /* doscan - Denial Of Service Capable Auditing of Networks
2  * Copyright (C) 2003 Florian Weimer
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17  */
18 
19 #include "config.h"
20 #include "opt.h"
21 
22 const char *opt_program = 0;
23 
24 int opt_verbose = 0;
25 unsigned opt_port = 0;
26 ticks_t opt_connect_timeout = 30000;
27 ticks_t opt_read_timeout = 30000;
28 ticks_t opt_write_timeout = 30000;
29 unsigned opt_fd_count = 50;
30 unsigned opt_add_burst = 10;
31 ticks_t opt_add_timeout = 20;
32 int opt_net_errors = 0;
33 int opt_no_epoll = 0;
34 int opt_indicator = 0;
35 unsigned opt_banner_size = 0;
36 const char *opt_receive = "";
37 const char *opt_send = "";
38 const char *opt_output = "%T\t%a\t%e\t%b";
39 const char *opt_protocol = "tcp";
40 const char *opt_output_style = "sort-by-host";
41