security

package
v0.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 27, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package security contains functionality to work with security group and security group rules Neutron resources.

Security groups and security group rules allows administrators and tenants the ability to specify the type of traffic and direction (ingress/egress) that is allowed to pass through a port. A security group is a container for security group rules.

When a port is created in Networking it is associated with a security group. If a security group is not specified the port is associated with a 'default' security group. By default, this group drops all ingress traffic and allows all egress. Rules can be added to this group in order to change the behaviour.

The basic characteristics of Neutron Security Groups are:

For ingress traffic (to an instance)

  • Only traffic matched with security group rules are allowed.
  • When there is no rule defined, all traffic is dropped.

For egress traffic (from an instance)

  • Only traffic matched with security group rules are allowed.
  • When there is no rule defined, all egress traffic are dropped.
  • When a new security group is created, rules to allow all egress traffic is automatically added.

"default security group" is defined for each tenant.

  • For the default security group a rule which allows intercommunication among hosts associated with the default security group is defined by default.
  • As a result, all egress traffic and intercommunication in the default group are allowed and all ingress from outside of the default group is dropped by default (in the default security group).

Directories

Path Synopsis
Package groups provides information and interaction with Security Groups for the OpenStack Networking service.
Package groups provides information and interaction with Security Groups for the OpenStack Networking service.
testing
groups unit tests
groups unit tests
Package rules provides information and interaction with Security Group Rules for the OpenStack Networking service.
Package rules provides information and interaction with Security Group Rules for the OpenStack Networking service.
testing
rules unit tests
rules unit tests

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL