Hello Simon,
I was unfortunately wrong.
The following commit is responsible for this issue:
https://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commitdiff;h=57f0489f384193f7c962fb2a20c9e2e867f86039
Before that, with the same settings, everything works fine.
I'm using this adblock file:
https://bitbucket.org/pedro311/freshtomato-arm/downloads/dnsmasq.adblock
and this (more or less) config file:
https://bitbucket.org/pedro311/freshtomato-arm/downloads/dnsmasq.conf
Using these settings, query the following domains (in random order,
multiple times):
adservice.google.com
google.com
consent.google.com
play.google.com
google.com/etc/
I can get dnsmasq to SIGSEGV.
-------------------------------------
[querying some domain that (page) contains a lot of google stuff in it,
but it's better to do it manually]
Apr 1 04:59:09 router daemon.info dnsmasq[4396]: query[A]
play.google.com from 192.168.2.200
Apr 1 04:59:09 router daemon.info dnsmasq[4396]: forwarded
play.google.com to 127.0.0.1#5453
Apr 1 04:59:09 router daemon.info dnsmasq[4396]: validation result is
INSECURE
Apr 1 04:59:09 router daemon.info dnsmasq[4396]: reply play.google.com
is 142.250.203.206
Apr 1 04:59:09 router daemon.info dnsmasq[4396]: query[A]
consent.google.pl from 192.168.2.200
Apr 1 04:59:09 router daemon.info dnsmasq[4396]: forwarded
consent.google.pl to 127.0.0.1#5453
Apr 1 04:59:09 router daemon.info dnsmasq[4396]: validation result is
INSECURE
Apr 1 04:59:09 router daemon.info dnsmasq[4396]: reply
consent.google.pl is 216.58.215.110
Apr 1 04:59:09 router daemon.info dnsmasq[4396]: query[A]
www.google-analytics.com from 192.168.1.201
Apr 1 04:59:09 router daemon.info dnsmasq[4396]: config
www.google-analytics.com is NXDOMAIN
Apr 1 04:59:09 router daemon.info dnsmasq[4396]: query[A]
adservice.google.com from 192.168.1.201
Apr 1 04:59:09 router daemon.info dnsmasq[4396]: config
adservice.google.com is NXDOMAIN
Apr 1 04:59:09 router daemon.info dnsmasq[4396]: query[A]
adservice.google.pl from 192.168.1.201
Apr 1 04:59:09 router daemon.info dnsmasq[4396]: forwarded
adservice.google.pl to 127.0.0.1#5453
Apr 1 04:59:09 router daemon.info dnsmasq[4396]: query[A]
adservice.google.pl from 192.168.1.201
Apr 1 04:59:09 router daemon.info dnsmasq[4396]: forwarded
adservice.google.pl to 127.0.0.1#5453
Apr 1 04:59:09 router daemon.info dnsmasq[4396]: dnssec-query[DS]
google.pl to 127.0.0.1#5453
Apr 1 04:59:09 router daemon.info dnsmasq[4396]: reply google.pl is no DS
Apr 1 04:59:09 router kern.warn kernel: dnsmasq/4396: potentially
unexpected fatal signal 11.
Apr 1 04:59:09 router kern.warn kernel: Pid: 4396, comm:
dnsmasq
Apr 1 04:59:09 router kern.warn kernel: CPU: 0 Tainted: P
(2.6.36.4brcmarm #28)
Apr 1 04:59:09 router kern.warn kernel: PC is at 0x2e404
Apr 1 04:59:09 router kern.warn kernel: LR is at 0x92c18
Apr 1 04:59:09 router kern.warn kernel: pc : [<0002e404>] lr :
[<00092c18>] psr: 00000010
Apr 1 04:59:09 router kern.warn kernel: sp : beaefa60 ip : 000205e6
fp : 0000000e
Apr 1 04:59:09 router kern.warn kernel: r10: 00000000 r9 : beaefa9c
r8 : 00091e3c
Apr 1 04:59:09 router kern.warn kernel: r7 : 00091e3c r6 : 00000000
r5 : 00095f20 r4 : 00831400
Apr 1 04:59:09 router kern.warn kernel: r3 : 00092c18 r2 : 402c8008
r1 : 402c8008 r0 : 6c62756f
Apr 1 04:59:09 router kern.warn kernel: Flags: nzcv IRQs on FIQs on
Mode USER_32 ISA ARM Segment user
Apr 1 04:59:09 router kern.warn kernel: Control: 10c53c7d Table:
8f34004a DAC: 00000015
Apr 1 05:00:00 router syslog.info root: -- MARK --
Apr 1 05:00:00 router user.notice dnsmasq-watchdog: dnsmasq stopped?
Starting...
-------------------------------------
BR
pedro
Hello Simon,
Thanks for answering. I'm helping Pedro, FreshTomato main dev. I'm
acting as messenger.
Here's what he have found so far:
```
I'm checking now which commit is responsible for this problem. It looks
like this one:
https://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=snapshot;h=7c1212e3d1b88359d2c28fa2fe42fee2fcc39732;sf=tgz
<https://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=snapshot;h=7c1212e3d1b88359d2c28fa2fe42fee2fcc39732;sf=tgz>
Everything after that causes these problems. Once I know for sure, I'll
try posting the log here with --log-queries enabled and if that doesn't
help, then with gdb.
The previous bug was easy to find:
https://github.com/FreshTomato-Project/freshtomato-mips/issues/6 , but
this one looks more complex.
```
Thank you!
Mat (HommeOursPorc)
_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss
_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss