2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-22 18:07:25 +00:00

57 Commits

Author SHA1 Message Date
Christian Hesse
805ce64ff3 [#77,!53] replace deprecated ifconfig with ip
For linux scripts the deprected ifconfig has been replaced with ip.
However there is one leftover, replace that as well.

Closes #77

Signed-off-by: Christian Hesse <mail@eworm.de>
2022-01-12 17:48:03 +01:00
Francis Dupont
933b80fa64 Checkpoint: added start/finish v6only 2020-10-12 22:18:33 +02:00
Thomas Markwalder
d394b602d4 [master] Added DAD error checking on BOUND6 to client scripts
Merges in rt46805.
2018-01-12 10:12:41 -05:00
tmarkwalder
babe4149c5 [master] Use alias/-alias for ifconfig calls in netbsd & openbsd client scripts
Merges rt31573.
2017-06-30 14:12:23 -04:00
Tomek Mrugalski
9261cb1410 [19430] linux script significantly updated
# Conflicts:
#	client/scripts/linux
2017-06-28 14:07:08 +02:00
Marcin Siodelski
a68ec96769 [master] Implemented --dad-wait-time option for dhclient.
Merged #36169
2017-06-05 15:11:22 +02:00
Thomas Markwalder
7d9dd30689 [master] Squashed commit of the following:
commit d911f58de00fd97f0e041cd12bd6b43804c32f4b
Author: Shawn Routhier <sar@isc.org>
Date:   Mon Jul 7 19:20:13 2014 -0700

    [rt36102] Add release note

commit 9dd4630b0653e7f7405a633e7f0163c163d3cb9a
Author: Thomas Markwalder <tmark@isc.org>
Date:   Mon Jul 7 09:11:35 2014 -0400

    [master] Patched client scripts for linux and openwrt

    36102 - Client scripts were not updatig resolv.conf when reason is
    RENEW6 or REBIND6 and mode is stateless.  Note this only affects
    the linux and openwrt scripts as only these two flush the interface
    of "stale" addresses in PREINIT6
2014-07-08 13:14:19 -04:00
Shawn Routhier
f6dc164f6b -n [master]
fixes in openwrt script from the lwds-lite lab as well
   as some cosmetic changes and updating other scripts to
   use two double quotes instead of two single quotes for
   empty zone ids.
   [rt29843]
2013-08-30 13:25:12 -07:00
Shawn Routhier
394c505d23 Update description and comments for macos client script.
[ISC-Bugs #18891]
2011-09-20 16:59:54 +00:00
Shawn Routhier
4f55e11bd4 Client Script fixes
[ISC-Bugs #23045] Typos in client/scripts/openbsd
[ISC-Bugs #23565] In the client scripts add a zone id (interface id) if
the domain search address is link local.
[ISC-Bugs #1277] In some of the client scripts add code to handle the
case of the default router information being changed without the address
being changed.
2011-05-18 19:55:44 +00:00
Shawn Routhier
4e0997c6c2 Minor changes for scripts, configure.ac and Makefiles
[ISC-Bugs #19147] Use domain-search instead of domain-name in manual and
                  example conf file.  Thanks to a patch from David Cantrell
                  at Red Hat.
[ISC-Bugs #19761] Restore address when doing a rebind in DHCPv6
[ISC-Bugs #19945] Properly close the quote on some arguments.
[ISC-Bugs #20952] Add 64 bit types to configure.ac
[ISC-Bugs #21308] Add "PATH=" to CLIENT_PATH envrionment variable
2010-09-14 22:20:20 +00:00
Paul Selkirk
8a3c1e33d0 pull up from rt18597 to HEAD 2009-04-21 14:09:57 +00:00
Paul Selkirk
09c6b1cf46 initial openwrt support 2008-11-18 22:36:11 +00:00
David Hankins
236d3a996d - A dhclient-script for MacOS X has been included, which enables
'dhclient -6' support. [ISC-Bugs #18204]
2008-11-03 23:32:12 +00:00
Francis Dupont
420d8b3f0c merge 17500 2008-05-23 13:56:07 +00:00
David Hankins
30922d9c3c - The dhclient-script was updated to create a host route for the default
gateway if the supplied subnet mask for an IPv4 address was a /32.  This
  allows the client to work in 'captive' network environments, where the
  operator does not want clients to crosstalk directly.  [ISC-Bugs #17200]
2008-01-16 23:02:10 +00:00
Francis Dupont
e102ecceb9 fix IPv6 nits 2007-11-30 21:28:29 +00:00
Evan Hunt
af5fa17626 - Add support for dhcpv6 "Release" messages [rt16905]
- Add -x option, which causes running dhclient processes to exist
  gracefully *without* releasing leases [rt16741]
(Merging both at once because the first one depended on the second one)
2007-06-06 22:57:32 +00:00
David Hankins
f66f02cc9c - Duplicate dhclient-script updates for DHCPv6 to all provided scripts.
[ISC-Bugs #16875]
2007-05-18 17:18:05 +00:00
David Hankins
98bd7ca099 DHCPv6 branch merged to HEAD. 2007-05-08 23:05:22 +00:00
David Hankins
dba5803b95 - Support for compressed 'domain name list' style DHCP option contents, and
in particular the domain search option (#119) was added. [ISC-Bugs #15934]
2006-07-22 02:24:16 +00:00
David Hankins
98311e4ba9 MASSIVE merge from V3-RELEASE-BRANCH into HEAD. HEAD and V3-RELEASE are
now synced as of tag V3-0-3-BETA-1.
2005-03-17 20:15:29 +00:00
Murray
0d5e25bc07 Fix a bug that would cause problems if the server provides a new
domain name server, but not the actual domain.

Submitted by:	sanpei@sanpei.org (MIHIRA Sanpei Yoshiro)
RT #:		3038
2002-06-09 22:35:00 +00:00
Ted Lemon
a609e69bba sync with branch 2001-08-10 10:50:50 +00:00
Ted Lemon
d758ad8cac Merge changes between 3.0rc7 and 3.0rc8pl2. 2001-06-27 00:31:20 +00:00
Ted Lemon
06fa897b5e Use -f instead of -x to look for hooks. 2001-04-20 20:01:19 +00:00
Ted Lemon
c08637bb39 Add some changes suggested by Cyrille Lefevre 2001-03-22 06:59:28 +00:00
Ted Lemon
46b626384f Use eval for ifconfig so that medium can include quoted strings (yuck!) 2001-03-15 23:16:52 +00:00
Ted Lemon
cad0776d65 Use make_resolv_conf as documented. 2000-09-20 09:38:07 +00:00
Ted Lemon
d472b8d0bf Use a cleverer regexp to extract OS minor version number. 2000-07-05 06:39:22 +00:00
Ted Lemon
9f56e43728 Fix setting of hostname. 2000-05-01 17:17:25 +00:00
Ted Lemon
df6e15b7cd Pull up change from 3.0. 2000-01-25 00:59:22 +00:00
Ted Lemon
b5822ec5cd New OpenBSD support. 1999-09-08 01:42:43 +00:00
Ted Lemon
2cd9d72ce9 Add support for setting hostname 1999-09-08 01:42:34 +00:00
Ted Lemon
f8d1a65ac9 Don't use -w 1 flag, which doesn't work on FreeBSD. 1999-05-07 17:33:36 +00:00
Ted Lemon
8fddc394da Add entry, exit and resolv.conf hooks. 1999-03-29 22:35:19 +00:00
Ted Lemon
116328449c Remove ARPCHECK and ARPSEND code. 1999-03-11 01:47:01 +00:00
Ted Lemon
74f45f9642 Sync with 2.0b1pl16. Fix some pool allocation problems. 1999-02-25 23:30:43 +00:00
Ted Lemon
e43f1b77b7 Add route hop counts to all route commands. 1999-02-14 18:38:59 +00:00
Ted Lemon
26304776c6 Support Linux 2.1 and later 1999-02-14 18:38:05 +00:00
Ted Lemon
f245ec1f68 Use new_network_number, not new_network_address. Use search, not domain in /etc/resolv.conf. 1998-01-12 00:39:31 +00:00
Ted Lemon
5689130f1a Add missing fi 1998-01-11 22:25:43 +00:00
Ted Lemon
7f01219ea5 Don't echo ifconfig parameters - that was for debugging. 1997-11-22 06:15:01 +00:00
Ted Lemon
cc31f3e64b bsd/os client script (pretty much identical to NetBSD) 1997-11-20 04:37:20 +00:00
Ted Lemon
bdaa711a9d Check if variables have value before doing set $variable 1997-11-20 04:37:04 +00:00
Ted Lemon
c775ab0429 Don't need to compute network number or broadcast address anymore 1997-11-20 04:36:13 +00:00
Ted Lemon
40f04e6f62 Add support for static routes 1997-10-20 21:34:47 +00:00
Ted Lemon
92e4afa6e3 NextStep client script 1997-09-17 00:23:46 +00:00
Ted Lemon
f404b59e4f Chmod resolv.conf in case umask is bogus 1997-09-16 18:10:50 +00:00
Ted Lemon
ac86795349 Solaris client script 1997-06-03 00:19:55 +00:00