aboutsummaryrefslogtreecommitdiff
path: root/net/isc-dhcp/files
Commit message (Collapse)AuthorAge
* isc-dhcpd: Redux of convenience functions avoiding sed/cutPhilip Prindeville2023-10-15
| | | | | | Also minimize messing with $IFS. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* isc-dhcp: Use 'append' instead of manually appendingPhilip Prindeville2023-10-15
| | | | Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* isc-dhcp: refuse to add empty DHCP rangeLeon M. Busch-George2023-10-15
| | | | | | | ipcalc.sh no longer outputs invalid ranges and fails with an error code in such cases. React to the error. Signed-off-by: Leon M. Busch-George <leon@georgemail.eu>
* isc-dhcp: adapt to new ipcalc paradigmLeon M. Busch-George2023-10-15
| | | | | | | | With #12925, 'BROADCAST' will no longer be set if there is no local broadcast address (rather than holding the global broadcast address). Prepare for the merge but stay compatible with the old version of ipcalc. Signed-off-by: Leon M. Busch-George <leon@georgemail.eu>
* isc-dhcp: Allow per-subnet domain namesPhilip Prindeville2023-09-17
| | | | Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* isc-dhcpd: Generate correct delimiter in hex stringsPhilip Prindeville2023-09-17
| | | | Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* isc-dhcp: some IoTs need forced rebinding/renewal timesPhilip Prindeville2023-07-30
| | | | | | | | I've noticed my AppleTV's refresh their leases ever minute unless I explicitly force their renewal time higher, because it doesn't default to 50% of the lease time. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* isc-dhcp: fix handling multiple instances of 'routes' listPhilip Prindeville2023-07-30
| | | | Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* isc-dhcp: use network_get_device in client scriptsPhilip Prindeville2023-07-25
| | | | Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* isc-dhcp: don't require subnet poolsPhilip Prindeville2023-06-19
| | | | Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* isc-dhcp: force sending unrequested parametersPhilip Prindeville2023-06-19
| | | | Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* isc-dhcp: allow suppression of default gatewayPhilip Prindeville2023-03-01
| | | | Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* isc-dhcp: make indent consistent in configPhilip Prindeville2023-03-01
| | | | Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* Merge pull request #19866 from pprindeville/isc-dhcpd-detect-reload-properlyPhilip Prindeville2022-11-11
|\ | | | | isc-dhcp: Fix logic to detect if the config file is unchanged
| * isc-dhcp: Fix logic to detect if the config file is unchangedPhilip Prindeville2022-11-08
| | | | | | | | | | | | Thanks for Jaymin Patel for pointing the broken logic out. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* | isc-dhcp: support sending explicit default routePhilip Prindeville2022-10-21
|/ | | | Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* isc-dhcp: avoid gratuitous reload of namedPhilip Prindeville2022-10-05
| | | | Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* isc-dhcp: don't use allow-update in bind configPhilip Prindeville2022-07-13
| | | | Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* isc-dhcp: detect whether ddns transfers are IPv4 onlyPhilip Prindeville2022-03-15
| | | | | | | | | | | | | | | | If named is configured to not listen on any IPv6 interfaces, then we should run 'nsupdate' with the '-4' argument. Also: * cleanup RFC-1918 address detection; * don't generate PTR records for domain entries that aren't RFC-1918 addresses or these will generate NOTAUTH failures; We're assuming that we're doing DNS split-horizon and that internal addresses aren't routable. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* isc-dhcp: don't leak mktemp filesPhilip Prindeville2022-03-15
| | | | Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* isc-dhcp: properly anchor SRV RR'sPhilip Prindeville2022-01-28
| | | | Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* isc-dhcpd: handle extra spaces in routesPhilip Prindeville2021-05-02
| | | | Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* isc-dhcp: support hex strings as option argumentsPhilip Prindeville2021-02-05
| | | | Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* isc-dhcp: treat 'config host' like superset of 'config domain'Philip Prindeville2021-02-04
| | | | | | | | | | | | Not including an A record mapping will cause nsupdate to balk at CNAME and MX records (and probably SRV as well) because the target will be unknown at the time of parsing, until the lease gets activated. We need these RR's to be in place well before the servers even come up. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* isc-dhcp: add support for multi-homing in 'domain' configsPhilip Prindeville2021-01-28
| | | | Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* isc-dhcp: support dynamic dns for 10/8 and 172.16/12Philip Prindeville2021-01-15
| | | | Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* isc-dhcp: add dynamic dns integration for local bind serverPhilip Prindeville2021-01-13
| | | | | | | | Start after named is running. Add support for "cname", "domain", "mxhost", and "srvhost" configs. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* isc-dhcp: fix regression in reloadingPhilip Prindeville2020-12-18
| | | | | | Introduced in "isc-dhcp: improve startup performance" Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* isc-dhcp: add support for RFC-3442 classless routes to hostsPhilip Prindeville2020-09-10
| | | | | | Also avoid forward references to functions. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* isc-dhcp: add support for RFC-3442 classless IPv4 routesPhilip Prindeville2020-08-28
| | | | Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* isc-dhcp: improve startup performancePhilip Prindeville2020-04-21
| | | | | | | | On some platforms where interfaces come up very slowly, this can cause a race-condition with dhcpd coming up before all the interfaces have finished initializing. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* isc-dhcp: write resolv.conf per network & dhcp settingsPhilip Prindeville2018-06-12
| | | | | | | The internal nameservers and the DHCP default domain should be squirted into /tmp/resolv.conf. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* dhcrelay4: add support for up/downstream interfacesBrian J. Murrell2018-04-11
| | | | | | | | | | | | dhcrelay has the ability to monitor interfaces for requests in a single direction only rather than listening to all interfaces for requests. Doing this allows one to suppress the duplication of having the relay forward requests from the same network that the DHCP server is on. Signed-off-by: Brian J. Murrell <brian@interlinx.bc.ca>
* isc-dhcp: allow hosts to have dhcp optionsPhilip Prindeville2018-04-09
| | | | | | | | | | | | Sometimes it's necessary to set per-host options like: list dhcp_option 'option:always-broadcast,true' for hosts that don't understand unicast replies. There might be other options you might want to set on a per-host basis, such as extensions-path, dhcp-message-text, etc. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* isc-dhcp: fix typeof regex for IP address patternPhilip Prindeville2018-04-08
| | | | | | Missing backslash in "\d+" for last digit of dotted quad. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* isc-dhcp: make files/ consistent by flatteningPhilip Prindeville2018-04-08
| | | | | | | | Some /etc/config-destined files are in files/ and suffixed with .conf while others are in files/etc/config/ which isn't consistent. Put everything in files/ and call it good. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* isc-dhcp: support generic DHCP optionsPhilip Prindeville2018-03-29
| | | | | | | Allow specifying NTP servers, search domains, etc. by the administrator directly specifying DHCP options (per interface, i.e. per pool). Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* isc-dhcp: allow explicitly configuring a domainPhilip Prindeville2018-03-29
| | | | | | | Setting a domain now results in 'option domain-name "xyzzy";' being generated globally. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* isc-dhcp: integrate IPv4 DHCP service with procd and netifdDaniel Golle2017-05-20
| | | | | | | | | | | | | Convert init-script to procd and allow to configure isc-dhcp-server via UCI. Allow most by-network and by-host options supported by dnsmasq. User-defined dhcp-options are not supported yet, neither are tags. Existing configurations with use-edited /etc/dhcpd.conf are still respected, hence to enjoy the new features you have to migrate your configuration to UCI and delete /etc/dhcpd.conf. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* isc-dhcp: bump version to latest and fix build issuesPhilip Prindeville2017-01-06
| | | | | | | | | | Version bumped to 4.3.5. Separated out compile/install steps since compiling with $DESTDIR yields bogus results. Removed rfc-3527 patch as something similar (better) is now upstream (well, more complete error checking anyway). Change relay scripts from '-l ifname' to '-U ifname' to correspond to upstream changes. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* isc-dhcp: update to 4.3.3. Migrate from oldplackagesAntony Antony2016-03-25
Signed-off-by: Antony Antony <antony@phenome.org>