Landis Vinchattle An aggregation.

January 28, 2012

Android VPN Articles and References

Filed under: Android,Communications,Security — Tags: , , — Landis V @ 1:44 pm

Looking towards configuring StrongSwan as an IPSec VPN endpoint for Android.  The long-term goal is to set up a VPN configuration in which the phone automatically forwards all traffic through the IPSec VPN tunnel to be routed via my home connection unless 1.) the phone is connected to my private wireless network (perhaps one dedicated to the phone) or 2.) I manually disable forwarding, possibly to be resumed automatically after a timeout, and definitely to be resumed at phone reboot.  On the private network, will be doing some HTTP filtering, mangling, redirecting, and blocking; some file sync’ing and/or “private cloud” streaming; some monitoring; some outright blocking; some home automation… all kinds of wonderful, fun and exciting things.  I’m coming up on a year since I left the giant red atrocity that is Verizon and purchased an Android phone and plan from US Cellular (which has been an outstanding upgrade in every way… both the phone and the carrier), and I’m just now getting things in place to begin configuring the VPN hub, hence “long term”.  This post is primarily to note a few pages with hints, tips, and configurations for Android (and iPhone) device connections to a (Open|Strong)Swan server.  The biggest problem I seem to be encountering thus far is that I don’t think any I have yet encountered are descriptive in setting up an “always on, automatic at boot” connection, and I’m thinking I’ll need to get a working tun.ko module for my phone to really make this happen as I would like.  We shall see.

More to follow/update to post later.

Dynamic DNS Updates

Filed under: Software — Tags: , — Landis V @ 12:38 pm

http://www.semicomplete.com/articles/dynamic-dns-with-dhcp/

May get around to setting this up a little while down the road.

NTPD and the Terrible, Horrible, No Good, Very Bad Listening Sockets

Filed under: Security,Software — Tags: — Landis V @ 11:41 am
Trying to get ntpd to stop creating listening sockets is a royal pain in the ass. Sure, I can set a firewall rule that blocks access to the port on undesired interfaces, but it's more work to make that happen, and it's just not as clean. Here's what I finally ended up doing to stop creating default (0.0.0.0:123 for IPv4 and :::123 for IPv6) listeners and just set a listening socket on one address on my internal interface. Hopefully it helps someone else out.
 # Add to ntp.conf, in order
 interface ignore all
 interface ignore ipv4
 interface ignore ipv6
 interface listen 192.168.0.1

While there’s not a gaping security window with NTP, I just feel a little safer not having anything listening at all.

January 7, 2012

WordPress Plugin Failure

Filed under: Web Applications — Landis V @ 4:37 pm

After a recent WordPress upgrade, I found myself unable to log in again and was receiving HTTP 500 messages.  Kudos to Jeff for his post at http://perishablepress.com/press/2008/02/18/quickly-disable-or-enable-all-wordpress-plugins-via-the-database/ for the quick backend disable of plugins through the database.  I’m sure there are other posts describing the process out there, but his came up near the top of Google’s results for my search and were very simple and straightforward – and solved the problem in short order.  Fortunately I wasn’t under his time crunch to get things fixed, but I appreciate his documenting the fix after the fact.

January 4, 2012

Too good not to share

Filed under: Government,Humor,Politics,Rights — Landis V @ 9:48 pm

How to Explain Gay Rights To an Idiot

Simple, humorous, straightforward.  Could probably be stretched to include other rights, but it would dilute the simplicity and the clarity.

Iowa Caucuses

Filed under: Government,Politics,Rights — Landis V @ 9:41 pm

Some good things and some bad things from the Iowa caucuses. Opening with some humor, one commenter I read noted the misfortune that Santorum didn’t pull it out in the end, providing the amusement of “Comes From Behind” headlines. In all honesty, Rick “If You’re Going To Live Under My Roof When I’m In The White House You’ll Do As I Say” Santorum is the only candidate who’s a marginally worse choice for your vote than Obama. Romney’s victory is sad and disheartening, though it would have been equally disheartening to see a Gingrich or Perry victory there – these candidates are such a minimally better choice than the status quo that we might as well at least keep what rights we have (as long as, heaven forbid, the current nimwit doesn’t get to appoint any more Supreme Court justices) and save a few million in redecorating costs for the White House.

On the plus side, Michele Bachmann is finally out of the race, though I fear the votes that remained behind her will shift to InSantorum as I see them as the two candidates with the greatest parity on the ticket (with Paul/Johnson as the second closest and Romney/Gingrich rounding out the pairings IMO). Seeing Perry and Gingrich satisfyingly distant is encouraging, but it’s still the first caucus and I’m not sure either of them put any real focus on Iowa. Perhaps best, while Ron Paul came in third, he’ll still get the same seven delegates as the top two vote-takers.

What’s the takeaway? Whatever else you do, don’t vote for Santorum. Or Obama.

Powered by WordPress