{"action":"created","issue":{"url":"https://api.github.com/repos/solomonxie/solomonxie.github.io/issues/35","repository_url":"https://api.github.com/repos/solomonxie/solomonxie.github.io","labels_url":"https://api.github.com/repos/solomonxie/solomonxie.github.io/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/solomonxie/solomonxie.github.io/issues/35/comments","events_url":"https://api.github.com/repos/solomonxie/solomonxie.github.io/issues/35/events","html_url":"https://github.com/solomonxie/solomonxie.github.io/issues/35","id":291797179,"node_id":"MDU6SXNzdWUyOTE3OTcxNzk=","number":35,"title":"Network Engineering 网络工程师","user":{"login":"solomonxie","id":14041622,"node_id":"MDQ6VXNlcjE0MDQxNjIy","avatar_url":"https://avatars2.githubusercontent.com/u/14041622?v=4","gravatar_id":"","url":"https://api.github.com/users/solomonxie","html_url":"https://github.com/solomonxie","followers_url":"https://api.github.com/users/solomonxie/followers","following_url":"https://api.github.com/users/solomonxie/following{/other_user}","gists_url":"https://api.github.com/users/solomonxie/gists{/gist_id}","starred_url":"https://api.github.com/users/solomonxie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solomonxie/subscriptions","organizations_url":"https://api.github.com/users/solomonxie/orgs","repos_url":"https://api.github.com/users/solomonxie/repos","events_url":"https://api.github.com/users/solomonxie/events{/privacy}","received_events_url":"https://api.github.com/users/solomonxie/received_events","type":"User","site_admin":false},"labels":[{"id":944155052,"node_id":"MDU6TGFiZWw5NDQxNTUwNTI=","url":"https://api.github.com/repos/solomonxie/solomonxie.github.io/labels/CCNA","name":"CCNA","color":"c66bdb","default":false},{"id":817021639,"node_id":"MDU6TGFiZWw4MTcwMjE2Mzk=","url":"https://api.github.com/repos/solomonxie/solomonxie.github.io/labels/Cisco","name":"Cisco","color":"c2e0c6","default":false},{"id":831921770,"node_id":"MDU6TGFiZWw4MzE5MjE3NzA=","url":"https://api.github.com/repos/solomonxie/solomonxie.github.io/labels/HF","name":"HF","color":"c5def5","default":false},{"id":944155463,"node_id":"MDU6TGFiZWw5NDQxNTU0NjM=","url":"https://api.github.com/repos/solomonxie/solomonxie.github.io/labels/Shadowsocks","name":"Shadowsocks","color":"9ff9ad","default":false},{"id":944155701,"node_id":"MDU6TGFiZWw5NDQxNTU3MDE=","url":"https://api.github.com/repos/solomonxie/solomonxie.github.io/labels/TCP/IP","name":"TCP/IP","color":"00efaf","default":false}],"state":"open","locked":true,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/solomonxie/solomonxie.github.io/milestones/2","html_url":"https://github.com/solomonxie/solomonxie.github.io/milestone/2","labels_url":"https://api.github.com/repos/solomonxie/solomonxie.github.io/milestones/2/labels","id":3053599,"node_id":"MDk6TWlsZXN0b25lMzA1MzU5OQ==","number":2,"title":"TOP NOTES","description":"Most recently or most frequently notes","creator":{"login":"solomonxie","id":14041622,"node_id":"MDQ6VXNlcjE0MDQxNjIy","avatar_url":"https://avatars2.githubusercontent.com/u/14041622?v=4","gravatar_id":"","url":"https://api.github.com/users/solomonxie","html_url":"https://github.com/solomonxie","followers_url":"https://api.github.com/users/solomonxie/followers","following_url":"https://api.github.com/users/solomonxie/following{/other_user}","gists_url":"https://api.github.com/users/solomonxie/gists{/gist_id}","starred_url":"https://api.github.com/users/solomonxie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solomonxie/subscriptions","organizations_url":"https://api.github.com/users/solomonxie/orgs","repos_url":"https://api.github.com/users/solomonxie/repos","events_url":"https://api.github.com/users/solomonxie/events{/privacy}","received_events_url":"https://api.github.com/users/solomonxie/received_events","type":"User","site_admin":false},"open_issues":19,"closed_issues":0,"state":"open","created_at":"2018-01-22T12:38:50Z","updated_at":"2018-08-03T07:58:07Z","due_on":null,"closed_at":null},"comments":70,"created_at":"2018-01-26T04:28:54Z","updated_at":"2018-12-09T17:52:47Z","closed_at":null,"author_association":"OWNER","body":"日常的网络问题层出不穷，实在太多有点记忆不够用，在这里开一篇再好不过，随时查阅。\r\n另外，基础的网络学习也一起放在这吧\r\n\r\n> 区分：这里探讨互联网protocol协议相关的所有内容，唯独不涉及TCP/IP协议族的最高层 Application Layer。App应用因为太丰富，且已经抽象成为了业务相关的内容，为表区分就单放在另一篇中。\r\n\r\n\r\n## 涉及问题\r\n- [ ] Protocols 互联网协议\r\n    - [ ] TCP/IP\r\n    - [ ] HTTP\r\n    - [ ] HTTPS / SSL \r\n    - [x] CA / DV / OV / EV\r\n- [ ] Troubleshooting 网络诊断\r\n- [x] Web monitor 网络监控\r\n    - [x] Netdata\r\n- [ ] Web traffic sniffing 抓包分析\r\n    - [ ] Wireshark\r\n- [x] Proxy 代理\r\n    - [x] Shadowsocks\r\n- [x] 公网映射\r\n    - [x] SSH Tunnel\r\n    - [x] FRP\r\n- [x] 网络连接\r\n    - [x] SSH 终端连接\r\n    - [x] Mosh 终端连接\r\n    - [x] VNC (Linux/Unix) 远程桌面\r\n    - [x] RDP (Microsoft Remote Desktop Protocol) 远程桌面\r\n- [x] 网络传输 Transfer\r\n    - [x] FTP\r\n    - [x] SFTP\r\n    - [x] scp\r\n    - [x] rsync\r\n- [x] 网络文件共享 File Sharing Protocol\r\n    - [x] Webdav / Wsgidav\r\n    - [x] Samba "},"comment":{"url":"https://api.github.com/repos/solomonxie/solomonxie.github.io/issues/comments/445557480","html_url":"https://github.com/solomonxie/solomonxie.github.io/issues/35#issuecomment-445557480","issue_url":"https://api.github.com/repos/solomonxie/solomonxie.github.io/issues/35","id":445557480,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NTU1NzQ4MA==","user":{"login":"solomonxie","id":14041622,"node_id":"MDQ6VXNlcjE0MDQxNjIy","avatar_url":"https://avatars2.githubusercontent.com/u/14041622?v=4","gravatar_id":"","url":"https://api.github.com/users/solomonxie","html_url":"https://github.com/solomonxie","followers_url":"https://api.github.com/users/solomonxie/followers","following_url":"https://api.github.com/users/solomonxie/following{/other_user}","gists_url":"https://api.github.com/users/solomonxie/gists{/gist_id}","starred_url":"https://api.github.com/users/solomonxie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solomonxie/subscriptions","organizations_url":"https://api.github.com/users/solomonxie/orgs","repos_url":"https://api.github.com/users/solomonxie/repos","events_url":"https://api.github.com/users/solomonxie/events{/privacy}","received_events_url":"https://api.github.com/users/solomonxie/received_events","type":"User","site_admin":false},"created_at":"2018-12-09T17:52:47Z","updated_at":"2018-12-09T17:52:47Z","author_association":"OWNER","body":"# Shadowsocks-libev\r\n\r\nShadowsocks服务器分为很多版本，每个版本都同时包含server和client等程序，每个版本所使用的JSON配置文件也都完全一样。不同的只有启动方式、速度、体积、网络处理方式等等。\r\n\r\nss-libev这个版本是C语言写的，体积小速度快。\r\n\r\n\r\n## 安装\r\n\r\nUbuntu / Debian / 树莓派等安装方法：\r\n```sh\r\nsudo apt-get install -y shadowsocks-libev\r\n```\r\n\r\n如果一些平台不支持，则需要自行编译，但是不推荐。\r\nDebian系编译方法如下：\r\n```sh\r\n# Dependencies\r\nyes | sudo apt-get install --no-install-recommends gettext build-essential autoconf libtool libpcre3-dev asciidoc xmlto libev-dev libc-ares-dev automake libmbedtls-dev libsodium-devA && \\\r\necho \"[OK]\"\r\nmkdir -p ~/local/build_source/\r\ncd ~/local/build_source/\r\n# Installation of libsodium\r\nexport LIBSODIUM_VER=1.0.16\r\nwget https://download.libsodium.org/libsodium/releases/libsodium-$LIBSODIUM_VER.tar.gz && \\\r\ntar xvf libsodium-$LIBSODIUM_VER.tar.gz && \\\r\npushd libsodium-$LIBSODIUM_VER && \\\r\n./configure --prefix=/opt && \\\r\nmake && sudo make install && \\\r\npopd && sudo ldconfig && echo \"[OK]\"\r\n# Installation of MbedTLS\r\nexport MBEDTLS_VER=2.6.0 && \\\r\nwget https://tls.mbed.org/download/mbedtls-$MBEDTLS_VER-gpl.tgz && \\\r\ntar xvf mbedtls-$MBEDTLS_VER-gpl.tgz && \\\r\npushd mbedtls-$MBEDTLS_VER && \\\r\nmake SHARED=1 CFLAGS=-fPIC && \\\r\nsudo make DESTDIR=/opt install && \\\r\npopd && sudo ldconfi && echo \"[OK]\"\r\n\r\ngit clone https://github.com/madeye/shadowsocks-libev.git\r\ncd shadowsocks-libev\r\ngit submodule update --init --recursive\r\n# Start building\r\n./autogen.sh && \\\r\n./configure --prefix=/opt/shadowsocks-libev  && \\\r\nmake && sudo make install && \\\r\necho \"[ OK ]\"\r\n```\r\n\r\n这个编译步骤目前没法保证都能成功，还要仔细研究。。。\r\n\r\n\r\n## 配置\r\n\r\n配置文件和一般都ss-local方法一样。\r\n\r\nshadowsocks-libev的配置文件一般位于：`/etc/shadowsocks-libev/config.json`。\r\n内容参考如下：\r\n```json\r\n{\r\n    \"server\":\"My-Server-IP-Address\",\r\n    \"server_port\": 8888,\r\n    \"local_port\": 1080,\r\n    \"password\":\"password123\",\r\n    \"method\":\"aes-256-gcm\",\r\n    \"timeout\": 10\r\n}\r\n```"}}
{"actor":{"display_login":"solomonxie"}}