
Security News
TC39 Advances 11 Proposals for Math Precision, Binary APIs, and More
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.
.. image:: https://badge.fury.io/py/vpnc.svg :target: http://badge.fury.io/py/vpnc
pyvpnc is a Python connector for vpnc <http://linux.die.net/man/8/vpnc>
_, a Cisco VPN concentrator/router client. The vpnc daemon requires elevated permissions to run; you will be prompted for your admin/sudo password if needed.
Installation ^^^^^^^^^^^^
First, install vpnc. On Debian/Ubuntu::
apt-get install vpnc
On OSX::
brew install vpnc
Then install pyvpnc using pip::
pip install vpnc
Usage ^^^^^
.. code-block:: python
from vpnc import VPNC
vpn_client = VPNC(config={
"IPSec_ID": "my IPSec ID",
"IPSec_gateway": "my.gateway.com",
"IPSec_secret": "my IPSec secret",
"Xauth_username": "my Xauth username",
"Xauth_password": "my Xauth password",
"IKE_Authmode": "psk"
})
with vpn_client.vpn():
# do stuff on the VPN!
Tests ^^^^^
Unit tests are in the test/ directory.
FAQs
Cisco VPN connector
We found that vpnc demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.