d9e840f179799895a400ee2f554c08bad8bf7a5f
[openwrt.git] / openwrt / package / snort / Config.in
1 menu "snort - Ligthweight Network Intrusion Detection System (NIDS)"
2
3 config BR2_PACKAGE_SNORT
4         bool
5         default BR2_PACKAGE_SNORT_BASIC || BR2_PACKAGE_SNORT_MYSQL || BR2_PACKAGE_SNORT_PGSQL || BR2_PACKAGE_SNORT_CUSTOM
6         default n
7
8 choice
9         prompt "snort - Ligthweight Network Intrusion Detection System (NIDS)"
10         tristate
11         optional
12         help
13           
14           A ligthweight Network Intrusion Detection System (NIDS)
15           
16           http://www.snort.org/
17           
18           Depends: 
19             - libmysqlclient (for MySQL database logging support)
20             - libnet
21             - libpcap
22             - libpcre
23             - libpq (for PostgreSQL database logging support)
24           
25         
26         config BR2_PACKAGE_SNORT_BASIC
27                 prompt "snort: without database support"
28                 tristate
29                 select BR2_PACKAGE_SNORT
30                 select BR2_PACKAGE_LIBNET
31                 select BR2_PACKAGE_LIBPCAP
32                 select BR2_PACKAGE_LIBPCRE
33         
34         config BR2_PACKAGE_SNORT_MYSQL
35                 prompt "snort-mysql: with MySQL database support"
36                 tristate
37                 select BR2_PACKAGE_SNORT
38                 select BR2_PACKAGE_LIBNET
39                 select BR2_PACKAGE_LIBPCAP
40                 select BR2_PACKAGE_LIBPCRE
41                 select BR2_PACKAGE_LIBMYSQLCLIENT
42         
43         config BR2_PACKAGE_SNORT_PGSQL
44                 prompt "snort-pgsql: with PostgreSQL database support"
45                 tristate
46                 select BR2_PACKAGE_SNORT
47                 select BR2_PACKAGE_LIBNET
48                 select BR2_PACKAGE_LIBPCAP
49                 select BR2_PACKAGE_LIBPCRE
50                 select BR2_PACKAGE_LIBPQ
51         
52         config BR2_PACKAGE_SNORT_CUSTOM
53                 prompt "snort-custom: customized to your needs"
54                 tristate
55                 select BR2_PACKAGE_SNORT
56                 select BR2_PACKAGE_LIBNET
57                 select BR2_PACKAGE_LIBPCAP
58                 select BR2_PACKAGE_LIBPCRE
59         
60         config BR2_PACKAGE_SNORT_ENABLE_DEBUG
61                 prompt "debug (enable debugging options, useful for bugreports)"
62                 bool
63                 default n
64                 depends BR2_PACKAGE_SNORT_CUSTOM
65
66         config BR2_PACKAGE_SNORT_ENABLE_INLINE
67                 prompt "inline mode (read packets from iptables instead of libpcap)"
68                 bool
69                 default n
70                 depends BR2_PACKAGE_SNORT_CUSTOM
71                 select BR2_PACKAGE_IPTABLES
72
73         config BR2_PACKAGE_SNORT_WITH_MYSQL
74                 prompt "MySQL database support"
75                 bool
76                 default n
77                 depends BR2_PACKAGE_SNORT_CUSTOM
78                 select BR2_PACKAGE_LIBMYSQLCLIENT
79
80         config BR2_PACKAGE_SNORT_WITH_PGSQL
81                 prompt "PostgreSQL database support"
82                 bool
83                 default n
84                 depends BR2_PACKAGE_SNORT_CUSTOM
85                 select BR2_PACKAGE_LIBPQ
86
87 endchoice
88
89 endmenu