Roy Marples
ddeace4bd4
Release 4.99.6
2008-11-25 21:00:46 +00:00
Roy Marples
3ad4d331af
Fix some LINT errors.
2008-11-10 11:15:27 +00:00
Roy Marples
459f34f308
Release 4.99.3
2008-10-29 13:02:41 +00:00
Roy Marples
bbe2fd074f
4.99.2
2008-09-19 13:36:40 +00:00
Roy Marples
b4160f6713
Loads of changes, so the next full version will be 5.0. We'll releae 4.99.1 here.
2008-09-15 19:31:18 +00:00
Roy Marples
48fdb3a5ee
We don't add this anymore.
2008-09-13 10:49:23 +00:00
Roy Marples
f6de5860b6
As our logger calls emulate syslog, we can use %m. However, this means we have to convert it for printf as POSIX does not require that printf supports it. This also means we drop -pedantic from our GCC flags.
2008-09-05 13:12:35 +00:00
Roy Marples
f43e585355
Add a control socket so that interfaces can be dynamically re-set.
...
This requires the event loop argument being changed to void *
so we can send arguments other than an interface.
2008-09-03 16:49:28 +00:00
Roy Marples
fd05b7dcfc
Add an event loop.
...
Split client.c into smaller files and functions and
recode around the event loop.
Add multiple interface support using the new event loop.
Document changes and outstanding bugs.
2008-09-02 13:28:11 +00:00
Roy Marples
f0c82200f2
Release dhcpcd-4.0.0 :D
2008-08-24 11:56:30 +00:00
Roy Marples
be5aa34488
Release dhcpcd-4.0.0-rc5
2008-08-15 19:24:39 +00:00
Roy Marples
2e0d9c2543
Release dhcpcd-4.0.0-rc4
2008-07-28 14:35:20 +00:00
Roy Marples
13a2e34a69
Release dhcpcd-4.0.0-rc3
2008-07-27 10:29:12 +00:00
Roy Marples
b8b4be9a39
Remove #ifdefs to disable specific bits of code. We now build everything - we're small enough :)
2008-07-23 17:06:42 +00:00
Roy Marples
482f13c723
Release dhcpcd-4.0.0-rc2
2008-07-23 16:08:27 +00:00
Roy Marples
21232258e3
Release dhcpcd-4.0.0-rc1
2008-07-22 09:10:55 +00:00
Roy Marples
fce166cfdb
beta9
2008-07-08 16:08:11 +00:00
Roy Marples
31e182aa7a
dhcpcd-4.0.0-beta8
2008-07-05 13:40:19 +00:00
Roy Marples
b953fded8b
Remove ENABLE_DUID and introduce MINIMAL, which removes all non essential userland options, knocking around 6k off the binary size.
2008-07-04 13:02:33 +00:00
Roy Marples
261eb2d41f
Remove previous toggles for classid, clientid, userclass and vendor - they call *could* be required for DHCP. Add a string parser and process all user strings through it.
2008-07-02 17:05:41 +00:00
Roy Marples
d65fd32df0
Allow ClassID to be configured.
2008-06-30 16:35:41 +00:00
Roy Marples
413724d05e
Allow clientid to be configured.
2008-06-30 16:27:15 +00:00
Roy Marples
79f58b5d88
Allow userclass to be compiled out.
2008-06-30 16:15:29 +00:00
Roy Marples
757520c586
Add support for vendor encapsulated options. Also, MINIAL define now disables all configurable options.
2008-06-30 16:02:56 +00:00
Roy Marples
8094302cf1
beta7
2008-06-20 06:56:31 +00:00
Roy Marples
fd34289e21
Bump to beta6 for internal testing and move UNCONST to common.h
2008-06-07 00:15:14 +00:00
Roy Marples
26b48f9559
DISABLE_FEATURE defines now don't enable automatic ENABLE_FEATURE defines.
2008-05-29 08:26:57 +00:00
Roy Marples
98335969de
dhcpcd-4.0.0-beta5
2008-05-24 17:47:44 +00:00
Roy Marples
ee4e620abb
Move dhcpcd.sh to dhcpcd-run-hooks and remove .sh suffixes
2008-05-24 17:15:14 +00:00
Roy Marples
9f1fea6b03
Just use /etc.
2008-05-22 21:41:40 +00:00
Roy Marples
0aeb350cfa
Install dhcpcd.sh and hooks into /libexec by default. dhcpcd.conf, dhcpcd.duid and dhcpcd.hook are now in /etc.
2008-05-20 12:23:29 +00:00
Roy Marples
8a5b130746
Style
2008-05-19 14:47:37 +00:00
Roy Marples
9934ead60e
Trap some config.h defines if they're in CFLAGS.
2008-05-19 14:45:05 +00:00
Roy Marples
7b15d336d9
Move VERSION from Makefile to config.h so that other Makefiles can be used instead of our own.
2008-05-19 13:36:06 +00:00
Roy Marples
343c1ae641
Prettify code a little.
2008-05-14 12:19:05 +00:00
Roy Marples
d7698d1c90
Clarify comment about DUID usage.
2008-05-07 09:10:19 +00:00
Roy Marples
833f739efa
Don't explicity create an IPV4LL route if we have a routeable address - the host system should make this choice.
2008-05-07 09:07:28 +00:00
Roy Marples
1410db936a
Fix compile with commandline compat.
2008-04-25 11:01:02 +00:00
Roy Marples
25d71b6065
Allow a config file to be specified on the command line.
2008-04-24 13:18:59 +00:00
Roy Marples
ba9dfb7aae
dhcpcd can now read a basic config file! Add a default dhcpcd.conf and matching man page. Add dhcpcd.sh man page. dhcpcd can now report variables it can send to dhcpcd.sh as well.
2008-04-18 23:12:44 +00:00
Roy Marples
7eb93bd9e4
Move the duid file to /etc/dhcpcd as it's really a config file. Also, rename hook dirs to dhcpcd- so they could be installed into /etc and not just /etc/dhcpcd.
2008-04-17 21:18:20 +00:00
Roy Marples
dcab79de5e
Remove the .info file and now set environment vars in the same vein as dhclient. This allows similar scripts to be used.
2008-04-16 09:51:20 +00:00
Roy Marples
c46c624e7f
Change a few build/install knobs.
2008-04-14 13:09:44 +00:00
Roy Marples
5a98646f72
Move configuration file setup to dhcpcd.sh so that it's possible for the user to change more easily. We now have enter/exit hooks similar to dhclient to make things even easier for the user. At this time, we are still 100% commandline compatible. However, we have lost the feature to lookup hostnames.
2008-04-12 23:00:23 +00:00
Roy Marples
1a60d14fa2
Normally I hate massive code drops, but heh.
...
The code has been drastically re-arranged.
Instead of populating a custom structure while parsing dhcp messages, we now pluck what we need right out of the message itself. We have custom functions and a lookup table to make this really easy.
This makes us more like dhclient and udhcpc, and will enable us to easily add (and remove!) more dhcp options without having to actually change the code (much).
We now store the real dhcp message we got in /var/db/dhcpcd-$iface.lease, the mtime of the file being used as when we got the lease. This file is read in when re-using an old lease instead of parsing the .info file.
The benefit of all of this means that we're actually ~15k smaller when compiled with the same features.
This has been tested for quite some time, and I'm pretty sure most bugs with the 3.2 branch have been fixed whilst making this. Right now, we are 99% command line compatible with the 3.2 branch.
2008-04-11 16:14:55 +00:00
Roy Marples
a9819bfb1f
Split interface and socket out into OS bpf, if-bsd and if-linux.
2008-03-24 01:29:33 +00:00
Roy Marples
dc9be8a47f
Quiet some lint warnings.
2008-01-21 21:19:53 +00:00
Roy Marples
fc367a018f
Add correct license
2008-01-16 15:59:14 +00:00
Roy Marples
1fe2d190cf
We now work with C90 compilers, so no need to enforce C99.
2008-01-16 14:32:35 +00:00
Roy Marples
782830eb5d
Belatedly into 2008 :)
2008-01-08 09:51:23 +00:00