Bundesamt für Sicherheit in der Informationstechnik > Dicop-Server-3.04 > NEW

Download:
dicop/Dicop-Server-3.04.tar.gz

Annotate this POD

CPAN RT

Open  0
Report a bug
Source  

NAME ^

NEW -- What's new in this major release

CHANGES in v3.00 ^

This document details the changes between the last and the current version.

REFACTORED CODE ^

Although on the outside, v3.00 looks almost exactly like v2.23, this release is quite different under the hood. The code was split into generic and DiCoP specific parts and all the generic parts were moved to the package Dicop-Base. This allows us to reuse the generic parts for other projects.

Here are some of the under-the-hood changes that make life for us (the developers) easier, but shouldn't affect you directly:

Request patterns

The requests (the messages exchanged between client or browser and the server) are no longer hardcoded into the source. Instead a text file def/request.def defines now the allowed requests with their parameters and options. There should be no need to edit this file, though.

Object patterns

Likewise, the internal server objects (like jobs, testcases and so on) are now defined in def/objects.def. There should be no need to edit this file, either.

Better template system

Edit and add forms are now generated via a general edit_object.tpl respectively add_object.tpl template, which automatically includes the relevant edit fields from small include files called editfield_FOO.inc. This makes maintaining and/or changing them much easier and prevents mistakes from Copy&Paste.

Here is a list of some of the changes that might affect you:

DESIGN CHANGES ^

Test::Simple v0.47 and Perl v5.8.3 requirements

We started to move over the testsuite to Test::Simple - this means this module is now required to run the testsuite. However, since Dicop::Server now needs at least Perl v5.8.3 to run, you will likely already have the required Test::Simple module.

IO::Socket::SLL (and OpenSSL and Net::SSLeay) requirements

If you plan to use the new SSL feature of the server, or client, then these modules must be installed.

The client requirements

The client needs quite a few parts of Dicop::Base. However, we seperated the things so that you can simple drop a few of the Dicop::Base .pm files into the client dir, and have it work without making it nec. to install Mail::Sendmail, Net::Server etc at the node.

Here is a short list of files the client needs:

        lib/basics
        lib/Dicop.pm
        lib/Dicop/Base.pm
        lib/Dicop/Cache.pm
        lib/Dicop/Client.pm
        lib/Dicop/Config.pm
        lib/Dicop/Event.pm
        lib/Dicop/Hash.pm
        lib/Dicop/Item.pm
        lib/Dicop/Request.pm

        lib/Dicop/Client/LWP.pm
        lib/Dicop/Client/wget.pm

        lib/Dicop/Request/Pattern.pm

        lib/Linux/Cpuinfo.pm

The other solution is to install Dicop::Base and all it's prerequisites at every node.

To make it easier to deploy clients we publish a Dicop-Client-3.00.tar.gz package at our website, which contains everything the client needs, except libwww and Linux::Cpuinfo, which can be found on http://search.cpan.org.

WEB INTERFACE (GUI) ^

The web-frontend (e.g the GUI you see when you connect to the server with a browser) has got many small fixes and enhancements. This includes:

BUG FIXES ^

Here is a listing of important bugs that have been fixed, testcases were added to prevent these from happening again:

Improved security

NEW FEATURES ^

KNOWN ISSUES ^

SSL Support

SSL support does not actually work. We are still investigating why.

Event Posting

Events (job finished, job started etc) will be done while the current request is worked on. If the remote server is down or slow, this may cause the request to be stalled or aborted. Events should be posted outside the main request handling loop, just as emails are being sent.

We plan to implement this soon.

Selecting files/dirs with '_'

It is no longer possible to select files with "_" in the name after you have hit "Reload" on the file selector page.

Dirs without proper permission

These cause an unknown error instead of a more readable "permission denied" when selecting files and directories.

CAVEATS ^

Obsolete config settings

The config setting is_proxy is obselete and no longer supported. Please remove the appropriate line from your config file. The daemon will warn and refuse to start if it is still present.

Old browser

The HTML interface now uses CSS quite extensively. Old browsers without CSS support (like Netscape 4.x) or with incomplete CSS support (like Konqueror before 3.2, Internet Explorer 5.x etc) will have problems rendering the interface properly. It should be still usable, but it will not be pretty.

Especially in the light of security and looming exploits, we strongly encourage you to upgrade your browser to the newest version.

AUTHOR ^

(c) Bundesamt fuer Sicherheit in der Informationstechnik 1998-2006

DiCoP is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

See the file LICENSE or http://www.bsi.bund.de/ for more information.