Warning message

  • This translation is outdated. For the most up-to-date information, please refer to the English version.
  • This translation is outdated. For the most up-to-date information, please refer to the English version.

RHEL7 で firewalld を使用して強制終了したパケットのログを取得する

Solution Verified - Updated -

Issue

  • RHEL 5 および 6 インストールのすべてのバージョンで以下の iptables ルールを使用して、iptables が強制終了したパケットをすべてログに出力します。
### DROP ###
-A INPUT -j LOG --log-level debug --log-prefix "iptables:# DROP # "
-A INPUT -j DROP
  • RHEL 7 で、firewalld を使用して同じような結果を出力するにはどうすれば良いですか?

Environment

  • Red Hat Enterprise Linux (RHEL) 7
  • Firewalld サービス

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.