Commit Graph

59 Commits

Author SHA1 Message Date
Jiri Popelka
b81510d1c4 dhclient-script: one more fix for #1129500 2014-08-14 14:53:19 +02:00
Jiri Popelka
efdf4e797d dhclient-script: revert one older change
This has been reverted upstream with:

- Disable the gentle shutdown functionality until we can determine
  the best way to present it to remove or reduce the side effects.
  [ISC-Bugs #36066]
2014-08-14 11:38:51 +02:00
Jiri Popelka
991bd354d9 dhclient-script: PREINIT6: make sure link-local address is available (#1129500) 2014-08-14 11:38:42 +02:00
Jiri Popelka
5938016904 dhclient-script: it's OK if the arping reply comes from our system (#1116004) 2014-08-05 16:29:22 +02:00
Filipe Brandenburger
6b7e125d8b dhclient-script: fix static classless routes
This fixes an issue with handling of classless static routes that breaks
Fedora 20 on GCE cloud VMs (#1102830).

Signed-off-by: Filipe Brandenburger <filbranden@google.com>
Signed-off-by: Jiri Popelka <jpopelka@redhat.com>
2014-06-16 15:00:40 +02:00
Jiri Popelka
4533a8a170 dhclient-script: fix stateless DHCPv6 mode (#1101149) 2014-05-28 17:47:08 +02:00
Jiri Popelka
d80cfcbfe3 dhclient-script: don't flush all addresses, just the used one 2014-02-19 18:04:49 +01:00
Jiri Popelka
e7bd38e572 4.3.0b1
- ship dhcp-lease-list.pl
- dhclient-script: don't ping router (#1055181)
2014-01-21 10:34:27 +01:00
Jiri Popelka
543c1a5814 update address lifetimes on RENEW/RENEW6 (#1032809) 2014-01-13 13:28:07 +01:00
Jiri Popelka
e3ee5b17e9 dhclient-script: set address lifetimes (#1032809) 2013-11-21 14:52:30 +01:00
Jiri Popelka
e220d8e06b dhclient-script: don't eviscerate resolv.conf when mktemp fails 2013-11-15 12:53:50 +01:00
Jiri Popelka
aa59a9986b dhclient-script(RENEW6|REBIND6): delete old ip6_address if it changed (#1015729) 2013-11-14 15:20:26 +01:00
Tomas Hozza
60e971c9e5 dhclient-script: calling dhclient-up-hooks after setting up route, gateways
& interface alias (#848869)
2012-08-20 15:41:22 +02:00
Tomas Hozza
5a6fff1160 dhclient-script: fixed CONFIG variable value passed to need_config (#848858) 2012-08-20 12:27:52 +02:00
Jiri Popelka
8162f59b94 define $SAVEDIR in dhclient-script (#833054) 2012-06-18 16:19:31 +02:00
Jiri Popelka
efe27aa872 4.2.4rc1 2012-05-01 09:23:59 +02:00
Jiri Popelka
634087ae6d remove inherit-leases.patch - it's probably not needed anymore (#815355) 2012-04-26 14:58:19 +02:00
Jiri Popelka
cfe00c427f move dhclient & dhclient-script from /sbin to /usr/sbin 2012-04-02 12:05:14 +02:00
Jiri Popelka
4e92627fc4 dhclient-script: install link-local static routes with correct scope (#787318) 2012-02-07 11:09:27 +01:00
Jiri Popelka
367b443933 dhclient-script: use dadfailed flag in add_ipv6_addr_with_DAD() 2012-01-04 18:10:42 +01:00
Jiri Popelka
0acc1b8c2c revert change made in 4.2.3-3 because of failing failover (#765967)
don't need to fix lease files ownership before starting service
dhclient-script: allow static route with a 0.0.0.0 next-hop addressi (#769463
2011-12-21 12:20:29 +01:00
Jiri Popelka
9af3b80de3 dhclient-script: arping address in BOUND|RENEW|REBIND|REBOOT (#752116) 2011-11-11 14:00:38 +01:00
Jiri Popelka
5c5bbc0b1a dhclient-script: address alias fixes (#741786) 2011-09-29 14:29:21 +02:00
Jiri Popelka
1e3f54a9ec dhclient-script: do not backup&restore /etc/resolv.conf and /etc/localtime.
This has been Fedora/RHEL feature only.
I don't know why it was added but
I also don't see how it could be useful and bugs
656339 and 306381 show that it's not so good idea.
2011-09-22 15:52:44 +02:00
Jiri Popelka
9b3b26027b dhclient-script: backport upstream changes 2011-07-01 15:04:42 +02:00
Jiri Popelka
a2aab09028 dhclient-script improvements (#672279) 2011-01-28 15:43:40 +01:00
Jiri Popelka
b909aab049 dhclient-script: another fix for checking for other running dhclient 2011-01-18 18:02:35 +01:00
Jiri Popelka
c8c18ca6c8 dhclient-script: fix checking for other running dhclient 2011-01-07 13:19:41 +01:00
Jiri Popelka
5d3b86d844 dhclient-script: added missing quotation marks 2010-12-23 15:50:49 +01:00
Jiri Popelka
7b41fdb208 4.2.0-P2: fix for CVE-2010-3616 (#662326)
- Use upstream fix for #628258
- Provide versioned symbols for rpmlint
2010-12-13 12:08:24 +01:00
Jiri Popelka
76c2a1e49b DHCPv6 over PPP support (#626514) 2010-11-09 17:01:11 +01:00
Jiri Popelka
94ec5da03a Add domain part of hostname to 'search' statement in resolv.conf 2010-11-04 20:12:23 +01:00
Jiri Popelka
b0cb903be6 Fix BOUND6/RENEW6/REBIND6 in dhclient-script. 2010-10-13 12:09:41 +02:00
Jiri Popelka
b112ec7432 s/ping/arping/ in dhclient-script to handle not-on-local-net gateway in ARP-less device (#524298) 2010-10-07 18:05:44 +02:00
Jiri Popelka
2560aa7e3c RFC 3442 - improved dhclient-script 2010-10-04 11:55:50 +02:00
Jiri Popelka
d5a4ff8b46 Do not bring the interface down (#574568) 2010-09-30 16:04:48 +02:00
Jiri Popelka
a21bc05f7d RFC 3442 - Classless Static Route Option for DHCPv4 (#516325) 2010-08-31 13:10:13 +02:00
Jiří Popelka
911542218a - 4.1.1-P1 (pair of bug fixes including one for a security related bug).
- Compile with -fno-strict-aliasing
2010-06-02 14:09:12 +00:00
Jiří Popelka
2d5915903a - If the Reply was received in response to Renew or Rebind message, client
adds any new addresses in the IA option to the IA (#578097)
2010-04-21 14:56:20 +00:00
Jiří Popelka
21b8c45264 - In dhclient-script check whether bound address passed duplicate address
detection (DAD) (#559147)
- If the bound address failed DAD (is found to be in use on the link), the
    dhcpv6 client sends a Decline message to the server as described in
    section 18.1.7 of RFC-3315 (#559147)
2010-03-24 11:06:45 +00:00
Jiří Popelka
c4025679fd - Fix UseMulticast.patch to not repeatedly parse dhcpd.conf for unicast
option
- Fix dhclient-script to set interface MTU only when it's greater than 576
    (#574629)
2010-03-19 17:22:59 +00:00
Jiří Popelka
5ec8ece1f2 - In dhclient-script:
- use ip command options '-4' or '-6' as shortcuts for '-f[amily] inet'
    resp. '-f[amily] inet6'
- do not use IP protocol family identifier with 'ip link'
2010-02-19 11:37:25 +00:00
Jiří Popelka
152a4960a9 - Fix dhclient-script to delete address which the client is going to
release as soon as it begins the Release message exchange process
    (#559142)
2010-02-05 15:09:41 +00:00
Jiří Popelka
9ca442a1dd - Honor DEFROUTE=yes|no for all connection types (#530209) 2009-11-23 09:14:24 +00:00
Jiří Popelka
9726e0ff9f - Make dhclient-script add IPv6 address to interface (#531997) 2009-10-30 09:51:58 +00:00
David Cantrell
f195973b7b - Update dhclient-script with handlers for DHCPv6 states 2009-09-19 06:22:33 +00:00
David Cantrell
226011db1a - Handle cases in add_timeout() where the function is called with a NULL
value for the 'when' parameter (#506626)
- Fix SELinux denials in dhclient-script when the script makes backup
    configuration files and restores them later (#483747)
2009-06-27 03:17:04 +00:00
David Cantrell
cdcc09a23b - Restrict interface names given on the dhcpd command line to length
IFNAMSIZ or shorter (#441524)
- Change to /etc/sysconfig/network-scripts in dhclient-script before
    calling need_config or source_config (#496233)
2009-04-21 20:41:30 +00:00
David Cantrell
84c00d5bf3 - Make dhclient-script work with pre-configured wireless interfaces
(#491157)
2009-04-21 01:14:15 +00:00
David Cantrell
48e25b704b - Fix setting default route when client IP address changes (#486512,
#473658)
- 'reload' and 'try-restart' on dhcpd and dhcrelay init scripts will
    display usage information and return code 3
2009-04-17 21:48:50 +00:00