5 echo [STEP] Initialize two nodes
12 set ExperimentalProtocol no
19 set ExperimentalProtocol no
22 create_script foo hosts/bar-up
23 create_script bar hosts/foo-up
25 echo [STEP] Exchange configuration
27 tinc foo export | tinc bar exchange | tinc foo import
28 tinc bar add ConnectTo foo
31 echo [STEP] Test various ciphers and digests
33 # The full suite results in a large test matrix and it takes a lot of time to run.
34 # The list was reduced to the strongest available algorithms (and "none").
35 digests="none sha256 sha512"
36 ciphers="none aes-256-cbc camellia-256-cbc"
38 for digest in $digests; do
39 for cipher in $ciphers; do
40 echo "Testing $cipher $digest"
48 wait_script foo hosts/bar-up
49 wait_script bar hosts/foo-up
51 tinc foo info bar | grep reachable