Denis Vlasenko
c8717cd857
telnetd: move generic stuff into libbb. It will make it easy
...
to make other server applets IPv6-aware too.
2006-11-22 16:10:39 +00:00
Denis Vlasenko
0801ef28ca
telnetd: if FEATURE_IPV6 is on, telnet will NOT work on IPv4
...
which is kind of stupid
2006-11-22 15:57:52 +00:00
Denis Vlasenko
75f8d080a2
telnetd: we were having telnetd with is ONLY inetd or ONLY standalone.
...
What if I need to have both?? This patch introduces
CONFIG_FEATURE_TELNETD_STANDALONE: y - both, n - only inetd.
2006-11-22 15:54:52 +00:00
Bernhard Reutner-Fischer
d6bbf99a8b
- reinstate "make checkhelp"
2006-11-22 09:39:48 +00:00
Denis Vlasenko
aad4999eea
#if HAVE_AFINET6 -> #ifdef HAVE_AFINET6
2006-11-22 02:12:07 +00:00
Denis Vlasenko
428f7ae6e2
httpd: comment on QUERY_STRING
2006-11-21 21:35:14 +00:00
Denis Vlasenko
8b45837b4c
httpd: add link to docs
2006-11-21 21:23:21 +00:00
Denis Vlasenko
5e618ff439
xgethostbyname: more readable
2006-11-21 20:35:22 +00:00
Denis Vlasenko
7ca3921e5e
bb_INET_default[] is really just a const "default",
...
nothing INET-specific
2006-11-21 20:34:21 +00:00
Denis Vlasenko
5096246ffb
ifconfig: looks like char host[128] is not really needed.
2006-11-21 20:32:38 +00:00
Denis Vlasenko
f8c8bb1160
wget: yet another contortion for proftpd's PASV response.
2006-11-21 19:10:26 +00:00
Bernhard Reutner-Fischer
921f5df25f
- add 'ip rule' support. First take..
...
text data bss dec hex filename
2999 0 0 2999 bb7 networking/libiproute/iprule.o
2006-11-21 15:36:08 +00:00
Denis Vlasenko
04b30ba3b8
ifconfig: preparatory patch, no code changes
2006-11-21 14:26:37 +00:00
Denis Vlasenko
3aa2d51cd6
insmod: set STRVERSIONLEN = 64, convert #ifdef CONFIG to #if ENABLE,
...
stop using CONFIG_ prefix for non-config-system variables
2006-11-21 14:12:53 +00:00
Denis Vlasenko
9229794ab3
insmod_ng_main: -80 bytes. Stopp mmapping, use xmalloc_open_read_close().
2006-11-21 11:58:14 +00:00
Bernhard Reutner-Fischer
a8381948da
- style fixes
2006-11-21 11:23:11 +00:00
Denis Vlasenko
1288722f3e
wget: add TODO
2006-11-21 11:15:58 +00:00
Denis Vlasenko
40f62a8c3d
wget: fix ftp PASV mode ("numeric" check was too strict)
2006-11-21 11:04:31 +00:00
Bernhard Reutner-Fischer
3e7ef7ead4
- update defconfig
2006-11-21 10:53:05 +00:00
Denis Vlasenko
9cade08917
wget: reduce likelihood of ETA overflow (especially with !LFS)
2006-11-21 10:43:02 +00:00
Denis Vlasenko
04291bc5ae
httpd: slight reduction of #ifdef forest
...
few other applets: #ifdef CONFIG_ -> #if ENABLE_
traceroute: fix exposed bugs
defconfig: update
2006-11-21 10:15:25 +00:00
Denis Vlasenko
3eb91c2e35
cpio: (allegedly) fix bug 0001095:
...
"cpio hardlink support and possible memory leak fix"
2006-11-21 00:55:46 +00:00
Denis Vlasenko
5d148e2646
httpd: fix cgi-bin/index.cgi support, add example of it,
...
stat: fix end-of-line if format is specified (wasn't printing it),
fix %z (time) format to match coreutils 6.3
2006-11-21 00:12:09 +00:00
Denis Vlasenko
fcdb00f735
httpd: LC_TIME locale _must_ be POSIX to httpd! We speak over the net!
2006-11-21 00:09:37 +00:00
Denis Vlasenko
6c85ddc850
httpd: add support for directory indexer (cgi-bin/index.cgi)
2006-11-21 00:08:39 +00:00
Denis Vlasenko
a3ee69fa6c
httpd: get rid of big, useless blocks (deindent,
...
bring code under 80 columns)
2006-11-21 00:07:31 +00:00
Denis Vlasenko
0bb993f39b
httpd: More robust Content-length: parsing,
...
code reorganization (less indented)
2006-11-21 00:06:28 +00:00
Denis Vlasenko
736230e209
dhcprelay: new applet
2006-11-20 19:40:36 +00:00
Denis Vlasenko
c9cdeaa3fe
add compile-time check for correct DHCP packet size
2006-11-20 01:13:09 +00:00
Denis Vlasenko
4a5cf16a36
login: use %s - we know that string is not too long there
...
ping[6]: use getopt32: smaller (-50 bytes) and handles -c6 correctly
(was requiring '-c 6' with mandatory space)
2006-11-20 00:48:22 +00:00
Denis Vlasenko
6a353c8158
mount: if FILE* is NULL, it's not wise to use it.
2006-11-19 17:34:57 +00:00
Denis Vlasenko
83edaf3fd6
svlogd: log full lines to stderr too, and also stop using stdio for that
2006-11-19 17:33:54 +00:00
Denis Vlasenko
22dcd04f8f
mkdir: style fix
2006-11-19 13:53:50 +00:00
Denis Vlasenko
89f0b3486d
rodata cleanup. "unable to" == "cannot". -300 bytes
2006-11-18 22:04:09 +00:00
Denis Vlasenko
61126ab30a
small fixes: using fd-based io instead of FILE*-based,
...
missed O_TRUNC, etc
2006-11-18 22:03:26 +00:00
Denis Vlasenko
5a3395bc01
udhcp: fix indentation and style.
...
Eliminate (group) a lot of smallish *.h files
Remove lots of unneeded #includes
2006-11-18 19:51:32 +00:00
Denis Vlasenko
abfc4cf6d8
Add names of people historically linked to bbox project
2006-11-18 16:30:04 +00:00
Denis Vlasenko
f7eaccde13
nc: fix --help text
2006-11-18 02:17:37 +00:00
Denis Vlasenko
a7189f01a4
add -Wundef, fix uncovered bugs
2006-11-17 20:29:00 +00:00
Denis Vlasenko
04c6386c45
forgot about avn add... :(
2006-11-17 18:58:49 +00:00
Denis Vlasenko
8a00f44bf4
runit: add runsv, runsvdir and sv. Oh yes.
...
It even seems to work. +11K. :(
2006-11-17 18:58:16 +00:00
Denis Vlasenko
a5342b4541
httpd: make Bernhard happier
2006-11-17 18:26:57 +00:00
Bernhard Reutner-Fischer
8bfd215fb2
- Set INSTALL_OPTS according to the config.
2006-11-17 13:54:29 +00:00
Bernhard Reutner-Fischer
193bcf381e
- fix generation of the busybox.links install script inputfile
2006-11-17 13:17:04 +00:00
Bernhard Reutner-Fischer
68532b3578
- typo fix
2006-11-17 12:47:50 +00:00
Bernhard Reutner-Fischer
e766715032
- end may be used uninitialized.
...
- TODO: should eventually use skip_whitespace there
2006-11-17 11:28:00 +00:00
Denis Vlasenko
b3a071543d
httpd: reduce ifdef forest. comment out redundant PATH setting
2006-11-16 18:04:43 +00:00
Denis Vlasenko
d4f3d1a4bd
httpd:
...
fix union aliasing bug
symptom: wget of non-existent file gets redirected to /text/html/something
on second and subsequend wget attempts
fix double-free bug
symptom: glibc caught double-free (we didn't NULL config->xxx ptrs after free)
2006-11-16 16:20:12 +00:00
Denis Vlasenko
0871bc89fb
httpd: add -i (inetd) and -f (foreground) otions.
...
-i makes possible to run httpd in both inetd and standalone mode
without recompile (or need to have two different binaries)
2006-11-16 16:17:02 +00:00
Denis Vlasenko
e867b7ce86
httpd: stop being silly with setenv
2006-11-16 16:12:09 +00:00