Home > other >  Homemade remote control protocol based on UDP, realize the basic function of SSH
Homemade remote control protocol based on UDP, realize the basic function of SSH

Time:10-28

Homemade a remote connection protocol based on UDP (SGW), realize the basic function of SSH, can also be secondary development is applied to the other needs to be encrypted connection project,
The server USES the OpenSSL encrypted, first generates one or more key file, and then only hold key file client can successfully connect
Due to the use of UDP as the transport protocol, on the connection speed is faster than TCP (need not wait for each other after written confirmation), at the same time in many mechanisms to ensure information is added to the program even in the case of a packet lost package can also be normal transmission mechanism (packet loss is detected the retransmission)
Traditional SSH and Telnet protocol in an insecure network environment or type are very easy to be detected under the network provider agreement middlemen have even been malicious TCP RESET, SGW use UDP transport protocol completely immune TCP RESET, and almost no characteristics on packet

Development environment: Ubuntu 14.04, Mac OS X 10.10
Operating environment: Server: Linux Client: Linux/Unix, Max OS X



The source code (lot) :
https://github.com/phenyl-sphinx/SecureGateWay
Code shows the instructions on the installation instructions are on the lot
  • Related