mirror of
https://github.com/wweir/sower.git
synced 2024-04-21 12:42:15 +00:00
Add basic introduction
This commit is contained in:
@@ -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
@@ -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
|
||||
Reference in New Issue
Block a user