Appreciate your data packets check.
It is necessary to send some data to establish the P2P connection with quicker speed between two peers.
The sending process begins when two peers try to establish the connect and ends when the P2P is done or failed.
It will last for 20 seconds in the worst case.
Well are you sure a packet rate of 125 per second is normal ?
I tend to find it a bit on the high side, it wouldn’t be a problem if the “logged on user” had only registered on one network but in this case the user is known on EasyVPN on at least 4 networks, and it still goes to Relay connection.
So for every call to the socket you get this multiplied by the x number of networks the “remote” user(s) are known…
The screenshot shows what happens for one of the networks the remote user uses/used.
31 packets per second per network known to EasyVPN active users with 10 users online this would result int 310 packets per second udp traffic… I’d like to see some sort of “slow start” probing in that behavior :-))
As there are some NAT types , we have to add the tactics to increase the P2P connection’s success rate. One method is sending data to NAT between NAT port and NAT port number plused 30. So when one users in contacts or networks is online ,the easyvpn will send data to 30 ports to the get fastest reply.
If there are 10 online users when easyvpn become online, easyvpn will send data to 30*10 ports at least.All p2p data(UDP) are processed in another thread and by sequence.
For a user having been active on multiple ip segments, it’s not very effective trying to reach them on a segment he/she is not connected on at the time of the login, could you reduce that also ?
If i logon i will be on max 2 ip segments to p2p, a local lan ip and the “external” ip from my internet connection, so it looks a bit redundant to “search” for connection on all other segments i have ever been active on…
EasyVpn tried all host’s ips and internet ips.
The host have the only host ip and the only internet ip normally.
Sometimes Easyvpn have more than one IP and some of them are useful.
For example in the picture.
Host A has four real network adapters:
LAN to WAN
Easyvpn has been installed into the HOST1,2,3 and A.
The hostA’s account is in the firends list of other three accounts.
If Host1,2,3 and A became online, the every ip of hostA is useful to p2p connection.
Yes,one of 3 private ips is our ideal aim. Easyvpn don’t know which one is the ideal one, Easyvpn have to send request and wait for response to decide which is ideal, even some request packet is unreachable. We didn’t find other method to pick up the one. We do appreciate if you give us some advice to locate the ideal one.
When easyvpn host have 2+ ips, it is possible that contact A connects to ip 1 and the contact B connect to ip 2.Whe a contact is online, easyvpn don’t know which one is the best. Trying all is reasonable.