sdhcp

simple dhcp client
git clone git://git.2f30.org/sdhcp
Log | Files | Refs | LICENSE

DateCommit messageAuthorFiles+-
2018-11-22 12:13Statify some variablessin1+2-2
2018-11-15 02:40Add hostname option to DHCP messagesMichael Forney1+7-0
2018-11-15 02:40Use parameters from DHCPACK, not DHCPOFFERMichael Forney1+10-11
2018-11-15 02:40Resend DHCPREQUEST in case server does not respondMichael Forney1+19-10
2018-11-15 02:40Use timerfd in order to correctly handle various renewal and rebinding timeoutsMichael Forney2+103-37
2018-11-15 02:40Handle DHCPnak in REQUESTING stateMichael Forney1+2-0
2018-11-15 02:40Move acceptlease and DHCPrequest to the appropriate state sectionMichael Forney1+4-6
2018-11-15 02:40Ignore unexpected DHCP messagesMichael Forney1+47-45
2018-11-15 02:40Use _DEFAULT_SOURCE instead of _BSD_SOURCEMichael Forney1+1-1
2018-11-15 02:40Convert cid to char * for strlcpyMichael Forney1+1-1
2018-11-15 02:40Other minor style fixesMichael Forney1+9-9
2018-11-15 02:40Brace style in switch statementsMichael Forney1+5-5
2018-11-15 02:40Parenthesize sizeof expressionsMichael Forney1+32-32
2017-02-09 21:42Fix sent lease time on 64-bit systemsMichael Forney1+4-3
2016-07-28 21:22Use signal-safe _exit in signal handlerTobias Stoeckmann1+1-1
2016-01-13 19:34client id is always fixed at 16 bytessin1+5-10
2016-01-13 19:28Use hardware address as default dhcp client identifiersin1+11-4
2015-05-21 18:07config.mk: strip all symbols in sdhcpYpnose1+1-1
2015-04-27 20:59code-style, remove debug.c, config.mk: default c99Hiltjo Posthuma5+48-214
2015-04-27 20:30minor style fixesHiltjo Posthuma1+21-14
2015-04-27 20:30update LICENSE and TODO/CHANGESHiltjo Posthuma2+11-10
2015-04-27 20:26sdhcp.1: convert to mandocHiltjo Posthuma1+46-47
2015-04-27 01:00Add flag to run in foregroundMichael Forney2+9-2
2015-04-27 01:00Only fork onceMichael Forney1+7-2
2015-04-12 11:43config.mk: default CC = ccHiltjo Posthuma1+1-1
2015-04-05 12:47sdhcp.1: Don't add dollar before variablesYpnose1+5-5
2014-09-22 23:36Update TODOsin1+1-0
2014-07-17 19:21Clean util.a as wellsin1+1-1
2014-07-05 11:32Fix date in LICENSEsin1+1-1
2014-07-05 11:31License sdhcp under MIT/Xsin1+22-2
2014-05-14 10:46Just silence some unused var warningssin1+2-0
2014-04-28 21:17update sdhcp documentationHiltjo Posthuma2+47-9
2014-04-25 22:22add $SERVER variableHiltjo Posthuma1+2-0
2014-04-25 22:21set default -i and -d to 1Hiltjo Posthuma1+8-7
2014-04-25 22:18args: simplify a bitHiltjo Posthuma1+23-8
2014-04-25 22:02fix silly bug, dont read stdin ;)Hiltjo Posthuma1+1-1
2014-04-25 21:39sdhcp.1: fix typoHiltjo Posthuma1+2-2
2014-04-25 21:39update TODOHiltjo Posthuma1+3-0
2014-04-25 21:04update TODOHiltjo Posthuma1+3-1
2014-04-25 21:04styleHiltjo Posthuma1+6-4
2014-04-25 21:03creat() return on failureHiltjo Posthuma1+3-1
2014-04-25 20:54fix typo and add some commentsHiltjo Posthuma1+4-7
2014-04-25 20:54change iptoaddr, im not sure if it was correctHiltjo Posthuma1+17-15
2014-04-25 20:52set client-id to empty string for nowHiltjo Posthuma1+1-1
2014-04-25 20:52dont use varargs for IP macroHiltjo Posthuma1+1-1
2014-04-25 20:52update TODOHiltjo Posthuma1+3-0
2014-04-25 20:22update TODO / CHANGELOGHiltjo Posthuma1+23-15
2014-04-25 20:22compile with -Wextra for nowHiltjo Posthuma1+1-1
2014-04-25 20:16fix warning with -WextraHiltjo Posthuma1+5-1
2014-04-25 20:13fix arg parsingHiltjo Posthuma1+7-6
2014-04-25 20:07fix remaining warningsHiltjo Posthuma1+8-4
2014-04-25 20:02whoops add arg.hHiltjo Posthuma1+63-0
2014-04-25 20:02use BUFSIZ for optimal buffer size, check open return fdHiltjo Posthuma1+6-6
2014-04-25 20:02optget doesn't returnHiltjo Posthuma1+1-1
2014-04-25 20:02add arg.h and -d, -i and -c options (untested)Hiltjo Posthuma1+22-5
2014-04-25 20:01cleanup codeHiltjo Posthuma1+31-66
2014-04-25 19:58replace UDPWRAPPER macro with readable normal versionHiltjo Posthuma1+22-9
2014-04-25 19:52removenote, this is correct, make i unsigned thoughHiltjo Posthuma1+3-3
2014-04-25 19:50add eprintf(), weprintf()Hiltjo Posthuma4+86-10
2014-04-25 19:48exclude lib.a from gitHiltjo Posthuma1+1-0
2014-04-25 18:59add strlcpyHiltjo Posthuma3+39-2
2014-04-25 18:58code style fixesHiltjo Posthuma1+20-21
2014-04-25 18:57util.h for strlcpy() and MIN() macroHiltjo Posthuma1+1-2
2014-04-25 18:57fix include for time and read(), write()Hiltjo Posthuma1+2-0
2014-04-25 18:57make man page (8) to (1), use VERSIONHiltjo Posthuma4+27-25
2014-04-25 18:52use suckless style makefileHiltjo Posthuma2+71-11
2014-04-25 17:29update TODOHiltjo Posthuma1+19-0
2014-04-25 17:26cleanup (WIP)Hiltjo Posthuma1+220-192
2014-04-25 17:24add gitignoreHiltjo Posthuma1+2-0
2014-04-25 17:24fix typosHiltjo Posthuma2+2-2
2014-04-25 17:23code style, move debug specific code to debug.cHiltjo Posthuma1+123-114
2014-04-25 17:22makefile: remove debug from normal buildHiltjo Posthuma1+4-2
2014-04-25 17:21makefile: man page install should respect $DESTDIRHiltjo Posthuma1+3-2
2014-03-05 16:51Use poll.h not sys/poll.hsin1+1-2
2013-09-25 11:14Initial import of http://galos.no-ip.org/sdhcpsin4+606-0