Commit Graph

15 Commits

Author SHA1 Message Date
Jan Pavlinec 299e5b0a9b
treewide: add PKG_CPE_ID for better cvescanner coverage
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-09-17 12:40:26 +02:00
Heath Kehoe e86624e13b
isc-dhcp: Remove --disable-tracing from configure args
This fixes a crash that happens when dhcpd is configured with a failover
peer, and the failover peer goes down. The crash is due to a dereference
of a freed object. When tracing is enabled (which is the default) the
object in question is referenced by the tracing code and so doesn't get
freed prematurely. I have observed this crash on two different target
platforms (mips and x86_64), and it is reproducible on non-OpenWRT
distros by building isc-dhcpd using --disable-tracing.

This has been reported to ISC, but their response was that it's a low
priority as the simple work-around is to leave tracing enabled.

Re-enabling the tracing code only increases the size of the executable
by about 24KB.

Signed-off-by: Heath Kehoe <yaheath@gmail.com>
2019-06-03 03:19:07 +00:00
Philip Prindeville b0e73634f7 isc-dhcp: drop .conf suffix on dhcrelay config file
Resolves issue #7235

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2018-10-28 14:38:56 -06:00
Philip Prindeville db6adb616d isc-dhcp: write resolv.conf per network & dhcp settings
The internal nameservers and the DHCP default domain should be
squirted into /tmp/resolv.conf.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2018-06-12 13:52:06 -06:00
Philip Prindeville 4097c888f5 isc-dhcp: update to 4.4.1
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2018-04-29 17:32:30 -06:00
Brian J. Murrell 93420826ab dhcrelay4: add support for up/downstream interfaces
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>
2018-04-11 22:08:26 -04:00
Philip Prindeville ec8aa082fc isc-dhcp: allow hosts to have dhcp options
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>
2018-04-09 21:01:33 -06:00
Philip Prindeville 6bfb46ebdb isc-dhcp: fix typeof regex for IP address pattern
Missing backslash in "\d+" for last digit of dotted quad.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2018-04-08 16:31:28 -06:00
Philip Prindeville a35ebccb26 isc-dhcp: make files/ consistent by flattening
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>
2018-04-08 16:17:44 -06:00
Philip Prindeville db74475702 isc-dhcp: update to 4.4.0
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2018-02-07 07:52:02 -07:00
Philip Prindeville 8edf359926 isc-dhcp: update to 4.3.6
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-08-27 12:20:25 -06:00
Daniel Golle 4237ae4890 isc-dhcp: integrate IPv4 DHCP service with procd and netifd
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>
2017-05-20 03:23:48 +02:00
Philip Prindeville f8efe53de8 isc-dhcp: reassign to new owner
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-04-14 15:42:45 -06:00
Philip Prindeville ac531a9c54 isc-dhcp: bump version to latest and fix build issues
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>
2017-01-06 15:52:28 -07:00
Antony Antony 7f594309bf isc-dhcp: update to 4.3.3. Migrate from oldplackages
Signed-off-by: Antony Antony <antony@phenome.org>
2016-03-25 13:17:46 +01:00