Code Monkey home page Code Monkey logo

quicktun's People

Contributors

dereckson avatar rotty avatar tg-x avatar ucis 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  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  avatar  avatar  avatar  avatar

quicktun's Issues

Encryption key calculation failed with protocol salty

Archlinux 4.14.73-1-ARCH with libsodium 1.0.16-1: key pair created with ./out/quicktun.keypair:

sudo ./out/quicktun -c PROTOCOL salty -c TUN_MODE 1 -c PRIVATE_KEY_FILE priv.key -c PUBLIC_KEY 5206379a6a4d6b06451d64b229687ea4e87dbc4511245a094d6788432a0ef70b
UCIS QuickTun 2.2.6 (c) 2010-2017 Ivo Smits [email protected]
More information: http://wiki.ucis.nl/QuickTun
Initializing UDP socket...
Initializing tun/tap device...
Initializing cryptography...
Encryption key calculation failed
Aborted

works with nacltai

sudo ./out/quicktun -c PROTOCOL nacltai -c TUN_MODE 1 -c PRIVATE_KEY_FILE priv.key -c PUBLIC_KEY 5206379a6a4d6b06451d64b229687ea4e87dbc4511245a094d6788432a0ef70b
UCIS QuickTun 2.2.6 (c) 2010-2017 Ivo Smits [email protected]
More information: http://wiki.ucis.nl/QuickTun
Initializing UDP socket...
Initializing tun/tap device...
Initializing cryptography...
Warning: TIME_WINDOW not set, risking an initial replay attack
The tunnel is now operational!

What am i doing wrong?

Build issues on OS X 10.11 (El Capitan)

Building with ./build.sh fails with

Detected Mac OS X (Darwin)
Cleaning up...
Creating source archive...
tar: Option --transform is not supported
Usage:

as Mac OS X tar doesn't support this flag. Installing GNU tar (gnu-tar) via MacPorts and applying

diff --git a/build.sh b/build.sh
index 1467c9a..f8afa3e 100755
--- a/build.sh
+++ b/build.sh
@@ -17,6 +17,7 @@ elif [ "$(uname -s)" = "Darwin" ]; then
        echo "Detected Mac OS X (Darwin)"
        CFLAGS="$CFLAGS -arch i686"
        LDFLAGS="$LDFLAGS -arch i686"
+       tar=gtar
 fi

 echo Cleaning up...

get's us to

Building combined binary...
In file included from src/proto.raw.c:26:
src/common.c:48:11: fatal error: 'net/if_tun.h' file not found
        #include <net/if_tun.h>
                 ^
1 error generated.

The naive brew install tuntap failed with

tuntap: Building this formula from source isn't possible due to OS X
Yosemite and above's strict unsigned kext ban.

You can install with Homebrew Cask:
  brew install Caskroom/cask/tuntap

You can download from:
  http://sourceforge.net/projects/tuntaposx/files/tuntap/

but alas brew install Caskroom/cask/tuntap doesn't come with if_tun.h nor
is it present in the sources at http://sourceforge.net/projects/tuntaposx/files/tuntap/

raw and nacl0 are unsafe

Given that one of the point of NaCl is to provide crypto that you can't mess up, it seems really bad to include nacl0 as it is explicitly stated that one should never re-used the same nonce (which is literally what nonce means).

Similarily, the raw protocol doesn't encrypt (obviously) so doesn't actually offer a service normally associated with VPN.

nacltai looks weak, but not obviously broken. It would be better with more random entropy in the nonce.

Is the project still being maintained?

Hello,

There are some open issues and pull requests. Furthermore, it has been over four years since the last commit. Is the project still being actively maintained? If not, are there any active forks?

Ping on maintainer: @UCIS

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.