---
title: Prevent DOS attack
slug: homologacao-atmosphere/prevent-dos-attack
description: Learn how to prevent DOS attacks with the Shell module using this comprehensive document. Discover the parameters and values returned by the module, including output, errors, and warnings. Plus, find a practical example of utilizing the Shell module for e
createdAt: 2022-07-26T13:46:48.000Z
---

## Resumo

- Prevenir o ataque do DOS.

## Parâmetros

Utiliza parâmetros do módulo [Shell](https://docs.simonops.com/homologacao-atmosphere/shell).

## Exemplos

```yaml
- shell: 
    arguments: sudo iptables -A INPUT -p tcp --dport 80 -m limit --limit 25/minute --limit-burst 100 -j ACCEPT
  register: result
```

## Valores retornados

| **Chave**        | **Tipo** | **Retornado quando** | **Descrição**              |
| ---------------- | -------- | -------------------- | -------------------------- |
| output           | string   | Sempre               | Saída da execução          |
| had\_errors      | boolean  | Sempre               | Se teve erros              |
| output\_errors   | string   | Sempre               | Erros de saída da execução |
| output\_warnings | string   | Sempre               | Avisos de saída            |

