whackwest --name opportunity --delete --rsa --pfs --host 127.95.7.1 --ikeport 8500 --nexthop 127.95.7.254 --updown silly --to --updown sally --host %opportunisticgroup --ikeport 8500 --encrypt --rekeymargin 350 --ikelifetime 900 --ipseclifetime 800 --keyingtries 2
002 added connection description "opportunity"
whackwest --name opportunity-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 %opportunisticgroup --ikeport 8500 --encrypt --rekeymargin 350 --ikelifetime 900 --ipseclifetime 800 --keyingtries 2
002 added connection description "opportunity-mine"
whackeast --name opportunity --delete --rsa --pfs --host %opportunisticgroup --ikeport 8500 --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 "opportunity"
whackeast --name opportunity-mine --delete --rsa --pfs --host %opportunisticgroup --ikeport 8500 --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 "opportunity-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 "./ipsec.secrets/west"
002 loading group "./ipsec.d/west/opportunity-mine"
002 loading group "./ipsec.d/west/opportunity"
whackeast --listen
002 listening for IKE messages
002 adding interface virtual127.95.7.2/lo:e 127.95.7.2
002 loading secrets from "./ipsec.secrets/east"
002 loading group "./ipsec.d/east/opportunity-mine"
002 loading group "./ipsec.d/east/opportunity"
whackwest --name opportunity --route
whackeast --name opportunity --route
whackwest --name opportunity-mine --route
whackeast --name opportunity-mine --route
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+private
000  
000 "opportunity": 127.95.7.1:8500---127.95.7.254...%opportunisticgroup:8500; unrouted; eroute owner: #0
000 "opportunity":   ike_life: 900s; ipsec_life: 800s; rekey_margin: 350s; rekey_fuzz: 100%; keyingtries: 2
000 "opportunity":   policy: RSASIG+ENCRYPT+TUNNEL+PFS+OPPORTUNISTIC+GROUP+GROUTED+rKOD; prio: 32,0; interface: lo:w; 
000 "opportunity":   newest ISAKMP SA: #0; newest IPsec SA: #0; 
000 "opportunity#127.0.0.0/8": 127.95.7.1:8500---127.95.7.254...%opportunistic:8500===127.0.0.0/8; prospective erouted; eroute owner: #0
000 "opportunity#127.0.0.0/8":   ike_life: 900s; ipsec_life: 800s; rekey_margin: 350s; rekey_fuzz: 100%; keyingtries: 2
000 "opportunity#127.0.0.0/8":   policy: RSASIG+ENCRYPT+TUNNEL+PFS+OPPORTUNISTIC+rKOD; prio: 32,0; interface: lo:w; 
000 "opportunity#127.0.0.0/8":   newest ISAKMP SA: #0; newest IPsec SA: #0; 
000 "opportunity-mine": 127.95.7.8/30===127.95.7.1:8500---127.95.7.254...%opportunisticgroup:8500; unrouted; eroute owner: #0
000 "opportunity-mine":   ike_life: 900s; ipsec_life: 800s; rekey_margin: 350s; rekey_fuzz: 100%; keyingtries: 2
000 "opportunity-mine":   policy: RSASIG+ENCRYPT+TUNNEL+PFS+OPPORTUNISTIC+GROUP+GROUTED+rKOD; prio: 30,0; interface: lo:w; 
000 "opportunity-mine":   newest ISAKMP SA: #0; newest IPsec SA: #0; 
000 "opportunity-mine#127.0.0.0/8": 127.95.7.8/30===127.95.7.1:8500---127.95.7.254...%opportunistic:8500===127.0.0.0/8; prospective erouted; eroute owner: #0
000 "opportunity-mine#127.0.0.0/8":   ike_life: 900s; ipsec_life: 800s; rekey_margin: 350s; rekey_fuzz: 100%; keyingtries: 2
000 "opportunity-mine#127.0.0.0/8":   policy: RSASIG+ENCRYPT+TUNNEL+PFS+OPPORTUNISTIC+rKOD; prio: 30,0; interface: lo:w; 
000 "opportunity-mine#127.0.0.0/8":   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+private
000  
000 "opportunity": 127.95.7.2:8500---127.95.7.254...%opportunisticgroup:8500; unrouted; eroute owner: #0
000 "opportunity":   ike_life: 900s; ipsec_life: 800s; rekey_margin: 350s; rekey_fuzz: 100%; keyingtries: 2
000 "opportunity":   policy: RSASIG+ENCRYPT+TUNNEL+PFS+OPPORTUNISTIC+GROUP+GROUTED+rKOD; prio: 32,0; interface: lo:e; 
000 "opportunity":   newest ISAKMP SA: #0; newest IPsec SA: #0; 
000 "opportunity#127.0.0.0/8": 127.95.7.2:8500---127.95.7.254...%opportunistic:8500===127.0.0.0/8; prospective erouted; eroute owner: #0
000 "opportunity#127.0.0.0/8":   ike_life: 900s; ipsec_life: 800s; rekey_margin: 350s; rekey_fuzz: 100%; keyingtries: 2
000 "opportunity#127.0.0.0/8":   policy: RSASIG+ENCRYPT+TUNNEL+PFS+OPPORTUNISTIC+rKOD; prio: 32,0; interface: lo:e; 
000 "opportunity#127.0.0.0/8":   newest ISAKMP SA: #0; newest IPsec SA: #0; 
000 "opportunity-mine": 127.95.7.20/30===127.95.7.2:8500---127.95.7.254...%opportunisticgroup:8500; unrouted; eroute owner: #0
000 "opportunity-mine":   ike_life: 900s; ipsec_life: 800s; rekey_margin: 350s; rekey_fuzz: 100%; keyingtries: 2
000 "opportunity-mine":   policy: RSASIG+ENCRYPT+TUNNEL+PFS+OPPORTUNISTIC+GROUP+GROUTED+rKOD; prio: 30,0; interface: lo:e; 
000 "opportunity-mine":   newest ISAKMP SA: #0; newest IPsec SA: #0; 
000 "opportunity-mine#127.0.0.0/8": 127.95.7.20/30===127.95.7.2:8500---127.95.7.254...%opportunistic:8500===127.0.0.0/8; prospective erouted; eroute owner: #0
000 "opportunity-mine#127.0.0.0/8":   ike_life: 900s; ipsec_life: 800s; rekey_margin: 350s; rekey_fuzz: 100%; keyingtries: 2
000 "opportunity-mine#127.0.0.0/8":   policy: RSASIG+ENCRYPT+TUNNEL+PFS+OPPORTUNISTIC+rKOD; prio: 30,0; interface: lo:e; 
000 "opportunity-mine#127.0.0.0/8":   newest ISAKMP SA: #0; newest IPsec SA: #0; 
000  
000  
whackwest --oppohere 127.95.7.1 --oppothere 127.95.7.2
002 "opportunity#127.0.0.0/8"[1] ...127.95.7.2 #1: initiating Main Mode
104 "opportunity#127.0.0.0/8"[1] ...127.95.7.2 #1: STATE_MAIN_I1: initiate
106 "opportunity#127.0.0.0/8"[1] ...127.95.7.2 #1: STATE_MAIN_I2: sent MI2, expecting MR2
108 "opportunity#127.0.0.0/8"[1] ...127.95.7.2 #1: STATE_MAIN_I3: sent MI3, expecting MR3
002 "opportunity#127.0.0.0/8"[1] ...127.95.7.2 #1: ISAKMP SA established
004 "opportunity#127.0.0.0/8"[1] ...127.95.7.2 #1: STATE_MAIN_I4: ISAKMP SA established
002 "opportunity#127.0.0.0/8"[1] ...127.95.7.2 #2: initiating Quick Mode RSASIG+ENCRYPT+TUNNEL+PFS+OPPORTUNISTIC
112 "opportunity#127.0.0.0/8"[1] ...127.95.7.2 #2: STATE_QUICK_I1: initiate
002 "opportunity#127.0.0.0/8"[1] ...127.95.7.2 #2: sent QI2, IPsec SA established
004 "opportunity#127.0.0.0/8"[1] ...127.95.7.2 #2: STATE_QUICK_I2: sent QI2, IPsec SA established
whackwest --oppohere 127.95.7.1 --oppothere 127.95.7.21
002 "opportunity#127.0.0.0/8"[2] ...127.95.7.2===127.95.7.21/32 #3: initiating Quick Mode RSASIG+ENCRYPT+TUNNEL+PFS+OPPORTUNISTIC
112 "opportunity#127.0.0.0/8"[2] ...127.95.7.2===127.95.7.21/32 #3: STATE_QUICK_I1: initiate
002 "opportunity#127.0.0.0/8"[2] ...127.95.7.2===127.95.7.21/32 #3: sent QI2, IPsec SA established
004 "opportunity#127.0.0.0/8"[2] ...127.95.7.2===127.95.7.21/32 #3: STATE_QUICK_I2: sent QI2, IPsec SA established
whackwest --oppohere 127.95.7.11 --oppothere 127.95.7.2
002 "opportunity-mine#127.0.0.0/8"[1] 127.95.7.11/32=== ...127.95.7.2 #4: initiating Quick Mode RSASIG+ENCRYPT+TUNNEL+PFS+OPPORTUNISTIC
112 "opportunity-mine#127.0.0.0/8"[1] 127.95.7.11/32=== ...127.95.7.2 #4: STATE_QUICK_I1: initiate
002 "opportunity-mine#127.0.0.0/8"[1] 127.95.7.11/32=== ...127.95.7.2 #4: sent QI2, IPsec SA established
004 "opportunity-mine#127.0.0.0/8"[1] 127.95.7.11/32=== ...127.95.7.2 #4: STATE_QUICK_I2: sent QI2, IPsec SA established
whackwest --oppohere 127.95.7.10 --oppothere 127.95.7.22
002 "opportunity-mine#127.0.0.0/8"[2] 127.95.7.10/32=== ...127.95.7.2===127.95.7.22/32 #5: initiating Quick Mode RSASIG+ENCRYPT+TUNNEL+PFS+OPPORTUNISTIC
112 "opportunity-mine#127.0.0.0/8"[2] 127.95.7.10/32=== ...127.95.7.2===127.95.7.22/32 #5: STATE_QUICK_I1: initiate
002 "opportunity-mine#127.0.0.0/8"[2] 127.95.7.10/32=== ...127.95.7.2===127.95.7.22/32 #5: sent QI2, IPsec SA established
004 "opportunity-mine#127.0.0.0/8"[2] 127.95.7.10/32=== ...127.95.7.2===127.95.7.22/32 #5: STATE_QUICK_I2: sent QI2, IPsec SA established
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: target's TXT record: no host 23.7.95.127.in-addr.arpa. for TXT record
RC: 33
whackwest --shutdown
002 shutting down
whackeast --shutdown
002 shutting down
