Skip to content

Instantly share code, notes, and snippets.

View Awkee's full-sized avatar
🏠
生活方式不是千篇一律

Awkee Awkee

🏠
生活方式不是千篇一律
  • void
View GitHub Profile
// 访问URL地址并返回Body内容字符串
// 参数信息:
// urlAddr: 访问的URL地址
// method: 访问方式
// proxyUri: 代理地址,例如 socks5://127.0.0.1:1080 或 http://127.0.0.1:8080 等
// 返回值:
// result: 访问结果
// err: 返回错误信息,nil表示执行成功,数据存放在results中
func fetchUrl(urlAddr string, proxyUri string, method string, headers map[string]string) (results string,err error) {
@Awkee
Awkee / Netfilter-IPTables-Diagrams.md
Created September 23, 2019 08:56 — forked from nerdalert/Netfilter-IPTables-Diagrams.md
Linux NetFilter, IP Tables and Conntrack Diagrams

Linux NetFilter, IP Tables and Conntrack Diagrams

IPTABLES TABLES and CHAINS

IPTables has the following 4 built-in tables.

1) Filter Table

Filter is default table for iptables. So, if you don’t define you own table, you’ll be using filter table. Iptables’s filter table has the following built-in chains.