]> git.ipfire.org Git - people/ms/dnsmasq.git/log
people/ms/dnsmasq.git
11 years agoFix failure to start with ENOTSOCK
Simon Kelley [Fri, 17 May 2013 10:32:03 +0000 (11:32 +0100)] 
Fix failure to start with ENOTSOCK

11 years ago Handle IPv4 interface-address labels in Linux.
Simon Kelley [Tue, 14 May 2013 10:28:47 +0000 (11:28 +0100)] 
 Handle IPv4 interface-address labels in Linux.

11 years agoOnly use ourselves as default DNS server for RA if we're doing DNS.
Simon Kelley [Tue, 30 Apr 2013 09:41:28 +0000 (10:41 +0100)] 
Only use ourselves as default DNS server for RA if we're doing DNS.

This makes RA the same as DHCP4/6

11 years agoreplace inet_addr with inet_pton() in src/option.c
Simon Kelley [Mon, 29 Apr 2013 16:00:21 +0000 (17:00 +0100)] 
replace inet_addr with inet_pton() in src/option.c

11 years agoTighten checks in legal_hostname().
Simon Kelley [Mon, 29 Apr 2013 09:52:16 +0000 (10:52 +0100)] 
Tighten checks in legal_hostname().

11 years agoFix FTBFS in ipset.c with old kernel headers.
Simon Kelley [Thu, 25 Apr 2013 11:44:20 +0000 (12:44 +0100)] 
Fix FTBFS in ipset.c with old kernel headers.

11 years agoCheck length of synth-domain prefix.
Simon Kelley [Thu, 25 Apr 2013 10:03:47 +0000 (11:03 +0100)] 
Check length of synth-domain prefix.

11 years agoAllow option prefix in --synth-domain.
Simon Kelley [Thu, 25 Apr 2013 08:49:38 +0000 (09:49 +0100)] 
Allow option prefix in --synth-domain.

11 years agoAdd --synth-domain
Simon Kelley [Wed, 24 Apr 2013 16:38:19 +0000 (17:38 +0100)] 
Add --synth-domain

11 years ago--dhcp-match et al now work with BOOTP as well as DHCP.
Simon Kelley [Tue, 23 Apr 2013 10:31:39 +0000 (11:31 +0100)] 
--dhcp-match et al now work with BOOTP as well as DHCP.

11 years agoNote that dhcp_lease_time and dhcp_release only work for IPv4.
Simon Kelley [Tue, 23 Apr 2013 09:58:35 +0000 (10:58 +0100)] 
Note that dhcp_lease_time and dhcp_release only work for IPv4.

11 years agoManpage typos.
Tomas Hozza [Mon, 22 Apr 2013 14:08:07 +0000 (15:08 +0100)] 
Manpage typos.

11 years agoFix regression in dhcp_lease_time utility.
Simon Kelley [Mon, 22 Apr 2013 14:01:52 +0000 (15:01 +0100)] 
Fix regression in dhcp_lease_time utility.

11 years agoFix crash on SERVFAIL when --conntrack in use.
Giacomo Tazzari [Mon, 22 Apr 2013 12:16:37 +0000 (13:16 +0100)] 
Fix crash on SERVFAIL when --conntrack in use.

11 years agoSend TCP DNS messages in one write() call. Stops TCP stream fragmenting.
Simon Kelley [Mon, 22 Apr 2013 09:18:26 +0000 (10:18 +0100)] 
Send TCP DNS messages in one write() call. Stops TCP stream fragmenting.

This is an optimisation, not a bugfix. Thanks to Jim Bos for spotting it.

11 years agoBump Debian version number.
Simon Kelley [Fri, 19 Apr 2013 09:23:50 +0000 (10:23 +0100)] 
Bump Debian version number.

11 years agoAllow option number zero in encapsulated DHCP options.
Simon Kelley [Fri, 19 Apr 2013 09:22:06 +0000 (10:22 +0100)] 
Allow option number zero in encapsulated DHCP options.

11 years agoFix wrong size in memset() call.
Dave Reisner [Thu, 18 Apr 2013 08:47:49 +0000 (09:47 +0100)] 
Fix wrong size in memset() call.

Thanks to Dave Reisner.

11 years agoUpdate French translation.
Simon Kelley [Wed, 17 Apr 2013 12:52:49 +0000 (13:52 +0100)] 
Update French translation.

11 years agoManpage typos.
Simon Kelley [Mon, 15 Apr 2013 13:47:14 +0000 (14:47 +0100)] 
Manpage typos.

Thanks to Gildas Le Nadan.

11 years agoFAQ typos.
Simon Kelley [Mon, 15 Apr 2013 13:31:52 +0000 (14:31 +0100)] 
FAQ typos.

Thanks to Moritz Warning.

11 years agoBetter error check on options parsing.
Simon Kelley [Fri, 12 Apr 2013 10:17:55 +0000 (11:17 +0100)] 
Better error check on options parsing.

11 years agoFix crash on exceeding DHCP lease limit.
Simon Kelley [Thu, 11 Apr 2013 13:07:02 +0000 (14:07 +0100)] 
Fix crash on exceeding DHCP lease limit.

11 years agoManpage typos
Simon Kelley [Wed, 10 Apr 2013 10:43:58 +0000 (11:43 +0100)] 
Manpage typos

11 years agoFix parsing of IAID>MAXINT in leases file.
Simon Kelley [Wed, 10 Apr 2013 10:15:58 +0000 (11:15 +0100)] 
Fix parsing of IAID>MAXINT in leases file.

Thanks to Christof Meerwald for the bug report.

11 years ago->hwaddr_len must be zero always in DHCPv6 leases.
Simon Kelley [Wed, 10 Apr 2013 09:25:26 +0000 (10:25 +0100)] 
->hwaddr_len must be zero always in DHCPv6 leases.

11 years agoFix trivial access of un-initialised memory.
Simon Kelley [Fri, 5 Apr 2013 15:57:41 +0000 (16:57 +0100)] 
Fix trivial access of un-initialised memory.

Thanks to sven falpin for finding this.

11 years agoManpage typos.
Simon Kelley [Wed, 3 Apr 2013 13:46:46 +0000 (14:46 +0100)] 
Manpage typos.

11 years agoCope with duplicate dhcp-options with tags (last one wins).
Simon Kelley [Tue, 2 Apr 2013 20:35:41 +0000 (21:35 +0100)] 
Cope with duplicate dhcp-options with tags (last one wins).

11 years agoManpage typo.
Simon Kelley [Tue, 2 Apr 2013 19:27:07 +0000 (20:27 +0100)] 
Manpage typo.

11 years agoPolish translation.
Simon Kelley [Tue, 2 Apr 2013 19:11:48 +0000 (20:11 +0100)] 
Polish translation.

11 years agoFix endless loop when dhcp-range goes away.
Simon Kelley [Tue, 2 Apr 2013 19:06:39 +0000 (20:06 +0100)] 
Fix endless loop when dhcp-range goes away.

11 years agoSO_REUSEPORT may be defined, but not supported.
Simon Kelley [Tue, 2 Apr 2013 16:02:58 +0000 (17:02 +0100)] 
SO_REUSEPORT may be defined, but not supported.

11 years agoTrivial change: 0->NULL for pointer constant.
Simon Kelley [Tue, 2 Apr 2013 15:32:25 +0000 (16:32 +0100)] 
Trivial change: 0->NULL for pointer constant.

11 years agoFix lease time calculation when using DHCPv6 relay.
Simon Kelley [Sat, 30 Mar 2013 21:34:19 +0000 (21:34 +0000)] 
Fix lease time calculation when using DHCPv6 relay.

11 years agoMerged messages.
Simon Kelley [Fri, 22 Mar 2013 15:11:53 +0000 (15:11 +0000)] 
Merged messages.

11 years agoIndentation.
Simon Kelley [Fri, 22 Mar 2013 14:07:38 +0000 (14:07 +0000)] 
Indentation.

11 years agoTypos in CHANGELOG
Simon Kelley [Fri, 22 Mar 2013 10:03:50 +0000 (10:03 +0000)] 
Typos in CHANGELOG

11 years agoCompile-in IPSET by default.
Simon Kelley [Thu, 21 Mar 2013 17:56:06 +0000 (17:56 +0000)] 
Compile-in IPSET by default.

11 years agoSend prefix-class in DHCPREPLY as well as DHCPADVERTISE.
Simon Kelley [Tue, 19 Mar 2013 20:50:11 +0000 (20:50 +0000)] 
Send prefix-class in DHCPREPLY as well as DHCPADVERTISE.

11 years agoBugfix for latest DHCPv6 update.
Simon Kelley [Fri, 15 Mar 2013 21:19:57 +0000 (21:19 +0000)] 
Bugfix for latest DHCPv6 update.

11 years agoAllow trailing '*' wildcard in interface names.
Simon Kelley [Fri, 15 Mar 2013 20:30:51 +0000 (20:30 +0000)] 
Allow trailing '*' wildcard in interface names.

11 years agoMake wildcard-configured addresses work on multiple networks.
Simon Kelley [Fri, 15 Mar 2013 18:25:10 +0000 (18:25 +0000)] 
Make wildcard-configured addresses work on multiple networks.

11 years agoClarifications for DNS-auth in man-page.
Simon Kelley [Mon, 11 Mar 2013 21:21:35 +0000 (21:21 +0000)] 
Clarifications for DNS-auth in man-page.

11 years agoExperimental support for DHCPv6 prefix-class option.
Simon Kelley [Thu, 7 Mar 2013 20:59:28 +0000 (20:59 +0000)] 
Experimental support for DHCPv6 prefix-class option.

11 years agoSplit out context-marking from add_address.
Simon Kelley [Thu, 7 Mar 2013 11:00:26 +0000 (11:00 +0000)] 
Split out context-marking from add_address.

11 years agoAnother logic problem in refactor.
Simon Kelley [Wed, 6 Mar 2013 22:43:26 +0000 (22:43 +0000)] 
Another logic problem in refactor.

11 years agoRespect difference between no IA_{TN}A and no IA_ADDR options.
Simon Kelley [Wed, 6 Mar 2013 22:17:48 +0000 (22:17 +0000)] 
Respect difference between no IA_{TN}A and no IA_ADDR options.

11 years agoFix unused variable warning.
Simon Kelley [Wed, 6 Mar 2013 21:24:56 +0000 (21:24 +0000)] 
Fix unused variable warning.

11 years agoFix crash in DHCPv6 renew, introduced in refactor.
Simon Kelley [Wed, 6 Mar 2013 21:22:22 +0000 (21:22 +0000)] 
Fix crash in DHCPv6 renew, introduced in refactor.

11 years agoMassive refactor of stateful DHCPv6. Lease multiple prefixes per client.
Simon Kelley [Wed, 6 Mar 2013 20:52:35 +0000 (20:52 +0000)] 
Massive refactor of stateful DHCPv6. Lease multiple prefixes per client.

11 years agoDon't erroneously reject some option names in --dhcp-match
Simon Kelley [Thu, 28 Feb 2013 15:17:58 +0000 (15:17 +0000)] 
Don't erroneously reject some option names in --dhcp-match

11 years agoHandle EINTR return from sendto() in ipset.c
Simon Kelley [Sat, 23 Feb 2013 19:22:37 +0000 (19:22 +0000)] 
Handle EINTR return from sendto() in ipset.c

11 years agoAdd ipset.c to source files list in Android makefile.
Simon Kelley [Fri, 22 Feb 2013 21:56:22 +0000 (21:56 +0000)] 
Add ipset.c to source files list in Android makefile.

11 years agoIPset support in debian build.
Simon Kelley [Fri, 22 Feb 2013 21:55:29 +0000 (21:55 +0000)] 
IPset support in debian build.

11 years agoAdd --ipset option.
Jason A. Donenfeld [Fri, 22 Feb 2013 18:20:53 +0000 (18:20 +0000)] 
Add --ipset option.

11 years agoFix wrong DNSMASQ_LEASE_EXPIRES envar when luascript in use also.
Simon Kelley [Thu, 21 Feb 2013 22:26:18 +0000 (22:26 +0000)] 
Fix wrong  DNSMASQ_LEASE_EXPIRES envar when luascript in use also.

11 years agoFix crash in DHCPv6 information-request handler.
Simon Kelley [Tue, 19 Feb 2013 16:47:07 +0000 (16:47 +0000)] 
Fix crash in DHCPv6 information-request handler.

11 years agoDHCPv4 relay-agent options exposed to DHCP-script.
Simon Kelley [Mon, 18 Feb 2013 21:04:04 +0000 (21:04 +0000)] 
DHCPv4 relay-agent options exposed to DHCP-script.

11 years agoSupport DHCP DNS server option if we're not doing DNS.
Simon Kelley [Sun, 17 Feb 2013 16:41:35 +0000 (16:41 +0000)] 
Support DHCP DNS server option if we're not doing DNS.

11 years agoFix FTBFS if HAVE_BROKEN_RTC defined.
Simon Kelley [Wed, 6 Feb 2013 09:57:47 +0000 (09:57 +0000)] 
Fix FTBFS if HAVE_BROKEN_RTC defined.

11 years agoFix previous commit.
Simon Kelley [Tue, 5 Feb 2013 17:55:10 +0000 (17:55 +0000)] 
Fix previous commit.

11 years agoFix use-after-free
Simon Kelley [Tue, 5 Feb 2013 14:56:02 +0000 (14:56 +0000)] 
Fix use-after-free

11 years agoFix use-after-free
Simon Kelley [Tue, 5 Feb 2013 14:51:14 +0000 (14:51 +0000)] 
Fix use-after-free

11 years agoRemove dead code.
Simon Kelley [Tue, 5 Feb 2013 14:47:46 +0000 (14:47 +0000)] 
Remove dead code.

11 years agoFix wrong syntax check.
Simon Kelley [Tue, 5 Feb 2013 14:42:59 +0000 (14:42 +0000)] 
Fix wrong syntax check.

11 years agoTheoretical memory leak fix.
Simon Kelley [Tue, 5 Feb 2013 14:35:54 +0000 (14:35 +0000)] 
Theoretical memory leak fix.

11 years agoFix memory leak.
Simon Kelley [Mon, 4 Feb 2013 22:07:57 +0000 (22:07 +0000)] 
Fix memory leak.

11 years agoDon't leak sockets when getsockname fails.
Simon Kelley [Mon, 4 Feb 2013 21:47:59 +0000 (21:47 +0000)] 
Don't leak sockets when getsockname fails.

11 years agoMemory leak.
Simon Kelley [Mon, 4 Feb 2013 21:43:52 +0000 (21:43 +0000)] 
Memory leak.

11 years agoFix memory leak.
Simon Kelley [Mon, 4 Feb 2013 21:40:07 +0000 (21:40 +0000)] 
Fix memory leak.

11 years agoCopy-and-paste error
Simon Kelley [Mon, 4 Feb 2013 21:35:43 +0000 (21:35 +0000)] 
Copy-and-paste error

11 years agoCatch NULL pointer deref if qdcount == 0
Simon Kelley [Mon, 4 Feb 2013 21:32:34 +0000 (21:32 +0000)] 
Catch NULL pointer deref if qdcount == 0

11 years agoTypo in filter_constructed_dhcp()
Simon Kelley [Mon, 4 Feb 2013 21:25:21 +0000 (21:25 +0000)] 
Typo in filter_constructed_dhcp()

11 years agoChange copyright messages to include 2013.
Simon Kelley [Thu, 31 Jan 2013 14:34:40 +0000 (14:34 +0000)] 
Change copyright messages to include 2013.

11 years agoUpdate manpage for --dhcp-authoritative DHCPv6 behaviour.
Simon Kelley [Wed, 30 Jan 2013 11:31:02 +0000 (11:31 +0000)] 
Update manpage for --dhcp-authoritative DHCPv6 behaviour.

11 years agoHandle wrong interface for locally-routed packets.
Simon Kelley [Tue, 29 Jan 2013 22:10:26 +0000 (22:10 +0000)] 
Handle wrong interface for locally-routed packets.

11 years agoMan page typos.
Simon Kelley [Wed, 23 Jan 2013 19:49:21 +0000 (19:49 +0000)] 
Man page typos.

11 years agoCorrect behaviour for TCP queries to allowed address via banned interface.
Simon Kelley [Tue, 22 Jan 2013 13:53:04 +0000 (13:53 +0000)] 
Correct behaviour for TCP queries to allowed address via banned interface.

11 years agoWildcard IPv6 addresses in --dhcp-host, for constructed ranges.
Simon Kelley [Thu, 17 Jan 2013 16:34:16 +0000 (16:34 +0000)] 
Wildcard IPv6 addresses in --dhcp-host, for constructed ranges.

11 years agoFix last commit.
Simon Kelley [Tue, 15 Jan 2013 21:57:42 +0000 (21:57 +0000)] 
Fix last commit.

11 years agoCheck IAID as well as CLID for lease identity.
Simon Kelley [Mon, 14 Jan 2013 21:35:05 +0000 (21:35 +0000)] 
Check IAID as well as CLID for lease identity.

11 years agoTweak DHCP startup logging.
Simon Kelley [Fri, 11 Jan 2013 16:28:50 +0000 (16:28 +0000)] 
Tweak DHCP startup logging.

11 years agoMore IPv6 address allocation fixes.
Simon Kelley [Thu, 10 Jan 2013 11:47:38 +0000 (11:47 +0000)] 
More IPv6 address allocation fixes.

11 years agoBetter fix for interfaces without broadcast address on *BSD.
Simon Kelley [Wed, 9 Jan 2013 19:57:47 +0000 (19:57 +0000)] 
Better fix for interfaces without broadcast address on *BSD.

11 years agoDHCPv6 address allocation - same DUID, two IAIDs
Simon Kelley [Wed, 9 Jan 2013 19:51:04 +0000 (19:51 +0000)] 
DHCPv6 address allocation - same DUID, two IAIDs

11 years agoFix crash on startup on Solaris 11
Simon Kelley [Tue, 8 Jan 2013 21:22:24 +0000 (21:22 +0000)] 
Fix crash on startup on Solaris 11

11 years agoDon't do AXFR unless auth-sec-servers is set.
Simon Kelley [Mon, 7 Jan 2013 21:55:54 +0000 (21:55 +0000)] 
Don't do AXFR unless auth-sec-servers is set.

11 years agoDocumentation updates for auth-DNS and constructed dhcp ranges.
Simon Kelley [Mon, 7 Jan 2013 21:46:03 +0000 (21:46 +0000)] 
Documentation updates for auth-DNS and constructed dhcp ranges.

11 years agoLinked-list bug in new "use longest prefixes first" code.
Simon Kelley [Wed, 2 Jan 2013 17:59:28 +0000 (17:59 +0000)] 
Linked-list bug in new "use longest prefixes first" code.

11 years agoMan page updates
Simon Kelley [Wed, 2 Jan 2013 11:40:56 +0000 (11:40 +0000)] 
Man page updates

11 years agoFix auth-DNS filtering problems with contructed ranges.
Simon Kelley [Sun, 30 Dec 2012 17:54:04 +0000 (17:54 +0000)] 
Fix auth-DNS filtering problems with contructed ranges.

11 years agoWildcards in dhcp-range constructors
Simon Kelley [Sun, 30 Dec 2012 17:38:09 +0000 (17:38 +0000)] 
Wildcards in dhcp-range constructors

11 years agoUse RA_INTERVAL for lifetimes.
Simon Kelley [Sat, 29 Dec 2012 22:08:26 +0000 (22:08 +0000)] 
Use RA_INTERVAL for lifetimes.

11 years agoMake it legal to have no subnet in --auth-zone, may be contructed instead.
Simon Kelley [Sat, 29 Dec 2012 17:27:59 +0000 (17:27 +0000)] 
Make it legal to have no subnet in --auth-zone, may be contructed instead.

11 years agoAdd RA_INTERVAL parameter in config.h
Simon Kelley [Sat, 29 Dec 2012 17:13:04 +0000 (17:13 +0000)] 
Add RA_INTERVAL parameter in config.h

11 years agoUse /proc/sys/net/ipv6/conf/<iface>/mtu for RA advertised MTU.
Simon Kelley [Fri, 28 Dec 2012 11:55:45 +0000 (11:55 +0000)] 
Use /proc/sys/net/ipv6/conf/<iface>/mtu for RA advertised MTU.

11 years agoMore work on lease and router lifetime calculation.
Simon Kelley [Fri, 28 Dec 2012 11:31:44 +0000 (11:31 +0000)] 
More work on lease and router lifetime calculation.

11 years agoAllow constructed prefixes in auth zones.
Simon Kelley [Fri, 28 Dec 2012 11:29:01 +0000 (11:29 +0000)] 
Allow constructed prefixes in auth zones.

11 years agoJoin multicast groups only on IPv6 addresses!
Simon Kelley [Fri, 28 Dec 2012 11:18:09 +0000 (11:18 +0000)] 
Join multicast groups only on IPv6 addresses!