Posts

HowTo: GeoIP restrictions for Amazon Linux 2

Image
Background: I have a few Amazon Linux 2 EC2 instances that I run for personal use.  Generally, I restrict "important" / remote access services to my home egress IPs, but for services that I expect to be generally available I cannot do that. Anyone who has hosted a service on the public Internet knows that it's a matter of minutes after the service comes online before it starts being probed by all manner of scanners, exploit scripts, curious hackers, botnets, &etc.  No big deal, just build secure services, right? Naturally.  But "defense in depth" dictates that if you can  filter out a large percentage of these requests, you should.  As doing so not only reduces the load on your service, but also reduces the likelihood of your service being tagged by some unforeseen exploit. Enter:  Maxmind's GeoIP database and the xtables-addons GeoIP filter .  With the geoip module you can easily use iptables to restrict traffic to only those countries you know y...

Wiring Diagram for Whirlpool / Maytag Dryer MEDC200XW1

Image
 Wiring Diagram / Schematic for Whirlpool / Maytag Dryer model # MEDC200XW1 Drawing listed as Part No W10185989 REV L

WHAT DAY IS IT?

Image
I made a "DayClock" to remind me what day it is.   You can find the details on my GitHub page: https://github.com/phreakmonkey/DayClock

Flight to Death Valley

Image
We took the T210 down to Furnace Creek, Death Valley national park. Here's some snapshots in no particular order (LOL): And a video of the landing:

OpenSCAD Module for Rounded Boxes

Image
I got kind of tired of rewriting the same OpenSCAD code to build rounded boxes for things and messing up the minkowski sum math in the process, so I built a simple module to do it for me.  Usage is simple: include <rounded_case.scad> rounded_case(25, 25, 10, 2); The paramaters are: rounded_case(X, Y, Z, T, LID , LID_OFFSET ) Where: X, Y, Z : Inside dimensions of box T : Thickness of walls LID : optional, bool : true to also make a lid LID_OFFSET : optional :  how much smaller to make the "lip" of the lid that fits inside the top of the box The outside dimensions of the box will be the inside dimensions + 2 x T.   E.g. if the X dimension is 20mm, and T is 2mm, then the width of the box will be 24mm (20 + 2 + 2).   The example above will make a box that is 29mm x 29mm x 14mm (with the lid on) on the outside, and 25 x 25 x 10 on the inside. Get it here:  rounded_case.scad

"Full Boat" - flew to Lompoc, CA to watch the Falcon 9 launch

Image
I flew down to Lompoc, CA on Sunday with Miles, and our friends the Baalmans (Gary, Laura, & their two kids) to watch the SpaceX Falcon 9 launch at Vandenberg AFB. This was the first Falcon 9 "return to land" on the west coast, and it went spectacularly. We found a great viewing spot along HWY 1 overlooking the launchpad.

Snapshots from N6779B

Image
A few snapshots from my first couple of months of T210 ownership: