Commit Graph

344 Commits

Author SHA1 Message Date
Glenn L McGrath
a837e2d9b3 Minor update to arping, patch from Nick Fedchik 2003-02-09 07:01:33 +00:00
Glenn L McGrath
06e9565b6c New applet, inetd, make httpd features more configurable, update authors, last_patch_80
from Vladimir N. Oleynik
2003-02-09 06:51:14 +00:00
Glenn L McGrath
b4f3d7f594 Rewrite by Manuel Novoa III, very compact implimentation. 2003-02-08 23:11:19 +00:00
Eric Andersen
46c203a6ce Fix a couple more ifupdown bugs 2003-02-03 12:44:59 +00:00
Eric Andersen
66a3af9d7c This seems sufficient for ifup and ifdown to actually work
as advertised.  Works for me (at least with glibc)
2003-01-27 17:41:19 +00:00
Eric Andersen
853c494efd A patch from John F. Kelly to add in a utility for configuring
vlan under linux, derived from Ben Greear's VLAN "vconfig" tool.
2003-01-23 05:59:32 +00:00
Glenn L McGrath
8eb214edbd Patch from Basitan Blank to fix nasty bug 2003-01-22 21:09:48 +00:00
Eric Andersen
d8fdf0c57d Fix a typo that broke it so busybox won't build 2003-01-22 01:20:35 +00:00
Russ Dill
6393d69f76 merge fixes with udhcp 2003-01-21 22:39:34 +00:00
Glenn L McGrath
9e5d6c002c run telnet from inetd, present login prompt if login is configured,
patch from Bastian Blank
2003-01-21 20:55:56 +00:00
Glenn L McGrath
5cc9ada0e4 header update 2003-01-21 00:03:05 +00:00
Glenn L McGrath
2e51a14d57 New test mode that allows run_parts to fail silently if the directory
is not found. Patch from Bastian Blank
2003-01-20 23:50:59 +00:00
Glenn L McGrath
a9adef0394 Dont use getopt_long, minor usage changes, patch by Nick Fedchik 2003-01-19 13:34:21 +00:00
Glenn L McGrath
e6ae6e3d39 fix missed option argument for -I <device>, interface name checks
redesigned, patch by Nick Fedchik
2003-01-19 13:31:41 +00:00
Glenn L McGrath
77c60e5c66 Use vsyslog instead of syslog, improve initalisation and cleanup of
variables, save 300 Bytes or so, patch by Vladimir N. Oleynik
2003-01-16 11:37:57 +00:00
Glenn L McGrath
8573704097 Fix leading spaces bug, free line buffer, redo next_word, save some
space.
2003-01-14 23:26:57 +00:00
Eric Andersen
ab4e19afc6 Eliminate most instances where we use linux kernel headers
-Erik
2003-01-14 08:54:08 +00:00
Eric Andersen
8004bb7661 Eliminate use of kernel header file
-Erik
2003-01-14 08:06:07 +00:00
Glenn L McGrath
d66370cd73 Option to allow ifupdown use ip commands instead of ifconfig, add flush
command to ipaddr, patch by Bastian Blank
2003-01-13 21:40:38 +00:00
Eric Andersen
4e486a5d00 Kiss Gabor noticed that ping compiled without BB_FEATURE_FANCY_PING
would return 0 instead of EXIT_FAILURE when no response was received.
2003-01-12 06:08:33 +00:00
Glenn L McGrath
9e59841375 arping applet by Nick Fedchik 2003-01-09 10:06:01 +00:00
Glenn L McGrath
58c708af23 New applet: httpd, by Glenn Engel 2003-01-05 04:01:56 +00:00
Glenn L McGrath
ea2a1064b3 fixes for ia64 2003-01-05 00:43:00 +00:00
Manuel Novoa III
a6685585d8 Add "Broadcast +" support back in. Also cut the size down some. Not well
tested, but it is the holidays...
2002-12-27 17:42:01 +00:00
Glenn L McGrath
0f18271a8a Bugfix, wastn retrieving last block, patch by Jean-Christophe Dubois 2002-12-19 20:16:22 +00:00
Glenn L McGrath
1643f41986 When retrieving a file dont open file until we have to to prevent files of size 0 being created when retrieval fails, bug found by Jeff Angielski 2002-12-18 02:47:40 +00:00
Glenn L McGrath
688cf014af Get interface names using ioctl rather than /proc, from Nick Fedchik 2002-12-17 12:43:43 +00:00
Robert Griebl
be2ae246fb Always print the routing table header for IPv4:
- this is consistent with IPv6 route
 - you can get very confused, if there are no routes and "route" prints
   nothing at all (not even "No routes" message)
2002-12-16 22:04:18 +00:00
Glenn L McGrath
275be87be7 Only included headers that are used. 2002-12-16 07:37:21 +00:00
Glenn L McGrath
1e132dd4dd fix warning 2002-12-16 06:40:37 +00:00
Glenn L McGrath
8b08bda66b Fix bug when reading mac from command line, continue; if hwaddrr not found 2002-12-13 09:02:16 +00:00
Glenn L McGrath
25fe94fd32 Merge copyfd and copy_file_chunk 2002-12-13 08:20:44 +00:00
Glenn L McGrath
a67dffe186 Change ftpput so it uses <remote-path> <local-file> as it should 2002-12-13 05:57:46 +00:00
Glenn L McGrath
3b33dd9b1e Fix possible bug if file length not known 2002-12-13 04:14:36 +00:00
Glenn L McGrath
02d7cbfe92 New applets, ftpget and ftpput 2002-12-13 02:43:50 +00:00
Glenn L McGrath
f03c933e47 New applet, nameif by Nick Fedchik and myself. 2002-12-13 00:01:44 +00:00
Eric Andersen
b2bfd34a7b hehe. Screwed that one up. Lets do things right this time.
-Erik
2002-12-11 22:59:39 +00:00
Eric Andersen
1f1c3f9485 Makefile rework coordinate with Russ so udhcp will behave
-Erik
2002-12-11 22:45:33 +00:00
Russ Dill
54fde9ea5c slight change to reflect BB_VER change 2002-12-11 22:43:37 +00:00
Russ Dill
9f4395c54e sorry about all the noise, should be all synced up now 2002-12-11 21:40:46 +00:00
Russ Dill
1eb7a17b12 resync with udhcp cvs 2002-12-11 21:12:45 +00:00
Eric Andersen
d7e1a6c6eb Make sure we have a show_usage function prototype
-Erik
2002-12-11 07:46:30 +00:00
Eric Andersen
0552b9a7ff Eliminate dependancy on kernel header files. Naughty naughty.
Using linux kernel headers is a Bad Thing(tm) and should be
punished.
 -Erik
2002-12-11 03:57:12 +00:00
Glenn L McGrath
84cc4e7e3e undefine sysinfo to prevent breakage on ia64 2002-12-11 03:55:52 +00:00
Glenn L McGrath
9bf9f1edbe Forgot to rename foo 2002-12-09 21:52:29 +00:00
Glenn L McGrath
fad90db887 Fix a debug message, from Bastian Blank 2002-12-09 21:05:40 +00:00
Glenn L McGrath
6b5bd0e5ab Support using ip in udhcpc scripts.
Slightly modified version of patch by Bastian Blank
2002-12-08 22:17:54 +00:00
Glenn L McGrath
8e49caa54f Start to cleanup handling of the state file, save some space and uses linked lists. 2002-12-08 01:23:39 +00:00
Glenn L McGrath
0325a1c9e3 Differentiate struct and type names 2002-12-07 07:45:42 +00:00
Glenn L McGrath
1d658263e8 Fix command that brings down loopback 2002-12-07 00:48:54 +00:00
Glenn L McGrath
80a60419f7 depends on for telnet and ipcalc 2002-12-06 23:11:30 +00:00
Eric Andersen
27e99c8f09 Fixup dumpleases compile problem 2002-12-06 21:42:56 +00:00
Glenn L McGrath
398ff9d981 Use libbb/get_line_from_file, change default state file location 2002-12-06 11:51:46 +00:00
Glenn L McGrath
cdbe5e5d4c Make mapping a config option again to save space, turn off file locking, do we really need it ? 2002-12-06 08:35:55 +00:00
Glenn L McGrath
9227371b71 Fix bug that stoped -a working 2002-12-06 08:10:40 +00:00
Eric Andersen
c9f20d9fb9 Yet another major rework of the BusyBox config system, using the considerably
modified Kbuild system I put into uClibc.  With this, there should be no more
need to modify Rules.mak since I've moved all the interesting options into the
config system.  I think I've got everything updated, but you never know, I may
have made some mistakes, so watch closely.
 -Erik
2002-12-05 08:41:41 +00:00
Glenn L McGrath
2626ef613e Use compare_string_array in ipaddress to save a few bytes, minor cleanups 2002-12-02 01:40:05 +00:00
Glenn L McGrath
18eae0031a Save a few more bytes 2002-12-02 00:54:10 +00:00
Glenn L McGrath
c82f2324bd Save a hundred bytes or so on the do_iproute function 2002-12-02 00:35:23 +00:00
Glenn L McGrath
f112daa232 Enable ip commands to be compiled seperate from ip, modifed patch from Bastian Blank 2002-12-01 23:04:06 +00:00
Glenn L McGrath
82d2cd4ead Clean up error messages 2002-11-28 12:45:48 +00:00
Glenn L McGrath
1b0813ab61 Minor error messages changes 2002-11-28 12:39:19 +00:00
Glenn L McGrath
d4de975cd2 Cleanup error messages 2002-11-28 12:35:46 +00:00
Glenn L McGrath
8b6024449f Cleanup error messages 2002-11-28 12:19:51 +00:00
Glenn L McGrath
e3e2a7b41c Syntax error 2002-11-28 12:01:25 +00:00
Aaron Lehmann
a170e1c858 Change if(x)free(x); to free(x); 2002-11-28 11:27:31 +00:00
Glenn L McGrath
1652855fbc Style, error_msg 2002-11-28 11:17:19 +00:00
Glenn L McGrath
9048ae5923 Use standard error messages 2002-11-28 10:56:38 +00:00
Glenn L McGrath
df72536f8e Use error_msg instead of fprintf(stderr 2002-11-28 10:49:14 +00:00
Glenn L McGrath
8ae4cab4a8 use #ifdef CONFIG_* instead of #if CONFIG_* 2002-11-26 09:02:06 +00:00
Glenn L McGrath
efc6fbd452 use #ifdef instead of #if 2002-11-26 03:03:41 +00:00
Glenn L McGrath
d7fb1b372c Use #ifdef instead of #if 2002-11-26 02:40:56 +00:00
Glenn L McGrath
2801eb925d Fix simple syntax error 2002-11-26 02:23:41 +00:00
Glenn L McGrath
d1431073d1 Dont use xargs 2002-11-19 09:58:56 +00:00
Glenn L McGrath
83bcba26c0 dont use the -i option of xargs 2002-11-19 09:23:13 +00:00
Russ Dill
ae01fa99e1 udhcpc documentation update 2002-11-19 00:41:09 +00:00
Glenn L McGrath
50c00f4b45 Use error_msg_and_die, style 2002-11-18 07:26:42 +00:00
Glenn L McGrath
29d801b834 Remove mapping option, its should always be used 2002-11-17 21:48:11 +00:00
Eric Andersen
5780adb586 Patch from Bastian Blank:
hi erik

    the following patch fixes the handling of iproute add <route> dev <dev>.
    the code got lost while removing things.

    bastian
2002-11-15 09:12:47 +00:00
Glenn L McGrath
9af8a72f10 Make ifupdown use internal run_parts 2002-11-11 07:03:02 +00:00
Glenn L McGrath
545106f8db Move awk from textutils to editors. Cleanup run-parts, saves 200 bytes, moves the guts of run_parts to libbb to be used by ifupdown. 2002-11-11 06:21:00 +00:00
Glenn L McGrath
c11986d89e ipcalc applet by Stephan Linz and Jordan Crouse 2002-11-10 23:42:27 +00:00
Glenn L McGrath
f234e7c755 Config feature DEVPTS defined and used in telnetd, by Pavel Roskin 2002-11-10 22:26:19 +00:00
Glenn L McGrath
3ff3f4ac35 Fix for hostname -s, by Stephan Linz 2002-11-10 22:07:48 +00:00
Glenn L McGrath
eebe31d997 Fixup a previous define 2002-11-10 13:20:35 +00:00
Glenn L McGrath
49a28b3b5e Make mapping support a definable feature, saves 1.6kB 2002-11-10 13:17:08 +00:00
Glenn L McGrath
8ae75013c8 Only compile the files in this dir if the IP applet is enabled 2002-11-10 10:20:45 +00:00
Glenn L McGrath
9a2d27249c IP applet by Bastian Blank <waldi@debian.org> 2002-11-10 01:33:55 +00:00
Glenn L McGrath
021fa7db91 debian compatable ifup and ifdown commands 2002-11-09 09:34:15 +00:00
Russ Dill
da970859da version number oops 2002-11-05 20:10:21 +00:00
Russ Dill
f5ecd43473 sync to udhcp 0.9.8 2002-10-31 19:21:27 +00:00
Eric Andersen
5ad22c933c This patch from Magnus Damm fixed a long standing problem
with freeing memory.
2002-10-25 12:14:02 +00:00
Eric Andersen
d69e31fb93 Fix needless difference vs GNU 2002-10-18 22:13:23 +00:00
Russ Dill
1977a60de4 missed add for udhcp 2002-10-14 21:47:07 +00:00
Russ Dill
61fb48930f added full udhcp integration 2002-10-14 21:41:28 +00:00
Eric Andersen
08a72209c9 last_patch58 from vodz:
Ok. I generate patch for include to busybox-devel my work with
    top (original author give me maintaining) and telnetd (my
    support and unofficial maintaining) applets.  Docs changes
    also: added awk, netstat, time applets to list ;)
2002-09-30 20:52:10 +00:00
Glenn L McGrath
6714862bdd Use busybox's show_usage function for help 2002-09-15 17:20:45 +00:00
Eric Andersen
7829b8d067 Fix for handling of "tftp -l -" from Jean Wolter <jw5@os.inf.tu-dresden.de> 2002-09-10 06:03:31 +00:00
Eric Andersen
1130976f8e Eliminate use of obsolete sys_errlist[]
-Erik
2002-08-26 21:36:32 +00:00
Glenn L McGrath
192ff35d9c Remove empty loops 2002-08-23 14:36:59 +00:00