Month: September 2018

  • Debugging in the container: http when you don’t have curl

    Debugging in the container: http when you don’t have curl

    Same sort of deal as the previous post. Let’s say you are trying to understand why you are getting a 404 when you access a host from within a container, but not from outside. So you help yourself to a little bash-fu: #!/bin/bash exec 3<>/dev/tcp/91.189.91.23/80 echo -e “GET /ubuntu/dists/bionic-security/InRelease HTTP/1.1\r\nhost: security.ubuntu.com\r\n\r\n” >&3 cat <&3 You…

  • Debugging in the container: how to resolve a host when you don’t have the tools

    Debugging in the container: how to resolve a host when you don’t have the tools

    We’ve all been there. You are curious what container-A resolves container-B to. But, since you believe in security, you have carefully made sure container-A is as close to ‘distroless‘ as possible. You’ve made the filesystem read-only, no privilege is present, and no tools. You now come along later, run ‘kubectl exec -it … sh’. And…

  • Laser bike lights!

    Laser bike lights!

    Lasers. Once thousands of dollars, now cat’s toys from the dollar store. What a time we live in. And now they are on my bike. I purchased the Ampulla C1, it gives you rear-light, turn lights, brake lights, and laser-lines on the road to encourage traffic to give you some space. Now, the lasers are…

  • Scroll-wheel zoom for KDE and bad eyesight

    Scroll-wheel zoom for KDE and bad eyesight

    make your scroll wheel zoom around mouse, kde edition

  • CIRA voting has begun. And bad SSL ensues

    CIRA voting has begun. And bad SSL ensues

    Yesterday was the AGM for the Canadian Internet Registry (CIRA). And coincident with that, the voting for the next slate of board of directors started. I am running for a board member, and would appreciate your vote. If you have a .ca domain name, you are a member. You had to be a member by…