{"id":795,"date":"2011-08-24T08:50:23","date_gmt":"2011-08-24T13:50:23","guid":{"rendered":"http:\/\/it.thelibrarie.com\/weblog\/?p=795"},"modified":"2011-08-24T08:50:23","modified_gmt":"2011-08-24T13:50:23","slug":"smooth-sec","status":"publish","type":"post","link":"https:\/\/it.thelibrarie.com\/weblog\/2011\/08\/smooth-sec\/","title":{"rendered":"Smooth-Sec"},"content":{"rendered":"<p>I&#8217;m a huge fan of free software.  I&#8217;m not against compiling code, installing dependencies, or taking days to research fixes to my issues.  So when I read about Phillip Bailey&#8217;s turnkey solutions, it makes me wonder how it&#8217;ll all work.  Well, I&#8217;m here to say it DOES WORK WELL!  <a href=\"http:\/\/bailey.st\" title=\"Bailey\" target=\"_blank\">Link to Bailey<\/a>.<\/p>\n<p>PBailey has released some snort-based turnkey solutions in the past (Snorby SPSA), but I really like the new solution SMooth-Sec.<\/p>\n<p>After installing the software on an older HP DL320 G3 (P4 3.4 with 2GB RAM and dual 80GB SATA) I mirror one port on eth0 to the primary on the core switch<\/p>\n<blockquote><p>Switch#conf t<br \/>\nSwitch(config)#monitor session 1 source interface Fa0\/18<br \/>\nSwitch(config)#monitor session 1 destination interface Fa0\/2<br \/>\nSwitch(config)# <\/p><\/blockquote>\n<p>Eth1 is then setup with a static IP on the management side (for access).<br \/>\nAfter letting this sit for about 30 minutes &#8211; the updates are run every half hour &#8211; I find that the number of results per hour are in the hundreds of thousands.  Ut oh, it&#8217;s killing the server with load averages over 9.00<\/p>\n<p>Edit out your external net<\/p>\n<blockquote><p><code>nano \/etc\/suricata\/suricata.yaml<\/code><br \/>\nFind &#8220;EXTERNAL_NET&#8221; and change from $ANY to !$HOME_NET<br \/>\nFind &#8220;threshold-file&#8221; and uncomment this line<br \/>\nSave and quit<\/p><\/blockquote>\n<p>Now I also have a couple nagios monitoring servers around the network that are constantly sending traffic.  So I needed to add these servers to the exemption list for suricata.<br \/>\n<code>nano \/etc\/suricata\/threshold.config<\/code><\/p>\n<blockquote><p>suppress gen_id 1, track by_src, ip 192.168.0.253<br \/>\nsuppress gen_id 1, sig_id 366, track by_src, ip 192.168.0.252<\/p><\/blockquote>\n<p>It&#8217;s recommended to reboot the server after making changes.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m a huge fan of free software. I&#8217;m not against compiling code, installing dependencies, or taking days to research fixes to my issues. So when I read about Phillip Bailey&#8217;s turnkey solutions, it makes me wonder how it&#8217;ll all work. Well, I&#8217;m here to say it DOES WORK WELL! Link to Bailey. PBailey has released &hellip; <a href=\"https:\/\/it.thelibrarie.com\/weblog\/2011\/08\/smooth-sec\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Smooth-Sec<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,4],"tags":[],"class_list":["post-795","post","type-post","status-publish","format-standard","hentry","category-linux","category-networking"],"_links":{"self":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/795","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/comments?post=795"}],"version-history":[{"count":1,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/795\/revisions"}],"predecessor-version":[{"id":796,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/795\/revisions\/796"}],"wp:attachment":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/media?parent=795"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/categories?post=795"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/tags?post=795"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}