RSSAmplifier

Blog

badllama.com

badllama.comRSS feed ↗10 posts

Latest posts

Setting up the Jetson Orin Nano Super

Like any lab setup, this was kind of a headache. I ll save you the excruciating details and simply tell you what you actually need to get this thing going. What I Really Needed MacBook Pro laptop Balena Etcher Jetson Orin Nano Super 8GB YahBoom! case for the Jetson Orin Nano Super Amazon Basic keyboard with built-in touchpad DisplayPort compatible monitor at 1080x768 USB-C to MicroSD card…

Zoom In or Zoom Out: Should I use Zoom or not?

Executive Summary With remote work in the USA at its peak during spring of 2020, so is the use of conferencing software and its accompanying paranoia. In this article, I talk about the recent buzz around Zoom s security flaws, and take a realistic look at its imperfections, the reasonable use cases of the software, and the expectations and alternatives we should incorporate and explore. Why are…

Surf GCP organizations for folder permissions

This script quickly outputs the iam policies for each folder in your GCP organization. This is a good tool if you re chasing down a permissions problem and you re not sure which folder might be the issue. Fetch IAM policies Fetch organizational policies Tags: GCP IAM Folders Organizations

x509 certificate -> OpenSSH pubkey

Where I work we have these smart cards (CACs) with x509 certs, protected by a PIN. There was some directive years ago to use these certs to login to all systems, but also the OpenSSH people said they would never support x509 for security reasons (x509 being too complex to be secure). The result of all of this crap is that people in the Navy just pretend like having the keys from the x509 is good…

Secure and Cheap Production-Class ElasticSearch in 10 Minutes

Backstory I love open source. I love ElasticSearch, I love the AWS cloud, and I love not getting compromised. Today, I m putting a solution in production that I just have to tell someone about or I m going to explode. If you love any of these things too, then read on my friend, because I ve created something that can make your life easier. See this slide presentation for more information on the…

Running Your Own Encrypted DNS Server for Fun and Profit

Backstory So yeah privacy is dying in ways I never imagined. Your ISPs are harvesting data on you and selling that data without your knowledge or consent. They re monitoring all the devices you connect to your home network and aggregating who knows what kind of data about what you do on them, who manufactured them, etc. Honestly it s creepy that my ISP is spying inside my front door, and I m…

Basic OpenBSD Relay

# $OpenBSD: relayd.conf,v 1.4 2018/03/23 09:55:06 claudio Exp $ # # Macros # egress="W.X.Y.Z" lo="127.0.0.1" # # Global Options # # interval 10 # timeout 1000 # prefork 5 # log updates # # Each table will be mapped to a pf table. # table <apache2> { $lo } table <httpd> { $lo } http protocol https { match request header append "X-Forwarded-For" value "$REMOTE_ADDR" match request header append…

CORS

An API generally doesn t want to restrict a request s origin. However, some things don t work well with Access-Control-Allow-Origin: * . So, the way around that is to just mirror back the Origin that a client sends. This apache config sets Access-Control-Allow-* headers when it receives an Origin header from a client, and mirrors the requested Origin back in the Access-Control-Allow-Origin header.…

Securing S3 part 2: Locking your buckets and objects

Building on this post , below are some examples of how to traverse your entire S3 inventory and: Apply bucket policies that prevent Users from uploading content that s publicly available Prevent users from making existing content public Remove any public or semi-public access to your objects stored in S3 Get the code here . Converting these scripts to Ansible isn t an incredibly straightforward…

Common Ansible Errors

--------------------------- ec2: error: unrecognized arguments This is almost certainly caused by placing the EC2 dynamic inventory script in you project s ./library directory. What s happening is that the dynamic inventory python script has the same name as the default EC2 module . Therefore, it overloads the default module at runtime. Put your dynamic inventory scripts in the root directory of…