summaryrefslogtreecommitdiffstats
path: root/hooks
Commit message (Collapse)AuthorAge
* Bump dates for prior.Roy Marples2020-04-28
|
* Grammar nitsSascha Wildner2020-04-28
|
* 01-test: Avoid use of grep and sort which might be in /usrRoy Marples2020-04-21
| | | | | This is a touch more long winded, but is fully shell and the output *should* be identical.
* hostname: Ensure it's not clobbered by SLAACMark Davies2020-04-21
| | | | Because it cannot carry a hostname and user could be forcing it.
* linux: mount --bind real directory holding /dev/logRoy Marples2020-04-08
| | | | | As systemd has the real socket in /run which doesn't help anyone but itself.
* hooks: Build all hooks before installingRoy Marples2020-03-30
|
* hooks: clean 30-hostnameRoy Marples2020-03-30
| | | | As it's now built from 30-hostname.in
* hooks: Remove 02-dumpRoy Marples2020-03-30
| | | | As we now dump via the control socket, this is no longer needed.
* BSD: Don't install 00-linux hookRoy Marples2020-03-30
|
* resolv.conf: Uniquify contentsRoy Marples2020-04-01
| | | | | | We might have >1 router that broadcasts the same DNS information. While resolvconf(8) can easily take care of uniqifying the data, not all systems have this nice tool so do the job here as well.
* linux: the default hostname is (none)Roy Marples2020-03-31
| | | | | It's blank for the BSD's. Respect this when relinquishing the hostname.
* hostname: Default to blank instead of localhostRoy Marples2020-03-31
| | | | No kernel sets a default value of localhost.
* spelling: Correct both privilege and separationRoy Marples2020-02-10
| | | | Found by Arfrever.
* Remove RC_SVCNAME.Roy Marples2020-01-21
| | | | We've not used that for quite a while now.....
* privsep: Note CHROOT scriptRoy Marples2020-01-21
| | | | | While here make BUILDING.md match reality and fix a warning compiling without privsep.
* Linux: setup mounts in chrootRoy Marples2020-01-21
| | | | | This allows dhcpcd to work. udev sadly requires /run/udev as well, so heh ho.
* dhcpcd-run-hooks: change state dir name to reflect what it isRoy Marples2019-11-29
|
* Spelling fixesSascha Wildner2019-11-15
|
* build: distclean now recursively removes patch files and relatedRoy Marples2019-09-13
|
* build: import-src now works with DESTDIRRoy Marples2019-08-28
|
* DragonFly: make import-src now prepares the source for importingRoy Marples2019-08-28
| | | | | I'm a lazy man and there's too many steps to import dhcpcd into DragonFlyBSD, so hopefully this makes it a lot easier.
* Update commentRoy Marples2019-07-25
|
* hooks: Ensure header is empty before populating it.Roy Marples2019-07-12
| | | | Thanks to Andreas
* 10-wpa_supplicant: Correct stop diagnosticRoy Marples2019-07-09
|
* RA: expire RDNSS and DNSSL entriesRoy Marples2019-06-14
| | | | | | | | | This allows us to remember N fully expired RA's which works around an obscure issue where a received RA has no lifetime or any prefixes with lifetimes but does have an instruction to start DHCP6. It was harmless but filled the log with spam and now there is no log spam!
* 30-hostname: Fix typo: hsort -> hshortDaniel Gröber2019-06-12
|
* hooks: shell [ ] only supports 4 parametersRoy Marples2018-10-30
| | | | Using a fifth paramter or more is unspecified.
* SpellingRoy Marples2018-02-20
|
* hooks: document that hooks are not run within their own processRoy Marples2018-02-20
|
* dhcpcd-run-hooks: set vars to blankRoy Marples2018-01-20
|
* dhcpcd-run-hooks: POSIX shell does not require the local builtinRoy Marples2018-01-20
| | | | | And sadly some ksh variants don't support it. As dhcpcd strives to be portable, stop using local.
* Welcome to 2018.Roy Marples2018-01-01
|
* dhcpcd-run-hooks(8) should not attempt to guess the protocol.Roy Marples2017-11-03
|
* Unset $ifsuffix for non protocol reasonsRoy Marples2017-07-13
| | | | | | | | | | | | | | | | | | | | | | | Summary: The default was to assume unspecified reasons were DHCP. This is bad for non protocol events such as NOCARRIER which could cause a dhcpcd instance running IPv6 only to wipe out the DNS records created by a separate dhcpcd instance handling IPv4. Fixes T129. Test Plan: Start `dhcpcd -4 -K eth0`. Observe that a resolvconf entry is created for eth0.dhcp. Start `dhcpcd -6 eth0`. Observe that a resolvconf entry is created for eth0.dhcp6. Bring the carrier down for eth0. Because the -4 instance is ignoring carrier, it is expected that the eth0.dhcp resolvconf entry is preserved. Maniphest Tasks: T129 Differential Revision: https://dev.marples.name/D124
* Clarify RFC952 and RFC1123 to justify domain name restriction dhcpcd imposes.Roy Marples2017-06-16
|
* Revert "RFC2181 section 11 says a DNS label can be pretty much anything."Roy Marples2017-06-16
| | | | This reverts commit 6da580eefb0d94d1b377303e84af821556ab33b0.
* RFC2181 section 11 says a DNS label can be pretty much anything.Roy Marples2017-06-13
| | | | | | So just test overall length and label length. Thanks to Robert Elz.
* Remove unused valid_path() function.Roy Marples2017-06-13
| | | | Thanks to Robert Elz.
* Optimize loop exit. Thanks to Robert Elz.Roy Marples2017-06-13
|
* Remove usesless comment.Roy Marples2017-06-13
|
* In uniqify(), prefix a space if there is already a result when appending.Roy Marples2017-06-13
| | | | This means we don't have to trim a space on output.
* Fix make proginstall target.Roy Marples2017-03-31
|
* Fix man page paths.Roy Marples2017-03-21
|
* Move dhcpcd-hooks dir to hooksRoy Marples2017-03-16