This release is a pre-release and may not be stable for production use.
socatlord
socatlord is a tool to manage multiple socats
You feed it with a config file placed at
/etc/socatlord that has the syntax like:
# this is a comment
9.9.9.9:80 -> 123.23.4.3.:81
80 -> 192.168.224.20:80
udp 0.0.0.0:23 -> 192.168.224.20:23
TCP is the default protocol. Socatlord will spawn as many socats as necessary.
Usage
After you put this file, call socatlord install. This will install and enable socatlord to start
during your startups (only if you're using Systemd).
/etc/socatlord will be created about then.
Note that installation itself will not start socatlord! After installation put your configuration in
/etc/socatlord.
Later call either socatlord run
or systemctl start socatlord.service to terminate currently running socats and launch your own.
This may terminate your SSH connection, if you're using a socat to proxy it though, however it will destroy them
and restart in one go.
You can also call socatlord stop to stop all socats.
You can provide an optional argument of -v to see what commands are launched.
You can provide an optional explicit path to config file, if /etc/socatlord is meant not to be used.
socatlord must be run as root. A check will be made for this.
Changelog
v1.2
- socatlord uses argparse
- socatlord will check if it's ran as root
v1.1
- socat's will be silenced if the mode is not verbose
- better default
/etc/socatlord
v1.0
First formal release
Release files for socatlord 1.2b5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| socatlord-1.2b5-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Release files / socatlord-1.2b5-py2.py3-none-any.whl
| Download URL | socatlord-1.2b5-py2.py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
0be6f2f3db92707e7a45f816137335bfebe743a3378808fabfc311edae99bf47
|
|
BLAKE2b-256 checksum How to use checksums |
d617ae75f5b903f8004be6a8c71fc37a0316bea31b14cc0315220b07790abd42
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.8.0
|