Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Side by Side Diff: server/site_tests/network_VPN/055StrongSwanBadPSK

Issue 6765030: Add automated StrongSwan test (Closed) Base URL: ssh://gitrw.chromium.org:9222/autotest.git@master
Patch Set: After fixing all merge issues from Paul Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 # Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4 #
5 # StrongSwan VPN, with bad PSK credentials.
6 #
7
8 { "name" : "VPNStrongSwanBadPSK",
9 "steps":[
10 # Create WiFi connection from Client to Router.
11 [ "create", { "type" : "hostap" } ],
12 [ "config", { "channel" : "2412", "mode" : "11b" } ],
13 [ "connect", { "security" : "none" } ],
14
15 [ "vpn_server_config", {
16 "kind" : "l2tpipsec",
17 "replacements" : { "@plutodebug@" : "all" }}],
18
19 # Launch the VPN Client.
20 [ "!vpn_client_config", { "kind" : "l2tpipsec-psk",
21 "password" : "paxxword", # ipsec.secrets
22 "chapuser" : "chapuxer", # chap-secrets
23 "chapsecret" : "chapxecret" # chap-secrets
24 }],
25
26 # Verify the client is connected to the server
27 [ "!client_ping", { "ping_ip" : "192.168.1.99", # In xl2tpd.conf.
28 "count" : "10" } ],
29
30 [ "vpn_client_kill" ], # Shut down the VPN Client.
31 [ "vpn_server_kill" ], # Shut down the VPN Server.
32 [ "disconnect" ], # Disconnect WiFi setup
33 ],
34 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698