Roy Marples
|
c7c1e4112a
|
Don't hold onto an AF_INET socket for the duration of the program,
open and close it as required.
|
2014-02-07 11:03:39 +00:00 |
|
Roy Marples
|
1f2c54e008
|
Exit correctly if no interfaces have a carrier.
|
2014-02-07 09:33:32 +00:00 |
|
Roy Marples
|
9ab91ddc20
|
Fix opening the control socket.
|
2014-02-05 18:32:13 +00:00 |
|
Roy Marples
|
efbb4489a0
|
Use fscanf some more.
|
2014-02-05 18:11:32 +00:00 |
|
Roy Marples
|
37c9ec362c
|
Replace get_line with sscanf
|
2014-02-05 16:44:24 +00:00 |
|
Roy Marples
|
623e5af396
|
pidfd can be static now.
|
2014-02-05 13:18:58 +00:00 |
|
Roy Marples
|
9c8b417d8a
|
Move control globals into a context.
|
2014-02-05 12:01:09 +00:00 |
|
Roy Marples
|
cff708ad3b
|
Only return 0 from daemonise if we have forked successfully, otherwise the pid of the child.
|
2014-02-04 15:53:56 +00:00 |
|
Roy Marples
|
b5b066a566
|
Fork correctly from RA and DAD.
|
2014-02-04 15:46:38 +00:00 |
|
Roy Marples
|
98c55ba576
|
Reset kernel RA flag correctly.
|
2014-02-04 15:45:51 +00:00 |
|
Roy Marples
|
a144b30772
|
Changed these files in 2014.
|
2014-02-04 14:55:04 +00:00 |
|
Roy Marples
|
560a5ce982
|
Fix compile
|
2014-02-04 14:41:35 +00:00 |
|
Roy Marples
|
a9d78def54
|
Remove DEBUG_MEMORY guard and always free memory and resources.
Remove all atexit(3) and exit(3) calls, instead exiting via the eloop.
|
2014-02-04 14:39:26 +00:00 |
|
Roy Marples
|
47ecfbd002
|
Drain the correct UDP socket.
|
2014-02-03 17:30:03 +00:00 |
|
Roy Marples
|
dfeba51391
|
We don't want to show cc errors here
|
2014-02-03 17:29:36 +00:00 |
|
Roy Marples
|
d048fcf599
|
Open UDP sockets for *.*.*.*:bootpc and $ip_address:bootpc
|
2014-02-03 14:12:14 +00:00 |
|
Roy Marples
|
1131df84d5
|
Only link to libmd if it lives in /lib
|
2014-02-03 13:24:04 +00:00 |
|
Roy Marples
|
90ada440ec
|
Fix make import with compat sources.
Use -lmd for MD5 if available.
|
2014-02-03 13:09:13 +00:00 |
|
Roy Marples
|
2d468029e1
|
Only listen to the UDP port if we opened it.
|
2014-02-03 11:39:25 +00:00 |
|
Roy Marples
|
fdff5377bf
|
RFC7083 has new inital timer values.
|
2014-02-03 11:02:17 +00:00 |
|
Roy Marples
|
776e5fbb8d
|
Add support for the following RFCs:
DHCP SLP Directory Agent, RFC2610
DHCP Name Service Search, RFC2937
DHCP PANA Authentication Agent, RFC5192
DHCP Lost Server, RFC5223
DHCP CAPWAP, RFC5417
DHCP Mobility Services, RFC5678
DHCP SIP UA, RFC6011
DHCP ANDSF, RFC6153
DHCP RDNSS Selection for MIF Nodes, RFC6731
DHCP TFTP Server Address, RFC5859
DHCP PXELINUX, RFC5071
DHCP Access Network Domain Name, RFC5986
DHCP Virtual Subnet Selection, RFC6607
DHCP Relay Agent Remote-ID, RFC4649
DHCP Relay Agent Subscriber-ID, RFC4580
DHCPv6 Relay-ID, RFC5460
DHCPv6 LIS Discovery, RFC5986
DHCPv6 SIP UA, RFC6011
DHCPv6 Network Boot, RFC5970
DHCPv6 Home Info Discovery in MIPv6, RFC6610
DHCPv6 RDNSS Selection for MIF Nodes, RFC6731
DHCPv6 Kerberos, RFC6784
DHCPv6 Relay-Triggered Reconfiguraion, RFC6977
DHCPv6 SOL_MAX_RT, RFC7083
|
2014-02-03 10:28:30 +00:00 |
|
Roy Marples
|
d00f7bee5e
|
Fix auto-configure
|
2014-02-01 10:40:40 +00:00 |
|
Roy Marples
|
b77f22472a
|
Only check auto-configure in the DISCOVER state.
|
2014-01-31 22:28:16 +00:00 |
|
Roy Marples
|
e575a2b43b
|
Add support for DHCP auto configuration, RFC 2563.
|
2014-01-31 22:15:50 +00:00 |
|
Roy Marples
|
f9e1527739
|
Reset reconfigure token when dropping a lease.
Only send a reconfigure accept option if we aren't sending any
authentication OR don't require authentication.
|
2014-01-31 18:33:11 +00:00 |
|
Roy Marples
|
b1aadc616e
|
Tweak stuff for importing
|
2014-01-31 15:55:16 +00:00 |
|
Roy Marples
|
07e2a9508e
|
Remove used var
|
2014-01-31 15:00:58 +00:00 |
|
Roy Marples
|
a6136b17ac
|
Support AFTR-Name, RFC6334.
|
2014-01-31 14:43:08 +00:00 |
|
Roy Marples
|
fff89bfe34
|
Remove debug
|
2014-01-31 14:26:58 +00:00 |
|
Roy Marples
|
914386bdad
|
Support RECONFIGURE DHCPv6 messages.
|
2014-01-31 14:25:18 +00:00 |
|
Roy Marples
|
10dc667cab
|
Changed in 2014
|
2014-01-31 12:45:55 +00:00 |
|
Roy Marples
|
f9300b9c15
|
Provide a string for FORCERENEW
|
2014-01-31 12:43:20 +00:00 |
|
Roy Marples
|
b76d721651
|
Force renew now works when we are in the informed state.
|
2014-01-31 12:41:30 +00:00 |
|
Roy Marples
|
a52862fbcf
|
Implement Force Renew Nonce Capability option, RFC6704
|
2014-01-31 12:26:39 +00:00 |
|
Roy Marples
|
54b371af1c
|
As we need to actuall drain the kernel buffer, don't bother setting the receive buffer size
|
2014-01-31 12:03:54 +00:00 |
|
Roy Marples
|
c6eb161be2
|
Implement support for RFC 3203, FORCERENEW message.
|
2014-01-31 11:47:27 +00:00 |
|
Roy Marples
|
439b5cabf1
|
Improve authentication logging.
|
2014-01-30 14:20:24 +00:00 |
|
Roy Marples
|
c5046024dd
|
Warn on missing auth if we request it but do not require it.
|
2014-01-30 13:27:49 +00:00 |
|
Roy Marples
|
cf0840eff5
|
Change to using a NTP time stamp for Replay Detection as that seems
to be the norm.
|
2014-01-30 13:04:42 +00:00 |
|
Roy Marples
|
35fef8ed25
|
Send auth when all protocol options specified.
|
2014-01-30 08:25:11 +00:00 |
|
Roy Marples
|
de85de754a
|
Don't mistakenly assume that a previously used token implies we should
encode the auth option.
|
2014-01-29 19:46:44 +00:00 |
|
Roy Marples
|
699660fba0
|
If no status message given, supply a default.
|
2014-01-29 18:33:43 +00:00 |
|
Roy Marples
|
33ff20276e
|
If we aren't sending an authentication option, don't update it.
|
2014-01-29 17:21:14 +00:00 |
|
Roy Marples
|
b64cef1bfd
|
Fix compile
|
2014-01-29 14:16:31 +00:00 |
|
Roy Marples
|
d4154ba7a8
|
Add nodhcp and nodhcp6 directives.
Thanks to Sebastian Huber for the initial patch and testing.
|
2014-01-29 14:05:58 +00:00 |
|
Roy Marples
|
e7a30a465b
|
Typo, thanks to Iain Hibbert.
|
2014-01-27 11:34:26 +00:00 |
|
Roy Marples
|
7451badfe6
|
Fix compile on NetBSD
|
2014-01-25 02:50:27 +00:00 |
|
Roy Marples
|
5fdd9fc3cb
|
Warn about missing auth
|
2014-01-25 02:41:42 +00:00 |
|
Roy Marples
|
0588e17af4
|
Fix monofile truncation.
|
2014-01-25 02:31:45 +00:00 |
|
Roy Marples
|
37c6edb125
|
Reply authentication every time we send a message as have updated
the elapsed time.
|
2014-01-25 02:23:41 +00:00 |
|