Skip to content

simp/pupmod-simp-xinetd

Repository files navigation

License CII Best Practices Puppet Forge Puppet Forge Downloads Build Status

This is a SIMP module

This module is a component of the System Integrity Management Platform, a compliance-management framework built on Puppet.

If you find any issues, they can be submitted to our JIRA.

Please read our Contribution Guide.

Module Description

This module provides for configuration of the xinetd daemon and allows users manage services to run under xinetd.

Examples

Set up an 'uptime' service

xinetd::service { 'uptime':
  server       => '/usr/bin/uptime',
  port         => 12345,
  protocol     => 'tcp',
  user         => 'nobody',
  x_type       => 'UNLISTED',
  x_wait       => 'no',
  socket_type  => 'stream',
  trusted_nets => ['ALL']

Set up VNC forwarding

For this example, an SSH tunnel is expected to be used.

xinetd::service { 'my_vnc':
  banner       => '/dev/null',
  flags        => ['REUSE','IPv4'],
  protocol     => 'tcp',
  socket_type  => 'stream',
  x_wait       => 'no',
  x_type       => 'UNLISTED',
  user         => 'nobody',
  server       => '/usr/bin/Xvnc',
  server_args  => "-inetd -localhost -audit 4 -s 15 -query localhost -NeverShared -once -SecurityTypes None -desktop my_vnc -geometry 800x600 -depth 16"
  disable      => 'no',
  trusted_nets => ['127.0.0.1'],
  port         => 23456
}

Reference

Plesae see REFERENCE.md for a full details.

Development

Please read our Contribution Guide.

Visit the project homepage and look at our issues on JIRA.