Age | Commit message (Collapse) | Author |
|
Ok gsoares@
|
|
the compiler is probably better at unrolling loops.
style nit fcambus
OK phessler
|
|
which involved doing a write_option_db() call at a different point in
bind_lease().
However one of the parameters was in a variable that was also used for
iterating a TAILQ so this did not have the intended contents (it was
always NULL at the end of TAILQ_FOREACH*, resulting in a null deref
when dhclient -L is used).
Fix by using a new temporary variable. ok krw@
|
|
|
|
OK mpi henning blum
|
|
gateway is not reachable via the IP address/netmask provided by the
lease. Allows OpenBSD to work as well as iOS in certain
weird/misconfigured/overly clever hotspots.
A generalization of the handling of the /32 addresses handed out by
Goggle Cloud, suggested by claudio@
Error in initial diff pointed out by henning@.
Feedback from job@, mpi@, kn@.
Tweaks & ok claudio@
|
|
Thanks to otto@ for the initial diff.
OK benno@
|
|
|
|
|
|
From brad@, OK jmc
|
|
an AF_UNIX socket (the control socket) so replace inet with
unix pledge.
|
|
OK bluhm deraadt jca
|
|
get_recorded_lease() returning NULL.
Should fix segmentation fault reported by Klemens Nanni on bugs@.
|
|
OK sthen mpi
|
|
|
|
knob to take the new "sysctl" value, which is the default. In this
case, the device behavior is determined by the new "kern.audio.record"
sysctl(2), which defaults to zero.
ok florian
|
|
always report a link status of UNKNOWN.
Do not use recorded leases to configure such interfaces. In such
cases only use the address in the recorded lease to ask for a
new lease.
Avoids debilitating /etc/resolv.conf changes by unplugged higher
priority interfaces given to the tender mercies of dhclient after a
working interface has already set /etc/resolv.conf correctly.
Reported for cdce(4) by guenther@ at p2k18.
|
|
lease and exit.
Man page tweaks from jmc@.
Request, tests & ok tb@. ok millert@ on previous
version.
|
|
on gcc architectures. ok florian@
|
|
pfctl: DIOCADDRULE: Device busy
error when loading the ruleset, with no information which rule caused
the problem and no indication that the problem is the rdomain
<nonexisting>.
This diff makes pfctl check if the rdomain really exists when parsing
the config.
ok bluhm@
|
|
|
|
|
|
|
|
default route and thus 'owns' resolv.conf. So check if resolv.conf
should be (re)written after all IPv4 RTM_NEWADDR or RTM_DELADDR
messages.
|
|
Problem pointed out & OK phessler
|
|
help us if we ever get rid of KAME hack.
|
|
over the place.
|
|
obeying RFC 2131 will never echo the identifier in OFFER/ACK packets.
Servers obeying RFC 6842 will always echo the identifier. Confused
servers may or may not do the echoing.
This permits more reliable association of recorded leases with the MAC
address in use at the time the lease was obtained.
Requested by & ok tb@
|
|
over execve(2).
|
|
|
|
ok kn@ mpi@
|
|
'prepend', 'default' and 'supersede' directives with respect to
'ignore'.
Document 'filename', 'fixed-address', 'next-server' and 'server-name'
directives.
|
|
processes have the wrong process title leading to confusion.
|
|
Update ifconfig to display LACP State (Actor and Partner) on
each trunk port
Ok benno@, phessler@, and tb@
|
|
file before going daemon.
Alleviates a race scripts (e.g. the installer in autoinstall mode) can
encounter under the reasonable assumption that all related information
is available when dhclient(8) returns control to the script as a
result of going daemon.
Pointed out by rpe@.
|
|
buffer per file; also use that buffer to expand macros.
ok sashan@ dennis@ krw@
|
|
available for all wsmouse devices.
|
|
from paul de weerd
ok kn
|
|
|
|
|
|
the routing table.
However, if -d is provided route monitor lists all interfaces and
their associated addresses and exits. This is confusing, unexpected
and no longer needed (if ever).
Make -d a proper no-op for route monitor and get rid of the interfaces
function which didn't use the correct sysctl idiom anyway.
OK benno
|
|
mpi.
Remaining differences are pledge and priority handling which only
route(8) has.
While here switch flushroutes to get_sysctl() function.
OK benno
|
|
* avoid double lookups for unresolvable names without -net
* more fitting error message for unresolvable names after -net
OK florian@
|
|
one specified by the T flag. No need to pass a flag around if the
tableid is valid. It always is.
This code is now in sync between flushroutes() and p_rttables().
OK benno, no objection claudio
|
|
filtering by address family and / or priority; similar to what
p_rttables() is doing.
(At the time of writing we need to copy about 150MB for the whole
table on a router that is in the default free zone).
OK benno
|
|
While here make and to see that this is correct and not touching any
global state make af a local variable and pass it around.
Input & OK benno
|
|
|
|
1) after schwarze@'s rampage (thanks!) we can drop rpath since asr is no
longer opening /etc/networks behind our back
2) we have the "route" pledge for the NET_RT_DUMP sysctl so we can
pledge earlier in main; flushroutes() and p_rttables() now tighten the
pledge instead of being the first pledge
3) the pledge in monitor() was just a repeat of the main() pledge, it
can go.
OK schwarze, deraadt
|
|
ok otto@
|
|
user. Doesn't handle units, '*', etc. Replace the more complex
getuint64 when getting things like the number of tracks per cylinder.
ok otto@
|