Re: [strongSwan] Calculating the generated MAC address when identity_lease is enabled

2018-04-08 Thread Micah R Ledbetter
Hello Tobias, > A MAC address is 48 bits, so the 32 bits after the first two bytes > are taken from the 64-bit SipHash-2-4 value (just by casting to an > uint32_t) which is then run through htonl() and copied to the address > buffer. To calculate the value the 128-bit key > 0x0001020304050607080

[strongSwan] Can't connect to peer network(showing INVALID_SYNTAX error)

2018-04-08 Thread 李雄飞
hi,All: i am trying to create a vpn tunle with strongswan(peer network is VFrame platform),but its has a issue. below is detail. can someone ask me some questions: 1 what's mean INVALID_SYNTAX error? 1.1 i already put /var/log/syslog below for you check. 1.2 i already put tcpdump result of udp:5