What Is A Reverse Proxy? Proxy Servers Explained | Cloudflare
Published at March 3, 2019 · 1 min read
cloudflare 的的文章用图表较为生动形象的讲解了 forward proxy 和 reverse proxy 的区别 What Is A Reverse Proxy? Proxy Servers Explained | Cloudflare...
What Is A Reverse Proxy? Proxy Servers Explained | Cloudflare
Published at March 3, 2019 · 1 min read
cloudflare 的的文章用图表较为生动形象的讲解了 forward proxy 和 reverse proxy 的区别 What Is A Reverse Proxy? Proxy Servers Explained | Cloudflare...
Network Extension, Part 1 - Introduction
Published at February 28, 2019 · 1 min read
主要介绍了 iOS 中与网络相关的几个 API,比如设置私人VPN,流量过滤、dns 等等 Network Extension, Part 1 - Introduction...
Published at February 28, 2019 · 1 min read
frp 原理的大致讲解,和花生壳之类的常见ddns 不同,这种方式是需要有一个中继服务器将对用户和本地的流量进行双向转发以实现内网穿透,与常见的 ddns 的优势也是非常明显,在复杂的网络环境中,比如多层 nat 中同样也可以使用。 关于内网穿透frp程序的分析...
Top 50 Python Interview Questions & Answers For 2019 | Edureka
Published at February 27, 2019 · 1 min read
很基本的 python 基础知识,其中对于 first-class objects 的定义是第一次听说,值得随时翻翻复习下基础 Top 50 Python Interview Questions & Answers For 2019 | Edureka...
How to build a TCP proxy #1: Intro | Robert Heaton
Published at February 27, 2019 · 1 min read
从嗅探手机中的一些流量信息发现 http proxy 是无法获取到 tcp 请求,于是设计一套方案,从搭建 dns 开始,到 proxy server,将所有请求的流量均通过 dns 转发至 proxy server 以实现 MITM How to build a TCP proxy #1: Intro | Robert Heaton...
Find and Delete multiple keys matching by a pattern in Redis the right way.
Published at February 27, 2019 · 1 min read
redis 的一些 best practices,其中包括 keys 与 scan,应该舍去已发生阻塞其他事物,不同于 keys 返回所有的 key,scan 只会返回一部分。另外可以利用 pipeline 实现一次执行多个命令,并能保证事物的原子性 Find and Delete multiple keys matching by a pattern in Redis the right way....
Published at February 27, 2019 · 1 min read
shadowsocks 源码分析,其中关键的部分 handleconnection 函数中通过 go ss.PipeThenClose(conn, remote) 和 ss.PipeThenClose(remote, conn) 进行 client 和 server 之间的数据交换,在之前的阅读源码中,并没有很好的理解其作用。 shadowsocks-go源码阅读...
Cannot download Docker images behind a proxy
Published at February 26, 2019 · 1 min read
如何为 docker 配置 proxy,最初以为在 env 中配置即可,结果测试后不知为何不行,按照此方法确实可用。 Cannot download Docker images behind a proxy...
Cross-Origin Resource Sharing (CORS)
Published at February 25, 2019 · 1 min read
CORS 跨域资源访问的详细介绍,域(origin)的定义为域名、协议和端口,也就是说三者其中之一发生改变则需要面临 CORS 问题。服务端需要根据请求的 origin 来判断是否在允许的范围内而决定是放行还是拒绝。在目前较多的 web 框架中,prefilighted requests 则逐渐成为主流,由客户端先通过 “OPTION” 方法发送一个请求,将请求的方法和头放到 header 中发送,服务器端则返回相应的结果,并交由浏览器判断。 Cross-Origin Resource Sharing (CORS)...
How to Build the Distributed Crawling System - DZone Cloud
Published at February 23, 2019 · 1 min read
打造分布式爬虫的系统架构和设计 How to Build the Distributed Crawling System - DZone Cloud...