Vladislav Grishenko
4583dd9e42
Replace obsolete utime() usage with utimes().
...
This fixes build time warnings with POSIX.1-2008-aware c libraries.
2017-05-03 23:16:51 +01:00
Petr Menšík
c77fb9d8f0
Capture and log STDOUT and STDERR output from dhcp-script.
2017-04-16 20:20:08 +01:00
Floris Bos
503c609149
--dhcp-reply-delay option to workaround PXE client bugs.
...
Adds option to delay replying to DHCP packets by one or more seconds.
This provides a workaround for a PXE boot firmware implementation
that has a bug causing it to fail if it receives a (proxy) DHCP
reply instantly.
On Linux it looks up the exact receive time of the UDP packet with
the SIOCGSTAMP ioctl to prevent multiple delays if multiple packets
come in around the same time.
2017-04-09 23:07:13 +01:00
Petr Menšík
ad59f278c6
Fix man page re interface labels and add warning when used badly.
2017-03-17 17:22:19 +00:00
Josh Soref
730c6745f0
Comprehensive spelling/typo fixes.
...
Thanks to Josh Soref for generating these fixes.
2017-02-06 16:14:04 +00:00
Simon Kelley
0ef1334d78
Tweak start-up logging
2017-01-15 16:42:39 +00:00
Simon Kelley
c8328ecde8
Bump auth zone serial when reloading /etc/hosts and friends.
2016-08-05 16:54:58 +01:00
Kevin Darbyshire-Bryant
06093a9a84
Fix problem with --dnssec-timestamp
...
whereby receipt of SIGHUP would erroneously engage timestamp checking.
2016-07-11 21:03:27 +01:00
Simon Kelley
f7cf749943
Check return code from open()
2016-03-01 16:19:23 +00:00
Simon Kelley
1e5051228d
Final form of configuration for EDNS0 MAC-address code.
2016-01-25 21:29:23 +00:00
Hans Dedecker
926332a764
Add --max-port config option.
2016-01-23 10:48:12 +00:00
Simon Kelley
a63b8b89e6
DNSSEC: Handle non-root trust anchors, and check we have a root trust anchor.
2016-01-12 11:28:58 +00:00
Simon Kelley
b633de9413
Fix FTBFS when scripts excluded at compilation time.
2016-01-06 22:51:17 +00:00
Simon Kelley
c49778df4a
Update copyright notices. Happy new year!
2016-01-06 18:52:33 +00:00
Simon Kelley
53a9173fc0
Handle building with script support enabled and DHCP disabled.
2016-01-06 17:59:13 +00:00
Simon Kelley
97b1d25764
Correct logic for when to start helper.
2015-12-31 18:52:38 +00:00
Simon Kelley
33702ab1f8
First complete version of DNS-client-id EDNS0 and ARP tracking code.
2015-12-28 23:17:15 +00:00
Simon Kelley
d3a8b39c7d
More EDNS0 packet-size tweaks.
2015-12-23 12:27:37 +00:00
Simon Kelley
63ec5d1264
Fix new poll() code for helper pipe. Removed CPU-spin.
2015-07-30 20:59:07 +01:00
Kevin Darbyshire-Bryant
34b5d19488
Update DNSSEC timestamp file on process TERM.
2015-07-27 19:34:23 +01:00
Simon Kelley
b842bc97bb
Use poll() instead of select() to remove limits on open file descriptors.
2015-07-12 21:09:11 +01:00
Simon Kelley
f6d6956261
Test for overflowing platform FD_SET size.
2015-07-08 22:38:13 +01:00
Simon Kelley
5e95a552ee
Avoid hanngs in DHCP ping code when system time goes backwards.
2015-07-05 22:31:30 +01:00
Simon Kelley
cbe379ad6b
Handle domain names with '.' or /000 within labels.
...
Only in DNSSEC mode, where we might need to validate or store
such names. In none-DNSSEC mode, simply don't cache these, as before.
2015-04-21 22:57:06 +01:00
Stefan Tomanek
b4c0f092d8
Fix (srk induced) crash in new tftp_no_fail code.
2015-04-16 15:20:59 +01:00
Stefan Tomanek
7aa970e2c7
Whitespace fixes.
2015-04-01 17:55:07 +01:00
Stefan Tomanek
30d0879ed5
add --tftp-no-fail to ignore missing tftp root
2015-03-31 22:32:11 +01:00
Simon Kelley
ff841ebf5a
Fix boilerplate code for re-running system calls on EINTR and EAGAIN etc.
...
The nasty code with static variable in retry_send() which
avoids looping forever needs to be called on success of the syscall,
to reset the static variable.
2015-03-11 21:36:30 +00:00
Simon Kelley
360f2513ab
Tweak DNSSEC timestamp code to create file later, removing need to chown it.
2015-03-07 18:28:06 +00:00
Simon Kelley
9003b50b13
Fix last commit to not crash if uid changing not configured.
2015-03-02 22:47:23 +00:00
Simon Kelley
f6e62e2af9
Add --dnssec-timestamp option and facility.
2015-03-01 18:17:54 +00:00
Chen Wei
28b879ac47
Fix trivial memory leaks to quieten valgrind.
2015-02-17 22:07:35 +00:00
Simon Kelley
aff3396280
Update copyrights for dawn of 2015.
2015-01-31 20:13:40 +00:00
Simon Kelley
70d1873dd9
Expand inotify code to dhcp-hostsdir, dhcp-optsdir and hostsdir.
2015-01-31 19:59:29 +00:00
Simon Kelley
0491805d2f
Allow inotify to be disabled at compile time on Linux.
2015-01-26 11:23:43 +00:00
Simon Kelley
5f4dc5c6ca
Add --dhcp-hostsdir config option.
2015-01-20 20:51:02 +00:00
Simon Kelley
25cf5e373e
Add --log-queries=extra option for more complete logging.
2015-01-09 15:53:03 +00:00
Simon Kelley
800c5cc1e7
Remove floor on EDNS0 packet size with DNSSEC.
2014-12-15 17:50:15 +00:00
Simon Kelley
193de4abf5
Use inotify instead of polling on Linux.
...
This should solve problems people are seeing when a file changes
twice within a second and thus is missed for polling.
2014-12-10 17:32:16 +00:00
Simon Kelley
b5ea1cc255
Add --dns-loop-detect feature.
2014-07-29 16:34:14 +01:00
Simon Kelley
47a9516980
Use event system to re-send query on new route. Tidies module boundaries.
2014-07-08 22:22:02 +01:00
Simon Kelley
a0358e5ddb
Handle async notification of address changes using the event system.
2014-06-07 13:38:48 +01:00
Simon Kelley
e98bd52e25
Add --dnssec-no-timecheck
2014-03-28 20:41:23 +00:00
Simon Kelley
1a9a3489ec
Set --local-service in Debian package startup.
2014-03-05 15:01:08 +00:00
Simon Kelley
5107ace14a
NSEC3 validation. First pass.
2014-02-23 10:48:32 +00:00
Simon Kelley
7b1eae4f50
Add --servers-file option.
2014-02-20 13:43:28 +00:00
Simon Kelley
ee4158678a
Use DS records as trust anchors, not DNSKEYs.
...
This allows us to query for the root zone DNSKEY RRset and validate
it, thus automatically handling KSK rollover.
2014-02-11 11:07:22 +00:00
Simon Kelley
82e3f45a9f
Blockdata fixes and tuning.
2014-01-31 21:05:48 +00:00
Simon Kelley
1d97ac4fd2
copy-n-paste error.
2014-01-31 11:12:27 +00:00
Simon Kelley
db73746620
Anounce DNSSEC at startup.
2014-01-31 10:32:45 +00:00