Commit Graph

45 Commits

Author SHA1 Message Date
roy
e0a4f5bfed Import dhcpcd-5.2.4 with the following changes:
* Fix crash when using clientid and the interface re-configures
* log the pid of dhcpcd
* Indicate server IP received message from even if server ID not
  present
* Fix crashes on IPv4LL failure and add more logging
2010-06-04 09:07:59 +00:00
roy
72889e7367 Import dhcpcd-5.2.2 with the following changes:
* Don't send a maximum DHCP message size beyond what we can handle.
* ip_id is now randomized.
* IPTOS_LOWDELAY and IP_DF flags are no longer set.
2010-03-31 09:14:47 +00:00
roy
4d83beb44b Import dhcpcd-5.2.1 for a build fix 2010-02-27 16:02:25 +00:00
roy
3818f326d9 Include platform.c 2010-02-27 15:55:09 +00:00
roy
0df03e9fd9 Import dhcpcd-5.2.0 with the following changes from dhcpcd-5.1.5:
* VendorID is now dhcpcd-$version:$OS-$version:$machine:$platform
* IPv4LL address range can now be used in DHCP requests
* sysctl net.ipv4.conf.$iface.promote_secondaries enabled on Linux
  This resolves a long standing issue of changing ip on the same subnet.
* IPv4LL correctly resets the DHCP timer.
2010-02-27 15:52:20 +00:00
roy
afee245092 sync 2010-01-31 20:53:05 +00:00
roy
a7622e5331 Import dhcpcd-5.1.5 with the following changes:
* -H, --xidhwaddr uses the last 4 bytes of the hardware address as
  the DHCP xid
* -J, --broadcast tells the DHCP server to broadcast replies
* no longer warn about InfiniBand being an unsupported family
* infinite lease times are valid when reading old leases
* discard address correctly if lease is invalid
2010-01-31 20:50:16 +00:00
roy
5f8a05b17d Import dhcpcd-5.1.4
Changes from dhcpcd-5.1.3 include:
 * dhcpcd logs even in quiet mode.
 * Sleep for 1/100th of a second to give time for kernel to send RELEASE.
 * -S option now works.
 * Only warn about using CSR on bind.
2009-12-23 08:30:06 +00:00
roy
0c8963a482 Sync with import 2009-10-25 23:35:41 +00:00
roy
ffe854671a Import dhcpcd-5.1.3 with the following changes:
* waitip is enabled when running on a single interface.
* Classless Static Routes are now enabled by default in dhcpcd.conf
  instead of being always being requested.
2009-10-25 23:27:30 +00:00
roy
1a80e629b5 Remove mistakenly added file. 2009-10-16 23:57:39 +00:00
roy
f09bb2caf5 Sync 2009-10-16 21:57:54 +00:00
roy
3b87816311 Import dhcpcd-5.1.2 with these changes:
* ClientID is now reported when interface starts.
* -w, --wait forces dhcpcd to wait until an interface gets a lease or
  times out.
* Ensure DHCP socket is open when sending a DECLINE.
* Uses new hwaddr if existing interface is downed and then changed.
* No longer works on firewire interfaces by default.

dhcpcd-5.1.2 has a new behaviour change - when starting up and at least 1
interface has a carrier then it tries to get a lease or times out.
It still daemonises regardless. This, along with the -b and -w flags
allows total control over the desired behaviour of dhcpcd.
2009-10-16 21:50:41 +00:00
roy
9f9d7a83f9 Fix building dhcpcd-5.1.1 2009-10-02 21:40:16 +00:00
roy
0b3ae6da92 Add back dhcpcd.conf 2009-10-02 21:36:41 +00:00
roy
cc2e8e7e32 Import dhcpcd-5.1.1
Changes from dhcpcd-5.0.7 include
* Only allow hardware families we know by default (over-ridable)
* Fix persistent and timeout 0 options
* Fix parsing of escape code sequencies
* Don't bring up interfaces brought down when handling new interfaces
* Allow un-encapsulated vendor option
* Don't null terminate gratuitously when handling quotes
* Fix various typos and grammatical errors
* dhcpcd.conf simplified a little
2009-10-02 21:31:01 +00:00
sborrill
51827ae696 Fix various typos and grammatical errors 2009-09-16 19:04:01 +00:00
roy
1eb42625ea Import dhcpcd-5.0.7
Changes from dhcpcd-5.0.6 include:
* Fix -f path/to/config
* -e, --env var=value for profile specific env vars
* Many issues resolved when running in test mode
* Don't print a (null) string when there is no NAK message
* read ssize_t instead of size_t when checking signals
2009-07-28 20:53:17 +00:00
roy
b1b5513e68 Update to dhcpcd-5.0.6
Changes from dhcpcd-5.0.5 include
 * Fix crash on MIPS, fixes PR bin/41682
   Thanks to Tim McIntosh <tmcintos@eskimo.com> for the patch
 * Save and restore interface MTU when changing
 * IP whitelist
 * Ensure that the lease and pidfile directories exist at startup
2009-07-08 22:33:21 +00:00
roy
8c75820385 Sync 2009-07-03 22:20:09 +00:00
roy
a0cd7e431b Import dhcpcd-5.0.5
Changes since 5.0.4
 * Fixed dstaddr detection for PtP links at startup
 * Default to requesting MTU in dhcpcd.conf
2009-07-03 19:39:25 +00:00
christos
477a0ba90e Add an NetBSD id for ease of maintenance. 2009-06-01 19:07:55 +00:00
roy
539e10cf4e Import dhcpcd-5.0.4
Changes from dhcpcd-5.0.3 include
 * ServerID requirement in DHCP messages can be toggled in dhcpcd.conf
 * If MTU is requested, don't apply if less than 576
 * Enforce a minimum lease time of 20 seconds
2009-05-14 16:25:55 +00:00
roy
cd5cb024ed Import dhcpcd-5.0.3
Changes from 5.0.2
 * Fix crash when ifa_addr from getifaddrs(3) is NULL
2009-05-11 08:52:46 +00:00
roy
ed7c19b672 Re import right version 2009-05-10 17:20:55 +00:00
roy
05cc3e1e56 Update dhcpcd to 5.0.2
Changes from 5.0.1 include
 * -n option now starts dhcpcd if not already started
 * 29-lookup-hostname hook installed by default, but skipped in dhcpcd.conf
 * Fix warning about missing dirs if we don't have any existing state
 * Fix compile on some Linux distros re linux/wireless.h
2009-05-10 16:44:26 +00:00
roy
dd5234bb77 Don't need this file 2009-05-03 06:50:12 +00:00
roy
8804666dc4 Import dhcpcd-5.0.1
Changes from dhcpcd-5.0.0
 * Silence compile warnings on Sparc64
 * Fix existing address detection
2009-05-03 06:48:58 +00:00
roy
f9f431805b Fix compile 2009-04-28 22:47:23 +00:00
roy
a04200f334 Punt old files 2009-04-28 22:43:10 +00:00
roy
010bfc06c7 Update to dhcpcd-5.0.0 2009-04-28 22:31:52 +00:00
roy
2158200f72 Import dhcpcd-5.0.0
Major changes from dhcpcd-4 include
 * Single daemon can now run DHCP on multiple interfaces at the same time
 * Configuration profiles per interface, ssid, arping and fallback
 * Listens to 3rd party programs changing routing information
 * Supports DHCP INFORM over PPP
 * Can configure static options for destination address
 * Control socket so 3rd party program can control or listen directly
   to dhcpcd events
 * Is also a BOOTP client
2009-04-28 22:14:20 +00:00
roy
be69da1d06 Import dhcpcd-4.0.13
Fixed since dhcpcd-4.0.12 include
 * Every DHCP message now requires a ServerID as some rogue DHCP servers
   NAK without one.
 * Extra UDP validation is now done for testing dhcpcd over a loopback
2009-04-17 20:05:27 +00:00
roy
3d26b90412 Import dhcpcd-4.0.12
Fixes since dhcpcd-4.0.11 include:
 * Logging to LOG_DAEMON instead of LOG_LOCAL0
 * Checking for POLLERR and POLLNVAL
 * Only opening raw sockets when we have a working link
2009-02-26 13:53:19 +00:00
roy
27323c5250 Import dhcpcd-4.0.11
Fixes since dhcpcd-4.0.10 include recovery from send_packet failure
2009-02-21 10:12:30 +00:00
roy
fe76f6974c Import dhcpcd-4.0.10
Changes since dhcpcd-4.0.9
 * Move the ARP check to after the REQUEST to be more RFC2131 conformant.
2009-02-04 09:08:46 +00:00
roy
366affd3d0 Import dhcpcd-4.0.9
Changes from dhcpcd-4.0.8
 * Add a bit more pedantic error checking
 * Zero the DHCP message struct instead of trying to terminate the options
2009-01-31 12:57:30 +00:00
roy
12dbb39b5a Import dhcpcd-4.0.8
Changes since dhcpcd-4.0.7:
 * broadcast address correctly set for hooks
 * respect renewal time if given but rebind time is not
 * nohook 20-resolv.conf works as well as nohook resolv.conf
 * short hostnames are now sent
2009-01-28 04:46:01 +00:00
roy
98454aa775 Import dhcpcd-4.0.7 with the following changes from dhcpcd-4.0.1
DHCP_DECLINE now includes the IP and Server in the message.
Trailing NULLs are stripped from string options.
ntpd is only restarted if it is already running.
ClientID is no longer sent by default.
CSR comes before routers and static routes as per RFC 3442.
Host routes are now added correctly.
If a the interface link flaps but status does not change, do not reset the timer.
2008-12-09 19:34:58 +00:00
apb
f46c1de7cb Use ${TOOL_SED} instead if plain sed in Makefiles. 2008-10-25 22:27:34 +00:00
chris
3273efb108 Correct the documentation for the script name used by dhcpcd to be
/libexec/dhcpcd-run-hooks
not
/libexec/dhcpcd.sh
2008-09-20 17:38:19 +00:00
joerg
a7dc3b5d53 Just use WARNS=4 for dhcpcd. 2008-09-19 23:00:49 +00:00
joerg
0ee5c8cca5 Import dhcpcd-4.0.1:
- basic resolvconf like functionality to combine the resolv.conf entries
from running instances
- improve timer handling to not break with early wake ups and other edge
cases related to the kernel time granularity
- improve handling of dhcpcd -n and rebinding after carrier loss to
better deal with changing networks
- add option to black list servers based on server id
- don't check for ARP conflict if the interface already has the address
- improve signal handling during vfork/exec
2008-09-19 22:59:57 +00:00
joerg
d249112fae Update build glue for dhcpcd 4.0.0rc3 and move it to
src/external/dhcpcd.

Make dhcpcd quiet by default when run from rc.
2008-07-27 19:31:02 +00:00
joerg
b2f096aeb9 Import dhpcd-4.0.0rc3. Major changes since beta4:
- support for link state notification (e.g. renew lease after carrier
  returned)
- support to start go into background immediately
- don't cleanup interface state. dhcpcd will leave the interface in the
  same state as before if the lease uses separate addresses. -p still
  stops it from removing the configured address on exit
- various smaller bugfixes, optimisations and cleanups
2008-07-27 18:06:30 +00:00