X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/3602051f0fee67040df432f60bd006777b26c97b..a3b1ddab5ecf27724aa8db21c85998b94ce8eb20:/package/snort/Config.in diff --git a/package/snort/Config.in b/package/snort/Config.in index 6107842a5..d9e840f17 100644 --- a/package/snort/Config.in +++ b/package/snort/Config.in @@ -1,19 +1,32 @@ +menu "snort - Ligthweight Network Intrusion Detection System (NIDS)" + +config BR2_PACKAGE_SNORT + bool + default BR2_PACKAGE_SNORT_BASIC || BR2_PACKAGE_SNORT_MYSQL || BR2_PACKAGE_SNORT_PGSQL || BR2_PACKAGE_SNORT_CUSTOM + default n + choice - prompt "snort" + prompt "snort - Ligthweight Network Intrusion Detection System (NIDS)" tristate - default n optional help + A ligthweight Network Intrusion Detection System (NIDS) http://www.snort.org/ - Depends: libnet, libpcap, libpcre + 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_PACKAGE_SNORT select BR2_PACKAGE_LIBNET select BR2_PACKAGE_LIBPCAP select BR2_PACKAGE_LIBPCRE @@ -21,6 +34,7 @@ choice config BR2_PACKAGE_SNORT_MYSQL prompt "snort-mysql: with MySQL database support" tristate + select BR2_PACKAGE_SNORT select BR2_PACKAGE_LIBNET select BR2_PACKAGE_LIBPCAP select BR2_PACKAGE_LIBPCRE @@ -29,6 +43,7 @@ choice config BR2_PACKAGE_SNORT_PGSQL prompt "snort-pgsql: with PostgreSQL database support" tristate + select BR2_PACKAGE_SNORT select BR2_PACKAGE_LIBNET select BR2_PACKAGE_LIBPCAP select BR2_PACKAGE_LIBPCRE @@ -37,27 +52,38 @@ choice config BR2_PACKAGE_SNORT_CUSTOM prompt "snort-custom: customized to your needs" tristate + select BR2_PACKAGE_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 y + default n depends BR2_PACKAGE_SNORT_CUSTOM select BR2_PACKAGE_LIBMYSQLCLIENT config BR2_PACKAGE_SNORT_WITH_PGSQL prompt "PostgreSQL database support" bool - default y + default n depends BR2_PACKAGE_SNORT_CUSTOM select BR2_PACKAGE_LIBPQ endchoice -config BR2_PACKAGE_SNORT - tristate - default BR2_PACKAGE_SNORT_BASIC || BR2_PACKAGE_SNORT_MYSQL || BR2_PACKAGE_SNORT_PGSQL - +endmenu