httpry: An open-source HTTP packet sniffing tool which …
作者存档:phpor
golang 开源项目
http://www.geekhub.cn/a/77.html
haproxy 实现http隧道代理
什么是http隧道代理?(自己搜吧) haproxy的经典逻辑是:每个请求都分配给所配置的后端(backend …
grep -o 用法
实例1: 提取百度首页内容中的url
1 |
curl http://www.baidu.com/ 2>/dev/null |grep -oE "https?://[^[:space:]>]+" |
gre …
haproxy 健康检查与域名解析
配置:
1 2 3 4 5 6 7 8 9 10 |
resolvers mydns nameserver svr1 172.16.162.194:53 backend http_backend mode http acl acl_baidu req.hdr(host) -i www.baidu.com acl acl_beebank req.hdr(host) -i www.beebank.com use-server svr_baidu if acl_baidu use-server svr_beebank if acl_beebank server svr_baidu www.baidu.com:80 check fall 100 rise 1 resolvers mydns resolve-prefer ipv4 server svr_beebank www.beebank.com:80 check fall 100 rise 1 resolvers mydns resolve-prefer ipv4 |
其中: check 说明要开启健康检 …
为什么profile中设置的环境变量在crond中取不到?
环境: centos6 分析: 一般来讲,都是因为在某个环节把环境变量给清了: 要么是应用程序为了安全,自己清 …
agetty 占用cpu 100%的问题
现象: 解决办法: 然后: unlink /dev/tty1 && kill 141733 & …
WEB优化的一些资料
HTTP 协议中的 Content-Encoding: https://imququ.com/post/con …
HTTP Client Hints
简言之: 就是通过一种机制,让client告诉server自己有哪些特性,便于server能更好地为该clie …
HTTP代理相关资料
HTTP 代理原理及实现(一)https://imququ.com/post/web-proxy.html H …