Re: [Dnsmasq-discuss] Sending a fake reply to client by dnsmasq

2016-06-14 Thread ravin goyal
. Thanks On 14-Jun-2016 6:41 PM, wrote: > On 06/14/2016 08:30 AM, ravin goyal wrote: > >> Hi Sir >> >> I actually need to do it in code rather than in the conf file itself. >> Can you tell me that i am making changes at right function and in the >> right file >&

Re: [Dnsmasq-discuss] Sending a fake reply to client by dnsmasq

2016-06-14 Thread ravin goyal
2016 at 17:08, Albert ARIBAUD wrote: > Hi Ravin, > > Le Tue, 14 Jun 2016 16:30:41 +0530 > ravin goyal a écrit: > > > Hi, I am working on dnsmasq-2.75 and i want to send a fake reply to > > client when it reqest dnsmasq for answers such that dnsmasq rather > > than

[Dnsmasq-discuss] Sending a fake reply to client by dnsmasq

2016-06-14 Thread ravin goyal
Hi, I am working on dnsmasq-2.75 and i want to send a fake reply to client when it reqest dnsmasq for answers such that dnsmasq rather than sending the packet contaning the reply it sends the fake reply I tried changing daemon->packet memory location to some random valid memory location in reply_q