iptables ICMPのタイプ

提供: セキュリティ
2013年8月18日 (日) 11:28時点におけるDaemon (トーク | 投稿記録)による版 (ページの作成:「<!-- vim: filetype=mediawiki --> iptables では、ICMP のタイプごとにアクセス制御ができます。iptables で設定できるICMPのタ...」)

(差分) ←前の版 | 最新版 (差分) | 次の版→ (差分)
移動: 案内検索
スポンサーリンク

iptables では、ICMP のタイプごとにアクセス制御ができます。iptables で設定できるICMPのタイプの一覧です。

概要

iptables では、ICMP のタイプごとにアクセス制御ができます。

--icmp-type の書式は、以下の通りです。ICMP のタイプをタイプ名(文字列)、または、数字で指定できます。

icmp match options:
[!] --icmp-type typename        match icmp type
[!] --icmp-type type[/code]     (or numeric type or type/code)

iptables で設定できる有効なICMPのタイプの一覧です。

  • any
  • echo-reply (pong)
  • destination-unreachable
    • network-unreachable
    • host-unreachable
    • protocol-unreachable
    • port-unreachable
    • fragmentation-needed
    • source-route-failed
    • network-unknown
    • host-unknown
    • network-prohibited
    • host-prohibited
    • TOS-network-unreachable
    • TOS-host-unreachable
    • communication-prohibited
    • host-precedence-violation
    • precedence-cutoff
  • source-quench
  • redirect
    • network-redirect
    • host-redirect
    • TOS-network-redirect
    • TOS-host-redirect
  • echo-request (ping)
  • router-advertisement
  • router-solicitation
  • time-exceeded (ttl-exceeded)
    • ttl-zero-during-transit
    • ttl-zero-during-reassembly
  • parameter-problem
    • ip-header-bad
    • required-option-missing
  • timestamp-request
  • timestamp-reply
  • address-mask-request
  • address-mask-reply

関連項目




スポンサーリンク