Roy Marples
70b967d7d7
Remove the RA's before reporting no carrier.
2012-01-29 16:49:04 +00:00
Roy Marples
b1a20121fb
Only set if_up for a ROUTERADVERT if we have any RAs
...
Conversely, we need to pretend it's up without any RAs to successfully
remove it.
2012-01-29 16:45:14 +00:00
Roy Marples
0c6ad78288
Don't start IPv6 if it's disabled globally.
2012-01-29 16:32:06 +00:00
Roy Marples
c46132f64e
Fix RA state detection
2012-01-25 17:30:41 +00:00
Roy Marples
bd924a0f09
Release dhcpcd-5.5.0
2012-01-24 11:27:55 +00:00
Roy Marples
efaacbbf18
Add and prefer clang to the compiler list.
...
The compiler version is now shown during configure.
2012-01-24 11:26:20 +00:00
Roy Marples
29fe5ed6a4
Just log the fact that the leased IP address was removed instead of
...
expiring the lease. This allows --reconfigure, -g to fully work as
intended.
2011-12-18 12:12:08 +00:00
Roy Marples
1c657b0883
Stop the --reconfigure, -g option from spinning needlessly.
...
Thanks to Mike Crowe.
2011-12-18 12:11:08 +00:00
Roy Marples
f36522c53f
Fix hook for non RA's.
...
Remove RA's before the DHCP lease.
Correctly send 3 RA solicitations.
2011-12-16 12:20:04 +00:00
Roy Marples
d522b92049
Disable IPv6RS on p2p, lo and mcast interfaces.
2011-12-15 03:37:27 +00:00
Roy Marples
7be4b9b31f
Fix warnings on Linux
2011-12-15 03:22:47 +00:00
Roy Marples
93b871dce1
Add ROUTERADVERT to dhcpcd-run-hooks(8)
2011-12-15 03:13:15 +00:00
Roy Marples
bb84865096
Hook the new RA options into resolv.conf
2011-12-15 03:02:46 +00:00
Roy Marples
8273ac5a42
Fix copyright dates
2011-12-15 02:41:10 +00:00
Roy Marples
91cd732493
Add an implementation of an IPv6 Router Solicitor as specified in
...
RFC6016 with regards to RDNSS and DNSSL.
2011-12-15 02:35:47 +00:00
Roy Marples
1011354f32
Fix a potential error if we need to alter the sip server string.
2011-12-14 09:57:56 +00:00
Roy Marples
83c08c2068
Only regen resolv.conf if we need to as some processes could monitor it
...
for changes and restart themselves needlessly.
2011-12-14 07:59:54 +00:00
Roy Marples
67ab3e7b17
If we a 3rd party removes our assigned address, drop our lease.
2011-12-11 22:03:52 +00:00
Roy Marples
1b44ab74ad
If an address is whipped out after adding it by something else,
...
don't crash.
2011-12-11 21:14:49 +00:00
Roy Marples
c3fbbde164
Fix SIP server support, RFC 3361 which has been broken since dhcpcd-3.3.
...
Thanks to Egil Hjelmeland.
2011-12-09 19:40:05 +00:00
Roy Marples
59800a97c7
Add SixRD support, RFC5969.
...
Thanks to Jeroen Vreeken.
2011-12-09 19:09:55 +00:00
Roy Marples
cef1585bc4
Store the assigned metric against the route.
...
This allows us to change the route metric via dhcpcd -n --metric $val $if
2011-11-23 20:30:24 +00:00
Roy Marples
262eb08218
Don't removed interfaces anymore when sending commands to an interface.
...
To remove an interface, it now has to be done explicty.
2011-11-23 20:29:25 +00:00
Roy Marples
9d3af9192f
Bridge interfaces set IFF_LOWER_UP when they have a valid
...
hardware address. To trigger a valid hardware address pickup
we need to pretend that that don't exist until they have
IFF_LOWER_UP set.
2011-11-23 13:49:44 +00:00
Roy Marples
75092c2373
Optimize bitwise useage a little.
2011-11-23 11:59:53 +00:00
Roy Marples
e896947f2c
Fix bitwise logic
2011-11-23 10:53:53 +00:00
Roy Marples
5f3b570cfd
Fix carrier handling on BSD
2011-11-23 09:57:34 +00:00
Roy Marples
126abb55cf
Respect each kernel message on carrier change instead of checking carrier
...
after receiving the message as it's possible for the kernel to react faster
than dhcpcd.
2011-11-23 09:03:24 +00:00
Roy Marples
499225e43f
Change default reboot timeout to 5 seconds.
...
When rebooting and we haven't daemonised, reduce the discover timeout
to allow for fallback or IPv4LL addresses.
2011-11-22 23:44:32 +00:00
Roy Marples
e51462158e
Correctly restart ntp on Debian.
2011-06-14 08:37:06 +00:00
Roy Marples
e015c2f96c
Detect ntp.conf exists before copying.
...
Fixes Debian #630420
2011-06-14 06:17:40 +00:00
Roy Marples
ac33483a6d
Remove unknown variable
2011-06-03 20:11:53 +00:00
Roy Marples
f86a2da562
Use printf correctly
2011-06-03 20:08:28 +00:00
Roy Marples
5cbb26a03b
Shell portability fixes
2011-06-01 06:28:41 +00:00
Roy Marples
d5234a51d9
Fix compile on some sytems, fixes #223 .
2011-05-27 16:30:04 +00:00
Roy Marples
8d8555b6a6
Fix Arch Linux SERVICESTATUS override.
...
Thanks to Clemens Fischer.
2011-05-22 06:19:33 +00:00
Roy Marples
99b6985c33
Typo
2011-04-09 18:45:55 +00:00
Roy Marples
f0ffbd32f8
Release dhcpcd-5.2.12
2011-04-06 08:25:51 +00:00
Roy Marples
66fedad662
Escape | and & characters when passing to the shell.
...
Add functions for hooks to check validity of domain names and paths.
Ensure we set a valid hostname, DNS domain and NIS domain.
Document the need for input validation in dhcpcd-run-hooks(8).
Fixes CVE-2011-996.
Based on patches to dhcpcd-3 by Marius Tomaschewski <mt@suse.de>.
2011-04-06 08:16:32 +00:00
Roy Marples
8d796699f0
When operating on one interface only, respect the configured timeout.
2011-03-29 10:36:17 +00:00
Roy Marples
ba2c29b403
When requesting an address, note this in the broadcasting message.
2011-03-25 20:19:03 +00:00
Roy Marples
1876157a45
Update some copyrights.
2011-03-24 18:08:16 +00:00
Roy Marples
19c67b58c1
Not needed
2011-03-24 18:04:06 +00:00
Roy Marples
37eea8615a
When the dhcp server is running in dom0 and the client in domU,
...
packets (that are not explicitely checksumed in the userspace)
sent to the another domain have partial UDP checksums (offload)
only, but are marked as such. This patch reads and checks the
mark to decide whether to verify the UDP checksum or not.
Based on the ISC dhcp patch by David Cantrell.
Thanks to Marius Tomaschewski.
2011-03-24 17:59:20 +00:00
Roy Marples
33b768dae8
When the leased address changes on the interface but existing routes
...
remain the same, we need to change the routes so that the source address
changes as well.
2011-03-24 17:08:31 +00:00
Roy Marples
0664205f8d
Validate the IP address offered, as some faulty DHCP servers like to
...
give is an invalid one.
2011-03-24 01:55:06 +00:00
Roy Marples
bbaa324edc
Make logger calls resemble dhcpcd calls to syslog(3).
2011-03-22 12:49:06 +00:00
Roy Marples
776961cf83
Parse subnet_mask= static option instead of deriving from ip_address=
2011-03-22 12:18:47 +00:00
Roy Marples
a7cf2dbcc0
Exclude interface specific values when dumping the lease.
2011-03-11 12:25:01 +00:00
Roy Marples
6e064e5728
Fix compile issue on RedHat 9
2011-03-08 20:38:26 +00:00