{"id":13776077,"url":"https://github.com/simp/pupmod-simp-stunnel","last_synced_at":"2025-07-10T08:41:14.096Z","repository":{"id":32298729,"uuid":"35873690","full_name":"simp/pupmod-simp-stunnel","owner":"simp","description":"The SIMP stunnel Puppet Module","archived":false,"fork":false,"pushed_at":"2024-09-16T18:53:32.000Z","size":498,"stargazers_count":1,"open_issues_count":4,"forks_count":17,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-05-17T03:08:43.563Z","etag":null,"topics":["puppet","simp","stunnel","stunnel-server"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simp.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2015-05-19T09:49:42.000Z","updated_at":"2024-09-16T16:08:18.000Z","dependencies_parsed_at":"2023-10-13T08:48:53.983Z","dependency_job_id":"abd78c3e-fd1b-41ad-8503-4acb469f3aba","html_url":"https://github.com/simp/pupmod-simp-stunnel","commit_stats":{"total_commits":102,"total_committers":19,"mean_commits":5.368421052631579,"dds":0.696078431372549,"last_synced_commit":"7074fe7d27655a027746e41a4bb975b883acd862"},"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"purl":"pkg:github/simp/pupmod-simp-stunnel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simp%2Fpupmod-simp-stunnel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simp%2Fpupmod-simp-stunnel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simp%2Fpupmod-simp-stunnel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simp%2Fpupmod-simp-stunnel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simp","download_url":"https://codeload.github.com/simp/pupmod-simp-stunnel/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simp%2Fpupmod-simp-stunnel/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264551952,"owners_count":23626608,"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":["puppet","simp","stunnel","stunnel-server"],"created_at":"2024-08-03T17:01:59.552Z","updated_at":"2025-07-10T08:41:14.046Z","avatar_url":"https://github.com/simp.png","language":"Ruby","funding_links":[],"categories":["\u003ca id=\"01e6651181d405ecdcd92a452989e7e0\"\u003e\u003c/a\u003e工具"],"sub_categories":["\u003ca id=\"ea4dfcd8f33ec1852180c6283b2c8516\"\u003e\u003c/a\u003e未分类"],"readme":"[![License](https://img.shields.io/:license-apache-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0.html)\n[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/73/badge)](https://bestpractices.coreinfrastructure.org/projects/73)\n[![Puppet Forge](https://img.shields.io/puppetforge/v/simp/stunnel.svg)](https://forge.puppetlabs.com/simp/stunnel)\n[![Puppet Forge Downloads](https://img.shields.io/puppetforge/dt/simp/stunnel.svg)](https://forge.puppetlabs.com/simp/stunnel)\n[![Build Status](https://travis-ci.org/simp/pupmod-simp-stunnel.svg)](https://travis-ci.org/simp/pupmod-simp-stunnel)\n\n#### Table of Contents\n\n1. [Overview](#this-is-a-simp-module)\n2. [Module Description - A Puppet module for managing stunnel](#module-description)\n3. [Setup - The basics of getting started with pupmod-simp-stunnel](#setup)\n    * [What pupmod-simp-stunnel affects](#what-simp-stunnel-affects)\n    * [Setup requirements](#setup-requirements)\n    * [Beginning with stunnel](#beginning-with-stunnel)\n4. [Usage - Configuration options and additional functionality](#usage)\n5. [Reference - An under-the-hood peek at what the module is doing and how](#reference)\n5. [Limitations - OS compatibility, etc.](#limitations)\n6. [Development - Guide for contributing to the module](#development)\n\n## This is a SIMP module\n\nThis module is a component of the [System Integrity Management Platform](https://simp-project.com),\na compliance-management framework built on Puppet.\n\nIf you find any issues, they can be submitted to our\n[JIRA](https://simp-project.atlassian.net/).\n\nPlease read our [Contribution Guide](https://simp.readthedocs.io/en/stable/contributors_guide/index.html).\n\nThis module is optimally designed for use within a larger SIMP ecosystem, but it\ncan be used independently:\n\n* When included within the SIMP ecosystem, security compliance settings will be\n  managed from the Puppet server.\n\n* All SIMP-managed security subsystems are disabled by default and must be\n  explicitly opted into by administrators.  Please review\n  [simp/simp_options](https://github.com/simp/pupmod-simp-simp_options) for\n  details.\n\n## Module Description\n\nThis module sets up [stunnel](https://www.stunnel.org/index.html) and allows\nthe creation of stunnel connections for services.\n\n**IMPORTANT**\n\n| Please use the ``stunnel::connection`` define instead of including the\n| ``stunnel`` class directly.\n|\n| The main ``stunnel`` class is deprecated and will be removed in a future release.\n|\n| The main ``stunnel`` class manages the **global** stunnel configuration and\n| this was deemed to be too risky for use across services that are not related.\n\n\n## Setup\n\n### What simp stunnel affects\n\n*simp::stunnel* will manage:\n\n* The latest version of stunnel\n* Ensure the service is running\n* Stunnel configuration files and daemons for each of your services\n* A stunnel chroot directory for each of your services\n* If ``$firewall`` is set to ``true``, will manage the\n  [simp/iptables](https://github.com/simp/pupmod-simp-iptables) firewall\n  settings required for stunnel.\n\n### Setup Requirements\n\nThere are no special requirements for using this module.\n\n### Beginning with stunnel\n\nYou can set up stunnel for a particular service using the following code:\n\n```ruby\nstunnel::instance { 'service_name':\n  accept =\u003e 873,\n  connect =\u003e ['1.2.3.4:8730']\n}\n```\n\nThis will create ``/etc/stunnel/stunnel_service_name.conf`` and spawn a system\nservice ``stunnel_service_name``.\n\n\n## Usage\n\n### I want to add a connection **to** the stunnel server\n\n```ruby\nstunnel::instance { 'my_service':\n  connect =\u003e ['stunnel.server.int:8730'],\n  accept  =\u003e '127.0.0.1:873'\n}\n```\n\n### I want to build a connection **on** the stunnel server\n\n```ruby\nstunnel::connection { 'my_service':\n  client  =\u003e false,\n  connect =\u003e [873],\n  accept  =\u003e 8730\n}\n```\n\n## Reference\n\nPlease see [REFERENCE.md](./REFERENCE.md) for a full reference.\n\n## Limitations\n\nThis module is only designed to work in RHEL or CentOS 6 and 7. Any other\noperating systems have not been tested and results cannot be guaranteed.\n\n# Development\n\nPlease read our [Contribution Guide](https://simp.readthedocs.io/en/stable/contributors_guide/index.html).\n\nVisit the [project homepage](https://simp-project.com) and look at our issues on\n[JIRA](https://simp-project.atlassian.net/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimp%2Fpupmod-simp-stunnel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimp%2Fpupmod-simp-stunnel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimp%2Fpupmod-simp-stunnel/lists"}