Releases: Azumi67/LocalTun_TCP
tun1.7
This is for Online game and personal usage
Added Retry interval (Server & Client reconnect to each other in case of failure)
old.zip files are without Retry interval feature
Added socket buff
Worker added
keepalive, tcpnodelay and other options are intact.
Removed nonce & sha 256 hash key and added public key and private key instead of secret key authentication method.
Usage :
Enable worker : -worker default (based on cpu cores) | -worker 4 ( the custom worker number )
Enable keepalive : -keepalive 10s or -keepalive 1m
Enable tcpnodelay : -tcpnodelay
Enable log saving : -log
server side : -pub-key=/root/keys/public_key.pem
client side : -priv-key=/root/private_key.pem
Socket enable : -sock
Socket buffer size : -sockbuff=1048576
key creation :
openssl genrsa -out private_key.pem 2048
openssl rsa -pubout -in private_key.pem -out public_key.pem
Script added
Tun-azumi_V1.6
Added socket buff
Might add yamux after the initial test
Worker removed for now
keepalive, tcpnodelay and other options are intact.
Removed nonce & sha 256 hash key and added public key and private key instead of secret key authentication method.
Usage :
Enable yamux : -smux
Enable keepalive : -keepalive 10
Enable tcpnodelay : -tcpnodelay
Enable extensive logging and saving : -v
server side : -pub-key=/root/keys/public_key.pem
client side : -priv-key=/root/private_key.pem
Socket enable : -sock
Socket buffer size : -sockbuff=1048576
key creation :
openssl genrsa -out private_key.pem 2048
openssl rsa -pubout -in private_key.pem -out public_key.pem
After test, I will release it with the script.
Tun-azumi_V1.5
Changed transfer method which caused problem in "couldn't write to tun" error and was causing the tun to drop connections after some time.
Removed Smux to be studied further in my online games. [ It will be added in a later version]
other options are intact.
added keepalive
Tun-azumi_V1.41
Added worker: -worker or default based on CPU cores
Add buffer size increase for worker channels.
Added concurrency handling func & removed ping interval and service name. Instead, I use another simple service with bin bash script to restart services based on server unreachable error.
Fixed some connection bugs
Added tcp keep alive : -keepalive true
Added keepalive interval : -tcp-interval 15
I am still testing this in the game to find potential problems.
I am going to combine it with Vxlan next update.
I am still undecided on encryption and compression.
Tun-azumi_V1.4
added nonce & sha 256: usage -key
added both upx compression and non-compressed
amd64_upx.zip for compressed version
amd64 for non-compressed version
Tun-azumi_V1.3
added xtaci smux
added tcpnodelay
added heartbeat and heartbeat interval
removed retry connection if server disconnected and instead added ping interval and service reset upon failure
added logrus
still having problems with optimizer & ufw
next update : IPSEC or Chacha20 , Worker
maybe toml config file
there maybe still some hidden problem which i am not aware of.
I am using this for personal use so I don't guarantee anything for commercial usage.
This is a learning project
Tun-azumi_V1.2
Better handling of errors
removed unnecessary logs for better performance
added verbose false/true for enabling or disabling logs
read data buff
retry interval
Tun-azumi_V1
IPV4/IPV6 is available
Private IPv4 & Private IPv6 is available
Manual MTU & Subnet mask & tun name device & private ips are available
Secret Key is available
Iran could be main server & kharej Client server and vice versa