Comments (4)
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.
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.
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.
It works, thanks!
from dsvpn.
Related Issues (20)
- split tunneling? HOT 3
- Make Error on ubuntu HOT 3
- 可以试试这个 https://github.com/dodois/dosvpn
- Help compile on SmartOS (Solaris) HOT 1
- [feature wanted]update the route of remote networks , like wireguard do. HOT 2
- Obfuscation HOT 2
- Bypass client ssh port 22
- Please support http proxy for the wonderful DSVPN HOT 4
- Client still checking routes even with: OPTFLAGS=-DNO_DEFAULT_ROUTES HOT 6
- Build error on aarch64: cc1: note: unrecognized command-line option ‘-Wno-unused-command-line-argument’ may have been intended to silence earlier diagnostics
- Improve DSVPN to handle multi-core HOT 2
- possible to rewrite dsvpn with golang HOT 1
- Accepting a new client failed (Clock difference is too large) HOT 4
- Unused code? HOT 1
- Responding to pings other messages
- OpenWRT & Windows HOT 1
- Windows Firewall Rules
- zig build gives error HOT 5
- [documentation] no routing on client - just tunnel
- tun device creation: No such file or directory HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dsvpn.