| Index: server/site_tests/network_VPN/055IPSecBadPSK
|
| diff --git a/server/site_tests/network_VPN/055IPSecBadPSK b/server/site_tests/network_VPN/055IPSecBadPSK
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c6f16b61e7e4e1c030cbc8eb587a0799f6b040d6
|
| --- /dev/null
|
| +++ b/server/site_tests/network_VPN/055IPSecBadPSK
|
| @@ -0,0 +1,34 @@
|
| +# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
|
| +# Use of this source code is governed by a BSD-style license that can be
|
| +# found in the LICENSE file.
|
| +#
|
| +# IPSec VPN, with bad PSK credentials.
|
| +#
|
| +
|
| +{ "name" : "VPNIPSecBadPSK",
|
| + "steps":[
|
| + # Create WiFi connection from Client to Router.
|
| + [ "create", { "type" : "hostap" } ],
|
| + [ "config", { "channel" : "2412", "mode" : "11b" } ],
|
| + [ "connect", { "security" : "none" } ],
|
| +
|
| + [ "vpn_server_config", {
|
| + "kind" : "l2tpipsec",
|
| + "replacements" : { "@plutodebug@" : "all" }}],
|
| +
|
| + # Launch the VPN Client.
|
| + [ "!vpn_client_config", { "kind" : "l2tpipsec-psk",
|
| + "password" : "paxxword", # ipsec.secrets
|
| + "chapuser" : "chapuxer", # chap-secrets
|
| + "chapsecret" : "chapxecret" # chap-secrets
|
| + }],
|
| +
|
| + # Verify the client is connected to the server
|
| + [ "!client_ping", { "ping_ip" : "192.168.1.99", # In xl2tpd.conf.
|
| + "count" : "10" } ],
|
| +
|
| + [ "vpn_client_kill" ], # Shut down the VPN Client.
|
| + [ "vpn_server_kill" ], # Shut down the VPN Server.
|
| + [ "disconnect" ], # Disconnect WiFi setup
|
| + ],
|
| +}
|
|
|