summaryrefslogtreecommitdiff
path: root/openwrt/package/snort/Config.in
blob: b3e9d4fe9c018fd4d231842f6b92a47497566937 (plain)
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
menu "snort............................. Ligthweight Network Intrusion Detection System (NIDS)"

config BR2_COMPILE_SNORT
	tristate
	default n
	depends BR2_PACKAGE_SNORT_BASIC || BR2_PACKAGE_SNORT_MYSQL || BR2_PACKAGE_SNORT_PGSQL || BR2_PACKAGE_SNORT_CUSTOM

choice
	prompt "snort............................. Ligthweight Network Intrusion Detection System (NIDS)"
	tristate
	optional
	help
	  
	  A ligthweight Network Intrusion Detection System (NIDS)
	  
	  http://www.snort.org/
	  
	  Depends: 
	    - libmysqlclient (for MySQL database logging support)
	    - libnet
	    - libpcap
	    - libpcre
	    - libpq (for PostgreSQL database logging support)
	
	config BR2_PACKAGE_SNORT_BASIC
		prompt   "snort...........................   without database support"
		tristate
		select BR2_COMPILE_SNORT
		select BR2_PACKAGE_LIBNET
		select BR2_PACKAGE_LIBPCAP
		select BR2_PACKAGE_LIBPCRE
	
	config BR2_PACKAGE_SNORT_MYSQL
		prompt   "snort-mysql.....................   with MySQL database support"
		tristate
		select BR2_COMPILE_SNORT
		select BR2_PACKAGE_LIBNET
		select BR2_PACKAGE_LIBPCAP
		select BR2_PACKAGE_LIBPCRE
		select BR2_PACKAGE_LIBMYSQLCLIENT
	
	config BR2_PACKAGE_SNORT_PGSQL
		prompt   "snort-pgsql.....................   with PostgreSQL database support"
		tristate
		select BR2_COMPILE_SNORT
		select BR2_PACKAGE_LIBNET
		select BR2_PACKAGE_LIBPCAP
		select BR2_PACKAGE_LIBPCRE
		select BR2_PACKAGE_LIBPQ
	
	config BR2_PACKAGE_SNORT_CUSTOM
		prompt   "snort-custom....................   customized to your needs"
		tristate
		select BR2_COMPILE_SNORT
		select BR2_PACKAGE_LIBNET
		select BR2_PACKAGE_LIBPCAP
		select BR2_PACKAGE_LIBPCRE
	
	config BR2_PACKAGE_SNORT_ENABLE_DEBUG
		prompt "debug (enable debugging options, useful for bugreports)"
		bool
		default n
		depends BR2_PACKAGE_SNORT_CUSTOM

	config BR2_PACKAGE_SNORT_ENABLE_INLINE
		prompt "Inline mode (read packets from iptables instead of libpcap)"
		bool
		default n
		depends BR2_PACKAGE_SNORT_CUSTOM
		select BR2_PACKAGE_IPTABLES

	config BR2_PACKAGE_SNORT_WITH_MYSQL
		prompt "MySQL database support"
		bool
		default n
		depends BR2_PACKAGE_SNORT_CUSTOM
		select BR2_PACKAGE_LIBMYSQLCLIENT

	config BR2_PACKAGE_SNORT_WITH_PGSQL
		prompt "PostgreSQL database support"
		bool
		default n
		depends BR2_PACKAGE_SNORT_CUSTOM
		select BR2_PACKAGE_LIBPQ

endchoice

endmenu