1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-23 01:49:53 +03:00
SoftEtherVPN/src/Cedar
Davide Beatrici d4d15b66d3 Cedar: Make use of IP address reported by NAT-T server for UDP acceleration
Before this commit, the IP address reported by the NAT-T server was immediately discarded.
That's because the peer should be accessible via the IP address used to establish the TCP connection.

User "domosekai" (https://www.domosekai.com) pointed out that the NAT-T IP address should be taken into account.
In his case it's required due to his broadband carrier's NAT causing TCP and UDP to have different external IPs.

Co-authored-by: domosekai <54519668+domosekai@users.noreply.github.com>
2021-04-14 19:49:30 +02:00
..
winpcap Correct Spelling (#458) 2018-05-16 23:47:10 +02:00
Account.c Include headers properly 2021-04-05 04:48:25 +02:00
Account.h Include headers properly 2021-04-05 04:48:25 +02:00
Admin.c Change IP structure so that IPv4 addresses are stored in RFC3493 format 2021-04-07 21:24:55 +02:00
Admin.h Include headers properly 2021-04-05 04:48:25 +02:00
AzureClient.c Include headers properly 2021-04-05 04:48:25 +02:00
AzureClient.h Include headers properly 2021-04-05 04:48:25 +02:00
Bridge.c Include headers properly 2021-04-05 04:48:25 +02:00
Bridge.h Include headers properly 2021-04-05 04:48:25 +02:00
BridgeUnix.c Include headers properly 2021-04-05 04:48:25 +02:00
BridgeUnix.h Include headers properly 2021-04-05 04:48:25 +02:00
BridgeWin32.c Include headers properly 2021-04-05 04:48:25 +02:00
BridgeWin32.h Include headers properly 2021-04-05 04:48:25 +02:00
Cedar.c Include headers properly 2021-04-05 04:48:25 +02:00
Cedar.h Include headers properly 2021-04-05 04:48:25 +02:00
CedarType.h Include headers properly 2021-04-05 04:48:25 +02:00
Client.c Change IP structure so that IPv4 addresses are stored in RFC3493 format 2021-04-07 21:24:55 +02:00
Client.h Include headers properly 2021-04-05 04:48:25 +02:00
CM.c Change IP structure so that IPv4 addresses are stored in RFC3493 format 2021-04-07 21:24:55 +02:00
CM.h Include headers properly 2021-04-05 04:48:25 +02:00
CMakeLists.txt CMake: Fix regular expression for BLAKE2 SSE2 source files selection 2021-03-01 23:24:34 +01:00
CMInner.h Include headers properly 2021-04-05 04:48:25 +02:00
Command.c Include headers properly 2021-04-05 04:48:25 +02:00
Command.h Include headers properly 2021-04-05 04:48:25 +02:00
Connection.c Cedar: Make use of IP address reported by NAT-T server for UDP acceleration 2021-04-14 19:49:30 +02:00
Connection.h Include headers properly 2021-04-05 04:48:25 +02:00
Console.c Include headers properly 2021-04-05 04:48:25 +02:00
Console.h Include headers properly 2021-04-05 04:48:25 +02:00
Database.c Include headers properly 2021-04-05 04:48:25 +02:00
Database.h Include headers properly 2021-04-05 04:48:25 +02:00
DDNS.c Include headers properly 2021-04-05 04:48:25 +02:00
DDNS.h Include headers properly 2021-04-05 04:48:25 +02:00
EM.c Change IP structure so that IPv4 addresses are stored in RFC3493 format 2021-04-07 21:24:55 +02:00
EM.h Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
EMInner.h Include headers properly 2021-04-05 04:48:25 +02:00
EtherLog.c Include headers properly 2021-04-05 04:48:25 +02:00
EtherLog.h Include headers properly 2021-04-05 04:48:25 +02:00
Hub.c Change IP structure so that IPv4 addresses are stored in RFC3493 format 2021-04-07 21:24:55 +02:00
Hub.h Include headers properly 2021-04-05 04:48:25 +02:00
IPC.c Change IP structure so that IPv4 addresses are stored in RFC3493 format 2021-04-07 21:24:55 +02:00
IPC.h Include headers properly 2021-04-05 04:48:25 +02:00
Layer3.c Include headers properly 2021-04-05 04:48:25 +02:00
Layer3.h Include headers properly 2021-04-05 04:48:25 +02:00
Link.c Include headers properly 2021-04-05 04:48:25 +02:00
Link.h Include headers properly 2021-04-05 04:48:25 +02:00
Listener.c Include headers properly 2021-04-05 04:48:25 +02:00
Listener.h Include headers properly 2021-04-05 04:48:25 +02:00
Logging.c Include headers properly 2021-04-05 04:48:25 +02:00
Logging.h Include headers properly 2021-04-05 04:48:25 +02:00
Nat.c Include headers properly 2021-04-05 04:48:25 +02:00
Nat.h Include headers properly 2021-04-05 04:48:25 +02:00
NativeStack.c Change IP structure so that IPv4 addresses are stored in RFC3493 format 2021-04-07 21:24:55 +02:00
NativeStack.h Include headers properly 2021-04-05 04:48:25 +02:00
netcfgn.h v4.03-9408-rtm 2014-01-04 22:00:08 +09:00
netcfgx.h v4.03-9408-rtm 2014-01-04 22:00:08 +09:00
NM.c Include headers properly 2021-04-05 04:48:25 +02:00
NM.h Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
NMInner.h Include headers properly 2021-04-05 04:48:25 +02:00
NullLan.c Include headers properly 2021-04-05 04:48:25 +02:00
NullLan.h Include headers properly 2021-04-05 04:48:25 +02:00
Proto_EtherIP.c Include headers properly 2021-04-05 04:48:25 +02:00
Proto_EtherIP.h Include headers properly 2021-04-05 04:48:25 +02:00
Proto_IKE.c Change IP structure so that IPv4 addresses are stored in RFC3493 format 2021-04-07 21:24:55 +02:00
Proto_IKE.h Include headers properly 2021-04-05 04:48:25 +02:00
Proto_IkePacket.c Change IP structure so that IPv4 addresses are stored in RFC3493 format 2021-04-07 21:24:55 +02:00
Proto_IkePacket.h Include headers properly 2021-04-05 04:48:25 +02:00
Proto_IPsec.c Include headers properly 2021-04-05 04:48:25 +02:00
Proto_IPsec.h Include headers properly 2021-04-05 04:48:25 +02:00
Proto_L2TP.c Include headers properly 2021-04-05 04:48:25 +02:00
Proto_L2TP.h Include headers properly 2021-04-05 04:48:25 +02:00
Proto_OpenVPN.c Change IP structure so that IPv4 addresses are stored in RFC3493 format 2021-04-07 21:24:55 +02:00
Proto_OpenVPN.h Include headers properly 2021-04-05 04:48:25 +02:00
Proto_PPP.c Include headers properly 2021-04-05 04:48:25 +02:00
Proto_PPP.h Include headers properly 2021-04-05 04:48:25 +02:00
Proto_SSTP.c Include headers properly 2021-04-05 04:48:25 +02:00
Proto_SSTP.h Include headers properly 2021-04-05 04:48:25 +02:00
Proto_Win7.c Change IP structure so that IPv4 addresses are stored in RFC3493 format 2021-04-07 21:24:55 +02:00
Proto_Win7.h Include headers properly 2021-04-05 04:48:25 +02:00
Proto_Win7Inner.h Include headers properly 2021-04-05 04:48:25 +02:00
Proto_WireGuard.c Include headers properly 2021-04-05 04:48:25 +02:00
Proto_WireGuard.h Include headers properly 2021-04-05 04:48:25 +02:00
Proto.c Change IP structure so that IPv4 addresses are stored in RFC3493 format 2021-04-07 21:24:55 +02:00
Proto.h Include headers properly 2021-04-05 04:48:25 +02:00
Protocol.c Cedar: Make use of IP address reported by NAT-T server for UDP acceleration 2021-04-14 19:49:30 +02:00
Protocol.h Include headers properly 2021-04-05 04:48:25 +02:00
Radius.c Include headers properly 2021-04-05 04:48:25 +02:00
Radius.h Include headers properly 2021-04-05 04:48:25 +02:00
Remote.c Include headers properly 2021-04-05 04:48:25 +02:00
Remote.h Include headers properly 2021-04-05 04:48:25 +02:00
Sam.c Include headers properly 2021-04-05 04:48:25 +02:00
Sam.h Include headers properly 2021-04-05 04:48:25 +02:00
SecureNAT.c Include headers properly 2021-04-05 04:48:25 +02:00
SecureNAT.h Include headers properly 2021-04-05 04:48:25 +02:00
SeLowUser.c Include headers properly 2021-04-05 04:48:25 +02:00
SeLowUser.h Include headers properly 2021-04-05 04:48:25 +02:00
Server.c Include headers properly 2021-04-05 04:48:25 +02:00
Server.h Include headers properly 2021-04-05 04:48:25 +02:00
Session.c Include headers properly 2021-04-05 04:48:25 +02:00
Session.h Include headers properly 2021-04-05 04:48:25 +02:00
SM.c Change IP structure so that IPv4 addresses are stored in RFC3493 format 2021-04-07 21:24:55 +02:00
SM.h Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
SMInner.h Include headers properly 2021-04-05 04:48:25 +02:00
SW.c Include headers properly 2021-04-05 04:48:25 +02:00
SW.h Include headers properly 2021-04-05 04:48:25 +02:00
SWInner.h Include headers properly 2021-04-05 04:48:25 +02:00
UdpAccel.c Cedar: Make use of IP address reported by NAT-T server for UDP acceleration 2021-04-14 19:49:30 +02:00
UdpAccel.h Cedar: Make use of IP address reported by NAT-T server for UDP acceleration 2021-04-14 19:49:30 +02:00
UT.c Include headers properly 2021-04-05 04:48:25 +02:00
UT.h Include headers properly 2021-04-05 04:48:25 +02:00
Virtual.c Change IP structure so that IPv4 addresses are stored in RFC3493 format 2021-04-07 21:24:55 +02:00
Virtual.h Include headers properly 2021-04-05 04:48:25 +02:00
VLan.h Include headers properly 2021-04-05 04:48:25 +02:00
VLanUnix.c Include headers properly 2021-04-05 04:48:25 +02:00
VLanUnix.h Include headers properly 2021-04-05 04:48:25 +02:00
VLanWin32.c Include headers properly 2021-04-05 04:48:25 +02:00
VLanWin32.h Include headers properly 2021-04-05 04:48:25 +02:00
WaterMark.c Include headers properly 2021-04-05 04:48:25 +02:00
WaterMark.h Include headers properly 2021-04-05 04:48:25 +02:00
WebUI.c Include headers properly 2021-04-05 04:48:25 +02:00
WebUI.h Include headers properly 2021-04-05 04:48:25 +02:00
Win32Com.cpp Include headers properly 2021-04-05 04:48:25 +02:00
Win32Com.h Include headers properly 2021-04-05 04:48:25 +02:00
WinJumpList.cpp Include headers properly 2021-04-05 04:48:25 +02:00
WinUi.c Change IP structure so that IPv4 addresses are stored in RFC3493 format 2021-04-07 21:24:55 +02:00
WinUi.h Include headers properly 2021-04-05 04:48:25 +02:00
Wpc.c Include headers properly 2021-04-05 04:48:25 +02:00
Wpc.h Include headers properly 2021-04-05 04:48:25 +02:00