/testing/guestbin/swan-prep --46 road # # confirm that the network is alive road # ping6 -n -c 4 -I 2001:db8:1:3::209 2001:db8:1:2::23 ping: bind icmp socket: Cannot assign requested address road # ip6tables -A INPUT -i eth0 -s 2001:db8:1:2::23 -p ipv6-icmp --icmpv6-type echo-reply -j LOGDROP road # ip6tables -I INPUT -m policy --dir in --pol ipsec -j ACCEPT road # # confirm clear text does not get through road # ping6 -n -c 4 -I 2001:db8:1:3::209 2001:db8:1:2::23 ping: bind icmp socket: Cannot assign requested address road # ipsec start Redirecting to: [initsystem] road # /testing/pluto/bin/wait-until-pluto-started road # ipsec auto --add v6-transport 002 added connection description "v6-transport" road # ipsec auto --status |grep v6-transport 000 "v6-transport": 2001:db8:1:3::209<2001:db8:1:3::209>[@road]---2001:db8:1:3::254...2001:db8:1:2::45---2001:db8:1:2::23<2001:db8:1:2::23>[@east]; unrouted; eroute owner: #0 000 "v6-transport": unoriented; my_ip=unset; their_ip=unset; my_updown=ipsec _updown; 000 "v6-transport": xauth us:none, xauth them:none, my_username=[any]; their_username=[any] 000 "v6-transport": our auth:rsasig, their auth:rsasig 000 "v6-transport": modecfg info: us:none, them:none, modecfg policy:push, dns:unset, domains:unset, banner:unset, cat:unset; 000 "v6-transport": labeled_ipsec:no; 000 "v6-transport": policy_label:unset; 000 "v6-transport": ike_life: 3600s; ipsec_life: 28800s; replay_window: 32; rekey_margin: 540s; rekey_fuzz: 100%; keyingtries: 0; 000 "v6-transport": retransmit-interval: 9999ms; retransmit-timeout: 99s; 000 "v6-transport": initial-contact:no; cisco-unity:no; fake-strongswan:no; send-vendorid:no; send-no-esp-tfc:no; 000 "v6-transport": policy: RSASIG+ENCRYPT+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO; 000 "v6-transport": conn_prio: 128,128; interface: ; metric: 0; mtu: unset; sa_prio:auto; sa_tfc:none; 000 "v6-transport": nflog-group: unset; mark: unset; vti-iface:unset; vti-routing:no; vti-shared:no; nic-offload:auto; 000 "v6-transport": our idtype: ID_FQDN; our id=@road; their idtype: ID_FQDN; their id=@east 000 "v6-transport": dpd: action:hold; delay:0; timeout:0; nat-t: encaps:auto; nat_keepalive:yes; ikev1_natt:both 000 "v6-transport": newest ISAKMP SA: #0; newest IPsec SA: #0; road # echo "initdone" initdone road # ipsec auto --up v6-transport 022 "v6-transport": We cannot identify ourselves with either end of this connection. 2001:db8:1:3::209 or 2001:db8:1:2::23 are not usable 036 failed to initiate v6-transport road # ping6 -n -c 4 -I 2001:db8:1:3::209 2001:db8:1:2::23 ping: bind icmp socket: Cannot assign requested address road # echo done done road # ../../pluto/bin/ipsec-look.sh road NOW XFRM state: XFRM policy: src ::/0 dst ::/0 proto ipv6-icmp type 135 dir fwd priority 1 ptype main src ::/0 dst ::/0 proto ipv6-icmp type 135 dir in priority 1 ptype main src ::/0 dst ::/0 proto ipv6-icmp type 135 dir out priority 1 ptype main src ::/0 dst ::/0 proto ipv6-icmp type 136 dir fwd priority 1 ptype main src ::/0 dst ::/0 proto ipv6-icmp type 136 dir in priority 1 ptype main src ::/0 dst ::/0 proto ipv6-icmp type 136 dir out priority 1 ptype main XFRM done IPSEC mangle TABLES NEW_IPSEC_CONN mangle TABLES ROUTING TABLES default via 192.1.3.254 dev eth0 192.1.3.0/24 dev eth0 proto kernel scope link src 192.1.3.209 fe80::/64 dev eth0 proto kernel metric 256 NSS_CERTIFICATES Certificate Nickname Trust Attributes SSL,S/MIME,JAR/XPI road # road # ../bin/check-for-core.sh road # if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi