5643 Commits

Author SHA1 Message Date
avwo f0a4f0ec47 refactor: refine code 2026-10-11 20:27:49 +08:00
avwo f7c87f3b37 feat: enable://useSniAsTunnelDomain 2026-10-11 11:39:47 +08:00
avwo 2ab4290e72 refactor: refine code 2026-10-03 12:21:15 +08:00
avwo a1e4751d15 feat: default DNS order to ipv4-first 2026-09-14 20:31:46 +08:00
avwo 7c6fcc784a refactor: refine code 2026-09-13 23:58:58 +08:00
avwo ca15b3f3a4 fix: https://github.com/avwo/whistle/pull/1351 2026-09-12 09:11:24 +08:00
avwo 91daac147a fix: https://github.com/avwo/whistle/issues/1360 2026-09-12 09:10:07 +08:00
avwo 5414099296 refactor: refine code 2026-09-06 20:50:29 +08:00
avwo 32f8beb0d7 refactor: refine code 2026-09-05 15:06:24 +08:00
avwo b824b6a408 fix: https://github.com/avwo/whistle/issues/1331#issuecomment-5240629575 2026-08-16 17:11:27 +08:00
avwo 7685be12d4 refactor: refine code 2026-08-02 14:05:46 +08:00
avwo db516e78ec refactor: refine code 2026-07-26 22:00:45 +08:00
avwo 3bf20d4a5f refactor: refine code 2026-07-26 15:25:59 +08:00
avwo 1c2d7c7f3a refactor: refine code 2026-07-25 16:00:14 +08:00
avwo b7bb62dbfc fix: https://github.com/avwo/whistle/pull/1340 2026-07-25 15:59:45 +08:00
avwo 9f2852428b fix: https://github.com/avwo/whistle/issues/1338 2026-07-25 15:58:51 +08:00
Zio Wang 51944c1a70 fix: correct typo in access-control-allow-methods header name
The autoComp branch in setResCors was setting 'access-control-allow-method'
(singular) instead of 'access-control-allow-methods' (plural).
This caused browsers to reject preflight OPTIONS responses when using
resCors://enable, as they only recognize the plural form per the
WHATWG Fetch Standard.
2026-07-19 10:09:01 +08:00
avwo 7a98094d5a perf: optimize performance 2026-07-11 13:23:17 +08:00
avwo 0b4c4bdb78 Release v2.10.5 2026-07-04 07:44:17 +08:00
avwo 26b7850c95 refactor: refine code 2026-06-21 17:17:14 +08:00
avwo 7512f21acc feat: add test rules function 2026-06-19 00:49:39 +08:00
avwo 777bcf69ba feat: handle client/server sent events 2026-06-14 13:36:19 +08:00
Frank 14a9407b4a fix: add authorityKeyIdentifier extension to fix Python SSL verification error
## 问题描述

Python 3.13+ 配合 urllib3 2.6.3 使用 Whistle 作为 HTTPS 代理时,SSL 证书验证失败:

```
urllib3.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED]
certificate verify failed: Missing Authority Key Identifier
```

## 根本原因

OpenSSL 3.x 和 Python 的 urllib3 对证书链验证更加严格。Whistle 动态生成的服务器证书只包含 `subjectAltName` 扩展,缺少 `authorityKeyIdentifier` 等必要扩展。

## 解决方案

为生成的证书添加完整的 X.509v3 扩展:
- `basicConstraints` (CA:FALSE)
- `keyUsage` (digitalSignature, keyEncipherment)
- `extKeyUsage` (serverAuth, clientAuth)
- `authorityKeyIdentifier` (从 ROOT_CRT 的 SKI 获取)

## 测试环境

- Python 3.13.5
- urllib3 2.6.3
- OpenSSL 3.5.5
- Node.js v24.14.0
- Whistle v2.10.2

此修复确保 Python 严格的 SSL 验证在使用 Whistle 进行 HTTPS 抓包时能够正常通过。
2026-03-31 15:26:04 +08:00
avwo b55839bdfa feat: refine Tools/Console 2026-03-25 21:57:54 +08:00
avwo 40a892cfb0 refactor: refine code 2026-03-21 22:37:04 +08:00
avwo f81fe36edd fix: https://github.com/avwo/whistle/issues/1297 2026-02-11 23:12:25 +08:00
avwo e880587b46 fix: https://github.com/avwo/whistle/issues/1296 2026-02-11 23:12:06 +08:00
avwo 1495110ab3 refactor: refine code 2026-02-07 23:53:20 +08:00
avwo b67ec50a0d refactor: refine code 2026-02-07 22:15:56 +08:00
avwo 007df8395e feat: allow disable custom certs 2026-02-01 23:29:45 +08:00
avwo db93be5cbc feat: disable request rules header by default 2026-02-01 23:29:02 +08:00
avwo 6ff4b95c7c refactor: refine code 2026-02-01 20:28:08 +08:00
avwo 9984c8c862 refactor: refine code 2026-01-31 10:51:48 +08:00
avwo c4740f3ef2 refactor: refine code 2026-01-31 07:41:12 +08:00
avwo 79087fbeeb feat: prevent the use of parent directory symbols 2026-01-31 07:39:36 +08:00
avwo 0ae2073ce4 feat: dark mode 2026-01-24 12:37:17 +08:00
avwo 5c808c7748 refactor: refine code 2026-01-10 00:27:21 +08:00
avwo 2be84f37a3 refactor: refine code 2026-01-01 22:00:16 +08:00
avwo c0812345a5 refactor: refine code 2025-12-27 00:07:12 +08:00
avwo d5007f3cd9 refactor: refine code 2025-12-21 21:53:22 +08:00
avwo 6fb5420218 feat: refactor the composer 2025-12-21 21:51:40 +08:00
avwo 5b34cb8551 feat: refactor the plugins loader 2025-12-21 21:49:57 +08:00
avwo c041cee4fc fix: fs-extra -> fs-extra2 2025-11-19 23:04:51 +08:00
avwo 2b1d4040a1 feat: save sessions 2025-11-16 23:07:11 +08:00
avwo 0d4ab6e064 feat: add Enabled Rules && Saved Sessions 2025-11-09 23:04:15 +08:00
avwo 1cfeaaed6d feat: ~/.whistlerc 2025-11-09 22:59:14 +08:00
avwo 42d6e85581 fix: frameScript 2025-11-09 22:58:30 +08:00
avwo 10f7c7730f fix: https://github.com/avwo/whistle/issues/1081#issuecomment-3500994521 2025-11-09 22:57:39 +08:00
avwo f4a49989cd feat: frameScript 2025-10-06 22:39:32 +08:00
avwo cc12e4e669 refactor: refine code 2025-09-14 23:10:09 +08:00