{"id":999,"date":"2014-08-15T09:34:02","date_gmt":"2014-08-15T13:34:02","guid":{"rendered":"http:\/\/www.blogseye.com\/?p=999"},"modified":"2014-08-15T09:44:29","modified_gmt":"2014-08-15T13:44:29","slug":"modsecurity","status":"publish","type":"post","link":"http:\/\/blogseye\/2014\/08\/modsecurity.html","title":{"rendered":"ModSecurity"},"content":{"rendered":"

I’ve been getting hits on a mod-sec html file. I looked at the server logs and found that these were being redirected from one of my login files. My host must have installed Mod Sec while I wasn’t looking and it is sending out a redirect when it discovers bad hits. Mod Sec or ModSecurity is a nifty add-on to Apache that checks web requests for security issues. I was thinking about learning how it works and adding some of my experience in stopping spam to it.<\/p>\n

Now, normally this would be a good thing. There are warnings about Mod Sec being overly aggressive, but I like that in a security program. I’d rather block a few people than let someone hack my site. The problem is: I am testing a plugin that does some of the things Mod Sec does, and I can’t test without data. I think the program works just fine, even though it is not catching anything. Mod Sec gets the bad guys first, and this is the reason the plugin is coming up empty.<\/p>\n

I have to find a free hosting site that does not have Mod Sec, install WordPress, and see if I can send it some traffic.<\/p>\n

In the mean time, my security system scans my web logs for hits on Mod-Sec and adds the ip to the ban list.<\/p>\n

I haven’t worked on the main framework of the new Protection plugin for a few months. I worked on it yesterday and I have been consolidating the new code and the Stop Spammers modules into it. I broke it good yesterday and will not be able to work on it again for a few weeks, so I hope I remember what I was working on when I find time again. I don’t know whether to release this as Stop Spammers version 6 or as a new plugin. It is really a totally new plugin that uses loadable PHP classes. The thinking is that I want people to download the modules that that they need from my website and not just install everything. People will be forced to think about what they install, especially if I charge 99\u00a2 for the fancy modules.<\/p>\n","protected":false},"excerpt":{"rendered":"

I’ve been getting hits on a mod-sec html file. I looked at the server logs and found that these were being redirected from one of my login files. My host must have installed Mod Sec while I wasn’t looking and it is sending out a redirect when it discovers bad hits. Mod Sec or ModSecurity […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/blogseye\/wp-json\/wp\/v2\/posts\/999"}],"collection":[{"href":"http:\/\/blogseye\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blogseye\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blogseye\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blogseye\/wp-json\/wp\/v2\/comments?post=999"}],"version-history":[{"count":4,"href":"http:\/\/blogseye\/wp-json\/wp\/v2\/posts\/999\/revisions"}],"predecessor-version":[{"id":1003,"href":"http:\/\/blogseye\/wp-json\/wp\/v2\/posts\/999\/revisions\/1003"}],"wp:attachment":[{"href":"http:\/\/blogseye\/wp-json\/wp\/v2\/media?parent=999"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blogseye\/wp-json\/wp\/v2\/categories?post=999"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blogseye\/wp-json\/wp\/v2\/tags?post=999"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}