在Windows11上启用bbr2

使用管理员身份运行powershell Change TCP congestion control to BBR: netsh int tcp set supplemental Template=Internet CongestionProvider=bbr2 netsh int tcp set supplemental Template=Datacenter CongestionProvider=bbr2 netsh int tcp set supplemental Template=Compat CongestionProvider=bbr2 netsh int tcp set supplemental Template=DatacenterCustom CongestionProvider=bbr2 netsh int tcp set supplemental Template=InternetCustom CongestionProvider=bbr2 Verify: Get-NetTCPSetting | Select SettingName, CongestionProvider 返回以下结果则成功开启了bbr2 SettingName CongestionProvider ----------- ------------------ Automatic InternetCustom BBR2 DatacenterCustom BBR2 Compat BBR2 Datacenter BBR2 Internet BBR2

三月 2, 2023 · admin

联通TinyProxy百度直连UC动态直连免流IP模块Magisk

https://github.com/EternalPain/ZJL ZJL2.0beta30_clncUC动态(联通)_magisk、ZJL2.0beta30_clnc百度直连_magisk、ZJL2.0beta30_cns 百度直连不限制网速 三选一即可,安装完重启手机后进入目录/data/ZJL2.0_magisk修改编辑文件conf并执行开启.sh TinyProxy官方版: https://www.lanzoui.com/b004yxdhc 密码5fgw 获取最新最快的百度直连IP ping cloudnproxy.baidu.com 电信 14.215.182.75 220.181.7.1 180.101.50.249 220.181.111.189 220.181.33.174 180.101.50.208 联通 110.242.70.68 163.177.17.6 153.3.237.117 157.0.146.158 110.242.70.69 163.177.17.189 移动 183.240.98.84 36.155.169.188 https://www.itdog.cn/ping/cloudnproxy.baidu.com 目前可选IP地址 # 联通 IP # 南京 153.3.236.22 # 苏州 157.0.148.53 # 保定 110.242.70.69 # 保定 110.242.70.68 # 广州 157.255.78.51 # 电信 IP # 南京 180.97.104.168 # 苏州 180.97.93.202 # 北京 220.181.7.1 # 北京 220.181.33.174 # 北京 220.181.111.189 # 广州 14.215.179.244 # 移动 IP # 南京 36.152.45.98 # 南京 36.152.45.97 # 北京 39.156.69.161 # 北京 39.156.69.198 # 广州 183.232.233.5 务必选择对应运营商的IP,否则不免流例如使用的是中国联通手机号就要选联通的IP ...

二月 20, 2023 · admin

联通电信移动V2ray免流host http教程

V2ray服务端的搭建配置 bash <(curl -L https://raw.githubusercontent.com/XTLS/Xray-install/main/install-release.sh) 免流的方案采用Vadminss协议+TCP+HTTP,编辑配置文件/usr/local/etc/xray/config.json, nano /usr/local/etc/xray/config.json 完整配置示范如下 { "inbounds": [ { "port": 80, "protocol": "vmess", "settings": { "clients": [ { "id": "这里填写你的UUID" } ] }, "streamSettings": { "network": "tcp", "tcpSettings": { "header": { "type": "http", "response": { "version": "1.1", "status": "200", "reason": "OK", "headers": { "Content-Type": ["application/octet-stream", "video/mpeg"], "Transfer-Encoding": ["chunked"], "Connection": ["keep-alive"], "Pragma": "no-cache" } } } } } } ], "outbounds": [ { "protocol": "freedom" } ] } 可以通过命令cat /proc/sys/kernel/random/uuid随机生成 ws配置如下 { "inbounds": [ { "port": 8080, "protocol": "vmess", "settings": { "clients": [ { "id": "这里填写你的UUID" } ] }, "streamSettings": { "network": "ws", "wsSettings": { "path": "/ray" } } } ], "outbounds": [ { "protocol": "freedom", "settings": {} } ] } 管理启动V2ray ...

九月 9, 2022 · admin

Cookie自动登陆签到、抓包提取制作HAR文件

通过自动签到(网页签到、APP签到),可以有效防止某些站点规则中的因长时间未登陆不活跃而导致封号,还可以赚积分、领金币薅羊毛… Docker安装签到 https://hub.docker.com/r/a76yyyy/qiandao https://github.com/qiandao-today/qiandao 安装、启用docker wget -qO- get.docker.com | bash systemctl enable docker systemctl start docker Docker部署a76yyyy/qiandao签到 docker run -d --name qiandao --restart=always --env PORT=8923 --net=host -v /root/qiandao:/usr/src/app/config a76yyyy/qiandao 然后就可以访问 http://localhost:8923 网页管理签到 8923端口可以随意,只要不被其它应用占用即可,/root/qiandao宿主机配置文件目录 备份数据库只需要备份/root/qiandao目录下的database.db这个文件即可; 还原数据库只需要先暂停docker stop qiandao然后将database.db复制替换掉原来/root/qiandao目录下的database.db这个文件。 启动容器 docker start qiandao 停止容器 docker stop qiandao 删除容器 docker rm qiandao 获取HAR文件 我们还可以使用Fiddler抓包软件来抓取,这里使用Chrome浏览器示范。 打开Chrome浏览器,新建隐身窗口(重要),登陆账号: 打开开发者工具(ctrl+shift+I,或者 鼠标右键 > 审查元素) 切换到 Network(网络)面板,勾选 Preserve log (非常重要) 直奔签到页,完成签到 找对签到链接(非常重要),导出HAR文件。 使用HAR模板文件签到 以PT站点为例,因为大部分PT站点都是使用NexusPHP,大同小异,我们只需要抓取https://example.com/attendance.php保留这个链接,其它统统删掉。然后利用cookie登陆签到。 注册、登陆到网页签到管理,上传导入HAR文件,编辑、删除多余的链接,只需要保留有效、正确的签到链接 编辑HAR模板文件 Request Headers全部勾选;cookie填写为{{cookie}};Cookies全部删除; 切换到测试/Test在Variables选项ADD中添加name为cookie ...

三月 11, 2022 · admin

谷歌邮箱别名设置Gmail邮箱

Gmail邮箱别名设置 这里我们假设你的Gmail邮箱为:abcdef@gmail.com ,那就可以通过以下办法得到无限的谷歌邮箱别名。 用户名之间加 . (英文半角) 例如: abc.def@gmail.com 因为Gmail的用户名是不区分 . 符号的,所以下面其实都是同一个用户名 abcde.f@gmail.com a.bcdef@gmail.com ab.cdef@gmail.com a.b.cdef@gmail.com abc.d.ef@gmail.com 用户名后面加 +任意字符 例如: abcdef+dev@gmail.com +号后面可以是任意字符,例如: abcdef+dev@gmail.com abcdef+my@gmail.com abcdef+sub@gmail.com …… PS:使用“+”号法,在许多网站注册时候,并不识别邮箱地址中的“+”,会提示你邮箱错误。 改变用户名中任意字符的大小写 例如: aBCdef@gmail.com 可以是用户名里的某个或多个字符, Abcdef@gmail.com AbcDeF@gmail.com abcdEf@gmail.com 把后缀变为googlemail.com 因为之前Gmail在某些国家的商标没有谈好,不能使用Gmail商标,只好用googlemail,这个很好理解。(貌似现在全球的商标都已经谈妥了) 例如: abcdef@googlemail.com 以上4种方法的结合 可以结合上面的4种方法来实现理论上的无限别名。例如: aBcdef+dev@googlemail.com AbcDEf+sub@googlemail.com 总结 了解了上面的Gmail别名设置的方法后,当你要注册一些服务的时候,只要在填写Gmail邮箱的时候填写通过上述的方法得到的别名邮箱就可以了。无需到Gmail设置,所有的别名邮箱的邮件都会发送到你原来的邮箱 abcdef@gmail.com 中。 转载自 https://nies.live/d/51

一月 13, 2022 · admin

flexget自动为qbittorrent、transmission等PT客户端添加种子任务

https://flexget.com flexget解决了PT客户端没有RSS订阅功能,实现全自动添加种子任务到qbittorrent、 transmission、 deluge等客户端上,配合使用autoremove-torrents自动删除PT种子文件简直是PT党刷上传流量的必备神器 安装flexget 从pip安装 apt update apt install python3-pip pip3 install flexget flexget配置文件 mkdir .flexget nano .flexget/config.yml 示范配置 templates: # 剩余空间模板,当 path 对应的路径的剩余空间小于 space 规定的数值的时候停止 RSS 下载 单位MB freespace: free_space: path: /home/star space: 10240 # qb 的模板,之后写 qb 就是指把种子推送到 qb 进行下载;下面 tr de rt 也是如此 # 除非你修改了对应客户端的账号密码或者端口号,不然不需要修改这些客户端的模板 qb: qbittorrent: path: /home/SCRIPTUSERNAME/qbittorrent/download/ host: localhost port: 8080 username: admin password: adminadmin tr: transmission: path: /home/SCRIPTUSERNAME/transmission/download/ host: localhost port: 9091 username: SCRIPTUSERNAME password: SCRIPTPASSWORD de: deluge: path: /home/SCRIPTUSERNAME/deluge/download/ host: localhost port: 58846 username: SCRIPTUSERNAME password: SCRIPTPASSWORD # 体积过滤模板,min 是符合条件的最小种子体积,max 是符合条件的最大种子体积,单位均为 MB # strict 默认是 yes,表示在无法确定大小的情况下就不下载,这里把它改成 no 了 # 也就是说,这段 size 的意思是,只下载体积为 6000-666666 MB 的种子,其他不满足条件的种子不下载 size: content_size: min: 10000 max: 66666 strict: no # 任务 tasks: CHDbits: rss: https://chdbits.co/torrentrss.php?rows= verify_ssl_certificates: no accept_all: yes template: - freespace - qb qbittorrent: maxupspeed: 45000 # qbittorrent单种上传限速45000KB/S label: CHDbits CMCT: rss: https://hdcmct.org/torrentrss.php?rows= verify_ssl_certificates: no accept_all: yes template: - freespace - size - qb qbittorrent: label: CMCT # RSS功能使用daemon模式的schedules或者使用cron 二选一 #schedules: # - tasks: [ChDbits, CMCT] # interval: # minutes: 10 # 这里我选用是CRON schedules: no # 每10分钟执行一次 使用 schedules 示范 ...

十二月 23, 2021 · admin

使用autoremove-torrents自动删除PT种子文件

GitHub: https://github.com/jerrymakesjelly/autoremove-torrents 文档:https://autoremove-torrents.readthedocs.io/zh_CN/latest/ 环境要求 Python 2.7 或 Python 3 以Debian系统安装为例安装Python3 apt update apt install python3-pip 安装autoremove-torrents 从 pip 安装 pip3 install autoremove-torrents 或者从 GitHub 安装 git clone https://github.com/jerrymakesjelly/autoremove-torrents.git cd autoremove-torrents python3 setup.py install 编写配置文件 你可以把配置文件放在磁盘的任何地方。不过,在默认情况下,autoremove-torrents只在Shell的当前工作目录去找 # 创建autoremove-torrents目录 mkdir /root/autoremove-torrents # 创建autoremove-torrents 日志文件 touch /root/autoremove-torrents/logs 创建autoremove-torrents的配置文件 nano /root/autoremove-torrents/config.yml 配置示范如下 my_task: client: qbittorrent host: http://127.0.0.1:8080 username: admin password: adminadmin strategies: my_strategy: remove: seeding_time > 86400 or (ratio > 1 and last_activity > 600) delete_data: false 该语法是复合表达式。 ...

十二月 22, 2021 · admin

安卓手机可以在termux里安装Transmission来玩PT下载

如你也想要临时从PT站下个文件到安卓手机里面,可以试试这个 termux下载安装:Google play 更新源 pkg update 安装Transmission 在Termux命令行输入以下进行安装 pkg install transmission 结束进程 killall transmission-daemon 配置settings.json 默认配置文件路径在/data/data/com.termux/files/home/.config/transmission-daemon目录下的settings.json 要修改配置参数为以下这些 "rpc-whitelist":"*" "rpc-authentication-required":"true" "rpc-bind-address": "0.0.0.0" "rpc-enable":"true" "rpc-username":"用户名" "rpc-password":"密码" 默认下载路径是/data/data/com.termux/files/home/Downloads 启动进程 -T表示不需要验证 transmission-daemon -T 连接Transmission http://127.0.0.1:9091/transmission/web/ 手机管理transmission Transmission Remote

十月 4, 2021 · admin

Tiny File Manager一款简洁的PHP文件管理器

Tiny File Manager一款简洁的PHP文件管理器 Tiny File Manager Demo GitHub Requirements PHP 5.5.0 or higher. Fileinfo, iconv, zip, tar and mbstring extensions are strongly recommended. 密码设置 Warning: Please set your own username and password in $auth_users before use. password is encrypted with password_hash(). to generate new password hash here 站点目录、权限设置 chown -R www-data:www-data /var/www/example.com chmod 775 /var/www/example.com chmod 664 /var/www/example.com/index.php Exclude Files & Folders you can specify files or directories that you’d like to exclude from the listing using configuration, in case same name file/folder in multiple place also excluded. ...

八月 11, 2021 · admin

Transmission的安装、配置、制作PT种子torrent做种

安装Transmission apt install transmission-daemon 配置Transmission 先停止Transmission systemctl stop transmission-daemon.service 然后编辑配置文件/var/lib/transmission-daemon/info/settings.json nano /var/lib/transmission-daemon/info/settings.json 重点需要修改的地方 "rpc-password": "管理密码", #web-ui的密码,可直接修改,重新运行或者reload服务的时候会自动被加密 "rpc-port": 9091, "rpc-url": "/transmission/", "rpc-username": "用户名", #用户名 "rpc-whitelist": "127.0.0.1", "rpc-whitelist-enabled": false, #如果你要让其他网段连入,请设false 对照表 "alt-speed-up": 500, #计划时段上传限速值 "alt-speed-down": 500, #计划时段下载限速值 "alt-speed-enabled": false, "alt-speed-time-begin": 540, "alt-speed-time-day": 127, "alt-speed-time-enabled": true, #启用计划工作,为false时,以上计划配置则不生效 "alt-speed-time-end": 420, #计划结束时间,为零点到开始时间的分钟数,比如7:00就是7*60=420。另外,该时间是用的GMT时间,即北京时间-8小时。比如你计划北京时间7点30分开始,这个数字应该是(7-8+24)*60+30=1410 "bind-address-ipv4": "0.0.0.0", "bind-address-ipv6": "::", "blocklist-enabled": true, "blocklist-updates-enabled": false, "blocklist-url": "http://www.example.com/blocklist", "cache-size-mb": 4, #缓存大小,以MB为单位,建议设大一些,避免频繁读写硬盘而伤硬盘,建议设为内存大小的1/6~1/4 "compact-view": false, "dht-enabled": false, #关闭DHT(不通过tracker寻找节点)功能,不少PT站的要求,但BT下载设置为true会使得下载更好 "download-dir": "/home/yys/Downloads", #下载的内容存放的目录 "download-queue-enabled": true, "download-queue-size": 5, "encryption": 1, #0=不加密,1=优先加密,2=必须加密 "idle-seeding-limit": 30, "idle-seeding-limit-enabled": false, "incomplete-dir": "/home/yys/Downloads", "incomplete-dir-enabled": false, "inhibit-desktop-hibernation": true, "lpd-enabled": false, #禁用LDP(本地节点发现,用于在本地网络寻找节点),不少PT站的要求 "main-window-height": 500, "main-window-is-maximized": 0, "main-window-width": 615, "main-window-x": 337, "main-window-y": 211, "message-level": 2, "open-dialog-dir": "/home/yys/\u684c\u9762", "peer-congestion-algorithm": "", "peer-limit-global": 240, #全局连接数 "peer-limit-per-torrent": 60, #每个种子最多的连接数 "peer-port": 51413, #预设的port口 "peer-port-random-high": 65535, "peer-port-random-low": 49152, "peer-port-random-on-start": false, #不建议改为true "peer-socket-tos": "default", "pex-enabled": false, #禁用PEX(节点交换,用于同已与您相连接的节点交换节点名单),不少PT站的要求 "port-forwarding-enabled": true, "preallocation": 1, #预分配文件磁盘空间,0=关闭,1=快速,2=完全。建议取1开启该功能,防止下载大半了才发现磁盘不够。取2时,可以减少磁盘碎片,但速度较慢。 "prefetch-enabled": 1, "queue-stalled-enabled": true, "queue-stalled-minutes": 30, "ratio-limit": 2, "ratio-limit-enabled": false, "rename-partial-files": true, #在未完成的文件名后添加后缀.part,false=禁用 "rpc-authentication-required": true, "rpc-bind-address": "0.0.0.0", "rpc-enabled": true, "rpc-password": "{c8c083168db9fff40b5136b6d0f3f4a864110a78\/oH51JaE", #web-ui的密码,可直接修改,重新运行或者reload服务的时候会自动被加密 "rpc-port": 9091, #默认web-ui的port口,可自行更改 "rpc-url": "/transmission/", "rpc-username": "transmission", #默认登入名称 "rpc-whitelist": "127.0.0.1", "rpc-whitelist-enabled": true, #如果你要让其他网段连入,请设false "scrape-paused-torrents-enabled": true, "script-torrent-done-enabled": false, "script-torrent-done-filename": "/home/yys", "seed-queue-enabled": false, "seed-queue-size": 10, "show-backup-trackers": true, "show-extra-peer-details": false, "show-filterbar": true, "show-notification-area-icon": false, "show-options-window": true, "show-statusbar": true, "show-toolbar": true, "show-tracker-scrapes": true, "sort-mode": "sort-by-age", "sort-reversed": false, "speed-limit-down": 300, #平时的下载限速 "speed-limit-down-enabled": true, #启用平时下载限速 "speed-limit-up": 30, #平时上传限速 "speed-limit-up-enabled": true, #启用平时上传限速 "start-added-torrents": false, "statusbar-stats": "total-ratio", "torrent-added-notification-enabled": true, "torrent-complete-notification-enabled": true, "torrent-complete-sound-enabled": true, "trash-can-enabled": true, "trash-original-torrent-files": false, "umask": 18, "upload-slots-per-torrent": 14 "utp-enabled": true, #启用μTP协议 "watch-dir": "/home/yys/\u4e0b\u8f7d", "watch-dir-enabled": false 更多配置参数,可去 diting-Configuration-Files探索。 ...

七月 4, 2021 · admin