e226badb960695447af4c480bb183ec35c411bbf |
30-Sep-2014 |
Erik Kline <ek@google.com> |
Fixup existing listeners struct irec pointers. This fixes a difficult to diagnose bug in which when closing old listeners and creating new listeners, any listeners which stick around are regrettably left with their iface pointer pointing to a struct irec that is free()d at the end of the set_interfaces() call. This results in a situation where subsequent malloc()s can reuse this memory which, when written to, corrupts the listener's concept of its listening address (by overwriting iface.addr). This mean that when this listener is later closed because, say, tethering on its interface has been removed, the close logic is comparing IPv4 socket addresses with possible garbage, resulting in the socket not being closed because no matching listening address is found. Because the socket is never closed, if the interface is later re-added the bind() to the interface address fails with EADDRINUSE. Also: fix a bogus memset() invocation. Bug: 17475756 Change-Id: I369dcd50b1d03db279fdb2c1d7f0e048df21be65
rc/network.c
|
68eff53e7ed9df06f194478930f39b31c7a32458 |
26-Aug-2014 |
Lorenzo Colitti <lorenzo@google.com> |
Allow configuring a socket mark for DNS packets. This allows dnsmasq to send DNS queries on a non-default network (e.g., the DUN APN). We add support for a mark instead of using existing code to bind DNS servers to interfaces because: 1. Marks are more flexible, and we use them elsewhere. 2. The existing code to bind DNS servers to interfaces causes the DNS socket to be bound to a constant port, which exposes us to a Kaminsky attack. Bug: 16357676 Change-Id: I8933b6de198a92c2aaf0291931ace8966ddba275
rc/dnsmasq.h
rc/forward.c
rc/network.c
|
d1b102a58056b842bf81e0846b2d4a21e7c964eb |
18-Aug-2014 |
Elliott Hughes <enh@google.com> |
am ef815e0c: Fix dnsmasq \'_PATH_LOG\' undeclared build error. * commit 'ef815e0c09f9b45868ee73a09cf7186b23b899d3': Fix dnsmasq '_PATH_LOG' undeclared build error.
|
ef815e0c09f9b45868ee73a09cf7186b23b899d3 |
22-Jul-2014 |
Elliott Hughes <enh@google.com> |
Fix dnsmasq '_PATH_LOG' undeclared build error. This change came from upstream, presumably so they can build against the NDK. (cherry picked from commit 70eeec149a396b7c457d05de9e38d270a861b9fa) Change-Id: Ic8df0bcf2c1a0619005e6a87ee467e1242da22fe
rc/log.c
|
23d6d5c524cd8bb0dcba45ffa9dd546b507e7e30 |
22-Jul-2014 |
Elliott Hughes <enh@google.com> |
Fix dnsmasq '_PATH_LOG' undeclared build error. This change came from upstream, presumably so they can build against the NDK. (cherry picked from commit 70eeec149a396b7c457d05de9e38d270a861b9fa) Change-Id: Idca02fba6fd31e60fdd5710973c98e07ac71a7bc
rc/log.c
|
41d356427a632f5336384bfa45c8420ffc274f66 |
10-Apr-2013 |
Ying Wang <wangying@google.com> |
Add liblog Bug: 8580410 Change-Id: I0e478ef39bfdc83adaa8cbbd9c1b5a6b0d28bb39
rc/Android.mk
|
41cd7ed80eb5e97ef9893633d05f0877da7d6d0c |
11-Dec-2012 |
Robert Greenwalt <rgreenwalt@google.com> |
Only listen on the given interfaces. Stop being a public dns forwarder on our external interfaces. bug:7530468 Change-Id: Ic94cd66e66371de4fcc54f53b9f267f6611804b8
rc/dnsmasq.c
rc/dnsmasq.h
rc/network.c
|
758fb6cde3ee6ab53aa6b4b07a2acc2bde0b6c5d |
02-Jun-2012 |
Jean-Baptiste Queru <jbq@google.com> |
am ad7502a6: Merge "Ensure all commands read on dnsmasq\'s stdin are processed" * commit 'ad7502a6aeff431e9759e57734474576d4b085e7': Ensure all commands read on dnsmasq's stdin are processed
|
ad7502a6aeff431e9759e57734474576d4b085e7 |
02-Jun-2012 |
Jean-Baptiste Queru <jbq@google.com> |
Merge "Ensure all commands read on dnsmasq's stdin are processed"
|
00b7b3528890a27c04b2a6da87b790151cea8721 |
04-May-2012 |
Pierre Crépieux <pierre.crepieux@orange.com> |
Ensure all commands read on dnsmasq's stdin are processed As described in issue 30016, android dnsmasq daemon is misconfigured after initializing tethering. The reason is that two commands are present on dnsmasq stdin when check_android_listeners is called: update_dns:8.8.8.8:8.8.4.4\0update_dns:192.x.y.z (notice the \0 between the 2 commands). check_android_listeners assumes there is a single NUL terminated string and skip the second one. This patch ensure that every commands are processed by checking wether or not all the characters on stdin have been consumed and loop if needed. Also fixes style issues. Change-Id: I6d98233964559b8dcc1253aec105a240e1065c94 Signed-off-by: Pierre Crépieux <pierre.crepieux@orange.com>
rc/dnsmasq.c
|
8eab1fdd0eea4740b802c2994446259b4dea808c |
15-May-2012 |
Elliott Hughes <enh@google.com> |
Remove obsolete ThirdPartyProject.prop file. Change-Id: I95e6f923a13322003096e67aeaaf5199624ab980
hirdPartyProject.prop
|
f621afad94df46204c25fc2593a19d704d2637f5 |
12-Jul-2011 |
Jeff Brown <jeffbrown@google.com> |
Remove the simulator target from all makefiles. Bug: 5010576 Change-Id: Ie5fcad1808bcced3198dc650816373e2f7567e54
ndroid.mk
|
e17deb5139e6d1fe04be90edbed7f061e8da3ab0 |
20-Oct-2010 |
David Deephanphongs <dpanpong@google.com> |
Add missing NOTICE files. Copy NOTICE file from location in root into subdirectories where it will be picked up by the build system. Change-Id: Ie648543f307686d44b2010133c1027e8d5c7d34a
rc/NOTICE
|
1b25960ebe33754410ba3c663c1c45662c779381 |
16-Jul-2010 |
The Android Open Source Project <initial-contribution@android.com> |
add meta-files about 3rd party projects Change-Id: I84244ea72c1a603cc4342da13f67831dcd8eaf34
hirdPartyProject.prop
|
ffd82a77512f2d0971660e9cbd77242d8982a0b5 |
09-Mar-2010 |
Jean-Baptiste Queru <jbq@google.com> |
Add an empty CleanSpec.mk Change-Id: I9baee49df0139f5131d5a83f6d03fb2aa7a30f46
leanSpec.mk
|
b452a633478608d837184777d67688ad95867260 |
25-Feb-2010 |
Robert Greenwalt <robdroid@android.com> |
Remove a noisy logger. Used by tethering, this would get very noisy if you had wifi active.
rc/rfc2131.c
|
a422c9690b901ffeaf580050c93f4f9dada98a05 |
20-Jan-2010 |
San Mehat <san@google.com> |
dnsmasq: add empty MODULE_LICENSE_GPL Signed-off-by: San Mehat <san@google.com>
ODULE_LICENSE_GPL
|
5d9f14eec0561b73e860ece5fb50eab65ef6c3db |
20-Jan-2010 |
San Mehat <san@google.com> |
dnsmasq: Include GPLv2 notice file Signed-off-by: San Mehat <san@google.com>
OTICE
|
33b344454b95ed99bad7d3fe4d493870923deaf6 |
20-Jan-2010 |
San Mehat <san@google.com> |
dnsmasq: Allow runtime changing of DNS servers via STDIN Signed-off-by: San Mehat <san@google.com>
rc/Android.mk
rc/dnsmasq.c
rc/dnsmasq.h
rc/log.c
rc/network.c
|
5658bcb797978c3472335d93554405aba8236f66 |
20-Jan-2010 |
San Mehat <san@google.com> |
dnsmasq: Tweak for building on Android Signed-off-by: San Mehat <san@google.com>
ndroid.mk
rc/Android.mk
rc/config.h
rc/dnsmasq.c
rc/dnsmasq.h
rc/nameser.h
rc/option.c
|
ffd68729961f7383f2e35494a03ccdef20f86c98 |
20-Jan-2010 |
San Mehat <san@google.com> |
dnsmasq: Direct import of version 2.51 Signed-off-by: San Mehat <san@google.com>
HANGELOG
HANGELOG.archive
OPYING
OPYING-v3
AQ
akefile
ld/Makefile
ld/install-man
ld/install-mo
ld/pkg-wrapper
ontrib/Solaris10/README
ontrib/Solaris10/dnsmasq.xml
ontrib/Suse/README
ontrib/Suse/README.susefirewall
ontrib/Suse/dnsmasq-SuSE.patch
ontrib/Suse/dnsmasq-suse.spec
ontrib/Suse/rc.dnsmasq-suse
ontrib/dns-loc/README
ontrib/dns-loc/dnsmasq2-loc-rfc1876.patch
ontrib/dnslist/dhcp.css
ontrib/dnslist/dnslist.pl
ontrib/dnslist/dnslist.tt2
ontrib/dnsmasq_MacOSX/DNSmasq
ontrib/dnsmasq_MacOSX/README.rtf
ontrib/dnsmasq_MacOSX/StartupParameters.plist
ontrib/dynamic-dnsmasq/dynamic-dnsmasq.pl
ontrib/lease-access/README
ontrib/lease-access/lease.access.patch
ontrib/openvpn/README
ontrib/openvpn/dhclient-enter-hooks
ontrib/openvpn/dnsmasq.patch
ontrib/port-forward/dnsmasq-portforward
ontrib/port-forward/portforward
ontrib/slackware-dnsmasq/dnsmasq.SlackBuild
ontrib/slackware-dnsmasq/dnsmasq.leasedir.diff.gz
ontrib/slackware-dnsmasq/doinst.sh.gz
ontrib/slackware-dnsmasq/rc.dnsmasq.gz
ontrib/slackware-dnsmasq/slack-desc
ontrib/try-all-ns/README
ontrib/try-all-ns/README-2.47
ontrib/try-all-ns/dnsmasq-2.35-try-all-ns.patch
ontrib/try-all-ns/dnsmasq-2.47_no_nxdomain_until_end.patch
ontrib/webmin/README
ontrib/webmin/dnsmasq.wbm
ontrib/wrt/Makefile
ontrib/wrt/README
ontrib/wrt/dhcp_lease_time.c
ontrib/wrt/dhcp_release.c
ontrib/wrt/lease_update.sh
bus/DBus-interface
bus/dnsmasq.conf
nsmasq.conf.example
oc.html
an/dnsmasq.8
an/es/dnsmasq.8
an/fr/dnsmasq.8
o/de.po
o/es.po
o/fi.po
o/fr.po
o/id.po
o/it.po
o/no.po
o/pl.po
o/pt_BR.po
o/ro.po
etup.html
rc/bpf.c
rc/cache.c
rc/config.h
rc/dbus.c
rc/dhcp.c
rc/dnsmasq.c
rc/dnsmasq.h
rc/forward.c
rc/helper.c
rc/lease.c
rc/log.c
rc/netlink.c
rc/network.c
rc/option.c
rc/rfc1035.c
rc/rfc2131.c
rc/tftp.c
rc/util.c
|
8d761fe81866f3efe760adf225c57da8ee9cbda8 |
20-Jan-2010 |
Nico Sallembien <nsallembien@google.com> |
new project, first commit
|