V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  nowheretoseek  ›  全部回复第 1 页 / 共 13 页
回复总数  249
1  2  3  4  5  6  7  8  9  10 ... 13  
148 天前
回复了 nowheretoseek 创建的主题 VPS 刚买的阿里云 99 元机器反应很慢
@FlytoSirius 是我本地路由器中有透明代理,阿里云服务器的 ip 没在白名单中,所以流量是饶了一大圈才到阿里云服务器。跟阿里云的配置没关系。
148 天前
回复了 nowheretoseek 创建的主题 VPS 刚买的阿里云 99 元机器反应很慢
是我犯傻,忘记把新 IP 加入透明代理白名单了,已解决,叨扰各位了
@nowheretoseek @opengps @jhytxy @Yien
148 天前
回复了 nowheretoseek 创建的主题 微信 Windows 版微信缺失了一年多的数据
结案
补充:uptimerobot 是五分钟一次,没有恶意特征啊。再就是怎么腾讯云在网路中间提供了一个 http 代理吗,他不应该只是基础设施,在网络层活动吗?
318 天前
回复了 nowheretoseek 创建的主题 OpenWrt openwrt 经常无法提供 dhcp、dns 服务
@huaxie1988 谢谢指教,以后尝试下。搜到了一个别人编译的适用 7621 的包: https://www.right.com.cn/forum/thread-8273761-1-1.html
326 天前
回复了 nowheretoseek 创建的主题 OpenWrt openwrt 经常无法提供 dhcp、dns 服务
@flynaj 是重新配置的,问题已解决,跟自定义配置无关,跟外部引入的规则文件以及 dnsmasq 的 bug 有关,在 8 楼说明了。
326 天前
回复了 nowheretoseek 创建的主题 OpenWrt openwrt 经常无法提供 dhcp、dns 服务
查询发现是因为此配置文件引入大量的 server 规则( 6w+条),dnsmasq 2.86 更新似乎引入了 bug ,导致处理这种情况无力,cpu 高占用,一直遍历完规则才会在 53 端口和 67 端口开启服务,解决办法是放弃这个规则文件或更换 dnsmasq 版本。

```
Mem: 99612K used, 410224K free, 11516K shrd, 0K buff, 41192K cached
CPU: 24% usr 0% sys 0% nic 74% idle 0% io 0% irq 0% sirq
Load average: 1.78 1.40 1.42 3/115 9331

PID PPID USER STAT VSZ %VSZ %CPU COMMAND
9287 9285 root R 6456 1% 24% /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf.cfg01411c -k -x /var/run/dnsmasq/dnsmasq.cfg01411c.pid
```
326 天前
回复了 nowheretoseek 创建的主题 OpenWrt openwrt 经常无法提供 dhcp、dns 服务
@nowheretoseek @br2049 @Yzh361 排查发现问题症结了,是 conf-dir 中引入的一个配置文件导致的,[accelerated-domains.china.conf]( https://github.com/felixonmars/dnsmasq-china-list/blob/master/accelerated-domains.china.conf),删除它重启 dnsmasq 就一切正常,恢复它重启 dnsmasq 后 53 端口和 67 端口服务就不监听。

此文件在 19.07.6 版本 openwrt+2.80 版本 dnsmasq 也有使用,并无问题,出问题的环境是 22.03.3 版本的 openwrt+2.86 版本的 dnsmasq ,具体原因需要进一步排查。
326 天前
回复了 nowheretoseek 创建的主题 OpenWrt openwrt 经常无法提供 dhcp、dns 服务
@br2049 好的,我会发发试试

提供点额外信息,就是出问题时,系统不会监听 53 和 67 端口,为了确认不是系统问题,我新装了 samba ,发现 137-139 以及 445 端口都会被监听,另外安装 dnsmasq-full 也不解决问题。但进程列表中 dnsmasq 是在的。

```
root@OpenWrt:~# ps | grep dnsmasq
2644 root 2664 S {dnsmasq} /sbin/ujail -t 5 -n dnsmasq -u -l -r /bin/ubus -r /etc/TZ -r /etc/dnsmasq.conf -r /etc/dnsmasq.d -r /etc/ethers -r /etc/group -r /etc/hosts -r /etc/passwd
2650 root 15996 R /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf.cfg01411c -k -x /var/run/dnsmasq/dnsmasq.cfg01411c.pid
```
@vsyf 我系统版本是 19.07.6 ,dnsmasq 版本是 2.8.0 ,/etc/dnsmasq.d 是写在 /etc/dnsmasq.conf 里面的,测试确认 /etc/dnsmasq.d 和 /tmp/dnsmasq.d 都被读取,因为如果里面有语法错误,都无法启动 dnsmasq 。

```
root@OpenWrt:/etc/dnsmasq.d# dnsmasq -v
Dnsmasq version 2.80 Copyright (c) 2000-2018 Simon Kelley
Compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-nettlehash no-DNSSEC no-ID loop-detect inotify dumpfile

This software comes with ABSOLUTELY NO WARRANTY.
Dnsmasq is free software, and you are welcome to redistribute it
under the terms of the GNU General Public License, version 2 or 3.
```

```
root@OpenWrt:/etc/dnsmasq.d# tail /etc/dnsmasq.conf
#Example zeroconf
#txt-record=_http._tcp.example.com,name=value,paper=A4

# Provide an alias for a "local" DNS name. Note that this _only_ works
# for targets which are names from DHCP or /etc/hosts. Give host
# "bert" another name, bertrand
# The fields are <cname>,<target>
#cname=bertand,bert
srv-host=_vlmcs._tcp.lan,OpenWrt.lan,1688,0,100
conf-dir=/etc/dnsmasq.d
```
327 天前
回复了 nowheretoseek 创建的主题 OpenWrt openwrt 经常无法提供 dhcp、dns 服务
@Yzh361 另一台刷了 19.07.6 ,一直用着很稳定。我试过把有问题的这台也刷成 19.07.6 ,并恢复那台的 overlay 备份,也是不行,不过也可能是我什么疏忽给搞错了
327 天前
回复了 nowheretoseek 创建的主题 OpenWrt openwrt 经常无法提供 dhcp、dns 服务
@br2049 刷过 22.03.5 ,恢复 overlay 备份后还是这样
337 天前
回复了 nowheretoseek 创建的主题 问与答 请教这个 cpu 是怎么回事?
@litguy 谢谢指路,我不知道这种东西还能改装,倒不是纠结,毕竟买个正式版的就几十块钱,只是好奇,看来是小作坊自己接的引脚呀
2023-02-15 10:33:52 +08:00
回复了 lyhang 创建的主题 程序员 2023 新年新新新新气象-北京程序员交流群
Yml6MTE0NTYw 求拉,谢谢
pssh

```
echo "alias pssh=parallel-ssh" >> ~/.bashrc && . ~/.bashrc
echo "alias pscp=parallel-scp" >> ~/.bashrc && . ~/.bashrc
echo "alias prsync=parallel-rsync" >> ~/.bashrc && . ~/.bashrc
echo "alias pnuke=parallel-nuke" >> ~/.bashrc && . ~/.bashrc
echo "alias pslurp=parallel-slurp" >> ~/.bashrc && . ~/.bashrc
```
2022-12-16 17:47:04 +08:00
回复了 dolorain 创建的主题 VPS 软路由市场好乱
上个网,能用能 fq 就行了,感觉软路由是瞎折腾
2022-12-06 13:50:48 +08:00
回复了 nowheretoseek 创建的主题 VPS hostiger 这么便宜,靠谱吗?
@mayli 谁付广告费,或者你怀疑这公司是我开的?
2022-12-04 15:53:23 +08:00
回复了 nowheretoseek 创建的主题 VPS hostiger 这么便宜,靠谱吗?
@idragonet 大陆直连肯定不会快,所以觉得适合放 cf 后建站用
1  2  3  4  5  6  7  8  9  10 ... 13  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5880 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 33ms · UTC 02:39 · PVG 10:39 · LAX 19:39 · JFK 22:39
Developed with CodeLauncher
♥ Do have faith in what you're doing.