Add basic introduction

This commit is contained in:
wweir
2018-11-26 09:25:01 +08:00
parent c7d149f427
commit 0c0d08e45b
2 changed files with 55 additions and 4 deletions
+44 -1
View File
@@ -1,5 +1,48 @@
# sower
another cross platform transparent proxy tool
Yet another cross platform transparent proxy tool
## architecture
```
request target servers
<-------------+ +------------->
| |
| |
+------------server-------------+
| | relay service| |
| +-----+---------------------+ |
| | | |
| | parsr http(s) target url | |
| | | |
| +---------------------------+ |
| |
+--------^----------------------+
| request domain server
quic connection +---------->
| |
+--------+---client+------+-----+
| | |
| | |
| relay service | dns |
| | server |
| | |
| 127.0.0.1 or other |
| | |
+-------^----------+---^----^---+
| | |
| | | +----->
| +----------+ | |
2 1 1 2
+ + + +
block request normal request
```
## install
1. install server on `server node` by `make server`
2. write config file, example: [conf/sower.toml](https://github.com/wweir/sower/blob/master/conf/sower.toml)
3. install client on `client node` by `make client`
4. add `127.0.0.1` as you first domain server
## todo
- [ ] authenticate
- [ ] broker
+11 -3
View File
@@ -2,8 +2,16 @@ server_port="5533"
server_addr="127.0.0.1:5533"
dns_server="114.114.114.114"
blocklist=[
"*.google.com",
"*.youtube.com",
"zh.wikipedia.org",
"*.google.com", # google
"*.youtube.com", # youtube
"*.ytimg.com",
"*.ggpht.com",
"*.googlevideo.com",
"golang.org", # golang
"*.googlesource.com",
"zh.wikipedia.org", # wikipeida
"*.facebook.com", # facebook
"static.xx.fbcdn.net",
"*.web.telegram.org", # telegram
]
verbose=1