summaryrefslogtreecommitdiffstats
path: root/src/dnsmasq.h
Commit message (Collapse)AuthorAgeFilesLines
* Allow configuring a socket mark for DNS packets.Lorenzo Colitti2014-08-271-1/+3
| | | | | | | | | | | | | | 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
* Only listen on the given interfaces.Robert Greenwalt2012-12-141-0/+1
| | | | | | | Stop being a public dns forwarder on our external interfaces. bug:7530468 Change-Id: Ic94cd66e66371de4fcc54f53b9f267f6611804b8
* dnsmasq: Allow runtime changing of DNS servers via STDINSan Mehat2010-01-201-0/+3
| | | | Signed-off-by: San Mehat <san@google.com>
* dnsmasq: Tweak for building on AndroidSan Mehat2010-01-201-3/+9
| | | | Signed-off-by: San Mehat <san@google.com>
* dnsmasq: Direct import of version 2.51San Mehat2010-01-201-0/+885
Signed-off-by: San Mehat <san@google.com>