-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex2.html
124 lines (117 loc) · 9.5 KB
/
index2.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<title>fangpsh's blog</title>
<meta charset="utf-8" />
<meta name="google-site-verification" content="CbsgsM2tKx2Ho07c_HkPj2MvG1zaj2trcjW7Ed1pyMw" />
<link href="https://fangpsh.github.io/theme/static/css/bootstrap-3.0.0.min.css" rel="stylesheet" />
<link href="https://fangpsh.github.io/theme/static/css/han.min.css" rel="stylesheet" />
<link href="https://fangpsh.github.io/theme/static/css/style.css" rel="stylesheet" />
<link href="https://fangpsh.github.io/theme/static/css/code.css" rel="stylesheet" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="author" content="fangpsh" />
<link href="https://fangpsh.github.io/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="fangpsh's blog Full Atom Feed" />
</head>
<body id="index" class="archive">
<div class="container">
<div class="header">
<ul class="nav nav-pills pull-right">
<li class="active"><a href="/">Home</a></li>
<li><a href="https://fangpsh.github.io/pages/about.html">About</a></li>
<li><a href="https://fangpsh.github.io/archives.html">Archives</a></li>
</ul>
<h3 class="text-muted"><a href="/">fangpsh's blog</a></h3>
<h2 class="text-muted"></h2>
</div>
<section id="content" class="content">
<article class="hentry">
<header> <h2 class="entry-title"><a href="https://fangpsh.github.io/posts/2024/2024-03-19.html" rel="bookmark" title="Permalink to 关于磁盘URE的担忧">关于磁盘URE的担忧</a></h2> </header>
<div class="entry-content"> <p>网络上常见关于 磁盘URE(Unrecoverable Read Error )的担忧,按照厂商给出的 URE数据计算 RAID5 之类的重建失败概率非常之高,例如这位知乎网友的回答<a href="https://www.zhihu.com/question/20164654">raid5 …</a></p> </div><!-- entry-content -->
</article>
<article class="hentry">
<header> <h2 class="entry-title"><a href="https://fangpsh.github.io/posts/2024/2024-02-02.html" rel="bookmark" title="Permalink to 高质量4G代理池">高质量4G代理池</a></h2> </header>
<div class="entry-content"> <p><img alt="rasproxy" src="/assets/images/2024/20240218145733.jpg"></p>
<p>刚刚参加工作时,在某公司负责运维,常常要给爬虫组的同事找各种云的机器,ucloud、青云、阿里云、腾讯云、aws等,后来这些段被封的 …</p> </div><!-- entry-content -->
</article>
<article class="hentry">
<header> <h2 class="entry-title"><a href="https://fangpsh.github.io/posts/2024/2024-01-22.html" rel="bookmark" title="Permalink to Type65 的未来">Type65 的未来</a></h2> </header>
<div class="entry-content"> <p>注:这是一篇 23 年8月的笔记,目前查看对应的<a href="https://datatracker.ietf.org/doc/rfc9460/?include_text=1">RFC 9460</a> 已经发布。</p>
<hr>
<p>前些日子在查看内网域名解析服务器时,发现新增了不少type65 的记录,反 …</p> </div><!-- entry-content -->
</article>
<article class="hentry">
<header> <h2 class="entry-title"><a href="https://fangpsh.github.io/posts/2024/2024-01-11.html" rel="bookmark" title="Permalink to 为何无法杀死阿里云盾">为何无法杀死阿里云盾</a></h2> </header>
<div class="entry-content"> <p>输错 PID,给云盾进程发送了kill signal:</p>
<div class="highlight"><pre><span></span><code>root 26689 0.3 0.1 113180 9420 ? S<sl 10:34 0:08 /usr/local/aegis/aegis_client/aegis_11_83/AliYunDun
...
# kill -9 26689
-bash: kill: (26689) - Operation not permitted
</code></pre></div>
<p>咦,怎么啥不死,我是 …</p> </div><!-- entry-content -->
</article>
<article class="hentry">
<header> <h2 class="entry-title"><a href="https://fangpsh.github.io/posts/2024/2024-01-08.html" rel="bookmark" title="Permalink to 虚拟机下USB Token使用问题">虚拟机下USB Token使用问题</a></h2> </header>
<div class="entry-content"> <p>23 年 6 月1 日之后,代码签名证书只能通过 USB Token等安全设备分发:</p>
<blockquote>
<p>As of June 1, 2023, all publicly trusted code signing certificates' keys must be stored on cryptographically secure hardware (USB tokens, hardware security modules [HSMs], etc.). The goal here is …</p></blockquote> </div><!-- entry-content -->
</article>
<article class="hentry">
<header> <h2 class="entry-title"><a href="https://fangpsh.github.io/posts/2023/2023-12-19.html" rel="bookmark" title="Permalink to 简易抗DDoS总结">简易抗DDoS总结</a></h2> </header>
<div class="entry-content"> <p>以下所说的方法只能应对小打小闹,骚扰型、流量型 DDoS 攻击。</p>
<ol>
<li>核心思路:服务降级,白嫖资源;</li>
<li>套CDN 之后,<a href="https://fangpsh.github.io/posts/2023/2023-10-02.html">做好源IP 隐藏</a>,源站避免 …</li></ol> </div><!-- entry-content -->
</article>
<article class="hentry">
<header> <h2 class="entry-title"><a href="https://fangpsh.github.io/posts/2023/2023-11-10.html" rel="bookmark" title="Permalink to 部分搜索引擎爬虫IP">部分搜索引擎爬虫IP</a></h2> </header>
<div class="entry-content"> <p>有个小项目套了一个<a href="https://waf-ce.chaitin.cn/">雷池WAF</a>,担心会影响到搜索引擎的爬虫,需要单独维护一个IP组,社区关联issue:<a href="https://github.com/chaitin/SafeLine/issues/374">[建议] 内置各大搜索引擎蜘 …</a></p> </div><!-- entry-content -->
</article>
<article class="hentry">
<header> <h2 class="entry-title"><a href="https://fangpsh.github.io/posts/2023/2023-10-02.html" rel="bookmark" title="Permalink to 源站IP ACL绕过的风险">源站IP ACL绕过的风险</a></h2> </header>
<div class="entry-content"> <p>套上CDN 之后,CDN厂商一般会在回源时,将真实的客户端地址写入header 中,例如cloudflare 是<a href="https://developers.cloudflare.com/fundamentals/reference/http-request-headers/#cf-connecting-ip">CF-Connecting-IP</a>,阿里云是<a href="https://help.aliyun.com/zh/cdn/user-guide/configure-custom-request-headers">Ali-Cdn-Real-Ip</a>,当然也可以从X-Forwarded-For 中取。另外7层的负载均衡服务在转发时,也会携带此类header。</p>
<p>如果 …</p> </div><!-- entry-content -->
</article>
<article class="hentry">
<header> <h2 class="entry-title"><a href="https://fangpsh.github.io/posts/2023/2023-09-27.html" rel="bookmark" title="Permalink to lvmcache性能简单测试">lvmcache性能简单测试</a></h2> </header>
<div class="entry-content"> <p>测试命令:</p>
<div class="highlight"><pre><span></span><code>fio --randrepeat=1 --ioengine=libaio --direct=1 --gtod_reduce=1 --name=fiotest --filename=testfio --bs=4k --iodepth=64 --size=8G --readwrite=randrw --rwmixread=75
</code></pre></div>
<p>数据绝对值不具备参考价值,仅供娱乐,一些结论在末尾 …</p> </div><!-- entry-content -->
</article>
<article class="hentry">
<header> <h2 class="entry-title"><a href="https://fangpsh.github.io/posts/2023/2023-09-26.html" rel="bookmark" title="Permalink to lvmcache 缓存盘掉盘处理">lvmcache 缓存盘掉盘处理</a></h2> </header>
<div class="entry-content"> <p>一块老旧的SSD,使用lvmcache 作为读写缓存,今天掉盘了,系统hang 住,重启后一堆报错:<code>Warning: dracut-initqueue timeout - starting timeout scripts</code>,启动失败,自动进入了救援模式 …</p> </div><!-- entry-content -->
</article>
<div class="pager">
<ul>
<li class="previous"><a href="https://fangpsh.github.io/index.html">← Previous</a></li>
<li class="next"><a href="https://fangpsh.github.io/index3.html">Next →</a></li>
</ul>
</div>
</section><!-- content -->
<footer id="contentinfo" class="footer">
<nav class="pull-right bottom-nav">
<a href="https://fangpsh.github.io/feeds/all.atom.xml">RSS</a>
</nav>
<address id="about" class="vcard body">
© <a href="https://fangpsh.github.io">fangpsh's blog</a> Proudly powered by <a href="http://getpelican.com/">Pelican</a>
</address><!-- /#about -->
</footer><!-- /#contentinfo -->
</div><!-- container -->
<script src="https://fangpsh.github.io/theme/static/js/han.min.js" type="text/javascript"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-5X2BSH52P0"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-5X2BSH52P0');
</script>
<script type="text/javascript">
(function(c,l,a,r,i,t,y){
c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
})(window, document, "clarity", "script", "jt8984mtdg");
</script>
</body>
</html>