Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

socatlord-1.2b2-py2.py3-none-any.whl (5.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file socatlord-1.2b2-py2.py3-none-any.whl.

File metadata

  • Download URL: socatlord-1.2b2-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using 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

File hashes

Hashes for socatlord-1.2b2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1967e74be4700b65d917f3557c939653cd72f8ba60f8f08b3804e02c5b1a2d7a
MD5 b92697d65532dc16d2390c1412cc6ff5
BLAKE2b-256 1cac0d2901ec4e96568bf5aa46cc8e86f4bd0aad500ddd066496646f340d4d25

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page