infinet / dnsmasq

dnsmasq fork with fast ipset/server/address lookup
GNU General Public License v2.0
320 stars 83 forks source link

一启用这个gfwlist,过会儿就都无法上网了,用原版不会 #9

Closed cpexplorer closed 5 years ago

cpexplorer commented 7 years ago

版本:V2.77test4 最新 系统:lede-17.01.0 Makefile和patches来自lede master源: https://github.com/cpexplorer/openwrt-dnsmasq-fastlookup/tree/v2.77test4 启用这个ss-rss:的gfwlist后,每次都是过一小会儿都无法上网,重启dnsmasq后能上一瞬间后又陷入循环了 https://github.com/cpexplorer/Luci/tree/master/luci-app-shadowsocks-rss

infinet commented 7 years ago

这个ss-rss网址是?

cpexplorer commented 7 years ago

在别人的源码基础上修改的https://github.com/cpexplorer/Luci/tree/master/luci-app-shadowsocks-rss 配合这个gfwlist https://github.com/cpexplorer/packages/tree/master/net/ipset-lists-fix 好像也有网友遇到类似问题,我也是用着无线 2017-02-28_153407

infinet commented 7 years ago

看起来复杂得很,有没有已经转换好的dnsmasq配置文件?

cokebar commented 7 years ago

gfwlist上的,dnsmasq转发到哪里了,贴出几行你的dnsmasq 规则

cpexplorer commented 7 years ago

china-banned-pollution.conf: server=/030buy.com/127.0.0.1#7453 server=/0pointer.de/127.0.0.1#7453 server=/0rz.tw/127.0.0.1#7453 server=/0to255.com/127.0.0.1#7453 server=/1000giri.net/127.0.0.1#7453

ipset-china-banned.conf: ipset=/030buy.com/china-banned ipset=/0pointer.de/china-banned ipset=/0rz.tw/china-banned ipset=/0to255.com/china-banned ipset=/1000giri.net/china-banned

转发给了pdnsd的端口7453

补充一下,早上一直是无法上网现象,刚重新启用了下,无线网异常了一会儿(比如ssh进192.168.1.1一直无法连上)之后,现在好像又正常了

cpexplorer commented 7 years ago

无法上网时,发现dnsmasq挂了 2017-02-28_204433

infinet commented 7 years ago

我也发现了这个问题,请试用最新的commit

cokebar commented 7 years ago

使用最新commit测试中,跑queryperf,cpu占用不高于4%;linksys WRT1900ACS。 目前还没出现问题。 makefile:https://github.com/cokebar/lede-dnsmasq-fastlookup

cpexplorer commented 7 years ago

不知两位使用石像鬼固件不,这个增强版dnsmasq 貌似 (自己没技术去排查,所以只是一种感觉)跟石像鬼有冲突,表现为使用一段时间后无线反复掉线重启,严重时路由频繁自动重启。换成原版后尚未发现这个问题。使用的增强版包括2.7.2以及这个最新。

cpexplorer commented 7 years ago

2017-03-08_234809

infinet commented 7 years ago

这个问题和dnsmasq无关。

cpexplorer commented 7 years ago

@infinet 这个话题可以关闭了,在不开石像鬼的固件上一切使用正常

nu1ee commented 7 years ago

[ 6427.839063] dnsmasq[4026]: segfault at 50 ip 0000000000416cde sp 00007ffc539b2d10 error 4 in dnsmasq[400000+38000] [ 6436.807904] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready [ 6436.846632] 8021q: adding VLAN 0 to HW filter on device eth1 [ 6436.879693] e1000: eth1 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None [ 6436.882008] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready [ 6445.562012] dnsmasq[21899]: segfault at 50 ip 0000000000416cde sp 00007ffccdfde060 error 4 in dnsmasq[400000+38000] [ 6450.663567] pppoe-wan: renamed from ppp0 [ 6453.560282] dnsmasq[21939]: segfault at 50 ip 0000000000416cde sp 00007fff293ece80 error 4 in dnsmasq[400000+38000] [ 6461.562251] dnsmasq[21985]: segfault at 50 ip 0000000000416cde sp 00007ffe0704a550 error 4 in dnsmasq[400000+38000] [ 6492.742055] IMQ driver unloaded successfully. [ 6493.159569] Hooked IMQ after mangle on INPUT [ 6493.159781] Hooked IMQ after mangle on FORWARD [ 6493.159929] IMQ driver loaded successfully. (numdevs = 1, numqueues = 1, imq_dev_accurate_stats = 1) [ 6493.160220] Hooking IMQ before NAT on PREROUTING. [ 6493.160370] Hooking IMQ after NAT on POSTROUTING. [21082.900023] hrtimer: interrupt took 3130128751 ns [21180.486575] dnsmasq[22026]: segfault at 50 ip 0000000000416cde sp 00007ffcb56d0620 error 4 in dnsmasq[400000+38000] [21207.955989] dnsmasq[22396]: segfault at 50 ip 0000000000416cde sp 00007fffeffd75d0 error 4 in dnsmasq[400000+38000] [21220.492293] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready [21220.577770] 8021q: adding VLAN 0 to HW filter on device eth1 [21220.684276] e1000: eth1 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None [21221.543096] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready [21222.402504] dnsmasq[22423]: segfault at 50 ip 0000000000416cde sp 00007ffcd57297e0 error 4 in dnsmasq[400000+38000] [21229.528264] pppoe-wan: renamed from ppp0 [21232.792754] dnsmasq[22508]: segfault at 50 ip 0000000000416cde sp 00007fff2172b5f0 error 4 in dnsmasq[400000+38000] [21287.724424] IMQ driver unloaded successfully. [21288.087339] Hooked IMQ after mangle on INPUT [21288.103135] Hooked IMQ after mangle on FORWARD [21288.103374] IMQ driver loaded successfully. (numdevs = 1, numqueues = 1, imq_dev_accurate_stats = 1) [21288.103697] Hooking IMQ before NAT on PREROUTING. [21288.103875] Hooking IMQ after NAT on POSTROUTING. [21987.182119] dnsmasq[22544]: segfault at 50 ip 0000000000416cde sp 00007ffd5cfe68d0 error 4 in dnsmasq[400000+38000] [22027.708571] dnsmasq[25680]: segfault at 50 ip 0000000000416cde sp 00007ffd8999e0d0 error 4 in dnsmasq[400000+38000] [22048.164758] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready [22048.199787] 8021q: adding VLAN 0 to HW filter on device eth1 [22048.328149] e1000: eth1 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None [22048.740051] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready [22066.699120] dnsmasq[25715]: segfault at 50 ip 0000000000416cde sp 00007fff2e010b20 error 4 in dnsmasq[400000+38000] [22078.103149] pppoe-wan: renamed from ppp0 [22182.522315] IMQ driver unloaded successfully. [22183.108346] Hooked IMQ after mangle on INPUT [22183.108521] Hooked IMQ after mangle on FORWARD [22183.108699] IMQ driver loaded successfully. (numdevs = 1, numqueues = 1, imq_dev_accurate_stats = 1) [22183.121193] Hooking IMQ before NAT on PREROUTING. [22183.121499] Hooking IMQ after NAT on POSTROUTING. [23908.431240] dnsmasq[27185]: segfault at 50 ip 0000000000416cde sp 00007ffd8513c110 error 4 in dnsmasq[400000+38000] [23934.570023] e1000: eth1 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None

上面错误信息 network 自动重启

cpexplorer commented 7 years ago

@nu1ee 也是石像鬼固件吧?