Coder Social home page Coder Social logo

openiked's Introduction

OpenIKED

This is a development mirror of OpenBSD's iked.

iked is a lean Internet Key Exchange (IKEv2) daemon which performs mutual authentication and which establishes and maintains IPsec VPN flows and security associations (SAs) between the two peers. The IKEv2 protocol is defined in RFC 5996, which combines and updates the previous standards: ISAKMP/Oakley (RFC 2408), IKE (RFC 2409), and the Internet DOI (RFC 2407). iked only supports the IKEv2 protocol; support for ISAKMP/Oakley and IKEv1 is provided by OpenBSD's isakmpd(8) or other implementations on non-OpenBSD platforms.

iked supports mutual authentication using RSA public keys and X.509 certificates, it also support responder/server-side authentication of clients using the EAP-MSCHAPv2 protocol over IKEv2. It interconnects with other IKEv2 implementations like the native IKEv2 implementation of Windows 7 or newer (aka Agile VPN) or strongSwan.

The main development of iked is being done for OpenBSD and the source tree is found in OpenBSD's CVS repository. Like most of the projects from the OpenBSD repository, the original source code does not include any portability glue (#ifdefs) and is specifically developed for OpenBSD.

The main development tree is found in the src/sbin/iked and src/usr.sbin/ikectl directories of the OpenBSD CVS repository:

Supported Platforms

Original version:

  • OpenBSD 4.8 or newer

The portable version has been suspended and is not available at present. It previously supported the following platforms:

  • Darwin (Apple OS X Mountain Lion 10.8) - DEPRECATED
  • Linux (Ubuntu 12.10 GNU/Linux 3.5.0-19-generic) - DEPRECATED
  • FreeBSD (FreeBSD 9.0-RELEASE with IPSEC kernel) - DEPRECATED
  • NetBSD (NetBSD 6.0 with IPSEC kernel) - DEPRECATED

Authors

See LICENSE.md for information about copyright and licensing.

Reyk

Flattr this git repo

openiked's People

Contributors

reyk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openiked's Issues

Documentation of config format

There is some parts of the config format that isn't documented, but is used in the examples. More specifically there is a config directive that seams to allow set DHCP/DNS/IP options, and I guess it's related to MODE_CFG.

It would be nice if it was properly documented, as well as additional examples.

user "test" "password123" 

ikev2 "win7" esp \ 
    from 0.0.0.0/0 to 172.16.2.0/24 \ 
    peer 10.0.0.0/8 local 192.168.56.0/24 \ 
    eap "mschap-v2" \ 
    config address 172.16.2.1 \ # This isn't documented
    tag "$name-$id"

the order of keywords matter, which is not documented

I had the ikesa and childsa at a different position, and the configuration file failed to parse. It was not obvious this was due to the order of the "sections".

This fails:

ikev2 test esp
from 10.0.1.0/24 to 10.0.2.0/24
local 1.2.3.4 peer 5.6.7.8
srcid foo dstid bar
ikesa enc aes-256 auth hmac-sha2-256 group esp256
childsa enc aes-128-gcm
psk test
tag FOO

but this works:

ikev2 test esp
from 10.0.1.0/24 to 10.0.2.0/24
local 1.2.3.4 peer 5.6.7.8
ikesa enc aes-256 auth hmac-sha2-256 group esp256
childsa enc aes-128-gcm
srcid foo dstid bar
psk test
tag FOO

aes-128-gcm not a valid transform

Hi there,

I got this strange error on a clean OpenBSD 6.3 GENERIC#490 i386 (iked,v 1.6 2018/01/11)

/etc/iked.conf

ikev2 test \
        esp     from 0.0.0.0/0 to 0.0.0.0/0 peer 172.16.0.1 \
        ikesa enc aes-128-gcm group ecp256 \
        srcid jack \
        dstid 172.16.0.1

/sbin/iked -dvv

/etc/iked.conf: 3: aes-128-gcm not a valid transform
ca exiting, pid 374
control exiting, pid 19575
ikev2 exiting, pid 6367
Segmentation fault (core dumped)

any suggestions?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.