Profile

Cover photo
Brian Baligad
Works at Staminus Communications
Lives in Irvine, CA
48 followers|49,884 views
AboutPostsPhotosYouTube
People
In his circles
50 people
Have him in circles
48 people
Mark Baligad's profile photo
Isaac Guillen's profile photo
Paradise View's profile photo
Brandon Winkler's profile photo
Andrew Strutt's profile photo
Alexandra Yount's profile photo
Dexter Caseres's profile photo
Patrick Sippola's profile photo
gwen stacy's profile photo
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Irvine, CA
Previously
Anaheim, CA - Rustburg, VA - Powhatan, VA - Huntington Beach, CA - Coppell, TX - Pomona, CA
Contact Information
Home
Email
Story
Tagline
The journey is the reward
Bragging rights
National Cyber Defense Champion - NCL Spring 2012
Work
Occupation
Network Engineer
Employment
  • Staminus Communications
    Technical Operations Lead, 2012 - present
Basic Information
Gender
Male

Stream

Brian Baligad

Shared publicly  - 
 
#ddos  
1
Add a comment...

Brian Baligad

Shared publicly  - 
 
Piping scripts to #bash  from a url is a common (and potentially unsafe) practice.  It's still useful and practical under certain conditions. I ran into a strange problem when I realized my script was not completing though. I was calling it normally:

 curl -s http://192.168.1.1/example.sh | bash

But I noticed only the first line would execute on the first try. It was necessary to run the script twice before it would run completely.  The first command in the script was a package change with a environment variable, like this:

 DEBIAN_FRONTEND=noninteractive apt-get install -q -y libnss-ldapd

Some sed lines that set up configuration files followed.  But nothing after this line would run on the first try.  I was reproducing the issue in a VM. 

The problem suddenly evaporated when I started calling the script with some different syntax:

 bash <(curl -s http://192.168.1.1/example.sh)

Now this could be because piped commands execute asynchronously. But I wouldn't have guessed so, given that I see remote scripts commonly executed like this (see the silly tumblr link).  
People telling people to execute arbitrary code over the network.
1
Add a comment...

Brian Baligad

Shared publicly  - 
 
I'm running low on disk space on my btrfs mirrored volume. Solution: add two more drives, ala raid10.  Except the concept of raid10 is unnecessary in btrfs: "You can keep the RAID-1. It's always two copies, no matter how many devices you have in btrfs." -darkling in Freenode #btrfs . So after encrypting the new drives, adding more storage is simple:
btrfs device add /dev/mapper/hufflepuff /mnt/hogwarts
btrfs device add /dev/mapper/ravenclaw /mnt/hogwarts
btrfs filesystem balance /mnt/hogwarts

Note that it was not necessary to use mkfs.btrfs, because balance will reformat the new volumes.  It's not even a big deal that the 2 new drives are both 3TB, and the first two drives were 4TB. Balance figures it all out.
1
Add a comment...

Brian Baligad

Shared publicly  - 
 
Ohh.. this looks good.
1
Add a comment...

Brian Baligad

Shared publicly  - 
 
I just finished reading all of those goofy X-Men comics from the silver age.
I just finished reading silver age X-Men comics, issue #1 to #66. That Marvel Unlimited subscription is really proving to be valuable! Along the way h
1
Add a comment...

Brian Baligad

Shared publicly  - 
 
URxvt can be configured to use more than one font. This is great if your primary font is missing glyphs that you want to use:
URxvt.font: xft:Terminus:size=10:antialias=false, \
xft:Sans:size=10:antialias=false
Sans has symbols like ✚ and ✔, which Terminus does not.  Terminus gets used for all glyphs except for ones like these.
1
Add a comment...

Brian Baligad

Shared publicly  - 
 
Hammer-time. #ddos 
1
Add a comment...
In his circles
50 people
Have him in circles
48 people
Mark Baligad's profile photo
Isaac Guillen's profile photo
Paradise View's profile photo
Brandon Winkler's profile photo
Andrew Strutt's profile photo
Alexandra Yount's profile photo
Dexter Caseres's profile photo
Patrick Sippola's profile photo
gwen stacy's profile photo

Brian Baligad

Shared publicly  - 
1
Add a comment...

Brian Baligad

Comics Discussion  - 
 
After reading many older X books, I've made up a relatively short list that I would personally recommend to a new reader.  

tl;dr Season One, First Class, Claremont's UXM and NM - great stuff!
(I'm reading Excalibur now)
Thanks to Comic Back Issues and Marvel Unlimited, I've progressed through my attempt at a mostly chronological comprehensive reading of X-Men comics u
2
Add a comment...

Brian Baligad

Shared publicly  - 
 
Some time ago, I noticed that latency between COX LA and Staminus LA was a dismally slow 45ms.  It turns out Atrato, one of our upstream providers, peers with Cox in exactly two places: Chicago and Dallas. So basically this was adding a 3k+ mile round trip to all packets coming to our network from our local county...
It's a little strange to step outside your own data center and suddenly be 1,500 miles away.  Having that route adjusted back through LA dropped latency back to ~15ms.  We basically updated a #bgp  community string that disables use of the Dallas peering point. However, that might cause other problems, so the change might not last.  The real solution would be for these larger networks to have more than, oh say, two fucking peering points in the US.
1
Mike Hale's profile photo
 
I noticed the same, and actually send my traffic through my non-staminus server at 15ms RTT. Amusing to see why that was happening.
Add a comment...

Brian Baligad

Shared publicly  - 
 
Magneto talking on an Android Wear watch, more than 50 years ago (UXM #5)
1
Add a comment...

Brian Baligad

commented on a video on YouTube.
Shared publicly  - 
 
This is the best show on Youtube.
2
Add a comment...