OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 1... | Line 1... | |||
1 | # DO NOT EDIT. This file is generated from Config.src |
1 | # DO NOT EDIT. This file is generated from Config.src |
|
2 | # |
2 | # |
|
3 | # For a description of the syntax of this configuration file, |
3 | # For a description of the syntax of this configuration file, |
|
4 | # see docs/Kconfig-language.txt. |
4 | # see scripts/kbuild/config-language.txt. |
|
5 | # |
5 | # |
|
Line 6... | Line 6... | |||
6 | |
6 | |
|
Line 7... | Line 7... | |||
7 | menu "Networking Utilities" |
7 | menu "Networking Utilities" |
|
8 | |
8 | |
|
9 | config BUSYBOX_CONFIG_FEATURE_IPV6 |
9 | config BUSYBOX_CONFIG_FEATURE_IPV6 |
|
10 | bool "Enable IPv6 support" |
10 | bool "Enable IPv6 support" |
|
11 | default BUSYBOX_DEFAULT_FEATURE_IPV6 |
11 | default BUSYBOX_DEFAULT_FEATURE_IPV6 |
|
12 | help |
12 | help |
|
Line 13... | Line 13... | |||
13 | Enable IPv6 support in busybox. |
13 | Enable IPv6 support in busybox. |
|
14 | This adds IPv6 support in the networking applets. |
14 | This adds IPv6 support in the networking applets. |
|
15 | |
15 | |
|
16 | config BUSYBOX_CONFIG_FEATURE_UNIX_LOCAL |
16 | config BUSYBOX_CONFIG_FEATURE_UNIX_LOCAL |
|
17 | bool "Enable Unix domain socket support (usually not needed)" |
17 | bool "Enable Unix domain socket support (usually not needed)" |
|
18 | default BUSYBOX_DEFAULT_FEATURE_UNIX_LOCAL |
18 | default BUSYBOX_DEFAULT_FEATURE_UNIX_LOCAL |
|
19 | help |
19 | help |
|
Line 20... | Line 20... | |||
20 | Enable Unix domain socket support in all busybox networking |
20 | Enable Unix domain socket support in all busybox networking |
|
21 | applets. Address of the form local:/path/to/unix/socket |
21 | applets. Address of the form local:/path/to/unix/socket |
|
Line 22... | Line 22... | |||
22 | will be recognized. |
22 | will be recognized. |
|
23 | |
23 | |
|
24 | This extension is almost never used in real world usage. |
24 | This extension is almost never used in real world usage. |
|
25 | You most likely want to say N. |
25 | You most likely want to say N. |
|
26 | |
26 | |
|
27 | config BUSYBOX_CONFIG_FEATURE_PREFER_IPV4_ADDRESS |
27 | config BUSYBOX_CONFIG_FEATURE_PREFER_IPV4_ADDRESS |
|
Line 28... | Line 28... | |||
28 | bool "Prefer IPv4 addresses from DNS queries" |
28 | bool "Prefer IPv4 addresses from DNS queries" |
|
29 | default BUSYBOX_DEFAULT_FEATURE_PREFER_IPV4_ADDRESS |
29 | default BUSYBOX_DEFAULT_FEATURE_PREFER_IPV4_ADDRESS |
|
30 | depends on BUSYBOX_CONFIG_FEATURE_IPV6 |
30 | depends on BUSYBOX_CONFIG_FEATURE_IPV6 |
|
31 | help |
31 | help |
|
32 | Use IPv4 address of network host if it has one. |
32 | Use IPv4 address of network host if it has one. |
|
33 | |
33 | |
|
34 | If this option is off, the first returned address will be used. |
34 | If this option is off, the first returned address will be used. |
|
Line 35... | Line 35... | |||
35 | This may cause problems when your DNS server is IPv6-capable and |
35 | This may cause problems when your DNS server is IPv6-capable and |
|
36 | is returning IPv6 host addresses too. If IPv6 address |
36 | is returning IPv6 host addresses too. If IPv6 address |
|
37 | precedes IPv4 one in DNS reply, busybox network applets |
37 | precedes IPv4 one in DNS reply, busybox network applets |
|
38 | (e.g. wget) will use IPv6 address. On an IPv6-incapable host |
38 | (e.g. wget) will use IPv6 address. On an IPv6-incapable host |
|
39 | or network applets will fail to connect to the host |
39 | or network applets will fail to connect to the host |
|
40 | using IPv6 address. |
40 | using IPv6 address. |
|
41 | |
41 | |
|
42 | config BUSYBOX_CONFIG_VERBOSE_RESOLUTION_ERRORS |
- | ||
43 | bool "Verbose resolution errors" |
- | ||
44 | default BUSYBOX_DEFAULT_VERBOSE_RESOLUTION_ERRORS |
- | ||
45 | help |
- | ||
46 | Enable if you are not satisfied with simplistic |
- | ||
47 | "can't resolve 'hostname.com'" and want to know more. |
- | ||
48 | This may increase size of your executable a bit. |
- | ||
49 | |
- | ||
50 | config BUSYBOX_CONFIG_FEATURE_TLS_SHA1 |
- | ||
51 | bool "In TLS code, support ciphers which use deprecated SHA1" |
- | ||
52 | depends on BUSYBOX_CONFIG_TLS |
- | ||
Line 53... | Line 42... | |||
53 | default BUSYBOX_DEFAULT_FEATURE_TLS_SHA1 |
42 | config BUSYBOX_CONFIG_VERBOSE_RESOLUTION_ERRORS |
|
54 | help |
43 | bool "Verbose resolution errors" |
|
55 | Selecting this option increases interoperability with very old |
44 | default BUSYBOX_DEFAULT_VERBOSE_RESOLUTION_ERRORS |
|
56 | servers, but slightly increases code size. |
45 | help |
|
57 | |
46 | Enable if you are not satisfied with simplistic |
|
58 | Most TLS servers support SHA256 today (2018), since SHA1 is |
47 | "can't resolve 'hostname.com'" and want to know more. |
|
59 | considered possibly insecure (although not yet definitely broken). |
48 | This may increase size of your executable a bit. |
|
60 | |
49 | |
|
61 | config BUSYBOX_CONFIG_ARP |
50 | config BUSYBOX_CONFIG_ARP |
|
62 | bool "arp (10 kb)" |
51 | bool "arp" |
|
63 | default BUSYBOX_DEFAULT_ARP |
52 | default BUSYBOX_DEFAULT_ARP |
|
64 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
53 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
|
- | 54 | help |
||
65 | help |
55 | Manipulate the system ARP cache. |
|
66 | Manipulate the system ARP cache. |
56 | config BUSYBOX_CONFIG_ARPING |
|
67 | config BUSYBOX_CONFIG_ARPING |
57 | bool "arping" |
|
68 | bool "arping (9 kb)" |
58 | default BUSYBOX_DEFAULT_ARPING |
|
69 | default BUSYBOX_DEFAULT_ARPING |
59 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
|
70 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
60 | help |
|
71 | help |
61 | Ping hosts by ARP packets. |
|
Line 72... | Line 62... | |||
72 | Ping hosts by ARP packets. |
62 | |
|
73 | config BUSYBOX_CONFIG_BRCTL |
63 | config BUSYBOX_CONFIG_BRCTL |
|
74 | bool "brctl (4.7 kb)" |
64 | bool "brctl" |
|
75 | default BUSYBOX_DEFAULT_BRCTL |
65 | default BUSYBOX_DEFAULT_BRCTL |
|
76 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
66 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
|
77 | help |
67 | help |
|
78 | Manage ethernet bridges. |
68 | Manage ethernet bridges. |
|
79 | Supports addbr/delbr and addif/delif. |
69 | Supports addbr/delbr and addif/delif. |
|
80 | |
70 | |
|
81 | config BUSYBOX_CONFIG_FEATURE_BRCTL_FANCY |
71 | config BUSYBOX_CONFIG_FEATURE_BRCTL_FANCY |
|
Line 82... | Line 72... | |||
82 | bool "Fancy options" |
72 | bool "Fancy options" |
|
83 | default BUSYBOX_DEFAULT_FEATURE_BRCTL_FANCY |
73 | default BUSYBOX_DEFAULT_FEATURE_BRCTL_FANCY |
|
84 | depends on BUSYBOX_CONFIG_BRCTL |
74 | depends on BUSYBOX_CONFIG_BRCTL |
|
85 | help |
75 | help |
|
86 | Add support for extended option like: |
76 | Add support for extended option like: |
|
87 | setageing, setfd, sethello, setmaxage, |
77 | setageing, setfd, sethello, setmaxage, |
|
88 | setpathcost, setportprio, setbridgeprio, |
78 | setpathcost, setportprio, setbridgeprio, |
|
89 | stp |
79 | stp |
|
90 | This adds about 600 bytes. |
80 | This adds about 600 bytes. |
|
91 | |
81 | |
|
92 | config BUSYBOX_CONFIG_FEATURE_BRCTL_SHOW |
82 | config BUSYBOX_CONFIG_FEATURE_BRCTL_SHOW |
|
93 | bool "Support show" |
83 | bool "Support show" |
|
94 | default BUSYBOX_DEFAULT_FEATURE_BRCTL_SHOW |
84 | default BUSYBOX_DEFAULT_FEATURE_BRCTL_SHOW |
|
95 | depends on BUSYBOX_CONFIG_BRCTL && BUSYBOX_CONFIG_FEATURE_BRCTL_FANCY |
85 | depends on BUSYBOX_CONFIG_BRCTL && BUSYBOX_CONFIG_FEATURE_BRCTL_FANCY |
|
96 | help |
86 | help |
|
97 | Add support for option which prints the current config: |
87 | Add support for option which prints the current config: |
|
98 | show |
88 | show |
|
99 | config BUSYBOX_CONFIG_DNSD |
89 | config BUSYBOX_CONFIG_DNSD |
|
100 | bool "dnsd (9.8 kb)" |
90 | bool "dnsd" |
|
101 | default BUSYBOX_DEFAULT_DNSD |
91 | default BUSYBOX_DEFAULT_DNSD |
|
102 | help |
92 | help |
|
103 | Small and static DNS server daemon. |
93 | Small and static DNS server daemon. |
|
104 | config BUSYBOX_CONFIG_ETHER_WAKE |
94 | config BUSYBOX_CONFIG_ETHER_WAKE |
|
Line 105... | Line 95... | |||
105 | bool "ether-wake (4.9 kb)" |
95 | bool "ether-wake" |
|
106 | default BUSYBOX_DEFAULT_ETHER_WAKE |
96 | default BUSYBOX_DEFAULT_ETHER_WAKE |
|
107 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
97 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
|
108 | help |
98 | help |
|
109 | Send a magic packet to wake up sleeping machines. |
99 | Send a magic packet to wake up sleeping machines. |
|
110 | config BUSYBOX_CONFIG_FTPD |
100 | config BUSYBOX_CONFIG_FTPD |
|
111 | bool "ftpd (30 kb)" |
- | ||
Line 112... | Line 101... | |||
112 | default BUSYBOX_DEFAULT_FTPD |
101 | bool "ftpd" |
|
113 | help |
102 | default BUSYBOX_DEFAULT_FTPD |
|
114 | Simple FTP daemon. You have to run it via inetd. |
103 | help |
|
115 | |
104 | Simple FTP daemon. You have to run it via inetd. |
|
116 | config BUSYBOX_CONFIG_FEATURE_FTPD_WRITE |
105 | |
|
117 | bool "Enable -w (upload commands)" |
106 | config BUSYBOX_CONFIG_FEATURE_FTPD_WRITE |
|
118 | default BUSYBOX_DEFAULT_FEATURE_FTPD_WRITE |
107 | bool "Enable upload commands" |
|
119 | depends on BUSYBOX_CONFIG_FTPD |
108 | default BUSYBOX_DEFAULT_FEATURE_FTPD_WRITE |
|
120 | help |
109 | depends on BUSYBOX_CONFIG_FTPD |
|
121 | Enable -w option. "ftpd -w" will accept upload commands |
110 | help |
|
Line 122... | Line 111... | |||
122 | such as STOR, STOU, APPE, DELE, MKD, RMD, rename commands. |
111 | Enable all kinds of FTP upload commands (-w option) |
|
123 | |
112 | |
|
124 | config BUSYBOX_CONFIG_FEATURE_FTPD_ACCEPT_BROKEN_LIST |
113 | config BUSYBOX_CONFIG_FEATURE_FTPD_ACCEPT_BROKEN_LIST |
|
125 | bool "Enable workaround for RFC-violating clients" |
114 | bool "Enable workaround for RFC-violating clients" |
|
126 | default BUSYBOX_DEFAULT_FEATURE_FTPD_ACCEPT_BROKEN_LIST |
115 | default BUSYBOX_DEFAULT_FEATURE_FTPD_ACCEPT_BROKEN_LIST |
|
127 | depends on BUSYBOX_CONFIG_FTPD |
- | ||
128 | help |
- | ||
129 | Some ftp clients (among them KDE's Konqueror) issue illegal |
- | ||
130 | "LIST -l" requests. This option works around such problems. |
- | ||
131 | It might prevent you from listing files starting with "-" and |
- | ||
132 | it increases the code size by ~40 bytes. |
116 | depends on BUSYBOX_CONFIG_FTPD |
|
133 | Most other ftp servers seem to behave similar to this. |
- | ||
134 | |
117 | help |
|
135 | config BUSYBOX_CONFIG_FEATURE_FTPD_AUTHENTICATION |
118 | Some ftp clients (among them KDE's Konqueror) issue illegal |
|
136 | bool "Enable authentication" |
119 | "LIST -l" requests. This option works around such problems. |
|
137 | default BUSYBOX_DEFAULT_FEATURE_FTPD_AUTHENTICATION |
120 | It might prevent you from listing files starting with "-" and |
|
138 | depends on BUSYBOX_CONFIG_FTPD |
121 | it increases the code size by ~40 bytes. |
|
Line 139... | Line 122... | |||
139 | help |
122 | Most other ftp servers seem to behave similar to this. |
|
140 | Require login, and change to logged in user's UID:GID before |
123 | |
|
141 | accessing any files. Option "-a USER" allows "anonymous" |
124 | config BUSYBOX_CONFIG_FEATURE_FTPD_AUTHENTICATION |
|
142 | logins (treats them as if USER logged in). |
125 | bool "Enable authentication" |
|
143 | |
126 | default BUSYBOX_DEFAULT_FEATURE_FTPD_AUTHENTICATION |
|
Line 144... | Line 127... | |||
144 | If this option is not selected, ftpd runs with the rights |
127 | depends on BUSYBOX_CONFIG_FTPD |
|
145 | of the user it was started under, and does not require login. |
128 | help |
|
146 | Take care to not launch it under root. |
129 | Enable basic system login as seen in telnet etc. |
|
147 | config BUSYBOX_CONFIG_FTPGET |
130 | config BUSYBOX_CONFIG_FTPGET |
|
148 | bool "ftpget (7.8 kb)" |
131 | bool "ftpget" |
|
149 | default BUSYBOX_DEFAULT_FTPGET |
132 | default BUSYBOX_DEFAULT_FTPGET |
|
150 | help |
133 | help |
|
151 | Retrieve a remote file via FTP. |
134 | Retrieve a remote file via FTP. |
|
152 | |
135 | |
|
Line 153... | Line 136... | |||
153 | config BUSYBOX_CONFIG_FTPPUT |
136 | config BUSYBOX_CONFIG_FTPPUT |
|
154 | bool "ftpput (7.5 kb)" |
137 | bool "ftpput" |
|
155 | default BUSYBOX_DEFAULT_FTPPUT |
138 | default BUSYBOX_DEFAULT_FTPPUT |
|
156 | help |
139 | help |
|
157 | Store a remote file via FTP. |
140 | Store a remote file via FTP. |
|
158 | |
141 | |
|
159 | config BUSYBOX_CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS |
142 | config BUSYBOX_CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS |
|
160 | bool "Enable long options in ftpget/ftpput" |
143 | bool "Enable long options in ftpget/ftpput" |
|
161 | default BUSYBOX_DEFAULT_FEATURE_FTPGETPUT_LONG_OPTIONS |
144 | default BUSYBOX_DEFAULT_FEATURE_FTPGETPUT_LONG_OPTIONS |
|
162 | depends on BUSYBOX_CONFIG_LONG_OPTS && (BUSYBOX_CONFIG_FTPGET || BUSYBOX_CONFIG_FTPPUT) |
145 | depends on BUSYBOX_CONFIG_LONG_OPTS && (BUSYBOX_CONFIG_FTPGET || BUSYBOX_CONFIG_FTPPUT) |
|
Line 163... | Line 146... | |||
163 | config BUSYBOX_CONFIG_HOSTNAME |
146 | config BUSYBOX_CONFIG_HOSTNAME |
|
164 | bool "hostname (5.5 kb)" |
147 | bool "hostname" |
|
165 | default BUSYBOX_DEFAULT_HOSTNAME |
148 | default BUSYBOX_DEFAULT_HOSTNAME |
|
166 | help |
149 | help |
|
167 | Show or set the system's host name. |
150 | Show or set the system's host name. |
|
168 | |
151 | |
|
169 | config BUSYBOX_CONFIG_DNSDOMAINNAME |
152 | config BUSYBOX_CONFIG_DNSDOMAINNAME |
|
170 | bool "dnsdomainname (3.6 kb)" |
153 | bool "dnsdomainname" |
|
Line 171... | Line 154... | |||
171 | default BUSYBOX_DEFAULT_DNSDOMAINNAME |
154 | default BUSYBOX_DEFAULT_DNSDOMAINNAME |
|
172 | help |
155 | help |
|
173 | Alias to "hostname -d". |
156 | Alias to "hostname -d". |
|
174 | config BUSYBOX_CONFIG_HTTPD |
157 | config BUSYBOX_CONFIG_HTTPD |
|
175 | bool "httpd (32 kb)" |
158 | bool "httpd" |
|
176 | default BUSYBOX_DEFAULT_HTTPD |
159 | default BUSYBOX_DEFAULT_HTTPD |
|
177 | help |
160 | help |
|
178 | HTTP server. |
161 | HTTP server. |
|
179 | |
162 | |
|
Line 180... | Line 163... | |||
180 | config BUSYBOX_CONFIG_FEATURE_HTTPD_RANGES |
163 | config BUSYBOX_CONFIG_FEATURE_HTTPD_RANGES |
|
181 | bool "Support 'Ranges:' header" |
164 | bool "Support 'Ranges:' header" |
|
182 | default BUSYBOX_DEFAULT_FEATURE_HTTPD_RANGES |
165 | default BUSYBOX_DEFAULT_FEATURE_HTTPD_RANGES |
|
183 | depends on BUSYBOX_CONFIG_HTTPD |
166 | depends on BUSYBOX_CONFIG_HTTPD |
|
184 | help |
167 | help |
|
185 | Makes httpd emit "Accept-Ranges: bytes" header and understand |
168 | Makes httpd emit "Accept-Ranges: bytes" header and understand |
|
186 | "Range: bytes=NNN-[MMM]" header. Allows for resuming interrupted |
169 | "Range: bytes=NNN-[MMM]" header. Allows for resuming interrupted |
|
187 | downloads, seeking in multimedia players etc. |
170 | downloads, seeking in multimedia players etc. |
|
188 | |
171 | |
|
Line 189... | Line 172... | |||
189 | config BUSYBOX_CONFIG_FEATURE_HTTPD_SETUID |
172 | config BUSYBOX_CONFIG_FEATURE_HTTPD_SETUID |
|
190 | bool "Enable -u <user> option" |
173 | bool "Enable -u <user> option" |
|
191 | default BUSYBOX_DEFAULT_FEATURE_HTTPD_SETUID |
174 | default BUSYBOX_DEFAULT_FEATURE_HTTPD_SETUID |
|
192 | depends on BUSYBOX_CONFIG_HTTPD |
175 | depends on BUSYBOX_CONFIG_HTTPD |
|
193 | help |
176 | help |
|
194 | This option allows the server to run as a specific user |
177 | This option allows the server to run as a specific user |
|
195 | rather than defaulting to the user that starts the server. |
178 | rather than defaulting to the user that starts the server. |
|
196 | Use of this option requires special privileges to change to a |
179 | Use of this option requires special privileges to change to a |
|
197 | different user. |
180 | different user. |
|
198 | |
181 | |
|
199 | config BUSYBOX_CONFIG_FEATURE_HTTPD_BASIC_AUTH |
182 | config BUSYBOX_CONFIG_FEATURE_HTTPD_BASIC_AUTH |
|
200 | bool "Enable HTTP authentication" |
183 | bool "Enable Basic http Authentication" |
|
201 | default BUSYBOX_DEFAULT_FEATURE_HTTPD_BASIC_AUTH |
184 | default BUSYBOX_DEFAULT_FEATURE_HTTPD_BASIC_AUTH |
|
Line 202... | Line 185... | |||
202 | depends on BUSYBOX_CONFIG_HTTPD |
185 | depends on BUSYBOX_CONFIG_HTTPD |
|
203 | help |
186 | help |
|
204 | Utilizes password settings from /etc/httpd.conf for basic |
187 | Utilizes password settings from /etc/httpd.conf for basic |
|
205 | authentication on a per url basis. |
188 | authentication on a per url basis. |
|
206 | Example for httpd.conf file: |
189 | Example for httpd.conf file: |
|
207 | /adm:toor:PaSsWd |
190 | /adm:toor:PaSsWd |
|
208 | |
191 | |
|
Line 209... | Line 192... | |||
209 | config BUSYBOX_CONFIG_FEATURE_HTTPD_AUTH_MD5 |
192 | config BUSYBOX_CONFIG_FEATURE_HTTPD_AUTH_MD5 |
|
210 | bool "Support MD5-encrypted passwords in HTTP authentication" |
193 | bool "Support MD5 crypted passwords for http Authentication" |
|
211 | default BUSYBOX_DEFAULT_FEATURE_HTTPD_AUTH_MD5 |
194 | default BUSYBOX_DEFAULT_FEATURE_HTTPD_AUTH_MD5 |
|
212 | depends on BUSYBOX_CONFIG_FEATURE_HTTPD_BASIC_AUTH |
195 | depends on BUSYBOX_CONFIG_FEATURE_HTTPD_BASIC_AUTH |
|
213 | help |
196 | help |
|
214 | Enables encrypted passwords, and wildcard user/passwords |
197 | Enables encrypted passwords, and wildcard user/passwords |
|
215 | in httpd.conf file. |
198 | in httpd.conf file. |
|
216 | User '*' means 'any system user name is ok', |
199 | User '*' means 'any system user name is ok', |
|
217 | password of '*' means 'use system password for this user' |
200 | password of '*' means 'use system password for this user' |
|
218 | Examples: |
201 | Examples: |
|
Line 219... | Line 202... | |||
219 | /adm:toor:$1$P/eKnWXS$aI1aPGxT.dJD5SzqAKWrF0 |
202 | /adm:toor:$1$P/eKnWXS$aI1aPGxT.dJD5SzqAKWrF0 |
|
220 | /adm:root:* |
203 | /adm:root:* |
|
221 | /wiki:*:* |
204 | /wiki:*:* |
|
222 | |
205 | |
|
223 | config BUSYBOX_CONFIG_FEATURE_HTTPD_CGI |
206 | config BUSYBOX_CONFIG_FEATURE_HTTPD_CGI |
|
224 | bool "Support Common Gateway Interface (CGI)" |
207 | bool "Support Common Gateway Interface (CGI)" |
|
225 | default BUSYBOX_DEFAULT_FEATURE_HTTPD_CGI |
208 | default BUSYBOX_DEFAULT_FEATURE_HTTPD_CGI |
|
Line 226... | Line 209... | |||
226 | depends on BUSYBOX_CONFIG_HTTPD |
209 | depends on BUSYBOX_CONFIG_HTTPD |
|
227 | help |
210 | help |
|
228 | This option allows scripts and executables to be invoked |
211 | This option allows scripts and executables to be invoked |
|
229 | when specific URLs are requested. |
212 | when specific URLs are requested. |
|
230 | |
213 | |
|
231 | config BUSYBOX_CONFIG_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR |
214 | config BUSYBOX_CONFIG_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR |
|
232 | bool "Support running scripts through an interpreter" |
215 | bool "Support running scripts through an interpreter" |
|
233 | default BUSYBOX_DEFAULT_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR |
216 | default BUSYBOX_DEFAULT_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR |
|
234 | depends on BUSYBOX_CONFIG_FEATURE_HTTPD_CGI |
217 | depends on BUSYBOX_CONFIG_FEATURE_HTTPD_CGI |
|
Line 235... | Line 218... | |||
235 | help |
218 | help |
|
236 | This option enables support for running scripts through an |
219 | This option enables support for running scripts through an |
|
237 | interpreter. Turn this on if you want PHP scripts to work |
220 | interpreter. Turn this on if you want PHP scripts to work |
|
238 | properly. You need to supply an additional line in your |
221 | properly. You need to supply an additional line in your |
|
239 | httpd.conf file: |
222 | httpd.conf file: |
|
240 | *.php:/path/to/your/php |
223 | *.php:/path/to/your/php |
|
241 | |
224 | |
|
242 | config BUSYBOX_CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV |
225 | config BUSYBOX_CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV |
|
243 | bool "Set REMOTE_PORT environment variable for CGI" |
226 | bool "Set REMOTE_PORT environment variable for CGI" |
|
244 | default BUSYBOX_DEFAULT_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV |
227 | default BUSYBOX_DEFAULT_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV |
|
245 | depends on BUSYBOX_CONFIG_FEATURE_HTTPD_CGI |
228 | depends on BUSYBOX_CONFIG_FEATURE_HTTPD_CGI |
|
246 | help |
229 | help |
|
Line 247... | Line 230... | |||
247 | Use of this option can assist scripts in generating |
230 | Use of this option can assist scripts in generating |
|
248 | references that contain a unique port number. |
231 | references that contain a unique port number. |
|
249 | |
232 | |
|
250 | config BUSYBOX_CONFIG_FEATURE_HTTPD_ENCODE_URL_STR |
233 | config BUSYBOX_CONFIG_FEATURE_HTTPD_ENCODE_URL_STR |
|
251 | bool "Enable -e option (useful for CGIs written as shell scripts)" |
234 | bool "Enable -e option (useful for CGIs written as shell scripts)" |
|
252 | default BUSYBOX_DEFAULT_FEATURE_HTTPD_ENCODE_URL_STR |
235 | default BUSYBOX_DEFAULT_FEATURE_HTTPD_ENCODE_URL_STR |
|
253 | depends on BUSYBOX_CONFIG_HTTPD |
236 | depends on BUSYBOX_CONFIG_HTTPD |
|
254 | help |
237 | help |
|
255 | This option allows html encoding of arbitrary strings for display |
238 | This option allows html encoding of arbitrary strings for display |
|
256 | by the browser. Output goes to stdout. |
239 | by the browser. Output goes to stdout. |
|
257 | For example, httpd -e "<Hello World>" produces |
240 | For example, httpd -e "<Hello World>" produces |
|
Line 258... | Line 241... | |||
258 | "<Hello World>". |
241 | "<Hello World>". |
|
259 | |
242 | |
|
260 | config BUSYBOX_CONFIG_FEATURE_HTTPD_ERROR_PAGES |
243 | config BUSYBOX_CONFIG_FEATURE_HTTPD_ERROR_PAGES |
|
261 | bool "Support custom error pages" |
244 | bool "Support custom error pages" |
|
262 | default BUSYBOX_DEFAULT_FEATURE_HTTPD_ERROR_PAGES |
245 | default BUSYBOX_DEFAULT_FEATURE_HTTPD_ERROR_PAGES |
|
263 | depends on BUSYBOX_CONFIG_HTTPD |
246 | depends on BUSYBOX_CONFIG_HTTPD |
|
264 | help |
247 | help |
|
265 | This option allows you to define custom error pages in |
248 | This option allows you to define custom error pages in |
|
266 | the configuration file instead of the default HTTP status |
249 | the configuration file instead of the default HTTP status |
|
267 | error pages. For instance, if you add the line: |
250 | error pages. For instance, if you add the line: |
|
268 | E404:/path/e404.html |
251 | E404:/path/e404.html |
|
269 | in the config file, the server will respond the specified |
252 | in the config file, the server will respond the specified |
|
270 | '/path/e404.html' file instead of the terse '404 NOT FOUND' |
253 | '/path/e404.html' file instead of the terse '404 NOT FOUND' |
|
Line 271... | Line 254... | |||
271 | message. |
254 | message. |
|
272 | |
255 | |
|
273 | config BUSYBOX_CONFIG_FEATURE_HTTPD_PROXY |
256 | config BUSYBOX_CONFIG_FEATURE_HTTPD_PROXY |
|
274 | bool "Support reverse proxy" |
257 | bool "Support reverse proxy" |
|
275 | default BUSYBOX_DEFAULT_FEATURE_HTTPD_PROXY |
258 | default BUSYBOX_DEFAULT_FEATURE_HTTPD_PROXY |
|
276 | depends on BUSYBOX_CONFIG_HTTPD |
259 | depends on BUSYBOX_CONFIG_HTTPD |
|
277 | help |
260 | help |
|
Line 278... | Line 261... | |||
278 | This option allows you to define URLs that will be forwarded |
261 | This option allows you to define URLs that will be forwarded |
|
279 | to another HTTP server. To setup add the following line to the |
262 | to another HTTP server. To setup add the following line to the |
|
280 | configuration file |
263 | configuration file |
|
281 | P:/url/:http://hostname[:port]/new/path/ |
264 | P:/url/:http://hostname[:port]/new/path/ |
|
282 | Then a request to /url/myfile will be forwarded to |
265 | Then a request to /url/myfile will be forwarded to |
|
283 | http://hostname[:port]/new/path/myfile. |
266 | http://hostname[:port]/new/path/myfile. |
|
284 | |
267 | |
|
Line 285... | Line 268... | |||
285 | config BUSYBOX_CONFIG_FEATURE_HTTPD_GZIP |
268 | config BUSYBOX_CONFIG_FEATURE_HTTPD_GZIP |
|
286 | bool "Support GZIP content encoding" |
269 | bool "Support GZIP content encoding" |
|
287 | default BUSYBOX_DEFAULT_FEATURE_HTTPD_GZIP |
270 | default BUSYBOX_DEFAULT_FEATURE_HTTPD_GZIP |
|
288 | depends on BUSYBOX_CONFIG_HTTPD |
271 | depends on BUSYBOX_CONFIG_HTTPD |
|
289 | help |
272 | help |
|
290 | Makes httpd send files using GZIP content encoding if the |
273 | Makes httpd send files using GZIP content encoding if the |
|
291 | client supports it and a pre-compressed <file>.gz exists. |
274 | client supports it and a pre-compressed <file>.gz exists. |
|
Line 292... | Line 275... | |||
292 | config BUSYBOX_CONFIG_IFCONFIG |
275 | config BUSYBOX_CONFIG_IFCONFIG |
|
293 | bool "ifconfig (12 kb)" |
276 | bool "ifconfig" |
|
294 | default BUSYBOX_DEFAULT_IFCONFIG |
277 | default BUSYBOX_DEFAULT_IFCONFIG |
|
295 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
278 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
|
296 | help |
279 | help |
|
297 | Ifconfig is used to configure the kernel-resident network interfaces. |
280 | Ifconfig is used to configure the kernel-resident network interfaces. |
|
298 | |
281 | |
|
299 | config BUSYBOX_CONFIG_FEATURE_IFCONFIG_STATUS |
282 | config BUSYBOX_CONFIG_FEATURE_IFCONFIG_STATUS |
|
Line 300... | Line 283... | |||
300 | bool "Enable status reporting output (+7k)" |
283 | bool "Enable status reporting output (+7k)" |
|
301 | default BUSYBOX_DEFAULT_FEATURE_IFCONFIG_STATUS |
284 | default BUSYBOX_DEFAULT_FEATURE_IFCONFIG_STATUS |
|
302 | depends on BUSYBOX_CONFIG_IFCONFIG |
285 | depends on BUSYBOX_CONFIG_IFCONFIG |
|
303 | help |
286 | help |
|
304 | If ifconfig is called with no arguments it will display the status |
287 | If ifconfig is called with no arguments it will display the status |
|
305 | of the currently active interfaces. |
288 | of the currently active interfaces. |
|
306 | |
289 | |
|
307 | config BUSYBOX_CONFIG_FEATURE_IFCONFIG_SLIP |
290 | config BUSYBOX_CONFIG_FEATURE_IFCONFIG_SLIP |
|
308 | bool "Enable slip-specific options \"keepalive\" and \"outfill\"" |
291 | bool "Enable slip-specific options \"keepalive\" and \"outfill\"" |
|
309 | default BUSYBOX_DEFAULT_FEATURE_IFCONFIG_SLIP |
292 | default BUSYBOX_DEFAULT_FEATURE_IFCONFIG_SLIP |
|
310 | depends on BUSYBOX_CONFIG_IFCONFIG |
293 | depends on BUSYBOX_CONFIG_IFCONFIG |
|
311 | help |
294 | help |
|
312 | Allow "keepalive" and "outfill" support for SLIP. If you're not |
295 | Allow "keepalive" and "outfill" support for SLIP. If you're not |
|
313 | planning on using serial lines, leave this unchecked. |
296 | planning on using serial lines, leave this unchecked. |
|
314 | |
297 | |
|
315 | config BUSYBOX_CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ |
298 | config BUSYBOX_CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ |
|
316 | bool "Enable options \"mem_start\", \"io_addr\", and \"irq\"" |
299 | bool "Enable options \"mem_start\", \"io_addr\", and \"irq\"" |
|
317 | default BUSYBOX_DEFAULT_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ |
300 | default BUSYBOX_DEFAULT_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ |
|
318 | depends on BUSYBOX_CONFIG_IFCONFIG |
301 | depends on BUSYBOX_CONFIG_IFCONFIG |
|
319 | help |
302 | help |
|
320 | Allow the start address for shared memory, start address for I/O, |
303 | Allow the start address for shared memory, start address for I/O, |
|
321 | and/or the interrupt line used by the specified device. |
304 | and/or the interrupt line used by the specified device. |
|
322 | |
305 | |
|
323 | config BUSYBOX_CONFIG_FEATURE_IFCONFIG_HW |
306 | config BUSYBOX_CONFIG_FEATURE_IFCONFIG_HW |
|
324 | bool "Enable option \"hw\" (ether only)" |
307 | bool "Enable option \"hw\" (ether only)" |
|
325 | default BUSYBOX_DEFAULT_FEATURE_IFCONFIG_HW |
308 | default BUSYBOX_DEFAULT_FEATURE_IFCONFIG_HW |
|
326 | depends on BUSYBOX_CONFIG_IFCONFIG |
309 | depends on BUSYBOX_CONFIG_IFCONFIG |
|
327 | help |
310 | help |
|
328 | Set the hardware address of this interface, if the device driver |
311 | Set the hardware address of this interface, if the device driver |
|
329 | supports this operation. Currently, we only support the 'ether' |
312 | supports this operation. Currently, we only support the 'ether' |
|
330 | class. |
313 | class. |
|
331 | |
314 | |
|
332 | config BUSYBOX_CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS |
315 | config BUSYBOX_CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS |
|
333 | bool "Set the broadcast automatically" |
316 | bool "Set the broadcast automatically" |
|
334 | default BUSYBOX_DEFAULT_FEATURE_IFCONFIG_BROADCAST_PLUS |
317 | default BUSYBOX_DEFAULT_FEATURE_IFCONFIG_BROADCAST_PLUS |
|
Line 335... | Line 318... | |||
335 | depends on BUSYBOX_CONFIG_IFCONFIG |
318 | depends on BUSYBOX_CONFIG_IFCONFIG |
|
336 | help |
319 | help |
|
337 | Setting this will make ifconfig attempt to find the broadcast |
320 | Setting this will make ifconfig attempt to find the broadcast |
|
338 | automatically if the value '+' is used. |
321 | automatically if the value '+' is used. |
|
339 | config BUSYBOX_CONFIG_IFENSLAVE |
322 | config BUSYBOX_CONFIG_IFENSLAVE |
|
Line 340... | Line 323... | |||
340 | bool "ifenslave (13 kb)" |
323 | bool "ifenslave" |
|
341 | default BUSYBOX_DEFAULT_IFENSLAVE |
324 | default BUSYBOX_DEFAULT_IFENSLAVE |
|
342 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
325 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
|
343 | help |
326 | help |
|
344 | Userspace application to bind several interfaces |
327 | Userspace application to bind several interfaces |
|
345 | to a logical interface (use with kernel bonding driver). |
328 | to a logical interface (use with kernel bonding driver). |
|
346 | config BUSYBOX_CONFIG_IFPLUGD |
329 | config BUSYBOX_CONFIG_IFPLUGD |
|
347 | bool "ifplugd (10 kb)" |
330 | bool "ifplugd" |
|
348 | default BUSYBOX_DEFAULT_IFPLUGD |
331 | default BUSYBOX_DEFAULT_IFPLUGD |
|
349 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
332 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
|
Line 350... | Line 333... | |||
350 | help |
333 | help |
|
351 | Network interface plug detection daemon. |
334 | Network interface plug detection daemon. |
|
352 | config BUSYBOX_CONFIG_IFUP |
335 | config BUSYBOX_CONFIG_IFUP |
|
353 | bool "ifup (14 kb)" |
336 | bool "ifup" |
|
354 | default BUSYBOX_DEFAULT_IFUP |
337 | default BUSYBOX_DEFAULT_IFUP |
|
355 | help |
338 | help |
|
356 | Activate the specified interfaces. This applet makes use |
339 | Activate the specified interfaces. This applet makes use |
|
Line 357... | Line 340... | |||
357 | of either "ifconfig" and "route" or the "ip" command to actually |
340 | of either "ifconfig" and "route" or the "ip" command to actually |
|
358 | configure network interfaces. Therefore, you will probably also want |
341 | configure network interfaces. Therefore, you will probably also want |
|
359 | to enable either IFCONFIG and ROUTE, or enable |
342 | to enable either IFCONFIG and ROUTE, or enable |
|
Line 360... | Line 343... | |||
360 | FEATURE_IFUPDOWN_IP and the various IP options. Of |
343 | FEATURE_IFUPDOWN_IP and the various IP options. Of |
|
361 | course you could use non-busybox versions of these programs, so |
344 | course you could use non-busybox versions of these programs, so |
|
Line 362... | Line 345... | |||
362 | against my better judgement (since this will surely result in plenty |
345 | against my better judgement (since this will surely result in plenty |
|
363 | of support questions on the mailing list), I do not force you to |
346 | of support questions on the mailing list), I do not force you to |
|
364 | enable these additional options. It is up to you to supply either |
347 | enable these additional options. It is up to you to supply either |
|
365 | "ifconfig", "route" and "run-parts" or the "ip" command, either |
348 | "ifconfig", "route" and "run-parts" or the "ip" command, either |
|
366 | via busybox or via standalone utilities. |
349 | via busybox or via standalone utilities. |
|
367 | |
350 | |
|
Line 368... | Line 351... | |||
368 | config BUSYBOX_CONFIG_IFDOWN |
351 | config BUSYBOX_CONFIG_IFDOWN |
|
369 | bool "ifdown (13 kb)" |
352 | bool "ifdown" |
|
370 | default BUSYBOX_DEFAULT_IFDOWN |
353 | default BUSYBOX_DEFAULT_IFDOWN |
|
371 | help |
354 | help |
|
372 | Deactivate the specified interfaces. |
355 | Deactivate the specified interfaces. |
|
373 | |
356 | |
|
Line 374... | Line 357... | |||
374 | config BUSYBOX_CONFIG_IFUPDOWN_IFSTATE_PATH |
357 | config BUSYBOX_CONFIG_IFUPDOWN_IFSTATE_PATH |
|
375 | string "Absolute path to ifstate file" |
358 | string "Absolute path to ifstate file" |
|
376 | default BUSYBOX_DEFAULT_IFUPDOWN_IFSTATE_PATH |
359 | default BUSYBOX_DEFAULT_IFUPDOWN_IFSTATE_PATH |
|
377 | depends on BUSYBOX_CONFIG_IFUP || BUSYBOX_CONFIG_IFDOWN |
360 | depends on BUSYBOX_CONFIG_IFUP || BUSYBOX_CONFIG_IFDOWN |
|
378 | help |
361 | help |
|
379 | ifupdown keeps state information in a file called ifstate. |
362 | ifupdown keeps state information in a file called ifstate. |
|
380 | Typically it is located in /var/run/ifstate, however |
363 | Typically it is located in /var/run/ifstate, however |
|
Line 381... | Line 364... | |||
381 | some distributions tend to put it in other places |
364 | some distributions tend to put it in other places |
|
382 | (debian, for example, uses /etc/network/run/ifstate). |
365 | (debian, for example, uses /etc/network/run/ifstate). |
|
383 | This config option defines location of ifstate. |
366 | This config option defines location of ifstate. |
|
384 | |
367 | |
|
385 | config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_IP |
368 | config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_IP |
|
386 | bool "Use ip tool (else ifconfig/route is used)" |
369 | bool "Use ip tool (else ifconfig/route is used)" |
|
387 | default BUSYBOX_DEFAULT_FEATURE_IFUPDOWN_IP |
370 | default BUSYBOX_DEFAULT_FEATURE_IFUPDOWN_IP |
|
388 | depends on BUSYBOX_CONFIG_IFUP || BUSYBOX_CONFIG_IFDOWN |
371 | depends on BUSYBOX_CONFIG_IFUP || BUSYBOX_CONFIG_IFDOWN |
|
389 | help |
372 | help |
|
390 | Use the iproute "ip" command to implement "ifup" and "ifdown", rather |
373 | Use the iproute "ip" command to implement "ifup" and "ifdown", rather |
|
391 | than the default of using the older "ifconfig" and "route" utilities. |
374 | than the default of using the older "ifconfig" and "route" utilities. |
|
392 | |
375 | |
|
393 | If Y: you must install either the full-blown iproute2 package |
376 | If Y: you must install either the full-blown iproute2 package |
|
394 | or enable "ip" applet in busybox, or the "ifup" and "ifdown" applets |
377 | or enable "ip" applet in Busybox, or the "ifup" and "ifdown" applets |
|
395 | will not work. |
378 | will not work. |
|
Line 396... | Line 379... | |||
396 | |
379 | |
|
397 | If N: you must install either the full-blown ifconfig and route |
380 | If N: you must install either the full-blown ifconfig and route |
|
398 | utilities, or enable these applets in busybox. |
381 | utilities, or enable these applets in Busybox. |
|
399 | |
382 | |
|
400 | config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_IPV4 |
383 | config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_IPV4 |
|
401 | bool "Support IPv4" |
- | ||
402 | default BUSYBOX_DEFAULT_FEATURE_IFUPDOWN_IPV4 |
- | ||
403 | depends on BUSYBOX_CONFIG_IFUP || BUSYBOX_CONFIG_IFDOWN |
384 | bool "Support IPv4" |
|
404 | help |
- | ||
Line 405... | Line 385... | |||
405 | If you want ifup/ifdown to talk IPv4, leave this on. |
385 | default BUSYBOX_DEFAULT_FEATURE_IFUPDOWN_IPV4 |
|
406 | |
386 | depends on BUSYBOX_CONFIG_IFUP || BUSYBOX_CONFIG_IFDOWN |
|
407 | config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_IPV6 |
387 | help |
|
408 | bool "Support IPv6" |
388 | If you want ifup/ifdown to talk IPv4, leave this on. |
|
409 | default BUSYBOX_DEFAULT_FEATURE_IFUPDOWN_IPV6 |
389 | |
|
410 | depends on (BUSYBOX_CONFIG_IFUP || BUSYBOX_CONFIG_IFDOWN) && BUSYBOX_CONFIG_FEATURE_IPV6 |
390 | config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_IPV6 |
|
411 | help |
- | ||
412 | If you need support for IPv6, turn this option on. |
- | ||
413 | |
- | ||
Line 414... | Line 391... | |||
414 | |
391 | bool "Support IPv6" |
|
415 | config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_MAPPING |
392 | default BUSYBOX_DEFAULT_FEATURE_IFUPDOWN_IPV6 |
|
416 | bool "Enable mapping support" |
393 | depends on (BUSYBOX_CONFIG_IFUP || BUSYBOX_CONFIG_IFDOWN) && BUSYBOX_CONFIG_FEATURE_IPV6 |
|
417 | default BUSYBOX_DEFAULT_FEATURE_IFUPDOWN_MAPPING |
394 | help |
|
418 | depends on BUSYBOX_CONFIG_IFUP || BUSYBOX_CONFIG_IFDOWN |
395 | If you need support for IPv6, turn this option on. |
|
419 | help |
- | ||
420 | This enables support for the "mapping" stanza, unless you have |
396 | |
|
421 | a weird network setup you don't need it. |
- | ||
422 | |
- | ||
423 | config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_EXTERNAL_DHCP |
- | ||
424 | bool "Support external DHCP clients" |
- | ||
Line 425... | Line 397... | |||
425 | default BUSYBOX_DEFAULT_FEATURE_IFUPDOWN_EXTERNAL_DHCP |
397 | |
|
426 | depends on BUSYBOX_CONFIG_IFUP || BUSYBOX_CONFIG_IFDOWN |
398 | config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_MAPPING |
|
427 | help |
399 | bool "Enable mapping support" |
|
428 | This enables support for the external dhcp clients. Clients are |
400 | default BUSYBOX_DEFAULT_FEATURE_IFUPDOWN_MAPPING |
|
429 | tried in the following order: dhcpcd, dhclient, pump and udhcpc. |
401 | depends on BUSYBOX_CONFIG_IFUP || BUSYBOX_CONFIG_IFDOWN |
|
430 | Otherwise, if udhcpc applet is enabled, it is used. |
402 | help |
|
431 | Otherwise, ifup/ifdown will have no support for DHCP. |
- | ||
432 | config BUSYBOX_CONFIG_INETD |
- | ||
433 | bool "inetd (18 kb)" |
- | ||
Line 434... | Line 403... | |||
434 | default BUSYBOX_DEFAULT_INETD |
403 | This enables support for the "mapping" stanza, unless you have |
|
435 | select BUSYBOX_CONFIG_FEATURE_SYSLOG |
404 | a weird network setup you don't need it. |
|
436 | help |
405 | |
|
437 | Internet superserver daemon |
406 | config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_EXTERNAL_DHCP |
|
438 | |
407 | bool "Support external DHCP clients" |
|
439 | config BUSYBOX_CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_ECHO |
408 | default BUSYBOX_DEFAULT_FEATURE_IFUPDOWN_EXTERNAL_DHCP |
|
440 | bool "Support echo service on port 7" |
- | ||
441 | default BUSYBOX_DEFAULT_FEATURE_INETD_SUPPORT_BUILTIN_ECHO |
- | ||
442 | depends on BUSYBOX_CONFIG_INETD |
- | ||
443 | help |
- | ||
Line 444... | Line 409... | |||
444 | Internal service which echoes data back. |
409 | depends on BUSYBOX_CONFIG_IFUP || BUSYBOX_CONFIG_IFDOWN |
|
445 | Activated by configuration lines like these: |
410 | help |
|
446 | echo stream tcp nowait root internal |
411 | This enables support for the external dhcp clients. Clients are |
|
447 | echo dgram udp wait root internal |
412 | tried in the following order: dhcpcd, dhclient, pump and udhcpc. |
|
- | 413 | Otherwise, if udhcpc applet is enabled, it is used. |
||
448 | |
414 | Otherwise, ifup/ifdown will have no support for DHCP. |
|
449 | config BUSYBOX_CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DISCARD |
415 | config BUSYBOX_CONFIG_INETD |
|
450 | bool "Support discard service on port 8" |
416 | bool "inetd" |
|
451 | default BUSYBOX_DEFAULT_FEATURE_INETD_SUPPORT_BUILTIN_DISCARD |
417 | default BUSYBOX_DEFAULT_INETD |
|
452 | depends on BUSYBOX_CONFIG_INETD |
418 | select BUSYBOX_CONFIG_FEATURE_SYSLOG |
|
453 | help |
419 | help |
|
454 | Internal service which discards all input. |
420 | Internet superserver daemon |
|
455 | Activated by configuration lines like these: |
421 | |
|
456 | discard stream tcp nowait root internal |
- | ||
457 | discard dgram udp wait root internal |
- | ||
458 | |
422 | config BUSYBOX_CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_ECHO |
|
459 | config BUSYBOX_CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_TIME |
423 | bool "Support echo service" |
|
Line 460... | Line 424... | |||
460 | bool "Support time service on port 37" |
424 | default BUSYBOX_DEFAULT_FEATURE_INETD_SUPPORT_BUILTIN_ECHO |
|
461 | default BUSYBOX_DEFAULT_FEATURE_INETD_SUPPORT_BUILTIN_TIME |
425 | depends on BUSYBOX_CONFIG_INETD |
|
462 | depends on BUSYBOX_CONFIG_INETD |
426 | help |
|
463 | help |
427 | Echo received data internal inetd service |
|
464 | Internal service which returns big-endian 32-bit number |
428 | |
|
465 | of seconds passed since 1900-01-01. The number wraps around |
429 | config BUSYBOX_CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DISCARD |
|
466 | on overflow. |
430 | bool "Support discard service" |
|
Line 467... | Line 431... | |||
467 | Activated by configuration lines like these: |
431 | default BUSYBOX_DEFAULT_FEATURE_INETD_SUPPORT_BUILTIN_DISCARD |
|
468 | time stream tcp nowait root internal |
432 | depends on BUSYBOX_CONFIG_INETD |
|
469 | time dgram udp wait root internal |
433 | help |
|
470 | |
434 | Internet /dev/null internal inetd service |
|
471 | config BUSYBOX_CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME |
435 | |
|
472 | bool "Support daytime service on port 13" |
436 | config BUSYBOX_CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_TIME |
|
473 | default BUSYBOX_DEFAULT_FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME |
437 | bool "Support time service" |
|
Line 474... | Line 438... | |||
474 | depends on BUSYBOX_CONFIG_INETD |
438 | default BUSYBOX_DEFAULT_FEATURE_INETD_SUPPORT_BUILTIN_TIME |
|
475 | help |
439 | depends on BUSYBOX_CONFIG_INETD |
|
476 | Internal service which returns human-readable time. |
440 | help |
|
477 | Activated by configuration lines like these: |
441 | Return 32 bit time since 1900 internal inetd service |
|
478 | daytime stream tcp nowait root internal |
442 | |
|
479 | daytime dgram udp wait root internal |
443 | config BUSYBOX_CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME |
|
480 | |
444 | bool "Support daytime service" |
|
Line 481... | Line 445... | |||
481 | config BUSYBOX_CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN |
445 | default BUSYBOX_DEFAULT_FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME |
|
482 | bool "Support chargen service on port 19" |
446 | depends on BUSYBOX_CONFIG_INETD |
|
483 | default BUSYBOX_DEFAULT_FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN |
447 | help |
|
484 | depends on BUSYBOX_CONFIG_INETD |
448 | Return human-readable time internal inetd service |
|
485 | help |
449 | |
|
486 | Internal service which generates endless stream |
450 | config BUSYBOX_CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN |
|
487 | of all ASCII chars beetween space and char 126. |
451 | bool "Support chargen service" |
|
Line 488... | Line 452... | |||
488 | Activated by configuration lines like these: |
452 | default BUSYBOX_DEFAULT_FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN |
|
489 | chargen stream tcp nowait root internal |
453 | depends on BUSYBOX_CONFIG_INETD |
|
490 | chargen dgram udp wait root internal |
454 | help |
|
491 | |
455 | Familiar character generator internal inetd service |
|
492 | config BUSYBOX_CONFIG_FEATURE_INETD_RPC |
456 | |
|
493 | bool "Support RPC services" |
457 | config BUSYBOX_CONFIG_FEATURE_INETD_RPC |
|
494 | default BUSYBOX_DEFAULT_FEATURE_INETD_RPC # very rarely used, and needs Sun RPC support in libc |
458 | bool "Support RPC services" |
|
Line 495... | Line 459... | |||
495 | depends on BUSYBOX_CONFIG_INETD |
459 | default BUSYBOX_DEFAULT_FEATURE_INETD_RPC # very rarely used, and needs Sun RPC support in libc |
|
496 | help |
460 | depends on BUSYBOX_CONFIG_INETD |
|
497 | Support Sun-RPC based services |
461 | select BUSYBOX_CONFIG_FEATURE_HAVE_RPC |
|
498 | config BUSYBOX_CONFIG_IP |
462 | help |
|
499 | bool "ip (35 kb)" |
463 | Support Sun-RPC based services |
|
500 | default BUSYBOX_DEFAULT_IP |
464 | config BUSYBOX_CONFIG_IP |
|
501 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
465 | bool "ip" |
|
Line 502... | Line 466... | |||
502 | help |
466 | default BUSYBOX_DEFAULT_IP |
|
503 | The "ip" applet is a TCP/IP interface configuration and routing |
467 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
|
504 | utility. |
468 | help |
|
505 | Short forms (enabled below) are busybox-specific extensions. |
469 | The "ip" applet is a TCP/IP interface configuration and routing |
|
506 | The standard "ip" utility does not provide them. If you are |
470 | utility. You generally don't need "ip" to use busybox with |
|
507 | trying to be portable, it's better to use "ip CMD" forms. |
471 | TCP/IP. |
|
Line 508... | Line 472... | |||
508 | |
472 | |
|
509 | config BUSYBOX_CONFIG_IPADDR |
473 | config BUSYBOX_CONFIG_IPADDR |
|
510 | bool "ipaddr (14 kb)" |
474 | bool "ipaddr" |
|
511 | default BUSYBOX_DEFAULT_IPADDR |
475 | default BUSYBOX_DEFAULT_IPADDR |
|
512 | select BUSYBOX_CONFIG_FEATURE_IP_ADDRESS |
476 | select BUSYBOX_CONFIG_FEATURE_IP_ADDRESS |
|
513 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
477 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
|
Line 514... | Line 478... | |||
514 | help |
478 | help |
|
515 | Short form of "ip addr" |
479 | Support short form of ip addr: ipaddr |
|
516 | |
480 | |
|
517 | config BUSYBOX_CONFIG_IPLINK |
481 | config BUSYBOX_CONFIG_IPLINK |
|
518 | bool "iplink (17 kb)" |
482 | bool "iplink" |
|
519 | default BUSYBOX_DEFAULT_IPLINK |
483 | default BUSYBOX_DEFAULT_IPLINK |
|
Line 520... | Line 484... | |||
520 | select BUSYBOX_CONFIG_FEATURE_IP_LINK |
484 | select BUSYBOX_CONFIG_FEATURE_IP_LINK |
|
521 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
485 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
|
522 | help |
486 | help |
|
523 | Short form of "ip link" |
487 | Support short form of ip link: iplink |
|
524 | |
488 | |
|
525 | config BUSYBOX_CONFIG_IPROUTE |
489 | config BUSYBOX_CONFIG_IPROUTE |
|
Line 526... | Line 490... | |||
526 | bool "iproute (15 kb)" |
490 | bool "iproute" |
|
527 | default BUSYBOX_DEFAULT_IPROUTE |
491 | default BUSYBOX_DEFAULT_IPROUTE |
|
528 | select BUSYBOX_CONFIG_FEATURE_IP_ROUTE |
492 | select BUSYBOX_CONFIG_FEATURE_IP_ROUTE |
|
529 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
493 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
|
530 | help |
494 | help |
|
531 | Short form of "ip route" |
495 | Support short form of ip route: iproute |
|
Line 532... | Line 496... | |||
532 | |
496 | |
|
533 | config BUSYBOX_CONFIG_IPTUNNEL |
497 | config BUSYBOX_CONFIG_IPTUNNEL |
|
534 | bool "iptunnel (9.6 kb)" |
498 | bool "iptunnel" |
|
535 | default BUSYBOX_DEFAULT_IPTUNNEL |
499 | default BUSYBOX_DEFAULT_IPTUNNEL |
|
536 | select BUSYBOX_CONFIG_FEATURE_IP_TUNNEL |
500 | select BUSYBOX_CONFIG_FEATURE_IP_TUNNEL |
|
537 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
501 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
|
Line 538... | Line 502... | |||
538 | help |
502 | help |
|
539 | Short form of "ip tunnel" |
503 | Support short form of ip tunnel: iptunnel |
|
540 | |
504 | |
|
541 | config BUSYBOX_CONFIG_IPRULE |
505 | config BUSYBOX_CONFIG_IPRULE |
|
542 | bool "iprule (10 kb)" |
506 | bool "iprule" |
|
543 | default BUSYBOX_DEFAULT_IPRULE |
507 | default BUSYBOX_DEFAULT_IPRULE |
|
Line 544... | Line 508... | |||
544 | select BUSYBOX_CONFIG_FEATURE_IP_RULE |
508 | select BUSYBOX_CONFIG_FEATURE_IP_RULE |
|
545 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
509 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
|
546 | help |
510 | help |
|
547 | Short form of "ip rule" |
511 | Support short form of ip rule: iprule |
|
548 | |
512 | |
|
549 | config BUSYBOX_CONFIG_IPNEIGH |
513 | config BUSYBOX_CONFIG_IPNEIGH |
|
550 | bool "ipneigh (8.3 kb)" |
514 | bool "ipneigh" |
|
551 | default BUSYBOX_DEFAULT_IPNEIGH |
515 | default BUSYBOX_DEFAULT_IPNEIGH |
|
552 | select BUSYBOX_CONFIG_FEATURE_IP_NEIGH |
516 | select BUSYBOX_CONFIG_FEATURE_IP_NEIGH |
|
553 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
517 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
|
554 | help |
518 | help |
|
555 | Short form of "ip neigh" |
519 | Support short form of ip neigh: ipneigh |
|
556 | |
520 | |
|
557 | config BUSYBOX_CONFIG_FEATURE_IP_ADDRESS |
521 | config BUSYBOX_CONFIG_FEATURE_IP_ADDRESS |
|
558 | bool "ip address" |
522 | bool "ip address" |
|
Line 559... | Line 523... | |||
559 | default BUSYBOX_DEFAULT_FEATURE_IP_ADDRESS |
523 | default BUSYBOX_DEFAULT_FEATURE_IP_ADDRESS |
|
560 | depends on BUSYBOX_CONFIG_IP || BUSYBOX_CONFIG_IPADDR |
524 | depends on BUSYBOX_CONFIG_IP || BUSYBOX_CONFIG_IPADDR |
|
561 | help |
525 | help |
|
562 | Address manipulation support for the "ip" applet. |
526 | Address manipulation support for the "ip" applet. |
|
Line 627... | Line 591... | |||
627 | config BUSYBOX_CONFIG_FEATURE_IPCALC_FANCY |
591 | config BUSYBOX_CONFIG_FEATURE_IPCALC_FANCY |
|
628 | bool "Fancy IPCALC, more options, adds 1 kbyte" |
592 | bool "Fancy IPCALC, more options, adds 1 kbyte" |
|
629 | default BUSYBOX_DEFAULT_FEATURE_IPCALC_FANCY |
593 | default BUSYBOX_DEFAULT_FEATURE_IPCALC_FANCY |
|
630 | depends on BUSYBOX_CONFIG_IPCALC |
594 | depends on BUSYBOX_CONFIG_IPCALC |
|
631 | help |
595 | help |
|
632 | Adds the options hostname, prefix and silent to the output of |
596 | Adds the options hostname, prefix and silent to the output of |
|
633 | "ipcalc". |
597 | "ipcalc". |
|
634 | config BUSYBOX_CONFIG_FAKEIDENTD |
598 | config BUSYBOX_CONFIG_FAKEIDENTD |
|
635 | bool "fakeidentd (8.7 kb)" |
599 | bool "fakeidentd" |
|
636 | default BUSYBOX_DEFAULT_FAKEIDENTD |
600 | default BUSYBOX_DEFAULT_FAKEIDENTD |
|
637 | select BUSYBOX_CONFIG_FEATURE_SYSLOG |
601 | select BUSYBOX_CONFIG_FEATURE_SYSLOG |
|
638 | help |
602 | help |
|
639 | fakeidentd listens on the ident port and returns a predefined |
603 | fakeidentd listens on the ident port and returns a predefined |
|
640 | fake value on any query. |
604 | fake value on any query. |
|
641 | config BUSYBOX_CONFIG_NAMEIF |
605 | config BUSYBOX_CONFIG_NAMEIF |
|
642 | bool "nameif (6.6 kb)" |
606 | bool "nameif" |
|
643 | default BUSYBOX_DEFAULT_NAMEIF |
607 | default BUSYBOX_DEFAULT_NAMEIF |
|
644 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
608 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
|
645 | select BUSYBOX_CONFIG_FEATURE_SYSLOG |
609 | select BUSYBOX_CONFIG_FEATURE_SYSLOG |
|
646 | help |
610 | help |
|
647 | nameif is used to rename network interface by its MAC address. |
611 | nameif is used to rename network interface by its MAC address. |
|
648 | Renamed interfaces MUST be in the down state. |
612 | Renamed interfaces MUST be in the down state. |
|
649 | It is possible to use a file (default: /etc/mactab) |
613 | It is possible to use a file (default: /etc/mactab) |
|
650 | with list of new interface names and MACs. |
614 | with list of new interface names and MACs. |
|
651 | Maximum interface name length: IFNAMSIZ = 16 |
615 | Maximum interface name length: IFNAMSIZ = 16 |
|
652 | File fields are separated by space or tab. |
616 | File fields are separated by space or tab. |
|
653 | File format: |
617 | File format: |
|
654 | # Comment |
618 | # Comment |
|
655 | new_interface_name XX:XX:XX:XX:XX:XX |
619 | new_interface_name XX:XX:XX:XX:XX:XX |
|
Line 656... | Line 620... | |||
656 | |
620 | |
|
657 | config BUSYBOX_CONFIG_FEATURE_NAMEIF_EXTENDED |
621 | config BUSYBOX_CONFIG_FEATURE_NAMEIF_EXTENDED |
|
658 | bool "Extended nameif" |
622 | bool "Extended nameif" |
|
659 | default BUSYBOX_DEFAULT_FEATURE_NAMEIF_EXTENDED |
623 | default BUSYBOX_DEFAULT_FEATURE_NAMEIF_EXTENDED |
|
660 | depends on BUSYBOX_CONFIG_NAMEIF |
624 | depends on BUSYBOX_CONFIG_NAMEIF |
|
661 | help |
625 | help |
|
662 | This extends the nameif syntax to support the bus_info, driver, |
626 | This extends the nameif syntax to support the bus_info, driver, |
|
663 | phyaddr selectors. The syntax is compatible to the normal nameif. |
627 | phyaddr selectors. The syntax is compatible to the normal nameif. |
|
664 | File format: |
628 | File format: |
|
665 | new_interface_name driver=asix bus=usb-0000:00:08.2-3 |
629 | new_interface_name driver=asix bus=usb-0000:00:08.2-3 |
|
666 | new_interface_name bus=usb-0000:00:08.2-3 00:80:C8:38:91:B5 |
630 | new_interface_name bus=usb-0000:00:08.2-3 00:80:C8:38:91:B5 |
|
667 | new_interface_name phy_address=2 00:80:C8:38:91:B5 |
631 | new_interface_name phy_address=2 00:80:C8:38:91:B5 |
|
668 | new_interface_name mac=00:80:C8:38:91:B5 |
632 | new_interface_name mac=00:80:C8:38:91:B5 |
|
669 | new_interface_name 00:80:C8:38:91:B5 |
633 | new_interface_name 00:80:C8:38:91:B5 |
|
670 | config BUSYBOX_CONFIG_NBDCLIENT |
634 | config BUSYBOX_CONFIG_NBDCLIENT |
|
671 | bool "nbd-client (6 kb)" |
635 | bool "nbd-client" |
|
672 | default BUSYBOX_DEFAULT_NBDCLIENT |
636 | default BUSYBOX_DEFAULT_NBDCLIENT |
|
673 | help |
637 | help |
|
674 | Network block device client |
638 | Network block device client |
|
675 | config BUSYBOX_CONFIG_NC |
639 | config BUSYBOX_CONFIG_NC |
|
676 | bool "nc (11 kb)" |
640 | bool "nc" |
|
677 | default BUSYBOX_DEFAULT_NC |
641 | default BUSYBOX_DEFAULT_NC |
|
678 | help |
642 | help |
|
679 | A simple Unix utility which reads and writes data across network |
643 | A simple Unix utility which reads and writes data across network |
|
680 | connections. |
- | ||
681 | |
- | ||
682 | config BUSYBOX_CONFIG_NETCAT |
- | ||
683 | bool "netcat (11 kb)" |
- | ||
684 | default BUSYBOX_DEFAULT_NETCAT |
- | ||
685 | help |
- | ||
Line 686... | Line 644... | |||
686 | Alias to nc. |
644 | connections. |
|
687 | |
645 | |
|
688 | config BUSYBOX_CONFIG_NC_SERVER |
646 | config BUSYBOX_CONFIG_NC_SERVER |
|
689 | bool "Netcat server options (-l)" |
647 | bool "Netcat server options (-l)" |
|
690 | default BUSYBOX_DEFAULT_NC_SERVER |
648 | default BUSYBOX_DEFAULT_NC_SERVER |
|
691 | depends on BUSYBOX_CONFIG_NC || BUSYBOX_CONFIG_NETCAT |
649 | depends on BUSYBOX_CONFIG_NC |
|
Line 692... | Line 650... | |||
692 | help |
650 | help |
|
693 | Allow netcat to act as a server. |
651 | Allow netcat to act as a server. |
|
694 | |
652 | |
|
695 | config BUSYBOX_CONFIG_NC_EXTRA |
653 | config BUSYBOX_CONFIG_NC_EXTRA |
|
696 | bool "Netcat extensions (-eiw and -f FILE)" |
654 | bool "Netcat extensions (-eiw and -f FILE)" |
|
697 | default BUSYBOX_DEFAULT_NC_EXTRA |
655 | default BUSYBOX_DEFAULT_NC_EXTRA |
|
698 | depends on BUSYBOX_CONFIG_NC || BUSYBOX_CONFIG_NETCAT |
656 | depends on BUSYBOX_CONFIG_NC |
|
699 | help |
657 | help |
|
Line 700... | Line 658... | |||
700 | Add -e (support for executing the rest of the command line after |
658 | Add -e (support for executing the rest of the command line after |
|
701 | making or receiving a successful connection), -i (delay interval for |
659 | making or receiving a successful connection), -i (delay interval for |
|
702 | lines sent), -w (timeout for initial connection). |
660 | lines sent), -w (timeout for initial connection). |
|
703 | |
661 | |
|
704 | config BUSYBOX_CONFIG_NC_110_COMPAT |
662 | config BUSYBOX_CONFIG_NC_110_COMPAT |
|
705 | bool "Netcat 1.10 compatibility (+2.5k)" |
663 | bool "Netcat 1.10 compatibility (+2.5k)" |
|
706 | default BUSYBOX_DEFAULT_NC_110_COMPAT |
664 | default BUSYBOX_DEFAULT_NC_110_COMPAT # off specially for Rob |
|
707 | depends on BUSYBOX_CONFIG_NC || BUSYBOX_CONFIG_NETCAT |
665 | depends on BUSYBOX_CONFIG_NC |
|
708 | help |
666 | help |
|
709 | This option makes nc closely follow original nc-1.10. |
667 | This option makes nc closely follow original nc-1.10. |
|
710 | The code is about 2.5k bigger. It enables |
668 | The code is about 2.5k bigger. It enables |
|
711 | -s ADDR, -n, -u, -v, -o FILE, -z options, but loses |
669 | -s ADDR, -n, -u, -v, -o FILE, -z options, but loses |
|
712 | busybox-specific extensions: -f FILE. |
670 | busybox-specific extensions: -f FILE. |
|
713 | config BUSYBOX_CONFIG_NETMSG |
671 | config BUSYBOX_CONFIG_NETMSG |
|
714 | bool "netmsg" |
672 | bool "netmsg" |
|
715 | default BUSYBOX_DEFAULT_NETMSG |
673 | default BUSYBOX_DEFAULT_NETMSG |
|
716 | help |
674 | help |
|
717 | simple program for sending udp broadcast messages |
675 | simple program for sending udp broadcast messages |
|
718 | config BUSYBOX_CONFIG_NETSTAT |
676 | config BUSYBOX_CONFIG_NETSTAT |
|
719 | bool "netstat (10 kb)" |
677 | bool "netstat" |
|
Line 720... | Line 678... | |||
720 | default BUSYBOX_DEFAULT_NETSTAT |
678 | default BUSYBOX_DEFAULT_NETSTAT |
|
721 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
679 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
|
722 | help |
680 | help |
|
723 | netstat prints information about the Linux networking subsystem. |
681 | netstat prints information about the Linux networking subsystem. |
|
724 | |
682 | |
|
725 | config BUSYBOX_CONFIG_FEATURE_NETSTAT_WIDE |
683 | config BUSYBOX_CONFIG_FEATURE_NETSTAT_WIDE |
|
726 | bool "Enable wide output" |
684 | bool "Enable wide output" |
|
Line 727... | Line 685... | |||
727 | default BUSYBOX_DEFAULT_FEATURE_NETSTAT_WIDE |
685 | default BUSYBOX_DEFAULT_FEATURE_NETSTAT_WIDE |
|
728 | depends on BUSYBOX_CONFIG_NETSTAT |
686 | depends on BUSYBOX_CONFIG_NETSTAT |
|
729 | help |
687 | help |
|
730 | Add support for wide columns. Useful when displaying IPv6 addresses |
688 | Add support for wide columns. Useful when displaying IPv6 addresses |
|
731 | (-W option). |
689 | (-W option). |
|
732 | |
690 | |
|
733 | config BUSYBOX_CONFIG_FEATURE_NETSTAT_PRG |
691 | config BUSYBOX_CONFIG_FEATURE_NETSTAT_PRG |
|
734 | bool "Enable PID/Program name output" |
692 | bool "Enable PID/Program name output" |
|
735 | default BUSYBOX_DEFAULT_FEATURE_NETSTAT_PRG |
693 | default BUSYBOX_DEFAULT_FEATURE_NETSTAT_PRG |
|
736 | depends on BUSYBOX_CONFIG_NETSTAT |
694 | depends on BUSYBOX_CONFIG_NETSTAT |
|
737 | help |
695 | help |
|
738 | Add support for -p flag to print out PID and program name. |
696 | Add support for -p flag to print out PID and program name. |
|
739 | +700 bytes of code. |
- | ||
740 | config BUSYBOX_CONFIG_NSLOOKUP |
- | ||
741 | bool "nslookup (9.7 kb)" |
- | ||
742 | default BUSYBOX_DEFAULT_NSLOOKUP |
- | ||
743 | help |
- | ||
744 | nslookup is a tool to query Internet name servers. |
- | ||
745 | |
- | ||
746 | config BUSYBOX_CONFIG_FEATURE_NSLOOKUP_BIG |
- | ||
747 | bool "Use internal resolver code instead of libc" |
- | ||
748 | depends on BUSYBOX_CONFIG_NSLOOKUP |
- | ||
749 | default BUSYBOX_DEFAULT_FEATURE_NSLOOKUP_BIG |
697 | +700 bytes of code. |
|
750 | |
698 | config BUSYBOX_CONFIG_NSLOOKUP |
|
751 | config BUSYBOX_CONFIG_FEATURE_NSLOOKUP_LONG_OPTIONS |
699 | bool "nslookup" |
|
752 | bool "Enable long options" |
700 | default BUSYBOX_DEFAULT_NSLOOKUP |
|
753 | default BUSYBOX_DEFAULT_FEATURE_NSLOOKUP_LONG_OPTIONS |
701 | help |
|
754 | depends on BUSYBOX_CONFIG_FEATURE_NSLOOKUP_BIG && BUSYBOX_CONFIG_LONG_OPTS |
702 | nslookup is a tool to query Internet name servers. |
|
Line 755... | Line 703... | |||
755 | config BUSYBOX_CONFIG_NSLOOKUP_OPENWRT |
703 | config BUSYBOX_CONFIG_NSLOOKUP_OPENWRT |
|
756 | bool "nslookup_openwrt" |
704 | bool "nslookup_lede" |
|
757 | depends on !BUSYBOX_CONFIG_NSLOOKUP |
705 | depends on !BUSYBOX_CONFIG_NSLOOKUP |
|
758 | default BUSYBOX_DEFAULT_NSLOOKUP_OPENWRT |
706 | default BUSYBOX_DEFAULT_NSLOOKUP_OPENWRT |
|
759 | help |
707 | help |
|
760 | nslookup is a tool to query Internet name servers (LEDE flavor). |
708 | nslookup is a tool to query Internet name servers (OpenWrt flavor). |
|
761 | |
709 | |
|
762 | config BUSYBOX_CONFIG_FEATURE_NSLOOKUP_OPENWRT_LONG_OPTIONS |
710 | config BUSYBOX_CONFIG_FEATURE_NSLOOKUP_OPENWRT_LONG_OPTIONS |
|
763 | bool "Enable long options" |
711 | bool "Enable long options" |
|
764 | default BUSYBOX_DEFAULT_FEATURE_NSLOOKUP_OPENWRT_LONG_OPTIONS |
712 | default BUSYBOX_DEFAULT_FEATURE_NSLOOKUP_OPENWRT_LONG_OPTIONS |
|
765 | depends on BUSYBOX_CONFIG_NSLOOKUP_OPENWRT && BUSYBOX_CONFIG_LONG_OPTS |
713 | depends on BUSYBOX_CONFIG_NSLOOKUP_OPENWRT && BUSYBOX_CONFIG_LONG_OPTS |
|
766 | help |
714 | help |
|
Line 767... | Line 715... | |||
767 | Support long options for the nslookup applet. |
715 | Support long options for the nslookup applet. |
|
768 | config BUSYBOX_CONFIG_NTPD |
716 | config BUSYBOX_CONFIG_NTPD |
|
769 | bool "ntpd (22 kb)" |
717 | bool "ntpd" |
|
770 | default BUSYBOX_DEFAULT_NTPD |
718 | default BUSYBOX_DEFAULT_NTPD |
|
771 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
719 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
|
772 | help |
720 | help |
|
773 | The NTP client/server daemon. |
721 | The NTP client/server daemon. |
|
Line 774... | Line 722... | |||
774 | |
722 | |
|
775 | config BUSYBOX_CONFIG_FEATURE_NTPD_SERVER |
723 | config BUSYBOX_CONFIG_FEATURE_NTPD_SERVER |
|
776 | bool "Make ntpd usable as a NTP server" |
724 | bool "Make ntpd usable as a NTP server" |
|
777 | default BUSYBOX_DEFAULT_FEATURE_NTPD_SERVER |
725 | default BUSYBOX_DEFAULT_FEATURE_NTPD_SERVER |
|
778 | depends on BUSYBOX_CONFIG_NTPD |
726 | depends on BUSYBOX_CONFIG_NTPD |
|
779 | help |
727 | help |
|
780 | Make ntpd usable as a NTP server. If you disable this option |
728 | Make ntpd usable as a NTP server. If you disable this option |
|
781 | ntpd will be usable only as a NTP client. |
- | ||
782 | |
- | ||
783 | config BUSYBOX_CONFIG_FEATURE_NTPD_CONF |
- | ||
784 | bool "Make ntpd understand /etc/ntp.conf" |
- | ||
785 | default BUSYBOX_DEFAULT_FEATURE_NTPD_CONF |
- | ||
786 | depends on BUSYBOX_CONFIG_NTPD |
729 | ntpd will be usable only as a NTP client. |
|
787 | help |
730 | |
|
788 | Make ntpd look in /etc/ntp.conf for peers. Only "server address" |
731 | config BUSYBOX_CONFIG_FEATURE_NTPD_CONF |
|
789 | is supported. |
732 | bool "Make ntpd understand /etc/ntp.conf" |
|
790 | |
733 | default BUSYBOX_DEFAULT_FEATURE_NTPD_CONF |
|
791 | config BUSYBOX_CONFIG_FEATURE_NTP_AUTH |
734 | depends on BUSYBOX_CONFIG_NTPD |
|
792 | bool "Support md5/sha1 message authentication codes" |
735 | help |
|
Line 793... | Line 736... | |||
793 | default BUSYBOX_DEFAULT_FEATURE_NTP_AUTH |
736 | Make ntpd look in /etc/ntp.conf for peers. Only "server address" |
|
794 | depends on BUSYBOX_CONFIG_NTPD |
737 | is supported. |
|
795 | config BUSYBOX_CONFIG_PING |
738 | config BUSYBOX_CONFIG_PING |
|
796 | bool "ping (10 kb)" |
739 | bool "ping" |
|
797 | default BUSYBOX_DEFAULT_PING |
740 | default BUSYBOX_DEFAULT_PING |
|
798 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
741 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
|
Line 799... | Line 742... | |||
799 | help |
742 | help |
|
800 | ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to |
743 | ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to |
|
801 | elicit an ICMP ECHO_RESPONSE from a host or gateway. |
744 | elicit an ICMP ECHO_RESPONSE from a host or gateway. |
|
802 | |
745 | |
|
803 | config BUSYBOX_CONFIG_PING6 |
746 | config BUSYBOX_CONFIG_PING6 |
|
804 | bool "ping6 (11 kb)" |
747 | bool "ping6" |
|
805 | default BUSYBOX_DEFAULT_PING6 |
748 | default BUSYBOX_DEFAULT_PING6 |
|
806 | depends on BUSYBOX_CONFIG_FEATURE_IPV6 |
- | ||
807 | help |
749 | depends on BUSYBOX_CONFIG_FEATURE_IPV6 |
|
808 | Alias to "ping -6". |
750 | help |
|
809 | |
751 | This will give you a ping that can talk IPv6. |
|
810 | config BUSYBOX_CONFIG_FEATURE_FANCY_PING |
752 | |
|
811 | bool "Enable fancy ping output" |
753 | config BUSYBOX_CONFIG_FEATURE_FANCY_PING |
|
812 | default BUSYBOX_DEFAULT_FEATURE_FANCY_PING |
754 | bool "Enable fancy ping output" |
|
813 | depends on BUSYBOX_CONFIG_PING || BUSYBOX_CONFIG_PING6 |
755 | default BUSYBOX_DEFAULT_FEATURE_FANCY_PING |
|
814 | help |
756 | depends on BUSYBOX_CONFIG_PING || BUSYBOX_CONFIG_PING6 |
|
815 | With this option off, ping will say "HOST is alive!" |
757 | help |
|
816 | or terminate with SIGALRM in 5 seconds otherwise. |
758 | Make the output from the ping applet include statistics, and at the |
|
817 | No command-line options will be recognized. |
759 | same time provide full support for ICMP packets. |
|
818 | config BUSYBOX_CONFIG_PSCAN |
760 | config BUSYBOX_CONFIG_PSCAN |
|
819 | bool "pscan (6 kb)" |
761 | bool "pscan" |
|
820 | default BUSYBOX_DEFAULT_PSCAN |
762 | default BUSYBOX_DEFAULT_PSCAN |
|
821 | help |
763 | help |
|
822 | Simple network port scanner. |
764 | Simple network port scanner. |
|
823 | config BUSYBOX_CONFIG_ROUTE |
765 | config BUSYBOX_CONFIG_ROUTE |
|
- | 766 | bool "route" |
||
824 | bool "route (8.7 kb)" |
767 | default BUSYBOX_DEFAULT_ROUTE |
|
825 | default BUSYBOX_DEFAULT_ROUTE |
768 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
|
826 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
769 | help |
|
827 | help |
770 | Route displays or manipulates the kernel's IP routing tables. |
|
828 | Route displays or manipulates the kernel's IP routing tables. |
771 | config BUSYBOX_CONFIG_SLATTACH |
|
829 | config BUSYBOX_CONFIG_SLATTACH |
772 | bool "slattach" |
|
830 | bool "slattach (6.2 kb)" |
- | ||
831 | default BUSYBOX_DEFAULT_SLATTACH |
- | ||
832 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
- | ||
833 | help |
- | ||
834 | slattach configures serial line as SLIP network interface. |
- | ||
835 | config BUSYBOX_CONFIG_SSL_CLIENT |
- | ||
836 | bool "ssl_client (25 kb)" |
- | ||
837 | default BUSYBOX_DEFAULT_SSL_CLIENT |
- | ||
838 | select BUSYBOX_CONFIG_TLS |
- | ||
839 | help |
- | ||
840 | This tool pipes data to/from a socket, TLS-encrypting it. |
773 | default BUSYBOX_DEFAULT_SLATTACH |
|
841 | config BUSYBOX_CONFIG_TC |
774 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
|
842 | bool "tc (8.3 kb)" |
775 | help |
|
843 | default BUSYBOX_DEFAULT_TC |
776 | slattach is a small utility to attach network interfaces to serial |
|
844 | help |
777 | lines. |
|
845 | Show / manipulate traffic control settings |
778 | config BUSYBOX_CONFIG_SSL_CLIENT |
|
Line 846... | Line 779... | |||
846 | |
779 | bool "ssl_client" |
|
847 | config BUSYBOX_CONFIG_FEATURE_TC_INGRESS |
780 | default BUSYBOX_DEFAULT_SSL_CLIENT |
|
848 | bool "Enable ingress" |
781 | select BUSYBOX_CONFIG_TLS |
|
849 | default BUSYBOX_DEFAULT_FEATURE_TC_INGRESS |
782 | help |
|
850 | depends on BUSYBOX_CONFIG_TC |
783 | This tool pipes data to/from a socket, TLS-encrypting it. |
|
851 | config BUSYBOX_CONFIG_TCPSVD |
784 | config BUSYBOX_CONFIG_TCPSVD |
|
852 | bool "tcpsvd (14 kb)" |
785 | bool "tcpsvd" |
|
853 | default BUSYBOX_DEFAULT_TCPSVD |
786 | default BUSYBOX_DEFAULT_TCPSVD |
|
854 | help |
787 | help |
|
855 | tcpsvd listens on a TCP port and runs a program for each new |
788 | tcpsvd listens on a TCP port and runs a program for each new |
|
856 | connection. |
789 | connection. |
|
857 | |
790 | |
|
Line 858... | Line 791... | |||
858 | config BUSYBOX_CONFIG_UDPSVD |
791 | config BUSYBOX_CONFIG_UDPSVD |
|
859 | bool "udpsvd (13 kb)" |
792 | bool "udpsvd" |
|
860 | default BUSYBOX_DEFAULT_UDPSVD |
793 | default BUSYBOX_DEFAULT_UDPSVD |
|
861 | help |
794 | help |
|
862 | udpsvd listens on an UDP port and runs a program for each new |
795 | udpsvd listens on an UDP port and runs a program for each new |
|
863 | connection. |
796 | connection. |
|
864 | config BUSYBOX_CONFIG_TELNET |
797 | config BUSYBOX_CONFIG_TELNET |
|
865 | bool "telnet (8.8 kb)" |
798 | bool "telnet" |
|
Line 866... | Line 799... | |||
866 | default BUSYBOX_DEFAULT_TELNET |
799 | default BUSYBOX_DEFAULT_TELNET |
|
867 | help |
800 | help |
|
868 | Telnet is an interface to the TELNET protocol, but is also commonly |
801 | Telnet is an interface to the TELNET protocol, but is also commonly |
|
869 | used to test other simple protocols. |
802 | used to test other simple protocols. |
|
870 | |
803 | |
|
871 | config BUSYBOX_CONFIG_FEATURE_TELNET_TTYPE |
804 | config BUSYBOX_CONFIG_FEATURE_TELNET_TTYPE |
|
872 | bool "Pass TERM type to remote host" |
805 | bool "Pass TERM type to remote host" |
|
873 | default BUSYBOX_DEFAULT_FEATURE_TELNET_TTYPE |
806 | default BUSYBOX_DEFAULT_FEATURE_TELNET_TTYPE |
|
874 | depends on BUSYBOX_CONFIG_TELNET |
807 | depends on BUSYBOX_CONFIG_TELNET |
|
Line 875... | Line 808... | |||
875 | help |
808 | help |
|
876 | Setting this option will forward the TERM environment variable to the |
809 | Setting this option will forward the TERM environment variable to the |
|
877 | remote host you are connecting to. This is useful to make sure that |
810 | remote host you are connecting to. This is useful to make sure that |
|
878 | things like ANSI colors and other control sequences behave. |
811 | things like ANSI colors and other control sequences behave. |
|
879 | |
812 | |
|
880 | config BUSYBOX_CONFIG_FEATURE_TELNET_AUTOLOGIN |
813 | config BUSYBOX_CONFIG_FEATURE_TELNET_AUTOLOGIN |
|
881 | bool "Pass USER type to remote host" |
814 | bool "Pass USER type to remote host" |
|
882 | default BUSYBOX_DEFAULT_FEATURE_TELNET_AUTOLOGIN |
815 | default BUSYBOX_DEFAULT_FEATURE_TELNET_AUTOLOGIN |
|
883 | depends on BUSYBOX_CONFIG_TELNET |
816 | depends on BUSYBOX_CONFIG_TELNET |
|
884 | help |
817 | help |
|
885 | Setting this option will forward the USER environment variable to the |
818 | Setting this option will forward the USER environment variable to the |
|
886 | remote host you are connecting to. This is useful when you need to |
819 | remote host you are connecting to. This is useful when you need to |
|
887 | log into a machine without telling the username (autologin). This |
820 | log into a machine without telling the username (autologin). This |
|
888 | option enables '-a' and '-l USER' options. |
821 | option enables `-a' and `-l USER' arguments. |
|
889 | |
822 | |
|
890 | config BUSYBOX_CONFIG_FEATURE_TELNET_WIDTH |
823 | config BUSYBOX_CONFIG_FEATURE_TELNET_WIDTH |
|
Line 891... | Line 824... | |||
891 | bool "Enable window size autodetection" |
824 | bool "Enable window size autodetection" |
|
892 | default BUSYBOX_DEFAULT_FEATURE_TELNET_WIDTH |
825 | default BUSYBOX_DEFAULT_FEATURE_TELNET_WIDTH |
|
893 | depends on BUSYBOX_CONFIG_TELNET |
826 | depends on BUSYBOX_CONFIG_TELNET |
|
Line 894... | Line 827... | |||
894 | config BUSYBOX_CONFIG_TELNETD |
827 | config BUSYBOX_CONFIG_TELNETD |
|
Line 895... | Line 828... | |||
895 | bool "telnetd (12 kb)" |
828 | bool "telnetd" |
|
896 | default BUSYBOX_DEFAULT_TELNETD |
829 | default BUSYBOX_DEFAULT_TELNETD |
|
Line 897... | Line 830... | |||
897 | select BUSYBOX_CONFIG_FEATURE_SYSLOG |
830 | select BUSYBOX_CONFIG_FEATURE_SYSLOG |
|
Line 898... | Line 831... | |||
898 | help |
831 | help |
|
899 | A daemon for the TELNET protocol, allowing you to log onto the host |
832 | A daemon for the TELNET protocol, allowing you to log onto the host |
|
Line 900... | Line 833... | |||
900 | running the daemon. Please keep in mind that the TELNET protocol |
833 | running the daemon. Please keep in mind that the TELNET protocol |
|
901 | sends passwords in plain text. If you can't afford the space for an |
834 | sends passwords in plain text. If you can't afford the space for an |
|
Line 902... | Line 835... | |||
902 | SSH daemon and you trust your network, you may say 'y' here. As a |
835 | SSH daemon and you trust your network, you may say 'y' here. As a |
|
Line 903... | Line 836... | |||
903 | more secure alternative, you should seriously consider installing the |
836 | more secure alternative, you should seriously consider installing the |
|
904 | very small Dropbear SSH daemon instead: |
837 | very small Dropbear SSH daemon instead: |
|
905 | http://matt.ucc.asn.au/dropbear/dropbear.html |
838 | http://matt.ucc.asn.au/dropbear/dropbear.html |
|
Line 906... | Line 839... | |||
906 | |
839 | |
|
907 | Note that for busybox telnetd to work you need several things: |
840 | Note that for busybox telnetd to work you need several things: |
|
Line 908... | Line 841... | |||
908 | First of all, your kernel needs: |
841 | First of all, your kernel needs: |
|
Line 909... | Line 842... | |||
909 | CONFIG_UNIX98_PTYS=y |
842 | CONFIG_UNIX98_PTYS=y |
|
910 | |
843 | |
|
911 | Next, you need a /dev/pts directory on your root filesystem: |
844 | Next, you need a /dev/pts directory on your root filesystem: |
|
912 | |
845 | |
|
913 | $ ls -ld /dev/pts |
846 | $ ls -ld /dev/pts |
|
914 | drwxr-xr-x 2 root root 0 Sep 23 13:21 /dev/pts/ |
847 | drwxr-xr-x 2 root root 0 Sep 23 13:21 /dev/pts/ |
|
Line 915... | Line 848... | |||
915 | |
848 | |
|
916 | Next you need the pseudo terminal master multiplexer /dev/ptmx: |
849 | Next you need the pseudo terminal master multiplexer /dev/ptmx: |
|
917 | |
850 | |
|
918 | $ ls -la /dev/ptmx |
851 | $ ls -la /dev/ptmx |
|
919 | crw-rw-rw- 1 root tty 5, 2 Sep 23 13:55 /dev/ptmx |
852 | crw-rw-rw- 1 root tty 5, 2 Sep 23 13:55 /dev/ptmx |
|
920 | |
853 | |
|
921 | Any /dev/ttyp[0-9]* files you may have can be removed. |
854 | Any /dev/ttyp[0-9]* files you may have can be removed. |
|
Line 922... | Line 855... | |||
922 | Next, you need to mount the devpts filesystem on /dev/pts using: |
855 | Next, you need to mount the devpts filesystem on /dev/pts using: |
|
Line 923... | Line 856... | |||
923 | |
856 | |
|
924 | mount -t devpts devpts /dev/pts |
857 | mount -t devpts devpts /dev/pts |
|
925 | |
858 | |
|
926 | You need to be sure that busybox has LOGIN and |
859 | You need to be sure that busybox has LOGIN and |
|
927 | FEATURE_SUID enabled. And finally, you should make |
860 | FEATURE_SUID enabled. And finally, you should make |
|
928 | certain that busybox has been installed setuid root: |
861 | certain that Busybox has been installed setuid root: |
|
929 | |
862 | |
|
930 | chown root.root /bin/busybox |
863 | chown root.root /bin/busybox |
|
931 | chmod 4755 /bin/busybox |
864 | chmod 4755 /bin/busybox |
|
932 | |
865 | |
|
933 | with all that done, telnetd _should_ work.... |
866 | with all that done, telnetd _should_ work.... |
|
934 | |
867 | |
|
935 | config BUSYBOX_CONFIG_FEATURE_TELNETD_STANDALONE |
868 | config BUSYBOX_CONFIG_FEATURE_TELNETD_STANDALONE |
|
936 | bool "Support standalone telnetd (not inetd only)" |
869 | bool "Support standalone telnetd (not inetd only)" |
|
937 | default BUSYBOX_DEFAULT_FEATURE_TELNETD_STANDALONE |
870 | default BUSYBOX_DEFAULT_FEATURE_TELNETD_STANDALONE |
|
938 | depends on BUSYBOX_CONFIG_TELNETD |
871 | depends on BUSYBOX_CONFIG_TELNETD |
|
939 | help |
872 | help |
|
940 | Selecting this will make telnetd able to run standalone. |
- | ||
941 | |
- | ||
942 | config BUSYBOX_CONFIG_FEATURE_TELNETD_INETD_WAIT |
- | ||
943 | bool "Support -w SEC option (inetd wait mode)" |
- | ||
944 | default BUSYBOX_DEFAULT_FEATURE_TELNETD_INETD_WAIT |
- | ||
Line 945... | Line 873... | |||
945 | depends on BUSYBOX_CONFIG_FEATURE_TELNETD_STANDALONE |
873 | Selecting this will make telnetd able to run standalone. |
|
946 | help |
874 | |
|
947 | This option allows you to run telnetd in "inet wait" mode. |
875 | config BUSYBOX_CONFIG_FEATURE_TELNETD_INETD_WAIT |
|
948 | Example inetd.conf line (note "wait", not usual "nowait"): |
876 | bool "Support -w SEC option (inetd wait mode)" |
|
949 | |
877 | default BUSYBOX_DEFAULT_FEATURE_TELNETD_INETD_WAIT |
|
950 | telnet stream tcp wait root /bin/telnetd telnetd -w10 |
878 | depends on BUSYBOX_CONFIG_FEATURE_TELNETD_STANDALONE |
|
951 | |
879 | help |
|
952 | In this example, inetd passes _listening_ socket_ as fd 0 |
880 | This option allows you to run telnetd in "inet wait" mode. |
|
953 | to telnetd when connection appears. |
881 | Example inetd.conf line (note "wait", not usual "nowait"): |
|
- | 882 | |
||
- | 883 | telnet stream tcp wait root /bin/telnetd telnetd -w10 |
||
- | 884 | |
||
Line 954... | Line 885... | |||
954 | telnetd will wait for connections until all existing |
885 | In this example, inetd passes _listening_ socket_ as fd 0 |
|
955 | connections are closed, and no new connections |
886 | to telnetd when connection appears. |
|
956 | appear during 10 seconds. Then it exits, and inetd continues |
887 | telnetd will wait for connections until all existing |
|
957 | to listen for new connections. |
888 | connections are closed, and no new connections |
|
958 | |
889 | appear during 10 seconds. Then it exits, and inetd continues |
|
959 | This option is rarely used. "tcp nowait" is much more usual |
890 | to listen for new connections. |
|
960 | way of running tcp services, including telnetd. |
891 | |
|
961 | You most probably want to say N here. |
892 | This option is rarely used. "tcp nowait" is much more usual |
|
Line 962... | Line 893... | |||
962 | config BUSYBOX_CONFIG_TFTP |
893 | way of running tcp services, including telnetd. |
|
963 | bool "tftp (11 kb)" |
894 | You most probably want to say N here. |
|
Line 964... | Line 895... | |||
964 | default BUSYBOX_DEFAULT_TFTP |
895 | config BUSYBOX_CONFIG_TFTP |
|
965 | help |
896 | bool "tftp" |
|
966 | Trivial File Transfer Protocol client. TFTP is usually used |
897 | default BUSYBOX_DEFAULT_TFTP |
|
967 | for simple, small transfers such as a root image |
898 | help |
|
968 | for a network-enabled bootloader. |
899 | This enables the Trivial File Transfer Protocol client program. TFTP |
|
969 | |
900 | is usually used for simple, small transfers such as a root image |
|
970 | config BUSYBOX_CONFIG_FEATURE_TFTP_PROGRESS_BAR |
901 | for a network-enabled bootloader. |
|
971 | bool "Enable progress bar" |
902 | |
|
Line 972... | Line 903... | |||
972 | default BUSYBOX_DEFAULT_FEATURE_TFTP_PROGRESS_BAR |
903 | config BUSYBOX_CONFIG_TFTPD |
|
973 | depends on BUSYBOX_CONFIG_TFTP |
904 | bool "tftpd" |
|
974 | |
905 | default BUSYBOX_DEFAULT_TFTPD |
|
975 | config BUSYBOX_CONFIG_TFTPD |
906 | help |
|
976 | bool "tftpd (10 kb)" |
907 | This enables the Trivial File Transfer Protocol server program. |
|
977 | default BUSYBOX_DEFAULT_TFTPD |
908 | It expects that stdin is a datagram socket and a packet |
|
978 | help |
909 | is already pending on it. It will exit after one transfer. |
|
- | 910 | In other words: it should be run from inetd in nowait mode, |
||
- | 911 | or from udpsvd. Example: "udpsvd -E 0 69 tftpd DIR" |
||
- | 912 | |
||
- | 913 | comment "Common options for tftp/tftpd" |
||
- | 914 | depends on BUSYBOX_CONFIG_TFTP || BUSYBOX_CONFIG_TFTPD |
||
Line 979... | Line 915... | |||
979 | Trivial File Transfer Protocol server. |
915 | |
|
980 | It expects that stdin is a datagram socket and a packet |
916 | config BUSYBOX_CONFIG_FEATURE_TFTP_GET |
|
981 | is already pending on it. It will exit after one transfer. |
917 | bool "Enable 'tftp get' and/or tftpd upload code" |
|
982 | In other words: it should be run from inetd in nowait mode, |
918 | default BUSYBOX_DEFAULT_FEATURE_TFTP_GET |
|
983 | or from udpsvd. Example: "udpsvd -E 0 69 tftpd DIR" |
919 | depends on BUSYBOX_CONFIG_TFTP || BUSYBOX_CONFIG_TFTPD |
|
984 | |
920 | help |
|
985 | config BUSYBOX_CONFIG_FEATURE_TFTP_GET |
921 | Add support for the GET command within the TFTP client. This allows |
|
986 | bool "Enable 'tftp get' and/or tftpd upload code" |
922 | a client to retrieve a file from a TFTP server. |
|
987 | default BUSYBOX_DEFAULT_FEATURE_TFTP_GET |
923 | Also enable upload support in tftpd, if tftpd is selected. |
|
988 | depends on BUSYBOX_CONFIG_TFTP || BUSYBOX_CONFIG_TFTPD |
924 | |
|
989 | help |
925 | Note: this option does _not_ make tftpd capable of download |
|
990 | Add support for the GET command within the TFTP client. This allows |
926 | (the usual operation people need from it)! |
|
991 | a client to retrieve a file from a TFTP server. |
927 | |
|
992 | Also enable upload support in tftpd, if tftpd is selected. |
928 | config BUSYBOX_CONFIG_FEATURE_TFTP_PUT |
|
993 | |
929 | bool "Enable 'tftp put' and/or tftpd download code" |
|
994 | Note: this option does _not_ make tftpd capable of download |
930 | default BUSYBOX_DEFAULT_FEATURE_TFTP_PUT |
|
Line 995... | Line 931... | |||
995 | (the usual operation people need from it)! |
931 | depends on BUSYBOX_CONFIG_TFTP || BUSYBOX_CONFIG_TFTPD |
|
996 | |
932 | help |
|
997 | config BUSYBOX_CONFIG_FEATURE_TFTP_PUT |
933 | Add support for the PUT command within the TFTP client. This allows |
|
998 | bool "Enable 'tftp put' and/or tftpd download code" |
934 | a client to transfer a file to a TFTP server. |
|
999 | default BUSYBOX_DEFAULT_FEATURE_TFTP_PUT |
935 | Also enable download support in tftpd, if tftpd is selected. |
|
1000 | depends on BUSYBOX_CONFIG_TFTP || BUSYBOX_CONFIG_TFTPD |
936 | |
|
Line 1001... | Line 937... | |||
1001 | help |
937 | config BUSYBOX_CONFIG_FEATURE_TFTP_BLOCKSIZE |
|
1002 | Add support for the PUT command within the TFTP client. This allows |
938 | bool "Enable 'blksize' and 'tsize' protocol options" |
|
1003 | a client to transfer a file to a TFTP server. |
939 | default BUSYBOX_DEFAULT_FEATURE_TFTP_BLOCKSIZE |
|
1004 | Also enable download support in tftpd, if tftpd is selected. |
940 | depends on BUSYBOX_CONFIG_TFTP || BUSYBOX_CONFIG_TFTPD |
|
1005 | |
941 | help |
|
1006 | config BUSYBOX_CONFIG_FEATURE_TFTP_BLOCKSIZE |
942 | Allow tftp to specify block size, and tftpd to understand |
|
1007 | bool "Enable 'blksize' and 'tsize' protocol options" |
943 | "blksize" and "tsize" options. |
|
Line 1008... | Line 944... | |||
1008 | default BUSYBOX_DEFAULT_FEATURE_TFTP_BLOCKSIZE |
944 | |
|
1009 | depends on BUSYBOX_CONFIG_TFTP || BUSYBOX_CONFIG_TFTPD |
945 | config BUSYBOX_CONFIG_FEATURE_TFTP_PROGRESS_BAR |
|
1010 | help |
946 | bool "Enable progress bar" |
|
1011 | Allow tftp to specify block size, and tftpd to understand |
947 | default BUSYBOX_DEFAULT_FEATURE_TFTP_PROGRESS_BAR |
|
1012 | "blksize" and "tsize" options. |
948 | depends on BUSYBOX_CONFIG_TFTP && BUSYBOX_CONFIG_FEATURE_TFTP_BLOCKSIZE |
|
1013 | |
949 | |
|
1014 | config BUSYBOX_CONFIG_TFTP_DEBUG |
950 | config BUSYBOX_CONFIG_TFTP_DEBUG |
|
1015 | bool "Enable debug" |
951 | bool "Enable debug" |
|
1016 | default BUSYBOX_DEFAULT_TFTP_DEBUG |
952 | default BUSYBOX_DEFAULT_TFTP_DEBUG |
|
1017 | depends on BUSYBOX_CONFIG_TFTP || BUSYBOX_CONFIG_TFTPD |
953 | depends on BUSYBOX_CONFIG_TFTP || BUSYBOX_CONFIG_TFTPD |
|
Line 1018... | Line 954... | |||
1018 | help |
954 | help |
|
1019 | Make tftp[d] print debugging messages on stderr. |
955 | Make tftp[d] print debugging messages on stderr. |
|
1020 | This is useful if you are diagnosing a bug in tftp[d]. |
956 | This is useful if you are diagnosing a bug in tftp[d]. |
|
1021 | config BUSYBOX_CONFIG_TLS |
957 | config BUSYBOX_CONFIG_TLS |
|
1022 | bool #No description makes it a hidden option |
958 | bool #No description makes it a hidden option |
|
1023 | default BUSYBOX_DEFAULT_TLS |
959 | default BUSYBOX_DEFAULT_TLS |
|
1024 | config BUSYBOX_CONFIG_TRACEROUTE |
960 | config BUSYBOX_CONFIG_TRACEROUTE |
|
1025 | bool "traceroute (11 kb)" |
961 | bool "traceroute" |
|
1026 | default BUSYBOX_DEFAULT_TRACEROUTE |
962 | default BUSYBOX_DEFAULT_TRACEROUTE |
|
1027 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
963 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
|
1028 | help |
964 | help |
|
1029 | Utility to trace the route of IP packets. |
965 | Utility to trace the route of IP packets. |
|
1030 | |
966 | |
|
1031 | config BUSYBOX_CONFIG_TRACEROUTE6 |
967 | config BUSYBOX_CONFIG_TRACEROUTE6 |
|
1032 | bool "traceroute6 (13 kb)" |
968 | bool "traceroute6" |
|
1033 | default BUSYBOX_DEFAULT_TRACEROUTE6 |
969 | default BUSYBOX_DEFAULT_TRACEROUTE6 |
|
1034 | depends on BUSYBOX_CONFIG_FEATURE_IPV6 |
970 | depends on BUSYBOX_CONFIG_FEATURE_IPV6 |
|
1035 | help |
971 | help |
|
1036 | Utility to trace the route of IPv6 packets. |
972 | Utility to trace the route of IPv6 packets. |
|
Line 1037... | Line 973... | |||
1037 | |
973 | |
|
1038 | config BUSYBOX_CONFIG_FEATURE_TRACEROUTE_VERBOSE |
974 | config BUSYBOX_CONFIG_FEATURE_TRACEROUTE_VERBOSE |
|
1039 | bool "Enable verbose output" |
975 | bool "Enable verbose output" |
|
1040 | default BUSYBOX_DEFAULT_FEATURE_TRACEROUTE_VERBOSE |
976 | default BUSYBOX_DEFAULT_FEATURE_TRACEROUTE_VERBOSE |
|
Line 1087... | Line 1023... | |||
1087 | config BUSYBOX_CONFIG_FEATURE_WGET_AUTHENTICATION |
1023 | config BUSYBOX_CONFIG_FEATURE_WGET_AUTHENTICATION |
|
1088 | bool "Enable HTTP authentication" |
1024 | bool "Enable HTTP authentication" |
|
1089 | default BUSYBOX_DEFAULT_FEATURE_WGET_AUTHENTICATION |
1025 | default BUSYBOX_DEFAULT_FEATURE_WGET_AUTHENTICATION |
|
1090 | depends on BUSYBOX_CONFIG_WGET |
1026 | depends on BUSYBOX_CONFIG_WGET |
|
1091 | help |
1027 | help |
|
1092 | Support authenticated HTTP transfers. |
1028 | Support authenticated HTTP transfers. |
|
Line 1093... | Line 1029... | |||
1093 | |
1029 | |
|
1094 | config BUSYBOX_CONFIG_FEATURE_WGET_TIMEOUT |
1030 | config BUSYBOX_CONFIG_FEATURE_WGET_TIMEOUT |
|
1095 | bool "Enable timeout option -T SEC" |
1031 | bool "Enable timeout option -T SEC" |
|
1096 | default BUSYBOX_DEFAULT_FEATURE_WGET_TIMEOUT |
1032 | default BUSYBOX_DEFAULT_FEATURE_WGET_TIMEOUT |
|
1097 | depends on BUSYBOX_CONFIG_WGET |
1033 | depends on BUSYBOX_CONFIG_WGET |
|
1098 | help |
1034 | help |
|
1099 | Supports network read and connect timeouts for wget, |
1035 | Supports network read and connect timeouts for wget, |
|
1100 | so that wget will give up and timeout, through the -T |
1036 | so that wget will give up and timeout, through the -T |
|
1101 | command line option. |
1037 | command line option. |
|
1102 | |
1038 | |
|
1103 | Currently only connect and network data read timeout are |
1039 | Currently only connect and network data read timeout are |
|
1104 | supported (i.e., timeout is not applied to the DNS query). When |
1040 | supported (i.e., timeout is not applied to the DNS query). When |
|
1105 | FEATURE_WGET_LONG_OPTIONS is also enabled, the --timeout option |
1041 | FEATURE_WGET_LONG_OPTIONS is also enabled, the --timeout option |
|
Line 1106... | Line 1042... | |||
1106 | will work in addition to -T. |
1042 | will work in addition to -T. |
|
1107 | |
1043 | |
|
1108 | config BUSYBOX_CONFIG_FEATURE_WGET_HTTPS |
1044 | config BUSYBOX_CONFIG_FEATURE_WGET_HTTPS |
|
1109 | bool "Support HTTPS using internal TLS code" |
1045 | bool "Support HTTPS using internal TLS code" |
|
1110 | default BUSYBOX_DEFAULT_FEATURE_WGET_HTTPS |
1046 | default BUSYBOX_DEFAULT_FEATURE_WGET_HTTPS |
|
1111 | depends on BUSYBOX_CONFIG_WGET |
1047 | depends on BUSYBOX_CONFIG_WGET |
|
1112 | select BUSYBOX_CONFIG_TLS |
1048 | select BUSYBOX_CONFIG_TLS |
|
1113 | help |
1049 | help |
|
1114 | wget will use internal TLS code to connect to https:// URLs. |
1050 | wget will use internal TLS code to connect to https:// URLs. |
|
1115 | Note: |
1051 | Note: |
|
1116 | On NOMMU machines, ssl_helper applet should be available |
1052 | On NOMMU machines, ssl_helper applet should be available |
|
1117 | in the $PATH for this to work. Make sure to select that applet. |
1053 | in the $PATH for this to work. Make sure to select that applet. |
|
1118 | |
1054 | |
|
1119 | Note: currently, TLS code only makes TLS I/O work, it |
1055 | Note: currently, TLS code only makes TLS I/O work, it |
|
1120 | does *not* check that the peer is who it claims to be, etc. |
1056 | does *not* check that the peer is who it claims to be, etc. |
|
1121 | IOW: it uses peer-supplied public keys to establish encryption |
1057 | IOW: it uses peer-supplied public keys to establish encryption |
|
1122 | and signing keys, then encrypts and signs outgoing data and |
1058 | and signing keys, then encrypts and signs outgoing data and |
|
1123 | decrypts incoming data. |
1059 | decrypts incoming data. |
|
1124 | It does not check signature hashes on the incoming data: |
1060 | It does not check signature hashes on the incoming data: |
|
1125 | this means that attackers manipulating TCP packets can |
1061 | this means that attackers manipulating TCP packets can |
|
1126 | send altered data and we unknowingly receive garbage. |
1062 | send altered data and we unknowingly receive garbage. |
|
1127 | (This check might be relatively easy to add). |
1063 | (This check might be relatively easy to add). |
|
1128 | It does not check public key's certificate: |
1064 | It does not check public key's certificate: |
|
1129 | this means that the peer may be an attacker impersonating |
1065 | this means that the peer may be an attacker impersonating |
|
1130 | the server we think we are talking to. |
1066 | the server we think we are talking to. |
|
1131 | |
1067 | |
|
1132 | If you think this is unacceptable, consider this. As more and more |
1068 | If you think this is unacceptable, consider this. As more and more |
|
1133 | servers switch to HTTPS-only operation, without such "crippled" |
1069 | servers switch to HTTPS-only operation, without such "crippled" |
|
1134 | TLS code it is *impossible* to simply download a kernel source |
1070 | TLS code it is *impossible* to simply download a kernel source |
|
1135 | from kernel.org. Which can in real world translate into |
1071 | from kernel.org. Which can in real world translate into |
|
1136 | "my small automatic tooling to build cross-compilers from sources |
1072 | "my small automatic tooling to build cross-compilers from sources |
|
1137 | no longer works, I need to additionally keep a local copy |
1073 | no longer works, I need to additionally keep a local copy |
|
1138 | of ~4 megabyte source tarball of a SSL library and ~2 megabyte |
1074 | of ~4 megabyte source tarball of a SSL library and ~2 megabyte |
|
1139 | source of wget, need to compile and built both before I can |
1075 | source of wget, need to compile and built both before I can |
|
1140 | download anything. All this despite the fact that the build |
1076 | download anything. All this despite the fact that the build |
|
1141 | is done in a QEMU sandbox on a machine with absolutely nothing |
1077 | is done in a QEMU sandbox on a machine with absolutely nothing |
|
1142 | worth stealing, so I don't care if someone would go to a lot |
1078 | worth stealing, so I don't care if someone would go to a lot |
|
1143 | of trouble to intercept my HTTPS download to send me an altered |
1079 | of trouble to intercept my HTTPS download to send me an altered |
|
1144 | kernel tarball". |
1080 | kernel tarball". |
|
1145 | |
1081 | |
|
1146 | If you still think this is unacceptable, send patches. |
1082 | If you still think this is unacceptable, send patches. |
|
1147 | |
1083 | |
|
1148 | If you still think this is unacceptable, do not want to send |
1084 | If you still think this is unacceptable, do not want to send |
|
Line 1149... | Line 1085... | |||
1149 | patches, but do want to waste bandwidth expaining how wrong |
1085 | patches, but do want to waste bandwidth expaining how wrong |
|
1150 | it is, you will be ignored. |
1086 | it is, you will be ignored. |
|
1151 | |
1087 | |
|
1152 | config BUSYBOX_CONFIG_FEATURE_WGET_OPENSSL |
1088 | config BUSYBOX_CONFIG_FEATURE_WGET_OPENSSL |
|
1153 | bool "Try to connect to HTTPS using openssl" |
1089 | bool "Try to connect to HTTPS using openssl" |
|
1154 | default BUSYBOX_DEFAULT_FEATURE_WGET_OPENSSL |
1090 | default BUSYBOX_DEFAULT_FEATURE_WGET_OPENSSL |
|
Line 1155... | Line 1091... | |||
1155 | depends on BUSYBOX_CONFIG_WGET |
1091 | depends on BUSYBOX_CONFIG_WGET |
|
1156 | help |
1092 | help |
|
1157 | Try to use openssl to handle HTTPS. |
1093 | Try to use openssl to handle HTTPS. |
|
1158 | |
1094 | |
|
1159 | OpenSSL has a simple SSL client for debug purposes. |
1095 | OpenSSL has a simple SSL client for debug purposes. |
|
1160 | If you select this option, wget will effectively run: |
1096 | If you select this option, wget will effectively run: |
|
1161 | "openssl s_client -quiet -connect hostname:443 |
1097 | "openssl s_client -quiet -connect hostname:443 |
|
1162 | -servername hostname 2>/dev/null" and pipe its data |
1098 | -servername hostname 2>/dev/null" and pipe its data |
|
1163 | through it. -servername is not used if hostname is numeric. |
1099 | through it. -servername is not used if hostname is numeric. |
|
1164 | Note inconvenient API: host resolution is done twice, |
1100 | Note inconvenient API: host resolution is done twice, |
|
1165 | and there is no guarantee openssl's idea of IPv6 address |
1101 | and there is no guarantee openssl's idea of IPv6 address |
|
1166 | format is the same as ours. |
1102 | format is the same as ours. |
|
1167 | Another problem is that s_client prints debug information |
1103 | Another problem is that s_client prints debug information |
|
1168 | to stderr, and it needs to be suppressed. This means |
1104 | to stderr, and it needs to be suppressed. This means |
|
1169 | all error messages get suppressed too. |
1105 | all error messages get suppressed too. |
|
1170 | openssl is also a big binary, often dynamically linked |
1106 | openssl is also a big binary, often dynamically linked |
|
1171 | against ~15 libraries. |
1107 | against ~15 libraries. |
|
1172 | |
1108 | |
|
1173 | If openssl can't be executed, internal TLS code will be used |
1109 | If openssl can't be executed, internal TLS code will be used |
|
1174 | (if you enabled it); if openssl can be executed but fails later, |
1110 | (if you enabled it); if openssl can be executed but fails later, |
|
1175 | wget can't detect this, and download will fail. |
1111 | wget can't detect this, and download will fail. |
|
1176 | config BUSYBOX_CONFIG_WHOIS |
1112 | config BUSYBOX_CONFIG_WHOIS |
|
1177 | bool "whois (6.3 kb)" |
1113 | bool "whois" |
|
1178 | default BUSYBOX_DEFAULT_WHOIS |
1114 | default BUSYBOX_DEFAULT_WHOIS |
|
1179 | help |
1115 | help |
|
1180 | whois is a client for the whois directory service |
1116 | whois is a client for the whois directory service |
|
1181 | config BUSYBOX_CONFIG_ZCIP |
1117 | config BUSYBOX_CONFIG_ZCIP |
|
1182 | bool "zcip (8.4 kb)" |
1118 | bool "zcip" |
|
1183 | default BUSYBOX_DEFAULT_ZCIP |
1119 | default BUSYBOX_DEFAULT_ZCIP |
|
1184 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
1120 | select BUSYBOX_CONFIG_PLATFORM_LINUX |
|
1185 | select BUSYBOX_CONFIG_FEATURE_SYSLOG |
1121 | select BUSYBOX_CONFIG_FEATURE_SYSLOG |
|
Line 1186... | Line 1122... | |||
1186 | help |
1122 | help |
|
1187 | ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927. |
1123 | ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927. |
|
Line 1188... | Line 1124... | |||
1188 | It's a daemon that allocates and defends a dynamically assigned |
1124 | It's a daemon that allocates and defends a dynamically assigned |
|
Line 1189... | Line 1125... | |||
1189 | address on the 169.254/16 network, requiring no system administrator. |
1125 | address on the 169.254/16 network, requiring no system administrator. |
|
1190 | |
1126 | |
|
1191 | See http://www.zeroconf.org for further details, and "zcip.script" |
1127 | See http://www.zeroconf.org for further details, and "zcip.script" |
|
1192 | in the busybox examples. |
1128 | in the busybox examples. |
|
1193 | |
1129 | |
|
1194 | source udhcp/Config.in |
1130 | source udhcp/Config.in |
|
1195 | |
1131 | |
|
1196 | config BUSYBOX_CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS |
1132 | config BUSYBOX_CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS |
|
Line 1197... | Line 1133... | |||
1197 | string "ifup udhcpc command line options" |
1133 | string "ifup udhcpc command line options" |