DescriptionVPN: Test to set up & validate a Client connection to the Server
Details
This changeset creates an autotest suite 'network_VPN' and a single
test which sets up and validates that a VPN connection can be
created from the Client (DUT) to the Server (rspro).
The steps of the test are described in '000VPNGenesis'.
The steps to manage the WiFi connection are copied from another
test.
Testing
I'm using 'cell 1' in the chromelab. The rspro router is running a
firmware with openvpn compiled in.
You must have the following 53d0a92e9b0b37daebc795cc1ea4684d1c0dffd8
from chromeos/master to have the necessary configuration changes to
the openwrt repository. You must then build the 'rspro' variant and
upgrade your router with the new firmware to be able to run this
test.
Executed the test with the following command in my chroot:
./bin/cros_run_wifi_tests.sh --cell 1 --lab chromelab VPN
This ultimately produces:
network_VPN PASS
network_VPN/network_VPN.000VPNGenesis PASS
client_ping_avg 2.580
client_ping_frequency 2412
client_ping_loss 0
client_ping_max 4.216
client_ping_min 2.167
client_ping_phymode 802.11g
client_ping_recv 10
client_ping_security 802_1x
client_ping_xmit 10
connect_acquire_s 4.527
connect_assoc_s 0.311
connect_config_s 0.395
connect_frequency 2412
connect_select_s 0.010
-------------------------------------------
Total PASS: 2/2 (100%)
Change-Id: I69e2e9a5680a8ae2db7e27e61ed96592ad460a55
VPN connectivity through the DUT to the server works
Change-Id: Ifaeff9a39668805a19778c6be3e22d96fdf995e8
This change adds 'Diffie-Hellman 1024' to the set of available certificates. This is part of the OpenVPN-on-rspro effort.
Change-Id: Ief3b7872ffd3f6ea554875864f681b22e5437554
BUG=12882
TEST=
Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=9963dc1
Patch Set 1 #Patch Set 2 : Filled in missing block comments about the nature of this test. #
Total comments: 3
Patch Set 3 : Generalize vpn_xxx() to allow easy extension for different VPN types #Patch Set 4 : Addressed naming discrepency in comments. #Patch Set 5 : Removed superfluous whitespace & addressed too-long line. #Patch Set 6 : Invoking configuration now kills & restarts client/server. #Patch Set 7 : Some cleanup & logistical fixes. #Patch Set 8 : Made client & server code more similar. Updated failure tests #
Total comments: 2
Patch Set 9 : Removed hardcoded IP from client config & address inefficient code #Patch Set 10 : Fix headers, even though the copyright year regex is wrong #Patch Set 11 : Fix headers, even though the copyright year regex is wrong #
Messages
Total messages: 6 (0 generated)
|