Git Product home page Git Product logo

zoulasc / racoon2 Goto Github PK

View Code? Open in Web Editor NEW
18.0 6.0 11.0 3.42 MB

The Racoon2 project is a joint effort which provides an implementation of key management system for IPsec. The implementation is called Racoon2, a successor of Racoon, which was developed by the KAME project. It supports IKEv1, IKEv2, and KINK protocols. It works on FreeBSD, NetBSD, Linux, and Mac OS X. Racoon2 is provided under a BSD-style license. To support various environments that use IPsec, we will develop various functions.

License: Other

Makefile 0.10% C 94.00% M4 2.37% Roff 0.91% Shell 0.53% C++ 0.13% Yacc 1.17% Lex 0.67% Perl 0.13%

racoon2's People

Stargazers

 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

racoon2's Issues

Clarify purpose and status of racoon2/zoulasc in README/README.md

@zoulasc: an org https://github.com/racoon2project and move this repository?

@kamadak: It is possible to add the website on github?

It will be nice to have this GitHub in News section, and other part too, remove old links "CVS Repository" and have "Git Repository"...

Remove and redirect http://www.racoon2.wide.ad.jp/cvsweb/racoon2/ to this git?

Download -> all releases in https://github.com/zoulasc/racoon2/releases...

Originally posted by @Neustradamus in #2 (comment)

IKEv2 send_cert and send_cert_req issue

Hello, tks for the amazing ipsec opensource!

  I am using racoon2 for making my own ipsec tunnel. I want to use options send_cert and send_cert_req. As in your codes, they had not been tested yet. Can you give me an guide to deal with this?
  PS: I did edit the code (by comment  the block - UNSUPPORTED  send_cert and send_cert_req) in /src/iked/ike_conf.c and make the project again, config the: peers_public_key ascii "peer_cert.pem" in tunnel.conf. But the log still show "failed to get  public key".
  Tks again
  Hoang

Missing include files when builddir != srcdir

I am building in $DIR_BUILD with a git clone in $DIR_SRC. This is supposed to work with autotools, and it usually does.

I tried, and failed, with

        cd "$DIR_BUILD"
        rm -rf *
        autoreconf -f -i "$DIR_BUILD" && \
        "$DIR_SRC/configure" --prefix="/usr" && \
        make && \
        empty_dir "$DIR_TREE" && \
        make DESTDIR="$DIR_TREE" install

Problems I found are:

  • It stores configuration files in $DIR_SRC
  • The make call cannot find lib/*h files (missing.h, racoon.h, rc_malloc.h, ...)
  • The make install call does not properly locate the samples (01setkey was the first reported)

I must be doing something wrong; have a poor understanding of autotools, but know that the separation of $DIR_SRC and $DIR_BUILD is part of its intentions. Can you try this and make it work?

Autotools?

There is no more a configure script as indicated in doc/INSTALL; could you please give instructions of the right way of using autotools? I looked for tagged versions, or packages with a configure included, and found none. Is there perhaps a download site for recent stable versions that I missed?

Patching security vulnerabilities

@zmudc: Look here, maybe code to integrate?

Originally posted by @Neustradamus in #2 (comment)

After reviewing the past history of the ipsec-tools package and what has been patched by the Linux distributions mentioned above, at the very least we need to check if any security vulnerabilities that have been patched in ipsec-tools and racoon apply to racoon2. One such vulnerability is CVE-2016-10396, which was patched in racoon at:

https://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=51682

Error while running "make"

I'm running the following commands in racoon dir (outside iked,kinkd):

make distclean
CFLAGS=-D_GNU_SOURCE ./configure
make

I see the following error. Any idea what I'm doing wrong?

vmbuf.c: In function ‘vmemcmp’:
vmbuf.c:145:6: error: pointer targets in assignment differ in signedness [-Werror=pointer-sign]
   p1 = s1->v;
      ^
vmbuf.c:146:6: error: pointer targets in assignment differ in signedness [-Werror=pointer-sign]
   p2 = s2->v;
      ^
cc1: all warnings being treated as errors

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.