hsuenaga / openiked Goto Github PK
View Code? Open in Web Editor NEWThis project forked from reyk/openiked
Internet Key Exchange version 2 (IKEv2) daemon - portable version of OpenBSD iked
License: Other
This project forked from reyk/openiked
Internet Key Exchange version 2 (IKEv2) daemon - portable version of OpenBSD iked
License: Other
RFC4306 1.4. says
Each endpoint MUST close its incoming SAs and allow the
other endpoint to close the other SA in each pair. To delete an SA,
an INFORMATIONAL exchange with one or more delete payloads is sent
listing the SPIs (as they would be expected in the headers of inbound
packets) of the SAs to be deleted.
Network:
[OpenBSD(Reference)] --- [NetBSD(DUT)]
192.168.87.10 192.168.87.11
Config:
OpenBSD:
ikev2 active esp \
from 192.168.87.10 to 192.168.87.11 \
peer 192.168.87.11 local 192.168.87.10 \
ikesa enc 3des auth hmac-sha1 group modp1024 \
childsa enc aes-128 auth hmac-sha1 \
psk "foobar"
NetBSD:
ikev2 test-policy active esp \
from 192.168.87.11 to 192.168.87.10 \
peer 192.168.87.10 local 192.168.87.11 \
ikesa enc 3des auth hmac-sha1 group modp1024 \
childsa enc aes-128 auth hmac-sha1 \
psk "foobar"
(1) Prepare
openbsd# iked
netbsd# iked -dvv
(waiting for 1st CHILD_SA established)
(2) Create more SA
openbsd# ikectl reset sa
XXX: openbsd doesn't send INFOMATION(DELETE SA)
(3) Reset SA
netbsd# ike reset sa
(4) the error
SADB_X_SPDDELETE: pfkey_reply message: Invalid argument
SADB_X_SPDDELETE: pfkey_reply message: Invalid argument
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.