LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Blogs > Musings on technology, philosophy, and life in the corporate world
User Name
Password

Notices


Hi. I'm jon.404, a Unix/Linux/Database/Openstack/Kubernetes Administrator, AWS/GCP/Azure Engineer, mathematics enthusiast, and amateur philosopher. This is where I rant about that which upsets me, laugh about that which amuses me, and jabber about that which holds my interest most: *nix.
Uncategorized Entries with no category
Old

The Lost Art of Situational Awareness

Posted 10-21-2012 at 07:39 PM by rocket357 (Musings on technology, philosophy, and life in the corporate world)

I was driving to the store tonight. As I drove through the (seemingly) deserted stretch of parking lot, I came up to a man, woman, and child walking through the dimly lit area. I noticed that they were uncomfortably close to the road, so I started to fade to the left to avoid them. As I approached, the man continued narrowing the gap between my 2 1/2 ton vehicle and his body. His wife wisely stayed to the right with their child...but then an amazing thing happened...

I continued...
Member
Posted in Uncategorized
Views 1467 Comments 0 rocket357 is offline
Old

In preparation for an anniversary

Posted 10-16-2012 at 05:20 PM by rocket357 (Musings on technology, philosophy, and life in the corporate world)

It's been nearly a year since I started working at Rackspace, so I've been thinking alot over the past few days about how my life has changed since I started this insane wild ride. Aside from the expected "I live in San Antonio now", or "I make better money now", or even "I can't begin to explain how much I've learned in the past year", there are deeper, more subtle changes that have had oddly profound effects on my day to day life.

For starters, its...
Member
Posted in Uncategorized
Views 1426 Comments 0 rocket357 is offline
Old

Automated OpenBSD-STABLE build

Posted 10-08-2012 at 04:54 PM by rocket357 (Musings on technology, philosophy, and life in the corporate world)
Updated 10-08-2012 at 05:14 PM by rocket357 (refactoring?)

It's ugly. But it works.

Code:
#!/bin/sh

set -e

export LOGFILE=/var/log/build_stable.log
export ARCH=`machine`

# DEFAULT: BUILD -STABLE (UPGRADE TO LATEST -RELEASE FIRST!!)
export BUILDVER=OPENBSD_`uname -r | tr '.' '_'`

cat > ${LOGFILE} << EOF


STABLE BUILD - `date` - `uname -a`


EOF

echo "Updating Sources for ${BUILDVER}"
...
Member
Posted in Uncategorized
Views 1435 Comments 0 rocket357 is offline
Old

I am a networking idiot

Posted 10-01-2012 at 10:36 PM by rocket357 (Musings on technology, philosophy, and life in the corporate world)
Updated 10-02-2012 at 09:22 AM by rocket357

So a while back I got my hands on a Cisco 2948 for my home network. Sure, it's only 10/100. Sure, it's an older model. Sure, it's EOL.

But damn it's sexy in my livingroom...48 ports of Cisco goodness. Port security! VLANS! So much more than my other "dumb" switches! Imagine the possibilities! I set off flipping knobs and tweaking everything as tight as I can. Months of restful sleep ensue, with my world protected by pf and a locked down switch.

Then...
Member
Posted in Uncategorized
Views 1446 Comments 0 rocket357 is offline
Old

Auto-block ssh brute force attacks using built-in tools (OpenBSD and Linux)

Posted 08-30-2012 at 01:28 AM by rocket357 (Musings on technology, philosophy, and life in the corporate world)

I've run a cool trick for a while on my OpenBSD firewall at home, where traffic from any given ip address and port 22 on the firewall is rate limited. If an ip exceeds the given rate, it is put into a ban list (table, actually) that the firewall is configured to drop all traffic from. It works well, and the same functionality can be setup in Linux, too.

To set it up on OpenBSD (this is lifted verbatim from the OpenBSD website pf manual, hence port www instead of port ssh):
...
Member
Posted in Uncategorized
Views 2044 Comments 0 rocket357 is offline

  



All times are GMT -5. The time now is 01:59 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration