dhcp/SOURCES
2023-03-29 01:39:57 +00:00
..
11-dhclient import dhcp-4.4.2-15.b1.el9 2021-12-09 11:52:20 +00:00
56dhclient import dhcp-4.4.2-15.b1.el9 2021-12-09 11:52:20 +00:00
0001-change-bug-url.patch import dhcp-4.4.2-15.b1.el9 2021-12-09 11:52:20 +00:00
0002-additional-dhclient-options.patch import dhcp-4.4.2-15.b1.el9 2021-12-09 11:52:20 +00:00
0003-Handle-releasing-interfaces-requested-by-sbin-ifup.patch import dhcp-4.4.2-15.b1.el9 2021-12-09 11:52:20 +00:00
0004-Support-unicast-BOOTP-for-IBM-pSeries-systems-and-ma.patch import dhcp-4.4.2-15.b1.el9 2021-12-09 11:52:20 +00:00
0005-Change-default-requested-options.patch import dhcp-4.4.2-15.b1.el9 2021-12-09 11:52:20 +00:00
0006-Various-man-page-only-fixes.patch import dhcp-4.4.2-15.b1.el9 2021-12-09 11:52:20 +00:00
0007-Change-paths-to-conform-to-our-standards.patch import dhcp-4.4.2-15.b1.el9 2021-12-09 11:52:20 +00:00
0008-Make-sure-all-open-file-descriptors-are-closed-on-ex.patch import dhcp-4.4.2-15.b1.el9 2021-12-09 11:52:20 +00:00
0009-Fix-garbage-in-format-string-error.patch import dhcp-4.4.2-15.b1.el9 2021-12-09 11:52:20 +00:00
0010-Handle-null-timeout.patch import dhcp-4.4.2-15.b1.el9 2021-12-09 11:52:20 +00:00
0011-Drop-unnecessary-capabilities.patch import dhcp-4.4.2-15.b1.el9 2021-12-09 11:52:20 +00:00
0012-RFC-3442-Classless-Static-Route-Option-for-DHCPv4-51.patch import dhcp-4.4.2-15.b1.el9 2021-12-09 11:52:20 +00:00
0013-DHCPv6-over-PPP-support-626514.patch import dhcp-4.4.2-15.b1.el9 2021-12-09 11:52:20 +00:00
0014-IPoIB-support-660681.patch import dhcp-4.4.2-15.b1.el9 2021-12-09 11:52:20 +00:00
0015-Add-GUID-DUID-to-dhcpd-logs-1064416.patch import dhcp-4.4.2-15.b1.el9 2021-12-09 11:52:20 +00:00
0016-Turn-on-creating-sending-of-DUID.patch import dhcp-4.4.2-15.b1.el9 2021-12-09 11:52:20 +00:00
0017-Send-unicast-request-release-via-correct-interface.patch import dhcp-4.4.2-15.b1.el9 2021-12-09 11:52:20 +00:00
0018-No-subnet-declaration-for-iface-should-be-info-not-e.patch import dhcp-4.4.2-15.b1.el9 2021-12-09 11:52:20 +00:00
0019-dhclient-write-DUID_LLT-even-in-stateless-mode-11563.patch import dhcp-4.4.2-15.b1.el9 2021-12-09 11:52:20 +00:00
0020-Discover-all-hwaddress-for-xid-uniqueness.patch import dhcp-4.4.2-15.b1.el9 2021-12-09 11:52:20 +00:00
0021-Load-leases-DB-in-non-replay-mode-only.patch import dhcp-4.4.2-15.b1.el9 2021-12-09 11:52:20 +00:00
0022-dhclient-make-sure-link-local-address-is-ready-in-st.patch import dhcp-4.4.2-15.b1.el9 2021-12-09 11:52:20 +00:00
0023-option-97-pxe-client-id.patch import dhcp-4.4.2-15.b1.el9 2021-12-09 11:52:20 +00:00
0024-Detect-system-time-changes.patch import dhcp-4.4.2-15.b1.el9 2021-12-09 11:52:20 +00:00
0025-bind-Detect-system-time-changes.patch import dhcp-4.4.2-15.b1.el9 2021-12-09 11:52:20 +00:00
0026-Add-dhclient-5-B-option-description.patch import dhcp-4.4.2-15.b1.el9 2021-12-09 11:52:20 +00:00
0027-Add-missed-sd-notify-patch-to-manage-dhcpd-with-syst.patch import dhcp-4.4.2-15.b1.el9 2021-12-09 11:52:20 +00:00
0028-Fix-for-CVE-2021-25217.patch import dhcp-4.4.2-15.b1.el9 2021-12-09 11:52:20 +00:00
0029-Use-system-getaddrinfo-for-dhcp.patch import dhcp-4.4.2-15.b1.el9 2021-12-09 11:52:20 +00:00
CVE-2021-25220.patch import dhcp-4.4.2-17.b1.el9 2022-09-28 12:04:13 +00:00
CVE-2022-2928.patch import dhcp-4.4.2-18.b1.el9 2023-03-29 01:39:57 +00:00
CVE-2022-2929.patch import dhcp-4.4.2-18.b1.el9 2023-03-29 01:39:57 +00:00
dhclient-script import dhcp-4.4.2-15.b1.el9 2021-12-09 11:52:20 +00:00
dhcp.sysusers import dhcp-4.4.2-18.b1.el9 2023-03-29 01:39:57 +00:00
dhcpd6.service import dhcp-4.4.2-15.b1.el9 2021-12-09 11:52:20 +00:00
dhcpd.service import dhcp-4.4.2-15.b1.el9 2021-12-09 11:52:20 +00:00
dhcrelay.service import dhcp-4.4.2-15.b1.el9 2021-12-09 11:52:20 +00:00
omshell-hmac-sha512-support.patch import dhcp-4.4.2-17.b1.el9 2022-09-28 12:04:13 +00:00
README.dhclient.d import dhcp-4.4.2-15.b1.el9 2021-12-09 11:52:20 +00:00

The /etc/dhcp/dhclient.d directory allows other packages and system
administrators to create application-specific option handlers for dhclient.

When dhclient is run, any option listed in the dhcp-options(5) man page can
be requested.  dhclient-script does not handle every option available
because doing so would make the script unmaintainable as the components
using those options might change over time.  The knowledge of how to handle
those options should be under the responsibility of the package maintainer
for that component (e.g., NTP options belong in a handler in the ntp
package).

To make maintenance easier, application specific DHCP options can be handled
by creating a bash script with two functions and placing it in /etc/dhcp/dhclient.d

The script must follow a specific form:

(1) The script must be named NAME.sh.  NAME can be anything, but it makes
    sense to name it for the service it handles.  e.g., ntp.sh

(2) The script must provide a NAME_config() function to read the options and
    do whatever it takes to put those options in place.

(3) The script must provide a NAME_restore() function to restore original
    configuration state when dhclient stops.

(4) The script must be 'chmod +x' or dhclient-script will ignore it.

The scripts execute in the same environment as dhclient-script.  That means
all of the functions and variables available to it are available to your
NAME.sh script.  Things of note:

    ${SAVEDIR} is where original configuration files are saved.  Save your
    original configuration files here before you take the DHCP provided
    values and generate new files.

    Variables set in /etc/sysconfig/network, /etc/sysconfig/networking/network,
    and /etc/sysconfig/network-scripts/ifcfg-$interface are available to
    you.

See the scripts in /etc/dhcp/dhclient.d for examples.

NOTE:  Do not use functions defined in /usr/sbin/dhclient-script.  Consider
dhclient-script a black box.  This script may change over time, so the
dhclient.d scripts should not be using functions defined in it.

-- 
David Cantrell <dcantrell@redhat.com>