切換root用户
刷新软件源、更新系统、安装curl 、安装wget 、安装sudo、安装OpenSSL
sudo -i刷新软件源、更新系统、安装curl 、安装wget 、安装sudo、安装OpenSSL
apt update -y && apt upgrade -y && apt install curl wget sudo build-essential libapr1-dev libssl-dev -y---------------------------------------------------
BBR安装脚本
---------------------------------------------------
XanMod内核
添加源
安装
fq_pie加速
是否启用fq pie
---------------------------------------------------
cloud内核
添加源
加一条就行
执行
安装cloud
---------------------------------------------------
LIQUORIX内核
添加源
安装LIQUORIX内核
---------------------------------------------------
查看内核版本
查看所有内核
卸载其余内核
---------------------------------------------------
启用bbr+fq
BBR安装脚本
wget -N --no-check-certificate "https://github.000060000.xyz/tcp.sh" && chmod +x tcp.sh && ./tcp.sh---------------------------------------------------
XanMod内核
添加源
echo 'deb http://deb.xanmod.org releases main' | sudo tee /etc/apt/sources.list.d/xanmod-kernel.list && wget -qO - https://dl.xanmod.org/gpg.key | sudo apt-key add -安装
sudo apt update && sudo apt install linux-xanmod -yfq_pie加速
echo 'net.core.default_qdisc = fq_pie' | sudo tee /etc/sysctl.d/90-override.conf是否启用fq pie
tc qdisc show---------------------------------------------------
cloud内核
添加源
sudo nano /etc/apt/sources.list加一条就行
deb http://deb.debian.org/debian buster-backports main执行
apt update安装cloud
apt -y install -t buster-backports linux-image-cloud-amd64 linux-headers-cloud-amd64---------------------------------------------------
LIQUORIX内核
添加源
curl 'https://liquorix.net/add-liquorix-repo.sh' | sudo bash安装LIQUORIX内核
sudo apt-get install linux-image-liquorix-amd64 linux-headers-liquorix-amd64---------------------------------------------------
查看内核版本
uname -a查看所有内核
dpkg -l|grep linux-image | awk '{print $2}'卸载其余内核
apt-get purge 其余内核名称 -y---------------------------------------------------
启用bbr+fq
modprobe tcp_bbr
echo "tcp_bbr" >> /etc/modules-load.d/modules.conf
echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf
echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf
sysctl -pv2ray 与 xray安装,支持多种协议
安装
升级
管理v2ray与xray输入
删除对应内核
编辑配置文件
更新证书
---------------------------------------------------
安装nginx
卸载nginx
编辑nginx
停止nginx
启用nginx
重启nginx
安装
source <(curl -sL https://multi.netlify.app/v2ray.sh) --zh升级
source <(curl -sL https://multi.netlify.app/v2ray.sh) -k
卸载source <(curl -sL https://multi.netlify.app/v2ray.sh) --remove管理v2ray与xray输入
v2rayxray删除对应内核
v2ray rmxray rm编辑配置文件
sudo nano /etc/v2ray/config.jsonsudo nano /etc/xray/config.json更新证书
acme.sh --cron --force---------------------------------------------------
安装nginx
sudo apt update && sudo apt install nginx卸载nginx
sudo apt-get --purge remove nginx编辑nginx
sudo nano /etc/nginx/nginx.conf停止nginx
sudo service nginx stop启用nginx
sudo service nginx start重启nginx
sudo systemctl reload nginxsudo nano /etc/www/webpage/index.html查看DNS
修改DNS
锁定
解锁
---------------------------------------------------
CloudFlare DOH
cat /etc/resolv.conf修改DNS
echo -e "nameserver 1.1.1.1
nameserver 1.0.0.1" > /etc/resolv.conf锁定
chattr +i /etc/resolv.conf解锁
chattr -i /etc/resolv.conf---------------------------------------------------
CloudFlare DOH
bash -c "$(wget -qO - https://github.com/wikihost-opensource/centos-init/raw/main/network/dns-over-https/cloudflare.sh)"DD debian系统 其中11代表debian系统版本,可修改为8 9。64代表64位,可修为32即32位。
bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -d 11 -v 64 -a -firmware -p 密码删除不要的软件
清理下载缓存
---------------------------------------------------
查看内存
查看运行
---------------------------------------------------
新建文件
删除文件
---------------------------------------------------
SSH端口修改
重启SSH
---------------------------------------------------
查看登录成功的用户
查看登录失败的用户
---------------------------------------------------
防火墙fail2ban安装
防火墙配置文件
防火墙卸载
时间修改
sudo apt autoremove清理下载缓存
sudo apt clean---------------------------------------------------
查看内存
free -m查看运行
top---------------------------------------------------
新建文件
mkdir /删除文件
rm -rf /---------------------------------------------------
SSH端口修改
sudo nano /etc/ssh/sshd_config重启SSH
service ssh restart---------------------------------------------------
查看登录成功的用户
last查看登录失败的用户
lastb---------------------------------------------------
防火墙fail2ban安装
apt-get install fail2ban防火墙配置文件
sudo nano /etc/fail2ban/jail.conf防火墙卸载
sudo apt remove fail2ban时间修改
dpkg-reconfigure tzdataNetflix测试
项目地址
https://github.com/sjlleo/netflix-verify
wget -O nf https://github.com/sjlleo/netflix-verify/releases/download/2.01/nf_2.01_linux_amd64 && chmod +x nf && clear && ./nf项目地址
https://github.com/sjlleo/netflix-verify
GitHub
GitHub - sjlleo/netflix-verify: 流媒体NetFlix解锁检测脚本 / A script used to determine whether your network can watch native Netflix movies…
流媒体NetFlix解锁检测脚本 / A script used to determine whether your network can watch native Netflix movies or not - sjlleo/netflix-verify
NaiveProxy协议搭建
项目地址
https://github.com/shell-script/naivecaddy
bash <(curl -s https://naivecaddy.scripts.ctcgfw.eu.org/naivecaddy.sh)项目地址
https://github.com/shell-script/naivecaddy
安装trojan
卸载trojan
配置文件
搭建完后打开解析的网址,有面板提供节点管理。
项目地址
https://github.com/Jrohy/trojan
source <(curl -sL https://git.io/trojan-install) 卸载trojan
source <(curl -sL https://git.io/trojan-install) --remove配置文件
sudo nano /usr/local/etc/trojan/config.json搭建完后打开解析的网址,有面板提供节点管理。
项目地址
https://github.com/Jrohy/trojan
安装vless
项目地址
https://github.com/wulabing/Xray_onekey
wget -N --no-check-certificate -q -O install.sh "https://raw.githubusercontent.com/wulabing/Xray_onekey/nginx_forward/install.sh" && chmod +x install.sh && bash install.sh项目地址
https://github.com/wulabing/Xray_onekey
GitHub
GitHub - wulabing/Xray_onekey: Xray 基于 Nginx 的 VLESS + XTLS 一键安装脚本
Xray 基于 Nginx 的 VLESS + XTLS 一键安装脚本 . Contribute to wulabing/Xray_onekey development by creating an account on GitHub.
中转脚本
https://github.com/KANIKIG/Multi-EasyGost
wget --no-check-certificate -O gost.sh https://raw.githubusercontent.com/KANIKIG/Multi-EasyGost/master/gost.sh && chmod +x gost.sh && ./gost.shhttps://github.com/KANIKIG/Multi-EasyGost
浏览器远程控制VPS 脚本
添加中文支持
1, 重新配置系统locales
2, 安装亚洲语言包
3, 安装亚洲语言字体
安装 Chrome浏览器的教程
https://github.com/Har-Kuun/OneClickDesktop/blob/master/plugins/chrome/readme.md
作者博客
https://qing.su/article/oneclick-desktop.html
wget https://raw.githubusercontent.com/Har-Kuun/OneClickDesktop/master/OneClickDesktop_zh-CN.sh && sudo bash OneClickDesktop_zh-CN.sh添加中文支持
1, 重新配置系统locales
sudo dpkg-reconfigure locales2, 安装亚洲语言包
sudo apt-get install language-pack-ja language-pack-zh* language-pack-kosudo apt-get install japan* chinese* korean*3, 安装亚洲语言字体
sudo apt-get install fonts-arphic-ukai fonts-arphic-uming fonts-ipafont-mincho fonts-ipafont-gothic fonts-unfonts-core安装 Chrome浏览器的教程
https://github.com/Har-Kuun/OneClickDesktop/blob/master/plugins/chrome/readme.md
作者博客
https://qing.su/article/oneclick-desktop.html
Linux下,Cloudflare WARP 一键配置脚本
1、自动配置 WARP WireGuard 双栈全局网络
2、自动配置 WARP WireGuard IPv4 网络
3、自动配置 WARP WireGuard IPv6 网络
4、开启 WARP 官方客户端 SOCKS5 代理
5、显示功能菜单和网络状态
项目地址
https://github.com/P3TERX/warp.sh
1、自动配置 WARP WireGuard 双栈全局网络
bash <(curl -fsSL git.io/warp.sh) d2、自动配置 WARP WireGuard IPv4 网络
bash <(curl -fsSL git.io/warp.sh) 43、自动配置 WARP WireGuard IPv6 网络
bash <(curl -fsSL git.io/warp.sh) 64、开启 WARP 官方客户端 SOCKS5 代理
bash <(curl -fsSL git.io/warp.sh) s55、显示功能菜单和网络状态
bash <(curl -fsSL git.io/warp.sh) menu项目地址
https://github.com/P3TERX/warp.sh
Forwarded from 黎明 颜
流媒体测试脚本
项目地址
https://github.com/lmc999/RegionRestrictionCheck
bash <(curl -L -s https://raw.githubusercontent.com/lmc999/RegionRestrictionCheck/main/check.sh)项目地址
https://github.com/lmc999/RegionRestrictionCheck
Cloudflare WARP 一键部署精准分流流媒体流量,不在是全局接管所有流量。
项目地址
https://github.com/acacia233/Project-WARP-Unlock
curl -sL https://raw.githubusercontent.com/acacia233/Project-WARP-Unlock/main/run.sh | bash项目地址
https://github.com/acacia233/Project-WARP-Unlock
Forwarded from Cutenicobest (Deleted Account | 开卷)
#不知道起什么Tag就先留个位置
为LFN网络提供的一键TCP优化脚本
特性:
1.调整TCP窗口相关参数(由延迟/带宽决定,自行输入)
2.降低了TCP Sokcet最低占用内存,在高并发情况下可改善内存使用
3.提高TCP内存限制至内核自动计算的约1.4倍
4.开启BBR + fq
一键使用:wget https://raw.githubusercontent.com/acacia233/Project-Smalltrick/main/tcp-window.sh && bash tcp-window.sh
PS:需要两端同时使用以消除更多的限制因素
PPS:请自行去除类似的调整以免冲突
PPPS:详细参数解析
为LFN网络提供的一键TCP优化脚本
特性:
1.调整TCP窗口相关参数(由延迟/带宽决定,自行输入)
2.降低了TCP Sokcet最低占用内存,在高并发情况下可改善内存使用
3.提高TCP内存限制至内核自动计算的约1.4倍
4.开启BBR + fq
一键使用:wget https://raw.githubusercontent.com/acacia233/Project-Smalltrick/main/tcp-window.sh && bash tcp-window.sh
PS:需要两端同时使用以消除更多的限制因素
PPS:请自行去除类似的调整以免冲突
PPPS:详细参数解析
GitHub
LFN网络下TCP性能的优化
Contribute to acacia233/Project-Smalltrick development by creating an account on GitHub.
Forwarded from 风向旗参考快讯
SymTCP:规避全状态深度包检测与自动差异发现
在ACM IMC 2017会议上,加利福尼亚大学河滨分校的研究人员发表了论文 《Your State is Not Mine: A Closer Look at Evading Stateful Internet Censorship》 ,论文中提到防火长城在检测到特殊报文时会进入“重同步”状态,他们提出了绕过防火长城的新策略,新策略的平均成功率在90%以上,最高达到98%,并开源了工具 INTANG 。
2020 年 2 月,Wang 等人和美国陆军研究实验室的研究者,在 NDSS 2020 上发表论文 《SymTCP: Eluding Stateful Deep Packet Inspection with Automated Discrepancy Discovery》 ,提出了新工具 SymTCP 。论文探索了 DPI 装置与端点实现的协议状态机差异,这些差异允许客户端发送不寻常流量迷惑 DPI,相比之前的论文,这次他们使用了软件分析技术探索了常见 TCP 实现的状态机,并测试对多个 DPI 进行规避。
其他类似的论文有 2019 年马里兰大学 Kevin Bock 等人在ACM 会议发表的 《Geneva: Evolving Censorship Evasion Strategies》 ,并发布了工具 Geneva 。
其他类似的工具或者说是西厢计划和INTANG项目的延续 ghostcp / phantomsocks ,目前 ghostcp 项目有分支可以开箱即用。
–– 西厢计划 / solidot / gfw.report / articles
在ACM IMC 2017会议上,加利福尼亚大学河滨分校的研究人员发表了论文 《Your State is Not Mine: A Closer Look at Evading Stateful Internet Censorship》 ,论文中提到防火长城在检测到特殊报文时会进入“重同步”状态,他们提出了绕过防火长城的新策略,新策略的平均成功率在90%以上,最高达到98%,并开源了工具 INTANG 。
2020 年 2 月,Wang 等人和美国陆军研究实验室的研究者,在 NDSS 2020 上发表论文 《SymTCP: Eluding Stateful Deep Packet Inspection with Automated Discrepancy Discovery》 ,提出了新工具 SymTCP 。论文探索了 DPI 装置与端点实现的协议状态机差异,这些差异允许客户端发送不寻常流量迷惑 DPI,相比之前的论文,这次他们使用了软件分析技术探索了常见 TCP 实现的状态机,并测试对多个 DPI 进行规避。
其他类似的论文有 2019 年马里兰大学 Kevin Bock 等人在ACM 会议发表的 《Geneva: Evolving Censorship Evasion Strategies》 ,并发布了工具 Geneva 。
其他类似的工具或者说是西厢计划和INTANG项目的延续 ghostcp / phantomsocks ,目前 ghostcp 项目有分支可以开箱即用。
–– 西厢计划 / solidot / gfw.report / articles
风向旗参考快讯
SymTCP:规避全状态深度包检测与自动差异发现 在ACM IMC 2017会议上,加利福尼亚大学河滨分校的研究人员发表了论文 《Your State is Not Mine: A Closer Look at Evading Stateful Internet Censorship》 ,论文中提到防火长城在检测到特殊报文时会进入“重同步”状态,他们提出了绕过防火长城的新策略,新策略的平均成功率在90%以上,最高达到98%,并开源了工具 INTANG 。 2020 年 2 月,Wang 等人和美国陆军研究实验室的研究者,在…
tcpioneer.zip
2.9 MB