---
title: Prevent ICMP attack
slug: homologacao-atmosphere/prevent-icmp-attack
description: Learn how to prevent ICMP attacks with this comprehensive module summary. Discover the parameters, usage examples, and returned values of this powerful tool. Harnessing parameters from the Shell module, this module ensures output, error messages, and warn
createdAt: 2022-07-26T13:46:52.000Z
---

## Resumo

- Prevenir o ataque ICMP

## Parâmetros

| **Parâmetro** | **Tipo** | **Escolhas \| Valor Padrão** | **Comentários** |
| ------------- | -------- | ---------------------------- | --------------- |
| table         | string   |                              | Nome da tabela  |

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

## Exemplos

```yaml
- shell: 
    arguments: sudo iptables -A {{ input.table }} -p icmp --icmp-type any -j DROP
  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            |

