Coder Social home page Coder Social logo

Doesn't compile on Ubuntu 14.04 about dsvpn HOT 4 CLOSED

jedisct1 avatar jedisct1 commented on May 24, 2024
Doesn't compile on Ubuntu 14.04

from dsvpn.

Comments (4)

jedisct1 avatar jedisct1 commented on May 24, 2024 3

That C library seems to be really old.

You can try replacing SYS_getrandom with 318, but maybe the kernel doesn't have that interface either.

Looks like this interface was introduced in 2014. This is a long time ago so I don't remember what exact kernel version it was.

from dsvpn.

winks avatar winks commented on May 24, 2024 2

Yes, using 318 works. thanks!

Also it seems to be Linux kernel 3.4.17+.

Source: https://lwn.net/Articles/711013/ + boostorg/uuid#92

No time to test functionality right now, but it builds and starts.

(florian@cordelia ~/code/dsvpn) (git)-[master] % sudo ./dsvpn server vpn.key auto 1959
Interface: [tun0]
net.ipv4.ip_forward = 1
RTNETLINK answers: Invalid argument
Listening to *:1959

(the RTNETLINK might be because this openvz or some other weird virt stuff, but I'm not sure)

from dsvpn.

jedisct1 avatar jedisct1 commented on May 24, 2024

The RTNETLINK message can safely be ignored. It is just trying to remove previous rules, in case of a network change after an unclean shutdown.

from dsvpn.

clarus avatar clarus commented on May 24, 2024

It works, thanks!

from dsvpn.

Related Issues (20)

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.