Daze is a tool to help you link to the Internet.
Note v1.19 is not compatible with v1.18.
When daze is running on Android, it will automatically set up a proper DNS. Choose one of the following DNS:
The initialization of all fields of mux must be completed before starting goroutine.
Support concurrent DNS queries
Support priority write
Refactoring protocol czar
Dahlia is an encrypted port forwarding protocol. Unlike common port forwarding tools, it needs to configure a server and a client, and the communication between the server and the client is encrypted to bypass firewall detection.
# Port forwarding from 20002 to 20000:
$ daze server -l :20001 -e 127.0.0.1:20000 -p dahlia
$ daze client -l :20002 -s 127.0.0.1:20001 -p dahlia
Rewrite the czar protocol.
The czar protocol is a proxy protocol built on TCP multiplexing technology. By establishing multiple TCP connections in one TCP channel, czar protocol effectively reduces the consumption of establishing connections between the client and the server:
Client port: a.com ------------┐ ┌------------ Server port: a.com
Client port: b.com ----------┐ | | ┌---------- Server port: b.com
Client port: c.com ----------+-+-- czar protocol --+-+---------- Server port: c.com
Client port: d.com ----------┘ | | └---------- Server port: d.com
Client port: e.com ------------┘ └------------ Server port: e.com
To open a stream:
+-----+-----+-----+-----+
| Sid | 0 | Rsv |
+-----+-----+-----+-----+
Both server and client can push data to each other.
+-----+-----+-----+-----+-----+-----+
| Sid | 1 | Len | Msg |
+-----+-----+-----+-----+-----+-----+
Close the specified stream.
+-----+-----+-----+-----+
| Sid | 2 | Rsv |
+-----+-----+-----+-----+
Refactored the ashe protocol and is no longer compatible with lower versions.