Contrib - Improving NAT/PAT Bypass + DSCP on Control Session #100
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Trying to provide solutions to improve NAT/PAT Bypass :
TWAMP, twping :
Requests from Control-Client. In that case, Control-Client is also Session-Sender and
Control-Server is Session-Reflector. Control-Server had then to switch the Zero Addr with
the corresponding Control IP Addr.
Such option is still available but now also split in 2 options : [X] For Session-Sender,
[Y] For Session-Reflector.
It helps to bypass NAT on both Session Sender/Reflector when they are also Control Client/Server.
is not checked.
OWAMP, owping :
also Control Client/Server.
As for TWAMP, it permits to set Session Sender/Receiver IP to Zero Addr in Owamp Requests
from Control-Client : [X] For Session-Sender, [Y] For Session-Server.
In that case Control-Server had to switch the Zero Addr with the corresponding Session IP Addr
according the way test is done. For example when tests are done in both ways using Owamp, option [X]
tells the Control-Server to use the zero address for Control-Client in test session from Control-Client
to Control-Server and for Control-Server in test session from Control-Server to Control-client
It helps to bypass NAT on both Session Sender/Receiver.
is not checked.
twampd :
are also Control Client/Server. Control-Server had then to switch the Zero Addr with
the corresponding Control IP Addr.
It helps to bypass NAT on both Session Sender/Reflector when they are also Control Client/Server.
is not checked. Indeed, even with Zero Address, PAT on Session-Sender was not considered.
does not use zero address. In that case any Session-Reflector Address is seen as Local Address.
owampd :
also Control Client/Server.
As for TWAMP, it permits to handle Zero Addr for Session Sender/Receiver in Owamp Requests
from Control-Client
In that case Control-Server had to switch the Zero Addr with the corresponding Session IP Addr
according the way test is done.
It helps to bypass NAT on both Session Sender/Receiver.
is not checked. Indeed, even with Zero Address, PAT on Session-Remote was not considered.
does not use zero address. In that case any Session-Local Address is seen as Local Address.
DSCP On Control Session:
owping/twping
Add an option [m] to set DSCP field on Control packets (from Control Client to Server).
To reflect ToS received from Control-Client, on Linux we may have to set 1 into
/proc/sys/net/ipv4/tcp_reflect_tos on Control-Server side