Checking Fail2ban regex

I’ve just stumbled across a great command in Fail2ban to check whether or not your filter will actually score a hit from your log file. From the command line. [code lang=bash] $ fail2ban-regex /path/to/logfile /etc/fail2ban/filter.d/myfilter.conf regex_to_ignore [/code] As an example. [code lang=bash] $ fail2ban-regex /var/log/secure.log /etc/fail2ban/filter.d/sshd.conf (myusername|myIPaddress) [/code] This seems like a great way to … Read more Checking Fail2ban regex

Server-Side Email Filtering With Sieve

Another post for the peripheral brain. When I first set up my own server lo these years ago, I never really thought about email message filtering. After all, I had rules in Mail.app that would send my incoming message to wherever I wanted them. Besides, I was much more concerned with eliminating spam. Well, that … Read more Server-Side Email Filtering With Sieve

Poof it's Gone

OK, I’m only really posting this cause I need it and I just want to put it somewhere to remember it. 😉 To make a file or folder invisible issue the following from the CLI. [applescript] SetFile -a V path/to/fileOrFolder [/applescript] To make it visible again… [applescript] SetFile -a v path/to/fileOrFolder [/applescript] That’s it. This … Read more Poof it's Gone