-
-
Notifications
You must be signed in to change notification settings - Fork 0
Description
The only scenario in which two nodes can not communicate with each other currently, is if the firewalls are such that node 1 only allows udp, and node 2 only allows tcp, or vica versa. Or if one allows only ipv4 and the other ipv6, or a combination of ip versions and transport protocols do not match. You get the point.
Currently, a relay node just relays the data packets. However, since a sstp data packet over tcp might be way bigger than what is supported over udp, this won't work.
The solution would be to also negotiate a maximum packet size during the relay connection setup. Now, if a node needs to relay over tcp to another node over udp, it will be really slow because of the big amount of overhead of sending 'udp packet size' packets over tcp. But it will work and that is what is important.