23 Commits

Author SHA1 Message Date
sthen
9e317abcca update to dhcpcd-9.1.1.
dhcpcd now uses pledge(), there are some articles with findings from the
process that may be of interest to readers:

https://roy.marples.name/blog/capsicum_vs_pledge.html
https://roy.marples.name/blog/capsicum_vs_pledge_part2.html

port change: move the homedir for the @newuser to /var/empty now that
dhcpcd no longer requires files inside the chroot directory.
2020-06-04 13:45:11 +00:00
sthen
dc6d39f88b fix @exec-update warning message in previous. 2020-06-03 20:54:28 +00:00
sthen
c6a2e64155 dhcpcd: warn if the existing _dhcpcd user was created with /var/empty homedir,
this was only the case for 11 days so hopefully not too many people ran into it.
make sure /var/dhcpcd is created for startup.
2020-06-03 12:32:33 +00:00
sthen
cf3f822888 update to dhcpcd-9.0.1 2020-04-13 16:12:25 +00:00
sthen
a8beb37c20 dhcpcd: fix plist, spotted by semarie 2020-04-07 17:36:53 +00:00
sthen
11e62efefa update to dhcpcd-9.0.0, now with privsep 2020-04-02 16:33:19 +00:00
sthen
632b6a1e25 use 'script ""' instead of 'script /usr/bin/true' in sample config 2019-03-25 14:34:08 +00:00
sthen
404f338502 adjust the DHCPv6-PD example in dhcpcd's pkg-readme to give an example for
using dhcpcd to do slaac itself on the upstream; seems a bit more reliable
than mixing dhcpcd for PD and slaacd for SLAAC
2019-03-02 00:24:07 +00:00
naddy
de94a5059a replace references to rtadvd(8) with rad(8); from Caspar Schutijser 2018-10-01 19:52:41 +00:00
espie
f4b7f81318 convert to PKGSTEM 2018-09-04 12:46:09 +00:00
sthen
d2c42c007c update to dhcpcd-7.0.5 2018-06-02 11:45:15 +00:00
sthen
05bfc96f63 update to dhcpcd 7.0.2 plus a few patches from git 2018-03-29 19:31:22 +00:00
tb
23086562fa Adjust README: inet6 autoconf is handled by slaacd nowadays.
From Klemens Nanni, ok sthen
2018-02-08 17:55:56 +00:00
sthen
759bfa2437 update to dhcpcd-7.0.1, plus later upstream commit: "Restore the prior
behavior of not disabling kernel RA handling if dhcpcd is not doing it"
2018-02-06 10:11:34 +00:00
rpe
9a8b5ccd06 Change the shebang line from /bin/sh to /bin/ksh in all ports rc.d
daemon scripts and bump subpackages that contain the *.rc scripts.

discussed with and OK aja@
OK tb
2018-01-11 19:27:01 +00:00
sthen
22158ab29e update to dhcpcd-7.0.0 2018-01-01 14:58:24 +00:00
sthen
f46f3a5f9d s/rtadvd_flags/rtadvd flags/ (typo), from Caspar Schutijser, thanks! 2017-09-13 19:51:33 +00:00
sthen
0ea39a107d Mention use of rtadvd(8) for handing addresses to clients. 2017-09-13 11:03:51 +00:00
sthen
5837587c52 Adjust the sample DHCPv6-PD configuration in dhcpcd's pkg-readme following
earlier feedback from naddy, and a reminder about rtsol from Ross L Richardson.

- convert some description into comments in the sample config

- disable all hooks in DHCPv6-PD sample by overriding "script", they're
often not needed in this situation (and disabling hooks individually with
nohook leaves you open to the potential for new ones being added later)

- rtsol -> "inet6 autoconf"
2017-07-14 09:43:37 +00:00
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
sthen
07aec21fa4 Add a README with simple example config for dhcpcd showing DHCPv6-PD use
over pppoe, fetching prefixes from upstream and assigning them to a couple
of local interfaces.
2015-09-24 15:14:11 +00:00
sthen
ea46e94c57 update to dhcpcd-6.9.3 2015-09-08 19:10:19 +00:00
sthen
8453911228 import dhcpcd, from upstream author Roy Marples, ok (and tweak by) jturner@
dhcpcd is a DHCPv4/IPv4LL/IPv6RS/DHCPv6 quad stack client.
It will listen for new interfaces and carrier signals from the kernel
so it can quickly configure each interface as it appears.

dhcpcd has a powerful DHCP expression engine which makes it easy
to decode future RFC DHCP options, or handroll your own.
2014-07-14 15:50:55 +00:00