Roy Marples
|
f2a033f589
|
Fix compile
|
2014-02-07 20:33:43 +00:00 |
|
Roy Marples
|
faaa132c33
|
Use fscanf instead of get_line when parsing /proc/cpuinfo
|
2014-02-07 20:31:29 +00:00 |
|
Roy Marples
|
cbcba92fa6
|
Remove some dead uses of get_monotonic
|
2014-02-07 19:41:35 +00:00 |
|
Roy Marples
|
b2e9d82c99
|
Move DUID_LEN to a better header.
|
2014-02-07 19:40:20 +00:00 |
|
Roy Marples
|
ebc8827ae5
|
writepid is now a static inline function
|
2014-02-07 17:48:13 +00:00 |
|
Roy Marples
|
cc0502023e
|
Remove custom set_cloexec and set_nonblock functions.
Instead pass O_CLOEXEC or SOCK_CLOEXEC to open, socket, etc.
This requires a fairly modern system.
|
2014-02-07 17:32:08 +00:00 |
|
Roy Marples
|
159ebbcf18
|
Use our own signal structure instead of siginfo_t to save space.
|
2014-02-07 15:49:33 +00:00 |
|
Roy Marples
|
119265612a
|
Ignore netlink messages with an our of range pid.
|
2014-02-07 14:57:19 +00:00 |
|
Roy Marples
|
01096a4f63
|
Copy the siginfo_t structure onto a global copy and pass that as an
argument to eloop_timeout_add_now so that every actionis async signal safe.
|
2014-02-07 14:39:22 +00:00 |
|
Roy Marples
|
462cd96448
|
Set memory to zero
|
2014-02-07 11:18:33 +00:00 |
|
Roy Marples
|
fae9461b6e
|
Set dev fd to -1 when stopped.
|
2014-02-07 11:06:17 +00:00 |
|
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 |
|