whackwest --name ipsec-oppo-me --delete --rsa --pfs --host 127.95.7.1 --ikeport 8500 --nexthop 127.95.7.254 --updown silly --to --updown sally --host %opportunistic --ikeport 8500 --client 10.0.0.0/8 --encrypt --rekeymargin 350 --ikelifetime 900 --ipseclifetime 800 --keyingtries 2
002 added connection description "ipsec-oppo-me"
whackwest --name ipsec-oppo-mine --delete --rsa --pfs --host 127.95.7.1 --ikeport 8500 --client 127.95.7.8/30 --nexthop 127.95.7.254 --updown silly --to --updown sally --host %opportunistic --ikeport 8500 --client 10.0.0.0/8 --encrypt --rekeymargin 350 --ikelifetime 900 --ipseclifetime 800 --keyingtries 2
002 added connection description "ipsec-oppo-mine"
whackeast --name ipsec-oppo-me --delete --rsa --pfs --host %opportunistic --ikeport 8500 --client 10.0.0.0/8 --updown silly --to --updown sally --host 127.95.7.2 --ikeport 8500 --nexthop 127.95.7.254 --encrypt --rekeymargin 350 --ikelifetime 900 --ipseclifetime 800 --keyingtries 2
002 added connection description "ipsec-oppo-me"
whackeast --name ipsec-oppo-mine --delete --rsa --pfs --host %opportunistic --ikeport 8500 --client 10.0.0.0/8 --updown silly --to --updown sally --host 127.95.7.2 --ikeport 8500 --client 127.95.7.20/30 --nexthop 127.95.7.254 --encrypt --rekeymargin 350 --ikelifetime 900 --ipseclifetime 800 --keyingtries 2
002 added connection description "ipsec-oppo-mine"
whackwest --listen
002 listening for IKE messages
002 adding interface virtual127.95.7.1/lo:w 127.95.7.1
002 loading secrets from "/tmp/ipsec.secrets/west"
whackeast --listen
002 listening for IKE messages
002 adding interface virtual127.95.7.2/lo:e 127.95.7.2
002 loading secrets from "/tmp/ipsec.secrets/east"
whackwest --route --name ipsec-oppo-me
whackwest --route --name ipsec-oppo-mine
whackwest --status
000 interface virtual127.95.7.1/lo:w 127.95.7.1
000 %myid = (none)
000 debug raw+crypt+parsing+emitting+control+lifecycle+klips+dns+oppo+controlmore+pfkey+nattraversal+x509+private
000  
000  
000 algorithm IKE encrypt: id=7, name=OAKLEY_AES_CBC, blocksize=16, keydeflen=128
000 algorithm IKE encrypt: id=5, name=OAKLEY_3DES_CBC, blocksize=8, keydeflen=192
000 algorithm IKE hash: id=2, name=OAKLEY_SHA, hashsize=20
000 algorithm IKE hash: id=1, name=OAKLEY_MD5, hashsize=16
000 algorithm IKE dh group: id=2, name=OAKLEY_GROUP_MODP1024, bits=1024
000 algorithm IKE dh group: id=5, name=OAKLEY_GROUP_MODP1536, bits=1536
000 algorithm IKE dh group: id=14, name=OAKLEY_GROUP_MODP2048, bits=2048
000 algorithm IKE dh group: id=15, name=OAKLEY_GROUP_MODP3072, bits=3072
000 algorithm IKE dh group: id=16, name=OAKLEY_GROUP_MODP4096, bits=4096
000 algorithm IKE dh group: id=17, name=OAKLEY_GROUP_MODP6144, bits=6144
000 algorithm IKE dh group: id=18, name=OAKLEY_GROUP_MODP8192, bits=8192
000  
000  
000 "ipsec-oppo-me": 127.95.7.1:8500[S?C]---127.95.7.254...%opportunistic:8500[S?C]===10.0.0.0/8; prospective erouted; eroute owner: #0
000 "ipsec-oppo-me":   ike_life: 900s; ipsec_life: 800s; rekey_margin: 350s; rekey_fuzz: 100%; keyingtries: 2
000 "ipsec-oppo-me":   policy: RSASIG+ENCRYPT+TUNNEL+PFS+OPPORTUNISTIC+rKOD; prio: 32,8; interface: lo:w; 
000 "ipsec-oppo-me":   newest ISAKMP SA: #0; newest IPsec SA: #0; 
000 "ipsec-oppo-mine": 127.95.7.8/30===127.95.7.1:8500[S?C]---127.95.7.254...%opportunistic:8500[S?C]===10.0.0.0/8; prospective erouted; eroute owner: #0
000 "ipsec-oppo-mine":   ike_life: 900s; ipsec_life: 800s; rekey_margin: 350s; rekey_fuzz: 100%; keyingtries: 2
000 "ipsec-oppo-mine":   policy: RSASIG+ENCRYPT+TUNNEL+PFS+OPPORTUNISTIC+rKOD; prio: 30,8; interface: lo:w; 
000 "ipsec-oppo-mine":   newest ISAKMP SA: #0; newest IPsec SA: #0; 
000  
000  
whackeast --status
000 interface virtual127.95.7.2/lo:e 127.95.7.2
000 %myid = (none)
000 debug raw+crypt+parsing+emitting+control+lifecycle+klips+dns+oppo+controlmore+pfkey+nattraversal+x509+private
000  
000  
000 algorithm IKE encrypt: id=7, name=OAKLEY_AES_CBC, blocksize=16, keydeflen=128
000 algorithm IKE encrypt: id=5, name=OAKLEY_3DES_CBC, blocksize=8, keydeflen=192
000 algorithm IKE hash: id=2, name=OAKLEY_SHA, hashsize=20
000 algorithm IKE hash: id=1, name=OAKLEY_MD5, hashsize=16
000 algorithm IKE dh group: id=2, name=OAKLEY_GROUP_MODP1024, bits=1024
000 algorithm IKE dh group: id=5, name=OAKLEY_GROUP_MODP1536, bits=1536
000 algorithm IKE dh group: id=14, name=OAKLEY_GROUP_MODP2048, bits=2048
000 algorithm IKE dh group: id=15, name=OAKLEY_GROUP_MODP3072, bits=3072
000 algorithm IKE dh group: id=16, name=OAKLEY_GROUP_MODP4096, bits=4096
000 algorithm IKE dh group: id=17, name=OAKLEY_GROUP_MODP6144, bits=6144
000 algorithm IKE dh group: id=18, name=OAKLEY_GROUP_MODP8192, bits=8192
000  
000  
000 "ipsec-oppo-me": 127.95.7.2:8500[S?C]---127.95.7.254...%opportunistic:8500[S?C]===10.0.0.0/8; unrouted; eroute owner: #0
000 "ipsec-oppo-me":   ike_life: 900s; ipsec_life: 800s; rekey_margin: 350s; rekey_fuzz: 100%; keyingtries: 2
000 "ipsec-oppo-me":   policy: RSASIG+ENCRYPT+TUNNEL+PFS+OPPORTUNISTIC+rKOD; prio: 32,8; interface: lo:e; 
000 "ipsec-oppo-me":   newest ISAKMP SA: #0; newest IPsec SA: #0; 
000 "ipsec-oppo-mine": 127.95.7.20/30===127.95.7.2:8500[S?C]---127.95.7.254...%opportunistic:8500[S?C]===10.0.0.0/8; unrouted; eroute owner: #0
000 "ipsec-oppo-mine":   ike_life: 900s; ipsec_life: 800s; rekey_margin: 350s; rekey_fuzz: 100%; keyingtries: 2
000 "ipsec-oppo-mine":   policy: RSASIG+ENCRYPT+TUNNEL+PFS+OPPORTUNISTIC+rKOD; prio: 30,8; interface: lo:e; 
000 "ipsec-oppo-mine":   newest ISAKMP SA: #0; newest IPsec SA: #0; 
000  
000  
whackwest --oppohere 127.95.7.1 --oppothere 127.95.7.2
033 Can't Opportunistically initiate for 127.95.7.1 to 127.95.7.2: no routed Opportunistic template covers this pair
RC: 33
whackwest --oppohere 127.95.7.1 --oppothere 127.95.7.21
033 Can't Opportunistically initiate for 127.95.7.1 to 127.95.7.21: no routed Opportunistic template covers this pair
RC: 33
whackwest --oppohere 127.95.7.11 --oppothere 127.95.7.2
033 Can't Opportunistically initiate for 127.95.7.11 to 127.95.7.2: no routed Opportunistic template covers this pair
RC: 33
whackwest --oppohere 127.95.7.10 --oppothere 127.95.7.22
033 Can't Opportunistically initiate for 127.95.7.10 to 127.95.7.22: no routed Opportunistic template covers this pair
RC: 33
whackwest --oppohere 127.95.7.22 --oppothere 127.95.7.10
033 Can't Opportunistically initiate for 127.95.7.22 to 127.95.7.10: no routed Opportunistic template covers this pair
RC: 33
whackwest --oppohere 127.95.7.10 --oppothere 127.95.7.23
033 Can't Opportunistically initiate for 127.95.7.10 to 127.95.7.23: no routed Opportunistic template covers this pair
RC: 33
whackwest --shutdown
002 shutting down
whackeast --shutdown
002 shutting down
