Hi,
I have a problem with setting L2TP IPSec. I searched all the threads on the forum and no luck..
I have OVPN setting for site-2-site connection (this one works). I want to connect my windows machine as well as iphone via L2TP IPSec. Unfortunatelly I failed so far.
Here is my config.
[admin@MikroTik] > /export hide-sensitive
# apr/22/2018 08:37:08 by RouterOS 6.38.7
# software id = M7Y4-4C74
#
/interface ethernet
set [ find default-name=ether1 ] name=Internet
set [ find default-name=ether2 ] name=ether2-master
set [ find default-name=ether3 ] master-port=ether2-master
set [ find default-name=ether4 ] master-port=ether2-master
set [ find default-name=ether5 ] master-port=ether2-master
/interface pppoe-client
add add-default-route=yes disabled=no interface=Internet name=pppoe-out1 use-peer-dns=yes user=xxxx
/ip neighbor discovery
set Internet discover=no
/ip hotspot profile
set [ find default=yes ] html-directory=flash/hotspot
/ip ipsec proposal
set [ find default=yes ] enc-algorithms=aes-256-cbc,aes-192-cbc,aes-128-cbc,3des lifetime=1d pfs-group=none
/ip pool
add name=dhcp ranges=192.168.200.180-192.168.200.200
add name=vpn-pool ranges=192.168.220.50-192.168.220.100
add name=static-pool ranges=192.168.200.2-192.168.200.30
add name=ovpn-pool ranges=192.168.211.2-192.168.211.254
/ip dhcp-server
add address-pool=dhcp disabled=no interface=ether2-master lease-time=20h10m name=defconf
/ppp profile
add local-address=192.168.211.1 name=ovpn-profile remote-address=ovpn-pool use-encryption=required
add change-tcp-mss=yes dns-server=8.8.8.8 local-address=192.168.220.1 name=vpn-pool remote-address=vpn-pool session-timeout=0s use-encryption=yes
/interface l2tp-server server
set authentication=chap,mschap2 default-profile=vpn-pool enabled=yes
/interface ovpn-server server
set certificate=ca default-profile=ovpn-profile enabled=yes require-client-certificate=yes
/interface pptp-server server
set enabled=yes
/interface sstp-server server
set default-profile=default-encryption enabled=yes
/ip address
add address=192.168.200.1/24 interface=ether2-master network=192.168.200.0
/ip cloud
set ddns-enabled=yes
/ip dhcp-client
add comment=defconf dhcp-options=hostname,clientid interface=Internet
/ip dhcp-server lease
add address=192.168.200.200 client-id=1:b8:27:eb:b:85:a4 mac-address=B8:27:EB:0B:85:A4 server=defconf
/ip dhcp-server network
add address=192.168.200.0/24 comment=defconf gateway=192.168.200.1 netmask=24
/ip dns
set allow-remote-requests=yes
/ip dns static
add address=192.168.200.1 name=router
/ip firewall filter
add action=fasttrack-connection chain=forward comment="defconf: fasttrack" connection-state=established,related
add action=accept chain=forward comment="defconf: accept established,related" connection-state=established,related
add action=accept chain=input comment=OpenVPN dst-port=1194 protocol=tcp
add action=accept chain=input protocol=icmp
add action=accept chain=input connection-state=established
add action=accept chain=input connection-state=related
add chain=input port=1701,500,4500 protocol=udp
add chain=input protocol=ipsec-esp
add action=drop chain=forward comment="defconf: drop all from WAN not DSTNATed" connection-nat-state=!dstnat connection-state=new in-interface=Internet
add action=drop chain=forward comment="defconf: drop invalid" connection-state=invalid
add action=drop chain=input disabled=yes in-interface=pppoe-out1
/ip firewall nat
add action=masquerade chain=srcnat comment="defconf: masquerade" out-interface=pppoe-out1
add action=masquerade chain=srcnat comment="masq. vpn traffic" src-address=192.168.220.0/24
/ip ipsec peer
add address=0.0.0.0/0 enc-algorithm=aes-256,aes-192,aes-128,3des exchange-mode=main-l2tp generate-policy=port-override passive=yes
/ip route
add comment=Wan distance=1 dst-address=192.168.180.0/24 gateway=192.168.211.2
/ip service
set telnet disabled=yes
set ftp address=192.168.200.1/32
/ppp l2tp-secret
add comment=iphone and windows clients
/ppp secret
add local-address=192.168.211.1 name=proxmox profile=ovpn-profile remote-address=192.168.211.2 service=ovpn
add name=pawel profile=vpn-pool service=l2tp
/system clock
set time-zone-name=Europe/Warsaw
/system logging
add topics=ipsec,debug
add topics=l2tp,ppp,info
add topics=l2tp,info
/tool mac-server
set [ find default=yes ] disabled=yes
add interface=ether2-master
/tool mac-server mac-winbox
set [ find default=yes ] disabled=yes
add interface=ether2-master
Here is the log when I try to connect my iPhone. I try to connect from my local network via router public interface (xxx.xxx.xxx.xxx)
[admin@MikroTik] /log> print
08:46:17 ipsec,debug authmethod = pre-shared key:pre-shared key
08:46:17 ipsec,debug dh_group = 1024-bit MODP group:2048-bit MODP group
08:46:17 ipsec,debug Compared: Local:Peer
08:46:17 ipsec,debug (lifetime = 86400:3600)
08:46:17 ipsec,debug (lifebyte = 0:0)
08:46:17 ipsec,debug enctype = AES-CBC:AES-CBC
08:46:17 ipsec,debug (encklen = 192:256)
08:46:17 ipsec,debug hashtype = SHA:4
08:46:17 ipsec,debug authmethod = pre-shared key:pre-shared key
08:46:17 ipsec,debug dh_group = 1024-bit MODP group:2048-bit MODP group
08:46:17 ipsec,debug Compared: Local:Peer
08:46:17 ipsec,debug (lifetime = 86400:3600)
08:46:17 ipsec,debug (lifebyte = 0:0)
08:46:17 ipsec,debug enctype = AES-CBC:AES-CBC
08:46:17 ipsec,debug (encklen = 128:256)
08:46:17 ipsec,debug hashtype = SHA:4
08:46:17 ipsec,debug authmethod = pre-shared key:pre-shared key
08:46:17 ipsec,debug dh_group = 1024-bit MODP group:2048-bit MODP group
08:46:17 ipsec,debug Compared: Local:Peer
08:46:17 ipsec,debug (lifetime = 86400:3600)
08:46:17 ipsec,debug (lifebyte = 0:0)
08:46:17 ipsec,debug enctype = 3DES-CBC:AES-CBC
08:46:17 ipsec,debug (encklen = 0:256)
08:46:17 ipsec,debug hashtype = SHA:4
08:46:17 ipsec,debug authmethod = pre-shared key:pre-shared key
08:46:17 ipsec,debug dh_group = 1024-bit MODP group:2048-bit MODP group
08:46:17 ipsec,debug prop#=1, prot-id=ISAKMP, spi-size=0, #trns=14
08:46:17 ipsec,debug trns#=2, trns-id=IKE
08:46:17 ipsec,debug type=Life Type, flag=0x8000, lorv=seconds
08:46:17 ipsec,debug type=Life Duration, flag=0x8000, lorv=3600
08:46:17 ipsec,debug type=Encryption Algorithm, flag=0x8000, lorv=AES-CBC
08:46:17 ipsec,debug type=Key Length, flag=0x8000, lorv=256
08:46:17 ipsec,debug type=Authentication Method, flag=0x8000, lorv=pre-shared key
08:46:17 ipsec,debug type=Hash Algorithm, flag=0x8000, lorv=SHA
08:46:17 ipsec,debug type=Group Description, flag=0x8000, lorv=2048-bit MODP group
08:46:17 ipsec,debug Compared: Local:Peer
08:46:17 ipsec,debug (lifetime = 86400:3600)
08:46:17 ipsec,debug (lifebyte = 0:0)
08:46:17 ipsec,debug enctype = AES-CBC:AES-CBC
08:46:17 ipsec,debug (encklen = 256:256)
08:46:17 ipsec,debug hashtype = SHA:SHA
08:46:17 ipsec,debug authmethod = pre-shared key:pre-shared key
08:46:17 ipsec,debug dh_group = 1024-bit MODP group:2048-bit MODP group
08:46:17 ipsec,debug Compared: Local:Peer
08:46:17 ipsec,debug (lifetime = 86400:3600)
08:46:17 ipsec,debug (lifebyte = 0:0)
08:46:17 ipsec,debug enctype = AES-CBC:AES-CBC
08:46:17 ipsec,debug (encklen = 192:256)
08:46:17 ipsec,debug hashtype = SHA:SHA
08:46:17 ipsec,debug authmethod = pre-shared key:pre-shared key
08:46:17 ipsec,debug dh_group = 1024-bit MODP group:2048-bit MODP group
08:46:17 ipsec,debug Compared: Local:Peer
08:46:17 ipsec,debug (lifetime = 86400:3600)
08:46:17 ipsec,debug (lifebyte = 0:0)
08:46:17 ipsec,debug enctype = AES-CBC:AES-CBC
08:46:17 ipsec,debug (encklen = 128:256)
08:46:17 ipsec,debug hashtype = SHA:SHA
08:46:17 ipsec,debug authmethod = pre-shared key:pre-shared key
08:46:17 ipsec,debug dh_group = 1024-bit MODP group:2048-bit MODP group
08:46:17 ipsec,debug Compared: Local:Peer
08:46:17 ipsec,debug (lifetime = 86400:3600)
08:46:17 ipsec,debug (lifebyte = 0:0)
08:46:17 ipsec,debug enctype = 3DES-CBC:AES-CBC
08:46:17 ipsec,debug (encklen = 0:256)
08:46:17 ipsec,debug hashtype = SHA:SHA
08:46:17 ipsec,debug authmethod = pre-shared key:pre-shared key
08:46:17 ipsec,debug dh_group = 1024-bit MODP group:2048-bit MODP group
08:46:17 ipsec,debug prop#=1, prot-id=ISAKMP, spi-size=0, #trns=14
08:46:17 ipsec,debug trns#=3, trns-id=IKE
08:46:17 ipsec,debug type=Life Type, flag=0x8000, lorv=seconds
08:46:17 ipsec,debug type=Life Duration, flag=0x8000, lorv=3600
08:46:17 ipsec,debug type=Encryption Algorithm, flag=0x8000, lorv=AES-CBC
08:46:17 ipsec,debug type=Key Length, flag=0x8000, lorv=256
08:46:17 ipsec,debug type=Authentication Method, flag=0x8000, lorv=pre-shared key
08:46:17 ipsec,debug type=Hash Algorithm, flag=0x8000, lorv=MD5
08:46:17 ipsec,debug type=Group Description, flag=0x8000, lorv=2048-bit MODP group
08:46:17 ipsec,debug Compared: Local:Peer
08:46:17 ipsec,debug (lifetime = 86400:3600)
08:46:17 ipsec,debug (lifebyte = 0:0)
08:46:17 ipsec,debug enctype = AES-CBC:AES-CBC
08:46:17 ipsec,debug (encklen = 256:256)
08:46:17 ipsec,debug hashtype = SHA:MD5
08:46:17 ipsec,debug authmethod = pre-shared key:pre-shared key
08:46:17 ipsec,debug dh_group = 1024-bit MODP group:2048-bit MODP group
08:46:17 ipsec,debug Compared: Local:Peer
08:46:17 ipsec,debug (lifetime = 86400:3600)
08:46:17 ipsec,debug (lifebyte = 0:0)
08:46:17 ipsec,debug enctype = AES-CBC:AES-CBC
08:46:17 ipsec,debug (encklen = 192:256)
08:46:17 ipsec,debug hashtype = SHA:MD5
08:46:17 ipsec,debug authmethod = pre-shared key:pre-shared key
08:46:17 ipsec,debug dh_group = 1024-bit MODP group:2048-bit MODP group
08:46:17 ipsec,debug Compared: Local:Peer
08:46:17 ipsec,debug (lifetime = 86400:3600)
08:46:17 ipsec,debug (lifebyte = 0:0)
08:46:17 ipsec,debug enctype = AES-CBC:AES-CBC
08:46:17 ipsec,debug (encklen = 128:256)
08:46:17 ipsec,debug hashtype = SHA:MD5
08:46:17 ipsec,debug authmethod = pre-shared key:pre-shared key
08:46:17 ipsec,debug dh_group = 1024-bit MODP group:2048-bit MODP group
08:46:17 ipsec,debug Compared: Local:Peer
08:46:17 ipsec,debug (lifetime = 86400:3600)
08:46:17 ipsec,debug (lifebyte = 0:0)
08:46:17 ipsec,debug enctype = 3DES-CBC:AES-CBC
08:46:17 ipsec,debug (encklen = 0:256)
08:46:17 ipsec,debug hashtype = SHA:MD5
08:46:17 ipsec,debug authmethod = pre-shared key:pre-shared key
08:46:17 ipsec,debug dh_group = 1024-bit MODP group:2048-bit MODP group
08:46:17 ipsec,debug prop#=1, prot-id=ISAKMP, spi-size=0, #trns=14
08:46:17 ipsec,debug trns#=4, trns-id=IKE
08:46:17 ipsec,debug type=Life Type, flag=0x8000, lorv=seconds
08:46:17 ipsec,debug type=Life Duration, flag=0x8000, lorv=3600
08:46:17 ipsec,debug type=Encryption Algorithm, flag=0x8000, lorv=AES-CBC
08:46:17 ipsec,debug type=Key Length, flag=0x8000, lorv=256
08:46:17 ipsec,debug type=Authentication Method, flag=0x8000, lorv=pre-shared key
08:46:17 ipsec,debug type=Hash Algorithm, flag=0x8000, lorv=6
08:46:17 ipsec,debug type=Group Description, flag=0x8000, lorv=2048-bit MODP group
08:46:17 ipsec,debug Compared: Local:Peer
08:46:17 ipsec,debug (lifetime = 86400:3600)
08:46:17 ipsec,debug (lifebyte = 0:0)
08:46:17 ipsec,debug enctype = AES-CBC:AES-CBC
08:46:17 ipsec,debug (encklen = 256:256)
08:46:17 ipsec,debug hashtype = SHA:6
08:46:17 ipsec,debug authmethod = pre-shared key:pre-shared key
08:46:17 ipsec,debug dh_group = 1024-bit MODP group:2048-bit MODP group
08:46:17 ipsec,debug Compared: Local:Peer
08:46:17 ipsec,debug (lifetime = 86400:3600)
08:46:17 ipsec,debug (lifebyte = 0:0)
08:46:17 ipsec,debug enctype = AES-CBC:AES-CBC
08:46:17 ipsec,debug (encklen = 192:256)
08:46:17 ipsec,debug hashtype = SHA:6
08:46:17 ipsec,debug authmethod = pre-shared key:pre-shared key
08:46:17 ipsec,debug dh_group = 1024-bit MODP group:2048-bit MODP group
08:46:17 ipsec,debug Compared: Local:Peer
08:46:17 ipsec,debug (lifetime = 86400:3600)
08:46:17 ipsec,debug (lifebyte = 0:0)
08:46:17 ipsec,debug enctype = AES-CBC:AES-CBC
08:46:17 ipsec,debug (encklen = 128:256)
08:46:17 ipsec,debug hashtype = SHA:6
08:46:17 ipsec,debug authmethod = pre-shared key:pre-shared key
08:46:17 ipsec,debug dh_group = 1024-bit MODP group:2048-bit MODP group
08:46:17 ipsec,debug Compared: Local:Peer
08:46:17 ipsec,debug (lifetime = 86400:3600)
08:46:17 ipsec,debug (lifebyte = 0:0)
08:46:17 ipsec,debug enctype = 3DES-CBC:AES-CBC
08:46:17 ipsec,debug (encklen = 0:256)
08:46:17 ipsec,debug hashtype = SHA:6
08:46:17 ipsec,debug authmethod = pre-shared key:pre-shared key
08:46:17 ipsec,debug dh_group = 1024-bit MODP group:2048-bit MODP group
08:46:17 ipsec,debug prop#=1, prot-id=ISAKMP, spi-size=0, #trns=14
08:46:17 ipsec,debug trns#=5, trns-id=IKE
08:46:17 ipsec,debug type=Life Type, flag=0x8000, lorv=seconds
08:46:17 ipsec,debug type=Life Duration, flag=0x8000, lorv=3600
08:46:17 ipsec,debug type=Encryption Algorithm, flag=0x8000, lorv=AES-CBC
08:46:17 ipsec,debug type=Key Length, flag=0x8000, lorv=256
08:46:17 ipsec,debug type=Authentication Method, flag=0x8000, lorv=pre-shared key
08:46:17 ipsec,debug type=Hash Algorithm, flag=0x8000, lorv=4
08:46:17 ipsec,debug type=Group Description, flag=0x8000, lorv=1536-bit MODP group
08:46:17 ipsec,debug Compared: Local:Peer
08:46:17 ipsec,debug (lifetime = 86400:3600)
08:46:17 ipsec,debug (lifebyte = 0:0)
08:46:17 ipsec,debug enctype = AES-CBC:AES-CBC
08:46:17 ipsec,debug (encklen = 256:256)
08:46:17 ipsec,debug hashtype = SHA:4
08:46:17 ipsec,debug authmethod = pre-shared key:pre-shared key
08:46:17 ipsec,debug dh_group = 1024-bit MODP group:1536-bit MODP group
08:46:17 ipsec,debug Compared: Local:Peer
08:46:17 ipsec,debug (lifetime = 86400:3600)
08:46:17 ipsec,debug (lifebyte = 0:0)
08:46:17 ipsec,debug enctype = AES-CBC:AES-CBC
08:46:17 ipsec,debug (encklen = 192:256)
08:46:17 ipsec,debug hashtype = SHA:4
08:46:17 ipsec,debug authmethod = pre-shared key:pre-shared key
08:46:17 ipsec,debug dh_group = 1024-bit MODP group:1536-bit MODP group
08:46:17 ipsec,debug Compared: Local:Peer
08:46:17 ipsec,debug (lifetime = 86400:3600)
08:46:17 ipsec,debug (lifebyte = 0:0)
08:46:17 ipsec,debug enctype = AES-CBC:AES-CBC
08:46:17 ipsec,debug (encklen = 128:256)
08:46:17 ipsec,debug hashtype = SHA:4
08:46:17 ipsec,debug authmethod = pre-shared key:pre-shared key
08:46:17 ipsec,debug dh_group = 1024-bit MODP group:1536-bit MODP group
08:46:17 ipsec,debug Compared: Local:Peer
08:46:17 ipsec,debug (lifetime = 86400:3600)
08:46:17 ipsec,debug (lifebyte = 0:0)
08:46:17 ipsec,debug enctype = 3DES-CBC:AES-CBC
08:46:17 ipsec,debug (encklen = 0:256)
08:46:17 ipsec,debug hashtype = SHA:4
08:46:17 ipsec,debug authmethod = pre-shared key:pre-shared key
08:46:17 ipsec,debug dh_group = 1024-bit MODP group:1536-bit MODP group
08:46:17 ipsec,debug prop#=1, prot-id=ISAKMP, spi-size=0, #trns=14
08:46:17 ipsec,debug trns#=6, trns-id=IKE
08:46:17 ipsec,debug type=Life Type, flag=0x8000, lorv=seconds
08:46:17 ipsec,debug type=Life Duration, flag=0x8000, lorv=3600
08:46:17 ipsec,debug type=Encryption Algorithm, flag=0x8000, lorv=AES-CBC
08:46:17 ipsec,debug type=Key Length, flag=0x8000, lorv=256
08:46:17 ipsec,debug type=Authentication Method, flag=0x8000, lorv=pre-shared key
08:46:17 ipsec,debug type=Hash Algorithm, flag=0x8000, lorv=SHA
08:46:17 ipsec,debug type=Group Description, flag=0x8000, lorv=1536-bit MODP group
08:46:17 ipsec,debug Compared: Local:Peer
08:46:17 ipsec,debug (lifetime = 86400:3600)
08:46:17 ipsec,debug (lifebyte = 0:0)
08:46:17 ipsec,debug enctype = AES-CBC:AES-CBC
08:46:17 ipsec,debug (encklen = 256:256)
08:46:17 ipsec,debug hashtype = SHA:SHA
08:46:17 ipsec,debug authmethod = pre-shared key:pre-shared key
08:46:17 ipsec,debug dh_group = 1024-bit MODP group:1536-bit MODP group
08:46:17 ipsec,debug Compared: Local:Peer
08:46:17 ipsec,debug (lifetime = 86400:3600)
08:46:17 ipsec,debug (lifebyte = 0:0)
08:46:17 ipsec,debug enctype = AES-CBC:AES-CBC
08:46:17 ipsec,debug (encklen = 192:256)
08:46:17 ipsec,debug hashtype = SHA:SHA
08:46:17 ipsec,debug authmethod = pre-shared key:pre-shared key
08:46:17 ipsec,debug dh_group = 1024-bit MODP group:1536-bit MODP group
08:46:17 ipsec,debug Compared: Local:Peer
08:46:17 ipsec,debug (lifetime = 86400:3600)
08:46:17 ipsec,debug (lifebyte = 0:0)
08:46:17 ipsec,debug enctype = AES-CBC:AES-CBC
08:46:17 ipsec,debug (encklen = 128:256)
08:46:17 ipsec,debug hashtype = SHA:SHA
08:46:17 ipsec,debug authmethod = pre-shared key:pre-shared key
08:46:17 ipsec,debug dh_group = 1024-bit MODP group:1536-bit MODP group
08:46:17 ipsec,debug Compared: Local:Peer
08:46:17 ipsec,debug (lifetime = 86400:3600)
08:46:17 ipsec,debug (lifebyte = 0:0)
08:46:17 ipsec,debug enctype = 3DES-CBC:AES-CBC
08:46:17 ipsec,debug (encklen = 0:256)
08:46:17 ipsec,debug hashtype = SHA:SHA
08:46:17 ipsec,debug authmethod = pre-shared key:pre-shared key
08:46:17 ipsec,debug dh_group = 1024-bit MODP group:1536-bit MODP group
08:46:17 ipsec,debug prop#=1, prot-id=ISAKMP, spi-size=0, #trns=14
08:46:17 ipsec,debug trns#=7, trns-id=IKE
08:46:17 ipsec,debug type=Life Type, flag=0x8000, lorv=seconds
08:46:17 ipsec,debug type=Life Duration, flag=0x8000, lorv=3600
08:46:17 ipsec,debug type=Encryption Algorithm, flag=0x8000, lorv=AES-CBC
08:46:17 ipsec,debug type=Key Length, flag=0x8000, lorv=256
08:46:17 ipsec,debug type=Authentication Method, flag=0x8000, lorv=pre-shared key
08:46:17 ipsec,debug type=Hash Algorithm, flag=0x8000, lorv=MD5
08:46:17 ipsec,debug type=Group Description, flag=0x8000, lorv=1536-bit MODP group
08:46:17 ipsec,debug Compared: Local:Peer
08:46:17 ipsec,debug (lifetime = 86400:3600)
08:46:17 ipsec,debug (lifebyte = 0:0)
08:46:17 ipsec,debug enctype = AES-CBC:AES-CBC
08:46:17 ipsec,debug (encklen = 256:256)
08:46:17 ipsec,debug hashtype = SHA:MD5
08:46:17 ipsec,debug authmethod = pre-shared key:pre-shared key
08:46:17 ipsec,debug dh_group = 1024-bit MODP group:1536-bit MODP group
08:46:17 ipsec,debug Compared: Local:Peer
08:46:17 ipsec,debug (lifetime = 86400:3600)
08:46:17 ipsec,debug (lifebyte = 0:0)
08:46:17 ipsec,debug enctype = AES-CBC:AES-CBC
08:46:17 ipsec,debug (encklen = 192:256)
08:46:17 ipsec,debug hashtype = SHA:MD5
08:46:17 ipsec,debug authmethod = pre-shared key:pre-shared key
08:46:17 ipsec,debug dh_group = 1024-bit MODP group:1536-bit MODP group
08:46:17 ipsec,debug Compared: Local:Peer
08:46:17 ipsec,debug (lifetime = 86400:3600)
08:46:17 ipsec,debug (lifebyte = 0:0)
08:46:17 ipsec,debug enctype = AES-CBC:AES-CBC
08:46:17 ipsec,debug (encklen = 128:256)
08:46:17 ipsec,debug hashtype = SHA:MD5
08:46:17 ipsec,debug authmethod = pre-shared key:pre-shared key
08:46:17 ipsec,debug dh_group = 1024-bit MODP group:1536-bit MODP group
08:46:17 ipsec,debug Compared: Local:Peer
08:46:17 ipsec,debug (lifetime = 86400:3600)
08:46:17 ipsec,debug (lifebyte = 0:0)
08:46:17 ipsec,debug enctype = 3DES-CBC:AES-CBC
08:46:17 ipsec,debug (encklen = 0:256)
08:46:17 ipsec,debug hashtype = SHA:MD5
08:46:17 ipsec,debug authmethod = pre-shared key:pre-shared key
08:46:17 ipsec,debug dh_group = 1024-bit MODP group:1536-bit MODP group
08:46:17 ipsec,debug prop#=1, prot-id=ISAKMP, spi-size=0, #trns=14
08:46:17 ipsec,debug trns#=8, trns-id=IKE
08:46:17 ipsec,debug type=Life Type, flag=0x8000, lorv=seconds
08:46:17 ipsec,debug type=Life Duration, flag=0x8000, lorv=3600
08:46:17 ipsec,debug type=Encryption Algorithm, flag=0x8000, lorv=AES-CBC
08:46:17 ipsec,debug type=Key Length, flag=0x8000, lorv=256
08:46:17 ipsec,debug type=Authentication Method, flag=0x8000, lorv=pre-shared key
08:46:17 ipsec,debug type=Hash Algorithm, flag=0x8000, lorv=4
08:46:17 ipsec,debug type=Group Description, flag=0x8000, lorv=1024-bit MODP group
08:46:17 ipsec,debug Compared: Local:Peer
08:46:17 ipsec,debug (lifetime = 86400:3600)
08:46:17 ipsec,debug (lifebyte = 0:0)
08:46:17 ipsec,debug enctype = AES-CBC:AES-CBC
08:46:17 ipsec,debug (encklen = 256:256)
08:46:17 ipsec,debug hashtype = SHA:4
08:46:17 ipsec,debug authmethod = pre-shared key:pre-shared key
08:46:17 ipsec,debug dh_group = 1024-bit MODP group:1024-bit MODP group
08:46:17 ipsec,debug Compared: Local:Peer
08:46:17 ipsec,debug (lifetime = 86400:3600)
08:46:17 ipsec,debug (lifebyte = 0:0)
08:46:17 ipsec,debug enctype = AES-CBC:AES-CBC
08:46:17 ipsec,debug (encklen = 192:256)
08:46:17 ipsec,debug hashtype = SHA:4
08:46:17 ipsec,debug authmethod = pre-shared key:pre-shared key
08:46:17 ipsec,debug dh_group = 1024-bit MODP group:1024-bit MODP group
08:46:17 ipsec,debug Compared: Local:Peer
08:46:17 ipsec,debug (lifetime = 86400:3600)
08:46:17 ipsec,debug (lifebyte = 0:0)
08:46:17 ipsec,debug enctype = AES-CBC:AES-CBC
08:46:17 ipsec,debug (encklen = 128:256)
08:46:17 ipsec,debug hashtype = SHA:4
08:46:17 ipsec,debug authmethod = pre-shared key:pre-shared key
08:46:17 ipsec,debug dh_group = 1024-bit MODP group:1024-bit MODP group
08:46:17 ipsec,debug Compared: Local:Peer
08:46:17 ipsec,debug (lifetime = 86400:3600)
08:46:17 ipsec,debug (lifebyte = 0:0)
08:46:17 ipsec,debug enctype = 3DES-CBC:AES-CBC
08:46:17 ipsec,debug (encklen = 0:256)
08:46:17 ipsec,debug hashtype = SHA:4
08:46:17 ipsec,debug authmethod = pre-shared key:pre-shared key
08:46:17 ipsec,debug dh_group = 1024-bit MODP group:1024-bit MODP group
08:46:17 ipsec,debug prop#=1, prot-id=ISAKMP, spi-size=0, #trns=14
08:46:17 ipsec,debug trns#=9, trns-id=IKE
08:46:17 ipsec,debug type=Life Type, flag=0x8000, lorv=seconds
08:46:17 ipsec,debug type=Life Duration, flag=0x8000, lorv=3600
08:46:17 ipsec,debug type=Encryption Algorithm, flag=0x8000, lorv=AES-CBC
08:46:17 ipsec,debug type=Key Length, flag=0x8000, lorv=256
08:46:17 ipsec,debug type=Authentication Method, flag=0x8000, lorv=pre-shared key
08:46:17 ipsec,debug type=Hash Algorithm, flag=0x8000, lorv=SHA
08:46:17 ipsec,debug type=Group Description, flag=0x8000, lorv=1024-bit MODP group
08:46:17 ipsec,debug Compared: Local:Peer
08:46:17 ipsec,debug (lifetime = 86400:3600)
08:46:17 ipsec,debug (lifebyte = 0:0)
08:46:17 ipsec,debug enctype = AES-CBC:AES-CBC
08:46:17 ipsec,debug (encklen = 256:256)
08:46:17 ipsec,debug hashtype = SHA:SHA
08:46:17 ipsec,debug authmethod = pre-shared key:pre-shared key
08:46:17 ipsec,debug dh_group = 1024-bit MODP group:1024-bit MODP group
08:46:17 ipsec,debug an acceptable proposal found.
08:46:17 ipsec,debug dh(modp1024)
08:46:17 ipsec,debug agreed on pre-shared key auth.
08:46:17 ipsec,debug ===
08:46:17 ipsec,debug new cookie:
08:46:17 ipsec,debug af3d6cdf95017316
08:46:17 ipsec,debug add payload of len 52, next type 13
08:46:17 ipsec,debug add payload of len 16, next type 13
08:46:17 ipsec,debug add payload of len 16, next type 13
08:46:17 ipsec,debug add payload of len 20, next type 0
08:46:17 ipsec,debug 148 bytes from xxx.xxx.xxx.xxx[500] to 192.168.200.196[500]
08:46:17 ipsec,debug 1 times of 148 bytes message will be sent to 192.168.200.196[500]
08:46:17 ipsec,debug,packet f18810a0 f309cd13 af3d6cdf 95017316 01100200 00000000 00000094 0d000038
08:46:17 ipsec,debug,packet 00000001 00000001 0000002c 01010001 00000024 09010000 800b0001 800c0e10
08:46:17 ipsec,debug,packet 80010007 800e0100 80030001 80020002 80040002 0d000014 4a131c81 07035845
08:46:17 ipsec,debug,packet 5c5728f2 0e95452f 0d000014 afcad713 68a1f1c9 6b8696fc 77570100 00000018
08:46:17 ipsec,debug,packet 4048b7d5 6ebce885 25e7de7f 00d6c2d3 80000000
08:46:17 ipsec,debug ===== received 228 bytes from 192.168.200.196[500] to xxx.xxx.xxx.xxx[500]
08:46:17 ipsec,debug,packet f18810a0 f309cd13 af3d6cdf 95017316 04100200 00000000 000000e4 0a000084
08:46:17 ipsec,debug,packet 166674e0 80ba64f2 94e55b51 0abad9d4 f07950c1 6b03f1e0 d1a03ac4 9f63d08f
08:46:17 ipsec,debug,packet 3d581a27 e867555a 23deac2e fe264568 69f67afa b82eb4bc a3efcf24 f0436f29
08:46:17 ipsec,debug,packet b7d39dc2 7e18b2cf 1385df19 9dc56f88 1d4a889a 8490bb07 4f6e3fa4 66414539
08:46:17 ipsec,debug,packet a2c46c06 183ae0ca 2e205cc4 35739ffd 6d3b6721 cf1c385b 0d5a9911 c1424d96
08:46:17 ipsec,debug,packet 14000014 731289bb a987fac4 efdf81c5 c5905f1f 14000018 e60037a1 5d9ff803
08:46:17 ipsec,debug,packet 8490ce56 31d87be9 94943473 00000018 6249b62a 8ba64a20 3b2844d5 693b575c
08:46:17 ipsec,debug,packet 35517453
08:46:17 ipsec,debug begin.
08:46:17 ipsec,debug seen nptype=4(ke) len=132
08:46:17 ipsec,debug seen nptype=10(nonce) len=20
08:46:17 ipsec,debug seen nptype=20(nat-d) len=24
08:46:17 ipsec,debug seen nptype=20(nat-d) len=24
08:46:17 ipsec,debug succeed.
08:46:17 ipsec,debug hash(sha1)
08:46:17 ipsec,debug hash(sha1)
08:46:17 ipsec,debug ===
08:46:17 ipsec,debug dh(modp1024)
08:46:17 ipsec,debug compute DH's private.
08:46:17 ipsec,debug 42434d35 863b11e2 a1780e40 1581b1ed 970a9100 0de1286b 7b66e0d1 9a41797a
08:46:17 ipsec,debug b261f9ce ef3ed9c8 a7f011d1 a28d1a74 bffe1181 858709a6 a66bcde9 2f7237ce
08:46:17 ipsec,debug e91e91e4 5e15528d 16422805 cb123689 820bae56 d7c9aa8c 35ca317b 0a9b3f5a
08:46:17 ipsec,debug 714efd07 11d5bd65 0d405fc7 ea65ac86 a8abbc0a bd040f7d a3887a33 59d22e73
08:46:17 ipsec,debug compute DH's public.
08:46:17 ipsec,debug 2f3ef62a 05341a9d 0721b9a5 024f5fb1 287fe0a0 bfe2101e 6c0b984f 0205047b
08:46:17 ipsec,debug 29a9da9c bd822b56 f9525289 06d9d19d 371b8182 f2423440 0bb9b069 b57cbaf7
08:46:17 ipsec,debug 0938b132 8e63d4be db8f7ef1 a1c15271 e2d99b02 736e60d1 8209b5ab 927366d3
08:46:17 ipsec,debug ee388759 37d1b374 36439a34 59cdf18c cf64bfc2 edc3944a 578200b7 e05af836
08:46:17 ipsec,debug hash(sha1)
08:46:17 ipsec,debug hash(sha1)
08:46:17 ipsec,debug add payload of len 128, next type 10
08:46:17 ipsec,debug add payload of len 24, next type 20
08:46:17 ipsec,debug add payload of len 20, next type 20
08:46:17 ipsec,debug add payload of len 20, next type 0
08:46:17 ipsec,debug 236 bytes from xxx.xxx.xxx.xxx[500] to 192.168.200.196[500]
08:46:17 ipsec,debug 1 times of 236 bytes message will be sent to 192.168.200.196[500]
08:46:17 ipsec,debug,packet f18810a0 f309cd13 af3d6cdf 95017316 04100200 00000000 000000ec 0a000084
08:46:17 ipsec,debug,packet 2f3ef62a 05341a9d 0721b9a5 024f5fb1 287fe0a0 bfe2101e 6c0b984f 0205047b
08:46:17 ipsec,debug,packet 29a9da9c bd822b56 f9525289 06d9d19d 371b8182 f2423440 0bb9b069 b57cbaf7
08:46:17 ipsec,debug,packet 0938b132 8e63d4be db8f7ef1 a1c15271 e2d99b02 736e60d1 8209b5ab 927366d3
08:46:17 ipsec,debug,packet ee388759 37d1b374 36439a34 59cdf18c cf64bfc2 edc3944a 578200b7 e05af836
08:46:17 ipsec,debug,packet 1400001c 8e6b9057 800e76e6 26b79a83 70e5e3b6 3d3900ca e64295c2 14000018
08:46:17 ipsec,debug,packet 6249b62a 8ba64a20 3b2844d5 693b575c 35517453 00000018 e60037a1 5d9ff803
08:46:17 ipsec,debug,packet 8490ce56 31d87be9 94943473
08:46:17 ipsec,debug dh(modp1024)
08:46:17 ipsec,debug compute DH's shared.
08:46:17 ipsec,debug
08:46:17 ipsec,debug 2696cfba 5fbdd665 76ba2b48 30489814 1821f6a0 387134f7 1e1ba58d 6733464a
08:46:17 ipsec,debug 0e507c5e a888317d bce66fac ce27a1d2 0da1653b 6026604f d72f6a75 a0be90bd
08:46:17 ipsec,debug 9f03ca18 b8c00f5b ea660b34 2d6b099f dde3769d 1238c5fd f1ef65c0 d443bd62
08:46:17 ipsec,debug 721accd3 2de6ad3a 09ee62ce 8da90bd9 3327cbf3 8c480a59 db570611 f7941692
08:46:17 ipsec,debug nonce 1:
08:46:17 ipsec,debug 731289bb a987fac4 efdf81c5 c5905f1f
08:46:17 ipsec,debug nonce 2:
08:46:17 ipsec,debug 8e6b9057 800e76e6 26b79a83 70e5e3b6 3d3900ca e64295c2
08:46:17 ipsec,debug hmac(hmac_sha1)
08:46:17 ipsec,debug SKEYID computed:
08:46:17 ipsec,debug 99a14e8e 2df693ba 4147f056 b7b3dbfd fc357ae5
08:46:17 ipsec,debug hmac(hmac_sha1)
08:46:17 ipsec,debug SKEYID_d computed:
08:46:17 ipsec,debug 23dfaabb e6c986ff 04c8e3ed 18851ee4 fb3284d1
08:46:17 ipsec,debug hmac(hmac_sha1)
08:46:17 ipsec,debug SKEYID_a computed:
08:46:17 ipsec,debug 6f45247d 6b82b439 182249ce c6798f1f e72f6d03
08:46:17 ipsec,debug hmac(hmac_sha1)
08:46:17 ipsec,debug SKEYID_e computed:
08:46:17 ipsec,debug f4606787 b6890f95 d6d2f181 04be72a9 142adcb4
08:46:17 ipsec,debug encryption(aes)
08:46:17 ipsec,debug hash(sha1)
08:46:17 ipsec,debug len(SKEYID_e) < len(Ka) (20 < 32), generating long key (Ka = K1 | K2 | ...)
08:46:17 ipsec,debug hmac(hmac_sha1)
08:46:17 ipsec,debug compute intermediate encryption key K1
08:46:17 ipsec,debug 00
08:46:17 ipsec,debug 96d039ce 77d263f8 d0224452 6581387d 4a8eddb7
08:46:17 ipsec,debug hmac(hmac_sha1)
08:46:17 ipsec,debug compute intermediate encryption key K2
08:46:17 ipsec,debug 96d039ce 77d263f8 d0224452 6581387d 4a8eddb7
08:46:17 ipsec,debug 937d52cd ad49e01f 9673741c dc07d509 db3cd34f
08:46:17 ipsec,debug final encryption key computed:
08:46:17 ipsec,debug 96d039ce 77d263f8 d0224452 6581387d 4a8eddb7 937d52cd ad49e01f 9673741c
08:46:17 ipsec,debug hash(sha1)
08:46:17 ipsec,debug encryption(aes)
08:46:17 ipsec,debug IV computed:
08:46:17 ipsec,debug c830f7cd c18f8895 461de6e1 5f9e8bb6
08:46:17 ipsec,debug ===== received 108 bytes from 192.168.200.196[500] to xxx.xxx.xxx.xxx[500]
08:46:17 ipsec,debug,packet f18810a0 f309cd13 af3d6cdf 95017316 05100201 00000000 0000006c a0be30c0
08:46:17 ipsec,debug,packet a2e83de1 0e2eeab1 2e0c30a2 54aa02aa fb8d476b c9646594 a861606e 2de79992
08:46:17 ipsec,debug,packet fa72b001 2a0f8d59 beb2af4f 3cea9e33 6c0704da 3f290a4a 2b0e9cf4 f3410fe3
08:46:17 ipsec,debug,packet 0dac0a93 30abf4b5 c1a6c1ce
08:46:17 ipsec,debug encryption(aes)
08:46:17 ipsec,debug IV was saved for next processing:
08:46:17 ipsec,debug f3410fe3 0dac0a93 30abf4b5 c1a6c1ce
08:46:17 ipsec,debug encryption(aes)
08:46:17 ipsec,debug with key:
08:46:17 ipsec,debug 96d039ce 77d263f8 d0224452 6581387d 4a8eddb7 937d52cd ad49e01f 9673741c
08:46:17 ipsec,debug decrypted payload by IV:
08:46:17 ipsec,debug c830f7cd c18f8895 461de6e1 5f9e8bb6
08:46:17 ipsec,debug decrypted payload, but not trimed.
08:46:17 ipsec,debug 0800000c 011101f4 c0a8c8c4 0b000018 2b3dbceb 67a685db 34b4b511 91e7c813
08:46:17 ipsec,debug c4ee55d2 0000001c 00000001 01106002 f18810a0 f309cd13 af3d6cdf 95017316
08:46:17 ipsec,debug 00000000 00000000 00000000 00000010
08:46:17 ipsec,debug padding len=17
08:46:17 ipsec,debug skip to trim padding.
08:46:17 ipsec,debug decrypted.
08:46:17 ipsec,debug f18810a0 f309cd13 af3d6cdf 95017316 05100201 00000000 0000006c 0800000c
08:46:17 ipsec,debug 011101f4 c0a8c8c4 0b000018 2b3dbceb 67a685db 34b4b511 91e7c813 c4ee55d2
08:46:17 ipsec,debug 0000001c 00000001 01106002 f18810a0 f309cd13 af3d6cdf 95017316 00000000
08:46:17 ipsec,debug 00000000 00000000 00000010
08:46:17 ipsec,debug begin.
08:46:17 ipsec,debug seen nptype=5(id) len=12
08:46:17 ipsec,debug seen nptype=8(hash) len=24
08:46:17 ipsec,debug seen nptype=11(notify) len=28
08:46:17 ipsec,debug succeed.
08:46:17 ipsec,debug 192.168.200.196 Notify Message received
08:46:17 ipsec,debug HASH received:
08:46:17 ipsec,debug 2b3dbceb 67a685db 34b4b511 91e7c813 c4ee55d2
08:46:17 ipsec,debug HASH with:
08:46:17 ipsec,debug 166674e0 80ba64f2 94e55b51 0abad9d4 f07950c1 6b03f1e0 d1a03ac4 9f63d08f
08:46:17 ipsec,debug 3d581a27 e867555a 23deac2e fe264568 69f67afa b82eb4bc a3efcf24 f0436f29
08:46:17 ipsec,debug b7d39dc2 7e18b2cf 1385df19 9dc56f88 1d4a889a 8490bb07 4f6e3fa4 66414539
08:46:17 ipsec,debug a2c46c06 183ae0ca 2e205cc4 35739ffd 6d3b6721 cf1c385b 0d5a9911 c1424d96
08:46:17 ipsec,debug 2f3ef62a 05341a9d 0721b9a5 024f5fb1 287fe0a0 bfe2101e 6c0b984f 0205047b
08:46:17 ipsec,debug 29a9da9c bd822b56 f9525289 06d9d19d 371b8182 f2423440 0bb9b069 b57cbaf7
08:46:17 ipsec,debug 0938b132 8e63d4be db8f7ef1 a1c15271 e2d99b02 736e60d1 8209b5ab 927366d3
08:46:17 ipsec,debug ee388759 37d1b374 36439a34 59cdf18c cf64bfc2 edc3944a 578200b7 e05af836
08:46:17 ipsec,debug f18810a0 f309cd13 af3d6cdf 95017316 00000001 00000001 000001f8 0101000e
08:46:17 ipsec,debug 03000024 01010000 800b0001 800c0e10 80010007 800e0100 80030001 80020004
08:46:17 ipsec,debug 8004000e 03000024 02010000 800b0001 800c0e10 80010007 800e0100 80030001
08:46:17 ipsec,debug 80020002 8004000e 03000024 03010000 800b0001 800c0e10 80010007 800e0100
08:46:17 ipsec,debug 80030001 80020001 8004000e 03000024 04010000 800b0001 800c0e10 80010007
08:46:17 ipsec,debug 800e0100 80030001 80020006 8004000e 03000024 05010000 800b0001 800c0e10
08:46:17 ipsec,debug 80010007 800e0100 80030001 80020004 80040005 03000024 06010000 800b0001
08:46:17 ipsec,debug 800c0e10 80010007 800e0100 80030001 80020002 80040005 03000024 07010000
08:46:17 ipsec,debug 800b0001 800c0e10 80010007 800e0100 80030001 80020001 80040005 03000024
08:46:17 ipsec,debug 08010000 800b0001 800c0e10 80010007 800e0100 80030001 80020004 80040002
08:46:17 ipsec,debug 03000024 09010000 800b0001 800c0e10 80010007 800e0100 80030001 80020002
08:46:17 ipsec,debug 80040002 03000024 0a010000 800b0001 800c0e10 80010007 800e0100 80030001
08:46:17 ipsec,debug 80020001 80040002 03000024 0b010000 800b0001 800c0e10 80010007 800e0080
08:46:17 ipsec,debug 80030001 80020002 80040002 03000024 0c010000 800b0001 800c0e10 80010007
08:46:17 ipsec,debug 800e0080 80030001 80020001 80040002 03000020 0d010000 800b0001 800c0e10
08:46:17 ipsec,debug 80010005 80030001 80020002 80040002 00000020 0e010000 800b0001 800c0e10
08:46:17 ipsec,debug 80010005 80030001 80020001 80040002 011101f4 c0a8c8c4
08:46:17 ipsec,debug hmac(hmac_sha1)
08:46:17 ipsec,debug HASH computed:
08:46:17 ipsec,debug 2b3dbceb 67a685db 34b4b511 91e7c813 c4ee55d2
08:46:17 ipsec,debug HASH for PSK validated.
08:46:17 ipsec,debug 192.168.200.196 peer's ID
08:46:17 ipsec,debug 011101f4 c0a8c8c4
08:46:17 ipsec,debug ===
08:46:17 ipsec,debug use ID type of IPv4_address
08:46:17 ipsec,debug generate HASH_R
08:46:17 ipsec,debug HASH with:
08:46:17 ipsec,debug 2f3ef62a 05341a9d 0721b9a5 024f5fb1 287fe0a0 bfe2101e 6c0b984f 0205047b
08:46:17 ipsec,debug 29a9da9c bd822b56 f9525289 06d9d19d 371b8182 f2423440 0bb9b069 b57cbaf7
08:46:17 ipsec,debug 0938b132 8e63d4be db8f7ef1 a1c15271 e2d99b02 736e60d1 8209b5ab 927366d3
08:46:17 ipsec,debug ee388759 37d1b374 36439a34 59cdf18c cf64bfc2 edc3944a 578200b7 e05af836
08:46:17 ipsec,debug 166674e0 80ba64f2 94e55b51 0abad9d4 f07950c1 6b03f1e0 d1a03ac4 9f63d08f
08:46:17 ipsec,debug 3d581a27 e867555a 23deac2e fe264568 69f67afa b82eb4bc a3efcf24 f0436f29
08:46:17 ipsec,debug b7d39dc2 7e18b2cf 1385df19 9dc56f88 1d4a889a 8490bb07 4f6e3fa4 66414539
08:46:17 ipsec,debug a2c46c06 183ae0ca 2e205cc4 35739ffd 6d3b6721 cf1c385b 0d5a9911 c1424d96
08:46:17 ipsec,debug af3d6cdf 95017316 f18810a0 f309cd13 00000001 00000001 000001f8 0101000e
08:46:17 ipsec,debug 03000024 01010000 800b0001 800c0e10 80010007 800e0100 80030001 80020004
08:46:17 ipsec,debug 8004000e 03000024 02010000 800b0001 800c0e10 80010007 800e0100 80030001
08:46:17 ipsec,debug 80020002 8004000e 03000024 03010000 800b0001 800c0e10 80010007 800e0100
08:46:17 ipsec,debug 80030001 80020001 8004000e 03000024 04010000 800b0001 800c0e10 80010007
08:46:17 ipsec,debug 800e0100 80030001 80020006 8004000e 03000024 05010000 800b0001 800c0e10
08:46:17 ipsec,debug 80010007 800e0100 80030001 80020004 80040005 03000024 06010000 800b0001
08:46:17 ipsec,debug 800c0e10 80010007 800e0100 80030001 80020002 80040005 03000024 07010000
08:46:17 ipsec,debug 800b0001 800c0e10 80010007 800e0100 80030001 80020001 80040005 03000024
08:46:17 ipsec,debug 08010000 800b0001 800c0e10 80010007 800e0100 80030001 80020004 80040002
08:46:17 ipsec,debug 03000024 09010000 800b0001 800c0e10 80010007 800e0100 80030001 80020002
08:46:17 ipsec,debug 80040002 03000024 0a010000 800b0001 800c0e10 80010007 800e0100 80030001
08:46:17 ipsec,debug 80020001 80040002 03000024 0b010000 800b0001 800c0e10 80010007 800e0080
08:46:17 ipsec,debug 80030001 80020002 80040002 03000024 0c010000 800b0001 800c0e10 80010007
08:46:17 ipsec,debug 800e0080 80030001 80020001 80040002 03000020 0d010000 800b0001 800c0e10
08:46:17 ipsec,debug 80010005 80030001 80020002 80040002 00000020 0e010000 800b0001 800c0e10
08:46:17 ipsec,debug 80010005 80030001 80020001 80040002 011101f4 bc7a0020
08:46:17 ipsec,debug hmac(hmac_sha1)
08:46:17 ipsec,debug HASH computed:
08:46:17 ipsec,debug 38bd21e2 f73113a0 f02d0dc1 ed961a3d 085b4d1d
08:46:17 ipsec,debug add payload of len 8, next type 8
08:46:17 ipsec,debug add payload of len 20, next type 0
08:46:17 ipsec,debug begin encryption.
08:46:17 ipsec,debug encryption(aes)
08:46:17 ipsec,debug pad length = 12
08:46:17 ipsec,debug 0800000c 011101f4 bc7a0020 00000018 38bd21e2 f73113a0 f02d0dc1 ed961a3d
08:46:17 ipsec,debug 085b4d1d 809da9a6 d8f7a7bf cada890b
08:46:17 ipsec,debug encryption(aes)
08:46:17 ipsec,debug with key:
08:46:17 ipsec,debug 96d039ce 77d263f8 d0224452 6581387d 4a8eddb7 937d52cd ad49e01f 9673741c
08:46:17 ipsec,debug encrypted payload by IV:
08:46:17 ipsec,debug f3410fe3 0dac0a93 30abf4b5 c1a6c1ce
08:46:17 ipsec,debug save IV for next:
08:46:17 ipsec,debug 063dd527 5467bd5e ed21b483 27b26b85
08:46:17 ipsec,debug encrypted.
08:46:17 ipsec,debug 76 bytes from xxx.xxx.xxx.xxx[500] to 192.168.200.196[500]
08:46:17 ipsec,debug 1 times of 76 bytes message will be sent to 192.168.200.196[500]
08:46:17 ipsec,debug,packet f18810a0 f309cd13 af3d6cdf 95017316 05100201 00000000 0000004c f6e1589e
08:46:17 ipsec,debug,packet 7b2b5172 07def8ae 98822a51 8bcc72a2 ba023bc7 391bd147 6f295952 063dd527
08:46:17 ipsec,debug,packet 5467bd5e ed21b483 27b26b85
08:46:17 ipsec,debug compute IV for phase2
08:46:17 ipsec,debug phase1 last IV:
08:46:17 ipsec,debug 063dd527 5467bd5e ed21b483 27b26b85 8b05ab73
08:46:17 ipsec,debug hash(sha1)
08:46:17 ipsec,debug encryption(aes)
08:46:17 ipsec,debug phase2 IV computed:
08:46:17 ipsec,debug 300f18a7 762ed298 1e2d038b 0fa71d88
08:46:17 ipsec,debug HASH with:
08:46:17 ipsec,debug 8b05ab73 0000001c 00000001 01106002 f18810a0 f309cd13 af3d6cdf 95017316
08:46:17 ipsec,debug hmac(hmac_sha1)
08:46:17 ipsec,debug HASH computed:
08:46:17 ipsec,debug 1b48cb6d eb990141 473681f3 b507b678 0ff50321
08:46:17 ipsec,debug begin encryption.
08:46:17 ipsec,debug encryption(aes)
08:46:17 ipsec,debug pad length = 12
08:46:17 ipsec,debug 0b000018 1b48cb6d eb990141 473681f3 b507b678 0ff50321 0000001c 00000001
08:46:17 ipsec,debug 01106002 f18810a0 f309cd13 af3d6cdf 95017316 e69d9ee6 bbdeebe0 8fa59c0b
08:46:17 ipsec,debug encryption(aes)
08:46:17 ipsec,debug with key:
08:46:17 ipsec,debug 96d039ce 77d263f8 d0224452 6581387d 4a8eddb7 937d52cd ad49e01f 9673741c
08:46:17 ipsec,debug encrypted payload by IV:
08:46:17 ipsec,debug 300f18a7 762ed298 1e2d038b 0fa71d88
08:46:17 ipsec,debug save IV for next:
08:46:17 ipsec,debug ab95a12a 42d0b2ea 878f8e21 ac4573f8
08:46:17 ipsec,debug encrypted.
08:46:17 ipsec,debug 92 bytes from xxx.xxx.xxx.xxx[500] to 192.168.200.196[500]
08:46:17 ipsec,debug 1 times of 92 bytes message will be sent to 192.168.200.196[500]
08:46:17 ipsec,debug,packet f18810a0 f309cd13 af3d6cdf 95017316 08100501 8b05ab73 0000005c 8dbda405
08:46:17 ipsec,debug,packet df0973cf 84f844b3 06cf45d9 594bb9a0 ccd2d851 bc12fd0a 8d4fbab5 79c3bd8d
08:46:17 ipsec,debug,packet aa274acc 69efea29 68ef1e1c ab95a12a 42d0b2ea 878f8e21 ac4573f8
08:46:17 ipsec,info ISAKMP-SA established xxx.xxx.xxx.xxx[500]-192.168.200.196[500] spi:f18810a0f309cd13:af3d6cdf95017316
08:46:17 ipsec,debug ===
08:46:18 ipsec,debug ===== received 284 bytes from 192.168.200.196[500] to xxx.xxx.xxx.xxx[500]
08:46:18 ipsec,debug,packet f18810a0 f309cd13 af3d6cdf 95017316 08102001 4131eefe 0000011c 7727a3e1
08:46:18 ipsec,debug,packet 327457fe 061638bd a6125f5a b9d039f8 e84c1bc6 73bbce07 415de0c5 2fc5a82b
08:46:18 ipsec,debug,packet 0282fc81 4e33b064 46bbe805 2dee14f0 5a3db770 c4d44755 734dc471 11ee6ca9
08:46:18 ipsec,debug,packet 5e76e063 e6832f5c 18f98141 a7a703ff 3141850f 5ac48101 5ef39f1b 4e3a0b66
08:46:18 ipsec,debug,packet 72ef95ce 2a077421 4ab2a75c 3068269c b01b5b16 8fedcf89 2110cce8 28757fb8
08:46:18 ipsec,debug,packet 6320ccb7 3c3fe3d9 85d5f4a3 7f6e0076 e9583676 6b8bfff1 556bdf09 b36d5f4f
08:46:18 ipsec,debug,packet 0b3c5c08 03ea3acb 530cf108 6d71a865 7343f32c c5ca3e4b 7d5832ad 2cdd74d2
08:46:18 ipsec,debug,packet d0ee311c 174ce523 c5e09531 edfd7bb6 297ff02a d05d972d 7c9720b3 6909e064
08:46:18 ipsec,debug,packet bde1c37a b1ed1159 0ca8164c 9c16e331 76403fa2 71992dbd f5879c87
08:46:18 ipsec,debug compute IV for phase2
08:46:18 ipsec,debug phase1 last IV:
08:46:18 ipsec,debug 063dd527 5467bd5e ed21b483 27b26b85 4131eefe
08:46:18 ipsec,debug hash(sha1)
08:46:18 ipsec,debug encryption(aes)
08:46:18 ipsec,debug phase2 IV computed:
08:46:18 ipsec,debug 312f1fdd cc48652b a34124e3 cc641b36
08:46:18 ipsec,debug ===
08:46:18 ipsec,debug encryption(aes)
08:46:18 ipsec,debug IV was saved for next processing:
08:46:18 ipsec,debug 9c16e331 76403fa2 71992dbd f5879c87
08:46:18 ipsec,debug encryption(aes)
08:46:18 ipsec,debug with key:
08:46:18 ipsec,debug 96d039ce 77d263f8 d0224452 6581387d 4a8eddb7 937d52cd ad49e01f 9673741c
08:46:18 ipsec,debug decrypted payload by IV:
08:46:18 ipsec,debug 312f1fdd cc48652b a34124e3 cc641b36
08:46:18 ipsec,debug decrypted payload, but not trimed.
08:46:18 ipsec,debug 01000018 6661e034 e6cf338f 66815976 28127895 956d8d97 0a0000b8 00000001
08:46:18 ipsec,debug 00000001 000000ac 01030406 07ab7c59 0300001c 010c0000 80010001 80020e10
08:46:18 ipsec,debug 80040002 80060100 80050002 0300001c 020c0000 80010001 80020e10 80040002
08:46:18 ipsec,debug 80060100 80050001 0300001c 030c0000 80010001 80020e10 80040002 80060080
08:46:18 ipsec,debug 80050002 0300001c 040c0000 80010001 80020e10 80040002 80060080 80050001
08:46:18 ipsec,debug 03000018 05030000 80010001 80020e10 80040002 80050002 00000018 06030000
08:46:18 ipsec,debug 80010001 80020e10 80040002 80050001 05000014 5cea8380 ed0b5cf8 e0b3fbec
08:46:18 ipsec,debug b3200405 0500000c 0111d879 c0a8c8c4 0000000c 011106a5 bc7a0020 00000004
08:46:18 ipsec,debug padding len=5
08:46:18 ipsec,debug skip to trim padding.
08:46:18 ipsec,debug decrypted.
08:46:18 ipsec,debug f18810a0 f309cd13 af3d6cdf 95017316 08102001 4131eefe 0000011c 01000018
08:46:18 ipsec,debug 6661e034 e6cf338f 66815976 28127895 956d8d97 0a0000b8 00000001 00000001
08:46:18 ipsec,debug 000000ac 01030406 07ab7c59 0300001c 010c0000 80010001 80020e10 80040002
08:46:18 ipsec,debug 80060100 80050002 0300001c 020c0000 80010001 80020e10 80040002 80060100
08:46:18 ipsec,debug 80050001 0300001c 030c0000 80010001 80020e10 80040002 80060080 80050002
08:46:18 ipsec,debug 0300001c 040c0000 80010001 80020e10 80040002 80060080 80050001 03000018
08:46:18 ipsec,debug 05030000 80010001 80020e10 80040002 80050002 00000018 06030000 80010001
08:46:18 ipsec,debug 80020e10 80040002 80050001 05000014 5cea8380 ed0b5cf8 e0b3fbec b3200405
08:46:18 ipsec,debug 0500000c 0111d879 c0a8c8c4 0000000c 011106a5 bc7a0020 00000004
08:46:18 ipsec,debug begin.
08:46:18 ipsec,debug seen nptype=8(hash) len=24
08:46:18 ipsec,debug seen nptype=1(sa) len=184
08:46:18 ipsec,debug seen nptype=10(nonce) len=20
08:46:18 ipsec,debug seen nptype=5(id) len=12
08:46:18 ipsec,debug seen nptype=5(id) len=12
08:46:18 ipsec,debug succeed.
08:46:18 ipsec,debug received IDci2:
08:46:18 ipsec,debug 0111d879 c0a8c8c4
08:46:18 ipsec,debug received IDcr2:
08:46:18 ipsec,debug 011106a5 bc7a0020
08:46:18 ipsec,debug HASH(1) validate:
08:46:18 ipsec,debug 6661e034 e6cf338f 66815976 28127895 956d8d97
08:46:18 ipsec,debug HASH with:
08:46:18 ipsec,debug 4131eefe 0a0000b8 00000001 00000001 000000ac 01030406 07ab7c59 0300001c
08:46:18 ipsec,debug 010c0000 80010001 80020e10 80040002 80060100 80050002 0300001c 020c0000
08:46:18 ipsec,debug 80010001 80020e10 80040002 80060100 80050001 0300001c 030c0000 80010001
08:46:18 ipsec,debug 80020e10 80040002 80060080 80050002 0300001c 040c0000 80010001 80020e10
08:46:18 ipsec,debug 80040002 80060080 80050001 03000018 05030000 80010001 80020e10 80040002
08:46:18 ipsec,debug 80050002 00000018 06030000 80010001 80020e10 80040002 80050001 05000014
08:46:18 ipsec,debug 5cea8380 ed0b5cf8 e0b3fbec b3200405 0500000c 0111d879 c0a8c8c4 0000000c
08:46:18 ipsec,debug 011106a5 bc7a0020
08:46:18 ipsec,debug hmac(hmac_sha1)
08:46:18 ipsec,debug HASH computed:
08:46:18 ipsec,debug 6661e034 e6cf338f 66815976 28127895 956d8d97
08:46:18 ipsec,debug total SA len=180
08:46:18 ipsec,debug 00000001 00000001 000000ac 01030406 07ab7c59 0300001c 010c0000 80010001
08:46:18 ipsec,debug 80020e10 80040002 80060100 80050002 0300001c 020c0000 80010001 80020e10
08:46:18 ipsec,debug 80040002 80060100 80050001 0300001c 030c0000 80010001 80020e10 80040002
08:46:18 ipsec,debug 80060080 80050002 0300001c 040c0000 80010001 80020e10 80040002 80060080
08:46:18 ipsec,debug 80050001 03000018 05030000 80010001 80020e10 80040002 80050002 00000018
08:46:18 ipsec,debug 06030000 80010001 80020e10 80040002 80050001
08:46:18 ipsec,debug begin.
08:46:18 ipsec,debug seen nptype=2(prop) len=172
08:46:18 ipsec,debug succeed.
08:46:18 ipsec,debug proposal #1 len=172
08:46:18 ipsec,debug begin.
08:46:18 ipsec,debug seen nptype=3(trns) len=28
08:46:18 ipsec,debug seen nptype=3(trns) len=28
08:46:18 ipsec,debug seen nptype=3(trns) len=28
08:46:18 ipsec,debug seen nptype=3(trns) len=28
08:46:18 ipsec,debug seen nptype=3(trns) len=24
08:46:18 ipsec,debug seen nptype=3(trns) len=24
08:46:18 ipsec,debug succeed.
08:46:18 ipsec,debug transform #1 len=28
08:46:18 ipsec,debug type=SA Life Type, flag=0x8000, lorv=seconds
08:46:18 ipsec,debug type=SA Life Duration, flag=0x8000, lorv=3600
08:46:18 ipsec,debug life duration was in TLV.
08:46:18 ipsec,debug type=Encryption Mode, flag=0x8000, lorv=Transport
08:46:18 ipsec,debug type=Key Length, flag=0x8000, lorv=256
08:46:18 ipsec,debug type=Authentication Algorithm, flag=0x8000, lorv=hmac-sha1
08:46:18 ipsec,debug transform #2 len=28
08:46:18 ipsec,debug type=SA Life Type, flag=0x8000, lorv=seconds
08:46:18 ipsec,debug type=SA Life Duration, flag=0x8000, lorv=3600
08:46:18 ipsec,debug life duration was in TLV.
08:46:18 ipsec,debug type=Encryption Mode, flag=0x8000, lorv=Transport
08:46:18 ipsec,debug type=Key Length, flag=0x8000, lorv=256
08:46:18 ipsec,debug type=Authentication Algorithm, flag=0x8000, lorv=hmac-md5
08:46:18 ipsec,debug transform #3 len=28
08:46:18 ipsec,debug type=SA Life Type, flag=0x8000, lorv=seconds
08:46:18 ipsec,debug type=SA Life Duration, flag=0x8000, lorv=3600
08:46:18 ipsec,debug life duration was in TLV.
08:46:18 ipsec,debug type=Encryption Mode, flag=0x8000, lorv=Transport
08:46:18 ipsec,debug type=Key Length, flag=0x8000, lorv=128
08:46:18 ipsec,debug type=Authentication Algorithm, flag=0x8000, lorv=hmac-sha1
08:46:18 ipsec,debug transform #4 len=28
08:46:18 ipsec,debug type=SA Life Type, flag=0x8000, lorv=seconds
08:46:18 ipsec,debug type=SA Life Duration, flag=0x8000, lorv=3600
08:46:18 ipsec,debug life duration was in TLV.
08:46:18 ipsec,debug type=Encryption Mode, flag=0x8000, lorv=Transport
08:46:18 ipsec,debug type=Key Length, flag=0x8000, lorv=128
08:46:18 ipsec,debug type=Authentication Algorithm, flag=0x8000, lorv=hmac-md5
08:46:18 ipsec,debug transform #5 len=24
08:46:18 ipsec,debug type=SA Life Type, flag=0x8000, lorv=seconds
08:46:18 ipsec,debug type=SA Life Duration, flag=0x8000, lorv=3600
08:46:18 ipsec,debug life duration was in TLV.
08:46:18 ipsec,debug type=Encryption Mode, flag=0x8000, lorv=Transport
08:46:18 ipsec,debug type=Authentication Algorithm, flag=0x8000, lorv=hmac-sha1
08:46:18 ipsec,debug transform #6 len=24
08:46:18 ipsec,debug type=SA Life Type, flag=0x8000, lorv=seconds
08:46:18 ipsec,debug type=SA Life Duration, flag=0x8000, lorv=3600
08:46:18 ipsec,debug life duration was in TLV.
08:46:18 ipsec,debug type=Encryption Mode, flag=0x8000, lorv=Transport
08:46:18 ipsec,debug type=Authentication Algorithm, flag=0x8000, lorv=hmac-md5
08:46:18 ipsec,debug pair 1:
08:46:18 ipsec,debug 0x48a3a8: next=(nil) tnext=0x48a5c8
08:46:18 ipsec,debug 0x48a5c8: next=(nil) tnext=0x48a5e0
08:46:18 ipsec,debug 0x48a5e0: next=(nil) tnext=0x48a5f8
08:46:18 ipsec,debug 0x48a5f8: next=(nil) tnext=0x48a9b8
08:46:18 ipsec,debug 0x48a9b8: next=(nil) tnext=0x48a9d0
08:46:18 ipsec,debug 0x48a9d0: next=(nil) tnext=(nil)
08:46:18 ipsec,debug proposal #1: 6 transform
08:46:18 ipsec,debug got the peer address from ID payload anonymous prefixlen=0 ul_proto=17
08:46:18 ipsec,debug got the local address from ID payload xxx.xxx.xxx.xxx[1701] prefixlen=32 ul_proto=17
08:46:18 ipsec,debug updating policy address because of NAT in transport mode
08:46:18 ipsec,debug (proto_id=ESP spisize=4 spi=00000000 spi_p=00000000 encmode=Transport reqid=5:5)
08:46:18 ipsec,debug (trns_id=AES-CBC encklen=256 authtype=hmac-sha1)
08:46:18 ipsec,debug (trns_id=AES-CBC encklen=192 authtype=hmac-sha1)
08:46:18 ipsec,debug (trns_id=AES-CBC encklen=128 authtype=hmac-sha1)
08:46:18 ipsec,debug (trns_id=3DES encklen=0 authtype=hmac-sha1)
08:46:18 ipsec,debug begin compare proposals.
08:46:18 ipsec,debug pair[1]: 0x48a3a8
08:46:18 ipsec,debug 0x48a3a8: next=(nil) tnext=0x48a5c8
08:46:18 ipsec,debug 0x48a5c8: next=(nil) tnext=0x48a5e0
08:46:18 ipsec,debug 0x48a5e0: next=(nil) tnext=0x48a5f8
08:46:18 ipsec,debug 0x48a5f8: next=(nil) tnext=0x48a9b8
08:46:18 ipsec,debug 0x48a9b8: next=(nil) tnext=0x48a9d0
08:46:18 ipsec,debug 0x48a9d0: next=(nil) tnext=(nil)
08:46:18 ipsec,debug prop#=1 prot-id=ESP spi-size=4 #trns=6 trns#=1 trns-id=AES-CBC
08:46:18 ipsec,debug type=SA Life Type, flag=0x8000, lorv=seconds
08:46:18 ipsec,debug type=SA Life Duration, flag=0x8000, lorv=3600
08:46:18 ipsec,debug type=Encryption Mode, flag=0x8000, lorv=Transport
08:46:18 ipsec,debug type=Key Length, flag=0x8000, lorv=256
08:46:18 ipsec,debug type=Authentication Algorithm, flag=0x8000, lorv=hmac-sha1
08:46:18 ipsec,debug prop#=1 prot-id=ESP spi-size=4 #trns=6 trns#=2 trns-id=AES-CBC
08:46:18 ipsec,debug type=SA Life Type, flag=0x8000, lorv=seconds
08:46:18 ipsec,debug type=SA Life Duration, flag=0x8000, lorv=3600
08:46:18 ipsec,debug type=Encryption Mode, flag=0x8000, lorv=Transport
08:46:18 ipsec,debug type=Key Length, flag=0x8000, lorv=256
08:46:18 ipsec,debug type=Authentication Algorithm, flag=0x8000, lorv=hmac-md5
08:46:18 ipsec,debug prop#=1 prot-id=ESP spi-size=4 #trns=6 trns#=3 trns-id=AES-CBC
08:46:18 ipsec,debug type=SA Life Type, flag=0x8000, lorv=seconds
08:46:18 ipsec,debug type=SA Life Duration, flag=0x8000, lorv=3600
08:46:18 ipsec,debug type=Encryption Mode, flag=0x8000, lorv=Transport
08:46:18 ipsec,debug type=Key Length, flag=0x8000, lorv=128
08:46:18 ipsec,debug type=Authentication Algorithm, flag=0x8000, lorv=hmac-sha1
08:46:18 ipsec,debug prop#=1 prot-id=ESP spi-size=4 #trns=6 trns#=4 trns-id=AES-CBC
08:46:18 ipsec,debug type=SA Life Type, flag=0x8000, lorv=seconds
08:46:18 ipsec,debug type=SA Life Duration, flag=0x8000, lorv=3600
08:46:18 ipsec,debug type=Encryption Mode, flag=0x8000, lorv=Transport
08:46:18 ipsec,debug type=Key Length, flag=0x8000, lorv=128
08:46:18 ipsec,debug type=Authentication Algorithm, flag=0x8000, lorv=hmac-md5
08:46:18 ipsec,debug prop#=1 prot-id=ESP spi-size=4 #trns=6 trns#=5 trns-id=3DES
08:46:18 ipsec,debug type=SA Life Type, flag=0x8000, lorv=seconds
08:46:18 ipsec,debug type=SA Life Duration, flag=0x8000, lorv=3600
08:46:18 ipsec,debug type=Encryption Mode, flag=0x8000, lorv=Transport
08:46:18 ipsec,debug type=Authentication Algorithm, flag=0x8000, lorv=hmac-sha1
08:46:18 ipsec,debug prop#=1 prot-id=ESP spi-size=4 #trns=6 trns#=6 trns-id=3DES
08:46:18 ipsec,debug type=SA Life Type, flag=0x8000, lorv=seconds
08:46:18 ipsec,debug type=SA Life Duration, flag=0x8000, lorv=3600
08:46:18 ipsec,debug type=Encryption Mode, flag=0x8000, lorv=Transport
08:46:18 ipsec,debug type=Authentication Algorithm, flag=0x8000, lorv=hmac-md5
08:46:18 ipsec,debug peer's single bundle:
08:46:18 ipsec,debug (proto_id=ESP spisize=4 spi=07ab7c59 spi_p=00000000 encmode=Transport reqid=0:0)
08:46:18 ipsec,debug (trns_id=AES-CBC encklen=256 authtype=hmac-sha1)
08:46:18 ipsec,debug (trns_id=AES-CBC encklen=256 authtype=hmac-md5)
08:46:18 ipsec,debug (trns_id=AES-CBC encklen=128 authtype=hmac-sha1)
08:46:18 ipsec,debug (trns_id=AES-CBC encklen=128 authtype=hmac-md5)
08:46:18 ipsec,debug (trns_id=3DES encklen=0 authtype=hmac-sha1)
08:46:18 ipsec,debug (trns_id=3DES encklen=0 authtype=hmac-md5)
08:46:18 ipsec,debug my single bundle:
08:46:18 ipsec,debug (proto_id=ESP spisize=4 spi=00000000 spi_p=00000000 encmode=Transport reqid=5:5)
08:46:18 ipsec,debug (trns_id=AES-CBC encklen=256 authtype=hmac-sha1)
08:46:18 ipsec,debug (trns_id=AES-CBC encklen=192 authtype=hmac-sha1)
08:46:18 ipsec,debug (trns_id=AES-CBC encklen=128 authtype=hmac-sha1)
08:46:18 ipsec,debug (trns_id=3DES encklen=0 authtype=hmac-sha1)
08:46:18 ipsec,debug matched
08:46:18 ipsec,debug ===
08:46:18 ipsec,debug call pfkey_send_getspi 17d965e3
08:46:18 ipsec,debug pfkey GETSPI sent: ESP/Transport 192.168.200.196[500]->xxx.xxx.xxx.xxx[500]
08:46:18 ipsec,debug pfkey getspi sent.
08:46:18 ipsec,debug total SA len=48
08:46:18 ipsec,debug 00000001 00000001 00000028 01030401 00000000 0000001c 010c0000 80010001
08:46:18 ipsec,debug 80020e10 80040002 80060100 80050002
08:46:18 ipsec,debug begin.
08:46:18 ipsec,debug seen nptype=2(prop) len=40
08:46:18 ipsec,debug succeed.
08:46:18 ipsec,debug proposal #1 len=40
08:46:18 ipsec,debug begin.
08:46:18 ipsec,debug seen nptype=3(trns) len=28
08:46:18 ipsec,debug succeed.
08:46:18 ipsec,debug transform #1 len=28
08:46:18 ipsec,debug type=SA Life Type, flag=0x8000, lorv=seconds
08:46:18 ipsec,debug type=SA Life Duration, flag=0x8000, lorv=3600
08:46:18 ipsec,debug life duration was in TLV.
08:46:18 ipsec,debug type=Encryption Mode, flag=0x8000, lorv=Transport
08:46:18 ipsec,debug type=Key Length, flag=0x8000, lorv=256
08:46:18 ipsec,debug type=Authentication Algorithm, flag=0x8000, lorv=hmac-sha1
08:46:18 ipsec,debug pair 1:
08:46:18 ipsec,debug 0x489eb8: next=(nil) tnext=(nil)
08:46:18 ipsec,debug proposal #1: 1 transform
08:46:18 ipsec,debug add payload of len 48, next type 10
08:46:18 ipsec,debug add payload of len 24, next type 5
08:46:18 ipsec,debug add payload of len 8, next type 5
08:46:18 ipsec,debug add payload of len 8, next type 0
08:46:18 ipsec,debug HASH with:
08:46:18 ipsec,debug 4131eefe 5cea8380 ed0b5cf8 e0b3fbec b3200405 0a000034 00000001 00000001
08:46:18 ipsec,debug 00000028 01030401 01936c2e 0000001c 010c0000 80010001 80020e10 80040002
08:46:18 ipsec,debug 80060100 80050002 0500001c a2cc8300 35dde691 63dbfbd5 23f03cd3 9de0024a
08:46:18 ipsec,debug ea10d79b 0500000c 0111d879 c0a8c8c4 0000000c 011106a5 bc7a0020
08:46:18 ipsec,debug hmac(hmac_sha1)
08:46:18 ipsec,debug HASH computed:
08:46:18 ipsec,debug 022563da f9dfb7f1 60f76946 9314488a f3c96807
08:46:18 ipsec,debug add payload of len 20, next type 1
08:46:18 ipsec,debug begin encryption.
08:46:18 ipsec,debug encryption(aes)
08:46:18 ipsec,debug pad length = 16
08:46:18 ipsec,debug 01000018 022563da f9dfb7f1 60f76946 9314488a f3c96807 0a000034 00000001
08:46:18 ipsec,debug 00000001 00000028 01030401 01936c2e 0000001c 010c0000 80010001 80020e10
08:46:18 ipsec,debug 80040002 80060100 80050002 0500001c a2cc8300 35dde691 63dbfbd5 23f03cd3
08:46:18 ipsec,debug 9de0024a ea10d79b 0500000c 0111d879 c0a8c8c4 0000000c 011106a5 bc7a0020
08:46:18 ipsec,debug bdf9cbd5 c8b48aa0 a3a5a7d1 e982d40f
08:46:18 ipsec,debug encryption(aes)
08:46:18 ipsec,debug with key:
08:46:18 ipsec,debug 96d039ce 77d263f8 d0224452 6581387d 4a8eddb7 937d52cd ad49e01f 9673741c
08:46:18 ipsec,debug encrypted payload by IV:
08:46:18 ipsec,debug 9c16e331 76403fa2 71992dbd f5879c87
08:46:18 ipsec,debug save IV for next:
08:46:18 ipsec,debug 1c7c44ee 14b4b00b 7aa9afe2 9cbfe3ed
08:46:18 ipsec,debug encrypted.
08:46:18 ipsec,debug 172 bytes from xxx.xxx.xxx.xxx[500] to 192.168.200.196[500]
08:46:18 ipsec,debug 1 times of 172 bytes message will be sent to 192.168.200.196[500]
08:46:18 ipsec,debug,packet f18810a0 f309cd13 af3d6cdf 95017316 08102001 4131eefe 000000ac addc6080
08:46:18 ipsec,debug,packet d3ced678 773c87c4 132981b5 8b097091 6f2d65f0 ad7e59d4 36c5ab3d 1d199fa6
08:46:18 ipsec,debug,packet f8fde333 1649cf9d b7b3bae9 6c43c46b 07d80849 8ce32285 d9633ebc d511f3ac
08:46:18 ipsec,debug,packet 9d24458d de8009b9 ba6932d5 bfbffe5f b0f4e4b8 8ba0675d 664a4dea 09898c91
08:46:18 ipsec,debug,packet 80c2342e 54ef4645 f74c366b aae0914f c6a463e2 da758035 93b71bfd 1c7c44ee
08:46:18 ipsec,debug,packet 14b4b00b 7aa9afe2 9cbfe3ed
08:46:18 ipsec,debug ===== received 60 bytes from 192.168.200.196[500] to xxx.xxx.xxx.xxx[500]
08:46:18 ipsec,debug,packet f18810a0 f309cd13 af3d6cdf 95017316 08102001 4131eefe 0000003c 0f6873c0
08:46:18 ipsec,debug,packet 4cf3e0e0 1ef6ec03 2cfa6d15 14eca9b3 18fe545b 6f3cad94 65f64562
08:46:18 ipsec,debug encryption(aes)
08:46:18 ipsec,debug IV was saved for next processing:
08:46:18 ipsec,debug 14eca9b3 18fe545b 6f3cad94 65f64562
08:46:18 ipsec,debug encryption(aes)
08:46:18 ipsec,debug with key:
08:46:18 ipsec,debug 96d039ce 77d263f8 d0224452 6581387d 4a8eddb7 937d52cd ad49e01f 9673741c
08:46:18 ipsec,debug decrypted payload by IV:
08:46:18 ipsec,debug 1c7c44ee 14b4b00b 7aa9afe2 9cbfe3ed
08:46:18 ipsec,debug decrypted payload, but not trimed.
08:46:18 ipsec,debug 00000018 64c82c9a efa254ff 0e26f362 9234632d 6e273da7 00000000 00000008
08:46:18 ipsec,debug padding len=9
08:46:18 ipsec,debug skip to trim padding.
08:46:18 ipsec,debug decrypted.
08:46:18 ipsec,debug f18810a0 f309cd13 af3d6cdf 95017316 08102001 4131eefe 0000003c 00000018
08:46:18 ipsec,debug 64c82c9a efa254ff 0e26f362 9234632d 6e273da7 00000000 00000008
08:46:18 ipsec,debug begin.
08:46:18 ipsec,debug seen nptype=8(hash) len=24
08:46:18 ipsec,debug succeed.
08:46:18 ipsec,debug HASH(3) validate:
08:46:18 ipsec,debug 64c82c9a efa254ff 0e26f362 9234632d 6e273da7
08:46:18 ipsec,debug HASH with:
08:46:18 ipsec,debug 004131ee fe5cea83 80ed0b5c f8e0b3fb ecb32004 05a2cc83 0035dde6 9163dbfb
08:46:18 ipsec,debug d523f03c d39de002 4aea10d7 9b
08:46:18 ipsec,debug hmac(hmac_sha1)
08:46:18 ipsec,debug HASH computed:
08:46:18 ipsec,debug 64c82c9a efa254ff 0e26f362 9234632d 6e273da7
08:46:18 ipsec,debug ===
08:46:18 ipsec,debug KEYMAT compute with
08:46:18 ipsec,debug 0301936c 2e5cea83 80ed0b5c f8e0b3fb ecb32004 05a2cc83 0035dde6 9163dbfb
08:46:18 ipsec,debug d523f03c d39de002 4aea10d7 9b
08:46:18 ipsec,debug hmac(hmac_sha1)
08:46:18 ipsec,debug encryption(aes-cbc)
08:46:18 ipsec,debug hmac(sha1)
08:46:18 ipsec,debug encklen=256 authklen=160
08:46:18 ipsec,debug generating 640 bits of key (dupkeymat=4)
08:46:18 ipsec,debug generating K1...K4 for KEYMAT.
08:46:18 ipsec,debug hmac(hmac_sha1)
08:46:18 ipsec,debug hmac(hmac_sha1)
08:46:18 ipsec,debug hmac(hmac_sha1)
08:46:18 ipsec,debug e4c3a890 6a1e892a 82fddcb6 6712445f 57e5f044 ca3a0c71 1280c1e9 947bdb2c
08:46:18 ipsec,debug dc9c7760 abc738c3 6e15a74f c3842abf 1f18c270 03e16ebb 27978866 773eb890
08:46:18 ipsec,debug 4e00e916 9f83be5f c573fa63 8716f39f
08:46:18 ipsec,debug KEYMAT compute with
08:46:18 ipsec,debug 0307ab7c 595cea83 80ed0b5c f8e0b3fb ecb32004 05a2cc83 0035dde6 9163dbfb
08:46:18 ipsec,debug d523f03c d39de002 4aea10d7 9b
08:46:18 ipsec,debug hmac(hmac_sha1)
08:46:18 ipsec,debug encryption(aes-cbc)
08:46:18 ipsec,debug hmac(sha1)
08:46:18 ipsec,debug encklen=256 authklen=160
08:46:18 ipsec,debug generating 640 bits of key (dupkeymat=4)
08:46:18 ipsec,debug generating K1...K4 for KEYMAT.
08:46:18 ipsec,debug hmac(hmac_sha1)
08:46:18 ipsec,debug hmac(hmac_sha1)
08:46:18 ipsec,debug hmac(hmac_sha1)
08:46:18 ipsec,debug 1114ff76 8a6bd136 3dc31096 f9635534 287cfd84 27a00ca5 9688202c 18cf51e9
08:46:18 ipsec,debug 4830a7f7 1d32f853 0b714f06 d2e84f88 ca2489d4 285fbad8 0be9f16e f10d9ff4
08:46:18 ipsec,debug af4d33c2 cb3c3250 92aae138 7f49d994
08:46:18 ipsec,debug KEYMAT computed.
08:46:18 ipsec,debug call pk_sendupdate
08:46:18 ipsec,debug encryption(aes-cbc)
08:46:18 ipsec,debug hmac(sha1)
08:46:18 ipsec,debug call pfkey_send_update_nat
08:46:18 ipsec,debug pfkey update sent.
08:46:18 ipsec,debug encryption(aes-cbc)
08:46:18 ipsec,debug hmac(sha1)
08:46:18 ipsec,debug call pfkey_send_add_nat
08:46:18 ipsec,debug pfkey add sent.
08:46:19 l2tp,info first L2TP UDP packet received from 192.168.200.196
08:46:19 ipsec,debug ===== received 76 bytes from 192.168.200.196[500] to xxx.xxx.xxx.xxx[500]
08:46:19 ipsec,debug,packet f18810a0 f309cd13 af3d6cdf 95017316 08100501 a44e5466 0000004c f7f5bde5
08:46:19 ipsec,debug,packet 20c2afbd a779cf52 096d0907 0044ad10 b1c3d4d4 458f8eaf 5867951b c80f661a
08:46:19 ipsec,debug,packet 167187cd d0d17eca 031b4685
08:46:19 ipsec,debug compute IV for phase2
08:46:19 ipsec,debug phase1 last IV:
08:46:19 ipsec,debug 063dd527 5467bd5e ed21b483 27b26b85 a44e5466
08:46:19 ipsec,debug hash(sha1)
08:46:19 ipsec,debug encryption(aes)
08:46:19 ipsec,debug phase2 IV computed:
08:46:19 ipsec,debug 4406a30f f73eaf8f 45f810d2 42a95946
08:46:19 ipsec,debug encryption(aes)
08:46:19 ipsec,debug IV was saved for next processing:
08:46:19 ipsec,debug c80f661a 167187cd d0d17eca 031b4685
08:46:19 ipsec,debug encryption(aes)
08:46:19 ipsec,debug with key:
08:46:19 ipsec,debug 96d039ce 77d263f8 d0224452 6581387d 4a8eddb7 937d52cd ad49e01f 9673741c
08:46:19 ipsec,debug decrypted payload by IV:
08:46:19 ipsec,debug 4406a30f f73eaf8f 45f810d2 42a95946
08:46:19 ipsec,debug decrypted payload, but not trimed.
08:46:19 ipsec,debug 0c000018 8bc5c323 3c95de0d 5ec133c5 05106193 33ce8134 00000010 00000001
08:46:19 ipsec,debug 03040001 07ab7c59 00000000 00000008
08:46:19 ipsec,debug padding len=9
08:46:19 ipsec,debug skip to trim padding.
08:46:19 ipsec,debug decrypted.
08:46:19 ipsec,debug f18810a0 f309cd13 af3d6cdf 95017316 08100501 a44e5466 0000004c 0c000018
08:46:19 ipsec,debug 8bc5c323 3c95de0d 5ec133c5 05106193 33ce8134 00000010 00000001 03040001
08:46:19 ipsec,debug 07ab7c59 00000000 00000008
08:46:19 ipsec,debug HASH with:
08:46:19 ipsec,debug a44e5466 00000010 00000001 03040001 07ab7c59
08:46:19 ipsec,debug hmac(hmac_sha1)
08:46:19 ipsec,debug HASH computed:
08:46:19 ipsec,debug 8bc5c323 3c95de0d 5ec133c5 05106193 33ce8134
08:46:19 ipsec,debug hash validated.
08:46:19 ipsec,debug begin.
08:46:19 ipsec,debug seen nptype=8(hash) len=24
08:46:19 ipsec,debug seen nptype=12(delete) len=16
08:46:19 ipsec,debug succeed.
08:46:19 ipsec,debug 192.168.200.196 delete payload for protocol ESP
08:46:19 ipsec,debug an undead schedule has been deleted.
08:46:19 ipsec,debug purged SAs.
08:46:19 ipsec,debug ===== received 92 bytes from 192.168.200.196[500] to xxx.xxx.xxx.xxx[500]
08:46:19 ipsec,debug,packet f18810a0 f309cd13 af3d6cdf 95017316 08100501 fc570182 0000005c c0c96279
08:46:19 ipsec,debug,packet f6fe9773 e9337be4 200869c1 060d0a0e 18a6db24 e2700289 41a098c0 b2595442
08:46:19 ipsec,debug,packet 1d13f098 939dbcc5 a778e8c6 9456461b c8e21fe7 0a4ae25e 66b7fbd9
08:46:19 ipsec,debug compute IV for phase2
08:46:19 ipsec,debug phase1 last IV:
08:46:19 ipsec,debug 063dd527 5467bd5e ed21b483 27b26b85 fc570182
08:46:19 ipsec,debug hash(sha1)
08:46:19 ipsec,debug encryption(aes)
08:46:19 ipsec,debug phase2 IV computed:
08:46:19 ipsec,debug e3442be5 1659f527 5e65e71c e2de92d8
08:46:19 ipsec,debug encryption(aes)
08:46:19 ipsec,debug IV was saved for next processing:
08:46:19 ipsec,debug 9456461b c8e21fe7 0a4ae25e 66b7fbd9
08:46:19 ipsec,debug encryption(aes)
08:46:19 ipsec,debug with key:
08:46:19 ipsec,debug 96d039ce 77d263f8 d0224452 6581387d 4a8eddb7 937d52cd ad49e01f 9673741c
08:46:19 ipsec,debug decrypted payload by IV:
08:46:19 ipsec,debug e3442be5 1659f527 5e65e71c e2de92d8
08:46:19 ipsec,debug decrypted payload, but not trimed.
08:46:19 ipsec,debug 0c000018 6149822f 5824e347 34d67871 0ae077f6 6d32b063 0000001c 00000001
08:46:19 ipsec,debug 01100001 f18810a0 f309cd13 af3d6cdf 95017316 00000000 00000000 0000000c
08:46:19 ipsec,debug padding len=13
08:46:19 ipsec,debug skip to trim padding.
08:46:19 ipsec,debug decrypted.
08:46:19 ipsec,debug f18810a0 f309cd13 af3d6cdf 95017316 08100501 fc570182 0000005c 0c000018
08:46:19 ipsec,debug 6149822f 5824e347 34d67871 0ae077f6 6d32b063 0000001c 00000001 01100001
08:46:19 ipsec,debug f18810a0 f309cd13 af3d6cdf 95017316 00000000 00000000 0000000c
08:46:19 ipsec,debug HASH with:
08:46:19 ipsec,debug fc570182 0000001c 00000001 01100001 f18810a0 f309cd13 af3d6cdf 95017316
08:46:19 ipsec,debug hmac(hmac_sha1)
08:46:19 ipsec,debug HASH computed:
08:46:19 ipsec,debug 6149822f 5824e347 34d67871 0ae077f6 6d32b063
08:46:19 ipsec,debug hash validated.
08:46:19 ipsec,debug begin.
08:46:19 ipsec,debug seen nptype=8(hash) len=24
08:46:19 ipsec,debug seen nptype=12(delete) len=28
08:46:19 ipsec,debug succeed.
08:46:19 ipsec,debug 192.168.200.196 delete payload for protocol ISAKMP
08:46:19 ipsec,info purging ISAKMP-SA xxx.xxx.xxx.xxx[500]<=>192.168.200.196[500] spi=f18810a0f309cd13:af3d6cdf95017316.
08:46:19 ipsec,debug purged SAs.
08:46:20 ipsec,info ISAKMP-SA deleted xxx.xxx.xxx.xxx[[500]-192.168.200.196[500] spi:f18810a0f309cd13:af3d6cdf95017316 rekey:1
08:46:20 ipsec,debug an undead schedule has been deleted.
[admin@MikroTik] /log>
After 2 days I run out of options…
Please give me some advice.