Discussion Locked

In my own words...

0 helpful
385 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

This is page 4 of the discussion. Read the opening post

385 replies

by justin fielding

Yep, the RFID Guardian has a site here.  Despite the problems posed, RFID use is rapidly increasing--What do you think the solution to the privacy issues created should be?

by milal9

Luggage control in airports would be the smallest problem. The State Department plans to start using RFID tags for e-Passports in late August. http://www.iwantmyess.com/?p=80
I've read that security experts have concerns about the safety of these chips, while the government is convinced that they are well protected. Is the State Department completely oblivious to all the concerns and warning signs?
I'll hang on to my "old-school" paper passport as long as I can.

by justin fielding

Dave Marcus of
McAfee?s Avert Labs says that developers of malicious software including
Trojans and bots are benefiting from the open-source development model.  Apparently developers of the Agobot malware
family are using CVS (Concurrent
Versions System
) to manage source file and collaborate?this greatly
increases the speed at which updates can be propagated and modifications
checked/tested.

A full article covering the topic of this open-source trend
can be found in McAfee?s new magazine, Sage, released yesterday.  The title of the article, ?Paying a price for
the open-source advantage? does make it sound like an attack on the open-source
model?blaming it for increasing threats online; this apparently is not the
intention?however full disclosure was more of an issue ?We're not taking aim at
the open-source movement; we're talking about the full-disclosure model and how
that effectively serves malware development,?.

Full disclosure is a topic on which many people
disagree.  On the one hand full
disclosure can aid malicious code writers to exploit vulnerabilities more
quickly, on the other it aids a fast response from software vendors to close
these holes.

What?s your opinion on full disclosure?  Is it good or bad (no sitting on the
fence)?

by jmgarvin

Full disclosure is not only needed, but it should be mandated.  Look at how Cisco reacted to the IOS fisaco last year.  They lawyered up and tried to send a person to jail for THEIR flaws.  


The problem is that without flaw detection and flaw disclosure, we in the IT/IS field don't know what to lock down.  If we don't know about it, it is a HUGE attack vector.  Why?  The black hats know about the flaw, but the white hats have no idea (yet).  While a patch will eliminate the flaw, we can mitigate the threat by just knowing about it.  The idea that "hidding" flaws will make you less vulnerable is similar to saying you never need to fill your gas tank if your gas gauge doesn't work.


Oh and McAfee is attacking open source.  The article, in essence, says that the open source model has created an environment that the black hats can take advantage of.  What nonsense!  Hackers have always networked and this is nothing new....Think back to the BBS/Fidonet days.  How do you think hackers operated back then?  How about we go back even further to usenet?  Nothing has changed...the only thing that has changed is that open source now has an official name of Open Source.    


by justin fielding

The US State Department is recovering from break-ins over
the past few weeks which have specifically targeted those offices dealing with North Korea and China.  It?s believed that attackers used low-volume,
targeted attacks in order to break in to the desired departments?these may have
taken the form of 0day Word and PowerPoint exploits which we have seen being
used increasingly in targeted
attacks
. 

While State Department spokeswoman Nancy Beck stated that
there was no indication that any sensitive information had beed compromised,
Kurtis Cooper (department spokesman) said ?Because the investigation is
continuing, I don't think we even know.", in response to being asked what
information had been stolen by the hackers.

The FBI would not comment on the case in an attempt to halt
any media speculation.  The Pentagon has
warned in the past that China?s
army see hacking as an offensive weapon, used to strike at enemies
networks.  Although the break-ins appear
to have originated from China
there is no way of discovering whether this is the origin of the attacks, or
simply the location of another infected system being used to proxy the attacks.
(1) Security Focus
(2) Yahoo
News
.

by milal9

Government agencies have been targets of multiple data breaches, laptop thefts, etc. over the past few months (remember the Department of Veterans Affairs? http://www.iwantmyess.com/?p=61) . So far, the only change that has come from it is the Office of Management and Budget's (OMB) memorandum that RECOMMENDS security measures to protect Personal Identifiable Information (PFI). Where are the new regulations and security measures that safeguard the information Americans trust their government with? At the very least, information on all government computers needs to be encrypted for protection (http://www.essentialsecurity.com/FAQ.htm#2.5), which also eliminates the risk of potential virus attacks, as the metadata is removed.

by justin fielding

Virtualisation ("virtualization" across the pond)
is seeing a huge increase in uptake recently with the subject of hardware and
application consolidation becoming a very hot topic within the industry press.
The questions this raises are: Why would one want to consolidate multiple
servers/applications on to one hardware platform? What are the potential
dangers? What are the differences between various virtualisation platforms?

Let?s start by considering the differences between various methods
of virtualisation. While trawling the web for information on the varying models
for virtualisation, I came across a very informative
paper
written by Werner Fischer and Christoph Mitasch. The paper
is geared towards explaining various methods of clustering with
virtualisation technology, and it also gives a wonderfully simple overview of
the types of virtualisation and how they work. There are three major groups into
which virtualisation technology can be segregated:

 

  • Hardware
    Virtualisation (VMware)
  • Para-Virtualisation
    (Xen)
  • OS-Virtualisation
    (Linux Vserver)

 

Hardware virtualisation does exactly what it says on the
tin?it presents virtual hardware to the guest operating system with no need for
patching or modification. The hosted operating system has no idea that it?s being
run on virtual hardware! There are two ways of implementing hardware
virtualisation?either with a base (host) operating system or without. VMware Workstation and Server are examples of the
former, requiring a host operating system and drivers to provide the virtual
hardware. VMware ESX
server
installs on ?bare metal?, creating virtual platforms at a lower
level, thus reducing the overheads required by a host operating system. Guest
operating systems run their own kernel and have their own memory/disk space
pre-allocated.

Rather than providing a full virtual hardware interface to
the guest operating system, para-virtualisation provides a virtual hardware
layer which is similar to the underlying platform, but not identical?this means
that the guest operating systems will require some modification. Like hardware
virtualisation, each guest operating system has its own allocation of resources
and runs its own kernel.

OS-Virtualisation differs from Hardware and
Para-Virtualisation in that only one kernel runs on each physical system. It is
seen as being more efficient to have all guest systems running on the same host
kernel. This cuts unnecessary duplication of system and I/O calls. Guest
operating systems also share memory; this means there are less wasted unused
resources at any given time. A minimum amount of RAM can be allocated to each
machine, ensuring that if multiple guest systems come under heavier than
average load, they still have the minimum resources needed to run; however, the
shared memory pool means that additional memory can be used as and when
required if available. OS-Virtualisation therefore offers some advantages in
terms of efficiency but at the expense of flexibility (while different systems
compatible with the host kernel can be run, different flavours of OS cannot be
mixed (e.g., Windows/Linux). The Linux-Vserver project is a prime example of OS
virtualisation.

So which type of virtualisation is best? I think the answer
to that question is dictated purely by project requirements. If I wanted to run
various operating systems on one physical platform?let?s say, for example,
Linux running an Oracle server, Windows running an Exchange service, and BSD
running an SMTP relay?Hardware virtualisation would be the natural choice. If I
were looking to provide LAMP web hosting services, all running the same flavour
of Linux?OS virtualisation would be the natural choice allowing me to run more
virtual machines on a given hardware base with less wasted overheads and
greater flexibility in terms of memory allocation (to iron out spikes in
demand). There is also no reason for an organisation to stick exclusively to
one type of virtualisation; different demands in different areas of operations
may favour diversity.

Although rather simplistic, I hope this has given an idea as
to the differences between various virtualisation models. In next week's blog,
I?ll answer the other questions of why one would want to consolidate multiple
servers/applications on to one hardware platform and the potential dangers or
problems which can be posed in doing this. Please feel free to add your own
comments on the various virtualisation options appearing on the market and your
feelings on their pros/cons.

by igimaster

In my brief introduction into virtualization (ie xen and vmware), I feel two points are missing from this article. One being the purpose of virtualization.
We have been working to preform tasks that many times require the same resources as years ago while working on ever more powerful hardware. There is not an acceptable way to get less powerful hardware for a significant discount, so people are seeing getting new hardware as wasteful. With virtualization you can run a number of more lean services on one server using closer to it's full ability based on need. This money saved in quantity of servers then can be applied to the fault tolerance needed as a result of this process. Now one parts failure could bring down 5 virtual servers as opposed to one. You might even be able to talk the brass into an emergency fail over server now that you are requesting fewer servers thanks to virtualization.

The second point that the average user would miss is these are server style programs. Technically your email client and all other services you use should not require a gui on the server side. They could have built a tool that would run a gui on the maintenance machine and communicate via command line with the server. With the exception of a database or email server needing memory and harddrive resources other services on a server should not be that intensive on the box. If there were better educational courses out there IT folk including managers would be kicking unnecessary bloat out the door.

Otherwise great summary. I lean towards letting the os know its on a virtual system otherwise you could run a greater chances of viruses imbedding between the hardware and the os similar to current root kit technology

Daniel Rockel
igimaster@yahoo.com

by justin fielding

Daniel thanks for your comments and I agree with them, however you have jumped the gun a little as I mentioned that next weeks blog will discuss why one would want to consolidate services with virtualisation and what the potential pitfalls may be.

by mythinkerwu

It 's very good. actually I'm learning the linux on Windows desktop by using the VMWare.it's great

by justin fielding

Virtuozzo, I haven't administered a Virtuozzo server but I have been a customer on a Virtuozzo based virtual server--I wasn't convinced at the time and didn't stick with the service for long. I intend to blog about a few of the major virtualisation products in the future and will research the current state of Virtuozzo for that. Do you have experience with it? Opinions?

by jeff

I've heard some good things about Nagios, but if you are really an open-source oriented guy, you should check out the new tool released by Zenoss. This company was started by an associate of mine several months ago, and their product is designed to compete directly with Nagios, while providing features that Nagios may have overlooked (and, of course, it's free).  I'd be interested to hear what you think about their product.

by justin fielding

In response to last weeks price cuts made by AMD, Intel have
drastically dropped
prices
of some top spec consumer CPUs. 
The Pentium 960D (3.6Ghz) has been cut by 40% from ?285 to around ?170.  This is the latest move in the battle to
dominate the consumer CPU market share?although AMD gained in past months, this
latest price drop followed by the release of the new Core 2 Duo processors may
help Intel to turn things around; sales fell by 13% and profits dropped by 57%
in the last quarter.

This recent price/technology war has to be a good thing for those of us who would like to add a little more kick to our desktops without breaking the bank!

by justin fielding

Back in June
the personal information of almost 28,000 sailors and their family members was
exposed on an insecure website?five spreadsheets in all, containing data
including names, dates of birth and most importantly Social Security numbers
(the starting point for most identity thieves). 
In July it was
reported that personal data of more than 100,000 sailors was found on a
website.  The latest breach
(in which details of 31,000 Navy recruiters and their prospective recruits have
been compromised) comes with the theft of two laptops from Navy offices in New Jersey.

Obviously the theft of personal data is rife and incidents
are increasing by the day but I find it quite disconcerting that Government and
Military agencies of the most powerful country in the world seem unable to keep
their data secure?if they can?t do it then what chance does your average Joe
stand!  It does seem that efforts are
being made to stop these embarrassing breaches; last week the U.S. Army confirmed that it will
require new systems to use the Trusted Platform Module (TPM) for
encryption/security.

by schwana

And the beat goes on...

So the government says they are going to work on how they handle data w/ encryption, then they say they are going to establish new laptop security polices, but the funny thing is they haven't done EITHER yet. Now the VA is saying that the data was stolen by two 19  year olds and that the computer was found by an anonymous tip when before they said it was turned in by a guy because he heard of a $50,000 reward for it.

So now the government has proven they can't even get their own laws established, can't protect their own men and women's identity, and can't even get their stories straight. I am proud to say that I live in a country where our government's #1 focus is NOT on their own people (especially their employees)....rediculous
http://www.techknowbizzle.com/2006/07/times-getting-even-tougher-for-vets.html

by nathank9

And the beat goes on...

So the government says they are going to
work on how they handle data w/ encryption, then they say they are
going to establish new laptop security polices, but the funny thing is
they haven't done EITHER yet. Now the VA is saying
that the data was stolen by two 19 year olds and that the computer was
found by an anonymous tip when before they said it was turned in by a
guy because he heard of a $50,000 reward for it.

So now the
government has proven they can't even get their own laws established,
can't protect their own men and women's identity, and can't even get
their stories straight. I am proud to say that I live in a country
where our government's #1 focus is NOT on their own people (especially
their employees)....rediculous

by justin fielding

Last week, I looked at the various types of virtualisation:
Hardware Virtualisation VMware), Para-Virtualisation (Xen) and
OS-Virtualisation (Linux Vserver) with the various merits and vices of each. After
looking at what virtualisation actually is, I think it?s important to look at
why one would want to virtualise and consolidate multiple hardware platforms
into one.

So why virtualise? Because everyone else seems to be doing
it? I hope not! Most server systems are under-utilised; general estimates
say that an average Windows server is running at around 15% utilisation and
UNIX environments at about 20-30%. That?s pretty low. In order to gain a more
personal analysis, I ran a small audit of six servers. All run Linux and host
various high-demand services such as mail serving, mail routing/scanning, file
serving, web services, and database hosting. The results were interesting. Two
servers showed intense usage--one server had constant usage of 90-98% (may be
time to upgrade this one) and the other fluctuated with the norm being 10% but
regular peaks of 65% were observed. A third server showed an average usage of
10% with irregular peaks to 20% utilisation; the remaining three systems were
showing very low utilisation of 0-5%. These last four servers could be good candidates
for virtualisation. Why? Well, with combined peak utilisation of 35% and an
average figure of just 20% they can happily run on one physical platform
without encountering performance problems.

Other than increased
utilisation of resources, what benefits would be gained migrating from these
four systems on to one physical server?

Saving physical space
is the most obvious answer?as a rule, our server rooms don?t grow along in sync
with demands from the business. Unless the entire company is considering an
office move, IT departments will have to work within their given space despite
increases in demand. It?s obvious that replacing four 2U servers with one more
powerful 2U server is going to free up 6Us of space, although this is
optimistic, and realistically 4Us would be freed (I?ll explain the grounds for
this later). This is still a huge saving in real estate and will enable twice
the number of services to be hosted in the same physical space. Many firms
turning to virtualisation will look at moving to blade servers at the same time
to maximise space savings.

Reduced hardware costs are another advantage of virtualisation. In the
example of my four under-utilised systems, all could be migrated to one server
of the same specifications and still have adequate resources?that?s at 25% of
the current hardware cost. Even if I were to over-spec the new system to allow
for future increases in usage, the savings are not to be ignored.

Reduced power consumption and need for cooling are benefits which come hand in hand. While the power
consumption and heat output of a system with high levels of utilisation will be
greater than that of a system under a lesser load, the consolidation of
multiple low-load systems should still produce less heat and demand less power
over all. Data centres are finding it increasingly more difficult to keep up
with demand for power at the rack and the cooling demand which comes with
increased power consumption (and that additional cooling also requires power,
increasing overall running costs).

The ability to rapidly deploy a new system without
ordering new hardware
, building/installing the server, and updating
firmware can be a big time saver for sys admins (whose time is usually at a
premium).

Although the above does not give an in-depth explanation of
the many advantages afforded by virtualisation, I hope it gives an informative
overview of benefits when compared to the more traditional server farm model. There
is an abundance of information to be found on both TechRepublic and Google,
this briefing should give those interested in the topic a starting point for
further research. I was hoping to also discuss the potential weaknesses of
virtualised services and the conceivable actions which can help to neutralise
these risks (and in some cases make virtualisation a more solid and lower-cost
approach)?however, I seem to have run short of time so will look at this next
week rather than hastily fumbling over the subject now.

If you have recent experience of consolidating
services with virtualisation, please share your experiences with us all. Were
problems encountered during planning/migration? Has the new virtualised model
realised the benefits expected beforehand?

by hsteemeijer_zd

Systems Management of Virtual Environments

Besides the advantages you've already identified, I am looking at the systems management benefits of VMWARE implementations. This seems tricky, because virtualization actually adds systems. If you want to consolidate 150 physical systems into a virtualized environment containing 15 physical servers, you haven't reduced the amount from 150 to 15. You've increased the amount from 150 to 165. The 15 physical servers are still running 150 distinct virtual servers requiring all there has to be done to keep them operational. The advantages therefore have to be found in other areas that have a less obvious but nonetheless big impact on the total (IT) cost of your company.

A 15 server cluster can be made more robust in terms of scalability, performance, continuity, resulting in the following advantages:

1. The amount of on-site system changes and capacity expansions will decrease and can be planned more rationally. 2. The amount of tape changes will be minimized to the amount of changes to an off-site storage. All on-site tapechanges can be performed by a nice robot attached to the SAN. 
3. Whatever it's worth for the business the uptime will increase from 2 nines to 3 nine availability and higher without having to deal with all sorts of labour intensive procedures.
4. Hardware dinosaurs running older OS, can be virtualized without having to worry about compatibility of application and OS. You simply use the old OS in the virtual enviroment. You no longer need service contracts at legacy prices. You don't have to wait until the dinosaur becomes extinct at Murhphy's moment.

 I wonder what more can be brought up.

by justin fielding

Returning to the topic of media volatility I have just had a
rather strange experience.  Before
travelling to a remote office I burned new copies of my install and application
discs, just to make sure I didn?t run in to any trouble due to a scratched disc
etc.  Well imagine my surprise when four
out of six discs were corrupt (which I of course only found out while trying to
use them), I had even checked the integrity after burning!  So what happened?  The discs were burned, checked and then
stored in the dark at room temperature for a few days while travelling.  I very much doubt a bad batch of discs could
be to blame as I have already burned quite a few and have been happily using
them for months.  The only thing I can
think of is that the corruption was caused by passing through x-ray machines on
my outbound journey.  Now I don?t know
about you but I always worry about my laptop being scanned (yes I know they say
that there is no danger of corruption but stranger things have happened), I had
never thought about CD corruption.  There
doesn?t seem to be any definitive answer as to whether or not x-rays will
damage magnetic and optical media.  Wikipedia says small doses of
x-rays ?should? not cause any damage? that ?should? doesn?t inspire confidence.

Has anyone else experienced data loss after passing through
airport x-ray machines?

by justin fielding

As I discussed last week, the benefits of virtualisation are
many: lower physical space requirements, reduced hardware costs, reduced power
consumption and cooling, and the ability to rapidly deploy new services. There
are, however, some increased risks which come with virtualisation. Let?s take a
look at what they are and whether there are ways of neutralising them without
losing the benefits gained.

The stability of our virtual systems will, of course, rely
on the host operating system. If the host system crashes or is taken down by
some other problem (a virus, perhaps), then all of our guest systems on that
host will be taken down. This ties into an obvious risk behind migrating many
servers and services onto one physical platform?that a single hardware failure
will affect multiple virtual systems, putting all of our eggs in one basket, as
it were.

Thankfully, some of the benefits of virtualisation can help
us overcome this risk and increase the resilience of our systems overall. How? First
of all, the nature of virtualisation means that backup procedures can be
greatly simplified; snapshots of complete virtual machines can be taken periodically
for very fast recovery. For those using hardware virtualisation, there is the
additional benefit of hardware isolation, meaning that recovery no longer needs
to be made to a host with an identical hardware configuration. In my opinion,
the greatest gain conceived by virtualising services and systems is the most
comprehensive safeguard against hardware failure?the increased affordability of
high availability computing. Sure, by consolidating four servers on to one
physical platform we have made substantial savings; however, we could choose to
set up a high availability cluster. Consolidating four servers into two will
still produce substantial savings and with increased redundancy over the single
server-single service model; we are not only negating the increased overall
risk posed by hardware failure, we are making very real gains as high availability
redundancy is created.

One risk posed to smaller companies is not directly caused
by potential vulnerabilities or bugs. In an effort to maximise savings
(possibly egged on by the availability of free server virtualisation software),
the risk is that projects may be pushed forward into production without the
necessary investment in staff training or consultancy. This can result in
inadequate capacity planning, incomplete configuration of both the host and
guest operating systems, and a poor understanding of the administrative
requirements to keep things running smoothly after deployment. These
misjudgements could lead to poor performance and possible system failures. In a
production environment, this can result in spiralling costs through either loss
of revenue or consultant's fees (to fix the mess). It?s therefore necessary to
make sure that the planning phase of any virtualisation project is
comprehensive and not fleeting; staff training should also be considered as an
essential component and unavoidable cost.

As you can see, there are very real risks which need to be
taken into account when deciding whether virtualisation is the right choice for
your organisation. I personally believe that with the use of high-availability
computing and snapshot-backups, these risks are negated. Rather than it being
the case that virtualisation is increasing our vulnerability to hardware and
system failures, it is actually increasing
resilience while still saving resources. A very interesting reference on the
topic of high availability configuration of virtualised systems can be found here.

Have you recently undertaken a virtualisation project? What problems
have you come across? How did you overcome them? If you are still considering
making a move, what potential issues are holding you back?

by jforan

Not to be contrary here, but there are no risks listed here that are unique to virtualization. The same Eggs-Basket analogy can be made about hosting multipe server services (DNS and Email, File and Application, etc.) on the same non-vritualized server. Training is certainly not a risk unique to virtualization - that's just a given with ANY technology rollout. I think a better title would have been "Be aware of the same risks when deploying virtualization that you should with all platforms".

One thing about HA clustering - don't invest in it unless you have a dcumented five-nines-need (and five-nines of those claiming a five-nines need are full of bologna - just because something CAN be up 99.999% of the time doesn't mean it really has to be, or even should be, especially in this constant patch-needing world of ours). Invest in HA technology at the virtualization level and in redundancy with shared storage systems. The simplicty is elegent - store virtual machines on your shared storage (SAN, NAS, SOIP), and if/when hardware fails, the HA software (such as VMware's VMotion) moves the hosting to an online machine. Also, when you need to upgrade / patch / etc., you can do it in a production-identical test environment, the best possible place because we've all had those subtle differences between the prod and the dev/test/stage areas bite us in the neck no matter how well our labs have been set up.

by ageere

Mini Case Study : Our organzation recently decided to go down the virtualization route. The technical support of the infrastructure is completely outsourced. Currently about 600 servers. Sun / Intel / AMD.

Using our development environment as the testing ground, we have consolidated 30 development servers and 6 staging servers onto three HPBL45P?s connected to an EVA8000. Host platform is VMWare v3 ESX Std.

The results have been phenomenal. The hardware savings alone justifies the value model of migrating to this solution. Not to mention a centrally managed platform. Developers moved from clone outdated servers, and in some cases desktops, to an environment with great performance returns.

The issue of redundancy has up till now been a bit of a grey area. VMWare v3 has itself resolved some of those pains. The questions being asked are :

Should we add a redundant blade for failover, architecture a high availability (HA) solution, or cluster the environment? The answer has been to apply whatever failover solution would exist for that server in a non-virtual environment. Therefore, you would not want to be spending money creating a clustered environment in virtual terms when that same server would never be clustered if it were stand-alone.

An added risk for our organization concerns the number of resources able to attend to a server within the specified service level agreement (SLA) in the event of failure. Resources are capable of problem solving a single server within that time frame, but we now run the risk of losing multiple servers should one piece of tin fail. There are usually not enough resources to ensure that all servers are back on-line within the SLA. In a development environment there might be some leniency, however in production you?re not so lucky.

I have found that modelling the redundancy model to fit the SLA for the associated application on that virtual environment has worked well in terms of resource allocation as well as managing business expectations.

by justin fielding

jforan, thanks and I agree with what you say--the analogy can be drawn with hosting many services on one physical server.  I don't think it's a good idea to have more than one business critical service running on a single machine for just that reason, if one machine goes down then many services are lost--the trouble is this creates a lot of wasted hardware resources.  If you wanted to virtualise such services, consolidating to one physical platform how would you neutralise the risk that one hardware failure could take down multiple services rather than just one (meaning increased disruption to the business and possibly longer to recover)?  Would you simply arrange the configuration such that not more than one business critical service runs on a single physical virtualised platform?


geere--thank you for the case study; it sounds like your consolidation is going well and you are reaping the rewards.  Does the business understand that a single hardware failure can now result in the failure of multiple services?  Has this changed the way in which the business plans to react in the event of systems failure or has the IT department been expected to ensure that consolidation has left all service level agreements unaltered?

by justin fielding

I notice a very interesting news release from
the beginning of August which states that Blackhats successfully (and it seems
quite effortlessly) managed to remotely exploit and install a rootkit on a
MacBook.  Of course exploiting a machine
is in itself nothing extraordinary, what made this instance particularly
alarming is that the only weak point to be exploited was that its WiFi adaptor
was enabled!  Just enabled, not even
associated with an access point!  So what
allowed them to do this?  Apparently the
vulnerability is in the way in which manufacturers drivers interface between
the hardware and operating system.  It is
not only Mac?s which are affected, both Windows and Linux users are at risk
too!  Although the exact method of
exploit won?t be released until manufacturers have had a chance to update
drivers, the method of exploitation is apparently very simple and revolves
around the use of binary drivers.  OpenBSD systems are not thought to be
vulnerable.

by justin fielding

Dell has announced a recall of over 4 million laptop
batteries due to the risk of ?overheating?.  As many who follow news within the IT
industry will know, the events which have prompted this recall can be described
as a little more serious than ?overheating??one example being this laptop
which burst in to flames at a conference in Japan!  This recall seems to have been prompted by
the fact that news spreads quickly over the internet, images of burned up Dell
laptop computers have become a pretty familiar site.  This however is not the first battery recall
Dell have run due to fire hazards; December 2005 saw 35,000 batteries recalled
and as far back as October
2000
just under 30,000 were pulled back in. 
To find out if your battery is included in the recall you should check
the Dell Battery Return Program
website.  I use a Dell XPS M170 laptop?this
is listed as a potentially affected model, however upon checking out the
aforementioned website it seems neither of my battery packs are included in the
recall; I?m still a little concerned and don?t think I?ll be using it on my lap
at all!

by justin fielding

Over the last few weeks, I have looked at the various pros
and cons of virtualisation?the benefits it may offer considered next to the
risks it can pose. Overall, I am of the opinion that in most circumstances where
hardware utilisation is minimal, the advantages of virtualisation far outweigh
any added risk (which can be counteracted by introducing high-availability
safeguards).

Once you've decided that virtualisation is suitable in your
circumstances, consideration must be given as to which particular offering will
be the best fit. The first consideration is that of Para-, OS, or Hardware
virtualisation?the differences described in my previous
blog. I personally favour hardware virtualisation, as it has many relative
strengths. First, the systems become hardware-independent, which means
recovering a server farm to a slightly different hardware base should be no
issue; hardware upgrades should cause little in the way of problems; and most
importantly, should one virtual machine crash, the total separation of machines
means that others on the same host will be unaffected. Another positive trait
of hardware virtualisation is that it gives you the ability to run various
different operating systems on one host (so you can have Windows, Linux, and
BSD virtual machines running on one physical server) without requiring any modification
of the guest system. Obviously, I am biased in that I am looking at this from
the point of view of a sys admin who manages an environment containing an
assortment of different operating systems?sys admins working for a web hosting
firm, where each machine is the same, may well favour another method.

I would say that the three major hardware virtualisation
platforms are Virtual Server 2005 R2, VMware Server, and VMware ESX server. Virtual
Server 2005 R2 will only run on a Microsoft Windows host; VMware Server will
run on both Windows and Linux hosts (I have tried both); whereas, VMware ESX
server installs to ?Bare Metal.? Let?s take a look at the feature sets and
claimed benefits of each offering:

Virtual Server 2005
R2
:

  • It?s
    free!
  • Runs
    most major 32bit x86 operating systems in the virtual machine guest
    environment
  • iSCSI
    clustering for guests to guest across physical machines
  • Add-ins
    provide even greater CPU and IO performance for Windows Server guest
    operating systems and certain third-party x86 operating systems

VMware Server:

  • It?s
    also free!
  • Supports
    64-bit guest operating systems
  • Supports
    two-processor Virtual SMP for guest machines
  • Runs
    on Windows or Linux host
  • Opens
    VMware or Microsoft virtual machine format and Symantec LiveState Recovery
    images with VM Importer
  • Protects
    investment with an easy upgrade path to VMware Infrastructure

VMware ESX server:

  • Install
    to ?Bare Metal?--no host Operating System
  • RAM
    over-commitment: Safely allocate 16GB of virtual memory with only 8 GB of
    physical memory
  • Transparent
    page sharing: Utilize available memory more efficiently by storing memory
    pages identically across multiple virtual machines only once
  • 4-Way
    Virtual SMP
  • Support
    for powerful physical server systems: Up to 32 logical CPUs and 64 GB RAM
    for large-scale server consolidation

It?s pretty obvious that Virtual Server 2005 R2 and VMware Server
are in direct competition?they are both free (Microsoft doing this as they gain
on the use of virtual machines in licensing terms; VMware doing this to
directly compete). VMware ESX server is a high-end system aimed at serious
large-scale consolidation projects and attempts to make virtualisation a
realistic platform for even the most demanding database and number-crunching
operations. The best way to find out which system is best for your own
circumstance is to try both?Virtual Server 2005 R2 can be downloaded here
for free and VMware Server can be found here. I personally prefer
VMware; not simply because ?it isn?t Microsoft,? but because:

a) I
have used VMware Workstation on/off for years and find the interface very
intuitive and the operation of VMware Server to be almost identical.

b) Running
on a Linux host, in my opinion, has performance advantages and also means your
host machine can be licence-free (Ubuntu is one of the recommended host
systems).

c) The
disk image format is standardised and its ability to import virtual machines
from other platforms eases any migration.

These are, of course, only three of many virtualisation
solutions on the market; others which I think deserve a mention would be Xen,
Linux V-Server, and Virtuozzo. A side by side comparison of most virtualisation
products can be found here in Wikipedia
placed in an easy-to read-table. This includes links to the relative websites,
details of the supported guest/host environments, and an indication as to their
performance?I would highly recommend you check it out.

by brian.speed

There is an excellent product from VMsoft that provides MS W2K3 virtualization. VIRTUOZZO takes a different approach that leads to cost savings and an interesting licence challenge for MS.

 

 

by surflover

VMWare is excellent at partitioning intel servers (the way the Unix systems have done for years), but doesn't address environments that require a large number of processors or more than one server (the intel world just doesn't thread well beyond four processors)... For data center virtualization, there is only one company that supports all major open systems (Windows, Linux, Solaris, AIX, and HP/UX) which is Racemi (http://www.racemi.com), there are some others who virtualize some of the major OS's, Cassatt supports Linux, Windows and Solaris, Scalant supports Linux and windows, and Qluster supports Linux.

VMWare would be a good companion for one of these other technologies, as they scale beyond the server, while VMs carve up the server. A couple of these also manage VMs (Racemi and Scalant I believe), so for those of you looking for a solution that covers your data center (If you have more than Intel) you should try evaluating one of these.

by justin fielding

Red Herring (media
company covering innovation, technology and finance) recently carried a fascinating
interview
of Eric Raymond?self confessed gun nut, freedom fighter and of course
champion of open
source
.  The basic thought being
pushed is a simple one?if Linux is to stand any chance of dominating the next
OS war then it must change and time is running out.  The battle for a hold on 64bit desktop users
will revolve around ease of use, interoperability and multimedia
compatability.  Raymond predicts that the
major transition to 64bit will start closing in 2008 which doesn?t leave much
time for the big players to establish a solid presence.  ?We need to be prepared to go to the rights
holders for these proprietary codecs and say, we?ll give you money, give us a
license,? Raymond said. ?This is something that the Linux community has a huge
antipathy to doing because we?ve got all this idealism about open source.?  The approach towards end users must also
change, ?what it requires is really so much in change in technical approach,
there?s a change in attitude; the community has to really believe that user
interface is important, and it has to really believe that certain non-technical
end users who are ignorant and want to remain ignorant, is important.?

I?ll be interested to see if easier to use distributions
aimed at an average user will start to appear. 
Can Linux evolve?

by craiglarry9

If it ever happens that the creators of Linux distributions begin to consider the users who don't want to be geeks, and don't want to learn their esoteric, snobbish gibberish in order to get a simple operating system that works, they would definitely make themselves valuable members of the World Wide Web. Is it really possible they would give up their self important position? I would like to see it, but I doubt it. I remember in university the tech guy for the whole campus couldn't get it through his head that the rest of us, mostly Mac users, didn't want to have to deal with all the coding and such. We just wanted something that would work for us while we were doing our own major studies things. We hadn't time to play his game and he didn't get it. Neither do the Linux people, as yet. It's going to take a major attitude overhaul!

by wa7qzr

And what will "we" do then, assuming that the the war is won, Micro$oft is destroyed and the Internet is made safe for democracy? Linux is free(dom). Don't go hosing it up by trying to lead the unsuspecting down the rosy path over, over, over ... multimedia codecs and user interfaces suited for people who can't (and don't want to - that's why Linux docs suck so badly) read! It's already bad enough with Fedora's kernel 2.5, udev and HAL (good ideas that unfortunately don't work), and NO MORE SERIAL MOUSE SUPPORT!!! Who was the pompous ass who made THAT determination anyhow? But you see, that's the trouble with evolution; personal preferences, egotism and ambition masquerading as purposeless, directionless change, all coming together to lead the Linux community down towards a slow, bloated, buggy useless excuse for an operating system; one that looks and feels (and even works) more and more like it's proprietary rival from Redmond.

Why should "free software" care about what happens in Redmond? Smart, creative people will always find a way to accomplish their aims ... that is how they found Linux to begin with. Ignorant, non-readers who would rather paint than switch() go to Redmond or bake Apple pie. Whining "end-users", whatever the heck that really means, need to realize that black boxes can't build better black boxes. There's only so much that can be hidden. There are limitations upon Man and Machine that'll take more than "demands" to nullify. Ask anyone who ever tried writing a compiler. Ask the geeks to build you a black box and they will. Ask them to build you a black box that will allow you non-geeks to build your own idealized "perfect" black boxes and you might as well be asking for the power to create life. You'll have just about as much luck getting the latter, as the former.

I have to wonder though; Has the Linux community forgotten how it came to be? That memory should influence where it goes from here; not mollycoddling ignorance; not pride; not ambition, or greed. Wonder and curiosity should be our driving force, and satisfaction in a job well-done the goal.

by apotheon

Eric Raymond has said a lot of very incisive, intelligent things in his time, about economics, software development, and the social forces at work in geek circles.

This is not one of them.

That he can even fool himself into believing it is at all economically feasible for a truly open source operating system to somehow license proprietary software for other-than-free must involve some rather astounding feats of mental gymnastics. He's lying to himself, and thus to us, when he says crap like this.

Meanwhile, the proprietary codec and hardware vendors are coming to the open source development communities, edging ever closer to open source drivers and codecs within their business models (or, at least, free-for-use binaries). Intel is offering open source network and graphics adapter drivers even as we speak — against that, nVidia and ATI will find themselves losing market share in several nontrivial niche markets. Things are changing, and not the way ESR thinks they are.

It's a sad thing that the two most recognizable names in Free/Libre/Open Source Software advocacy are RMS and ESR: one is the ideologically pure but utterly and unrecoverably insane figurehead of the Free Software Foundation, and the other is the ideologically polluted business-sense toilet of "I got mine, screw you and yours" advocacy.

If I was a conspiracy theorist, I'd be asking how much Microsoft is paying them each to say such damaging, nonsensical things. I'm more inclined to believe in the power of human stupidity than the ubiquity of human evil, however — except insofar as mediocrity is the definition of evil.

by supportguy

Time for Linux to broaden, and it is.
Linux has the power and flexibility that is unheard-of in any
closed-source operating system.  What other operating system can
come on a floppy or a 7 CD set?  Distros will continue to cater to
their audience.  If you want all the codecs and proprietary stuff
so that you can run Linux on just about everything you use that
distro.  If you are an open/free/libre fanatic then go with an
only open distro.  Then, of course, if you're a control freak you
can roll-your-own with LFS.  The great thing about Linux is
flexibility.
On the other hand, M$ caters to the folks that don't know/don't care
and they want to keep them there.  It's fine to have more
important things to do than learn computers but a little knowledge can
go a long way.  The cure for adware, spyware, viruses, etc is
usually "smart computing".  Linux encourages people to learn, M$
doesn't.

by craiglarry9

No one wants to take away the right of rolling your own OS. I hope we're talking about a middle ground here, where the people who don't want to make a career out of coding but just want something that with a modest amount of new learning have something that works well enough to go on with their private lives. Then if they want to go in for the finer stuff, it's available. Is there something wrong with that, or are we just talking esoteric snobbishness. You Linux people should answer that question honestly.

by justin fielding

Badware -> Malware:
?software designed to infiltrate or damage a computer system, without the
owner's informed consent.?

Stopbadware.org describes itself as ?a "Neighborhood
Watch" campaign aimed at fighting badware??with support from industry
leaders such as Google, Sun and Lenovo stopbadware.org report on software which
misrepresents itself or has malicious intent.

AOL has suffered a major blow as stopbadware.org released preliminary
findings
on their investigation of AOL 9.0; AOL have been struggling of
late, their subscriber figures dropped by 3.1 million over the past year?last week
three top executives left the company following the disclosure of over
2 million search queries
.  The report
finds many issues with AOL:

  • Installs additional software without
    disclosure

AOL Software is bundled with a number of additional applications,
including RealPlayer, QuickTime, AOL You've Got Pictures Screensaver, Pure
Networks Port Magic, and Viewpoint Media Player. During the installation
process the user is never clearly notified that AOL will be installing these
programs.

  • Adds AOL toolbar in Internet Explorer
  • Updates software automatically
  • Fails to uninstall software completely

After uninstalling AOL and all of its bundled components using
Add/Remove Programs, at least two AOL processes continue to run:
AOLServiceHost.exe and AOLHostManager.exe. It is unacceptable for AOL processes
to continue to run after AOL has been uninstalled by the user.

AOL have said that they are reviewing the points raised in
this report.  They also say that ?a
design flaw in the uninstaller mistakenly leaves executables running, even
after a restart? and they are looking in to a fix.  How reassuring.  I suppose many people automatically assume that
they can trust large firms like AOL?this just goes to show that you can?t be
too careful!

by vandy-sj

AOL is also a resource hog and not secure.

I used AOL back in the early AOL days when I got my first Internet connection on CompuServe dial up. The interface was great, included a browser and e-mail, and made my dial-up experience enjoyable. I finally out grew AOL and dropped my account, due mainly to frustration with later releases and how it affected my computer's performance.

These days lots of my clients complain about AOL problems and performance issues. When I uninstall their AOL, including post-uninstall manual deletion of folders and registry entries to get it all out of the system, the client's machine regains the performance it lost.

The numerous, documented risks of using some AOL features - like AIM - makes it a security risk, especially in a business environment.

AOL - RIP.

by justin fielding

This week, I thought I would take look at netcat?this
wonderful little tool is a networking utility, often installed by default on
many Linux/BSD systems, and its many uses are often overlooked by netadmins. Netcat
is derived from cat; it works on the
network level dealing with TCP and UDP ports rather than files. So what can we
do with netcat? Actually we can do quite a lot!

First, let?s start with the basic stuff: typing on one computer
and receiving the text on another. On the listening host (hosta):

hosta# nc ?l 1212

This means netcat will listen on port 1212. Now on the
broadcasting host (hostb), we want to connect to our listening host on port
1212:

hostb# nc 10.1.1.1 1212

You will now see that any text typed on hostb followed by a
return will be displayed on hosta. That?s quite basic, and you may not see the practicality
thus far; however, remember that like all good Unix tools, netcat performs a
simple function well and can be strung together with other such tools to
perform much more complex tasks. How about redirecting text to the listening
instance:

hosta# nc ?l 1212

On hostb:

hostb# ps aux|nc 10.1.1.1 1212

And on hosta we will see the output:

USER PID %CPU %MEM VSZ
RSS TT STAT STARTED TIME COMMAND

root 1
0.0 0.0 412
248 ?? Is 17Jul06
0:01.63 /sbin/init

root 1541
0.0 0.1 124
468 ?? Is 17Jul06
0:00.49 syslogd: [priv] (syslogd)

_syslogd 19818 0.0
0.1 148 484 ??
S 17Jul06 2:49.97 syslogd -a /var/named/dev/log -a
/var/empty/dev/log

root 13002
0.0 0.1 380
328 ?? Is 17Jul06
0:00.04 pflogd: [priv] (pflogd)

_pflogd 12469
0.0 0.1 432
280 ?? S 17Jul06
1:25.39 pflogd: [running] -s 116 -f /var/log/pflog (pflogd)

That?s more useful isn?t it? You?ll notice that the
listening process quits once it has received the output of our ps aux command from hostb. In order to
make netcat continue listening after the initial connection has been dropped,
the -k switch should be used in
conjunction with the -l switch.

hosta# nc ?lk 1212

I recently used netcat combined with dd to remotely dump an image of a server's hard disk (booting up
with a Linux LiveCD containing dd and netcat):

On the machine listening and saving the disk image:

# nc ?l 1212 | dd
of=/imagefile.dd

And on the machine sending the disk image:

# dd if=/dev/sda | nc 10.1.1.1
1212

This may not be the cleanest or most efficient method of
transfer, but it is very effective. Passing output from a process on one
machine to a process on another machine opens up a lot of possibilities. File
transfers are easy:

hosta# nc ?l 1212 >
/tmp/tempfile

hostb# nc 10.1.1.1 < /etc/motd

hosta# cat /tmp/tempfile

Linux host 2.6.12-9-386 #1 Mon
Oct 10 13:14:36 BST 2005 i686 GNU/Linux

The programs included with the
Ubuntu system are free software;

the exact distribution terms
for each program are described in the

individual files in
/usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY
NO WARRANTY, to the extent permitted by

applicable law.

And if you check the file size you will see they are exactly
the same:

hosta# ls -l /tmp/tempfile

-rw-r--r-- 1 user
wheel 339 Aug 25 15:15
/tmp/tempfile

hostb# ls -l /etc/motd

-rw-r--r-- 1 justin users 339 2006-04-14 06:46 /etc/motd

Depending on the version of netcat you run, the option flag -e may be available. This is very
interesting as it enables execution of a command once a client connects to the
listening process. Netcat on my Ubuntu machine has this option whereas netcat
on my OpenBSD machine does not. I?m guessing it has been removed from the
OpenBSD variant for security reasons?here?s why. You can give a remote shell
very easily:

hosta# nc -l -p 1212 -e
/bin/bash
hostb# nc 10.21.8.10 1212

ls
archive
build
dbootstrap_settings
monarch-097a.tar.gz

pwd
/root

A cron job could
easily be set up to open a listening remote shell at certain intervals. If the
system were not regularly cared for, this backdoor could go unnoticed for quite
some time!

There are many other uses for this nifty little tool?it can
come in especially handy while coding scripts, which may need to interact with
another machine on the network. Due to the unencrypted nature of netcat it
should be used with caution?an alternative that uses twofish encryption is CryptCat. If you find that your system
doesn?t have netcat installed (and you don?t have apt or yum available), then
you can find source or RPM packages on the official sourceforge site.
A Windows port is also available.

Does anyone have an interesting way in which they?ve used
netcat? Maybe for something unusual or even totally unique? Why not share it
with us?

by justin fielding

Video Conferencing has become a very popular method of
communication between our international branches?it?s affordable, encrypted and
easy to use.  As our network of
conferencing devices has expanded it has become a real challenge to efficiently
manage seemingly ever increasing number of internal phonebooks.  I recently made a discovery relating to the
Sony PCS range of conferencing units (the devices used in our
organisation)?Private phonebooks can be stored on a Sony memory stick; once the
stick is inserted the private phonebook is automatically activated and
overrides any phonebook entries already present in the device.  Upon closer investigation I found that the
private phonebook is stored on the memory stick in a CVS formatted file, this
file can be manually updated and the changes take effect as soon as the memory
stick holding the file is inserted in to a unit.

Making this discovery has allowed us to transform the way
that we manage the Video phonebooks.  We
can now keep one central database and send a memory stick containing the phone
book to each person with a conferencing unit. 
When an addition is made to the central database we can send a new
memory stick to each user and they will return the old one.

I just thought I would share this info as anyone else who
uses these units will know what a headache they can cause!

by justin fielding

I don?t know if it?s just me, but before I rebuild a machine I have that awful feeling that there?s something I?ve forgotten to backup. It doesn?t matter how many times I check and re-check, desktop or server--the feeling remains. Ordinarily, of course, everything is fine and there was really nothing to worry about. Now and then, however, you overlook something, and it?s as soon as you?ve answered yes to the format prompt that enlightenment can be found! Even if it's not anything important, it?s frustrating.

Good practice would be to use a new disk (or disk set if running with RAID) and not overwrite the original disks until a predetermined amount of time has passed?but this is not always possible. An alternate solution, which is extremely simple and also very effective, is to use dd. The dd utility very simply copies a standard input to a standard output. As with all core Linux/Unix tools it can be daisy chained with others to perform more complex tasks. One of the things that dd does best is to create flat images of either disks or partitions. All you need is a suitable place to store the disk image and you?re away. Most Linux LiveCD distributions (Backtrack is my favourite) will include dd, USB mass storage support, and also netcat (more on this in a minute). It?s certainly best to boot from a LiveCD on the host machine so that there is no process attempting to read or modify the very disk you are going to clone.

Let's create a scenario: Server A has an 18-GB SCSI disk (running on an LSI controller); the machine runs Windows Server 2003 and we want to splat it (yes, splat, a wonderfully technical term!). Server B is our file dump running Ubuntu with lots and lots of disk space to spare for exercises like this; it has a fixed IP of 192.168.0.1. Both machines are linked via a Gigabit switch / network. Despite having taken backups of everything and anything useful on Server A, we still want to make sure nothing has been missed (belt-and-braces approach), so will dump an image of the hard disk in Server A to a flat file on Server B. Let?s get to it.

The first step is to boot up Server A with Backtrack (or your Live distribution of choice). This is pretty self explanatory, and if you have trouble with that, then it?s most likely best to give up now! Once the system has booted, you need to check that you have:

  1. Network connectivity
  2. Disk access
  3. dd
  4. netcat

1) Pretty simple: first check whether or not you have an address:

# ifconfig ?a

eth0 Link encap:Ethernet HWaddr 00:0C:29:DF:EA:F7
inet addr:192.168.0.106 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fedf:eaf7/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:49 errors:0 dropped:0 overruns:0 frame:0
TX packets:51 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6425 (6.2 Kb) TX bytes:8109 (7.9 Kb)
Interrupt:18 Base address:0x1400

Luckily you do; however, if that isn?t the case simply execute:

# dhcpcd

If you want to enable the ssh server then:

# sshd-generate
# /usr/sbin/sshd

2) Disk access: You need to check that the disk you want to clone has been recognised by the live environment. It won?t have been mounted, so you can check the output of dmesg for any mention of a SCSI device and then verify that it?s the disk you are looking for with fdisk.

# dmesg|grep scsi

[42949418.410000] sd 2:0:0:0: Attached scsi disk sda

root@nagios:~# fdisk /dev/sda

The number of cylinders for this disk is set to 2212.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/sda: 18.2 GB, 18200739840 bytes
255 heads, 63 sectors/track, 2212 cylinders

Device Boot Start End Blocks Id System
/dev/sda1 * 1 2211 17759826 7 HPFS/NTFS

This is the disk you are after: you can see the disk size is 18.2 GB and it contains one NTFS partition.

3) & 4) It?s easy to check for dd and netcat :

# dd ?help
# nc ?h

If either of these produces a ?command not found? message, then try another LiveCD distribution. It is worth noting that some seem to have netcat installed as ?netcat? rather than just ?nc? so give that a try before condemning your current CD to life as a desk top coaster.

Okay, let?s get going. In this example, you will create an entire disk image of /dev/sda in Server A and save it in a file called ?image.dd? on Server B. You?ll use dd to create the data stream, netcat to pass the data over the network, and then again dd to convert the received data stream in to a flat file:

On Server B (receiving):

# nc ?l ?p 1010 | dd of=/tmp/image.dd

This will now sit and wait for incoming data and write it to the image file.

On Server A, you need to start sending that data:

# dd if=/dev/sda | nc 192.168.0.1 1010

If all is well, this will start to stream the image across the network. Once the transfer has finished, dd will display information about the amount of data that has been written. Netcat won?t automatically exit, so upon seeing this information, you simply need to Ctrl[C] to quit. There we have it, a complete flat file image of the original disk to give you peace of mind and a good night?s sleep! It is also possible to save the image to a USB storage device?simply mount the drive and then create the image with dd (without netcat):

# dd if=/dev/sda of=/mnt/usb1/image.dd

If recovery from the original image is required (maybe the new installation failed and you want to roll back) then the reverse can be applied:

On Server A (receiving):

# nc ?l ?p 1010 | dd of=/dev/sda

On Server B (sending):

# dd if=/tmp/image.dd | nc 192.168.0.106

Next week I?ll take a look at a few tricks that will allow us to boot this flat file image as a virtual machine with the help of VMware?this really can be a lifesaver. Having the ability to mount old machine images on your desktop (or notebook) is extraordinarily convenient and can be much more practical than a bare metal recovery. You may even decide that several legacy systems, which have previously been archived in this way, should be reintroduced in a virtualised environment.

by bhdorr

This article is very interesting to me and can help me immensely on my job.  I manage about 50 servers, all windows, and this type of cloning would be great for disaster recovery.  My question is "can I run DD from a windows server where I would like to store the drive images"?

by justin fielding

Hi Brett, I'm glad you've found this blog useful--in answer to your question, yes you can use dd with Windows.  While I haven't personally used dd for Windows, you can download it here: http://www.chrysocome.net/dd --from what I can see the basic usage is pretty much identical, the volume/device descriptors are obviously quite different to those used under Linux but they can be found with the command 'dd --list'.  Netcat for windows can be found here: http://www.vulnwatch.org/netcat/ and again usage is pretty much identical to the Linux version.

I would be interested to know how you get on with this, please keep me updated!

by alex779

Think no. Fogot about MacOS? This is unix-like OS on BSD- kernel based. And there are many other unix-like OS with pretty good interface better than windows. And Open Office > Microsoft Office.

PS: My favorite place - www.mczone.ru - all patches for all game here

by justin fielding

A half page headline on the front page of The Sunday Times
today read ?Stolen IDs sold on web for ?1?.  The article is quite brief with little technical
information, but then the purpose is more to raise awareness than anything
else.  It details how one reporter obtained
samples of 13 stolen British identities including passwords, bank and credit
card details.  He was offered stolen
identities by Russian users of www.carder.info
for as little as $2 USD.  It is mentioned
that these details are being collected via key loggers and Trojans.  The Russian police would apparently not
comment, only saying that they are co-operating with their British
counterparts.

While none of this is new or unusual I think it?s good that
public awareness is being raised?front page of the Sunday Times is pretty high
profile.

by nasty jack

Even with the United Kingdom's Data Protection Act, which requires notification to their Information Commissioner's Office of any use of names and personal data, there are still obvious problems.  In a bureaucracy, there is still a certain amount of oversite, as evidenced by the recent data breaches by the U.S. government.

There is a solution I have been advocating for several years now.  That is, to pass federal legislation giving consumers control over their names and private information.  They should also be paid when it is sold.  Read about it in my blog, The Dunning Letter at:

http://thedunningletter.blogspot.com/2006/06/its-monday-morning-do-you-know-where.html

 

Jack E. Dunning, Cave Creek, AZ

 

by justin fielding

While browsing the information superhighway I stumbled
across an open source mobile application server, Funambol (formerly
Sync4j).  Funambol claims to provide push
email as well as address book and calendar synchronisation between mobile
devices and PC?s.  The heart of Funambol
is the Data Synchronisation Server which actually provides synchronisation
services?various connectors allow Funambol to integrate with current email and
database systems for two way synchronisation; finally a multitude of client
plug-ins for Outlook, Windows Mobile, Blackberry and Palm ensure that
synchronisation with the main database is possible from a variety of devices
(most mobile phones now have compatible SyncML built in).

I always find contact synchronisation to be a pain, be it
between multiple mobile devices and Outlook, or between multiple
computers?therefore it seemed like a good idea to give Funambol a home
trial.  I can report that after several
hours of bashing my head against the wall I did manage to have my Sony Ericsson
mobile phone sync contacts with the server. 
I haven?t yet managed to make Outlook connect to the same database and
retrieve the uploaded records?I am still working on this and will post an
update if/when I have success.  Once I
have that working I?ll be interested to see how the push email operates; I have
heard mixed reports as to its feasibility.

by justin fielding

It seems that the past trend of western companies
outsourcing IT to India
and of Indian workers migrating to the west is seeing a reversal.  The BBC reports
that India
is now attracting more western migrants than ever before?not only Airline
pilots and Company CEOs but now also managers and software engineers!  With the speed at which the Indian economy is
growing, many westerners are sensing opportunity and wanting to be a part of
the growth; as Indian companies are becoming stronger they are able to offer
salaries attractive enough to entice westerners.

There are apparently now more than 50,000 expatriates
working in India, most are
from the UK
and US.

by dawgit

I've even heard that India is replacing the US, as the place profesionals are going to from Germany. (the Swiss is still the #1 place, good tax code, and better food; and one can drive home for the holidays) -d

by justin fielding

Last week, I described taking flat disk images of machines
using dd and netcat (via a LiveCD). It?s all very well having an image; your
data is backed up safely, but how do you recover it? One obvious way of
recovering data is to write the image back to the original system, but this
would only be realistic if rolling back. If you simply wanted to recover a file
or take a database dump, then that would be overkill. A spare server with the
same basic hardware (SCSI and CPU types) could be used for recovery; however,
the luxury of redundant hardware is not always an option in smaller remote
sites.

There is another option: the system image can be used as a
VMware disk?the system can be booted up for data recovery of files or be brought
back permanently as a virtual server. The version of VMware used would depend
wholly on your situation and intentions. A travelling sys admin may well want
to boot the system on his laptop once to take a database dump, then never use
the system again. In this case, VMware Workstation would probably be the best
option as it runs well on a desktop machine with the least amount of resources
taken up by overheads. On the other hand, if you were in an office and wanted
to work on the archived system image for greater amounts of time (perhaps some
forensic examination or to extend the transition period to new systems), then
VMware Server may be a good way to go?this one is free too. Either version can
be used; the disk images adhere to the same standards.

Before we start with VMware, we need to collect some basic
information on our disk image?the physical disk's number of cylinders, heads,
and sectors as well as the image size in sectors. There are various ways of
finding this information?one is to look for data on the original hardware. This
isn?t always as easy as it sounds. Another is to use WinHex (Specialist or
Forensic versions). Open the system image with WinHex selecting ?Raw Image or
Evidence File? as the file type. Once the image file is open, go to the
Specialist menu and run off a ?Technical Details Report?:

[C:\Documents
and Settings\justinf\My Documents\My Virtual Machines\W2k3\ibmsda-dd.img]

Total
capacity: 18,200,739,840 bytes = 17.0 GB

Number
of cylinders: 2,212

Number
of heads: 255

Sectors
per track: 63

Bytes
per sector: 512

Sector
count: 35,548,320

Surplus
sectors at end: 12,540

Partition
1

Sectors
63 - 35,519,714

Partition
table: Sector 0

File
system: NTFS

Total
capacity: 18,186,061,824 bytes = 16.9 GB

Sector
count: 35,519,652

Bytes
per sector: 512

Bytes
per cluster: 4,096

Free
clusters: 2,645,133 = 60% free

Total
clusters: 4,439,956

Unused
inter-partition space:

Sectors
1 - 62 (31.0 KB)

Sectors
35,519,715 - 35,548,319 (14.0 MB)

=
14.0 MB

The numbers
in bold are the ones we?re interested in.

With the required information, we can go ahead and create a
new virtual machine. Exact details of the virtual machine will vary depending
on the type of system represented in our disk image. The main choice is SCSI or
IDE (different disk geometry will make booting a SCSI image with an IDE
controller very difficult!)?there are also two types of SCSI, BusLogic or LSI
Logic. To create the new VMware virtual machine, select Custom from the
configuration menu?the VM format should be the newest available (?New ?
Workstation 5? at the moment). For guest operating system, select Other,
followed by Other. Name the VM as required, select the number of processors,
allocate RAM, and select a network connection type. If we wanted to bring a
system back on to the network, then bridged networking would be the best option
(not forgetting about possible IP clashes). If we simply wanted to pull data
off to the host machine, then host-only networking would be fine.

The next option is that of SCSI adaptor choice, BusLogic or
LSI Logic. Select the appropriate option and continue, electing to create a new
virtual disk. Disk type depends on the system being resurrected; in this case,
I?m using an LSI Logic SCSI disk. The disk size can be small as we will just
delete the VMware disk image later?0.1GB is fine, and make sure to select the Allocate
All Disk Space Now option. Do not split the disk in to 2 GB files. Finish the
wizard and copy your dd image file into the virtual machines root directory.

My image is of a Windows 2003 Server, so I?ve called the VM
?w2k3?. In the folder ?My Documents/My Virtual Machines/w2k3? I have files
called ?w2k3.vmdk?, ?w2k3.vmsd?, ?w2k3.vmx?, ?w2k3.vmx.lck? and
?w2k3-flat.vmdk?. The file w2k3-flat.vmdk is the VMware flat file disk image;
we can delete this. The file we want to edit is ?w2k3.vmdk?. This file is the
disk descriptor file and in order to boot our dd image, we must populate this
file with the data of our image (collected earlier). Here are the contents of
the default file with the parts we need to change in red:

#
Disk DescriptorFile

version=1

CID=c4f57009

parentCID=ffffffff

createType="monolithicFlat"

#
Extent description

RW 209715 FLAT "w2k3-flat.vmdk"
0

#
The Disk Data Base

#DDB

ddb.virtualHWVersion
= "4"

ddb.geometry.cylinders
= "102"

ddb.geometry.heads
= "64"

ddb.geometry.sectors
= "32"

ddb.adapterType
= "lsilogic"

We need to enter the disk size in sectors, image filename
(in this case it?s image.dd), cylinders, heads, and sectors:

#
Disk DescriptorFile

version=1

CID=c4f57009

parentCID=ffffffff

createType="monolithicFlat"

#
Extent description

RW 35548320 FLAT "image.dd"
0

#
The Disk Data Base

#DDB

ddb.virtualHWVersion
= "4"

ddb.geometry.cylinders
= "2212"

ddb.geometry.heads
= "255"

ddb.geometry.sectors
= "63"

ddb.adapterType
= "lsilogic"

All that?s left to do is start the VM with fingers crossed. If
a mistake has been made in filling in the vmdk file, then it?s most likely that
the information you entered is wrong?check and double check it. If the machine
starts to boot but then sits on a black screen, it?s likely that the adapter
type is wrong (try buslogic or ide). Due to the hardware changes, some systems
will need to be repaired so that the new hardware drivers are enabled and old
ones no longer loaded. With this particular Windows Server image, I found that
it booted as far as the ?Preparing network connections? indication and then
crashed?no need to panic, though. After booting into safe mode once the system
ran perfectly; here?s the evidence:

http://i.i.com.com/cnwk.1d/i/tr/NL_images/Fielding0912.jpg

I hope people have found this useful?I have now used this on several
occasions. The possibility of using a dd created disk image to recover and reactivate
old systems is great and adds yet another tool to the sys admin's kit!

by tomk3212

I've used VMWare in the classroom (all the way back to the 2.x version!!) for years to demonstrate networking to my students.  Now that I'm back in the field I still use it to test server configurations prior to actual deployment.  Your method, however, for backing up & recovering disks via VMWare would NEVER have ocurred to me & is absolutely BRILLIANT.  I will have to try it sometime soon.  Great job!

BTW, can you supply a link to your prior article that you referred to for the actual disk cloning process?

Tom K.

by justin fielding

Just thought I would update you on my experiments with Funambol.  As I previously mentioned Funambol is a data
synchronisation server which has connectors included to allow the syncing of
PIM information between mobile phones (using the inbuilt SyncML client), PDA?s
and Desktop applications such as Outlook and Mozilla.  I was able to upload contacts to the server from
my mobile phone, however I wasn?t able to sync Outlook with the server.  After a little more reading and a lot of
tailing through logs I found the problem not to be with Funambol but rather
with my home router.  The router in
question is only a basic netgear home router?using a dynamic DNS service and
port forwarding rules I had made the Funambol service on my PC accessible from
the internet, however the port forwarding was not operating correctly for
connections initiated internally?this was resolved by putting a simple entry in
to my hosts file pointing to the Funambol internal IP address (a quick fix for
testing purposes).  I can happily report
that Funambol now allows me to faultlessly synchronise contacts and calendar
entries between Outlook and my Sony Ericsson mobile phone.  I am still struggling to synchronise tasks,
these apparently present more of a challenge due to the data forma.  I?m reading mailing list archives and
analysing logs to try and have tasks synchronise correctly.  I?ll report any progress as soon as it?s made.

by jbordeau

Just to add some information about configuration OpenBSD 3.9

Add /etc/sysctl.conf : net.inet.gre.allow=1

And reboot or "sudo sysctl -w net.inet.gre.allow=1"

So you will probably some warning message about IPV6 ... don't worry.

by justin fielding

Yes that's right, and the kernel only needs to be recompiled to increase the number of tun devices-- the GRE modifications are no longer needed.

by jbordeau

Thanks Justin,

With your sample, it's allright ! thank you again !

Else, if you add PF configuration, you need to had a rules to permit PPTP ip range to go to on internal network.

To complete this sample, try FWBUILDER ! http://www.fwbuilder.org

Very nice interface and run on Windows GUI with Putty. Like as FW1 Gui.

by justin fielding

An interesting blog on cyber-knowledge.net details how the
author obtained 20,000 MySpace login combos (email/password) via somebody
else?s phisihing attempts.  He then went
on to analyze the email addresses in order to build up a profile of your
average phished user?needless to say AOL, Hotmail and Yahoo came top of the
list (although one would expect those to be the most heavily spammed domains
too).  When it came to analysing the
passwords there were of course people who entered ?password? and ?abc123? but
on the whole they weren?t too bad; a clear majority of the passwords were 6
characters or more with 65% including numbers.

Take a look at the blog
for a full analysis.

by jamesrl

At a former employer, we came up with a stat for measuring how secure our passwords were.

 

One of our security employees would load the domain's password file onto a specific computer (whose config stayed the same to ensure consistency). We loaded onto it a commnly found password cracking tool. The measurement was "percentage of passwords in domain cracked in 24 hours".

Before we had tools to enforce a standard,  we could only "promote" standards. At first the number was close to 50%. After six months of emails it was down to 10%. The last 10% was hard to lower.

We also looked at shared passwords - typically these are IDs required for extraordinary access to something, and as a result are shared. Eliminating them made a huge difference in tightening security. It was a little more work to add rights to individuals instead of using generics, but well worth it.

 

James

by kiltie

Although the links proved interesting (I spent an hour tracking them, enjoyed it) I didn't find any reference to the topics of this blog. I am concerned about security and wanted to research "20,000 MySpace login combos (email/password) via somebody else?s phisihing attempts."

Where did you intend us to refer to?

The links (identical) led to details of a sneaky attempt by 180 (a notorious malware entity) to trick kids in MySpace to install malware. It was very cleverly done, could easily dupe even technically aware teenagers.

by mroonie

Passwords are becoming less and less of a secure means for authentication.  This blog post talks a little bit about other solutions that can be used over passwords.

by justin fielding

I have recently blogged a little on Funambol, the open source mobile
application server. After spending the last week playing with this software and
finally having some success with PIM synchronisation, I thought it may be a
good idea to take a closer look and go through the basic steps required to get
things running.

 

What is it?

Funambol is
an open source mobile application server platform which provides both a data
synchronisation engine and a software development platform for mobile
applications. Funambol is the de facto standard implementation of the Open Mobile Alliance
Data Synchronization and Device Management protocols (OMA DS and DM, formerly
known as SyncML).

 

What does it offer?

Funambol claims to offer the following:

  • Push
    E-mail
  • Address
    book and calendar (PIM) data synchronisation
  • Application
    provisioning
  • Device
    management for wireless devices and PCs
  • This
    means BlackBerry-like capabilities on commodity handsets

Now I say that Funambol ?claims? to offer these features, as
while looking into the project, I have found that there is a divide between
what Funambol can actually do in the real world and what people may be led to
believe it can accomplish. There is quite a bit of future tense being used on
the mailing lists; we?ll come to this later. I am, of course, approaching this
from the viewpoint of an enterprise user rather than that of a mobile operator.

Many different devices are supported by Funambol and its
various plugins/connectors. SyncML-enabled mobile phones (from Sony Ericsson,
Nokia, Motorola, Samsung and others), RIM Blackberry, Windows Mobile (pocket
pc), Palm, and even Apple's iPod can be used with the data synchronisation
engine. On top of that, various software clients can be used including
Microsoft Outlook and Mozilla.

 

History

The history of Funambol dates back to 2001?software
developers saw the potential of SyncML for mobile computing but did not see a
platform independent (java) open source implementation. The Sync4j project later
became Funambol and has gone way beyond the original engine with many
components now available:

  • Funambol Data
    Synchronization Server: a mobile application server providing
    synchronization services for wireless clients and PCs, including push
    email.
  • Funambol Device Management:
    an OMA DM server to remotely manage mobile devices.
  • Funambol Connectors:
    gateways to file systems, databases, email systems, and applications for
    two-way synchronization with existing data assets.
  • Funambol Client Plug-ins:
    protocol extenders and clients for Microsoft Office Outlook, Windows
    Mobile
    , BlackBerry, Palm and iPod so users can
    synchronize their email messages and PIM data (address book, calendar,
    tasks and notes) with the server.
  • Funambol Software
    Development Kit: tools to develop sometimes-connected mobile applications
    on devices (in Java - J2SE and J2ME - and C++) and to
    add data sources to the server.

 

Getting stuck in

Ok, that?s enough of the sales jargon?I think the best way
to find out whether something can be of use is to try it out. This can be
especially true with open source software, as the only cost of testing it is
that of time. Hopefully I?ll be able to guide you through the basic setup and
configuration, saving a lot of wasted time trawling through mailing list
archives and hundreds of useless Google results!

Platform

The fact that Funambol runs on a standard java-based
application server platform (JBoss)
means it can be deployed on almost any platform. Pre-packaged server bundles
are available for Linux / Windows and individual packages can also be
downloaded.

Requirements

Other than a platform capable of running java applications
what?s required to run and use Funambol? I would recommend having a
SyncML-compatible mobile phone (I have used both a Sony Ericsson W550i and
W800i) and Outlook in order to test the synchronisation server.

Some type of static internet address is also needed. If
you?re looking to use Funambol at home rather than in a corporate environment,
don?t panic; there are various solutions. I have successfully been using DynDNS along with the built-in IP updater in
my NetGear DSL router and had no problems. I created a new service in the
router for port 8080 and then added a firewall rule to redirect all incoming
connections for that service to the internal IP of my Funambol server?this
?almost? worked perfectly. The only issue was that?internally?redirection
didn?t work, meaning the Outlook connector wouldn?t connect to the service. Two
solutions to this were viable, and both worked: (1) Insert ?dynamic.dnsdomain.com   192.168.0.x? into your hosts file, where
192.168.0.x is the internal Funambol server IP. (2) Set the server address in
the Outlook connector to statically point to the internal server (e.g., Server
URI=http://192.168.0.x:8080/funambol/ds). These fixes only work if you are
going to be on the internal network?if you?re outside of the network on a
laptop, etc., then the dynamic DNS should resolve and the firewall rules will
forward data correctly. If you hold a static IP, then there is, of course, no need
to worry about this, you?ll be fine.
 

Installing

Funambol can be downloaded as a Server Bundle or as
individual components. If you?re starting from scratch, I guess it?s probably
best to go with a bundle. The components, along with additional connectors, can
all be downloaded here.

My first attempt at installing Funambol was using the Latest
Beta (v3.0) bundle on a clean Ubuntu server. Despite the simple install process
(simply execute the install script) this gave me nothing but trouble. I
couldn?t get the server admin tool running, so after wasting an hour looking
for solutions and fixes, I decided to dump that idea and install it on
Windows?after all, I?m only evaluating the software, not building a full-time
production system. The Latest Beta (v3.0) for Windows installed flawlessly;
simply execute the downloaded installer and follow the prompts.

I now have the application server and Funambol installed,
but I need to configure the Data Server, SyncSources (more on this later too)
and mobile devices. Next week, I?ll follow up with details on accomplishing
this, while avoiding the initial problems that I ran into.

If anybody is already using Funambol (or possibly a similar
mobile synchronisation system) in production, it would be interesting to hear
your experiences?leave a comment for us.

by dawgit

Justin, This looks like a good tool to manage several tasks. I haven't had the time to read it throughly (wiil do so later) so bear with me, (I know, RTB) for a few questions; secutity? How does this program not allow everyone than to also see your Data? And what wireless protocalls does it support? (BlueTooth, for example?) Thanks, BTW, good research done there. -d 

by justin fielding

The users data is stored in seperate folders by the data server--take a look at my latest blog on Funambol for details.  Funambol doesn't actually support wireless protocols, it works with TCP/IP over GPRS.

by brendlerjg

It's true that most modern *nix systems have nice updating capabilities. So that's irrelevant for the most part. What IS worth better understanding is the relative speed and accuracy with which each system gets patches in the system and out to users. Reactive patching leaves a window of exploitable opportunity between the time hackers figure out the vulnerability and the time end-users apply the patches. So speed and accuracy of implementing patches would seem to be an important security metric.

For example, Edmund DeJesus of searchsecurity.com sampled how fast various Linux distro's responded to 30 recent security vulnerabilities of various severity. While not entirely scientific, his analysis shows some interesting results. (See his article entitled "Linux patch problems: Your distro may vary" at http://searchsecurity.techtarget.com/).

According to his analysis (summary table below) Ubuntu and Fedora Core are the best at this while SUSE and Slackware suck? I also read a post somewhere else where somebody applied this to OpenBSD and they are well down the totem pole too. (Although they admittedly don't focus their limited resources on patching 3rd-party ports, this demonstrates why OpenBSD excels in applications such as firewall and not as a basis for a desktop). If this is accurate (and I have not verified the analysis) one might feel reluctant to use SUSE as a desktop as well!

Name Free? Owner Score
Ubuntu Yes Ubuntu Project (sponsored by Cannonical) 76
Fedora Core Yes Fedora Project (sponsored by Red Hat) 70
Red Hat Enterprise Linux No Red Hat 63
Debian GNU/Linux Yes Debian 61
Mandriva Linux (Mandrake) Yes (plus commercial versions) Mandriva 54
Gentoo Linux Yes Gentoo Foundation 39
Trustix Secure Linux Yes Trustix Project (sponsored by Comodo Group) 32
SUSE Linux Enterprise No Novell 32
Slackware Linux Yes Slackware Linux 30

by justin fielding

brendlerjg I completely agree with what you have posted--I would rate Ubuntu (and therefore Debian) very highly and SUSE has to be right at the bottom.  I noticed some comments above rate SUSE quiet highly, however these sound like desktop users.  Once you start dealing with farms of servers you don't want to be required to interact after kicking off an update--SUSE frequently stops at random points of the update with demands that certain services must be stopped, restarted etc.  Ubuntu deals with all of this--the update mechanism is fire and forget.

by justin fielding

Bored one evening I decided to watch the most recent Steve Jobs presentation
and see exactly how the latest iPods have been refreshed.  A lot more interesting was the product
preview that followed?iTV (its temporary name).  Jobs unveiled a tiny set top box which finally
bridges the gap between our TV/Home Entertainment and the digital content
stored on our computers.  The unit
features built in 802.11 wireless networking, Ethernet, HDMI output, Component
output and optical audio output.  Running
in conjunction with iTunes this offers a sane way to enjoy music, photos and
video streamed directly to your TV.  The
unit is going to be released in Q1 2007 and will be priced at around ?160 which
is much cheaper than the alternative
of buying a bulky Media PC running Windows XP Media Edition
.

Of course, no firm details were given on the technology
contained in the box and it has left some questions being asked.  How about broadcast TV, will it be excluded,
will an additional module allow reception, will streaming broadcast be
available via iTunes?  The second is that
of video quality?  The HDMI and component
outputs hint at HD
quality content
, this however will create challenges.  Hard disk space consumed by HD movies would be
massive, the download time for movies would be considerable and current 802.11g
wireless technology would not be capable of streaming?however 802.11n would be.
 If Apple uses 802.11n it will mean that Mac
computers would also need to use the same technology which is not currently the
case, so will people need to buy a new computer to enjoy HD with their iTV?  That ?160 price tag suddenly pails in to
insignificance!  The ideal solution of
course would to allow current Mac owners to upgrade their Airport cards to
802.11n?something which would be trivial with a PC but a different story with a
Mac; anybody know if the Airports are removable/replaceable in the latest
generation of Macs?

 

 

 

by mike

To retain backups onsite using tapes or other media is not the best practice towards securing personal or critical business data.  I can?t tell you how many times I have heard and experienced companies both large and small that used a tape system or other onsite media that they could not restore their data due to no data on the tape.  Companies simply don?t have the staff or time to check to see if in fact data is on the backup media nor check it in many cases.

Online backups (from a reliable company) give you the redundancy and protection against disaster plus they usually monitor your backups for you.

Mike

http://akronbackups.com

 

by justin fielding

The answer to that question may seem like a bit of a
no-brainer but apparently not.  A group
of developers known as Dunc-Tank is about
to pay selected Debian developers in order to ensure that the upcoming release
of Debian is on schedule.  The move has
opened up quite  a bit of debate on the
question of what happened when developers who were previously working for free
suddenly receive pay for the same work.  There
is one school of thought following the idea that volunteer numbers and
motivation will be reduced because they are no longer doing the work as a
gesture of goodwill or charity.  On the
other side of the argument Rapha?l Hertzog and Ted Ts'o (prominent members of
the Debian project) believe that despite potential drawbacks they believe that
many developers will be motivated by the more speedy evolution.  Ts?o also cites the core kernel development as
a positive example saying ?I would note that most of the core kernel developers
have made the transition from volunteer to paid work, and I can't say that I've
seen any negative efforts within the Linux kernel community as a result of that
change."

A full analysis of this experiment and what it may mean for
the future of open source development can be checked out linux.com ? can
paid and volunteer developers work harmoniously side by side?

by mindilator9

from the php side of this, check out the new september issue of international php magazine, Spotlight article titled The Need to Teach PHP by Marc Isikoff. in there is an argument about how formal education of this often self-taught language can help prevent a for-profit takeover of php.

a somewhat related writing by Marco Tabini in php|architect's june issue of this year, in the editor's closing soapbox called "exit(0)," also talks about the influence of private money in the development of php, due to the small number of able contributors / large number of users unable to contribute. at the very end he considers assigning the responsibility of php evolution to a foundation. i think he means like the way eclipse was set free by ibm through an independent foundation. he specifically alludes to the mambo/joomla drama.

 but i'm left wondering, isn't this already happening with zend as the foundation taking charge of php's evolution? do we have to worry about for-profit interests influencing zend? should we worry about zend becoming the for-profit influence we're afraid of?

by rahulbatra

If they are really fair on who to pay, it might motivate the volunteers
to work harder, and get rewarded for their efforts. Before I joined
into mainstream technical enterprises, like any geek, I was all in for
freedom of everything, open source and the like. But through time I've
come to realise that balance must exist. After all most of us are paid
because of commercial software. If Dunc-Tank really get it right, this
may just be benificial to Debian, and in turn to everyone.

by justin fielding

Last week, I covered the basics of Funambol and told you
about my adventures getting it installed. Let's move on to configuration
issues. I will walk you the example of configuring my own phone, but you should
be able to adapt this for different cell phones.

After installing the Funambol application server, you should
check to see if the server is running as it should be. From the Start menu,
select Start > Programs > Funambol > Data Synchronization Server >
Start. A DOS command box should open and you will see the services being
started. Once the box has disappeared, open up a Web browser and point it to: http://localhost:8080/.
This should display the Apache Tomcat default display page. Next, head to http://localhost:8080/pimweb
where you should see the Funambol demo page if everything has been installed
correctly.

Once you?ve established that the install went without a
hitch, it?s time to configure the server and SyncSources. To fire up the server
administration interface, select the Administration tool from Start >
Programs > Funambol > Administration Tool, if you?re running the Linux
version then execute <FUNAMBOL_HOME>/admin/bin/funamboladmin with
<FUNAMBOL_HOME> being the directory in which you installed the Funambol
package. Once the application is running, select File > Login. The default
username is admin and the default
password sa. Leave the port as 8080
and the hostname as that of your server.

Now that the administration tool has logged in, open up the
server tree and double-click on Server Settings. There are only two things you
need to change here before you move on. The first thing you need to change is
the Server URI, which should be set to the address of the data synchronisation
server as seen by a mobile device. In the example, this would be http://dynamic.dnsdomain.com:8080/funambol/ds;
of course, substituting dynamic.doamin.com
for your own Internet address. The second setting which you need to change in
this section is the Pipeline Manager. The pipeline manager handles input and
output for the data synchronisation server?it modifies data before entering and
after exiting the synchronisation engine. In order to have the synchronisation
engine interface with mobile devices while keeping the context of the data in
relation to the devices' identity, you should modify Pipeline Manager to read com/funambol/server/engine/pipeline/PipelineManagerGeneric.xml.
Save the configuration by selecting the Save button at the bottom of the screen
and wait for a verification message in the Output ? Messages window. It may be
a good idea to expand the Server Settings > Logging branch and select
funambol. This is where the log level can be changed. If you set the level to
ALL, browsing through the logs after synchronising a device can help explain
what?s going on within the data engine.

Moving on from the server settings, you now need to create yourself
as a user. Double-click on the User icon and then click on Add. I?m entering
the following information:

 

Username: justin

Password: password

First Name: Justin

Second Name: Fielding

E-Mail: doesntexist@yahoo.co.uk

Roles: User

After clicking on Add, go back to the users menu and click
on Search; the new user should be displayed in the results. I?m going to jump a
few steps ahead now, as it will save time later on?don?t worry I?ll pick up
right where I left off.

 

Configuring a mobile
phone

I?m using a Sony Ericsson W500i to test out Funambol. There
is no particular reason for this other than the fact that I only have Sony
Ericsson mobile phones (check out http://fma.sourceforge.net/
to see why); if you are using a SyncML-compatible handset made by another
manufacturer and the details given here don?t seem to relate, then consult the
manual for help.

From the standby screen, enter the main menu and select the
Organizer submenu (it?s the one with a calendar and bell). From this menu
select Synchronization and then New Account. Give the account a name?in my case,
I?m just using ?Home?. The first field to edit is the server address; this
should be the same as the address previously specified in the administration
tool. The Server URI was http://dynamic.dnsdomain.com:8080/funambol/ds.
Username and password are required next?in the last server configuration step,
I allocated ?justin? and ?password?. A connection can now be chosen, and GPRS
is preferable over WAP or dial-up. If there are options for Sync Interval and
Remote Initiation, leave them as default for now. Applications should be
picked; I am synchronising Contacts and Calendar but have not yet managed to
get Tasks running due to a lack of a SyncSource for them. My phone also has a
section called App. Settings. In here,
I need to specify a database name, username, and password for each application
I want to synchronise. The database name for contacts is ?card? and the
database for calendar information is called ?cal??the username and password for
both of these would be the same as specified in the previous menu. Save the
profile and return to the synchronisation menu, select the ?Home? account which
has just been created, and then hit ?Start?. It?s a good sign if you notice
some disk activity on your data server, but this synchronisation will fail as
we haven?t created a user or configured the devices yet. By attempting to
connect to the server, we have created a device entry in the synchronisation
server, this means we can skip back to the server configuration.


Back to the server

Now let's go back to the Funambol administration tool in
order to finish configuring the server. Select the Devices icon and click on
Search. The device that I just tried to connect with should show in the form
?IMEI:NNNNNNNNNNNNNNN? where each N represents a number, the IMEI number is
unique to each mobile telephone, and on a Sony Ericsson handset can be viewed
by entering: *#06#.  I selected the
device and modified the following details:

Type: Phone

Msisdn: 00447111111111                               #
This is the phone number

Description: Justin Mobile: W550i

Click Save and wait for a "Device correctly updated"
message before moving on to the Principals configuration area, and click Add.

A device may have multiple users and a user may have
multiple devices. A principal quite simply creates a link between devices and
users, allowing them to intertwine and avoid having data locked to one device. To
allow my mobile phone to interact with the synchronisation server, I need to
create a principal. Clicking on both search buttons will return lists of users
and devices. Select the user and devices previously created and then click Add
Principal, waiting for a "Principal correctly added" result.

That?s almost all of the configuration done; only the
SyncSources need to be configured, which I?ll look at next week. I?ll also
synchronise my mobile phone's data with that in my Outlook and on my iPod.

by justin fielding

ToorCon
is upon us and with it comes a bit of bad news for users of the Firefox web
browser!  Yet another possible flaw in
the Firefox?s JavaScript handling means that malicious code execution threatens
Windows, OS X and Linux users of Firefox. 
Mischa Spiegelmock and Andrew Wbeelsoi gave a presentation where they
detailed the flaw and even presented a slide which displayed parts of the code
required to exploit it.  Mozillas
security chief (Window Snyder, formerly with Microsoft) said that she wasn?t
happy about the disclosure saying ?It looks like they had enough information in
their slide for an attacker to reproduce it? adding ?I think it is unfortunate
because it puts users at risk, but that seems to be their goal?.  The two presenters claimed to know of another
30 un-patched Firefox vulnerabilities and laughed off any suggestions that they
disclose them and collect the $500 pre piece reward.

Spiegelmock said that this flaw is specific to Firefox?s
implementation of JavaScript which he claimed is a ?complete mess? and
?impossible to patch?.  Warnings over the
Firefox development process were being cried as far back a 2005 and concern seems
to be increasing.  Is Firefox?s security
through obscurity finally over?

by justin fielding

McAfee is so irate over Microsoft?s decision not to allow
them access to the core of Windows Vista that they today took out a full page
ad in the Financial Times.  Symantec is
equally as unhappy about the move, recently stating that Microsoft has
withdrawn its cooperation as it move to replace their security related software
with its own.

The ad made some weighty but fair claims:

"Microsoft is being completely unrealistic if, by
locking security companies out of the kernel (core), it thinks hackers won't
crack Vista's kernel. In fact, they already
have,"

"Only one approach protecting us all: when it fails, it fails for 97
percent of the world's desktops,"

"Computer users around the globe recognize that the most serious
threats to security exist because of inherent weaknesses in the Microsoft
operating system."

The European Commission has stated that no action is begin taken at the
present time as no formal complaints have been made.  It will be interesting to see if this follows
the same path as previous confrontations between Microsoft and third party
software companies (think Netscape, Novell and RealNetworks).

by don-bans

McAfee et al.

                  Your company and employees have sat in the background and made very good and hefty profits on the general believe that Windows computers are suceptible to viruses, spywares, etc. while the Microsoft's reputation in security in its products for a while was almost at bottom level.

Windows is still the leading and dominant desktop O.S but Linux (variations), Apple OS X have done more than a good job to give most consumers a choice in the desktop market.

Today, if a company chooses Windows as its desktop OS, it is not "entirely" because of Microsoft's monopolistic position; it is because of Windows' ease of use, ease of support, flexibility, etc. and the fact that Microsoft does a good job in marketing its products!

My advise to you (McAfee & Co.) will be to start changing your business model and practises. Suppose Microsoft fails entirely tomorrow (suppose the supposedly secure macs and linux systems which are not vulnerable to viruses, spywares, adwares, etc become the market leader in desktop OSes and products)? What will become of your company?

Does McAfee and Co. happen to need Windows and its vulnerabilities to have a successful business model? We hope not!

Dear Microsoft:

I am very pleased to know that you are doing an extremely good job in securing your OSes and products. Kudos!

My number one concern is that I believe I am being charged twice if  have to pay for Windows XP (or Vista) and have to buy any version of Windows Live security products. I believe this is wrong. I think an OS should come completely secure; that if ever there is a security issues, your company should work relentlessly in fixing this issues, free of charge since your company originally made this products! 

I also think that your company should not be involved in selling security products (antivirus, spyware, anti-spam, etc) to its home users. These security products should be free to these end users who pay lots of $$$ for a legal copies of MS Win XP or Vista.

Furthermore, marketing security products for your products canput you inthe monopolistic bind which you were in a couple of years ago. Please let McAfee and Co. and some room to survive in this very difficult IT business world of today!

 

My point is, I find nothing wrong in Microsoft bundling security products or media products or which ever software it has available for Windows Vista in the OS. If their intention is to make Windows better, competitive and secure, there is nothing wrong in that. McAfee and Co. should maybe increase their level of competency, increase their customer support efficiency, have alternative business models and be happy with 97% of  that Windows desktop users that Vista is more secure thaan XP.

by justin fielding

Last week, I followed up Funambol
installation with the step-by-step instructions of configuring it to sync
your mobile data. The last thing I covered was adding a principle to allow my
user to authenticate against my mobile phone. The last thing I need to go over
is working with your data source.

SyncSource

Once the phone has connected to the data server and
authenticated, it needs a data source to sync with?in Funambol, this data
source is called a SyncSource. The SyncSource defines a way in which a set of
data is made accessible to the data server for synchronisation. Various
SynSources are included with Funambol, which include vCard, iCalendar,
FileSystem, Pop3 and DB connectors. If that?s not enough, then custom
SyncSources can be created using the DS
Module Development Tutorial
and DS
Server SyncSource API
, allowing synchronisation with almost any data
source.

In order to synchronise contacts and calendar information
with a mobile phone, I?ll use the vCard and iCalendar SyncSource templates. These
can be found in the administration tool by expanding the modules branch and then
pdi > FunambolPDIConnector. Starting with the iCalendar template, open up
the node and double-click on cal;
this is the SyncSource that will handle the flow of data between my mobile
phone and the data server?the following settings should be entered:

 

Source URI: cal

Name: cal

Type: text/x-vcalendar

Source Directory: ../../../ds-server/db/calendar

Supported types: text/x-vcalendar

Supported versions: 1.0

MultiUser: Selected

 

It?s very important to ensure that the MultiUser option is
checked. After the first synchronisation, you can check out the source
directory (in this case ../../../ds-server/db/calendar) and will see that each
user who has connected to the server has their own data directory. If you don?t
specify MultiUser, then data will all be dumped directly into the source
directory. Don?t forget to save any changes, and wait for the SyncsSource
Correctly Updated acknowledgement before proceeding.

Next, we move on to the vCard template: Open the vCard SyncSource
template and open the card properties
with a double-click. They should look like this:

 

Source URI: card

Name: card

Type: text/x-vcard

Source Directory: ../../../ds-server/db/contact

Supported types: text/x-vcard

Supported versions: 2.1

MultiUser: Selected

 

Note again that MultiUser is selected so that the users'
data is separated. Save the SyncSource and you are now ready to sync.

Putting it all
together

To synchronise a mobile phone is very easy. I mentioned before
that in order for the mobile phone to synchronise one must have either a static
IP address or a dynamic DNS pointer so that the link can be initiated from
outside. A rule allowing port 8080 must also pass incoming connections through
the firewall and deliver them to the internal Funambol server. Once these are
in place and the mobile device is configured
as described last week, select Synchronization from the Organiser menu,
highlight the connection previously created called Home and select Start.
Magical things should happen?hopefully, contacts and calendar items will be
sent to the Funambol server. If you configure a second mobile device to Synchronise
(not forgetting to add the device and principle on the server) with the same
account, you should find all contacts are synchronised with the contacts
currently on the server.
 

The next logical step to making these stored contacts and
events easily manageable is to install the Funambol Outlook
connector
. The Outlook connector installs just as any other windows
application would, once installed a new icon will appear in the Outlook
toolbar. Click on the icon and the plug-in window will open, synchronisation
will, of course, fail so open up Edit > Communications Settings. The
SyncServer URL and user details are the same as previously used in the mobile
phone. Next, in Edit > Synchronization Settings, I have checked Contacts and
Calendar followed by reviewing the Remote Settings. The remote settings options
specify SyncSources for the selected data; in this case, we should stick with card and cal. Also, check the v-card and i-cal select boxes. In order for
the server to allow Outlook to collect the data from Funambol, a new principle
has to be created joining sc-pim-outlook to the user you are testing. Save the new
principle and then click Synchronize in the main plug-in window. If all is well,
then the Outlook contacts should have synchronised with those of the mobile
device.

A bit of fun

If you own an iPod and want to get the most out of your
expensive toy?download the iPod
connector
and install it. Configuration is much like the Outlook
connector?a principle must be created and the SyncSource details defined. One
exception here is that the SyncSources are called scard and scal. Looking
in the server configuration, you will find these under the SIF SyncSource
template. As you can see, in the source settings, the actual data is the same
as for the card and cal sources. A different type of
SyncSource is required because the data is handled differently by the iPod.
Make sure that MultiUser is selected for the SIF SyncSources.
 

Back to the iPod connector configuration: it is assumed that
disk access is enabled on the iPod. This is required, as the connector writes
data from Funambol directly to the iPod's file system. Specify the drive letter
allocated to your iPod in the Synchronization Settings of the connector, click Synchronize,
and the contact/calendar data should be transferred. I must say that I really
like this as I have not previously gotten around to exploring the extra
features of my iPod despite using it everyday. It?s really quite cool being
able to check my calendar or look up contacts via the iPod!

I hope that anyone who followed this was able to configure a working
system. Even for home use, this solves the problem of having multiple versions
of data spread across multiple devices and applications. If anything is unclear,
leave a comment or join the Yahoo support
group
, which is very active.

by justin fielding

Claims made by Mischa Spiegelmock and Andrew Wbeelsoi at
last weekends ToorCon have been watered down and withdrawn.  After discussion with Window Snyder (Mozillas
security chief), Spiegelmock provided Mozillas engineers with additional code
samples along with a note explaining the risks. 
This note was posted to the mozilla
developer centre
; in it Spiegelmock says ?The
main purpose of our talk was to be humorous?, he goes on to admit that the pair
had not in fact managed to execute arbitrary code ?we mentioned that there was
a previously known Firefox vulnerability that could result in a stack overflow
ending up in remote code execution. However, the code we presented did not in
fact do this?.  Using the code shown at
ToorCon the Mozilla developers had only been able to reproduce a DOS attack
(browser crash) and Spiegelmock verified this
?I have not succeeded in making this code do anything more than cause a crash?,
he also denied having any undisclosed vulnerabilities saying ?I do not have 30
undisclosed Firefox vulnerabilities, nor did I ever make this claim. I have no
undisclosed Firefox vulnerabilities?.

Snyder followed up the note with
the statement ?Even though Mischa hasn?t been able to achieve code execution,
we still take this issue seriously.  We will continue to investigate?.

by justin fielding

Most Linux users will have heard
of the WINE project; for those of you who
haven?t (or don?t use Linux at all) the project can very simply be described as
an open source implementation of the Windows API?it can either use native
Windows DLL?s or 100 Microsoft free code to provide a compatibility layer
between Windows applications and the Unix/X host.  I once decided that I would move over to
Linux as my full-time desktop OS and tried to have WINE run Dreamweaver MX (on
Fedora Core 2), after weeks of messing around I finally decided it wasn?t worth
the effort and re-installed Windows?yes I know there are Dreamweaver
alternatives for Linux but let?s be honest none of them really match its ease
of use and convenience.

Many moons ago commercial projects
were formed and broke away (although from what I gather CodeWeavers still
provide a great deal of backing
for the WINE project).  CodeWeavers? CrossOver and TransGaming?s Cedega both give customers
a fully supported commercial product which allows certain Windows applications
to be run without having to spend an eternity trawling through debug logs and
mailing lists.  As you can guess from the
name TransGaming target the gaming market where as CodeWeavers seem to be more
focused on office and productivity applications.  Anyway, recently visiting the websites of
these companies I found it very interesting to see that both will shortly be
releasing Mac versions: CrossOver-Mac and Cider (get it? Cider, apples?).  The TransGaming site explains that over the
2006-2007 fiscal year Apple is expected to sell between 5.1 and 6.7 million Macs?50%
of buyers are ?new to Mac? which means an increasing number of Windows users
are making the switch.  Software like
CrossOver-Mac could make that switch easier; users could for example continue
using some of their expensive Windows software packages (Microsoft Office,
Macromedia Studio etc) without having to re-purchase the Mac version.  From what I can make out Cider differs from
Cedega in that it isn?t an end user application, but rather a development model
intended to help software developers make their games cross-platform.

Why am I interested?  Simple, I decided to make the switch myself
and have my first Mac on order!  A 60 day
beta trial of CrossOver-Mac can be found here.

This discussion is closed to new replies.