Os4x oftp2 offlinehandling

From OS4X
Revision as of 08:34, 4 December 2007 by Admin (talk | contribs) (→‎post-script)
Jump to navigation Jump to search

What is it?

"os4x_oftp2_offlinehandling" is a daemon which runs on a seperate machine, without needing an OS4X license. It needs an OS4X configuration file (default: "/etc/os4x.conf") in order to access the database, containing the OS4X configuration and parameters.

When the configuration flag "OS4X Core configuration#Enable offline handling of OFTP2_transfered files.3F" is enabled, all received files via OFTP2 will be added to a special table. This table, filled with all file parameters, will be traversed by the daemon. The main task is to handle (decrypt, decompress and/or check signature) the incoming files asynchronously on another machine, achieving the highest security.

parameters

There are several ways to customize the behaviour of this daemon. Please have a look at the configuration settings with all subsections [[OS4X Core configuration#Enable offline handling of OFTP2_transfered files.3F|here]].

scripts

There are two script, which get executed when accessible. These scripts have the following parameters:

pre-script

  1. real filename
  2. server ID

post-script

  1. real filename
  2. server ID
  3. returncode of OFTP2 handling process (0=no error)

The configuration switch remove successfully handled offline OFTP2 file entries influences the daemon how to handle the lines of the database table when the file is handled successfully.