Skip to content

Tag Archives: config

Minimalist Squid configuration

14-Jul-11

Squid is one of the first open-source programs I got into. I have spent a lot of time looking at squid.conf The default squid.conf (reference copy in /usr/share/doc/squid/examples/squid.conf) is about 5000 lines by default. It’s great that everything is well-documented but who wants to deal with a massive config file like that? Not me. This [...]

Never type your MySQL password again

26-Dec-10

Some of my personal machines are running local, test versions of MySQL, mostly so that I can play around without breaking anything production. Access to these boxes is limited. (some are not even on the Internet) and I hate having to type my password over and over again. The solution to this is to create [...]

OSSEC ignoring email_alert_level

24-Jun-10

OSSEC keeps emailing me a Level 2 notice every time Cacti polls despite having this set in the ossec.conf file: <email_alert_level>7</email_alert_level> I shouldn’t be getting emails below level 7 then, right? Wrong. OSSEC allows for this to be overridden if a specific rule has : <options>alert_by_email</options> The rule that kept firing for me was 1002. [...]