|
不好意思,我之前就已经把荒野无灯的日志全看过一遍了,没有hwnat的相关说明,我就是找不到硬件加速,还特意花了2块钱,进了荒野无灯的qq群去问的,荒野无灯亲自在群里确认,从来没有过hwnat。而且很自豪的说,7621cpu太强了,根本不需要hwant。
下面把荒野无灯的日志贴上:
20180402
注意: SPI闪存的固件: storage 从 20180321-2321 之后,改回p4davan原来的机制。
如果你是从这之前的版本升级,注意手动备份/etc/storage下的文件!!!
(R6800是 nand闪存,不受影响)
两个重点注意事项
--------------
1. 关于storage 注意事项:
所有之前没更新的固件,包含了K2P目前所有新增加的功能。(特殊功能,比如无线wifi助手,的mumimo之类的除外)
K2 固件由于闪存只有8M, 有些功能是没有增加的。加不下了。
但是,所有底层优化和插件bug的fix,都同步更新了。
注意: SPI闪存的固件: storage 从 20180321-2321 之后,改回p4davan原来的机制。
如果你是从这之前的版本升级,注意手动备份/etc/storage下的文件!!! (scp 或 sftp 进去把文件copy出来就行。
)
K2P (非硬改)storage 大小由 512K 调整为 2M (大概可以存8M左右的纯文本), /etc调整为8M
K2P-USB , K2P-512M storage 继续保持 512K. (以便16M 闪存的固件也能刷)
由于jffs2驱动比较挑闪存,部分闪存下表现不稳定或工作不正常,因此,之前没有改storage机制的固件,
将继续保持原来的机制。
2.
中国区IP列表已经更新。(上次撸的腾讯云主机再也不会错误地走xx 通道了)
升级的老用户请注意:手动去后台点击一下 “Chnroute Update Url” 旁边的update.
----------------------------------------------------------------------------
20180402-0011
1. update china ip list. (上次撸的腾讯云主机再也不会错误地走xx 通道了)
2. mtd_storage.sh: refine code. fix blank line bug(cause invalid extra_dst_bp.conf generation).
3. **: update to 2018-03-30, add pre script. (see http://files.80x86.io/router/rom/troubleshoot/google/pre_hook.md)
4. transmission: web-control ui: 全新的UI,默认主题改为 metro-gray
upgrade to transmission-2.93
update transmission-web-control to 1.5.1-update-2
5. libs:
libz: update to zlib-1.2.11
libs: mbedtls upgrade to mbedtls-2.7.2
libs: libcurl: upgrade to curl-7.59.0
6. www: Advanced_SettingBackup_Content.asp : fix table layout
7. ddns: dnspod ddns 增加缓存功能,大幅度减少因网络请求超时导致更新IP的操作失败的机率
8. frp:
www: frp ui: Advanced_Extensions_FRP_Tunnel.asp fix http(s) tunnel link
add nvram default var frpc_http_port and frpc_https_port
9. tools: update cloud189_speedup to v1.1.0 (201803)
----------------------------------------------------------------------------
20180321-2321
1. SPI闪存的固件: storage 改回p4davan原来的机制。
jffs2 文件系统的storage, 测试了大概几个月。在部分闪存如MX下面表现完好。
有少量用户出现jffs2文件系统的写错误。为稳定起见,还是改回原来的机制。
不再使用jffs2. (R6800 为128M NAND, 继续使用UBIFS)
前方高能:storage中如有自己的东西 ,请用通过sftp 或 ssh 备份好。否则,这次升级完就没了。
2. fix frpc 服务生成配置文件中关于 host header rewrite 的bug.
新增加:生成的tunnel name 由user.name 组成。
如果不需要前缀,将 user 参数置空即可。
----------------------------------------------------------------------------
20180321-0126
1. ddns: fix aliddns and dnspod ddns problem.
2. xfrpc:
1. xfrpc ui: 去除一些暂不支持选项.
2. http 用户名和密码默认为空.
3.通道类型为http时,支持host header rewrite 功能,
只需要在SubDomain 字段那里按如下填写上:
子域名:需要rewrite的域名
例如:
foo:abc.mydomain.com
这个配置针对同一个IP有多个主机的情况比较有用.
4. 修复网卡MAC获取,现在能正确获取LAN网卡的MAC
5. 修复host header rewrite不工作的问题
6. 修复不能设置多个http 通道的问题
7. 服务端bug修复 (务必更新服务端!!! http://files.80x86.io/router/rom/troubleshoot/frp/xfrps/ )
http://files.80x86.io/router/rom/troubleshoot/frp/installation.md
8. 服务端UI 优化,默认展开菜单。增加http(s)通道 open 链接,方便打开。
----------------------------------------------------------------------------
20180317-2245
0. padavan code: 更新至官方 2018-01-29 最新代码 e58fdd7
1. libcurl: update CA certificates extracted from Mozilla to Wed Mar 7 04:12:06 2018 GMT
2. Aria-Ng: update v0.4.0 (打开UI后,注意清空一次浏览器缓存)
3. 移除ngrok, 增加 frp (c语言版xfrp)。yes, diao 炸天的frp 已经完美集成。简单易用,老少皆宜。配置方便,性能卓越。
4. optimize update_koolproxy.sh
5. fix github issue #162 只要把6800从路由模式改为AP模式,那么usb应用的菜单里面,aria的菜单就会被thunder代替.(因为AP模式USB菜单里的Modem被删除的缘故)
6. fix github issue #151. gfwlist mode `Custom xxx rules` now become `Force proxy IP/domain` and support CIDR subnet now.
7. xfrpc: fix syslog not used problem and log_level init param not set problem.
8. www: build rev use first 7 characters
9. koolproxy: 更新到最新的3.7.2 版. 优化: update_koolproxy bin after router started.
10. inadyn ddns: optimize dnspod ddns (add value param)
11. K2P: mt7615dn driver: enable single_sku , disable dfs, wsc.
12. K2P: fix AIRTIME_FAIRNESS option and `TX Power Adjustment` option.
13. smartdns: fix'incomplete or malformed DNS request' error
14. 一大波内裤(类库)更新:
simple-obfs: bump to version 0.0.5
c-ares bump version to c-ares-1.14.0
libsodium bump version to 1.0.16
mbedtls bump version to mbedtls-2.7.1
koolproxy: update to v3.7.2
----------------------------------------------------------------------------
--EOF
20171116 changelog:
至今天为止,无线漫游助手功能应该修复得差不多了。
这个功能实现得差不多和asus官方固件(或者asus merlin)一样。且修改漫游助手相关配置的一瞬间不会导致客户端断网。
当然,其实每做一个新功能出来,都要经历无数的测试工作和反复刷机。这里我有记录一份简单的测试过程:
k2p 无线漫游助手功能测试:
http://301780f0.wiz03.com/share/ ... s1tYQiB2TkQCY1IZ5vO
1. bug fix: 漫游助手: 关闭2G,单独开启5G 无法踢出客户端 #112
https://github.com/ihacklog/p4davan-fw/issues/112
关闭5G,单独开启2G: 正常。
2G 和 5G 同时开启: 正常。
关闭2G,单独开启5G 无法踢出客户端
2. bug fix:当apcli模式无线桥接时,如果本路由连接目标路由信号过低,漫游助手 会踢出路由器自己 #117
https://github.com/ihacklog/p4davan-fw/issues/117
当apcli模式无线桥接时,如果本路由连接目标路由信号过低,漫游助手 会踢出路由器自己
如:
路由A是主路由,B路由开启apcli且开了弱信号踢出功能,然后信号不好,然后B路由会把A路由被踢掉.
这种需求应该比较少。
目前的修复方案是:
去除对apcli sta的判断。
3. 优化 /etc/storage 没有被正确挂载的问题。
https://github.com/ihacklog/p4davan-fw/issues/115
新版本 优化了 storage reset 功能。以后如果遇到/etc/storage 没有被正确挂载,
只需要去后台reset 一下storage.
20171115 changelog:
1. fix bug #111无线漫游助手 不能支持单独控制 2G 和 5G 设备 (mt7615dn driver)
https://github.com/ihacklog/p4davan-fw/issues/111
2. fix bug #110无线漫游助手不能在2G , 5G 没有同时打开的情况下工作
https://github.com/ihacklog/p4davan-fw/issues/110
3. fix bug wifi enable sku 选项不生效的bug #109
4. fix padavan stock bug: 流量记录相关的配置项没有自动提交到nvram #108
https://github.com/ihacklog/p4davan-fw/issues/108
5. feature:AP模式下允许使用迅雷,jbls, kms, ngrok, shellinabox, kcptun #105
https://github.com/ihacklog/p4davan-fw/issues/105
6. 无线漫游助手:
a.新增加踢出日志. 当有客户端被踢时,现在会记录日志信息.
b. 默认关闭此功能
c. 修正一下说法,正确的说法应该是:弱信号踢出
=================================================================================
20171112 changelog:
=================================================================================
优化和功能增强:
1. 引入全新的storage 实现机制,断电不丢失配置。同时, storage空间增加到4M以上(32M 的K2P设定为8M)
2. KiwiVM stat: 优化页面数据刷新。另外,可以启用cron 来自动刷新数据,在路由器crontab设置
那里增加一条:
*/30 * * * * /usr/bin/curl -s -o /dev/null "http://127.0.0.1/api.cgi?action=ihacklog_get_kiwivm_stat"
即可。
3. 配置:增加导入*插件配置的黑科技。
4. 初次刷机默认ssid名称优化:在原来的名称的基础上增加lan mac地址的后2 byte数据,防止多个同型号路由一起启动后ssid冲突。
比如K2P 会默认: K2P_AABB 这样。
5. 流量数据保存: 增加每6小时,1小时,30分钟 和 10 分钟的选项。 默认配置从一个月设置为一周。
6. aria2 更新到最新版 1.33.1 ,
7. 同步更新来自我之前在R6800上面的代码
(MU-MIMO, Roaming Assistant(漫游助手),Smart Connect, BEAMFORMING, 256 Turbo QAM)
选项解释:
Enable Single SKU: 如果你嫌弃信号太强,功率太大,可以打开此选项。默认关闭(最大功率)
Roaming Assistant RSSI (dBm): 漫游助手功能的低信号值设置,默认是-70, 如果设置成0 ,则表示关闭此功能。
Roaming Assistant Idle Rate (Kbps): 漫游助手功能的低速率值,默认是2, 表示如果用户的速率低于 2 Kbps,则表示是空闲状态。
只有处于空闲状态且同时满足上面的低信号值条件的客户端才会被踢掉。 如果你想关闭这个条件,
把值设置为很大即可,比如设置成 9999
Smart Connect: 智能连接功能。主要是当一个客户端同时连接过这个路由器的2G和5G,假设当前处于5G连接,且信号很低时,
这时候,路由器会自动将此客户端踢掉,以便连接穿墙能力更好的2G以获得更强的信号。
Enable Implicit BEAMFORMING: 开启波束赋型(波束成型)功能。
Enable Turbo QAM: 只有2G才有的选项。 开启256 QAM 功能。
Enable MU-MIMO: 只有5G才有的选项, 开启 MU-MIMO 功能。
8. 同步更新padavan最新源码。
======================================================
bug fix:
修复一直以来存在的一个bug: 备份nvram配置再导入,插件有部分数据不能成功导入。
优化新的storage机制下数据保存的频率问题。更加保护好闪存。
$$: fix syslog problem. (去除烦人的server recv: connection reset by remote ...)
fix gxxlist update. 设置默认源为 https://raw.githubusercontent.co ... /master/gfwlist.txt
======================================================
注意:
K2P-512M 固件仅适用于 32M 闪存 + 512M 内存的硬改版 K2P。(USB 2.0 , USB 3.0 和 SD卡可选)
K2P 固件适用于原版K2P (a1, a2硬件版本)路由器
storage刷机前注意备份好。本次更新会清空原有storage.
=================================================================================
-----------------------------------------
关于dns的优化建议:
Foreign DNS:默认为两个,如果你不清楚该用什么样的服务器,就不要动这个选项。
但是无论如何,普通的国内DNS不能填写在这里。
China DNS: 默认也是两个(114和dnspod),这两个都是支持EDNS的,能优化带CDN的网站的解析,
阿里dns目前还不支持EDNS,不建议使用。这里你也可以换成你的运营商DNS。但是无论如何,
外网DNS不能填写在这里。
为了优化解析速度,每种类型的,最少填写两个或两个以上的DNS。以英文逗号分隔,中间或两头不要有空格。
新版dns chnrt模式优化法:gxxlist 更新到full版.
具体步骤:dns provider 选 special udp 模式
Foreign DNS 保持不变即可。China DNS 用默认的也可以。
(不推荐使用阿里dns(不支持cdn解析,使用了会拖慢速度),
目前国内公共dns能使用的就两个,就是固件内置的默认值:
114dns 和 119 dnspod public dns. 或者使用你本地运营商的
DNS也是可以的。)
mode 先切到gxxlist模式(不需要点apply)。更新Gxxlist Update Url值为:
https://raw.githubusercontent.co ... /master/gfwlist.txt
,点apply应用更改。第二步,再点击 xxlist Update Url 旁边的update 按钮更新
这个list. 提示gxxlist has been successfully updated-_- 即可。
然后重新开关一下service, 你可以在系统日志里看到:
smartdns[4280]: got domain count: 5294
-----------------------------------------
=================================================================================
-----------------------------------------
20171101 changelog:
1. 修复 Foreign DNS 和 China DNS 不能正确解析并支持3个或3个以上的DNS (issue #77)
限制单个类型的DNS最多数量为8个(国内8个,国外8个)
2. 闪讯: 增加pppol2tp拦截用户名的功能
3. 解决adbyby更新问题。增加黑科技:adbyby fuck jdfw. (采用Google v8引擎实现)
4. 其它优化
20171031 changelog:
dig: add edns client subnet option support.
$$: ui fix (ui: China DNS Port => China DNS, fix td max-width problem)
smartdns: update to 1.0.3, ensure at least one DNS server set no_test to true.
shanxun: fix pppoe server build script.
koolproxy: update bin to 3.6.3
koolproxy upgrade script: do not try update bin while no internet or has not enabled
$$-libev: update to git commit @2017-10-30 , add TCP_NODELAY option
rom: fix memory problem.
20171030 changelog:
1. close issue #6:闪讯拨号 (https://github.com/ihacklog/p4davan-fw/issues/6)
a. 修复上一版存在的bug.
b. 增加[magic]选项,此选项(不改变用户名和密码)为特殊字符用户名支持。
目前支持的特殊字符有:\n \r , 比如你拦截到的用户名前面有\r ,你直接
在拨号用户名那里填写\r就行了
c. 增加PPPoE Server 全自动拦截拨号。自动拦截,自动拨号。通杀所有
未开启心跳检测的闪讯。
目前已经通过teamviewer 远程测试拨号成功通过的有(其它地区的,请回复这个github issue反馈):
浙江闪讯(直接路由开启shanxun插件拨号)
陕西闪讯(直接路由开启shanxun插件拨号)
重庆闪讯(4.x最新算法,无心跳检测,创翼4.7.9.589客户端,全自动拦截拨号)
2. close issues#31 (https://github.com/ihacklog/p4davan-fw/issues/31)
解决内网迅雷下载某些资源提示无法下载的问题。(你懂的)
hosts内置下列条目(默认前面有#,自行去除后即为启用,如果你是从老版本升级且没有重置storage,
你是看不到这个的,可手动添加):
127.0.0.1 hub5btmain.sandai.net
127.0.0.1 hub5emu.sandai.net
127.0.0.1 upgrade.xl9.xunlei.com
127.0.0.1 liveupdate.mac.sandai.net
3. close #34 https://github.com/ihacklog/p4davan-fw/issues/34
去除特殊端口不能是53的提示限制。
4. fix Kcptun不能从外部连接 #36 https://github.com/ihacklog/p4davan-fw/issues/36
5. package update: vlmcsd 更新到最新 vlmcsd-1111-2017-06-17-Hotbird64 #38
https://github.com/ihacklog/p4davan-fw/issues/38
6. feature: remove smartvirtual** #64 https://github.com/ihacklog/p4davan-fw/issues/64
没错,移除一项功能,也是一种新功能-_-
7. feature: $ Server Node Configuration 增加别名字段 #61
https://github.com/ihacklog/p4davan-fw/issues/61
为提升添加只有IP的众多服务器时的可识别性。
尽量缩短 Password ,Server Addr, Server Port, Encryption Method 等字段的长度。
增加alias (服务器别名)字段。
8. adbyby视频规则更新不了 #59
这个尚未解决。
https://github.com/ihacklog/p4davan-fw/issues/59
这个issue 尚未关闭。
浏览器打开链接后会跳转到一个带?jdfwkey=xxx的链接。
暂时不清楚它的检测机制。破解了这个机制。
就能搞定这个更新的问题了。
另外,也可以从windows版客户端逆向或者抓包分析入手。
看它的win客户端是如何逃过这个检测的。
(fuck金盾防火墙)
9. 移除china-dns. 更换为smartdns.
新版dns chnrt模式优化法:gxxlist 更新到full版.
具体步骤:dns provider 选 special udp 模式
Foreign DNS 保持不变即可。China DNS 用默认的也可以。
(不推荐使用阿里dns(不支持cdn解析,使用了会拖慢速度),
目前国内公共dns能使用的就两个,就是固件内置的默认值:
114dns 和 119 dnspod public dns. 或者使用你本地运营商的
DNS也是可以的。)
mode 先切到gxxlist模式(不需要点apply)。更新Gxxlist Update Url值为:
https://raw.githubusercontent.co ... /master/gfwlist.txt
,点apply应用更改。第二步,再点击 xxlist Update Url 旁边的update 按钮更新
这个list. 提示gxxlist has been successfully updated-_- 即可。
然后重新开关一下service, 你可以在系统日志里看到:
smartdns[4280]: got domain count: 5294
10. $-libev: update to 2017-10-18
11. SQM SoS www ui: add BW Calculator (上下行带宽计算器)
再也不用头疼或开个计算器手动计算带宽了。
------------------------------------------------------------------------
上一次的更新记录:
2017-10-17 k2p: enable 256qam.
k2p: pppd shanxun plugin fix. add radius option.
k2p: fix Wireless info page error(client mac 00:00:00:00:00:00 , wrong RSSI, wrong connect time).
k2p: fix 2.4G client can not commuinicate with 5G client under same router. (for example: ping each other)
k2p: fix multi profile merge problem
k2p: default lan addr changed from 192.168.4.1 to 192.168.6.1
2017-10-12 r6800: add roaming assistant feature (thanks to ASUS)
r6800: support auto flash partitions recognition
2017-10-09 iperf: upgrade to version iperf-3.2
mtd_storage.sh $ user script: fix wrong foreign dns for gfwlist in speical udp port mode
koolproxy: set default filter port to 80 (no https)
2017-10-08 dnsmasq: update to 2.78 CVE-2017-14491..14496
miniupnpd: update to 2.0.20170421
2017-10-01 openvirtual**: update to 2.4.4
usb-modeswitch: update to 2.5.1, usb-modeswitch-data to 2017-08-06
xl2tpd: upstream updates
sync with newest padavan source code
2017-09-28 add configs/boards/MZ-R13P/
2017-09-22 dnsmasq: fix ui hosts textarea maxlength. 204800 (200KiB) is too big
dnsmasq: fix max cache item limit
2017-09-10 koolproxy: fix empty koolproxy_script.sh problem.
hide Port Reuse and TCP Fast Open option.(linux 3.4.x is not supported)
$ :fix 'Block webRTC' option bug. disable this feature by default.
fix bug $ can not stop when smartvirtual** is started however
koolproxy: fixup kp ad-list mode default list file init.
settings backup: add datetime to filename
busybox: add telnet client
$ libev: upgrade to v3.0.8
qos kernel module: disalbe IMQ module
aria2: Aria-Ng: upgrade to 2017-09-03 git
add mount --bind short alias and fw_write
add alias mtd (the same as openwrt lede) for mtd_write
mtd_storage.sh: fix pre defined custom_rules.txt init
2017-09-09 gfwlist mode: fix Custom Gfwlist Rules bug
$ : add https://www.blogger.com/robots.txt as http detection dst url
2017-09-05 sfe: dont pass slow packets further
fixup upgrade config merge operation
fix sfe module load unload( disable hw_nat while qca shortcut fe is enabled disable hw_nat while SQM QOS is enabled sfe)
koolproxy: update bin to 3.6.2
koolproxy: fix /tmp/tmp.XXXXXX file not cleaned problem
(tmp file cause /tmp full when update failed)
k2p: change brate from 115200 to 57600 , board id K2P_512M => K2P-512M
Advanced_Extensions_Settings.asp: unhide Firmware Upgrade Config
2017-09-04 add qca shortcut-fe feature , apply related kernel patch
2017-09-03 add sqm qos feature, sch_cake , tc support cake
init script fix (whoami: unknown uid 0 /dev/nvram: No such file or directory chown: unknown user/group admin:root )
sync padavan source to newest (1aae35d)
boards: add R6800 config
2017-07-26 add shanxun plugin support
libpcre: bump verstion to pcre-8.41
$ update mbedtls-2.5.1 libsodium-1.0.13
2017-07-19 run nvram_upgrade_config() after system ready |
|