aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp
AgeCommit message (Collapse)Author
2006-01-22- add platform.h.Bernhard Reutner-Fischer
- use shorter boilerplate while at it.
2006-01-15- shared libbusybox.Bernhard Reutner-Fischer
- IMA compilation option (aka IPO, IPA,..) Please holler if i broke something..
2005-09-23more make safe the exported namespace for udhcp. Move to bb-specific file ↵"Vladimir N. Oleynik"
for reduce change into udhcp-CVS
2005-09-23remove 1 exported"Vladimir N. Oleynik"
2005-09-22move a couple of functions from common code (options.c) to udhcpd privatePaul Fox
code (files.c) to make udhcpc a little smaller.
2005-09-22add support for setting the dhcp vendor class option (option 60). Paul Fox
udhcpc now has a -V (--vendorclass), which will replace the default "udhcpRELEASE" string in this option.
2005-09-22safe exported namespace for udhcp. Not full, bore :-("Vladimir N. Oleynik"
2005-09-08Fix the warning by rewriting the function to be smaller and simpler.Rob Landley
I'd appreciate somebody on a __BIG_ENDIAN platform testing this out; I haven't got the hardware...
2005-09-01Off by one error in max_leases sanity check. Bug 349, apparently.Rob Landley
2005-08-01allow suppression of default client-id. fixes bug 000037. allowsPaul Fox
busybox to match kernel and u-boot behavior with respect to client-id.
2005-07-27use toplevel ARFLAGS and update default ARFLAGS to be quietMike Frysinger
2005-07-21remove duplicate check against chaddr.Paul Fox
2005-07-20applying fix for:Paul Fox
0000260: udhcpc doesn't validate client hardware address
2005-05-26Tobias Krawutschke found a bug where the DHCP client would accept packetsRob Landley
with the wrong ARP address, meaning we could easily get somebody else's IP. That is a bad thing, and this is the minimal two-line fix.
2005-05-04Revert the uptime() removal. Let the list sort it out...Rob Landley
2005-05-04Patch from Shaun Jackman:Rob Landley
Replace uptime with time(NULL). time is more portable than uptime and eliminates the need to define uptime, reducing code size slightly.
2005-04-16Patch from Bernhard Fischer to make a bunch of symbols staticEric Andersen
which were otherwise cluttering the global namespace.
2005-04-16In Bug 209, bernhardf writes:Mike Frysinger
struct named { named_field: init, }; appear to be depraced by now; rather use C{99} format as in struct named { .named_field = init, };
2004-12-06merge from udhcp moduleMike Frysinger
2004-10-08Wade Berrier writes:Eric Andersen
Hello, Here's a patch for a first attempt at static leases for udhcpd. Included in the tarball are 2 files (static_leases.c, static_leases.h) and a patch against the latest cvs. In the config file you can configure static leases with the following format: static_lease 00:60:08:11:CE:4E 192.168.0.54 static_lease 00:60:08:11:CE:3E 192.168.0.44 Comments/suggestions/improvements are welcome. Wade
2004-10-08egor duda writes:Eric Andersen
Hi! I've created a patch to busybox' build system to allow building it in separate tree in a manner similar to kbuild from kernel version 2.6. That is, one runs command like 'make O=/build/some/where/for/specific/target/and/options' and everything is built in this exact directory, provided that it exists. I understand that applyingc such invasive changes during 'release candidates' stage of development is at best unwise. So, i'm currently asking for comments about this patch, starting from whether such thing is needed at all to whether it coded properly. 'make check' should work now, and one make creates Makefile in build directory, so one can run 'make' in build directory after that. One possible caveat is that if we build in some directory other than source one, the source directory should be 'distclean'ed first. egor
2004-05-19use busybox sysinfo structRuss Dill
2004-05-19Fix a compile problemEric Andersen
2004-05-19fix timewarp in client (server fix later)Russ Dill
2004-05-19remove uneccessary check (already done in pidfile.c)Russ Dill
2004-05-19fix memory leak caused by switch to vforkRuss Dill
2004-04-25Update my email address, document some of my tasks in the AUTHORS fileGlenn L McGrath
2004-04-14Larry Doolittle writes:Eric Andersen
This is a bulk spelling fix patch against busybox-1.00-pre10. If anyone gets a corrupted copy (and cares), let me know and I will make alternate arrangements. Erik - please apply. Authors - please check that I didn't corrupt any meaning. Package importers - see if any of these changes should be passed to the upstream authors. I glossed over lots of sloppy capitalizations, missing apostrophes, mixed American/British spellings, and German-style compound words. What is "pretect redefined for test" in cmdedit.c? Good luck on the 1.00 release! - Larry
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
2004-03-05Patch by Andrew Victor,Glenn L McGrath
In arpping.h, fix structure alignment of "struct arpMsg". GCC can insert padding in the structure which causes udhcpd to send an invalid ARP packet on the network. It will then not receive a valid reply, which can cause it to assign an IP address that's already in use on the network. (With kernels before 2.4.20, the "struct ethhdr" in linux/if_ether.h wasn't marked as packed. This is also an issue if your toolchain was built with a pre-2.4.20 kernel).
2004-03-05Fix a typo, patch by Andrew VictorGlenn L McGrath
2004-01-30Use standard C99 typesEric Andersen
2003-12-26it should work even if you don't assign a pidfileRuss Dill
2003-12-24fix a long standing underallocation bugRuss Dill
2003-12-24move debugging to safe place (before vfork)Russ Dill
2003-12-18Finish remerging busybox udhcp and udhcp. Some cleanups as well.Russ Dill
2003-12-16clean up some bad, bad formattingRuss Dill
2003-12-16include headers with prototypes to make sure prototypes matchRuss Dill
2003-12-16remove reference to missing header file which is breaking the buildEric Andersen
2003-12-16revert removal of defineRuss Dill
2003-12-16forgotten includeRuss Dill
2003-12-16why the complication of a static string rather than a define? gcc isn't dumbRuss Dill
2003-12-16start attempting to bring udhcp in busybox back to the state where it is ↵Russ Dill
(ideally) an exact copy of udhcp outside of busybox so that its easy to merge back and forth
2003-12-16when compiled standalone, udhcp needs these headersRuss Dill
2003-12-16whoopsRuss Dill
2003-12-16not sure who made this change, but it certainly mucks things up (note ↵Russ Dill
'fwrite(leases, ...'), adds a bit more code, and some stack overhead. Anywho, this fixes it, and retains the spirit of what the submitter of this change was attempting to acheive (the entire lease is written at once in a struct)
2003-12-15make udhcp work under uclinux, to an extentRuss Dill
2003-12-15options is a pretty common symbol, bad idea to use as a global in udhcp when ↵Russ Dill
compiling into busybox
2003-11-14Ulrich Marx writes:Eric Andersen
hello i had some trouble with the filedescriptor in udhcp. Two things happened on my device: 1.) broken or not connected cable (no dhcp-server) 2.) daemonizing (starting with option -b) i got a filedescriptor fd=0 from function raw_socket, after daemonizing (daemon call) the fd is closed. Client can't recieve data's anymore. i fixed this problem (like pidfile handling):
2003-10-22Andreas Mohr writes:Eric Andersen
the busybox menuconfig triggered my "inacceptable number of spelling mistakes" upper level, so I decided to make a patch ;-) I also improved some wording to describe some things in a better way. Many thanks for an incredible piece of software! Andreas Mohr, random OSS developer