IPv4 Countdown, down to the days.

Are you ready for IPv6? Only a few days left until the ipv4 apocalypse.
Some interesting links:
Fox news has no idea what they are reporting on:
"Web developers have tried to compensate for this problem by creating IPv6 -- a system that recognizes six-digit IP addresses rather than four-digit ones."
http://www.foxnews.com/scitech/2011/01/26/internet-run-ip-addresses-happens-anyones-guess/
Twitter Feed reporting the countdown:
http://twitter.com/IPv4Countdown
Facebook Page
http://www.facebook.com/pages/IPv4-Countdown/162683847102050
Want a countdown widget thingy? On your phone perhaps?
http://ipv6.he.net/statistics
For those who aren't in the know of this techno-apocalypse wikipedia has the answers for you:
http://en.wikipedia.org/wiki/IPv4_address_exhaustion
Quick Debian Server Provisioning Script
Here is a quick little bash script that I use to initially provision Debian LAMP servers from a fresh install. This should setup PHP with all the whistles and bells, a whole handful of utilities as well as install webmin for you.
Nothing to complicated here, just a quick little script to speed up your life.
clear clear echo 'Debian Provisioning Script' echo '01-12-2011 TNL Total Solutions' echo 'http://www.tnlsoft.com' echo '' read -p "Press any key to begin provisioning" clear echo 'Preparing server for provisioning...' apt-get update apt-get upgrade apt-get dist-upgrade echo '' echo 'All existing packaged updated' echo '' read -p "Press any key to begin installing NEW packages" clear echo 'Installing Required Packagesn' apt-get install apache2 apache2-utils apache2.2-common bind9 bind9-host bind9utils curl gawk denyhosts sendmail ftp proftpd gzip iptables lftp libapache2-mod-perl2 libapache2-mod-php5 libapache2-reload-perl libcurl3 libxml2 lynx mysql-client mysql-common mysql-server ntp ntpdate openssh-client openssh-server openssl perl perl-base perl-modules php-pear php5 php5-cli php5-common php5-curl php5-dev php5-gd php5-geoip php5-imagick php5-imap php5-ldap php5-mcrypt php5-mhash php5-mysql php5-odbc php5-xmlrpc proftpd python rdate samba samba-common sendmail sendmail-base sendmail-bin sendmail-cf sensible-mda subversion tar unzip wget makeself zip libghc6-openal-dev libsage2 libsdl-gfx1.2-4 mingw32 mingw32-binutils mingw32-runtime echo '' echo '' echo 'Creating Skel' mkdir /etc/skel/www mkdir /etc/skel/logs mkdir /etc/skel/www/cgi-bin cd /var/www rm index.html wget http://www.tnlsoft.com/debian/index.txt mv index.txt index.php chmod 0777 index.php cp index.php /etc/skel/www echo '' echo '' echo 'Reconfiguring PHP 5' cd /etc/php5/apache2 mv php.ini php.ini.old wget http://www.tnlsoft.com/debian/php.ini echo '' echo '' echo 'Installing PEAR Packages' pear install Mail pear install Net_SMTP echo '' echo '' echo 'Enabling Apache Mods' a2enmod dav_fs a2enmod dav a2enmod rewrite echo '' echo '' echo 'Restarting Apache' /etc/init.d/apache2 restart echo '' echo '' echo 'Installing Webminn' cd /root wget http://downloads.sourceforge.net/project/webadmin/webmin/1.530/webmin-1.530.tar.gz tar -xvf webmin-1.530.tar.gz cd webmin-1.530 ./setup.sh echo 'Done!'
Grab it here: http://dev.tnlsoft.com/download/debian_provision.zip
Google Hardware in 1998
I remember in 1997 when someone first pointed me to http://google.stanford.edu a student project that was supposed to beat out WebCrawler as a search engine. I wasn't too impressed at the time... It's interesting to think how huge Google has become and how I don't really use anything else to search the web. Let alone the dozens of other services I use Google for regularly. At the time the Google.standford.edu homepage looked something like , complete with the default to only show 10 results.
What is even more impressive is the hardware that ran google back then:
- 2 300 MHz Dual Pentium II Servers with 512MB of RAM. There are 9 9G drives between the two machines. The main search engine ran on these.
- An IBM RS6000 with 4 processors and 512MB of memory. It had 8 9G drives internal.
- A Machine with 3 9G drives, and there are 6 4G drives attached to a Sun Ultra II.
- An IBM disk expansion box had another 8 9G drives.
- A Sun Ultra II with dual 200MHz processors, and 256MB of RAM.
- A homemade disk box which contains 10 9G SCSI drives.
All of Google in 1998 as a whole:
My Battle With The Local FOX Affiliate
This is the anniversary of this post.. and it's one of my favorites. I recall a job interview that only consisted of this story... So here it is again direct from 11 years ago... this post-dates the dot-com bust ![]()
This is my story of a small battle with my local FOX affiliate in Dayton, OH. It involves my love of Star Trek, Bad Web Developers, non-responsive corporations, and the news media. This is rather old, but I just came across the Wired News Story about the incident again, and was inspired to tell the story.
What Started It All.
6 Years ago, the show Star Trek Voyager was on the air, however problems between UPN and Fox, forced many Fox affiliates to drop the UPN Show.
Unfortunately in Dayton, OH they did this during after the 1st part of a 2 parter. I was pissed. After waiting and waiting hoping to hear something about the show, I eventually realized it was no longer going to be aired on broadcast TV in my town.
Protest.
I went to the FOX 45 website, and tried to find an email address to lodge my complaint. This site was the WORST front page site I had ever seen. There was no email contact, only a website form which I proceeded to fill out. A few choice words might I add. Then I proceeded to click that SUBMIT button with a vengeful satisfaction.
The next page alerts me that I did not fill out the form completely. They expected me to not only provide my name and email address, but my full address and telephone number. This was a bit disturbing, but I felt that their offense was so severe, I would do anything to get my show back. So I went back and filled everything out.
A few weeks went by and no response. Not even an autoresponder saying that they got my complaint. So I returned to the website and lodged another complaint, filling in all of my information.
Again, a few weeks went by and nothing.
By this time it had been a month without Star Trek and thanks to the net I was well aware that there was a conclusion to the cliffhanger they left me with. So I found myself back on the website. This time determined to find an email address.
The Discovery
I figured that form I had filled out a few times was simply emailed to someone at the station and the 'Mail To' form on the page might have an email address in the HTML code. So, I went back to the page and did a view source. There was no email address to be found but there was a reference to a file. it was something like /_vti_xxx/comments.txt So I simply appended that path to the url... (i.e. www.fox45.com/_vti_xxx/comments.txt) and waited and waited and waited for my dialup connection to load this amazingly large page.
I was dumbfounded. What was there was every single comment submitted to the site, complete with names, addresses, phone numbers and email addresses. The FIRST thing I noticed was that I was not alone in my anger about the Star Trek show. I was only one of hundreds complaining. But I had come to the realization that all of these peoples personal information was there for the taking by anyone with a web browser, including my own personal information (in there twice!).
I was amazed at the sheer lack of competence for a professional organization in their web security. Even in 1999. While that may be expected from a fan site or a hobby site, you would not expect that from a business (at the same time you wouldn't expect a reputable company to use Frontpage 97).
Trying To Get FOX 45 to Listen
I printed all 500+ pages of this publicly accessable page to my fax program and let my computer send this fax to the station with a cover letter explaining my concern and detailing the problem.
A few weeks pass and no response. The file remained.
So.. again..I resend the fax... I'm sure they really loved the fact I was faxing them more than a ream of paper. TWICE. Someone HAD to notice that.
About 3 days later the contact page disappeared and offered a generic email address to send comments to. However the file containing everyone's information was still up there. So this time, I altered my cover letter, letting them know that removing the contact page doesnt remove the data that was submitted though the (now) missing page. Another 500+ page fax plus emails to the generic contact addresses listed on the site... (still trying to get their attention).
Drastic Action
A few more weeks passed and nothing. A friend of mine where talking about this and how totally wrong the situation was and decided that we would send the link/url to everyone's email address who had their information compromised.
I dont' have a copy of the email we sent anymore, but we explained the situation, provided the url so they could see for themselves, and encouraged everyone to call the station and demand that their information be secured.
We wrote a simple perl script (less than 8 lines of code) to extract all of the email addresses from the file and put them nicely by themselves in a 1 address per line output file. We proceeded to send the emails to everyone who's information was in there. We also added email addresses of competing television stations in the area, as well as various other media outlets. The emails where sent them under an anonymous name, Black Flag, with a real return email address so that we could get responses.
This was about 1am... The emails went out, we went to bed and then to work in the morning and after work all hell broke loose. Several news agencencies had emailed wanting an interview. Wired being the most notable, wanted an interview, but we didnt respond in time and they ran the story anyway. The file on the net was gone. There was an outpouring of support from people who appreciated what we had done, A few emails to our web-host claiming we where spamming them and The FOX Affiliate cried foul and said that we 'hacked' them and claimed that we even changed his password so they could not access the site. All this from a simple VIEW SOURCE command available on all web browsers.
Quote:
"We feel like we got hit in the back of the head," said Hanson, who claimed that Black Flag had changed his password so that he could not access his site. "They come along and they mess with this info, and then they send a mass mailing, so here we are in this whirlwind."
Quote:
A search of the file by Wired News uncovered 657 individual email addresses. The page was removed from the site at about 9:25 a.m. PST.
Anyway... it took a lot to get them to take the file down, but after some extreme measures they finally did.
I called and claimed responsibility and asked them if they would hire me. They seemed a bit busy, and declined my job offer.
Why am I writing about something from 6 years ago.. ehh.. I just came across the Wired news story and found it amusing... a bit distorted, but amusing... You can read it here:
http://wired-vig.wired.com/news/technology/0,1282,17437,00.html
Linux Command Line Tools for CMD.EXE
For me, I find the linux command line like a second home. When I'm on Windows, I find that I live in CMD.EXE a majority of the time -- I usually always have a command prompt open. Aside from everything about Windows that drives me insane on a regular basis, I find the command prompt almost useless by itself, especially when compared to linux.
How often do you hop on a windows command prompt and type 'ls' instead of 'dir'? Somewhere along the way I started collecting small collections of Linux tools that run in the windows command prompt. Every few months someone else asks if I can send them my archive of tools as they don't want to deal with msys or cygwin... These are from various sources over the years, including various collections of others.
The full list of programs included in the archive is here: http://www.brian-shaffer.com/dls/nixutils.txt
Download the archive here: http://www.brian-shaffer.com/dls/nixutils.zip
Just add it to your path environment variable.
Tweet




