Not so weekly blog

Stop Ossec from blocking Piwik users.
14 March 2015

With a recent installation of Ossec and Piwik, I've discovered the two don't like each other as much as they use to. Ossec has a rule: 31533, that checks for an unusual amount of post requests within a given time frame. Piwik does do this and results in a false positive, locking users out after a few clicks.

The quick solution is to create a custom local rule to exclude Piwik.

Edit your {$dir}/ossec/rules/local_rules.xml and add:

<rule id="100002" level="0">
    <if_sid>31533</if_sid>
    <match>piwik</match>
    <description>Leave Piwik alone</description>
</rule>

Code Repositories

MyGate
MyGate 1Click Enterprise payment package.

View

Contab
Simple, independant and local PHP crontab package.

View

FNB
First National Bank transaction download package.

View

Website Development Costs

Web Presence Site

R2,500
R1,300 annual hosting

Using a Content Management System for search engine and a mobile friendly website.

Hosting
Your personal domain name
Multiple email accounts
Fax-to-Mail Service
Website Backups
Features
Contact form Google map Image slider Social links Analytics
Examples
None yet...

Promo Website

R8,500
R1,300 annual hosting

Using a Content Management System for search engine and a mobile friendly website.

Hosting
Your personal domain name
Multiple email accounts
Fax-to-Mail Service
Website Backups
Features
Contact form Google map Image slider Social links Analytics Blog Module Gallery Module Social Module

Marketed Website

R3,500 pm
Excluding website build

Using a Content Management System for search engine and a mobile friendly website.

Strategy
Search Engine Optimisation
Search Engine Advertising
Social Media Marketing
Email marketing
Analytics
Reports

Development

R350 ph
Custom development

Intelligent web applications that go beyond your average content management system.