Simon Kelley
d42d4706bb
Make --localise-queries apply to names from --interface-name.
2017-02-02 16:52:06 +00:00
Simon Kelley
0740e43e20
Fix rrfilter bug leading to malformed replies.
...
Bug tickled by Nominum upstream when DNSSEC enabled, due to
unusual order of RRs in reply from upstream server.
2017-01-26 18:02:54 +00:00
Simon Kelley
903df07bcb
Detect and error loops in --cname configuration.
2017-01-19 17:22:00 +00:00
Simon Kelley
0ef1334d78
Tweak start-up logging
2017-01-15 16:42:39 +00:00
Reiter Wolfgang
5eb9dde09c
Fix getsockname error return check.
2017-01-08 17:39:06 +00:00
Simon Kelley
ae3154aca9
Additional syntax check on MAC wildcards.
2017-01-01 22:59:46 +00:00
Simon Kelley
3ebe62d1b7
Merge branch 'master' of ssh://thekelleys.org.uk/var/cache/git/dnsmasq
2017-01-01 22:42:31 +00:00
ZHAO Yu
f89cae3ecf
Add DNSMASQ_REQUESTED_OPTIONS env-var to lease change script.
2016-12-22 22:32:31 +00:00
Simon Kelley
09b768efa4
Bump TCP connection backlog from 5 to 32.
2016-12-22 22:16:58 +00:00
Simon Kelley
a1d973f987
Allow multiple CNAMEs in a single --cname= option.
2016-12-22 22:09:50 +00:00
Simon Kelley
0682b7795c
Debian packaging update.
2016-12-14 17:59:45 +00:00
Simon Kelley
b637d7815d
Allow wildcard CNAME records in authoritative zones.
2016-12-13 16:44:11 +00:00
Kevin Darbyshire-Bryant
7ac9ae1125
Compile time option NO_ID
...
Some consider it good practice to obscure software version numbers to
clients. Compiling with -DNO_ID removes the *.bind info structure.
This includes: version, author, copyright, cachesize, cache insertions,
evictions, misses & hits, auth & servers.
2016-09-09 20:52:08 +01:00
Simon Kelley
c6af3a32f2
Support cross-builds in Debian packaging.
2016-08-31 22:38:48 +01:00
Simon Kelley
16800ea072
Fix crash introduced in 2675f20615
2016-08-30 23:07:06 +01:00
Simon Kelley
b5e33ae53a
Log ipset errors.
2016-08-28 21:26:42 +01:00
Peter Wu
3c0c1111fe
Improve --address and --ipset docs, fix --help output
...
Manual page: clarify that the --address and --ipset options take one or
more domains rather than just two. Clarify that --ipset puts addresses
in all ipsets, it is not a 1:1 mapping from addresses.
Also increase the width for options output in --help, some options were
truncated leading to confusing output. Almost all options and
descriptions are now within the 120 colums limit.
2016-08-28 20:53:09 +01:00
Beniamino Galvani
2675f20615
Handle binding upstream servers to an interface
...
(--server=1.2.3.4@eth0) when the named interface
is destroyed and recreated in the kernel.
2016-08-28 20:44:05 +01:00
Simon Kelley
e94ad0fa01
Suppress useless warning about DHCP packets of interfaces without addresses.
...
This only makes sense for interfaces which we're configured to listen on.
Thanks to Andrew Shadura for bug report.
2016-08-28 18:09:17 +01:00
Simon Kelley
396750cef5
Refactor openBSD pftables code to remove blatant copyright violation.
2016-08-13 22:34:11 +01:00
Simon Kelley
6c45519e18
2.76-3 debian release.
2016-08-13 21:49:17 +01:00
Simon Kelley
6d95099c56
Handle v4-mapped IPv6 addresses sanely for --synth-domain.
2016-08-11 23:38:54 +01:00
Simon Kelley
c8328ecde8
Bump auth zone serial when reloading /etc/hosts and friends.
2016-08-05 16:54:58 +01:00
Mathias Kresin
094bfaeb4f
auth-zone: allow to exclude ip addresses from answer.
2016-07-24 14:15:22 +01:00
Simon Kelley
bf4e62c19e
Compile-time check on buffer sizes for leasefile parsing code.
2016-07-22 21:37:59 +01:00
Simon Kelley
6b1c464d6d
Don't reset packet length on transmission, in case of retransmission.
2016-07-22 20:59:16 +01:00
Simon Kelley
fa78573778
Zero packet buffers before building output, to reduce risk of information leakage.
2016-07-22 20:56:01 +01:00
Simon Kelley
cd2ddb9904
Debian systemd bugfix.
2016-07-16 22:23:49 +01:00
Simon Kelley
9bb3998da4
Merge 2.76-1.2 Debian NMU.
2016-07-16 22:06:01 +01:00
Simon Kelley
d6dce53e08
malloc(); memset() -> calloc() for efficiency.
2016-07-11 21:34:31 +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
Ivan Kokshaysky
1d07667ac7
Fix logic error in Linux netlink code.
...
This could cause dnsmasq to enter a tight loop on systems
with a very large number of network interfaces.
2016-07-11 18:36:05 +01:00
Simon Kelley
591ed1e905
Fix bad behaviour with some DHCP option arrangements.
...
The check that there's enough space to store the DHCP agent-id
at the end of the packet could succeed when it should fail
if the END option is in either of the oprion-overload areas.
That could overwrite legit options in the request and cause
bad behaviour. It's highly unlikely that any sane DHCP client
would trigger this bug, and it's never been seen, but this
fixes the problem.
Also fix off-by-one in bounds checking of option processing.
Worst case scenario on that is a read one byte beyond the
end off a buffer with a crafted packet, and maybe therefore
a SIGV crash if the memory after the buffer is not mapped.
Thanks to Timothy Becker for spotting these.
2016-07-11 18:18:42 +01:00
Kristjan Onu
907efeb2dc
Manpage typo.
2016-07-10 22:37:57 +01:00
Simon Kelley
beea62cb66
Update .gitignore for change contrib/wrt -> contrib/lease-tools.
2016-07-10 22:13:57 +01:00
Simon Kelley
5874f3e922
Fix editing error on man page.
...
Thanks to Eric Westbrook for spotting this.
2016-07-10 22:12:08 +01:00
zeha@debian.org
04cb536f16
Merge 2.67-1.1 Debian NMU.
2016-07-06 22:30:10 +01:00
Simon Kelley
8ee8524016
Bump Debian version.
2016-07-06 22:23:22 +01:00
Simon Kelley
ce7845bf54
Check return of expand() always.
2016-07-06 21:42:27 +01:00
Simon Kelley
d55f81f5fd
Zero newly malloc'ed memory.
2016-07-06 21:33:56 +01:00
Simon Kelley
294d36df47
Calculate length of TFTP error reply correctly.
2016-07-06 21:30:25 +01:00
Simon Kelley
f186bdcbc7
Fix debian changelog.
2016-05-18 15:51:54 +01:00
Jan Psota
ed1bd54b5c
Update Polish translation.
...
Thanks to Jan Psota.
2016-05-18 15:16:29 +01:00
Simon Kelley
da2cad4b14
Doc about --pxe-service basename change into CHANGELOG.
2016-05-18 15:14:08 +01:00
Simon Kelley
0a4a04969d
Final PXE tweak, and release-note to reflect changes.
2016-05-15 20:13:45 +01:00
Sergey Nechaev
45cb8dd9be
Stricter command line args validation to dhcp_release6.
2016-05-14 21:36:15 +01:00
Simon Kelley
88b09aaddc
Merge messages into translation files.
2016-05-14 20:56:02 +01:00
Simon Kelley
fe71bba356
Tweak UEFI workaround code.
2016-05-14 20:50:45 +01:00
Simon Kelley
cbc100fc81
Tweak CSAs affected by UEFI PXE workaround code.
2016-05-11 22:17:18 +01:00
Simon Kelley
68bea10bbf
Fix error in PXE arch names and add ARM32 and ARM64.
2016-05-11 22:15:06 +01:00