Ghost blog caching with Varnish

In this post I show a few of my tip’s for using Varnish for caching and Ghost together. Don’t cache everything Caching is good, but we don’t want to cache everything in ghost, we don’t want to cache the admin and preview pages in ghost. Add the following in the sub vcl_recv part. # Did not cache the admin and preview pages if (req.url ~ "/(admin|p|ghost)/") { return (pass); } restart Varnish to activate the changes....

October 6, 2019 · Dennis Kruyt

ZeroTier on a Ubiquiti EdgeRouter (part 2)

In my previous post I showed how to install ZeroTier on the EdgeRouter, after installing we need to rename the ZeroTier interface to ethx interface to show up in EdgeOS. ZeroTier on a Ubiquiti EdgeRouter With the new EdgeOS version 2 firmware for the EdgeRouter it is now possible to install ZeroTier on this router. Dennis Kruyt Kruyt.org Now I adopted EdgeOS (which is basically VyOS/Vyatta running on the EdgeRouter) to support ZeroTier from the native CLI with tab completion....

September 27, 2019 · Dennis Kruyt

MySQL tuning

At my work in the past I needed to trouble shoot and tune MySQL installations. Here are some best practises I have used.

September 24, 2019 · Dennis Kruyt

Linux disk performance tuning

Some option in Linux that can be used for disk related performance tuning.

September 22, 2019 · Dennis Kruyt

Instagram/Facebook HELO/SPF fail

I am trying to get an email from instagram, but I wasn’t receiving it. Upon checking my mail logs I see the following log message. Sep 13 03:50:51 mailserver postfix/smtpd[28105]: NOQUEUE: reject: RCPT from 66-220-155-156.mail-mail.facebook.com[66.220.155.156]: 550 5.7.1 <[email protected]>: Recipient address rejected: Message rejected due to: domain owner discourages use of this host. Please see http://www.openspf.net/Why?s=helo;id=mx-out.facebook.com;ip=66.220.155.156;[email protected]; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<mx-out.facebook.com> So the mail is SPF (Sender Policy Framework) failing. Email domains use this protocol to specify which mail hosts are authorised to use this domain in the SMTP HELO and MAIL FROM commands....

September 13, 2019 · Dennis Kruyt

ZeroTier on a Ubiquiti EdgeRouter

With the new EdgeOS version 2 firmware for the EdgeRouter it is now possible to install ZeroTier on this router.

August 31, 2019 · Dennis Kruyt

My BBQ creations

My Kamado’s This is where the magic happens. Smoked Pork belly Chicken Tandoor style in a Kamado Porchetta Vulcan bread Angus Uruguay Grain Fed Pichana

August 27, 2019 · Dennis Kruyt

Fortinet FortiADC in Grafana

FortiADC is is a application delivery controllers (loadbalancer). The devices metrics are availalbe via SNMP. So it’s quite easy to collect those and display them in Grafana. Pre Install Make sure you have installed InfluxDB as the time-series database Telegraf as collector first. Optional you can also include the FortiADC logs when they are in elasticsearch. I use the Greylog sollution for this. Quick Start Get the latest files, at my GitHub page...

August 21, 2019 · Dennis Kruyt

Docsis stats from ARRIS Ziggo modem

I have at home a Ziggo cable internet connection. The modem that Ziggo provides is a Arris modem. I have this modem in bridge mode because I have my own router. But I like to get some DOCSIS statistics from this modem. The modem provide these via a kind of web snmp output, but this is not very useful. Ziggo Connect box To parse this output into something more readable I create a crude oneliner script....

August 16, 2019 · Dennis Kruyt

MOINK Balls

MOINK Balls? What is a MOINK? The name MOINK is a fusion of the sounds the animals (meat) from which these balls are made, Moo and Oink. Moo for the ground beef and Oink of the bacon of course. The original idea for this is from Larry of the BBQ-Brethren Forum. This is my twist on that. Ingredients • 750 gram of ground beef• 40 gram of Parmesan cheese • One Egg• A couple of garlic cloves• A tea spoon of Salt• A tea spoon of Pepper• 100 ml milk• Dried Oregano• About twenty Beacon strips• BBQ Saus• Your favourite BBQ Rub• 60 gram of breadcrumbs• Toothpicks for the balls...

August 15, 2019 · Dennis Kruyt