summaryrefslogtreecommitdiffstats
path: root/rules/syslogng.in
blob: b20af1a69b6482ea46c51599e6b62805f497ab23 (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
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
# syslog-ng configuration

menuconfig SYSLOGNG
	bool
	prompt "syslog-ng           "
	select EVENTLOG
	select GLIB
	select LIBC_RT
	help
	  The next generation syslog daemon.

# disabled. Feature implementations are broken
#config SYSLOGNG_SUNSTREAMS
#	bool
#	depends on SYSLOGNG
#	prompt "sun streams support"
#	help
#	  Support for Sun STREAMS.
#
#config SYSLOGNG_SUNDOOR
#	bool
#	depends on SYSLOGNG
#	prompt "sun door support"
#	help
#	  Support for Sun door

config SYSLOGNG__IPV6
	bool
	depends on SYSLOGNG
	prompt "Support ipv6"
	help
	  Enable ipv6 support, otherwise ipv4 is supported only

config SYSLOGNG__TCP_WRAPPER
	bool
	depends on SYSLOGNG
	prompt "tcpwrapper support"
	help
	  Support /etc/hosts.deny and /etc/hosts.allow.

config SYSLOGNG__SPOOF_SOURCE
	bool
	depends on SYSLOGNG
	prompt "spoof_source feature"
	help
	  Enables the ability for source address spoofing.
	  This means that the host running syslog-ng generates
	  UDP packets with the source IP address matching the
	  original sender of the message. It is useful when
	  you want to perform some kind of preprocessing via
	  syslog-ng then forward messages to your central log
	  management solution with the source address of the
	  original sender. This option only works for UDP
	  destinations though the original message can be
	  received by TCP as well.

comment "runtime options   ---"
	depends on SYSLOGNG

config ROOTFS_ETC_SYSLOGNG_CONFIG
	depends on SYSLOGNG
	bool
	default y
	prompt "Install configuration file"
	help
	  Installs a /etc/syslog-ng.conf from a selectable source.

	choice
		prompt "Kind of configuration file"
		depends on ROOTFS_ETC_SYSLOGNG_CONFIG
		default ROOTFS_ETC_SYSLOGNG_CONFIG_DEFAULT

		config ROOTFS_ETC_SYSLOGNG_CONFIG_DEFAULT
			bool
			prompt "Use generic"
			help
			  Installs a generic /etc/syslog-ng.conf.
			  See <ptxdist-install>/generic/etc/syslog-ng.conf

		config ROOTFS_ETC_SYSLOGNG_CONFIG_USER
			bool
			prompt "User defined"
			help
			  This uses a user defined syslog-ng.conf file. PTXdist
			  uses file projectroot/etc/syslog-ng.conf in your local
			  project

	endchoice

config ROOTFS_ETC_INITD_SYSLOGNG_STARTSCRIPT
	depends on SYSLOGNG
	bool
	default y
	prompt "Install startup script"
	help
	  The /etc/init.d/syslog-ng script lets you control the syslog-ng daemon.

	choice
		prompt "Kind of startup script"
		depends on ROOTFS_ETC_INITD_SYSLOGNG_STARTSCRIPT
		default ROOTFS_ETC_INITD_SYSLOGNG_DEFAULT

		config ROOTFS_ETC_INITD_SYSLOGNG_DEFAULT
			bool
			prompt "Use generic"
			help
			  Installs a generic /etc/init.d/syslog-ng startup script.
			  See <ptxdist-install>/generic/etc/init.d/syslog-ng

		config ROOTFS_ETC_INITD_SYSLOGNG_USER
			bool
			prompt "User defined"
			help
			  This uses a user defined syslog-ng startup script. PTXdist
			  uses file projectroot/etc/init.d/syslog-ng in your local
			  project

	endchoice