]> git.ipfire.org Git - thirdparty/dhcpcd.git/log
thirdparty/dhcpcd.git
18 years agoShould clean the core files too.
Roy Marples [Thu, 29 May 2008 19:05:28 +0000 (19:05 +0000)] 
Should clean the core files too.

18 years agoImprove documentation about inform
Roy Marples [Thu, 29 May 2008 17:04:29 +0000 (17:04 +0000)] 
Improve documentation about inform

18 years agopersist addresses for INFORM
Roy Marples [Thu, 29 May 2008 16:57:47 +0000 (16:57 +0000)] 
persist addresses for INFORM

18 years agoRemove pointless header.
Roy Marples [Thu, 29 May 2008 15:08:39 +0000 (15:08 +0000)] 
Remove pointless header.

18 years agoCheck size of arp reply vs what we need. Also, no need to copy out the hardware addre...
Roy Marples [Thu, 29 May 2008 13:21:58 +0000 (13:21 +0000)] 
Check size of arp reply vs what we need. Also, no need to copy out the hardware addresses.

18 years agoRespect RFC 3927 more, regarding times and conflicts.
Roy Marples [Thu, 29 May 2008 11:58:25 +0000 (11:58 +0000)] 
Respect RFC 3927 more, regarding times and conflicts.

18 years agoDISABLE_FEATURE defines now don't enable automatic ENABLE_FEATURE defines.
Roy Marples [Thu, 29 May 2008 08:26:57 +0000 (08:26 +0000)] 
DISABLE_FEATURE defines now don't enable automatic ENABLE_FEATURE defines.

18 years agoEnsure that IPV4LL defends by doing a DHCP_DISCOVER for 10 seconds and then falling...
Roy Marples [Wed, 28 May 2008 13:21:28 +0000 (13:21 +0000)] 
Ensure that IPV4LL defends by doing a  DHCP_DISCOVER for 10 seconds and then falling back to ARP checking for our address.

18 years agoBack off IPv4LL detection after MAX_CONFLICTS.
Roy Marples [Wed, 28 May 2008 12:03:03 +0000 (12:03 +0000)] 
Back off IPv4LL detection after MAX_CONFLICTS.

18 years agoWe should inspect our signal fd before processing ARP replies.
Roy Marples [Wed, 28 May 2008 12:02:04 +0000 (12:02 +0000)] 
We should inspect our signal fd before processing ARP replies.

18 years agoWhen we're persistent and using the last lease ignore expired check. This is so we...
Roy Marples [Wed, 28 May 2008 09:30:45 +0000 (09:30 +0000)] 
When we're persistent and using the last lease ignore expired check. This is so we work with NFS / and the DHCP server has been down for a while.

18 years agoPut env var back :)
Roy Marples [Wed, 28 May 2008 07:12:06 +0000 (07:12 +0000)] 
Put env var back :)

18 years agoOnly calculate strlen(oarg), saves space and fixes parsing fqdn in the config file.
Roy Marples [Wed, 28 May 2008 07:11:07 +0000 (07:11 +0000)] 
Only calculate strlen(oarg), saves space and fixes parsing fqdn in the config file.

18 years agoDocument -x
Roy Marples [Wed, 28 May 2008 06:43:32 +0000 (06:43 +0000)] 
Document -x

18 years agoFix the option to change script.
Roy Marples [Tue, 27 May 2008 20:04:15 +0000 (20:04 +0000)] 
Fix the option to change script.

18 years agoReplace the signal clear with a pipe so child can notify parent when to exit.
Roy Marples [Tue, 27 May 2008 19:06:48 +0000 (19:06 +0000)] 
Replace the signal clear with a pipe so child can notify parent when to exit.

18 years agoFix signal loop.
Roy Marples [Tue, 27 May 2008 18:47:50 +0000 (18:47 +0000)] 
Fix signal loop.

18 years agoUse new names.
Roy Marples [Tue, 27 May 2008 12:41:42 +0000 (12:41 +0000)] 
Use new names.

18 years agoMerge branch 'master' of git.marples.name:/var/git/dhcpcd
Roy Marples [Tue, 27 May 2008 12:39:00 +0000 (12:39 +0000)] 
Merge branch 'master' of git.marples.name:/var/git/dhcpcd

18 years agoUse new names.
Roy Marples [Tue, 27 May 2008 12:32:36 +0000 (12:32 +0000)] 
Use new names.

18 years agoWe source the hooks, so use FILES instead of SCRIPTS.
Roy Marples [Tue, 27 May 2008 11:26:24 +0000 (11:26 +0000)] 
We source the hooks, so use FILES instead of SCRIPTS.

18 years agoFix rc-service command.
Roy Marples [Tue, 27 May 2008 11:22:58 +0000 (11:22 +0000)] 
Fix rc-service command.

18 years agoUse the write length.
Roy Marples [Tue, 27 May 2008 09:14:33 +0000 (09:14 +0000)] 
Use the write length.

18 years agoMove NO_FORK code down so options is initialised.
Roy Marples [Tue, 27 May 2008 09:14:04 +0000 (09:14 +0000)] 
Move NO_FORK code down so options is initialised.

18 years agoFix pointer.
Roy Marples [Mon, 26 May 2008 20:43:34 +0000 (20:43 +0000)] 
Fix pointer.

18 years agoFix compile.
Roy Marples [Mon, 26 May 2008 19:48:46 +0000 (19:48 +0000)] 
Fix compile.

18 years agoFix a signal race when daemonising.
Roy Marples [Mon, 26 May 2008 19:19:11 +0000 (19:19 +0000)] 
Fix a signal race when daemonising.

18 years agoset is shell builtin, env is not
Roy Marples [Mon, 26 May 2008 16:06:35 +0000 (16:06 +0000)] 
set is shell builtin, env is not

18 years agoPull ARP replies correctly.
Roy Marples [Mon, 26 May 2008 09:58:36 +0000 (09:58 +0000)] 
Pull ARP replies correctly.

18 years agodhcpcd-4.0.0-beta5
Roy Marples [Sat, 24 May 2008 17:47:44 +0000 (17:47 +0000)] 
dhcpcd-4.0.0-beta5

18 years agoFix install.
Roy Marples [Sat, 24 May 2008 17:45:38 +0000 (17:45 +0000)] 
Fix install.

18 years agoDocument --script.
Roy Marples [Sat, 24 May 2008 17:40:38 +0000 (17:40 +0000)] 
Document --script.

18 years agoFix subdir
Roy Marples [Sat, 24 May 2008 17:37:15 +0000 (17:37 +0000)] 
Fix subdir

18 years agoStyle.
Roy Marples [Sat, 24 May 2008 17:30:00 +0000 (17:30 +0000)] 
Style.

18 years agoRename hook script to reflect the config file they are updating.
Roy Marples [Sat, 24 May 2008 17:18:07 +0000 (17:18 +0000)] 
Rename hook script to reflect the config file they are updating.

18 years agoMerge branch 'master' of git.marples.name:/var/git/dhcpcd
Roy Marples [Sat, 24 May 2008 17:15:34 +0000 (17:15 +0000)] 
Merge branch 'master' of git.marples.name:/var/git/dhcpcd

18 years agoMove dhcpcd.sh to dhcpcd-run-hooks and remove .sh suffixes
Roy Marples [Sat, 24 May 2008 17:15:14 +0000 (17:15 +0000)] 
Move dhcpcd.sh to dhcpcd-run-hooks and remove .sh suffixes

18 years agoDon't bother appending log level to stdout, save a few bytes.
Roy Marples [Fri, 23 May 2008 07:31:17 +0000 (07:31 +0000)] 
Don't bother appending log level to stdout, save a few bytes.

18 years agoFix shell logic
Roy Marples [Fri, 23 May 2008 06:36:57 +0000 (06:36 +0000)] 
Fix shell logic

18 years agoJust use /etc.
Roy Marples [Thu, 22 May 2008 21:41:40 +0000 (21:41 +0000)] 
Just use /etc.

18 years agoUse proper words.
Roy Marples [Thu, 22 May 2008 21:41:27 +0000 (21:41 +0000)] 
Use proper words.

18 years agoPut my code at the top and UNCONST filters in bpf.c
Roy Marples [Thu, 22 May 2008 18:16:22 +0000 (18:16 +0000)] 
Put my code at the top and UNCONST filters in bpf.c

18 years agoDon't echo loglevel names to stdout.
Roy Marples [Thu, 22 May 2008 16:08:22 +0000 (16:08 +0000)] 
Don't echo loglevel names to stdout.

18 years agoAdd ISC copyright to dhcp_bpf_filter.
Roy Marples [Thu, 22 May 2008 16:07:45 +0000 (16:07 +0000)] 
Add ISC copyright to dhcp_bpf_filter.

18 years agoUse constant BPF structures and defines to alter the data instead of functions. Small...
Roy Marples [Thu, 22 May 2008 13:59:33 +0000 (13:59 +0000)] 
Use constant BPF structures and defines to alter the data instead of functions. Smaller code :)

18 years agoInstalling to FHS dirs just for Linux is silly, especially as GNU autotools don't...
Roy Marples [Thu, 22 May 2008 09:23:03 +0000 (09:23 +0000)] 
Installing to FHS dirs just for Linux is silly, especially as GNU autotools don't by default. With installing to the same dirs regardless of OS it also makes my life easier.

18 years agoApparently some DHCP servers return NULL strings, Gentoo #222381.
Roy Marples [Wed, 21 May 2008 10:40:56 +0000 (10:40 +0000)] 
Apparently some DHCP servers return NULL strings, Gentoo #222381.

18 years agoImprove documentation about the hooks.
Roy Marples [Wed, 21 May 2008 09:16:24 +0000 (09:16 +0000)] 
Improve documentation about the hooks.

18 years agoStop defining the same flags twice.
Roy Marples [Wed, 21 May 2008 08:43:28 +0000 (08:43 +0000)] 
Stop defining the same flags twice.

18 years agoUse CPP flags here.
Roy Marples [Tue, 20 May 2008 23:06:15 +0000 (23:06 +0000)] 
Use CPP flags here.

18 years agoPlug some valgrind leaks.
Roy Marples [Tue, 20 May 2008 23:01:13 +0000 (23:01 +0000)] 
Plug some valgrind leaks.

18 years agoMore Typo
Roy Marples [Tue, 20 May 2008 22:53:41 +0000 (22:53 +0000)] 
More Typo

18 years agoTypo
Roy Marples [Tue, 20 May 2008 22:50:28 +0000 (22:50 +0000)] 
Typo

18 years agoTypo
Roy Marples [Tue, 20 May 2008 22:49:22 +0000 (22:49 +0000)] 
Typo

18 years agoDocument last lease and nohook.
Roy Marples [Tue, 20 May 2008 22:47:39 +0000 (22:47 +0000)] 
Document last lease and nohook.

18 years agoInstall hooks in the os specific dir.
Roy Marples [Tue, 20 May 2008 22:41:07 +0000 (22:41 +0000)] 
Install hooks in the os specific dir.

18 years agoFix install for gmake.
Roy Marples [Tue, 20 May 2008 22:29:57 +0000 (22:29 +0000)] 
Fix install for gmake.

18 years agoMove socket.c -> lpf.c. Also, default Linux to using /lib/dhcpcd rather than /libexec...
Roy Marples [Tue, 20 May 2008 22:25:20 +0000 (22:25 +0000)] 
Move socket.c -> lpf.c. Also, default Linux to using /lib/dhcpcd rather than /libexec so it fits the FHS better.

18 years agoAdd a -C, --nohook option to skip the running of hook scripts. Makes it easier to...
Roy Marples [Tue, 20 May 2008 16:05:15 +0000 (16:05 +0000)] 
Add a -C, --nohook option to skip the running of hook scripts. Makes it easier to just not do any configuring of resolv.conf

18 years agoDon't set CONFIG in the Makefile.
Roy Marples [Tue, 20 May 2008 14:10:21 +0000 (14:10 +0000)] 
Don't set CONFIG in the Makefile.

18 years agoFix ipv4ll support.
Roy Marples [Tue, 20 May 2008 13:51:44 +0000 (13:51 +0000)] 
Fix ipv4ll support.

18 years agoDocument dhcpcd.conf in FILES.
Roy Marples [Tue, 20 May 2008 12:55:29 +0000 (12:55 +0000)] 
Document dhcpcd.conf in FILES.

18 years agoDon't prefix functions with _
Roy Marples [Tue, 20 May 2008 12:47:16 +0000 (12:47 +0000)] 
Don't prefix functions with _

18 years agoOne sentence per line.
Roy Marples [Tue, 20 May 2008 12:33:04 +0000 (12:33 +0000)] 
One sentence per line.

18 years agoFix readme
Roy Marples [Tue, 20 May 2008 12:24:39 +0000 (12:24 +0000)] 
Fix readme

18 years agoInstall dhcpcd.sh and hooks into /libexec by default. dhcpcd.conf, dhcpcd.duid and...
Roy Marples [Tue, 20 May 2008 12:23:29 +0000 (12:23 +0000)] 
Install dhcpcd.sh and hooks into /libexec by default. dhcpcd.conf, dhcpcd.duid and dhcpcd.hook are now in /etc.

18 years agoSplit dhcpcd.sh into smaller hook scripts, so that dhcpcd.sh just provide some handy...
Roy Marples [Tue, 20 May 2008 10:55:25 +0000 (10:55 +0000)] 
Split dhcpcd.sh into smaller hook scripts, so that dhcpcd.sh just provide some handy functions and runs the hooks. We now only have one hook, instead of enter/exit.

18 years agoUse CPPFLAGS as FreeBSD make doesn't.
Roy Marples [Tue, 20 May 2008 08:30:08 +0000 (08:30 +0000)] 
Use CPPFLAGS as FreeBSD make doesn't.

18 years agoWe should really be using CPPFLAGS.
Roy Marples [Tue, 20 May 2008 05:57:35 +0000 (05:57 +0000)] 
We should really be using CPPFLAGS.

18 years agoMove the SUFFIXES to them.
Roy Marples [Mon, 19 May 2008 23:22:44 +0000 (23:22 +0000)] 
Move the SUFFIXES to them.

18 years agoFix csr's, #81.
Roy Marples [Mon, 19 May 2008 22:37:48 +0000 (22:37 +0000)] 
Fix csr's, #81.

18 years agoChange our Makefile vars to be more like NetBSD.
Roy Marples [Mon, 19 May 2008 15:50:50 +0000 (15:50 +0000)] 
Change our Makefile vars to be more like NetBSD.

18 years agoStyle
Roy Marples [Mon, 19 May 2008 14:47:37 +0000 (14:47 +0000)] 
Style

18 years agoTrap some config.h defines if they're in CFLAGS.
Roy Marples [Mon, 19 May 2008 14:45:05 +0000 (14:45 +0000)] 
Trap some config.h defines if they're in CFLAGS.

18 years agorealloc -> xrealloc
Roy Marples [Mon, 19 May 2008 13:40:39 +0000 (13:40 +0000)] 
realloc -> xrealloc

18 years agoMove VERSION from Makefile to config.h so that other Makefiles can be used instead...
Roy Marples [Mon, 19 May 2008 13:36:06 +0000 (13:36 +0000)] 
Move VERSION from Makefile to config.h so that other Makefiles can be used instead of our own.

18 years agoFix a potential segfault.
Roy Marples [Mon, 19 May 2008 13:16:03 +0000 (13:16 +0000)] 
Fix a potential segfault.

18 years agoStyle.
Roy Marples [Mon, 19 May 2008 09:18:02 +0000 (09:18 +0000)] 
Style.

18 years agoCreate a real arc4linux function so we don't have to visible seed random in dhcpcd...
Roy Marples [Mon, 19 May 2008 09:16:55 +0000 (09:16 +0000)] 
Create a real arc4linux function so we don't have to visible seed random in dhcpcd main.

18 years agoSetup our lease and state correctly when comming back as daemonised.
Roy Marples [Fri, 16 May 2008 09:08:52 +0000 (09:08 +0000)] 
Setup our lease and state correctly when comming back as daemonised.

18 years agoTry a new checksum routine.
Roy Marples [Thu, 15 May 2008 20:58:31 +0000 (20:58 +0000)] 
Try a new checksum routine.

18 years agoFix checksum on Sparc64.
Roy Marples [Thu, 15 May 2008 20:45:45 +0000 (20:45 +0000)] 
Fix checksum on Sparc64.

18 years agoFix test.
Roy Marples [Thu, 15 May 2008 19:30:21 +0000 (19:30 +0000)] 
Fix test.

18 years agoUse arc4random as everything apart from glibc seems to have it.
Roy Marples [Thu, 15 May 2008 19:21:15 +0000 (19:21 +0000)] 
Use arc4random as everything apart from glibc seems to have it.

18 years agoFix compile on Linux.
Roy Marples [Thu, 15 May 2008 16:35:41 +0000 (16:35 +0000)] 
Fix compile on Linux.

18 years agoUse paths.h when available and ensure that we can disable our glue easily.
Roy Marples [Thu, 15 May 2008 16:30:16 +0000 (16:30 +0000)] 
Use paths.h when available and ensure that we can disable our glue easily.

18 years agoCheck correct lengths and use closefrom where available.
Roy Marples [Thu, 15 May 2008 16:09:42 +0000 (16:09 +0000)] 
Check correct lengths and use closefrom where available.

18 years agoStyle.
Roy Marples [Thu, 15 May 2008 15:48:15 +0000 (15:48 +0000)] 
Style.

18 years agoNo need for this check with our non blocking sockets.
Roy Marples [Thu, 15 May 2008 14:20:01 +0000 (14:20 +0000)] 
No need for this check with our non blocking sockets.

18 years agoUse non blocking sockets so read errors with EAGAIN.
Roy Marples [Thu, 15 May 2008 14:16:47 +0000 (14:16 +0000)] 
Use non blocking sockets so read errors with EAGAIN.

18 years agoget_packet 0 means no more buffer, so loops don't need to know the bpf/socket buffering.
Roy Marples [Thu, 15 May 2008 13:34:31 +0000 (13:34 +0000)] 
get_packet 0 means no more buffer, so loops don't need to know the bpf/socket buffering.

18 years agoDon't use stdio in a vfork and fix some unconsts.
Roy Marples [Thu, 15 May 2008 12:57:31 +0000 (12:57 +0000)] 
Don't use stdio in a vfork and fix some unconsts.

18 years agoMove signal.{c,h} to signals.{c.h} so we can work better in the NetBSD source tree.
Roy Marples [Thu, 15 May 2008 12:48:01 +0000 (12:48 +0000)] 
Move signal.{c,h} to signals.{c.h} so we can work better in the NetBSD source tree.

18 years agoFix bpf for the correct position on new buffers.
Roy Marples [Thu, 15 May 2008 12:32:27 +0000 (12:32 +0000)] 
Fix bpf for the correct position on new buffers.

18 years agoLoop correctly for more packets.
Roy Marples [Thu, 15 May 2008 12:15:49 +0000 (12:15 +0000)] 
Loop correctly for more packets.

18 years agoOnly alloc the buffer once.
Roy Marples [Thu, 15 May 2008 12:15:33 +0000 (12:15 +0000)] 
Only alloc the buffer once.

18 years agoOnly alloc a buffer if size is different.
Roy Marples [Thu, 15 May 2008 12:15:06 +0000 (12:15 +0000)] 
Only alloc a buffer if size is different.

18 years agoFix some valgrind errors, and work on Linux again.
Roy Marples [Thu, 15 May 2008 11:12:44 +0000 (11:12 +0000)] 
Fix some valgrind errors, and work on Linux again.

18 years agoImprove get_packet API and memcpy to structure instead of using union pointers.
Roy Marples [Thu, 15 May 2008 10:10:39 +0000 (10:10 +0000)] 
Improve get_packet API and memcpy to structure instead of using union pointers.

18 years agoWhen we explictly don't want an option, don't put it in the env.
Roy Marples [Thu, 15 May 2008 08:48:17 +0000 (08:48 +0000)] 
When we explictly don't want an option, don't put it in the env.