NetSplit
Project description
NetSplit
Split a single tcp/ip connection between multiple servers.
Wait isn't this just NAT....
Usage
py netsplit.py config.json
Config
{
"http": { // Special route that forwards web browsers
"host": "127.0.0.1",
"port": 8000
},
"0": { // Server ID (SID), this is what you will put in s.connect(<addr>, <sid>)
"host": "127.0.0.1",
"port": 5000
}
... // You can have as many as you want
}
Client usage
import netSplit
s = netSplit.socket() # Create socket
s.connect(('127.0.0.1', 8080), 0) # Connect to the proxy, and ask it to forward us to server 0
# Simple echo client
while True:
s.send(input('> ').encode())
print(s.recv(2048).decode())
Server usage
The server does not have to be built with netSplit.
Project details
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 pynetsplit-3.10.0.tar.gz.
File metadata
- Download URL: pynetsplit-3.10.0.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
29e805ecccdebcee672d8b47a2632d0bdf8426d079b52f668121529870db2807
|
|
| MD5 |
b46d482543826ec79d6a64431276dbdf
|
|
| BLAKE2b-256 |
99f35f0ac561b505f5c113cf09b5ab1d5bb4b9869b8ae0a6170136bd4102c523
|
Provenance
The following attestation bundles were made for pynetsplit-3.10.0.tar.gz:
Publisher:
publish.yml on Omena0/NetSplit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pynetsplit-3.10.0.tar.gz -
Subject digest:
29e805ecccdebcee672d8b47a2632d0bdf8426d079b52f668121529870db2807 - Sigstore transparency entry: 426960854
- Sigstore integration time:
-
Permalink:
Omena0/NetSplit@c0b3fb9aa8a11b17ba0c50ee4c1a5ff47b470c44 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/Omena0
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@c0b3fb9aa8a11b17ba0c50ee4c1a5ff47b470c44 -
Trigger Event:
push
-
Statement type:
File details
Details for the file pynetsplit-3.10.0-py3-none-any.whl.
File metadata
- Download URL: pynetsplit-3.10.0-py3-none-any.whl
- Upload date:
- Size: 8.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c89db142a0c28e17cf2eb4ba7b00ddbac4b29f33765073a99df50fa9d2a0b79
|
|
| MD5 |
652466832c5f208cf0735ab327097aa5
|
|
| BLAKE2b-256 |
67d4fb66030b626f6fbca22b332e483ae7708cbdb007c968f20fdb21c43fd169
|
Provenance
The following attestation bundles were made for pynetsplit-3.10.0-py3-none-any.whl:
Publisher:
publish.yml on Omena0/NetSplit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pynetsplit-3.10.0-py3-none-any.whl -
Subject digest:
1c89db142a0c28e17cf2eb4ba7b00ddbac4b29f33765073a99df50fa9d2a0b79 - Sigstore transparency entry: 426960876
- Sigstore integration time:
-
Permalink:
Omena0/NetSplit@c0b3fb9aa8a11b17ba0c50ee4c1a5ff47b470c44 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/Omena0
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@c0b3fb9aa8a11b17ba0c50ee4c1a5ff47b470c44 -
Trigger Event:
push
-
Statement type: