<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Linux on Damien Dye 的博客</title>
    <link>https://blogs.damiendye.uk/zh/tags/linux/</link>
    <description>Recent content in Linux on Damien Dye 的博客</description>
    <generator>Hugo</generator>
    <language>zh-CN</language>
    <lastBuildDate>Fri, 23 Oct 2026 16:00:00 +0100</lastBuildDate>
    <atom:link href="https://blogs.damiendye.uk/zh/tags/linux/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>PHP：二十九年来一直敞着大门</title>
      <link>https://blogs.damiendye.uk/zh/security/php-twenty-nine-years-of-leaving-the-door-open/</link>
      <pubDate>Fri, 23 Oct 2026 16:00:00 +0100</pubDate>
      <guid>https://blogs.damiendye.uk/zh/security/php-twenty-nine-years-of-leaving-the-door-open/</guid>
      <description>2026年10月21日披露的 PHP2Shell，是一个影响 5.4 以来所有 PHP 版本的内存安全远程代码执行漏洞。本文从 NVD 统计 757 个解释器 CVE，讲 C 引擎、类型转换、WordPress、Web shell、php.net 两次被攻破、半数 PHP 网站跑着无人维护的版本、把每个漏洞变成全盘失守的单进程部署，以及为什么应该转向 Go 或 Rust。</description>
    </item>
    <item>
      <title>固件坏了，自己把 TSC 理顺</title>
      <link>https://blogs.damiendye.uk/zh/hardware/sorting-tsc-when-your-firmware-is-broken/</link>
      <pubDate>Sun, 11 Oct 2026 13:30:00 +0100</pubDate>
      <guid>https://blogs.damiendye.uk/zh/hardware/sorting-tsc-when-your-firmware-is-broken/</guid>
      <description>四个月里，我的 ThinkPad E595 每次开机交给 Linux 的都是一个比其余七个核心慢三秒的 CPU 核心，内核于是丢掉 TSC，改用 HPET。为什么 AMD 笔记本没法在 Linux 里修好它，40 次开机的日志说明了什么，tscsync 怎样在 UEFI 里把计数器对齐。另附 BIOS 1.30、tsc=nowatchdog，以及每台 KVM 客户机为此付出的实测代价。</description>
    </item>
    <item>
      <title>YubiKey 让我登录了，我的密钥环却从没被告知</title>
      <link>https://blogs.damiendye.uk/zh/random/yubikey-login-locked-keyring/</link>
      <pubDate>Wed, 07 Oct 2026 21:30:00 +0100</pubDate>
      <guid>https://blogs.damiendye.uk/zh/random/yubikey-login-locked-keyring/</guid>
      <description>在 Fedora 45 上用 YubiKey 无密码登录，登录密钥环会一直锁着，因为从来没有密码传到它那里。本文讲为什么会这样、各种办法及其代价，以及我的做法：用需要 PIN 和触摸的 FIDO2 hmac-secret 解锁 oo7，再加上 oo7 占位密钥环的怪癖，和一次一次性测试抓到的 bug。</description>
    </item>
    <item>
      <title>Webex 在 Cisco 的构建服务器上找你的证书</title>
      <link>https://blogs.damiendye.uk/zh/certificates/webex-certificates-on-a-build-server/</link>
      <pubDate>Tue, 15 Sep 2026 09:30:00 +0100</pubDate>
      <guid>https://blogs.damiendye.uk/zh/certificates/webex-certificates-on-a-build-server/</guid>
      <description>Linux 上的 Webex 在网络完全正常的机器上显示“Offline - No internet connection”：Cisco 随包附带的 OpenSSL 去他们自己的构建容器里找信任库。哪里坏了，哪些修复没用，哪一个管用，构建流程错在哪里，以及一家做安全设备的厂商怎么会发布一个连证书都校验不了的客户端。</description>
    </item>
    <item>
      <title>用零件拼一个 VPN：PPP、tap 设备和 netcat</title>
      <link>https://blogs.damiendye.uk/zh/networking/a-vpn-out-of-parts-and-what-egress-really-is/</link>
      <pubDate>Mon, 14 Sep 2026 15:00:00 +0100</pubDate>
      <guid>https://blogs.damiendye.uk/zh/networking/a-vpn-out-of-parts-and-what-egress-really-is/</guid>
      <description>VPN 就是一条虚拟链路加一个载体，而 Linux 为两者各自都带了程序：pppd 或 tap 设备，以及 netcat。用两种方式把它搭出来，走 TCP、UDP、TLS 和 DTLS，再加上 zstd 压缩，就能看清 VPN 由什么构成，以及出站（egress）到底是什么：一旦攻击者拿到 root 而出站是开放的，隧道其实早已装好。</description>
    </item>
    <item>
      <title>Ping：一个诊断工具，打开的远不止诊断</title>
      <link>https://blogs.damiendye.uk/zh/networking/ping-the-diagnostic-tool-that-opens-a-whole-lot-more/</link>
      <pubDate>Tue, 01 Sep 2026 08:05:00 +0100</pubDate>
      <guid>https://blogs.damiendye.uk/zh/networking/ping-the-diagnostic-tool-that-opens-a-whole-lot-more/</guid>
      <description>为什么 ping（ICMP echo，而不是协议的其余部分）是一项负债：它是每台主机都必须应答的通道，所以一个“只放行 ping”的网络，已经有了一条完整的 VPN 出口。本文讲威胁、谁能打开它、三条隧道（Hans、icmptunnel、一条带 AES-128 的 Python 隧道），以及关掉它的规则：nftables、pf、Cisco、Junos、MikroTik 和 Windows。</description>
    </item>
    <item>
      <title>防火墙在 11 跳之外</title>
      <link>https://blogs.damiendye.uk/zh/networking/how-far-away-is-the-firewall/</link>
      <pubDate>Fri, 28 Aug 2026 09:00:00 +0100</pubDate>
      <guid>https://blogs.damiendye.uk/zh/networking/how-far-away-is-the-firewall/</guid>
      <description>一个超时的连接不会告诉你它死在哪里，TTL 会。本文讲怎样数出到底隔着几跳是什么吞掉了你的端口，覆盖 Linux、macOS、各家 BSD、Solaris 和 Redox，附一个在 Linux 上不需要 root 的脚本。</description>
    </item>
  </channel>
</rss>
