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
Roy Marples
3246cfaf3c
Use $ifmetric instead of $metric.
2011-02-07 17:40:15 +00:00
Roy Marples
815f80c898
actual -> actually
2011-02-04 15:31:50 +00:00
Roy Marples
eb99814091
2011 and new version.
2011-02-04 14:56:03 +00:00
Roy Marples
b92c960fe0
Use RT_ROUNDUP and friends so that we work with NetBSD 64-bit routing.
2011-02-04 14:43:51 +00:00
Roy Marples
bffdfbcece
Welcome to 2011!
2011-01-03 11:42:43 +00:00
Roy Marples
006894bf46
Update documentation about --request.
2011-01-03 11:41:40 +00:00
Roy Marples
6a248dab01
Release dhcpcd-5.2.10
2011-01-03 10:54:58 +00:00
Roy Marples
5b39d8f59c
Fix -r, --request address option
2010-12-23 22:18:56 +00:00
Roy Marples
64bc759d08
Compile on Mac OSX 10.4.
...
Thanks to David Brownlee.
2010-12-06 15:01:56 +00:00
Roy Marples
712e1d1bed
No need to restart twice.
2010-11-19 10:17:14 +00:00
Roy Marples
41255814df
Release dhcpcd-5.2.9
2010-11-18 19:12:55 +00:00
Roy Marples
bc760dc8f4
Improve comments.
2010-11-18 19:12:22 +00:00
Roy Marples
699fee4691
Fix ypbind and remove un-needed quoting.
2010-11-18 19:09:02 +00:00
Roy Marples
9f0a88cbdb
Document RELEASE reason, fixes #205 .
2010-11-18 09:40:50 +00:00
Roy Marples
00de745ada
No point in building handle_hwaddr if we don't have RTM_CHGADDR
2010-11-12 20:39:29 +00:00
Roy Marples
8349d72adf
Support RTM_CHGADDR in NetBSD-6 for detecting link layer address changes.
2010-11-12 16:33:45 +00:00
Roy Marples
6b5542f174
Fix working out the inform address if none given.
2010-11-11 21:07:50 +00:00
Roy Marples
d8c9c2b501
Add the hwaddr to be used to debugging.
2010-11-09 00:35:40 +00:00
Roy Marples
f1422e8cd2
Don't configure the interface twice.
2010-11-09 00:34:38 +00:00
Roy Marples
65aaa72c88
Don't redefine _GNU_SOURCE.
2010-11-05 08:13:07 +00:00
Roy Marples
4c757a5919
Respect $SED
2010-11-04 09:12:14 +00:00
Roy Marples
7c3dbf074e
Another kFreeBSD fix.
2010-10-27 14:17:21 +00:00
Roy Marples
51fab30d23
Fix invoke-rc.d detection, #202 .
2010-10-23 00:15:42 +00:00
Roy Marples
d77d1976f1
whitespace.
2010-10-22 17:55:44 +00:00
Roy Marples
e57b60bb2a
Add link_addr from NetBSD so that we compile on kFreeBSD as nothing
...
there seems to provide that function.
2010-10-20 11:27:32 +00:00
Roy Marples
443c869540
Man page corrections.
2010-10-17 10:44:54 +00:00
Roy Marples
8805f68455
Fix syntax.
2010-10-11 16:34:39 +00:00
Roy Marples
ebf35f468c
Change delete_timeouts into a macro.
2010-10-11 14:53:06 +00:00
Roy Marples
681087be60
Allow queues to be defined at the start.
2010-10-11 08:52:43 +00:00
Roy Marples
5caa56cfba
Punt empty line
2010-10-07 14:43:12 +00:00
Roy Marples
6cf239b7c1
Release dhcpcd-5.2.8
2010-10-06 08:53:28 +00:00
Roy Marples
73b25eb9bf
Some DHCP servers assign a host route via static routes by setting the
...
gateway address to the leased address. This differs from the normal
approach of making the gateway address match the destination address,
so we change it when building our routing table.
2010-09-27 19:24:10 +00:00
Roy Marples
f354d5f650
Install the dump hook by default.
2010-09-27 19:08:17 +00:00
Roy Marples
d207e3fc4b
If we get a NAK during a test, we should not read the old lease as
...
it's not dropped during the NAK handling.
2010-09-09 18:27:00 +00:00
Roy Marples
aab7068082
Move service detection and interaction logic from the hooks to the
...
configure script. This makes the hooks a lot less messy.
2010-09-09 14:40:27 +00:00
Roy Marples
98269b38f9
Document --version.
2010-08-31 08:43:13 +00:00
Roy Marples
d48c85ddd6
Don't need this.
2010-08-24 13:35:15 +00:00