找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
楼主: 不再***

[2018-04-03]让荒野无灯老毛子固件的K2P支持udp转发

 火... [复制链接]
发表于 2018-3-13 21:50 | 显示全部楼层
感谢大佬!!!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-3-13 23:04 | 显示全部楼层
无灯最新的K2P 改了这种分区 比以前更蛋疼。
以前可以直接保存ETC分区,起码不会丢失。
现在定时就丢失还原了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-3-14 11:06 | 显示全部楼层
另外被赋予权限755   确认后又变成0755了  

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×

点评

自己翻我在帖子里的回复吧  详情 回复 发表于 2018-3-14 14:23
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-3-14 11:20 | 显示全部楼层
我是usb 0910 128m版本,用你的脚本只能用gfwlist模式才能用S-S R但是只能GOOGLE才能访问,尝试用用chnrounte模式却无却使用S-S R,能否修改一下能让chnrounte模式也能启用S-S R谢谢。

点评

我的脚本支持所有模式,具体切换方法与无灯原版SS设置方法一样  详情 回复 发表于 2018-3-14 14:23
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-3-14 13:00 | 显示全部楼层
Mar 14 12:33:01 S-S R改写脚本: S-S R服务已开启,已开启udp转发!!!
Mar 14 12:33:02 /etc/storage/S-S R/S-S R-redir[1196]: initializing ciphers... chacha20-ietf
Mar 14 12:33:02 /etc/storage/S-S R/S-S R-redir[1196]: UDP relay enabled
Mar 14 12:33:02 /etc/storage/S-S R/S-S R-redir[1196]: listening at 0.0.0.0:1079
Mar 14 12:33:02 /etc/storage/S-S R/S-S R-redir[1196]: running from root user
Mar 14 12:33:10 koolproxy[1125]: update detect: /usr/sbin/koolproxy, online md5: 8ae69949e4128223db6da11881a651b0, local md5: ba4c50b160db1c9776a378f1411307e5
Mar 14 12:33:12 koolproxy[1125]: update failed: /usr/sbin/koolproxy, code: 200, online md5: 8ae69949e4128223db6da11881a651b0, download md5: 8ae69949e4128223db6da11881a651b0
Mar 14 12:50:12 /etc/storage/S-S R/S-S R-redir[1196]: server recv: Connection reset by peer
Mar 14 12:55:28 /etc/storage/S-S R/S-S R-redir[1196]: server recv: Connection reset by peer
Mar 14 12:57:48 /etc/storage/S-S R/S-S R-redir[1196]: server recv: Connection timed out
Mar 14 12:59:09 /etc/storage/S-S R/S-S R-redir[1196]: server recv: Connection reset by peer

上googole断断续续
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2018-3-14 14:23 | 显示全部楼层
qyzjj 发表于 2018-3-14 11:20
我是usb 0910 128m版本,用你的脚本只能用gfwlist模式才能用S-S R但是只能GOOGLE才能访问,尝试用用chnroun ...

我的脚本支持所有模式,具体切换方法与无灯原版SS设置方法一样
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2018-3-14 14:23 | 显示全部楼层
自由的小小鸽子 发表于 2018-3-14 11:06
另外被赋予权限755   确认后又变成0755了

自己翻我在帖子里的回复吧
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2018-3-14 14:25 | 显示全部楼层
shenzxc 发表于 2018-3-14 13:00
Mar 14 12:33:01 S-S R改写脚本: S-S R服务已开启,已开启udp转发!!!
Mar 14 12:33:02 /etc/storage/S- ...

这个与你S-S R服务器稳定性和最近GFW有关,你可以刷A大的固件试试,也是会这样的
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-3-14 14:27 | 显示全部楼层

我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-3-14 15:11 | 显示全部楼层
不再完美 发表于 2018-3-14 14:23
我的脚本支持所有模式,具体切换方法与无灯原版SS设置方法一样

我这个版本只有gwflist模式可以用
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2018-3-14 15:28 | 显示全部楼层
qyzjj 发表于 2018-3-14 15:11
我这个版本只有gwflist模式可以用

自己研究吧,我只能说1116版本以上的固件实测都没问题
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-3-14 20:21 | 显示全部楼层
新人报道,楼主相当强悍
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-3-15 10:48 | 显示全部楼层
不再完美 发表于 2018-3-14 15:28
自己研究吧,我只能说1116版本以上的固件实测都没问题

Mar 15 10:43:00 S-S R改写脚本: S-S R服务已开启,未开启udp转发!!!
Mar 15 10:43:02 /etc/storage/S-S R/S-S R-redir[7223]: listening at 0.0.0.0:1079
Mar 15 10:43:02 /etc/storage/S-S R/S-S R-redir[7223]: running from root user
Mar 15 10:43:26 watchdog: s-s is not working properly, restart it!
Mar 15 10:43:26 [GoogleFu]:  ==== stop_ss start. ====
Mar 15 10:43:26 [script_DEADC0DE]:  ==== ss_stoped ====
Mar 15 10:43:27 [script_DEADC0DE]: Done stop.
Mar 15 10:43:27 S-S R改写脚本: S-S R服务已关闭。。
Mar 15 10:43:27 [GoogleFu]:  ==== stop_ss end. ====
Mar 15 10:43:27 [GoogleFu]:  <==================== restart_ss start. ====================>
Mar 15 10:43:27 [GoogleFu]:  ==== start_ss_redir start. ====
Mar 15 10:43:27 [GoogleFu]:  ==== start_ss_redir end. eval ret: 0 ====
Mar 15 10:43:27 [GoogleFu]:  ==== start_china-dns start. ====
Mar 15 10:43:27 [GoogleFu]:  ==== start_china-dns end. eval ret: 0 ====
Mar 15 10:43:27 [GoogleFu]: ss_redir_ret 0, ss_dns_ret 0
Mar 15 10:43:27 [GoogleFu]:  ==== SCRIPT_s-s_UPDOWN ====
Mar 15 10:43:27 [script_DEADC0DE]:  ==== ss_started ====
Mar 15 10:43:27 [script_DEADC0DE]: create 0X8BADF00D chain in nat table...
Mar 15 10:43:27 [script_DEADC0DE]: ipset: create list
Mar 15 10:43:28 [script_DEADC0DE]: bypass match-set chnroute dst
Mar 15 10:43:28 [script_DEADC0DE]: nat to 0X8BADF00D chain
Mar 15 10:43:28 dnsmasq[7158]: exiting on receipt of SIGTERM
Mar 15 10:43:28 dnsmasq[7468]: started, version 2.77 cachesize 1024
Mar 15 10:43:28 dnsmasq[7468]: compile time options: IPv6 GNU-getopt no-RTC no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset no-auth no-DNSSEC no-loop-detect no-inotify
Mar 15 10:43:28 dnsmasq-dhcp[7468]: DHCP, IP range 192.168.4.2 -- 192.168.4.244, lease time 1d
Mar 15 10:43:28 dnsmasq-dhcp[7468]: DHCP, sockets bound exclusively to interface br0
Mar 15 10:43:28 dnsmasq[7468]: using nameserver 127.0.0.1#5353
Mar 15 10:43:28 dnsmasq[7468]: read /etc/hosts - 3 addresses
Mar 15 10:43:28 dnsmasq[7468]: read /etc/storage/dnsmasq/hosts - 0 addresses
Mar 15 10:43:28 dnsmasq-dhcp[7468]: read /etc/dnsmasq/dhcp/dhcp-hosts.rc
Mar 15 10:43:28 dnsmasq[7468]: using nameserver 114.114.114.114#53 for domain cn
Mar 15 10:43:28 dnsmasq[7468]: using nameserver 114.114.114.114#53 for domain kprule.com
Mar 15 10:43:28 dnsmasq[7468]: using nameserver 114.114.114.114#53 for domain koolproxy.com
Mar 15 10:43:28 dnsmasq[7468]: using nameserver 114.114.114.114#53 for domain update.adbyby.com
Mar 15 10:43:28 dnsmasq[7468]: using nameserver 127.0.0.1#5353
Mar 15 10:43:28 [script_DEADC0DE]: Done start.
Mar 15 10:43:31 [GoogleFu]:  <==================== restart_ss end. ====================>
Mar 15 10:43:31 [koolproxy]:  ==== koolproxy_restart start. ====
Mar 15 10:43:31 [koolproxy]:  ==== koolproxy start ret: 0 ====
Mar 15 10:43:31 koolproxy[7569]: koolproxy v3.6.2
Mar 15 10:43:31 koolproxy[7569]: log level=4
Mar 15 10:43:31 koolproxy[7569]: thread count=4
Mar 15 10:43:31 koolproxy[7569]: work path=/
Mar 15 10:43:31 koolproxy[7569]: program path=/usr/sbin/koolproxy
Mar 15 10:43:31 koolproxy[7569]: data path=/etc/storage/koolproxy/data
Mar 15 10:43:31 koolproxy[7569]: ttl mode=0
Mar 15 10:43:31 koolproxy[7569]: mark mode=0
Mar 15 10:43:31 koolproxy[7569]: max fd=131070
Mar 15 10:43:31 koolproxy[7569]: init adblock engine
Mar 15 10:43:31 koolproxy[7569]: load adblock normal rule: /etc/storage/koolproxy/data/rules/koolproxy.txt
Mar 15 10:43:32 [koolproxy]:  ==== koolproxy_restart end. ====
Mar 15 10:43:32 [adbyby]:  ==== adbyby_restart start. ====
Mar 15 10:43:32 dnsmasq[7468]: exiting on receipt of SIGTERM
Mar 15 10:43:32 dnsmasq[7597]: started, version 2.77 cachesize 1024
Mar 15 10:43:32 dnsmasq[7597]: compile time options: IPv6 GNU-getopt no-RTC no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset no-auth no-DNSSEC no-loop-detect no-inotify
Mar 15 10:43:32 dnsmasq-dhcp[7597]: DHCP, IP range 192.168.4.2 -- 192.168.4.244, lease time 1d
Mar 15 10:43:32 dnsmasq-dhcp[7597]: DHCP, sockets bound exclusively to interface br0
Mar 15 10:43:32 dnsmasq[7597]: using nameserver 127.0.0.1#5353
Mar 15 10:43:32 dnsmasq[7597]: read /etc/hosts - 3 addresses
Mar 15 10:43:32 dnsmasq[7597]: read /etc/storage/dnsmasq/hosts - 0 addresses
Mar 15 10:43:32 dnsmasq-dhcp[7597]: read /etc/dnsmasq/dhcp/dhcp-hosts.rc
Mar 15 10:43:32 dnsmasq[7597]: using nameserver 114.114.114.114#53 for domain cn
Mar 15 10:43:32 dnsmasq[7597]: using nameserver 114.114.114.114#53 for domain kprule.com
Mar 15 10:43:32 dnsmasq[7597]: using nameserver 114.114.114.114#53 for domain koolproxy.com
Mar 15 10:43:32 dnsmasq[7597]: using nameserver 114.114.114.114#53 for domain update.adbyby.com
Mar 15 10:43:32 dnsmasq[7597]: using nameserver 127.0.0.1#5353
Mar 15 10:43:33 koolproxy[7569]: load adblock daily rule: /etc/storage/koolproxy/data/rules/daily.txt
Mar 15 10:43:33 koolproxy[7569]: load adblock video rule: /etc/storage/koolproxy/data/rules/kp.dat
Mar 15 10:43:33 koolproxy[7569]: WARN: load adblock video rule failed: /etc/storage/koolproxy/data/rules/kp.dat
Mar 15 10:43:33 koolproxy[7569]: load adblock user rule: /etc/storage/koolproxy/data/rules/user.txt
Mar 15 10:43:33 koolproxy[7569]: init https engine
Mar 15 10:43:34 koolproxy[7569]: init proxy engine
Mar 15 10:43:34 koolproxy[7569]: listen socket on [0.0.0.0]:3000 success
Mar 15 10:44:00 /usr/sbin/google-redir[7654]: initializing ciphers... aes-256-gcm
Mar 15 10:44:00 /usr/sbin/google-redir[7654]: This system doesn't provide enough entropy to quickly generate high-quality random numbers Installing the rng-utils/rng-tools or haveged packages may help. On virtualized Linux environments, also consider using virtio-rng. The service will not start until enough entropy has been collected.
Mar 15 10:44:00 /usr/sbin/google-redir[7654]: listening at 0.0.0.0:1078
Mar 15 10:44:00 /usr/sbin/google-redir[7654]: running from root user
Mar 15 10:44:00 /etc/storage/S-S R/S-S R-redir[7656]: initializing ciphers... none
Mar 15 10:44:00 S-S R改写脚本: S-S R服务已开启,未开启udp转发!!!
Mar 15 10:44:02 /etc/storage/S-S R/S-S R-redir[7656]: listening at 0.0.0.0:1079
Mar 15 10:44:02 /etc/storage/S-S R/S-S R-redir[7656]: running from root user

上面是chnrounte模式无法启动的日志
我原来用ss是可以用的,用了你的S-S R只有gfw模式可以用,这个chnrounte模式却 不行

我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2018-3-15 13:26 | 显示全部楼层
本帖最后由 不再完美 于 2018-3-15 13:31 编辑
qyzjj 发表于 2018-3-15 10:48
Mar 15 10:43:00 S-S R改写脚本: S-S R服务已开启,未开启udp转发!!!
Mar 15 10:43:02 /etc/storage/ ...

This system doesn't provide enough entropy to quickly generate high-quality random numbers Installing the rng-utils/rng-tools or haveged packages may help. On virtualized Linux environments, also consider using virtio-rng. The service will not start until enough entropy has been collected.
这行提示你SS用的这个aes-256-gcm加密启动失败,你改成默认的RC4-MD5再去试试无灯的固件有watchdog监测SS进程,如果SS进程异常启动的话,会一直重启的。
Mar 15 10:43:26 watchdog: s-s is not working properly, restart it!
这行日志就是说watchdog检测到SS进程异常,所以重启他
我这个脚本就仅仅是把SS替换成S-S R,所以不会造成模式错误的
但是因为有watchdog的存在,所以必须让SS和S-S R进程同时存在,我把SS的默认本地端口在脚本中修改了,所以两个进程可以共存,并且流量走的都是S-S R并不会走SS
又因为没有流量走SS,所以多开个SS进程对路由器来说不会造成什么负担,可以忽略不计
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-3-15 13:48 | 显示全部楼层

马克,感谢分享!!!!!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-26 07:57

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表