diff options
-rw-r--r-- | networking/httpd.c | 4 | ||||
-rw-r--r-- | networking/inetd.c | 39 |
2 files changed, 31 insertions, 12 deletions
diff --git a/networking/httpd.c b/networking/httpd.c index cfc07075b..079145757 100644 --- a/networking/httpd.c +++ b/networking/httpd.c | |||
@@ -124,7 +124,7 @@ | |||
124 | //config: different user. | 124 | //config: different user. |
125 | //config: | 125 | //config: |
126 | //config:config FEATURE_HTTPD_BASIC_AUTH | 126 | //config:config FEATURE_HTTPD_BASIC_AUTH |
127 | //config: bool "Enable Basic http Authentication" | 127 | //config: bool "Enable HTTP authentication" |
128 | //config: default y | 128 | //config: default y |
129 | //config: depends on HTTPD | 129 | //config: depends on HTTPD |
130 | //config: help | 130 | //config: help |
@@ -134,7 +134,7 @@ | |||
134 | //config: /adm:toor:PaSsWd | 134 | //config: /adm:toor:PaSsWd |
135 | //config: | 135 | //config: |
136 | //config:config FEATURE_HTTPD_AUTH_MD5 | 136 | //config:config FEATURE_HTTPD_AUTH_MD5 |
137 | //config: bool "Support MD5 crypted passwords for http Authentication" | 137 | //config: bool "Support MD5-encrypted passwords in HTTP authentication" |
138 | //config: default y | 138 | //config: default y |
139 | //config: depends on FEATURE_HTTPD_BASIC_AUTH | 139 | //config: depends on FEATURE_HTTPD_BASIC_AUTH |
140 | //config: help | 140 | //config: help |
diff --git a/networking/inetd.c b/networking/inetd.c index 2991edc09..91545d0a3 100644 --- a/networking/inetd.c +++ b/networking/inetd.c | |||
@@ -161,39 +161,57 @@ | |||
161 | //config: Internet superserver daemon | 161 | //config: Internet superserver daemon |
162 | //config: | 162 | //config: |
163 | //config:config FEATURE_INETD_SUPPORT_BUILTIN_ECHO | 163 | //config:config FEATURE_INETD_SUPPORT_BUILTIN_ECHO |
164 | //config: bool "Support echo service" | 164 | //config: bool "Support echo service on port 7" |
165 | //config: default y | 165 | //config: default y |
166 | //config: depends on INETD | 166 | //config: depends on INETD |
167 | //config: help | 167 | //config: help |
168 | //config: Echo received data internal inetd service | 168 | //config: Internal service which echoes data back. |
169 | //config: Activated by configuration lines like these: | ||
170 | //config: echo stream tcp nowait root internal | ||
171 | //config: echo dgram udp wait root internal | ||
169 | //config: | 172 | //config: |
170 | //config:config FEATURE_INETD_SUPPORT_BUILTIN_DISCARD | 173 | //config:config FEATURE_INETD_SUPPORT_BUILTIN_DISCARD |
171 | //config: bool "Support discard service" | 174 | //config: bool "Support discard service on port 8" |
172 | //config: default y | 175 | //config: default y |
173 | //config: depends on INETD | 176 | //config: depends on INETD |
174 | //config: help | 177 | //config: help |
175 | //config: Internet /dev/null internal inetd service | 178 | //config: Internal service which discards all input. |
179 | //config: Activated by configuration lines like these: | ||
180 | //config: discard stream tcp nowait root internal | ||
181 | //config: discard dgram udp wait root internal | ||
176 | //config: | 182 | //config: |
177 | //config:config FEATURE_INETD_SUPPORT_BUILTIN_TIME | 183 | //config:config FEATURE_INETD_SUPPORT_BUILTIN_TIME |
178 | //config: bool "Support time service" | 184 | //config: bool "Support time service on port 37" |
179 | //config: default y | 185 | //config: default y |
180 | //config: depends on INETD | 186 | //config: depends on INETD |
181 | //config: help | 187 | //config: help |
182 | //config: Return 32 bit time since 1900 internal inetd service | 188 | //config: Internal service which returns big-endian 32-bit number |
189 | //config: of seconds passed since 1900-01-01. The number wraps around | ||
190 | //config: on overflow. | ||
191 | //config: Activated by configuration lines like these: | ||
192 | //config: time stream tcp nowait root internal | ||
193 | //config: time dgram udp wait root internal | ||
183 | //config: | 194 | //config: |
184 | //config:config FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME | 195 | //config:config FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME |
185 | //config: bool "Support daytime service" | 196 | //config: bool "Support daytime service on port 13" |
186 | //config: default y | 197 | //config: default y |
187 | //config: depends on INETD | 198 | //config: depends on INETD |
188 | //config: help | 199 | //config: help |
189 | //config: Return human-readable time internal inetd service | 200 | //config: Internal service which returns human-readable time. |
201 | //config: Activated by configuration lines like these: | ||
202 | //config: daytime stream tcp nowait root internal | ||
203 | //config: daytime dgram udp wait root internal | ||
190 | //config: | 204 | //config: |
191 | //config:config FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN | 205 | //config:config FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN |
192 | //config: bool "Support chargen service" | 206 | //config: bool "Support chargen service on port 19" |
193 | //config: default y | 207 | //config: default y |
194 | //config: depends on INETD | 208 | //config: depends on INETD |
195 | //config: help | 209 | //config: help |
196 | //config: Familiar character generator internal inetd service | 210 | //config: Internal service which generates endless stream |
211 | //config: of all ASCII chars beetween space and char 126. | ||
212 | //config: Activated by configuration lines like these: | ||
213 | //config: chargen stream tcp nowait root internal | ||
214 | //config: chargen dgram udp wait root internal | ||
197 | //config: | 215 | //config: |
198 | //config:config FEATURE_INETD_RPC | 216 | //config:config FEATURE_INETD_RPC |
199 | //config: bool "Support RPC services" | 217 | //config: bool "Support RPC services" |
@@ -216,6 +234,7 @@ | |||
216 | //usage: "\n -q N Socket listen queue (default 128)" | 234 | //usage: "\n -q N Socket listen queue (default 128)" |
217 | //usage: "\n -R N Pause services after N connects/min" | 235 | //usage: "\n -R N Pause services after N connects/min" |
218 | //usage: "\n (default 0 - disabled)" | 236 | //usage: "\n (default 0 - disabled)" |
237 | //usage: "\n Default CONFFILE is /etc/inetd.conf" | ||
219 | 238 | ||
220 | #include <syslog.h> | 239 | #include <syslog.h> |
221 | #include <sys/resource.h> /* setrlimit */ | 240 | #include <sys/resource.h> /* setrlimit */ |