Opened 3 years ago

Closed 3 weeks ago

#954 closed TODO (General task list) (worksforme)

Add a 2.3 server to the t_client test setup

Reported by: Steffan Karger Owned by: Gert Döring
Priority: major Milestone: release 2.5
Component: Generic / unclassified Version:
Severity: Not set (select this one, unless your'e a OpenVPN developer) Keywords:
Cc: plaisthos

Description


Change History (1)

comment:1 Changed 3 weeks ago by Gert Döring

Cc: plaisthos added
Milestone: release 2.5
Resolution: worksforme
Status: newclosed

This has been done now - 4 new server stanzas have been added

2.3
2.3 with --enable-small
2.4
2.4 with --ncp-disable

here's the snippets from my t_client.rc (2 tests towards 2.3, one with "my --cipher is the same as the server-OCC cipher" and one "different cipher" - different code paths):

# Test 23: UDP / p2mp tun, 2.3 server
RUN_TITLE_23="udp / p2pm / 2.3 server / cipher == OCC"
OPENVPN_CONF_23="$OPENVPN_BASE_P2MP --dev tun --proto udp --remote $REMOTE --port 51230 --cipher BF-CBC"
PING4_HOSTS_23="10.194.6.1 10.194.0.1"
PING6_HOSTS_23="fd00:abcd:194:6::1 fd00:abcd:194:0::1"

# Test 23a: UDP / p2mp tun, 2.3 server / cipher neg
RUN_TITLE_23a="udp / p2pm / 2.3 server / cipher != OCC"
OPENVPN_CONF_23a="$OPENVPN_BASE_P2MP --dev tun --proto udp --remote $REMOTE --port 51230 --data-ciphers AES-128-GCM:BF-CBC --cipher AES-256-CBC"
EXPECT_IFCONFIG4_23a=$EXPECT_IFCONFIG4_23
EXPECT_IFCONFIG6_23a=$EXPECT_IFCONFIG6_23
PING4_HOSTS_23a="$PING4_HOSTS_23"
PING6_HOSTS_23a="$PING6_HOSTS_23"

# Test 23s: UDP / p2mp tun, 2.3 server with --enable-small
RUN_TITLE_23s="udp / p2pm / 2.3 server / enable-small"
OPENVPN_CONF_23s="$OPENVPN_BASE_P2MP --dev tun --proto udp --remote $REMOTE --port 51231 --data-ciphers AES-128-GCM:BF-CBC --data-ciphers-fallback BF-CBC"
PING4_HOSTS_23s="10.194.6.1 10.194.0.1"
PING6_HOSTS_23s="fd00:abcd:194:6::1 fd00:abcd:194:0::1"

# Test 24: UDP / p2mp tun, 2.4 server
RUN_TITLE_24="udp / p2pm / 2.4 server (old NCP)"
OPENVPN_CONF_24="$OPENVPN_BASE_P2MP --dev tun --proto udp --remote $REMOTE --port 51240"
PING4_HOSTS_24="10.194.6.1 10.194.0.1"
PING6_HOSTS_24="fd00:abcd:194:6::1 fd00:abcd:194:0::1"

# Test 24: UDP / p2mp tun, 2.4 server / NCP disabled
RUN_TITLE_24a="udp / p2pm / 2.4 server / --ncp-disable "
OPENVPN_CONF_24a="$OPENVPN_BASE_P2MP --dev tun --proto udp --remote $REMOTE --port 51241 --data-ciphers AES-256-GCM:AES-128-GCM:BF-CBC"
PING4_HOSTS_24a="10.194.6.1 10.194.0.1"
PING6_HOSTS_24a="fd00:abcd:194:6::1 fd00:abcd:194:0::1"

With that, I can now close this ticket, which I had all forgotten about :-)

Note: See TracTickets for help on using tickets.