{"id":24122221,"url":"https://github.com/tlinden/socatrc","last_synced_at":"2025-06-14T03:40:40.696Z","repository":{"id":31995314,"uuid":"35565960","full_name":"TLINDEN/socatrc","owner":"TLINDEN","description":"socat init.d wrapper","archived":false,"fork":false,"pushed_at":"2015-05-13T18:25:17.000Z","size":140,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-11T11:41:56.949Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"artistic-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TLINDEN.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-13T18:09:12.000Z","updated_at":"2015-05-13T18:23:25.000Z","dependencies_parsed_at":"2022-08-26T10:10:30.270Z","dependency_job_id":null,"html_url":"https://github.com/TLINDEN/socatrc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TLINDEN%2Fsocatrc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TLINDEN%2Fsocatrc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TLINDEN%2Fsocatrc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TLINDEN%2Fsocatrc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TLINDEN","download_url":"https://codeload.github.com/TLINDEN/socatrc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241210949,"owners_count":19927817,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-11T11:39:11.094Z","updated_at":"2025-02-28T19:24:35.062Z","avatar_url":"https://github.com/TLINDEN.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"## socatrc - socat init.d wrapper\n\nThis is the README file for socatrc.\n\nSocatrc is a small perl script which can be used to start\n(and stop) multiple instances of socat via init.d.\n\n## Documentation\n\nUsage:\n\n```\nUsage: socatrc [-dscvh] \u003cmode\u003e\n\nOptions:\n --daemon | -d \u003cpath\u003e    location of daemon program\n --socat  | -s \u003cpath\u003e    location of socat program\n --piddir | -p \u003cpath\u003e    location for pidfile storage\n --config | -c \u003cpath\u003e    location of config\n --help   | -h | -?      print usage\n --version| -v           print version\n\nMode might be one of: start,stop,status or restart.\n```\n\nSocatrc uses the FreeBSD 'daemon(8)' tool to start socat processes into\nthe background. Therefore it can only be used for socat listeners.\n\nProcesses must be configured via an config file in ini format. Example:\n\n```\npiddir = /tmp\ndaemon = /usr/sbin/daemon\nsocat  = /usr/local/bin/socat\nfork   = fork,reuseaddr\n\n[wwwfwd]\n        args   = -ly\n        listen = TCP4-LISTEN:9999,${fork}\n        sendto = TCP4:www.w3c.org:www\n\n[dnsfwd]\n        args   = -ly\n        listen = UDP4-LISTEN:53,${fork}\n        sendto = UDP4:8.8.8.8:53\n```\n\nThe syntax is pretty self explanatory. The socat commandline will\nbe constructed of:\n\n```\nsocat $args $listen $sendto\n```\n\nYou can define global variables and use them inside process definitions.\n\nTo start the socat processes run:\n\n```\nsocatrc start\n```\n\nAnd to stop:\n\n```\nsocatrc stop\n```\n\nYou might put this into an init script.\n\n## Installation\n\nJust copy 'socat' to whereever you want. Perl is required, no additional\nperl modules are required though.\n\n## Getting help\n\nAlthough I'm happy to hear from socatrc users in private email,\nthat's the best way for me to forget to do something.\n\nIn order to report a bug, unexpected behavior, feature requests\nor to submit a patch, please open an issue on github:\nhttps://github.com/TLINDEN/socatrc/issues.\n\n## Copyright and license\n\nThis software is licensed under the Perl Artistic License 2.0\n\n## Authors\n\nT.v.Dein \u003ctom AT vondein DOT org\u003e\n\n## Project homepage\n\nhttps://github.com/TLINDEN/socatrc\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftlinden%2Fsocatrc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftlinden%2Fsocatrc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftlinden%2Fsocatrc/lists"}