Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-08-27 | backout unapproved diff | Theo de Raadt | |
2005-08-25 | when we get an invalid hostname in an option, bitching a moaning is ok, | Henning Brauer | |
but there is no point in refusing the lease based on that. so bitch and moan and ignore that option but accept the lease. yes, customer networks are sometimes interesting... ok millert krw beck | |||
2005-08-22 | Fix problems with some Linksys DHCP servers (and probably others) by | Kenneth R Westerback | |
not accidentally inserting two NULL characters after each option in the DHCPREQUEST packet. Thanks to Christian Jones for the problem report and tcpdump's, and to Emmett Pate for finding a problematic Linksys model still in my local stores. ok deraadt@ | |||
2005-08-08 | re-add write() error check in buf_close(). ok henning@ | Moritz Jodeit | |
2005-08-07 | Simplify code by calling error() from inside buf_* functions rather | Kenneth R Westerback | |
than always testing the return code and calling error() from the caller. From a diff by moritz@, ok henning@. | |||
2005-08-05 | remove duplicate privsep prototypes and put all | Moritz Jodeit | |
of them into privsep.h. ok krw@ henning@ | |||
2005-08-04 | buf_* was taken from the framework I wrote for bgpd (also used by ntpd, ospfd | Henning Brauer | |
and some more). Here, however, we have a blocking socket for the IPC. buf_close (writes out) and buf_read can be simplified due to that, and they can just error out on short writes/reads. ok krw moritz | |||
2005-08-02 | add missing break; ok henning@ | Moritz Jodeit | |
2005-08-02 | Rip out code dealing with multiple/nested interfaces. Each instance of | Kenneth R Westerback | |
dhclient is responsible for one interface. Simply skip interface declarations for other interfaces and store all info in the one interface structure. tested by dlg@, ok henning@ | |||
2005-07-29 | Fix erroneous use of '=' instead of '+' that caused infinite loops | Kenneth R Westerback | |
when skipping packets. Use BPF_WORDALIGN() to properly skip packets. From Brooks Davis at FreeBSD. ok deraadt@ henning@ | |||
2005-07-26 | Fix buffer overflows in dhcpd and dhclient. Closes PR#4306. | Kenneth R Westerback | |
ok henning@ | |||
2005-07-23 | Our dhclient.conf lives in /usr/src/etc. | Kenneth R Westerback | |
ok henning@ | |||
2005-07-17 | No longer used. | Kenneth R Westerback | |
2005-07-17 | Insist on correct hardware addresses in dhclient.conf and | Kenneth R Westerback | |
dhclient.leases.<if> files. Simplify parse_numeric_aggregate() as a result, rendering tree.c and tree.h redundant. ok millert@ | |||
2005-07-16 | No longer used. | Kenneth R Westerback | |
2005-07-16 | Rejig struct string_list to use char array rather than char pointer, and | Kenneth R Westerback | |
eliminate new_parse_string. alloc.c becomes redundant. Junk a couple of unused fields (env, envc) in struct client_state. suggestions by & ok millert@ | |||
2005-07-16 | fix printing of hostname, from brooks davis via jmc | Henning Brauer | |
2005-07-16 | back out last; breaks in cases where we want hex and the last byte is 0 | Henning Brauer | |
2005-07-16 | NULL is not a time_t. From brooks at freebsd. | Kenneth R Westerback | |
2005-07-16 | Eliminate unnecessary 'code' field from struct option. Make | Kenneth R Westerback | |
dhcp_options const. ok henning@ | |||
2005-07-15 | Fix handling of comma separated option value lists, broken in r1.20. | Kenneth R Westerback | |
Found and fix tested by Moritz Jodeit. | |||
2005-07-15 | let pretty_print_option() handle trailing nul bytes correctly (i. e. don't | Henning Brauer | |
let a trailing nul byte force hex printing) FreeBSD PR 83468 by Sean Winn <sean@gothic.net.au>, via jmc@ | |||
2005-07-13 | spacing | Theo de Raadt | |
2005-07-13 | minor knf | Theo de Raadt | |
2005-07-13 | Repair/rationalize option handling to ensure valid option section is | Kenneth R Westerback | |
always sent. Fold store_options into cons_options. Eliminate priority list of options. ok deraadt@ | |||
2005-07-11 | krw stopped use of hash.c | Theo de Raadt | |
2005-07-11 | spacing | Theo de Raadt | |
2005-07-11 | Expunge unused hashing code and variables. | Kenneth R Westerback | |
2005-07-11 | Dispense with the overhead of creating a hash just to lookup the | Kenneth R Westerback | |
option name. Just iterate over the 256 option names. Only the first 80 or so are used anyway. Eliminating now unused hash code will follow. ok henning@ millert@ beck@ | |||
2005-07-09 | Clean out a few more unused/uninitialized variables. | Kenneth R Westerback | |
ok millert@ | |||
2005-07-09 | Clean out a few more unused/uninitialized variables. | Kenneth R Westerback | |
ok henning@ | |||
2005-07-09 | Since we never add more than the default dhcp_universe, expunge the | Kenneth R Westerback | |
code to handle mulitple 'vendor' universes. Don't bother with a specific error message about 'vendor'. An unsupported option is an unsupported option, and a '.' in an option name is a syntax error. ok henning@ | |||
2005-07-08 | More dead and moribund code removal/cleanup. This time unused parameters | Kenneth R Westerback | |
and associated code for store_options(). ok henning@ | |||
2005-07-08 | Eliminate unused code and associated parameters. | Kenneth R Westerback | |
ok deraadt@ | |||
2005-07-07 | Eliminate unused code and associated parameter. | Kenneth R Westerback | |
ok deraadt@ millert@. | |||
2005-07-07 | Eliminate tree_cache structure in favour of option_data. Eliminate | Kenneth R Westerback | |
redundant level of indirection in building and using option_data arrays while constructing outgoing packets. Make option_data len field unsigned. ok henning@. 'cool!' deraadt@. | |||
2005-07-07 | Expunge two unused fields (buf_size, timeout) in tree_cache structure. | Kenneth R Westerback | |
ok millert@ deraadt@ henning@ | |||
2005-07-07 | Expunge two unused fields (buf_size, timeout) in tree_cache structure. | Kenneth R Westerback | |
ok millert@ deraadt@ henning@ | |||
2005-06-27 | reference bpf(4); from alexey e. suslikov; | Jason McIntyre | |
2005-06-02 | Make buf_add a no-op if length == 0. OK henning | Chad Loder | |
2005-06-01 | snprintf returns an int, not a size_t. OK deraadt@ | Chad Loder | |
2005-05-29 | robustness against malformed snames. | marius eriksen | |
ok henning@ | |||
2005-05-24 | no more 'ifconfig $if 0.0.0.0 up' only 'ifconfig $if up' since dhclient | Todd T. Fries | |
uses bpf exclusively ok deraadt@, henning@, claudio@ | |||
2005-04-11 | use STDERR_FILENO | Theo de Raadt | |
2005-04-11 | handle snprintf returning -1; ok henning | Theo de Raadt | |
2005-04-11 | use writev; ok henning | Theo de Raadt | |
2005-04-09 | document that dhclient-script overwrites resolv.conf, | Jason McIntyre | |
and use of resolv.conf.tail; issue spotted by rick barter via nick; ok henning@ jaredy@ nick@ | |||
2005-04-09 | incorrect apostrophe (in comment); | Jason McIntyre | |
2005-04-08 | protect read() on rtsock against interruptions by signal, foudn with djm | Henning Brauer | |
while looking for sth else | |||
2005-04-02 | spacing | Theo de Raadt | |