{"id":1673,"date":"2011-11-16T02:55:08","date_gmt":"2011-11-16T08:55:08","guid":{"rendered":"http:\/\/bucktownbell.com\/?p=1673"},"modified":"2012-10-18T21:58:03","modified_gmt":"2012-10-19T02:58:03","slug":"force-iptables-to-log-messages-to-a-different-log-file","status":"publish","type":"post","link":"http:\/\/bucktownbell.com\/?p=1673","title":{"rendered":"Force iptables to log messages to a different log file"},"content":{"rendered":"<blockquote><p>Iptables is used to set up, maintain, and inspect the tables of IP packet filter rules in the Linux kernel. Several different tables may be defined. Each table contains a number of built-in chains and may also contain user defined chains.<\/p>\n<p>By default, Iptables log message to a \/var\/log\/messages file. However you can change this location. I will show you how to create a new logfile called \/var\/log\/iptables.log. Changing or using a new file allows you to create better statistics and\/or allows you to analyze the attacks<\/p><\/blockquote>\n<p>Via <a href=\"http:\/\/www.cyberciti.biz\/tips\/force-iptables-to-log-messages-to-a-different-log-file.html\">Force iptables to log messages to a different log file<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Iptables is used to set up, maintain, and inspect the tables of IP packet filter rules in the Linux kernel. Several different tables may be defined. Each table contains a number of built-in chains and may also contain user defined &hellip; <a href=\"http:\/\/bucktownbell.com\/?p=1673\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[110],"tags":[30,303,107,304],"class_list":["post-1673","post","type-post","status-publish","format-standard","hentry","category-networking","tag-iptables","tag-logs","tag-reference","tag-syslog"],"_links":{"self":[{"href":"http:\/\/bucktownbell.com\/index.php?rest_route=\/wp\/v2\/posts\/1673","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/bucktownbell.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/bucktownbell.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/bucktownbell.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/bucktownbell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1673"}],"version-history":[{"count":5,"href":"http:\/\/bucktownbell.com\/index.php?rest_route=\/wp\/v2\/posts\/1673\/revisions"}],"predecessor-version":[{"id":7760,"href":"http:\/\/bucktownbell.com\/index.php?rest_route=\/wp\/v2\/posts\/1673\/revisions\/7760"}],"wp:attachment":[{"href":"http:\/\/bucktownbell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1673"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bucktownbell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1673"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bucktownbell.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1673"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}