Age | Commit message (Collapse) | Author |
|
ok krw@
|
|
ok henning@, krw@
|
|
from .5 to 1.5 ofthe value. This is how the man page describes it and
nobody can remember why it was not being used as a hard limit.
ok benno@
|
|
|
|
|
|
longer live in a 10Mb/sec shared media world with 1Mhz Vaxen DHCP servers.
ok benno@ otto@ phessler@
|
|
reboot_timeout, etc.) when setting them to their defaults.
|
|
circuit the waiting for ACK's by giving up after reboot_timeout.
ok tedu@
|
|
the interface reboots. Thus the fallback from REQUEST to DISCOVER will take
place after the intended reboot_timeout seconds.
ok tedu@ mpi@
|
|
ok krw@
|
|
functions needing it.
This is the first step to support multiple interfaces in one dhclient(8)
instance.
ok krw@
|
|
starting up dhclient on wifi interfaces. In theory will preserve leases from
other SSID's and speed up obtaining a lease by not wasting time attempting
to re-acquire a lease from a different SSID.
Experimental feature from n2k16 needing some real world testing before g2k16.
|
|
useful to autoinstall in the future and in the meantime can provide
information on what the dhcp server has done with the desired server
name and file name info.
Original diff from Patrik Lundin via tech@
|
|
send frames to the ethernet broadcast address, so this will need some more
thought and it's too late for 6.0.
Problem reported by Holger Mikolon.
ok mpi@
|
|
In situations where >1 offer is received this will eliminate unbounded memory
growth and make us a more polite netizen. In some corner cases it might
prevent reuse of inappropriate older offers.
ok millert@
|
|
i.e. == 0 and != 0 as appropriate. No intentional functional change.
Suggested by & ok tom@
|
|
it to do less. Discussion with guenther.
ok krw
|
|
systems throw away bits upon chown). Not in this case, but code gets
copied..
ok krw
|
|
interface's LLADDR pass. Rely on dhclient's existing ability to
detect and react to LLADDR changes.
This limits the number of packets that get dropped as a result of
dhclient setting BIOCSFILDROP on the bpf descriptor.
Problem with bridges and multiple dhclients noted by stsp@.
ok mpi@ stsp@ deraadt@ henning@
|
|
|
|
is not necessary, and in fact quite annoying when I swtich networks and
want to get back to the init state quickly. Default instead to 1 second.
The very few users who encounter problems may edit dhclient.conf.
ok benno
krw does not object
|
|
sthen@. to make remote upgrades without media less painful.
ok tb@
|
|
|
|
don't bother to keep trying to get a lease. It ain't gonna happen. Just
print and error message and exit.
|
|
each *.c file.
Inspired by mention of header silliness by Edgar Pettijohn and mmcc@
on tech@.
|
|
fixed part of the IP header is completely present before using its
header length field. Then use the data in the IP header to ensure
the entire IP packet is present. Then check that the entire UDP header
is present. Then use the data in the UDP header to ensure all the
data it thinks is present is actually present.
Started when tj@ and a few others noticed ISC "DHCP CVE-2015-8605:
UDP payload length not properly checked".
ok sthen@ henning@
|
|
bits in the form:
for (i = 1; i; i <<= 1)
This avoids undefined operations when shifting into and out of the
highest-order bit.
ok millert@
|
|
let someone else figure it out.
ok mpi@
|
|
|
|
exit>".
|
|
|
|
have inadequate or invalid leases. In particular leases for addresses
that are already configured on a different interface. After the
DECLINE, return to INIT state and start looking for a valid lease. This
conforms much closer to the relevant RFC's.
Avoids 'hanging' dhclient(8) during boot when the attempt to configure
the address fails without dhclient(8) realizing it.
Issue found and various fixes tested by mpi@. Feedback from beck@ and
reyk@.
ok mpi@
|
|
Diff from Ricardo Mestre. ok deraadt@
|
|
ok krw@
|
|
|
|
using the SIOCGIFRDOMAIN ioctl. If the rdomain is changed an
RTM_IFINFO message is generated on the old rdomain indicating the
interface is down. This will cause dhclient to exit, just like our
manual check did but even faster!
Should make pledging easier.
Behaviour confirmed by phessler@
|
|
link to return.
Inadvertantly broken in r1.308.
Problem noted by tedu@
|
|
Search" if supplied by the server.
Requested by a few. Original diff from Ray Lai via tech@.
Tested & ok claudio@
|
|
original diff from Michael McConville via tech@. Thanks!
ok millert@ beck@ guenther@ jca@
|
|
|
|
multiple domain names in dhcp option 15 (Domain Name). This allows
resolv.conf 'search' statements to be built with multiple entries.
Adhere to the limits stated in resolv.conf(5) - no more than 6
domains and less than 1024 characters total length.
Encountered in the wild and fix tested by beck@. Feedback from
deraadt@
|
|
|
|
Reported long ago by matthieu@. Also Jacob Berkman via the lists.
Tests and suggestions from Jacob and Matthieu.
|
|
present. The latest routing stack code can now handle these situations.
Much requested by beck@ and others. Detailed discussion at s2k15
identified required routing changes.
ok claudio@
|
|
in get_token(). Simplifies code and shrinks future diff.
No intentional functional change.
|
|
encountering a carriage return in the input.
Found by jsg@ a long time ago in a respository far, far away.
|
|
ok krw@
|
|
ok doug millert miod
|
|
using RTM_IFA to bind routes to an interface. Keep the subnet route
conflict avoidance code for the time being.
diff from claudio@ as part of larger routing magic diff.
ok claudio@ mpi@
|
|
are clearly properly initialized in the same area. Prompted by the
recent shrinkage of most imsg structs.
|