Annotation of embedaddon/strongswan/testing/tests/sql/rw-psk-ipv6/hosts/moon/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::10 */
12: 5 , X'fec00000000000000000000000000010'
13: );
14:
15: INSERT INTO identities (
16: type, data
17: ) VALUES ( /* fec0::20 */
18: 5 , X'fec00000000000000000000000000020'
19: );
20:
21: INSERT INTO identities (
22: type, data
23: ) VALUES ( /* %any */
24: 0, '%any'
25: );
26:
27: /* Shared Secrets */
28:
29: INSERT INTO shared_secrets (
30: type, data
31: ) VALUES (
32: 1, X'16964066a10de938bdb2ab7864fe4459cab1'
33: );
34:
35: INSERT INTO shared_secrets (
36: type, data
37: ) VALUES (
38: 1, X'8d5cce342174da772c8224a59885deaa118d'
39: );
40:
41: INSERT INTO shared_secret_identity (
42: shared_secret, identity
43: ) VALUES (
44: 1, 1
45: );
46:
47: INSERT INTO shared_secret_identity (
48: shared_secret, identity
49: ) VALUES (
50: 1, 2
51: );
52:
53: INSERT INTO shared_secret_identity (
54: shared_secret, identity
55: ) VALUES (
56: 2, 1
57: );
58:
59: INSERT INTO shared_secret_identity (
60: shared_secret, identity
61: ) VALUES (
62: 2, 3
63: );
64:
65: /* Configurations */
66:
67: INSERT INTO ike_configs (
68: local, remote
69: ) VALUES (
70: 'PH_IP6_MOON', '0::0'
71: );
72:
73: INSERT INTO peer_configs (
74: name, ike_cfg, local_id, remote_id, auth_method
75: ) VALUES (
76: 'rw', 1, 1, 4, 2
77: );
78:
79: INSERT INTO child_configs (
80: name, updown
81: ) VALUES (
82: 'rw', '/usr/local/libexec/ipsec/_updown iptables'
83: );
84:
85: INSERT INTO peer_config_child_config (
86: peer_cfg, child_cfg
87: ) VALUES (
88: 1, 1
89: );
90:
91: INSERT INTO traffic_selectors (
92: type, start_addr, end_addr
93: ) VALUES ( /* fec1::/16 */
94: 8, X'fec10000000000000000000000000000', X'fec1ffffffffffffffffffffffffffff'
95: );
96:
97: INSERT INTO traffic_selectors (
98: type
99: ) VALUES ( /* dynamic/128 */
100: 8
101: );
102:
103: INSERT INTO child_config_traffic_selector (
104: child_cfg, traffic_selector, kind
105: ) VALUES (
106: 1, 1, 0
107: );
108:
109: INSERT INTO child_config_traffic_selector (
110: child_cfg, traffic_selector, kind
111: ) VALUES (
112: 1, 2, 3
113: );
114:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>