Comcast again

I have started to get really mad at comcast lately. I had set the DVR to record a show on Mojo the other night. Went to watch it tonight, and guess what…. Comcast pre-empted the show with FOX Sports again! So I decided to use their Chat thing tonight and chat with them to see why they are doing that, here was the outcome:


Me(Sat May 24 2008 19:33:59 GMT-0400 (EDT))>

Why is FOX Sports Pittsburgh HD showing up on the Mojo channel?

analyst James has entered room

James(Sat May 24 2008 19:34:03 GMT-0400 (EDT))>

Hello Me_, Thank you for contacting Comcast Live Chat Support. My name is James. Please give me one moment to review your information.

James(Sat May 24 2008 19:34:11 GMT-0400 (EDT))>

Good Evening

Me_(Sat May 24 2008 19:34:23 GMT-0400 (EDT))>

hello

James(Sat May 24 2008 19:35:07 GMT-0400 (EDT))>

That happens because Comcast does not carry FSN Pittsburgh in HD, but the Penguins games are aired in HD on that channel.

Me_(Sat May 24 2008 19:36:07 GMT-0400 (EDT))>

Uh, yeah they do...channel 769 is "FSPHD" which is Fox sports Pittsburgh in HD. It is currently airing the exact same thing as in on Mojo.

James(Sat May 24 2008 19:36:28 GMT-0400 (EDT))>

We do not carry that channel in every area.

Me_(Sat May 24 2008 19:36:48 GMT-0400 (EDT))>

It is frustrating because when I try to tape something on mojo, 9 times out of 10 I get something else.

James(Sat May 24 2008 19:36:58 GMT-0400 (EDT))>

I am sorry for the inconvenience.

Me_(Sat May 24 2008 19:37:49 GMT-0400 (EDT))>

can they not change the channel guide to show when they are going to pre-empt a show that is supposed to be on mojo with what ever they are going to simulacast from FSP?

Me_(Sat May 24 2008 19:38:19 GMT-0400 (EDT))>

like right now it says London Live should be on, but it is a pittsburgh pirates game.

James(Sat May 24 2008 19:38:21 GMT-0400 (EDT))>

The channel guide is controlled and maintained by TV Guide

Me_(Sat May 24 2008 19:39:03 GMT-0400 (EDT))>

So there is really no way to ever know if I am going to get what I set to get recorded?

James(Sat May 24 2008 19:39:36 GMT-0400 (EDT))>

I am very sorry for the inconvenience, Comcast does not control the information that is displayed in the Program Guide.

Me_(Sat May 24 2008 19:40:48 GMT-0400 (EDT))>

ok, just very frustrating that my bill keeps going up and up, and when I want to watch something, it is usually what is not there. Don't understand why there are 30+ Test channels that they could use for the same purpose, but they end up pre-empting some other channel.

James(Sat May 24 2008 19:41:33 GMT-0400 (EDT))>

I apologize for the frustration.

Me_(Sat May 24 2008 19:43:02 GMT-0400 (EDT))>

is there any possiblity that this may be "fixed" in the future?

James(Sat May 24 2008 19:43:45 GMT-0400 (EDT))>

Yes there is a possibility of it being fixed. Unfortunately, I am not able to provide a time frame on when it will be resolved.

Me_(Sat May 24 2008 19:46:05 GMT-0400 (EDT))>

ok, just getting tired of the service price going up and up, and the quality of service going down. Paying almost $200 a month for cable and it is almost exactly the same amount of content that I was getting 5 years ago and paying half the price. Is there any where to submit formal complaints about things like this?

James(Sat May 24 2008 19:47:09 GMT-0400 (EDT))>

I can see what I can do to lower your bill for you if you like.

Me_(Sat May 24 2008 19:47:27 GMT-0400 (EDT))>

that would be great....

Me_(Sat May 24 2008 19:48:19 GMT-0400 (EDT))>

the only thing extra I have even gotten in the last 5 years has been the HD+DVR.

James(Sat May 24 2008 19:49:22 GMT-0400 (EDT))>

I can bring your bill down to 159.84 plus taxes for a period of 6 months for you.

James(Sat May 24 2008 19:50:44 GMT-0400 (EDT))>

You currently pay 171.85 plus taxes

Me_(Sat May 24 2008 19:51:33 GMT-0400 (EDT))>

yeah and I received a letter the other day saying it was going to be going up even more.

Me_(Sat May 24 2008 19:51:47 GMT-0400 (EDT))>

after taxes I will be paying almost $190 a month

Me_(Sat May 24 2008 19:52:03 GMT-0400 (EDT))>

what is the deal with the 159.84?

James(Sat May 24 2008 19:53:46 GMT-0400 (EDT))>

That is everything you have now, although the only promotion I am able to provide you with is an Internet promotion that is $19.99 a month for 6 months. You would be gaining some channels as well. You would be removed from the Adelphia grandfathered package and put into the Digital Premier package (that includes Digital Preferred and all the movie channels) and the Sports and Entertainment Package.

Me_(Sat May 24 2008 19:54:59 GMT-0400 (EDT))>

that is what I have now, I have nearly every single channel except the new sports ones added in the last week, and I am not interested in any more sports channels as I don't watch the ones that are there now.

James(Sat May 24 2008 19:55:43 GMT-0400 (EDT))>

Without the sports package it would be 151.89 plus taxes per month, for a period of 6 months.

Me_(Sat May 24 2008 19:56:25 GMT-0400 (EDT))>

and that keeps everything I currently have access to?

James(Sat May 24 2008 19:57:16 GMT-0400 (EDT))>

You will loose some channels without having the Sports and Entertainment package, those channels that you will loose will be listed in the mailing you received.

Me_(Sat May 24 2008 19:59:13 GMT-0400 (EDT))>

and what would the price go up to after the 6months?

James(Sat May 24 2008 19:59:37 GMT-0400 (EDT))>

174.85 plus taxes

Me_(Sat May 24 2008 20:01:49 GMT-0400 (EDT))>

well thanks for the help, but since it would only change it for 6 months it is not really worth me changing anything I will just keep what I have now and reevaluate whether I will switch to dish or not.

James(Sat May 24 2008 20:02:18 GMT-0400 (EDT))>

Ok, I am sorry I was not able to assist you any further today.

Then as I was reading through the news tonight I see this article: Comcast trying to sell 46 outlying cable systems

Which is funny as now our system will probably be sold to Time Warner… I am so so so tempted to go get a Dish Network system. But I still need the cable modem, so it is almost not worth it yet.

What makes me mad about the whole conversation with the comcast dude is that he kept using the cost not including taxes. But by the time you add in all the taxes, it is almost another $10+ to the bill. Let alone that just this year so far my bill has went up $10 since january (with no change to service) and will go up another $3.00 in June with get this a lost of service.. Right now I have every Movie channel on the system (HBO/Cinemax/ShowTime/The Movie Channel/etc), after June I have to pay more just to get The Movie Channel. The best part is that “no action is required!” my bill will go up, I will lose channels, and more than likly I will cancel more of the service. What is where is if they can keep giving these “promotions” why don’t they use that for the price all the time.

It would be cool if we had something like FreeView or SkyTV here in the US. I would gladly pay for the hardware if the service was free. Sort of like back in the early 80’s when we had the BUD (big ugly dish) at my parents house. We could get nearly every channel for free off of the satellites before they started encrypting them.

Why everyone should use bart (AKA do the Bart Man)

If you are using Solaris 10, and you have not used bart yet, you should stop everything and take a look at it.

For those who don’t know what bart is, it is the Basic Auditing and Reporting Tool that is in Solaris 10.

In a quick synopsis bart will create a report that shows all files/directories on a solaris machine. This report contains the permissions, owners, sizes, modify times and md5 hashes of all files on the system, along with acl’s if you are using ZFS.

So why is bart so important? First, it can be used as a security tool. When you install a new Solaris 10 system, the first thing you should do after you get it installed and patched and before it is placed on the network is run a bart on the system and save the report to a cd. This will be the “baseline” image of the system. Then every week/month you should run a bart against the machine again and then use the compare option to see what files have changed, added or deleted from the system. Where this comes in really handy is if your think that your machine has been hacked or compromised. You can use the comparison to determine which files may have been modified by the hacker.

But there is a non-security use for bart as well that is VERY useful. This use is one that I had not thought of until I needed it the other day. So what is this use? Reseting the permissions on files that were accidentally changed by an in-experienced UNIX person thinking that a “chmod -R 777 *” is the best way to fix their problems.

The first thing that came to my mind when I saw this happen was oh no, the machine had not even been backed up yet, and a day’s worth of work would have been lost. Even if the machine had been backed up, do you realize how long it would take to restore a file system with 40,000+ files, just because the permissions were screwed up. ( Note, the permissions on the various files were very different and even included some setuid, and setgiud files which were wiped out as well.)

So how did bart save the day? Luckly I had taken a bart of the machine before the work had begun on the file system. So after the chmod command was issued, I then took a bart of the file system again. I now could run a bart compare against the control and test manifest and see exactly what all had changed.

Once I had this output, I could then create a script to change the permissions of the files/directories back to the original values. All told after I finished tweaking my script it took about 20 minutes to reset the permissions on all the files and directories.

So here is a quick start to getting your first bart manifest of your system:

1. Create a bart_rules file. If you do not create a rules file, your output will only have Files and not directories listed in it. My simple bart_rules file looks like this:

/
CHECK ALL
/home
IGNORE ALL

I ignore the /home file system as in my case it was nfs mounted. In reality you would want to include all local file systems.

2. Create the bart, I keep the rules file in /root/bart_rules so I would run the command:

bart create -R / -r /root/bart_rules > /tmp/bart.output

This will create a bart manifest and output it to /tmp/bart.output. Looking at the first couple of lines of it looks like this:

unixwiz@sungeek:/home/unixwiz> head -20 /tmp/bart.out
! Version 1.0
! Saturday, May 17, 2008 (21:24:27)
# Format:
#fname D size mode acl dirmtime uid gid
#fname P size mode acl mtime uid gid
#fname S size mode acl mtime uid gid
#fname F size mode acl mtime uid gid contents
#fname L size mode acl lnmtime uid gid dest
#fname B size mode acl mtime uid gid devnode
#fname C size mode acl mtime uid gid devnode
/ D 1024 40755 user::rwx,group::r-x,mask:r-x,other:r-x 481d0e43 0 0
/.ICEauthority F 310 100600 user::rw-,group::---,mask:---,other:--- 44c581c2 0 0 3eb63faf448e8a2b2c1a7b2019a8bde3
/.Xauthority F 99 100600 user::rw-,group::---,mask:---,other:--- 44c560e0 0 0 5ffe2e5f4b6f73e662001f62f7cae4d3
/.bash_history F 649 100600 user::rw-,group::---,mask:---,other:--- 481d1109 0 0 9132e0e798d5d05644cafc90c2aa876a
/.dt D 512 40755 user::rwx,group::r-x,mask:r-x,other:r-x 44c560e0 0 0
/.dt/appmanager D 512 40755 user::rwx,group::r-x,mask:r-x,other:r-x 44c5534d 0 0
/.dt/help D 512 40755 user::rwx,group::r-x,mask:r-x,other:r-x 44c5534d 0 0
/.dt/icons D 512 40755 user::rwx,group::r-x,mask:r-x,other:r-x 44c5534d 0 0
/.dt/sessionlogs D 512 40755 user::rwx,group::r-x,mask:r-x,other:r-x 44c5534c 0 0
/.dt/sessionlogs/sungeek_DISPLAY=:0 F 132 100644 user::rw-,group::r--,mask:r--,other:r-- 44c560e0 0 0 6d4e62fc972046a7a85fdb36a0ce21fd

The first part of the file, the part that begins with #fname is a legend as to how each type of line is formed.
So looking at the first actual line of the contents :
/ D 1024 40755 user::rwx,group::r-x,mask:r-x,other:r-x 481d0e43 0 0
We see that the fnmae is /, it is a directory, with a size of 1024. Its mode is 755, the last modified time is the “481d0e43” and it is owned by uid 0 and gid 0.

Looking at a file in particular we see this:

/httpd/htdocs/index.html F 10 100644 user::rw-,group::r--,mask:r--,other:r-- 463d4f4b 0 0 b7a9369d4cc9f82ed707bce91ced8af8

In the above, we see that the file is 10 bytes, has a permissions of 644 and is owned by root/root.

Now suppose that I for some reason by accident was in the /httpd/htdocs directory and did a chmod -R 777 *. Since I had my control manifest, I would then run another bart and then use the compare option. What I would get is something like this:

#bart compare /tmp/bart.output /tmp/bart.output2
/httpd/htdocs/index.html:
mode control:100644 test:100777
acl control:user::rw-,group::r--,mask:r--,other:r-- test:user::rwx,group::rwx,mask:rwx,other:rwx

Here we can see that the permissions has changed from 644 to 777. But the output is not really easy to parse with a script. So we need to use the “-p” option on the bart compare:

#bart compare -p /tmp/bart.output /tmp/bart.output2
/httpd/htdocs/index.html mode 100644 100777 acl user::rw-,group::r--,mask:r--,other:r-- user::rwx,group::rwx,mask:rwx,other:rwx

In the above, since the only thing that was changed was the mode, that is the only thing that is listed.

here are some other examples:

/var/samba/locks/browse.dat mtime 482f8544 482f8800
/var/samba/locks/unexpected.tdb contents 7c3404e9622749702e3df56caf26fe72 72983947ada3260a236394a51aef0d31

The first line shows that the file browse.dat modify time changed, but nothing else. The second line shows that the unexpected.tdb had it’s contents change. This can been see by the 2 different hashes.

Here is another example of the index.html file above, after it had been edited:

bash-3.00# bart compare /tmp/bart.out /tmp/bart.out3
/httpd/htdocs/index.html:
size control:10 test:26
mode control:100644 test:100777
acl control:user::rw-,group::r--,mask:r--,other:r-- test:user::rwx,group::rwx,mask:rwx,other:rwx
mtime control:463d4f4b test:482f8b89
contents control:b7a9369d4cc9f82ed707bce91ced8af8 test:1567caf683e3859cb5da7335c35438f7

Once again this is in the “human” readable format, the “machine” readable looks like :

bash-3.00# bart compare -p /tmp/bart.out /tmp/bart.out3
/httpd/htdocs/index.html size 10 26 mode 100644 100777 acl user::rw-,group::r--,mask:r--,other:r-- user::rwx,group::rwx,mask:rwx,other:rwx mtime 463d4f4b 482f8b89 contents b7a9369d4cc9f82ed707bce91ced8af8 1567caf683e3859cb5da7335c35438f7

(the above is actually all on one line.)

Once you have the output of the bart after the “oops” you will need to run the bart compare with options to ignore some items. Since I am only interested in the mode, the size, mtime and contents can be ignored. I used the following:

bash-3.00# bart compare -i size,mtime,contents,uid,gid -p /tmp/bart.out /tmp/bart.out2

This only shows files that have had their mode changed:

bash-3.00# bart compare -i size,mtime,contents,uid,gid -p /tmp/bart.out /tmp/bart.out2
/httpd/htdocs/index.html mode 100644 100777 acl user::rw-,group::r--,mask:r--,other:r-- user::rwx,group::rwx,mask:rwx,other:rwx

You should redirect this output to a file, so that it can then be used to generate a script.
With the output in a file I then did this:

cat /tmp/bart.compare | awk '{print "chmod "$3" "$1}' > /tmp/CHANGEPERMS

So basicly I cat the file and print the chmod command allong with the 3rd field (100644) and then the first field (/httpd/htdocs/index.html) and redirect this to a new file. Once I spot check this file, you can then run it and it will “reset” the permissions back.

Now everything I have shown above is based on the machine having a UFS file system. If you run bart against a file system that is ZFS, you will get a manifest that looks something like this:


/home/unixwiz/bin/php F 10587732 100755 owner@::deny,owner@:read_data/write_data/append_data/write_xattr/execute/write_attributes/write_acl/write_owner:allow,group@:write_data/append_data:deny,group@:read_data/execute:allow,everyone@:write_data/append_data/write_xattr/write_attributes/write_acl/write_owner:deny,everyone@:read_data/read_xattr/execute/read_attributes/read_acl/synchronize:allow 4743a7fa 100 14 9b8cfb15ed069bd6e43d7c2ae11a3e23

It shows the ZFS extended acl’s.

So if you haven’t started using bart, you should start as soon as possible.

Wings Over Pittsburgh

The Wings Over Pittsburgh airshow came early this year. It was today and tomorrow. I went up to it with Justin and Treah and got to see a good show. I took a ton of pictures, but like always, they usually don’t come out too clear when you are using a 300mm lens and trying to follow a airplane that is going 300+ knots past you.

here is one of the pictures I took:
Wings Over Pittsburgh

More can be seen here. I have not edited any of the pictures yet to correct the color, so some of them don’t look as good as they could look.