aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-07-27 13:34:51 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2017-07-27 13:34:51 +0200
commit1d8df52d451c2085365dd2a457e498a7891348ee (patch)
tree9eacebaacf287062255d5c53c61a15e746ae3b71 /networking
parent2e01eec4d3bf52bb3f8332bd74a877a317238f92 (diff)
downloadbusybox-1d8df52d451c2085365dd2a457e498a7891348ee.tar.gz
inetd: improve --helpt text and config help text.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-rw-r--r--networking/httpd.c4
-rw-r--r--networking/inetd.c39
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 @@
//config: different user.
//config:
//config:config FEATURE_HTTPD_BASIC_AUTH
-//config: bool "Enable Basic http Authentication"
+//config: bool "Enable HTTP authentication"
//config: default y
//config: depends on HTTPD
//config: help
@@ -134,7 +134,7 @@
//config: /adm:toor:PaSsWd
//config:
//config:config FEATURE_HTTPD_AUTH_MD5
-//config: bool "Support MD5 crypted passwords for http Authentication"
+//config: bool "Support MD5-encrypted passwords in HTTP authentication"
//config: default y
//config: depends on FEATURE_HTTPD_BASIC_AUTH
//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 @@
//config: Internet superserver daemon
//config:
//config:config FEATURE_INETD_SUPPORT_BUILTIN_ECHO
-//config: bool "Support echo service"
+//config: bool "Support echo service on port 7"
//config: default y
//config: depends on INETD
//config: help
-//config: Echo received data internal inetd service
+//config: Internal service which echoes data back.
+//config: Activated by configuration lines like these:
+//config: echo stream tcp nowait root internal
+//config: echo dgram udp wait root internal
//config:
//config:config FEATURE_INETD_SUPPORT_BUILTIN_DISCARD
-//config: bool "Support discard service"
+//config: bool "Support discard service on port 8"
//config: default y
//config: depends on INETD
//config: help
-//config: Internet /dev/null internal inetd service
+//config: Internal service which discards all input.
+//config: Activated by configuration lines like these:
+//config: discard stream tcp nowait root internal
+//config: discard dgram udp wait root internal
//config:
//config:config FEATURE_INETD_SUPPORT_BUILTIN_TIME
-//config: bool "Support time service"
+//config: bool "Support time service on port 37"
//config: default y
//config: depends on INETD
//config: help
-//config: Return 32 bit time since 1900 internal inetd service
+//config: Internal service which returns big-endian 32-bit number
+//config: of seconds passed since 1900-01-01. The number wraps around
+//config: on overflow.
+//config: Activated by configuration lines like these:
+//config: time stream tcp nowait root internal
+//config: time dgram udp wait root internal
//config:
//config:config FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME
-//config: bool "Support daytime service"
+//config: bool "Support daytime service on port 13"
//config: default y
//config: depends on INETD
//config: help
-//config: Return human-readable time internal inetd service
+//config: Internal service which returns human-readable time.
+//config: Activated by configuration lines like these:
+//config: daytime stream tcp nowait root internal
+//config: daytime dgram udp wait root internal
//config:
//config:config FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN
-//config: bool "Support chargen service"
+//config: bool "Support chargen service on port 19"
//config: default y
//config: depends on INETD
//config: help
-//config: Familiar character generator internal inetd service
+//config: Internal service which generates endless stream
+//config: of all ASCII chars beetween space and char 126.
+//config: Activated by configuration lines like these:
+//config: chargen stream tcp nowait root internal
+//config: chargen dgram udp wait root internal
//config:
//config:config FEATURE_INETD_RPC
//config: bool "Support RPC services"
@@ -216,6 +234,7 @@
//usage: "\n -q N Socket listen queue (default 128)"
//usage: "\n -R N Pause services after N connects/min"
//usage: "\n (default 0 - disabled)"
+//usage: "\n Default CONFFILE is /etc/inetd.conf"
#include <syslog.h>
#include <sys/resource.h> /* setrlimit */