A utility to manage all socats of yours
Project description
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
Changelog
v1.2
- socatlord banner fixed
v1.1
- socat's will be silenced if the mode is not verbose
- better default
/etc/socatlord
v1.0
First formal release
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 Distributions
Built Distribution
Hashes for socatlord-1.2b3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15ce10f7d3df564859a70e04c4ef90bcb0327e2a91a97dbaafae6d2c15a06bf5 |
|
MD5 | 5bb142cf4ea0edce8b201d2e92879773 |
|
BLAKE2b-256 | b945f7a307a6cd59250bf2b5e48fb634789da91e440ec198f4929329e669232a |