whackwest --name ipsec-oppo-west --delete --rsa --pfs --host 127.95.7.1 --ikeport 8500 --nexthop 127.95.7.254 --updown silly --to --updown sally --host %opportunistic --ikeport 8500 --encrypt --rekeymargin 350 --ikelifetime 900 --ipseclifetime 800 --keyingtries 2
002 added connection description "ipsec-oppo-west"
whackeast --name ipsec-oppo-east --delete --rsa --pfs --host %opportunistic --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 "ipsec-oppo-east"
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"
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"
whackwest --route --name ipsec-oppo-west
whackwest --oppohere 127.95.7.1 --oppothere 127.95.7.2
002 "ipsec-oppo-west"[1] ...127.95.7.2 #1: initiating Main Mode
104 "ipsec-oppo-west"[1] ...127.95.7.2 #1: STATE_MAIN_I1: initiate
106 "ipsec-oppo-west"[1] ...127.95.7.2 #1: STATE_MAIN_I2: sent MI2, expecting MR2
108 "ipsec-oppo-west"[1] ...127.95.7.2 #1: STATE_MAIN_I3: sent MI3, expecting MR3
002 "ipsec-oppo-west"[1] ...127.95.7.2 #1: ISAKMP SA established
004 "ipsec-oppo-west"[1] ...127.95.7.2 #1: STATE_MAIN_I4: ISAKMP SA established
002 "ipsec-oppo-west"[1] ...127.95.7.2 #2: initiating Quick Mode RSASIG+ENCRYPT+PFS+OPPORTUNISTIC
112 "ipsec-oppo-west"[1] ...127.95.7.2 #2: STATE_QUICK_I1: initiate
002 "ipsec-oppo-west"[1] ...127.95.7.2 #2: sent QI2, IPsec SA established
004 "ipsec-oppo-west"[1] ...127.95.7.2 #2: STATE_QUICK_I2: sent QI2, IPsec SA established
whackwest --oppohere 127.95.7.1 --oppothere 127.95.7.2
002 "ipsec-oppo-west"[1] ...127.95.7.2 #3: initiating Quick Mode RSASIG+ENCRYPT+PFS+OPPORTUNISTIC
112 "ipsec-oppo-west"[1] ...127.95.7.2 #3: STATE_QUICK_I1: initiate
002 "ipsec-oppo-west"[1] ...127.95.7.2 #3: sent QI2, IPsec SA established
004 "ipsec-oppo-west"[1] ...127.95.7.2 #3: STATE_QUICK_I2: sent QI2, IPsec SA established
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 "ipsec-oppo-west": 127.95.7.1:8500---127.95.7.254...%opportunistic:8500; prospective erouted; eroute owner: #0
000 "ipsec-oppo-west":   ike_life: 900s; ipsec_life: 800s; rekey_margin: 350s; rekey_fuzz: 100%; keyingtries: 2
000 "ipsec-oppo-west":   policy: RSASIG+ENCRYPT+PFS+OPPORTUNISTIC+rKOD; prio: 32,0; interface: lo:w; 
000 "ipsec-oppo-west":   newest ISAKMP SA: #0; newest IPsec SA: #0; 
000 "ipsec-oppo-west"[1]: 127.95.7.1:8500---127.95.7.254...127.95.7.2:8500; erouted; eroute owner: #3
000 "ipsec-oppo-west"[1]:   ike_life: 900s; ipsec_life: 800s; rekey_margin: 350s; rekey_fuzz: 100%; keyingtries: 2
000 "ipsec-oppo-west"[1]:   policy: RSASIG+ENCRYPT+PFS+OPPORTUNISTIC+rKOD; prio: 32,0; interface: lo:w; 
000 "ipsec-oppo-west"[1]:   newest ISAKMP SA: #1; newest IPsec SA: #3; 
000  
000 #3: "ipsec-oppo-west"[1] ...127.95.7.2 STATE_QUICK_I2 (sent QI2, IPsec SA established); EVENT_SA_REPLACE in ???s; newest IPSEC; eroute owner
000 #3: "ipsec-oppo-west"[1] ...127.95.7.2 esp.???@127.95.7.2 esp.???@127.95.7.1 tun.1004@127.95.7.2 tun.1003@127.95.7.1
000 #2: "ipsec-oppo-west"[1] ...127.95.7.2 STATE_QUICK_I2 (sent QI2, IPsec SA established); EVENT_SA_REPLACE in ???s
000 #2: "ipsec-oppo-west"[1] ...127.95.7.2 esp.???@127.95.7.2 esp.???@127.95.7.1 tun.1002@127.95.7.2 tun.1001@127.95.7.1
000 #1: "ipsec-oppo-west"[1] ...127.95.7.2 STATE_MAIN_I4 (ISAKMP SA established); EVENT_SA_REPLACE in ???s; newest ISAKMP
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 "ipsec-oppo-east": 127.95.7.2:8500---127.95.7.254...%opportunistic:8500; unrouted; eroute owner: #0
000 "ipsec-oppo-east":   ike_life: 900s; ipsec_life: 800s; rekey_margin: 350s; rekey_fuzz: 100%; keyingtries: 2
000 "ipsec-oppo-east":   policy: RSASIG+ENCRYPT+PFS+OPPORTUNISTIC+rKOD; prio: 32,0; interface: lo:e; 
000 "ipsec-oppo-east":   newest ISAKMP SA: #0; newest IPsec SA: #0; 
000 "ipsec-oppo-east"[1]: 127.95.7.2:8500---127.95.7.254...127.95.7.1:8500===?; unrouted; eroute owner: #0
000 "ipsec-oppo-east"[1]:   ike_life: 900s; ipsec_life: 800s; rekey_margin: 350s; rekey_fuzz: 100%; keyingtries: 2
000 "ipsec-oppo-east"[1]:   policy: RSASIG+ENCRYPT+PFS+OPPORTUNISTIC+rKOD; prio: 32,0; interface: lo:e; 
000 "ipsec-oppo-east"[1]:   newest ISAKMP SA: #1; newest IPsec SA: #0; 
000 "ipsec-oppo-east"[2]: 127.95.7.2:8500---127.95.7.254...127.95.7.1:8500; erouted; eroute owner: #3
000 "ipsec-oppo-east"[2]:   ike_life: 900s; ipsec_life: 800s; rekey_margin: 350s; rekey_fuzz: 100%; keyingtries: 2
000 "ipsec-oppo-east"[2]:   policy: RSASIG+ENCRYPT+PFS+OPPORTUNISTIC+rKOD; prio: 32,0; interface: lo:e; 
000 "ipsec-oppo-east"[2]:   newest ISAKMP SA: #0; newest IPsec SA: #3; 
000  
000 #1: "ipsec-oppo-east"[1] ...127.95.7.1===? STATE_MAIN_R3 (sent MR3, ISAKMP SA established); EVENT_SA_REPLACE in ???s; newest ISAKMP
000 #3: "ipsec-oppo-east"[2] ...127.95.7.1 STATE_QUICK_R2 (IPsec SA established); EVENT_SA_REPLACE in ???s; newest IPSEC; eroute owner
000 #3: "ipsec-oppo-east"[2] ...127.95.7.1 esp.???@127.95.7.1 esp.???@127.95.7.2 tun.1004@127.95.7.1 tun.1003@127.95.7.2
000 #2: "ipsec-oppo-east"[2] ...127.95.7.1 STATE_QUICK_R2 (IPsec SA established); EVENT_SA_REPLACE in ???s
000 #2: "ipsec-oppo-east"[2] ...127.95.7.1 esp.???@127.95.7.1 esp.???@127.95.7.2 tun.1002@127.95.7.1 tun.1001@127.95.7.2
000  
whackwest --shutdown
002 shutting down
whackeast --shutdown
002 shutting down
