<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
<channel>
<atom:link href="https://rato.do/feed" rel="self" type="application/rss+xml"/>
<title>Ratodo's Blog</title>
<link>https://rato.do</link>
<description>我的花园到处都是星星</description>
<language>zh-CN</language>
<copyright>© Ratodo </copyright>
<pubDate>Fri, 10 Apr 2026 01:42:44 GMT</pubDate>
<generator>Mix Space CMS (https://github.com/mx-space)</generator>
<docs>https://mx-space.js.org</docs>
<image>
    <url>https://cdn.jsdelivr.net/gh/Ratodo/Lib/image/logo/favicon.png</url>
    <title>Ratodo's Blog</title>
    <link>https://rato.do</link>
</image>
<item>
    <title>记录 2026 年第 1 天</title>
    <link>https://rato.do/notes/10</link>
    <pubDate>Thu, 01 Jan 2026 05:38:28 GMT</pubDate>
    <description>2026年第一天，祝各位2026心想事成～</description>
    <content:encoded><![CDATA[
      <blockquote>该渲染由 marked 生成，可能存在排版问题，最佳体验请前往：<a href='https://rato.do/notes/10'>https://rato.do/notes/10</a></blockquote>
      <p>2026年第一天，祝各位2026心想事成～</p>

      <p style='text-align: right'>
      <a href='https://rato.do/notes/10#comments'>看完了？说点什么呢</a>
      </p>
    ]]>
    </content:encoded>
  <guid isPermaLink="false">69560854e1dd8588e7e4dbec</guid>
  <category>notes</category>
false
 </item>
  <item>
    <title>记录 2025 年第 139 天</title>
    <link>https://rato.do/notes/8</link>
    <pubDate>Sun, 18 May 2025 16:15:15 GMT</pubDate>
    <description>今天好不容易把服务器从UCloud搬迁到甲骨文的免费ARM机上了，以后应该不用考虑服务器续费的问题了</description>
    <content:encoded><![CDATA[
      <blockquote>该渲染由 marked 生成，可能存在排版问题，最佳体验请前往：<a href='https://rato.do/notes/8'>https://rato.do/notes/8</a></blockquote>
      <p>今天好不容易把服务器从UCloud搬迁到甲骨文的免费ARM机上了，以后应该不用考虑服务器续费的问题了......
因为mix space没有arm的docker镜像，实际上也搞了好久，抽空水一篇文章吧，博客好久没动过了，哈哈哈</p>

      <p style='text-align: right'>
      <a href='https://rato.do/notes/8#comments'>看完了？说点什么呢</a>
      </p>
    ]]>
    </content:encoded>
  <guid isPermaLink="false">682a07930195eec72e444c05</guid>
  <category>notes</category>
false
 </item>
  <item>
    <title>记录 2025 年第 120 天</title>
    <link>https://rato.do/notes/7</link>
    <pubDate>Wed, 30 Apr 2025 15:56:24 GMT</pubDate>
    <description>转眼就到了2025年的劳动节了，大家劳动节快乐～</description>
    <content:encoded><![CDATA[
      <blockquote>该渲染由 marked 生成，可能存在排版问题，最佳体验请前往：<a href='https://rato.do/notes/7'>https://rato.do/notes/7</a></blockquote>
      <p>转眼就到了2025年的劳动节了，大家劳动节快乐～</p>

      <p style='text-align: right'>
      <a href='https://rato.do/notes/7#comments'>看完了？说点什么呢</a>
      </p>
    ]]>
    </content:encoded>
  <guid isPermaLink="false">68124828732388303b23b967</guid>
  <category>notes</category>
false
 </item>
  <item>
    <title>记录 2024 年第 324 天</title>
    <link>https://rato.do/notes/6</link>
    <pubDate>Tue, 19 Nov 2024 12:54:01 GMT</pubDate>
    <description>今天迁移了一下服务器，过程中遇到了很多问题...找个时间水一篇文章吧，如果没有ChatGPT真的是找</description>
    <content:encoded><![CDATA[
      <blockquote>该渲染由 marked 生成，可能存在排版问题，最佳体验请前往：<a href='https://rato.do/notes/6'>https://rato.do/notes/6</a></blockquote>
      <p>今天迁移了一下服务器，过程中遇到了很多问题...找个时间水一篇文章吧，如果没有ChatGPT真的是找很久资料，可能好几天都修不好了...</p>
<p>尼日利亚区YouTube会员按理来说应该清退了才对，但是居然在账单日成功扣费，而且目前还没出现什么异常，真奇怪...</p>

      <p style='text-align: right'>
      <a href='https://rato.do/notes/6#comments'>看完了？说点什么呢</a>
      </p>
    ]]>
    </content:encoded>
  <guid isPermaLink="false">673c8a6958896a1660a54c45</guid>
  <category>notes</category>
false
 </item>
  <item>
    <title>记录 2024 年第 307 天</title>
    <link>https://rato.do/notes/5</link>
    <pubDate>Sat, 02 Nov 2024 03:20:32 GMT</pubDate>
    <description>昨日之事，譬如昨日之死</description>
    <content:encoded><![CDATA[
      <blockquote>该渲染由 marked 生成，可能存在排版问题，最佳体验请前往：<a href='https://rato.do/notes/5'>https://rato.do/notes/5</a></blockquote>
      <p>昨日之事，譬如昨日之死</p>

      <p style='text-align: right'>
      <a href='https://rato.do/notes/5#comments'>看完了？说点什么呢</a>
      </p>
    ]]>
    </content:encoded>
  <guid isPermaLink="false">67259a80fd117acdc3d30c29</guid>
  <category>notes</category>
false
 </item>
  <item>
    <title>记录 2024 年第 306 天</title>
    <link>https://rato.do/notes/4</link>
    <pubDate>Fri, 01 Nov 2024 03:33:08 GMT</pubDate>
    <description>万万没想到，排查了一下午网站爆炸的原因，居然是nginx配置文件出错

还是百思不得其解，为什么配置</description>
    <content:encoded><![CDATA[
      <blockquote>该渲染由 marked 生成，可能存在排版问题，最佳体验请前往：<a href='https://rato.do/notes/4'>https://rato.do/notes/4</a></blockquote>
      <p>万万没想到，排查了一下午网站爆炸的原因，居然是nginx配置文件出错</p>
<p>还是百思不得其解，为什么配置文件会突然多出来一个～号</p>
<p>另外，为什么不支持arm系统啊啊啊啊啊啊</p>

      <p style='text-align: right'>
      <a href='https://rato.do/notes/4#comments'>看完了？说点什么呢</a>
      </p>
    ]]>
    </content:encoded>
  <guid isPermaLink="false">67244bf4fd117acdc3d2eebe</guid>
  <category>notes</category>
false
 </item>
  <item>
    <title>记录 2024 年第 303 天</title>
    <link>https://rato.do/notes/3</link>
    <pubDate>Tue, 29 Oct 2024 14:44:35 GMT</pubDate>
    <description>沉住气</description>
    <content:encoded><![CDATA[
      <blockquote>该渲染由 marked 生成，可能存在排版问题，最佳体验请前往：<a href='https://rato.do/notes/3'>https://rato.do/notes/3</a></blockquote>
      <p>沉住气</p>

      <p style='text-align: right'>
      <a href='https://rato.do/notes/3#comments'>看完了？说点什么呢</a>
      </p>
    ]]>
    </content:encoded>
  <guid isPermaLink="false">6720f4d3dec3ecd1ea7be957</guid>
  <category>notes</category>
false
 </item>
  <item>
    <title>记录 2024 年第 301 天：雨天</title>
    <link>https://rato.do/notes/2</link>
    <pubDate>Sat, 26 Oct 2024 16:28:50 GMT</pubDate>
    <description>这个周六又是下雨的一天，一直以来好像都很喜欢雨天。

在家窝在床上一整天，昏昏欲睡也好，保持清醒也罢</description>
    <content:encoded><![CDATA[
      <blockquote>该渲染由 marked 生成，可能存在排版问题，最佳体验请前往：<a href='https://rato.do/notes/2'>https://rato.do/notes/2</a></blockquote>
      <p>这个周六又是下雨的一天，一直以来好像都很喜欢雨天。</p>
<p>在家窝在床上一整天，昏昏欲睡也好，保持清醒也罢，听着窗外的滴滴答答雨声，就会感觉很安心。</p>
<p>无所日日的一天，很有幸福感。</p>

      <p style='text-align: right'>
      <a href='https://rato.do/notes/2#comments'>看完了？说点什么呢</a>
      </p>
    ]]>
    </content:encoded>
  <guid isPermaLink="false">671d18c2dec3ecd1ea7ba253</guid>
  <category>notes</category>
false
 </item>
  <item>
    <title>Surge个人设置参考</title>
    <link>https://rato.do/posts/daily/surge</link>
    <pubDate>Fri, 25 Oct 2024 14:25:21 GMT</pubDate>
    <description>免责声明

以下为我在个人使用Surge之中，为了能够得到更好的使用体验而进行的一些个性化配置，供参</description>
    <content:encoded><![CDATA[
      <blockquote>该渲染由 marked 生成，可能存在排版问题，最佳体验请前往：<a href='https://rato.do/posts/daily/surge'>https://rato.do/posts/daily/surge</a></blockquote>
      <h3>免责声明</h3>
<p>以下为我在个人使用Surge之中，为了能够得到更好的使用体验而进行的一些个性化配置，供参考。</p>
<p>其中部分参考了<a href="https://blog.skk.moe">SukkaW</a>大佬的配置指南及规则组，在此表示感谢。</p>
<p>不排除以下配置在你的设备上出现水土不服的情况，请自行尝试并修改。</p>
<p><strong>另：请支持正版。</strong></p>
<h3>General片段</h3>
<pre><code class="language-">skip-proxy = 127.0.0.0/8, 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 100.64.0.0/10, 162.14.0.0/16, 211.99.96.0/19, 162.159.192.0/24, 162.159.193.0/24, 162.159.195.0/24, fc00::/7, fe80::/10, localhost, *.local, captive.apple.com, passenger.t3go.cn, *.ccb.com, wxh.wo.cn, *.abcchina.com, *.abcchina.com.cn, *.ccb.com.cn</code></pre><blockquote>
<p>跳过本地IP及常用软件代理检测域名</p>
</blockquote>
<pre><code class="language-">hijack-dns = 8.8.8.8:53, 8.8.4.4:53</code></pre><blockquote>
<p>劫持Google DNS请求，避免Google系产品不走Surge代理</p>
</blockquote>
<pre><code class="language-">ipv6 = false
ipv6-vif = disabled</code></pre><blockquote>
<p>对于代理软件来说，IPv6暂不完善，建议目前保持关闭</p>
</blockquote>
<pre><code class="language-">exclude-simple-hostnames = true
show-error-page-for-reject = true
read-etc-hosts = true</code></pre><blockquote>
<p>localhost等绕过代理、截拦显示错误页面、读取系统hosts</p>
</blockquote>
<pre><code class="language-">internet-test-url = http://connectivitycheck.platform.hicloud.com/generate_204
proxy-test-url = http://latency-test.skk.moe/endpoint
proxy-test-udp = www.apple.com@64.6.64.6</code></pre><blockquote>
<p>延迟及UDP测试网址，推荐SukkaW大佬的<a href="https://lab.skk.moe/test-204">小测试工具</a></p>
</blockquote>
<pre><code class="language-">dns-server = system</code></pre><blockquote>
<p>DNS配置，如果不是DNS劫持特别严重，建议使用自带以获得最优解析</p>
</blockquote>
<pre><code class="language-">force-http-engine-hosts = www.google.cn:80</code></pre><blockquote>
<p>让Surge 将TCP 连接视为HTTP 请求，可以做到Mac网关模式对其他设备的google.cn请求的重写</p>
</blockquote>
<pre><code class="language-">udp-policy-not-supported-behaviour = REJECT</code></pre><blockquote>
<p>不支持UDP转发的代理后续操作，建议使用REJECT防止连接泄漏</p>
</blockquote>
<p>General配置合并如下：</p>
<pre><code class="language-">[General]
skip-proxy = 127.0.0.0/8, 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 100.64.0.0/10, 162.14.0.0/16, 211.99.96.0/19, 162.159.192.0/24, 162.159.193.0/24, 162.159.195.0/24, fc00::/7, fe80::/10, localhost, *.local, captive.apple.com, passenger.t3go.cn, *.ccb.com, wxh.wo.cn, *.abcchina.com, *.abcchina.com.cn, *.ccb.com.cn
hijack-dns = 8.8.8.8:53, 8.8.4.4:53
ipv6 = false
ipv6-vif = disabled
exclude-simple-hostnames = true
show-error-page-for-reject = true
read-etc-hosts = true
internet-test-url = http://connectivitycheck.platform.hicloud.com/generate_204
proxy-test-url = http://latency-test.skk.moe/endpoint
proxy-test-udp = www.apple.com@64.6.64.6
dns-server = system
force-http-engine-hosts = www.google.cn:80
udp-policy-not-supported-behaviour = REJECT</code></pre><h3>Proxy和Proxy Group片段</h3>
<p>该片段主要以自己的服务器集合和分流规则为主，最适合自己的使用习惯的就是最好的配置。</p>
<p>我个人是不喜欢很复杂的策略组选择，本身也没有这个需求。分流规则可以参照<a href="https://github.com/blackmatrix7/ios_rule_script/tree/master/rule/Surge">Github</a></p>
<p>**另外：**建议使用Surge的最新特性：Smart策略组，可以大幅降低对测试策略组可用性的担忧。</p>
<h3>Rule片段</h3>
<pre><code class="language-">[Rule]
DOMAIN-SET,https://ruleset.skk.moe/List/domainset/reject.conf,REJECT,extended-matching //广告拦截
RULE-SET,https://ruleset.skk.moe/List/non_ip/reject.conf,REJECT,extended-matching //广告拦截
RULE-SET,https://ruleset.skk.moe/List/ip/reject.conf,REJECT-DROP //广告拦截
RULE-SET,https://ruleset.skk.moe/List/non_ip/reject-no-drop.conf,REJECT-NO-DROP,extended-matching //广告拦截
RULE-SET,https://ruleset.skk.moe/List/non_ip/reject-drop.conf,REJECT-DROP,extended-matching //广告拦截
DOMAIN-SET,https://ruleset.skk.moe/List/domainset/cdn.conf,Proxy,extended-matching //国外CDN
RULE-SET,https://ruleset.skk.moe/List/non_ip/ai.conf,Proxy,extended-matching //AI相关服务，可换成自己的策略组名称
RULE-SET,https://ruleset.skk.moe/List/non_ip/global.conf,Proxy,extended-matching //常见国际网站
RULE-SET,https://ruleset.skk.moe/List/non_ip/domestic.conf,DIRECT,extended-matching //常见国内网站
RULE-SET,https://ruleset.skk.moe/List/non_ip/lan.conf,DIRECT //本地服务
RULE-SET,https://ruleset.skk.moe/List/ip/telegram.conf,Proxy //Telegram
PROCESS-NAME,Telegram,REJECT-DROP //Telegram，结合上一条使用
RULE-SET,https://ruleset.skk.moe/List/ip/lan.conf,DIRECT //本地服务-ip
RULE-SET,https://ruleset.skk.moe/List/non_ip/direct.conf,DIRECT,extended-matching //直连的服务
RULE-SET,https://ruleset.skk.moe/List/ip/domestic.conf,DIRECT //常见国内ip
RULE-SET,https://ruleset.skk.moe/List/ip/china_ip.conf,DIRECT //国内ip
FINAL,Proxy,dns-failed //回退</code></pre><p>Rule字段使用了SukkaW大佬的规则组，根据自己的实际情况进行了删减，具体可见<a href="https://blog.skk.moe/post/i-have-my-unique-surge-setup/">SukkaW</a>。</p>
<h3>Host片段</h3>
<pre><code class="language-">github.com = server:1.1.1.1 // Github
*.github.com = server:1.1.1.1 // Github
*.githubusercontent.com = server:1.1.1.1 // Github</code></pre><p>由于目前国内多数运营商对Github进行了DNS污染，以上配置对Github网址使用1.1.1.1DNS解析。</p>
<h3>MITM&amp;Script</h3>
<p>MITM及脚本功能主要看个人需求，脚本搜寻可以关注NobyDa大佬的<a href="https://t.me/NobyDa">TG频道</a></p>
<p>以下是我目前在用的一些脚本，可以参考一下。</p>
<pre><code class="language-">Ali-Point = type=cron,cronexp="0 6,13 * * *",timeout=600,script-path=https://raw.githubusercontent.com/leiyiyan/resource/main/script/aliyun_web/aliyun_web.js,script-update-interval=259200
AliYun_Checkin = type=cron,cronexp=44 6 * * *,script-path=https://gist.githubusercontent.com/Sliverkiss/33800a98dcd029ba09f8b6fc6f0f5162/raw/aliyun.js,script-update-interval=259200,timeout=600
Amap_Checkin = type=cron,cronexp=47 6 * * *,timeout=60,script-path=https://raw.githubusercontent.com/wf021325/qx/master/task/ampDache.js,script-update-interval=259200
Longfor_Checkin = type=cron,cronexp=42 6 * * *,script-path=https://raw.githubusercontent.com/leiyiyan/resource/main/script/lhtj/lhtj.js,script-update-interval=259200,timeout=120
Ali_Points = type=http-response,pattern=^https?:\/\/developer\.aliyun\.com\/developer\/api\/my\/user\/getUser,requires-body=1,max-size=0,binary-body-mode=0,timeout=60,script-path=https://raw.githubusercontent.com/leiyiyan/resource/main/script/aliyun_web/aliyun_web.js,script-update-interval=259200
# AliYun_Cookie = type=http-request,pattern=^https:\/\/(auth|aliyundrive)\.alipan\.com\/v2\/account\/token,requires-body=1,max-size=0,binary-body-mode=0,script-path=https://gist.githubusercontent.com/Sliverkiss/33800a98dcd029ba09f8b6fc6f0f5162/raw/aliyun.js,script-update-interval=259200
# Amap_Cookie = type=http-response,pattern=^https:\/\/(m5(|-zb)|dache)\.amap\.com\/(ws\/yuece\/(act|openapi\/activity\/current)\/query|common\/(alipaymini|wxmini)\?_ENCRYPT=),requires-body=1,max-size=0,binary-body-mode=0,script-path=https://raw.githubusercontent.com/wf021325/qx/master/task/ampDache.js,script-update-interval=0
# Longfor_Cookie = script-path=https://raw.githubusercontent.com/leiyiyan/resource/main/script/lhtj/lhtj.js,timeout=60,tag=龙湖天街获取Cookie,type=http-request,pattern=^https?:\/\/gw2c\-hw\-open\.longfor\.com\/lmarketing\-task\-api\-mvc\-prod\/openapi\/task\/v1\/signature\/clock,requires-body=0,script-update-interval=0</code></pre><p>分别是阿里云签到脚本、阿里云盘签到、高德打车签到、龙湖天街签到，下面四个是Cookie获取的脚本。</p>
<p>对应hostname需添加：</p>
<pre><code class="language-">hostname = developer.aliyun.com, *.amap.com, auth.alipan.com, auth.aliyundrive.com, gw2c-hw-open.longfor.com</code></pre><h3>模块</h3>
<p>参照<a href="https://surge.qingr.moe">LoonKissSurge Repository</a>，请自行挑选所需的模块，感恩各路大佬无私奉献。</p>
<h3>广电网络特殊配置</h3>
<p>由于广电网络设施并不完善，在使用微信的过程中大概率会出现连接中/收取中长时间转圈的情况，以下配置经测试后可以有效改善。</p>
<p><del>垃圾广电，已经销卡了，换成了网络更差的联通</del></p>
<pre><code class="language-">AND,((SUBNET,TYPE:CELLULAR), (OR,((PROTOCOL,UDP), (PROTOCOL,QUIC))), (DEST-PORT,443)),REJECT-NO-DROP</code></pre><blockquote>
<p>以上添加至[Rule]中，丢弃443端口的所有UDP及QUIC请求</p>
</blockquote>
<pre><code class="language-">*.qq.com = server:101.226.4.6 // QQ
*.qlogo.cn = server:101.226.4.6 // 腾讯头像
*.qpic.cn = server:101.226.4.6 // 腾讯图片
*.weixin.qq.com = server:101.226.4.6 // 微信
*.wx.qq.com = server:101.226.4.6 // 微信
*.weixin.com = server:101.226.4.6 // 微信
*.weixinbridge.com = server:101.226.4.6 // 微信公众平台
*.wechat.com = server:101.226.4.6 // WeChat
*.servicewechat.com = server:101.226.4.6 // 微信小程序</code></pre><blockquote>
<p>以上添加至[Host]中，将微信相关域名使用360DNS进行解析</p>
</blockquote>
<p>以上是测试后的可用配置，能大幅改善微信转圈的问题，如果你有更好配置，欢迎评论分享。</p>

      <p style='text-align: right'>
      <a href='https://rato.do/posts/daily/surge#comments'>看完了？说点什么呢</a>
      </p>
    ]]>
    </content:encoded>
  <guid isPermaLink="false">671baa51dec3ecd1ea7b83d4</guid>
  <category>posts</category>
<category>Daily</category>
 </item>
  <item>
    <title>记录 2024 年第 297 天：YouTube会员 危</title>
    <link>https://rato.do/notes/1</link>
    <pubDate>Wed, 23 Oct 2024 06:35:22 GMT</pubDate>
    <description>今日头等悲伤之大事：
  YouTube Premuim 尼日利亚区被清退，低价区不复存在。
悲

</description>
    <content:encoded><![CDATA[
      <blockquote>该渲染由 marked 生成，可能存在排版问题，最佳体验请前往：<a href='https://rato.do/notes/1'>https://rato.do/notes/1</a></blockquote>
      <p>今日头等悲伤之大事：
  YouTube Premuim 尼日利亚区被清退，低价区不复存在。
悲</p>
<p>考虑一下土区App Store内购了</p>

      <p style='text-align: right'>
      <a href='https://rato.do/notes/1#comments'>看完了？说点什么呢</a>
      </p>
    ]]>
    </content:encoded>
  <guid isPermaLink="false">6718992adec3ecd1ea7b3ec8</guid>
  <category>notes</category>
false
 </item>
  
</channel>
</rss>