Annotation of embedaddon/strongswan/testing/tests/sql/rw-psk-ipv6/hosts/dave/etc/ipsec.d/data.sql.in, revision 1.1.1.1
1.1 misho 1: /* Identities */
2:
3: INSERT INTO identities (
4: type, data
5: ) VALUES ( /* fec0::1 */
6: 5 , X'fec00000000000000000000000000001'
7: );
8:
9: INSERT INTO identities (
10: type, data
11: ) VALUES ( /* fec0::20 */
12: 5 , X'fec00000000000000000000000000020'
13: );
14:
15: /* Shared Secrets */
16:
17: INSERT INTO shared_secrets (
18: type, data
19: ) VALUES (
20: 1, X'8d5cce342174da772c8224a59885deaa118d'
21: );
22:
23: INSERT INTO shared_secret_identity (
24: shared_secret, identity
25: ) VALUES (
26: 1, 1
27: );
28:
29: INSERT INTO shared_secret_identity (
30: shared_secret, identity
31: ) VALUES (
32: 1, 2
33: );
34:
35: /* Configurations */
36:
37: INSERT INTO ike_configs (
38: local, remote
39: ) VALUES (
40: 'PH_IP6_DAVE', 'PH_IP6_MOON'
41: );
42:
43: INSERT INTO peer_configs (
44: name, ike_cfg, local_id, remote_id, auth_method
45: ) VALUES (
46: 'home', 1, 2, 1, 2
47: );
48:
49: INSERT INTO child_configs (
50: name, updown
51: ) VALUES (
52: 'home', '/usr/local/libexec/ipsec/_updown iptables'
53: );
54:
55: INSERT INTO peer_config_child_config (
56: peer_cfg, child_cfg
57: ) VALUES (
58: 1, 1
59: );
60:
61: INSERT INTO traffic_selectors (
62: type, start_addr, end_addr
63: ) VALUES ( /* fec1::/16 */
64: 8, X'fec10000000000000000000000000000', X'fec1ffffffffffffffffffffffffffff'
65: );
66:
67: INSERT INTO traffic_selectors (
68: type
69: ) VALUES ( /* dynamic/128 */
70: 8
71: );
72:
73: INSERT INTO child_config_traffic_selector (
74: child_cfg, traffic_selector, kind
75: ) VALUES (
76: 1, 1, 1
77: );
78:
79: INSERT INTO child_config_traffic_selector (
80: child_cfg, traffic_selector, kind
81: ) VALUES (
82: 1, 2, 2
83: );
84:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>