By default, `vpncmd` appears to be using TLSv1.2 for communication with `vpnserver`.
Is there any information with regards to how one would write a library for communicating with the vpnserver?
Communication between vpncmd and vpnserver SSL protocol
-
- Posts: 4
- Joined: Thu Jan 19, 2017 3:43 am
-
- Posts: 336
- Joined: Sat Aug 15, 2015 7:41 pm
Re: Communication between vpncmd and vpnserver SSL protocol
The best library I know is SoftEtherPy
https://github.com/mindcollapse/SoftEtherPy
Which talks to a vpnserver service via Python. You can have a look at the code and how this library is communicating with the server.
Also a while back, I started working on a similar library based on NodeJS, that makes direct use of vpncmd:
https://github.com/moatazelmasry2/softether.js
But so far I implemented like 10% of the functionality and almost no documentation yet
Hope this helps
Moataz
https://github.com/mindcollapse/SoftEtherPy
Which talks to a vpnserver service via Python. You can have a look at the code and how this library is communicating with the server.
Also a while back, I started working on a similar library based on NodeJS, that makes direct use of vpncmd:
https://github.com/moatazelmasry2/softether.js
But so far I implemented like 10% of the functionality and almost no documentation yet
Hope this helps
Moataz
-
- Posts: 4
- Joined: Thu Jan 19, 2017 3:43 am
Re: Communication between vpncmd and vpnserver SSL protocol
moatazelmasry wrote:
> The best library I know is SoftEtherPy
> https://github.com/mindcollapse/SoftEtherPy
>
> Which talks to a vpnserver service via Python. You can have a look at the
> code and how this library is communicating with the server.
>
> Also a while back, I started working on a similar library based on NodeJS,
> that makes direct use of vpncmd:
> https://github.com/moatazelmasry2/softether.js
>
> But so far I implemented like 10% of the functionality and almost no
> documentation yet
>
> Hope this helps
> Moataz
Is this a working js library? Also, correct me if I'm wrong, but this seems to a bit higher level than SoftEtherPy.
> The best library I know is SoftEtherPy
> https://github.com/mindcollapse/SoftEtherPy
>
> Which talks to a vpnserver service via Python. You can have a look at the
> code and how this library is communicating with the server.
>
> Also a while back, I started working on a similar library based on NodeJS,
> that makes direct use of vpncmd:
> https://github.com/moatazelmasry2/softether.js
>
> But so far I implemented like 10% of the functionality and almost no
> documentation yet
>
> Hope this helps
> Moataz
Is this a working js library? Also, correct me if I'm wrong, but this seems to a bit higher level than SoftEtherPy.
-
- Posts: 336
- Joined: Sat Aug 15, 2015 7:41 pm
Re: Communication between vpncmd and vpnserver SSL protocol
SoftEtherPy uses the service layer/API offered by SoftEther server
softether.js automates the use of vpncmd tool
softether.js automates the use of vpncmd tool