summaryrefslogtreecommitdiffstats
path: root/if-options.c
Commit message (Collapse)AuthorAge
* Add (c) to CopyrightRoy Marples2009-05-01
|
* Add an option to fallback to a profile when DHCP fails.Roy Marples2009-04-18
|
* We need to move allow/deny back to optionsRoy Marples2009-04-17
|
* Some option only make sense in the configuration file, so remove shortRoy Marples2009-04-15
| | | | | options for them for future reuse.
* Add the ability to arping an address and select a profile based on theRoy Marples2009-03-31
| | | | | hardware address replied with or the ip address.
* If we define a static address, we are not informing and vice versa.Roy Marples2009-03-23
|
* Add an option to reconfigure dhcpcd without rebinding.Roy Marples2009-03-20
| | | | | | This is primarily for interaction with 3rd party link management, such as PPP. More work on #159.
* 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.
* We need to blacklist IP addresses at the packet levelRoy Marples2009-03-10
| | | | so we can ignore NAKs from rogue servers who don't supply a ServerID, or supply a fake one.
* Improve INFORM and STATIC support.Roy Marples2009-03-05
| | | | | | It's now possible to flip between DHCP, INFORM and STATIC on already running instances.
* Blacklist now accepts networks as well as addresses.Roy Marples2009-02-27
| | | | It also matches on the address offered as well as the server address.
* Fix debug working in dhcpcd.confRoy Marples2009-02-23
|
* 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.
* Terminate hostnameRoy Marples2009-01-26
|
* Stop storing length in 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.
* Ensure that we have enough buffer for gethostname and terminate it correctly.Roy Marples2009-01-26
|
* You can now add a configure block per ssid if the interface is wireless.Roy Marples2009-01-01
|
* Add a static directive that allows the configuration of variables, whichRoy Marples2009-01-01
| | | | | | | | supercedes any DHCP configured variables. If ip_address is configured then we don't bother with a DHCP transaction.
* We no longer send a ClientID by default. This is so we now mirror the kernel ↵Roy Marples2008-11-17
| | | | DHCP client and can re-use its lease by default. To retain the old behaviour, simply add clientid to dhcpcd.conf.
* get_line now uses a single buffer, strips leading space and skips comments. ↵Roy Marples2008-11-05
| | | | This reduces malloc usage slightly and gives a cleaner API at the expense of a slight bss increase.
* Fix reading netmask and linux informing.Roy Marples2008-10-18
|
* Get INFORM support almost working again.Roy Marples2008-10-18
|
* Fix -I '' to not send a client ID instead of a blank one, #116.Roy Marples2008-09-26
|
* Allow the release keyword in dhcpcd.conf to release the lease on shutdown.Roy Marples2008-09-16
|
* Fix reboot timeout in dhcpcd.conf.Roy Marples2008-09-15
|
* 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).
* Tidy up some valgrind errors.Roy Marples2008-09-11
|
* Add allowinterfaces and denyinterfaces options to dhcpcd.conf for better ↵Roy Marples2008-09-11
| | | | multiple interface support.
* Allow quiet and nobackground to work in dhcpcd.confRoy Marples2008-09-11
|
* Remove logger and exclusively uses syslog instead. This saves almost 2K on ↵Roy Marples2008-09-05
| | | | NetBSD/amd64 from before changing strerror to %m.
* Don't spam on startup about unsupported interfaces if quiet.Roy Marples2008-09-05
|
* Don't use a needless buffer for cffile.Roy Marples2008-09-05
|
* As our logger calls emulate syslog, we can use %m. However, this means we ↵Roy Marples2008-09-05
| | | | have to convert it for printf as POSIX does not require that printf supports it. This also means we drop -pedantic from our GCC flags.
* Make TEST work once more.Roy Marples2008-09-05
|
* Remove some ints and replace with our option mask.Roy Marples2008-09-05
|
* Add a control socket so that interfaces can be dynamically re-set.Roy Marples2008-09-03
| | | | | | This requires the event loop argument being changed to void * so we can send arguments other than an interface.
* 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.