sthen 62b4b52eb9 update to dhcpcd-6.10.0
http://roy.marples.name/projects/dhcpcd/info/595883e2a431f65d
- Ensure that option length fits inside data length less option size.
(can lead to an invalid read/crash via malformed dhcp responses)

http://roy.marples.name/projects/dhcpcd/info/76a1609352263bd9
- dhcp_optlen now returns the length of the data we can sanely work
on given the option definition and data length. Call dhcp_optlen in
dhcp_envoption1 to take into ensure these bounds are not overstepped.
Fixes an issue reported by Nico Golde where extra undersized data was
present in the option. An example of this would be an array of uint16's
with a trailing byte.
(reporter says "exploitation is non-trivial, but i'd love to be
proven wrong.")
2016-01-07 21:19:53 +00:00
..
2016-01-07 21:19:53 +00:00

$OpenBSD: README,v 1.1 2015/09/24 15:14:11 sthen Exp $

+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
+-----------------------------------------------------------------------

DHCPv6-PD (Prefix Delegation)
=============================
As OpenBSD doesn't yet support DHCPv6 in the base OS, one common use of
this package is to request Prefix Delegation from an ISP, which hands you
one or more routable IPv6 subnet that can be assigned to interfaces
facing your local network.

Here is a sample configuration achieving this, fetching addresses over the
pppoe0 interface and assigning it to multiple local networks. In this example,
dhcpcd's router solicitation support is disabled (noipv6rs) - the kernel's
support should be used instead ("rtsol" in /etc/hostname.pppoe0). It fetches
addresses over pppoe0 and assigns them to "downstream" interfaces em0, vlan3
and vlan5. These interfaces are listed explicitly so that dhcpcd doesn't
touch other interfaces at all.

noipv6rs
ipv6only
duid
persistent
option rapid_commit
require dhcp_server_identifier
nohook lookup-hostname
allowinterfaces pppoe0 em0 vlan3 vlan5

interface pppoe0
  iaid 1
  ia_pd 2 em0/1 vlan3/2 vlan5/3