VSM Stealth Protocol - Invisible P2P encrypted transport
Project description
vsmprotocol (Python SDK)
VSM Stealth Protocol — Invisible P2P encrypted transport for Python.
Enable bidirectional encrypted communication without opening a single port. vsmprotocol uses raw packet injection to create stealth tunnels that bypass the standard OS socket table.
🚀 Quick Start
1. Installation
pip install vsmprotocol
Note: Requires sudo (root) permissions to inject and sniff raw packets.
2. Setup Firewalls (Mandatory)
Silence outgoing RST packets on your chosen port:
macOS:
echo "block drop out proto tcp from any to any port 9999" | sudo pfctl -a "com.apple/vsm" -f - && sudo pfctl -e
Linux:
sudo iptables -A OUTPUT -p tcp --tcp-flags RST RST -j DROP
💻 Usage
Start a Stealth Server
import vsmprotocol as vsm
import time
def on_knock(sid, peer):
print(f" [SRV] Knock from {peer.decode()}")
def on_msg(sid, peer, msg):
print(f" [SRV] Message: {msg.decode()}")
server_id = vsm.generate_identity()
# KEEP THE RETURN VALUE IN A VARIABLE to prevent Garbage Collection
refs = vsm.start_server(9999, server_id, on_knock, on_msg)
while True:
time.sleep(1)
Dial a Server
import vsmprotocol as vsm
my_id = vsm.generate_identity()
sid = vsm.dial("lo0", "127.0.0.1", 9999, my_id)
if sid != -1:
vsm.send_message(sid, "Hello from the ghost network.")
📜 License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vsmprotocol-0.1.0.tar.gz.
File metadata
- Download URL: vsmprotocol-0.1.0.tar.gz
- Upload date:
- Size: 10.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
83f0b0596192f4a3ce76fa3fcf44b6bc03e59b685572b81c32737872a5ce7625
|
|
| MD5 |
5666645efb1ee91f30d202abc896ad00
|
|
| BLAKE2b-256 |
6aa54e9de81de0b141dc78b71f3d2237cfd9ea8baab72a783d2b7cf2a76bdda9
|
File details
Details for the file vsmprotocol-0.1.0-py3-none-any.whl.
File metadata
- Download URL: vsmprotocol-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.9 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e2f91df31fd06187fc4116f054d06f8b75ac31f6ca297a6661d8caad7740c8ba
|
|
| MD5 |
6a47cd7a957643bec1a8b39e61cc0fb0
|
|
| BLAKE2b-256 |
caacc496d839d3d70943e4d211044da4d635bba62746f8aa9ab806b2badff9e0
|