summaryrefslogtreecommitdiffstats
path: root/dhcp.c
Commit message (Collapse)AuthorAge
* Add (c) to CopyrightRoy Marples2009-05-01
|
* TypoRoy Marples2009-04-24
|
* dhcpcd -V now shows all variables we set, even without an option.Roy Marples2009-04-24
|
* Improve PTP INFORM support some more.Roy Marples2009-03-23
|
* Move dhcpf.h into dhcp.h were it belongsRoy Marples2009-03-19
|
* We can now detected primary addresses added or changed in BSD.Roy Marples2009-03-19
| | | | | | | | As such, we can wait for a 3RDPARTY to configure the interface, such as PPP. We can then take the destination addess and automatically give it a default route or any other DHCP option such as DNS servers. This addresses #159.
* Gah, remove some debugRoy Marples2009-02-25
|
* Don't timeout if we're daemonised.Roy Marples2009-02-25
|
* Enforce NetBSD KNF style moreRoy Marples2009-02-11
|
* dhcpcd should not send hostname by default.Roy Marples2009-01-29
| | | | | | | | However, the default config file we ship enables the sending of the hostname by default. This makes things more explicit I think, and also allows the FQDN to be sent but not the hostname if someone ever needs this.
* while -> forRoy Marples2009-01-26
|
* Optimize code around NULL terminated hostname.Roy Marples2009-01-26
|
* We should only send short hostnames as qualfied ones confuse ISC DHCP ↵Roy Marples2009-01-26
| | | | server. If a FQDN is required, then use that option instead of the hostname.
* CopyrightRoy Marples2009-01-12
|
* set broadcast_address correctly.Roy Marples2009-01-12
|
* Re work the route management so we deal with a changed route table in a ↵Roy Marples2008-12-16
| | | | renewal/rebind correctly.
* CSR should come before other route options according to RFC 3442.Roy Marples2008-11-25
|
* BOOTP fixes. Also, we don't write a BOOTP lease file.Roy Marples2008-11-20
|
* We are now a BOOTP client also :)Roy Marples2008-11-19
|
* If no lease time is supplied, assume it's infinite.Roy Marples2008-11-19
|
* When declining a DHCP lease and we have an IPv4LL one, don't re announce our ↵Roy Marples2008-11-14
| | | | IPv4LL lease.
* Trim trailing NULLs from string options, #120.Roy Marples2008-11-04
|
* ~0U is better than just ~0 for this.Roy Marples2008-10-29
|
* Explain why we decline the address in a message.Roy Marples2008-10-28
|
* Calculate netmask from cidr more efficiently.Roy Marples2008-10-20
|
* Alloc less for options and correctly for inform.Roy Marples2008-10-18
|
* Get INFORM support almost working again.Roy Marples2008-10-18
|
* Use the existing start_reboot function instead of a start_request.Roy Marples2008-10-18
|
* We should send the IP address we decline and the server ID for release.Roy Marples2008-10-17
|
* Style.Roy Marples2008-10-06
|
* static objects are initialized to 0 by default, so don't explicity do this.Roy Marples2008-10-06
|
* Simplify the logic of what to put in the message, and ensure that the MTU ↵Roy Marples2008-10-06
| | | | size is in the DISCOVER message.
* As we now use times to trigger again instead of decreasing timers, ensure ↵Roy Marples2008-09-17
| | | | our lease fits. We may wish to revisit this again if we need decreasing timers once more.
* Reboot off the last lease and use the last lease if not expired and user has ↵Roy Marples2008-09-15
| | | | asked for it. Also, add a reboot timeout toggle (default 10 seconds).
* Style.Roy Marples2008-09-06
|
* ocets might as well be size_t. This also fixes a segfault whe compiled with pcc.Roy Marples2008-09-06
|
* Only free the option buffer when debugging memory leaks.Roy Marples2008-09-04
|
* Add an event loop.Roy Marples2008-09-02
| | | | | | | | Split client.c into smaller files and functions and recode around the event loop. Add multiple interface support using the new event loop. Document changes and outstanding bugs.
* The require directive now requires that the required options are present in ↵Roy Marples2008-08-18
| | | | each DHCP message. A few variables and functions have also been renamed to make this part more readable.
* classid -> vendorclassid to match the RFC description.Roy Marples2008-08-13
|
* Allow reqmask of numbers.Roy Marples2008-08-13
|
* DHCP_option -> DHO_option.Roy Marples2008-08-08
|
* Allow FQDN to be decoded to userland. Also, don't exclude hostname when ↵Roy Marples2008-08-08
| | | | sending FQDN.
* Skip the trailing . if it exists on the FQDN.Roy Marples2008-08-08
|
* Turns out my encoding was correct after all :)Roy Marples2008-08-07
| | | | | I've now split it out into it's own function for easier maintenance though.
* Revert FQDN to ASCII encoding as I cannot find out what RFC4702 really means ↵Roy Marples2008-08-06
| | | | for encoding :/
* Attempt to fix FQDN encoding.Roy Marples2008-08-06
|
* Remove the MINIMAL define.Roy Marples2008-08-06
|
* Respect hostname length.Roy Marples2008-08-05
|
* Fix valgrind errors, and report correct type.Roy Marples2008-07-21
|