Archive for the ‘Computers’ Category

Illegal Hyperlinks

Sunday, March 23rd, 2008

This article is scary in so many ways, that it gives one pause to even browse the Web anymore.

The gist of it all, is that the FBI put up some faked URL’s on a message board which they thought was being used for trading child pornography and then recorded the Internet Protocol (IP) number of any system which connected to their fake site. They made no distinction of how a person got the link, however. This means that someone could email the links in question to a person they want to damage, using misleading names on the links and cause a completely innocent person to find the FBI’s honeypot!

The FBI then took the IP information and traced it down to the supposed owner and used this to obtain a warrant for each location for dawn raids.

Let’s be blunt about this: when the FBI made no distinction on how someone got to the site, they engaged in utterly shoddy police work.

One of the most disturbing lines in the article is as follows:

Vosburgh faced four charges: clicking on an illegal hyperlink; knowingly destroying a hard drive and a thumb drive by physically damaging them when the FBI agents were outside his home; obstructing an FBI investigation by destroying the devices; and possessing a hard drive with two grainy thumbnail images of naked female minors (the youths weren’t having sex, but their genitalia were visible).

The obstruction and possession charges seem legitimate, but I have to ask, what the hell is an illegal hyperlink? What is the definition being used for this? If the hyperlink is illegal, can’t the FBI be charged for creating an illegal hyperlink?

Between this kind of questionable police tactics and the ongoing construction and use of data fusion centers, we’ve entered a whole new age of Orwellian existence. I would recommend to everyone to start encrypting everything, whether it is sensitive material or not. Make them waste time on trying to decrypt chocolate chip cookie recipes and text files that only have quotes of the Framers in them. Make them expend effort for nothing, so much effort that they become mired down under the weight of it all.

Following are links to various encryption tools.

http://www.gnupg.org/
http://www.truecrypt.org/
http://www.arg0.net/encfs
http://www.freeotfe.org/

And a page covering many drive encryption systems.

Iterative Insanity the Microsoft Way

Friday, March 7th, 2008

A friend of mine likes to say that the definition of insanity is doing the same thing over and over, and expecting a different result each time.

By that definition, Microsoft is the quintessential model for insanity.

I made the mistake of taking on Windows systems administration a few years ago where I work, as I thought the challenge of learning the intricacies of a previously unfamiliar OS would give me a more rounded experience with systems administration in general and allow me to learn to appreciate why Windows admins seemed to love the environment they worked with. Coming from a solid Unix background, I figured that I would find similarities in function and implementation, to the point that course work would not be needed to learn the ropes. I was correct in that aspect and learned quickly via a couple of incidents where I was able to resolve issues that long time Windows admins could not, that having my previous systems administration experience was a boon in general and very much a keystone to ability that only required study of freely available documentation to attain.

What I was also to learn, however, was that many of the paradigms I was used to would have to be ignored and the replacements that Microsoft had implemented, just plain suck. Consistency of methodology is damn near non-existent. Graphical User Interface (GUI) tools got in the way more times than they helped and their interfaces were inconsistent from each other. To get at the real functionality of the GUI tools, half the time you have to right-click on unexpected places to pull up hidden options. Even the simple structure of system settings are inconsistent and stupidly designed.

A perfect example of the nonsense I ran into can be found in the local security settings of any Windows box. You can find sensible settings, such as, “Domain member: Require strong (Windows 2000 or later) session key” with the options of “Enabled” or “Disabled”.  Just below it, however, are “Interactive logon: Do not display last user name” and “Interactive logon: Do not require CTRL+ALT+DEL” with the same options, “Enabled” or “Disabled”. This double negative verbiage is simply ridiculous.

Or how about the fact that even though you’ve setup your Active Directory (AD) domain when you promoted the first Windows server to be a Domain Controller, with clients logging in on your domain and the forest setup with trusts to other domains, et cetera, the name of the Domain Name System (DNS) domain is still “default_domain_name” (or something like that, memory serving,) until you open up the Microsoft Management Console (MMC), run the Active Directory Sites and Services plugin and right click on the entry to chose “Rename” from the popup menu. This is in spite of the fact that you have to enter the DNS name as part of the AD promotion process. I discovered this when I refused to base our entire network’s DNS service to Microsoft’s implementation and had to copy all the SRV records in the netlogon.dns file to the Unix DNS server. After digging around for an hour or so, I finally found out what was up. Of course, if I had enabled DNS and auto-updates of DNS on the AD controller, the information would have been setup correctly then. Most Windows administrators would have simply setup DNS on the AD controller and been done with it. I’ve even read articles advising doing so, no matter what you’ve been using for DNS before, just in case something breaks later with a change suddenly instigated through an update from Microsoft!

Like I said, inconsistency reigns.

The task set before me this week was a new one. The primary Active Directory controller is old and needs to retire. New hardware was ready to go and was tested, so it was time to replace the old with the new. Yes, Microsoft claims that there is no such thing as a Primary Domain Controller (PDC) anymore, but it is only a half truth – as you still have Flexible Single Master Operations (FSMO) server roles, limiting edits of various services to specific systems. You can (limitedly) spread them out among multiple machines, but that doesn’t change the fact that the FSMO roles exist on specific systems and do not have an order of precedence to roll over to another server, should the FSMO server go down. So, even if you spread out your five FSMO roles among different machines, now you have multiple points of failure instead of one. Net gain: nothing.

In my case, our AD domain is tiny. We support about 30 Windows machines anymore, so we had two AD controllers, with the first one setup as the FSMO role server for all five rolls. (This happens automatically the first time an AD controller is setup in an AD forest.) The process to transfer the FSMO roles can be done in one of two ways: right-clicking on a bunch of clumsy GUI menus through three different MMC plugins or running the ntdsutil on the command line and suffering through what is the most abysmal modal command line interface I’ve ever seen.

ntdsutil sucks – it really, really sucks, but it was better than flopping around in three different MMC plugins. So, I started the process of transferring all five FSMO roles from the old server to the new with the command line tool. The PDC Emulator and RID Master roles transferred without a hitch. But try as I might, the Schema Master, Domain Naming Master and Infrastructure Master roles would not transfer, giving a generic error that multiple searches on Google could not elucidate.

So, I decided to make the new server seize the roles which would not transfer. This worked – to an extent. All five roles were reported by the new server to be handled by the new server, but the two old domain controllers now believed that the old FSMO server was still serving all five roles. How the two which had previously transferred correctly were now on the old machine again, was yet another mystery. At this point I didn’t want conflict, so I tried to transfer the roles back from the new machine to the old, all of which failed without even an error message to tell me something was amiss. I now had two AD controllers in the same AD domain of the same AD forest, who both thought that they were the FSMO role master for all five roles.

I left it this way over the weekend, just to see if things would work out or whether additional error messages might tell me something of what was going on. No change came. No new information was revealed.

I tried demoting the new server to stop acting as an AD controller, but it would not allow me to demote the system, giving yet another seemingly random numbered error message. That was enough for me. In desperation, I did what many Windows administrators do at times like these: start over from scratch and do that exact damn thing all over again. I powered the new machine off, re-installed Windows 2003 Enterprise Server, put on anti-virus software and updated with all patches, promoted it to an AD domain controller and kicked up ntdsutil on the old machine and transferred the FSMO roles in the same order I had during the first attempt. Everything worked perfectly. A quick check with the netdom command showed that all three machines now understood that the new server handled all FSMO roles and the whole process was done in just a few seconds time. I had done everything the second time around as I had the first, each step was in the exact order as I had written down. Nothing different was done and everything suddenly worked.

A friend of mine likes to say that the definition of insanity is doing the same thing over and over, and expecting a different result each time.

I understand now that this is why so many people cannot understand that computers are not supposed to crash or otherwise fail in stupid and unpredictable ways. They keep doing things the Microsoft way and insanity prevails and becomes the norm. They can’t understand that things should work the same way every time and that system up time can be measured in years instead of days on a stable operating system. I’m half convinced that Microsoft went to their once a month “Patch Tuesday” methodology for updates, just to make sure that all Windows machines would have to be rebooted once a month, in order to keep the systems appearing stable. I have also come to realize that many people have been fooled into believing that a boondoggled GUI is “more advanced” or otherwise “better” than editing simple text files for system settings – that somehow editing a text file is primitive in comparison – overlooking the fact that cumbersome GUI’s are often simply doing that very task.

If my varied and insane experiences over the last eight years with Windows has taught me anything, it is that whenever possible, no matter how difficult the transition may be at first – if you can run the service on Unix instead, do so. If you leave it up to Windows, you leave it up to sporadic behavior, inane tools and retarded, clumsy and often secretive GUI interfaces. You seemingly leave it up to pure chance.

To me, that is insane.

KDE 4

Thursday, February 21st, 2008

I don’t personally use Windows for anything but a gaming console, so if you’re not a Linux or BSD propeller head, this blurb might not mean anything to you. Windows users don’t have a desktop choice, so this entire topic is going to be an alien encounter, and if you think that Vista’s Aero is an advanced interface, you’ll definitely be traveling well outside of known space here. One thing to think about, however, poor Windows laden sods: KDE 4 applications will run on Windows. Perhaps this article might not be of interest to you, but KDE4 might be after all is said and done.

Currently I’m running KDE 3.5.8 using Compiz-Fusion 0.6.2 as the window manager and it is a beautiful marriage of functionality for how I work on a computer. So, I was excited to see what KDE4 had to offer that might improve things or simply surprise me. I took a little time over the weekend to checkout KDE 4.0.1 on my Kubuntu 7.10 system and I have to say that my feelings are mixed.

On one hand, Plasma seems to be heading toward its desired goal and will likely be an improvement to the desktop metaphor in the long run. Personally, I don’t use the desktop for anything but a background image, as I hate icons and widgets being covered up by other Windows I’m working in. I find it very annoying to have to close or make windows transparent to see the widget and I don’t want a widget on top of my working application, either. Dragging widgets off the desktop and into the taskbar can avoid the desktop clutter, but I already have this. I run a single session of gkrellm and all widgets I need for monitoring and what have you are in a contained dock which isn’t covered and takes little room on the screen. So for me, Plasma probably won’t offer a lot, as it adds nothing to my work environment. However, for the typical desktop user, I think it will add quite a bit to the experience.

It is good to see the typical file and folder concept extended to be more than a visual key to a hierarchical filesystem. Container systems such as KDE3′s Basket is a similar step in the right direction. Organization of material by thought process, rather than filesystem placement is a more natural organization system. Aside from a few anal people like myself, most don’t really implement much of a logical hierarchy to their personal files to be useful in locating needed material. Plasma’s not-quite-finished ability to “zoom” between relational structures has some real potential and that holds my keen interest.

I also liked the polished look of things, though the default large font sizes annoyed me to no end. Once I had that straightened out, my general experience improved dramatically. The OpenGL additions seemed to work seamlessly and frankly, I’m a sucker for eye candy as long as it has some functionality as well. (Though, there was nothing there that I don’t already have with Compiz-Fusion, KDE-only users will appreciate it.) The true integration with Compiz-Fusion’s virtual desktops via the KDE desktop manager was a long desired feature on my list and it’s implemented beautifully.

Honestly, my enthusiasm wanes about there. There are many things that I found disappointing with the interface and I hope it is not a sign of things to stay.

First and foremost, where did the traditional hyper-configurable nature of KDE go? The whole reason that I chose KDE over Gnome was two fold: the ability to customize everything, from the layout of menus, to the exact width and height of specific applications when opened (to name just two of thousands of customizable settings); and the integrated application intercommunication that DCOP made so easy to use.

KDE4 hasn’t lost the application intercommunication, it has merely switched to D-Bus, still allowing modular components to be used by multiple applications and cross application communication is still there, (though I haven’t played with it yet, as I have with various scripts to manipulate the DCOP environment in KDE3,) but the GUI customization options are simply gone. It’s dumbed down, giving no where near the flexibility of KDE3′s normal environment. Mind you, since a lot of configuration is apparently now being handled by XML files (D-Bus standards,) or so I’ve read somewhere, perhaps customization is merely a text editor away. Unfortunately, I couldn’t find a single source of documentation for doing any of this yet. I’ll admit as well that I have to learn D-Bus usage in general, as I’ve barely examined the system. I am actually excited about D-Bus being used, though, as Gnome and many other applications use D-Bus – allowing the functionality of KDE to extend well outside of the scope of KDE itself. I would imaging it is Compiz-Fusion’s support of D-Bus which allows the KDE4 virtual desktop manager to interact seamlessly, for example. This was a great decision on the KDE design team’s part.

I mentioned the large default font sizes earlier and I wish I could say that this ended with fonts. The new taskbar is a eye sore, far too large for my tastes. There is no option to resize the taskbar in KDE4 at all and that’s inexcusable in my book. I want control of my interface, especially a part that intrusive. Speaking of super-sized interfaces, everything in KDE4 felt that way. It reminded me of working on the Amiga years ago. Huge this and large that – a veritable Duplo Lego block desktop. This would be excusable if you could tweak it how you wanted from the default, but again, such is not the case. This Windows-like behavior of locking you into someone else’s aesthetic viewpoint, really turned me off. The lack of customization for each application came to be no different than the general desktop. It’s gone. KDE4 applications seem as non-customizable by default as Gnome or plain X Window System. It can be done, I’m certain, but a simple GUI method for doing so is missing and desired. About the only thing kept from KDE3′s customization system is the ability to change keyboard shortcuts.

By far the worst of the interface change is the main menu, Kickoff. The layered, step-into approach that Vista blew chunks with, is mirrored here. Eh gads! I can’t express how annoying this menu system is for me! I find it clumsy and slow. The original Kmenu and Tasty Menu (which I use in KDE3) are far superior. One can only hope that decent replacements for Kickoff come out for KDE4. Raptor, doesn’t look to be it. I need a menu where I can quickly examine offerings based on category, listing available applications that I may never have run before.

Moving away from interface design issues – though I realize that KDE4 is currently in Release Candidate form, it feels more like a beta to me. Konqueror crashed on me repeatedly and when I added my server’s Sitebar URL to the Konqueror sidebar, it wouldn’t refresh. Even resizing the sidebar left behind non-erasable tracks of the previous divider positions. I also couldn’t fill in form data on any URL I tried within the sidebar.

KMail seemed equally robust – that is to say, it crashed three times on me in half an hour, finally loosing all settings for server (IMAP and SMTP) accounts in the last crash.

As it stands to date, KDE4 is certainly not ready for prime time when it comes to stability. I expected some problems, but what I hit was too much. This is beta or even alpha level software, if we’re being honest here.

If its customization ability is going to be locked into the current state, without the hyper-flexibility I’m used to with KDE3, then I’m going to start shopping for a different desktop manager. Plasma offers nothing for me, really – which unfortunately seems to be KDE4′s eggs in one basket. It will be great for those who use desktop icons and various gadgets, who don’t cover the whole available screen with application windows, or are willing to hit a key to hide those or bring widgets to the forefront – but that’s not me.

Quite honestly, Compiz-Fusion provides enough of the tweaking and interface control I need for almost everything, so having a desktop manager on top of that has been for the inter-application connectivity more than anything else, coupled with a functional taskbar. With D-Bus being used as a standard, I’ll be able to run KDE4 applications (once they’re release quality) without having to run the entire KDE environment and still have the inter-application operations.

The lack of application level customization in KDE4 might actually make me re-examine Gnome. There will be no need to have the bloated taskbar and other interface crud, if KDE4′s only advantage over Gnome is Plasma – which I won’t be using. With both desktop environments running D-Bus, inter-operations should be seamless. I’ll run KDE4 apps when I need them, no matter the desktop environment running.

I’ll hold off final judgment until KDE 4.1.x is released, as I imagine it will truly be a release candidate by that time. At that point we should be able to tell if the lack of customization is simply an oversight for the time being, or the nature of KDE to come.

Change of Pace

Thursday, June 21st, 2007

Weird Tales - Satan's GardenThe ol’ Brothel was feeling a little antiseptic these days, in spite of how much I liked some of the features of HemingwayEx (the previous theme of this site.)

So, I dug around and found this new theme, Greenmagic, from i Web Net, which fit the bill. Though I’ve modified it slightly, the basic look and feel remains the same. Thanks for making this theme GPL licensed, guys!

Since it doesn’t fit in with a brothel theme, I’ve stepped out into the garden for now. It’s good to reinvent yourself a little, now and then.

(The image pictured is from Weird Tales, April, 1934, with the featured story, “Satan’s Garden”.)

National Wiretap Day

Monday, May 14th, 2007

As if the mongrel police forces in America didn’t have enough civil rights abolishing capability as is, May 14th, 2007, is the deadline for ISP’s all over the nation to be compliant with the Communications Assistance for Law Enforcement Act. In short, CALEA demands that all ISP’s and telephone companies provide data to law enforcement on their terms, using their data collection methods to provide email, Web browsing histories and other online activity reports on legal demand, as quickly as possible. The law forces your ISP to be their spy. Though the act does not change standards for legal use of wiretaps, it is notable that when the telephone compliance was finished in 2002, court-ordered surveillance nearly doubled from 2,586 applications granted in 2002, to 4,015 granted in 2006.

When you make it easier to spy, than to do actual police work – you can guess the results.

The Best OS Comparison Ever Done

Friday, April 27th, 2007

I’ve seen some interesting Mac vs. PC debates, as well as Windows vs. Linux, etc. Most are clearly biased one way or the other.

However, this Ubuntu vs. Vista showdown is the clear winner of intelligent OS comparisons. In a single page, BBspot sums it all up.