Testing LibAliasOut functionality. This concentrates the typical use case of initiating data transfers from the inside.
Provide a exhaustive test for the data structure in order to check for performance improvements
Differential D30335
test/libalias: Tests for outgoing NAT donner on May 18 2021, 2:54 PM. Authored by Tags None Referenced Files
Details
Testing LibAliasOut functionality. This concentrates the typical use case of initiating data transfers from the inside. Provide a exhaustive test for the data structure in order to check for performance improvements $ `make test` 2_natout:1_simplemasq -> passed [0.003s] 2_natout:2_unregistered -> passed [0.003s] 2_natout:3_cgn -> passed [0.003s] 2_natout:4_udp -> passed [0.003s] 2_natout:5_sameport -> passed [0.003s] 2_natout:7_stress -> passed [11.192s]
Diff Detail
Event TimelineComment Actions
Comment Actions I'm far from finished with this. Comment Actions Big part of my use cases is port forwarding into DMZ, both TCP and UDP, with multiple (2000+) streams to same forward. (it is M4 source, so SKYNET_NAT, SKYNET_IP and DMZ_HOST are macros which expand to simple IPv4 addresses). nat SKYNET_NAT config ip SKYNET_IP same_ports redirect_port tcp DMZ_HOST:1688116881 redirect_port udp DMZ_HOST:1688116881 redirect_port tcp TORRENT_BOX4:18080 18080 These redirects process A LOT of traffic in MULTIPLE streams. |