mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-10 19:15:54 +02:00
Merge remote-tracking branch 'origin/next' into kernel-4.14
This commit is contained in:
@@ -1 +0,0 @@
|
||||
/var/cacti/
|
||||
@@ -1,16 +0,0 @@
|
||||
Listen 1009
|
||||
|
||||
<VirtualHost *:1009>
|
||||
DocumentRoot /usr/share/cacti
|
||||
|
||||
Include /etc/httpd/conf/conf.d/php*.conf
|
||||
|
||||
Alias /cacti /usr/share/cacti
|
||||
<Directory /usr/share/cacti>
|
||||
Options FollowSymLinks
|
||||
AllowOverride None
|
||||
</Directory>
|
||||
|
||||
RewriteEngine on
|
||||
RewriteRule ^/$ /cacti/ [R]
|
||||
</VirtualHost>
|
||||
@@ -1 +0,0 @@
|
||||
php /usr/share/cacti/poller.php > /dev/null 2>&1
|
||||
@@ -1,6 +0,0 @@
|
||||
/var/log/cacti/cacti.log {
|
||||
missingok
|
||||
monthly
|
||||
notifempty
|
||||
compress
|
||||
}
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 2.9 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 7.5 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 1.8 KiB |
@@ -9,6 +9,9 @@ Listen 1013
|
||||
# code was entered.
|
||||
KeepAlive Off
|
||||
|
||||
Header always set X-Content-Type-Options nosniff
|
||||
Header always set Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'"
|
||||
|
||||
ScriptAlias /cgi-bin/ /srv/web/ipfire/cgi-bin/captive/
|
||||
Alias /assets/ /srv/web/ipfire/html/captive/assets/
|
||||
|
||||
|
||||
@@ -3,10 +3,12 @@
|
||||
RewriteEngine on
|
||||
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK|OPTIONS)
|
||||
RewriteRule .* - [F]
|
||||
|
||||
DocumentRoot /srv/web/ipfire/html
|
||||
ServerAdmin root@localhost
|
||||
ErrorLog /var/log/httpd/error_log
|
||||
TransferLog /var/log/httpd/access_log
|
||||
|
||||
SSLEngine on
|
||||
SSLProtocol all -SSLv2 -SSLv3
|
||||
SSLCipherSuite ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES128-SHA256:AES128-SHA:CAMELLIA128-SHA:AES256-GCM-SHA384:AES256-SHA256:AES256-SHA:CAMELLIA256-SHA
|
||||
@@ -18,6 +20,9 @@
|
||||
SSLCertificateFile /etc/httpd/server-ecdsa.crt
|
||||
SSLCertificateKeyFile /etc/httpd/server-ecdsa.key
|
||||
|
||||
Header always set X-Content-Type-Options nosniff
|
||||
Header always set Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'"
|
||||
|
||||
<Directory /srv/web/ipfire/html>
|
||||
Options ExecCGI
|
||||
AllowOverride None
|
||||
|
||||
@@ -6,6 +6,9 @@
|
||||
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK|OPTIONS)
|
||||
RewriteRule .* - [F]
|
||||
|
||||
Header always set X-Content-Type-Options nosniff
|
||||
Header always set Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'"
|
||||
|
||||
<Directory /srv/web/ipfire/html>
|
||||
Options ExecCGI
|
||||
AllowOverride None
|
||||
|
||||
@@ -1,41 +0,0 @@
|
||||
Listen 1008
|
||||
|
||||
<VirtualHost *:1008>
|
||||
|
||||
# SAMPLE CONFIG SNIPPETS FOR APACHE WEB SERVER
|
||||
# Last Modified: 11-26-2005
|
||||
#
|
||||
# This file contains examples of entries that need
|
||||
# to be incorporated into your Apache web server
|
||||
# configuration file. Customize the paths, etc. as
|
||||
# needed to fit your system.
|
||||
|
||||
ScriptAlias /nagios/cgi-bin "/usr/share/nagios/cgi-bin"
|
||||
|
||||
<Directory "/usr/share/nagios/cgi-bin">
|
||||
# SSLRequireSSL
|
||||
Options ExecCGI
|
||||
AllowOverride None
|
||||
# Require all granted
|
||||
# Require ip 127.0.0.1
|
||||
AuthName "Nagios Access"
|
||||
AuthType Basic
|
||||
AuthUserFile /etc/nagios/htpasswd.users
|
||||
Require valid-user
|
||||
</Directory>
|
||||
|
||||
Alias /nagios "/usr/share/nagios"
|
||||
|
||||
<Directory "/usr/share/nagios">
|
||||
# SSLRequireSSL
|
||||
Options None
|
||||
AllowOverride None
|
||||
# Require all granted
|
||||
# Require ip 127.0.0.1
|
||||
AuthName "Nagios Access"
|
||||
AuthType Basic
|
||||
AuthUserFile /etc/nagios/htpasswd.users
|
||||
Require valid-user
|
||||
</Directory>
|
||||
|
||||
</VirtualHost>
|
||||
@@ -1,15 +0,0 @@
|
||||
Listen 1001
|
||||
|
||||
<VirtualHost *:1001>
|
||||
|
||||
DocumentRoot /srv/web/openmailadmin
|
||||
|
||||
Include /etc/httpd/conf/conf.d/php*.conf
|
||||
|
||||
<Directory /srv/web/openmailadmin>
|
||||
Options +FollowSymlinks
|
||||
AllowOverride None
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
||||
</VirtualHost>
|
||||
@@ -1,50 +0,0 @@
|
||||
Listen 1008
|
||||
|
||||
<VirtualHost *:1008>
|
||||
|
||||
# SAMPLE CONFIG SNIPPETS FOR APACHE WEB SERVER
|
||||
# Last Modified: 11-26-2005
|
||||
#
|
||||
# This file contains examples of entries that need
|
||||
# to be incorporated into your Apache web server
|
||||
# configuration file. Customize the paths, etc. as
|
||||
# needed to fit your system.
|
||||
|
||||
ScriptAlias /nagios/cgi-bin "/usr/share/nagios/cgi-bin"
|
||||
|
||||
<Directory "/usr/share/nagios/cgi-bin">
|
||||
# SSLRequireSSL
|
||||
Options ExecCGI
|
||||
AllowOverride None
|
||||
# Require all granted
|
||||
# Require ip 127.0.0.1
|
||||
AuthName "Nagios Access"
|
||||
AuthType Basic
|
||||
AuthUserFile /etc/nagios/htpasswd.users
|
||||
Require valid-user
|
||||
</Directory>
|
||||
|
||||
Alias /nagios "/usr/share/nagios"
|
||||
|
||||
<Directory "/usr/share/nagios">
|
||||
# SSLRequireSSL
|
||||
Options None
|
||||
AllowOverride None
|
||||
# Require all granted
|
||||
# Require ip 127.0.0.1
|
||||
AuthName "Nagios Access"
|
||||
AuthType Basic
|
||||
AuthUserFile /etc/nagios/htpasswd.users
|
||||
Require valid-user
|
||||
</Directory>
|
||||
|
||||
Alias /nagiosql "/usr/share/nagiosql"
|
||||
|
||||
<Directory "/usr/share/nagiosql">
|
||||
include /etc/httpd/conf/conf.d/php*.conf
|
||||
Options None
|
||||
AllowOverride None
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
||||
</VirtualHost>
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,883 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* Integrated Template - IT
|
||||
*
|
||||
* PHP version 4
|
||||
*
|
||||
* Copyright (c) 1997-2007 Ulf Wendel, Pierre-Alain Joye,
|
||||
* David Soria Parra
|
||||
*
|
||||
* This source file is subject to the New BSD license, That is bundled
|
||||
* with this package in the file LICENSE, and is available through
|
||||
* the world-wide-web at
|
||||
* http://www.opensource.org/licenses/bsd-license.php
|
||||
* If you did not receive a copy of the new BSDlicense and are unable
|
||||
* to obtain it through the world-wide-web, please send a note to
|
||||
* pajoye@php.net so we can mail you a copy immediately.
|
||||
*
|
||||
* Author: Ulf Wendel <ulf.wendel@phpdoc.de>
|
||||
* Pierre-Alain Joye <pajoye@php.net>
|
||||
* David Soria Parra <dsp@php.net>
|
||||
*
|
||||
* @category HTML
|
||||
* @package HTML_Template_IT
|
||||
* @author Ulf Wendel <uw@netuse.de>
|
||||
* @license BSD http://www.opensource.org/licenses/bsd-license.php
|
||||
* @version CVS: $Id: ITX.php,v 1.19 2008/11/14 23:57:17 kguest Exp $
|
||||
* @link http://pear.php.net/packages/HTML_Template_IT
|
||||
* @access public
|
||||
*/
|
||||
|
||||
require_once 'HTML/Template/IT.php';
|
||||
require_once 'HTML/Template/IT_Error.php';
|
||||
|
||||
/**
|
||||
* Integrated Template Extension - ITX
|
||||
*
|
||||
* With this class you get the full power of the phplib template class.
|
||||
* You may have one file with blocks in it but you have as well one main file
|
||||
* and multiple files one for each block. This is quite usefull when you have
|
||||
* user configurable websites. Using blocks not in the main template allows
|
||||
* you to modify some parts of your layout easily.
|
||||
*
|
||||
* Note that you can replace an existing block and add new blocks at runtime.
|
||||
* Adding new blocks means changing a variable placeholder to a block.
|
||||
*
|
||||
* @category HTML
|
||||
* @package HTML_Template_IT
|
||||
* @author Ulf Wendel <uw@netuse.de>
|
||||
* @license BSD http://www.opensource.org/licenses/bsd-license.php
|
||||
* @link http://pear.php.net/packages/HTML_Template_IT
|
||||
* @access public
|
||||
*/
|
||||
class HTML_Template_ITX extends HTML_Template_IT
|
||||
{
|
||||
/**
|
||||
* Array with all warnings.
|
||||
* @var array
|
||||
* @access public
|
||||
* @see $printWarning, $haltOnWarning, warning()
|
||||
*/
|
||||
var $warn = array();
|
||||
|
||||
/**
|
||||
* Print warnings?
|
||||
* @var array
|
||||
* @access public
|
||||
* @see $haltOnWarning, $warn, warning()
|
||||
*/
|
||||
var $printWarning = false;
|
||||
|
||||
/**
|
||||
* Call die() on warning?
|
||||
* @var boolean
|
||||
* @access public
|
||||
* @see $warn, $printWarning, warning()
|
||||
*/
|
||||
var $haltOnWarning = false;
|
||||
|
||||
/**
|
||||
* RegExp used to test for a valid blockname.
|
||||
* @var string
|
||||
* @access private
|
||||
*/
|
||||
var $checkblocknameRegExp = '';
|
||||
|
||||
/**
|
||||
* Functionnameprefix used when searching function calls in the template.
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
var $functionPrefix = 'func_';
|
||||
|
||||
/**
|
||||
* Functionname RegExp.
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
var $functionnameRegExp = '[_a-zA-Z]+[A-Za-z_0-9]*';
|
||||
|
||||
/**
|
||||
* RegExp used to grep function calls in the template.
|
||||
*
|
||||
* The variable gets set by the constructor.
|
||||
*
|
||||
* @access private
|
||||
* @var string
|
||||
* @see HTML_Template_IT()
|
||||
*/
|
||||
var $functionRegExp = '';
|
||||
|
||||
/**
|
||||
* List of functions found in the template.
|
||||
*
|
||||
* @access private
|
||||
* @var array
|
||||
*/
|
||||
var $functions = array();
|
||||
|
||||
/**
|
||||
* List of callback functions specified by the user.
|
||||
*
|
||||
* @access private
|
||||
* @var array
|
||||
*/
|
||||
var $callback = array();
|
||||
|
||||
/**
|
||||
* Builds some complex regexps and calls the constructor
|
||||
* of the parent class.
|
||||
*
|
||||
* Make sure that you call this constructor if you derive your own
|
||||
* template class from this one.
|
||||
*
|
||||
* @param string $root Root node?
|
||||
*
|
||||
* @access public
|
||||
* @see HTML_Template_IT()
|
||||
*/
|
||||
function HTML_Template_ITX($root = '')
|
||||
{
|
||||
|
||||
$this->checkblocknameRegExp = '@' . $this->blocknameRegExp . '@';
|
||||
|
||||
$this->functionRegExp = '@' . $this->functionPrefix . '(' .
|
||||
$this->functionnameRegExp . ')\s*\(@sm';
|
||||
|
||||
$this->HTML_Template_IT($root);
|
||||
} // end func constructor
|
||||
|
||||
/**
|
||||
* Clears all datafields of the object and rebuild the internal blocklist
|
||||
*
|
||||
* LoadTemplatefile() and setTemplate() automatically call this function
|
||||
* when a new template is given. Don't use this function
|
||||
* unless you know what you're doing.
|
||||
*
|
||||
* @access private
|
||||
* @return null
|
||||
*/
|
||||
function init()
|
||||
{
|
||||
$this->free();
|
||||
$this->buildFunctionlist();
|
||||
$this->findBlocks($this->template);
|
||||
|
||||
// we don't need it any more
|
||||
$this->template = '';
|
||||
$this->buildBlockvariablelist();
|
||||
|
||||
} // end func init
|
||||
|
||||
/**
|
||||
* Replaces an existing block with new content.
|
||||
*
|
||||
* This function will replace a block of the template and all blocks
|
||||
* contained in the replaced block and add a new block insted, means
|
||||
* you can dynamically change your template.
|
||||
*
|
||||
* Note that changing the template structure violates one of the IT[X]
|
||||
* development goals. I've tried to write a simple to use template engine
|
||||
* supporting blocks. In contrast to other systems IT[X] analyses the way
|
||||
* you've nested blocks and knows which block belongs into another block.
|
||||
* The nesting information helps to make the API short and simple. Replacing
|
||||
* blocks does not only mean that IT[X] has to update the nesting
|
||||
* information (relatively time consumpting task) but you have to make sure
|
||||
* that you do not get confused due to the template change itself.
|
||||
*
|
||||
* @param string $block Blockname
|
||||
* @param string $template Blockcontent
|
||||
* @param boolean $keep_content true if the new block inherits the content
|
||||
* of the old block
|
||||
*
|
||||
* @return boolean
|
||||
* @throws IT_Error
|
||||
* @see replaceBlockfile(), addBlock(), addBlockfile()
|
||||
* @access public
|
||||
*/
|
||||
function replaceBlock($block, $template, $keep_content = false)
|
||||
{
|
||||
if (!isset($this->blocklist[$block])) {
|
||||
return new IT_Error("The block "."'$block'".
|
||||
" does not exist in the template and thus it can't be replaced.",
|
||||
__FILE__, __LINE__);
|
||||
}
|
||||
|
||||
if ($template == '') {
|
||||
return new IT_Error('No block content given.', __FILE__, __LINE__);
|
||||
}
|
||||
|
||||
if ($keep_content) {
|
||||
$blockdata = $this->blockdata[$block];
|
||||
}
|
||||
|
||||
// remove all kinds of links to the block / data of the block
|
||||
$this->removeBlockData($block);
|
||||
|
||||
$template = "<!-- BEGIN $block -->" . $template . "<!-- END $block -->";
|
||||
$parents = $this->blockparents[$block];
|
||||
|
||||
$this->findBlocks($template);
|
||||
$this->blockparents[$block] = $parents;
|
||||
|
||||
// KLUDGE: rebuild the list for all block - could be done faster
|
||||
$this->buildBlockvariablelist();
|
||||
|
||||
if ($keep_content) {
|
||||
$this->blockdata[$block] = $blockdata;
|
||||
}
|
||||
|
||||
// old TODO - I'm not sure if we need this
|
||||
// update caches
|
||||
|
||||
return true;
|
||||
} // end func replaceBlock
|
||||
|
||||
/**
|
||||
* Replaces an existing block with new content from a file.
|
||||
*
|
||||
* @param string $block Blockname
|
||||
* @param string $filename Name of the file that contains the blockcontent
|
||||
* @param boolean $keep_content true if the new block inherits the content of
|
||||
* the old block
|
||||
*
|
||||
* @brother replaceBlock()
|
||||
* @access public
|
||||
* @return null
|
||||
*/
|
||||
function replaceBlockfile($block, $filename, $keep_content = false)
|
||||
{
|
||||
return $this->replaceBlock($block, $this->getFile($filename), $keep_content);
|
||||
} // end func replaceBlockfile
|
||||
|
||||
/**
|
||||
* Adds a block to the template changing a variable placeholder
|
||||
* to a block placeholder.
|
||||
*
|
||||
* Add means "replace a variable placeholder by a new block".
|
||||
* This is different to PHPLibs templates. The function loads a
|
||||
* block, creates a handle for it and assigns it to a certain
|
||||
* variable placeholder. To to the same with PHPLibs templates you would
|
||||
* call set_file() to create the handle and parse() to assign the
|
||||
* parsed block to a variable. By this PHPLibs templates assume
|
||||
* that you tend to assign a block to more than one one placeholder.
|
||||
* To assign a parsed block to more than only the placeholder you specify
|
||||
* in this function you have to use a combination of getBlock()
|
||||
* and setVariable().
|
||||
*
|
||||
* As no updates to cached data is necessary addBlock() and addBlockfile()
|
||||
* are rather "cheap" meaning quick operations.
|
||||
*
|
||||
* The block content must not start with <!-- BEGIN blockname -->
|
||||
* and end with <!-- END blockname --> this would cause overhead and
|
||||
* produce an error.
|
||||
*
|
||||
* @param string $placeholder Name of the variable placeholder, the name
|
||||
* must be unique within the template.
|
||||
* @param string $blockname Name of the block to be added
|
||||
* @param string $template Content of the block
|
||||
*
|
||||
* @return boolean
|
||||
* @throws IT_Error
|
||||
* @see addBlockfile()
|
||||
* @access public
|
||||
*/
|
||||
function addBlock($placeholder, $blockname, $template)
|
||||
{
|
||||
// Don't trust any user even if it's a programmer or yourself...
|
||||
if ($placeholder == '') {
|
||||
return new IT_Error('No variable placeholder given.',
|
||||
__FILE__, __LINE__);
|
||||
} elseif ($blockname == '' ||
|
||||
!preg_match($this->checkblocknameRegExp, $blockname)
|
||||
) {
|
||||
return new IT_Error("No or invalid blockname '$blockname' given.",
|
||||
__FILE__, __LINE__);
|
||||
} elseif ($template == '') {
|
||||
return new IT_Error('No block content given.', __FILE__, __LINE__);
|
||||
} elseif (isset($this->blocklist[$blockname])) {
|
||||
return new IT_Error('The block already exists.',
|
||||
__FILE__, __LINE__);
|
||||
}
|
||||
|
||||
// find out where to insert the new block
|
||||
$parents = $this->findPlaceholderBlocks($placeholder);
|
||||
if (count($parents) == 0) {
|
||||
|
||||
return new IT_Error("The variable placeholder".
|
||||
" '$placeholder' was not found in the template.",
|
||||
__FILE__, __LINE__);
|
||||
|
||||
} elseif (count($parents) > 1) {
|
||||
|
||||
reset($parents);
|
||||
while (list($k, $parent) = each($parents)) {
|
||||
$msg .= "$parent, ";
|
||||
}
|
||||
$msg = substr($parent, -2);
|
||||
|
||||
return new IT_Error("The variable placeholder "."'$placeholder'".
|
||||
" must be unique, found in multiple blocks '$msg'.",
|
||||
__FILE__, __LINE__);
|
||||
}
|
||||
|
||||
$template = "<!-- BEGIN $blockname -->"
|
||||
. $template
|
||||
. "<!-- END $blockname -->";
|
||||
$this->findBlocks($template);
|
||||
if ($this->flagBlocktrouble) {
|
||||
return false; // findBlocks() already throws an exception
|
||||
}
|
||||
|
||||
$this->blockinner[$parents[0]][] = $blockname;
|
||||
|
||||
$escblockname = '__' . $blockname . '__';
|
||||
|
||||
$this->blocklist[$parents[0]] = preg_replace(
|
||||
'@' . $this->openingDelimiter . $placeholder .
|
||||
$this->closingDelimiter . '@',
|
||||
$this->openingDelimiter . $escblockname . $this->closingDelimiter,
|
||||
$this->blocklist[$parents[0]]);
|
||||
|
||||
$this->deleteFromBlockvariablelist($parents[0], $placeholder);
|
||||
$this->updateBlockvariablelist($blockname);
|
||||
|
||||
return true;
|
||||
} // end func addBlock
|
||||
|
||||
/**
|
||||
* Adds a block taken from a file to the template changing a variable
|
||||
* placeholder to a block placeholder.
|
||||
*
|
||||
* @param string $placeholder Name of the variable placeholder to be converted
|
||||
* @param string $blockname Name of the block to be added
|
||||
* @param string $filename File that contains the block
|
||||
*
|
||||
* @brother addBlock()
|
||||
* @access public
|
||||
* @return null
|
||||
*/
|
||||
function addBlockfile($placeholder, $blockname, $filename)
|
||||
{
|
||||
return $this->addBlock($placeholder, $blockname, $this->getFile($filename));
|
||||
} // end func addBlockfile
|
||||
|
||||
/**
|
||||
* Returns the name of the (first) block that contains
|
||||
* the specified placeholder.
|
||||
*
|
||||
* @param string $placeholder Name of the placeholder you're searching
|
||||
* @param string $block Name of the block to scan. If left out (default)
|
||||
* all blocks are scanned.
|
||||
*
|
||||
* @return string Name of the (first) block that contains
|
||||
* the specified placeholder.
|
||||
* If the placeholder was not found or an error occured
|
||||
* an empty string is returned.
|
||||
* @throws IT_Error
|
||||
* @access public
|
||||
*/
|
||||
function placeholderExists($placeholder, $block = '')
|
||||
{
|
||||
if ($placeholder == '') {
|
||||
new IT_Error('No placeholder name given.', __FILE__, __LINE__);
|
||||
return '';
|
||||
}
|
||||
|
||||
if ($block != '' && !isset($this->blocklist[$block])) {
|
||||
new IT_Error("Unknown block '$block'.", __FILE__, __LINE__);
|
||||
return '';
|
||||
}
|
||||
|
||||
// name of the block where the given placeholder was found
|
||||
$found = '';
|
||||
|
||||
if ($block != '') {
|
||||
if (is_array($variables = $this->blockvariables[$block])) {
|
||||
// search the value in the list of blockvariables
|
||||
reset($variables);
|
||||
while (list($k, $variable) = each($variables)) {
|
||||
if ($k == $placeholder) {
|
||||
$found = $block;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
// search all blocks and return the name of the first block that
|
||||
// contains the placeholder
|
||||
reset($this->blockvariables);
|
||||
while (list($blockname, $variables) = each($this->blockvariables)) {
|
||||
if (is_array($variables) && isset($variables[$placeholder])) {
|
||||
$found = $blockname;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return $found;
|
||||
} // end func placeholderExists
|
||||
|
||||
/**
|
||||
* Checks the list of function calls in the template and
|
||||
* calls their callback function.
|
||||
*
|
||||
* @access public
|
||||
* @return null
|
||||
*/
|
||||
function performCallback()
|
||||
{
|
||||
reset($this->functions);
|
||||
while (list($func_id, $function) = each($this->functions)) {
|
||||
if (isset($this->callback[$function['name']])) {
|
||||
if ($this->callback[$function['name']]['expandParameters']) {
|
||||
$callFunction = 'call_user_func_array';
|
||||
} else {
|
||||
$callFunction = 'call_user_func';
|
||||
}
|
||||
|
||||
if ($this->callback[$function['name']]['object'] != '') {
|
||||
$call = $callFunction(
|
||||
array(
|
||||
&$GLOBALS[$this->callback[$function['name']]['object']],
|
||||
$this->callback[$function['name']]['function']),
|
||||
$function['args']);
|
||||
|
||||
} else {
|
||||
$call = $callFunction(
|
||||
$this->callback[$function['name']]['function'],
|
||||
$function['args']);
|
||||
}
|
||||
$this->variableCache['__function' . $func_id . '__'] = $call;
|
||||
}
|
||||
}
|
||||
|
||||
} // end func performCallback
|
||||
|
||||
/**
|
||||
* Returns a list of all function calls in the current template.
|
||||
*
|
||||
* @return array
|
||||
* @access public
|
||||
*/
|
||||
function getFunctioncalls()
|
||||
{
|
||||
return $this->functions;
|
||||
} // end func getFunctioncalls
|
||||
|
||||
/**
|
||||
* Replaces a function call with the given replacement.
|
||||
*
|
||||
* @param int $functionID Function ID
|
||||
* @param string $replacement Replacement
|
||||
*
|
||||
* @access public
|
||||
* @deprecated
|
||||
* @return null
|
||||
*/
|
||||
function setFunctioncontent($functionID, $replacement)
|
||||
{
|
||||
$this->variableCache['__function' . $functionID . '__'] = $replacement;
|
||||
} // end func setFunctioncontent
|
||||
|
||||
/**
|
||||
* Sets a callback function.
|
||||
*
|
||||
* IT[X] templates (note the X) can contain simple function calls.
|
||||
* "function call" means that the editor of the template can add
|
||||
* special placeholder to the template like 'func_h1("embedded in h1")'.
|
||||
* IT[X] will grab this function calls and allow you to define a callback
|
||||
* function for them.
|
||||
*
|
||||
* This is an absolutely evil feature. If your application makes heavy
|
||||
* use of such callbacks and you're even implementing if-then etc. on
|
||||
* the level of a template engine you're reiventing the wheel... - that's
|
||||
* actually how PHP came into life. Anyway, sometimes it's handy.
|
||||
*
|
||||
* Consider also using XML/XSLT or native PHP. And please do not push
|
||||
* IT[X] any further into this direction of adding logics to the template
|
||||
* engine.
|
||||
*
|
||||
* For those of you ready for the X in IT[X]:
|
||||
*
|
||||
* <?php
|
||||
* ...
|
||||
* function h_one($args) {
|
||||
* return sprintf('<h1>%s</h1>', $args[0]);
|
||||
* }
|
||||
*
|
||||
* ...
|
||||
* $itx = new HTML_Template_ITX(...);
|
||||
* ...
|
||||
* $itx->setCallbackFunction('h1', 'h_one');
|
||||
* $itx->performCallback();
|
||||
* ?>
|
||||
*
|
||||
* template:
|
||||
* func_h1('H1 Headline');
|
||||
*
|
||||
* @param string $tplfunction Function name in the template
|
||||
* @param string $callbackfunction Name of the callback function
|
||||
* @param string $callbackobject Name of the callback object
|
||||
* @param boolean $expandCallbackParameters If the callback is called with
|
||||
* a list of parameters or with an
|
||||
* array holding the parameters
|
||||
*
|
||||
* @return boolean False on failure.
|
||||
* @throws IT_Error
|
||||
* @access public
|
||||
* @deprecated The $callbackobject parameter is depricated since
|
||||
* version 1.2 and might be dropped in further versions.
|
||||
*/
|
||||
function setCallbackFunction($tplfunction, $callbackfunction,
|
||||
$callbackobject = '',
|
||||
$expandCallbackParameters = false)
|
||||
{
|
||||
if ($tplfunction == '' || $callbackfunction == '') {
|
||||
return new IT_Error("No template function "."('$tplfunction')".
|
||||
" and/or no callback function ('$callback') given.",
|
||||
__FILE__, __LINE__);
|
||||
}
|
||||
$this->callback[$tplfunction] = array(
|
||||
'function' => $callbackfunction,
|
||||
'object' => $callbackobject,
|
||||
'expandParameters' => (boolean)
|
||||
$expandCallbackParameters);
|
||||
|
||||
return true;
|
||||
} // end func setCallbackFunction
|
||||
|
||||
/**
|
||||
* Sets the Callback function lookup table
|
||||
*
|
||||
* @param array $functions function table
|
||||
* array[templatefunction] =
|
||||
* array(
|
||||
* "function" => userfunction,
|
||||
* "object" => userobject
|
||||
* )
|
||||
*
|
||||
* @access public
|
||||
* @return null
|
||||
*/
|
||||
function setCallbackFuntiontable($functions)
|
||||
{
|
||||
$this->callback = $functions;
|
||||
} // end func setCallbackFunctiontable
|
||||
|
||||
/**
|
||||
* Recursively removes all data assiciated with a block, including
|
||||
* all inner blocks
|
||||
*
|
||||
* @param string $block block to be removed
|
||||
*
|
||||
* @return null
|
||||
* @access private
|
||||
*/
|
||||
function removeBlockData($block)
|
||||
{
|
||||
if (isset($this->blockinner[$block])) {
|
||||
foreach ($this->blockinner[$block] as $k => $inner) {
|
||||
$this->removeBlockData($inner);
|
||||
}
|
||||
|
||||
unset($this->blockinner[$block]);
|
||||
}
|
||||
|
||||
unset($this->blocklist[$block]);
|
||||
unset($this->blockdata[$block]);
|
||||
unset($this->blockvariables[$block]);
|
||||
unset($this->touchedBlocks[$block]);
|
||||
|
||||
} // end func removeBlockinner
|
||||
|
||||
/**
|
||||
* Returns a list of blocknames in the template.
|
||||
*
|
||||
* @return array [blockname => blockname]
|
||||
* @access public
|
||||
* @see blockExists()
|
||||
*/
|
||||
function getBlocklist()
|
||||
{
|
||||
$blocklist = array();
|
||||
foreach ($this->blocklist as $block => $content) {
|
||||
$blocklist[$block] = $block;
|
||||
}
|
||||
|
||||
return $blocklist;
|
||||
} // end func getBlocklist
|
||||
|
||||
/**
|
||||
* Checks wheter a block exists.
|
||||
*
|
||||
* @param string $blockname Blockname
|
||||
*
|
||||
* @return boolean
|
||||
* @access public
|
||||
* @see getBlocklist()
|
||||
*/
|
||||
function blockExists($blockname)
|
||||
{
|
||||
return isset($this->blocklist[$blockname]);
|
||||
} // end func blockExists
|
||||
|
||||
/**
|
||||
* Returns a list of variables of a block.
|
||||
*
|
||||
* @param string $block Blockname
|
||||
*
|
||||
* @return array [varname => varname]
|
||||
* @access public
|
||||
* @see BlockvariableExists()
|
||||
*/
|
||||
function getBlockvariables($block)
|
||||
{
|
||||
if (!isset($this->blockvariables[$block])) {
|
||||
return array();
|
||||
}
|
||||
|
||||
$variables = array();
|
||||
foreach ($this->blockvariables[$block] as $variable => $v) {
|
||||
$variables[$variable] = $variable;
|
||||
}
|
||||
|
||||
return $variables;
|
||||
} // end func getBlockvariables
|
||||
|
||||
/**
|
||||
* Checks wheter a block variable exists.
|
||||
*
|
||||
* @param string $block Blockname
|
||||
* @param string $variable Variablename
|
||||
*
|
||||
* @return boolean
|
||||
* @access public
|
||||
* @see getBlockvariables()
|
||||
*/
|
||||
function BlockvariableExists($block, $variable)
|
||||
{
|
||||
return isset($this->blockvariables[$block][$variable]);
|
||||
} // end func BlockvariableExists
|
||||
|
||||
/**
|
||||
* Builds a functionlist from the template.
|
||||
*
|
||||
* @access private
|
||||
* @return null
|
||||
*/
|
||||
function buildFunctionlist()
|
||||
{
|
||||
$this->functions = array();
|
||||
|
||||
$template = $this->template;
|
||||
|
||||
$num = 0;
|
||||
|
||||
while (preg_match($this->functionRegExp, $template, $regs)) {
|
||||
|
||||
$pos = strpos($template, $regs[0]);
|
||||
|
||||
$template = substr($template, $pos + strlen($regs[0]));
|
||||
|
||||
$head = $this->getValue($template, ')');
|
||||
$args = array();
|
||||
|
||||
$search = $regs[0] . $head . ')';
|
||||
|
||||
$replace = $this->openingDelimiter .
|
||||
'__function' . $num . '__' .
|
||||
$this->closingDelimiter;
|
||||
|
||||
$this->template = str_replace($search, $replace, $this->template);
|
||||
$template = str_replace($search, $replace, $template);
|
||||
|
||||
while ($head != '' && $args2 = $this->getValue($head, ',')) {
|
||||
$arg2 = trim($args2);
|
||||
|
||||
$args[] = ('"' == $arg2{0} || "'" == $arg2{0}) ?
|
||||
substr($arg2, 1, -1) : $arg2;
|
||||
|
||||
if ($arg2 == $head) {
|
||||
break;
|
||||
}
|
||||
$head = substr($head, strlen($arg2) + 1);
|
||||
}
|
||||
|
||||
$this->functions[$num++] = array('name' => $regs[1],
|
||||
'args' => $args);
|
||||
}
|
||||
|
||||
} // end func buildFunctionlist
|
||||
|
||||
/**
|
||||
* Truncates the given code from the first occurence of
|
||||
* $delimiter but ignores $delimiter enclosed by " or '.
|
||||
*
|
||||
* @param string $code The code which should be parsed
|
||||
* @param string $delimiter The delimiter char
|
||||
*
|
||||
* @access private
|
||||
* @return string
|
||||
* @see buildFunctionList()
|
||||
*/
|
||||
function getValue($code, $delimiter)
|
||||
{
|
||||
if ($code == '') {
|
||||
return '';
|
||||
}
|
||||
|
||||
if (!is_array($delimiter)) {
|
||||
$delimiter = array($delimiter => true);
|
||||
}
|
||||
|
||||
$len = strlen($code);
|
||||
$enclosed = false;
|
||||
$enclosed_by = '';
|
||||
|
||||
if (isset($delimiter[$code[0]])) {
|
||||
$i = 1;
|
||||
} else {
|
||||
for ($i = 0; $i < $len; ++$i) {
|
||||
$char = $code[$i];
|
||||
|
||||
if (($char == '"' || $char == "'") &&
|
||||
($char == $enclosed_by || '' == $enclosed_by) &&
|
||||
(0 == $i || ($i > 0 && '\\' != $code[$i - 1]))) {
|
||||
|
||||
if (!$enclosed) {
|
||||
$enclosed_by = $char;
|
||||
} else {
|
||||
$enclosed_by = "";
|
||||
}
|
||||
$enclosed = !$enclosed;
|
||||
|
||||
}
|
||||
|
||||
if (!$enclosed && isset($delimiter[$char])) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return substr($code, 0, $i);
|
||||
} // end func getValue
|
||||
|
||||
/**
|
||||
* Deletes one or many variables from the block variable list.
|
||||
*
|
||||
* @param string $block Blockname
|
||||
* @param mixed $variables Name of one variable or array of variables
|
||||
* (array (name => true ) ) to be stripped.
|
||||
*
|
||||
* @access private
|
||||
* @return null
|
||||
*/
|
||||
function deleteFromBlockvariablelist($block, $variables)
|
||||
{
|
||||
if (!is_array($variables)) {
|
||||
$variables = array($variables => true);
|
||||
}
|
||||
|
||||
reset($this->blockvariables[$block]);
|
||||
while (list($varname, $val) = each($this->blockvariables[$block])) {
|
||||
if (isset($variables[$varname])) {
|
||||
unset($this->blockvariables[$block][$varname]);
|
||||
}
|
||||
}
|
||||
} // end deleteFromBlockvariablelist
|
||||
|
||||
/**
|
||||
* Updates the variable list of a block.
|
||||
*
|
||||
* @param string $block Blockname
|
||||
*
|
||||
* @access private
|
||||
* @return null
|
||||
*/
|
||||
function updateBlockvariablelist($block)
|
||||
{
|
||||
preg_match_all($this->variablesRegExp,
|
||||
$this->blocklist[$block], $regs);
|
||||
|
||||
if (count($regs[1]) != 0) {
|
||||
foreach ($regs[1] as $k => $var) {
|
||||
$this->blockvariables[$block][$var] = true;
|
||||
}
|
||||
} else {
|
||||
$this->blockvariables[$block] = array();
|
||||
}
|
||||
|
||||
// check if any inner blocks were found
|
||||
if (isset($this->blockinner[$block]) &&
|
||||
is_array($this->blockinner[$block]) &&
|
||||
count($this->blockinner[$block]) > 0) {
|
||||
/*
|
||||
* loop through inner blocks, registering the variable
|
||||
* placeholders in each
|
||||
*/
|
||||
foreach ($this->blockinner[$block] as $childBlock) {
|
||||
$this->updateBlockvariablelist($childBlock);
|
||||
}
|
||||
}
|
||||
} // end func updateBlockvariablelist
|
||||
|
||||
/**
|
||||
* Returns an array of blocknames where the given variable
|
||||
* placeholder is used.
|
||||
*
|
||||
* @param string $variable Variable placeholder
|
||||
*
|
||||
* @return array $parents parents[0..n] = blockname
|
||||
* @access public
|
||||
*/
|
||||
function findPlaceholderBlocks($variable)
|
||||
{
|
||||
$parents = array();
|
||||
reset($this->blocklist);
|
||||
while (list($blockname, $content) = each($this->blocklist)) {
|
||||
reset($this->blockvariables[$blockname]);
|
||||
|
||||
while (list($varname, $val) = each($this->blockvariables[$blockname])) {
|
||||
if ($variable == $varname) {
|
||||
$parents[] = $blockname;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return $parents;
|
||||
} // end func findPlaceholderBlocks
|
||||
|
||||
/**
|
||||
* Handles warnings, saves them to $warn and prints them or
|
||||
* calls die() depending on the flags
|
||||
*
|
||||
* @param string $message Warning
|
||||
* @param string $file File where the warning occured
|
||||
* @param int $line Linenumber where the warning occured
|
||||
*
|
||||
* @see $warn, $printWarning, $haltOnWarning
|
||||
* @access private
|
||||
* @return null
|
||||
*/
|
||||
function warning($message, $file = '', $line = 0)
|
||||
{
|
||||
$message = sprintf('HTML_Template_ITX Warning: %s [File: %s, Line: %d]',
|
||||
$message,
|
||||
$file,
|
||||
$line);
|
||||
|
||||
$this->warn[] = $message;
|
||||
|
||||
if ($this->printWarning) {
|
||||
print $message;
|
||||
}
|
||||
|
||||
if ($this->haltOnWarning) {
|
||||
die($message);
|
||||
}
|
||||
} // end func warning
|
||||
|
||||
} // end class HTML_Template_ITX
|
||||
?>
|
||||
@@ -1,65 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* Integrated Template - IT
|
||||
*
|
||||
* PHP version 4
|
||||
*
|
||||
* Copyright (c) 1997-2007 Ulf Wendel, Pierre-Alain Joye,
|
||||
* David Soria Parra
|
||||
*
|
||||
* This source file is subject to the New BSD license, That is bundled
|
||||
* with this package in the file LICENSE, and is available through
|
||||
* the world-wide-web at
|
||||
* http://www.opensource.org/licenses/bsd-license.php
|
||||
* If you did not receive a copy of the new BSDlicense and are unable
|
||||
* to obtain it through the world-wide-web, please send a note to
|
||||
* pajoye@php.net so we can mail you a copy immediately.
|
||||
*
|
||||
* Author: Ulf Wendel <ulf.wendel@phpdoc.de>
|
||||
* Pierre-Alain Joye <pajoye@php.net>
|
||||
* David Soria Parra <dsp@php.net>
|
||||
*
|
||||
* @category HTML
|
||||
* @package HTML_Template_IT
|
||||
* @author Ulf Wendel <uw@netuse.de>
|
||||
* @license BSD http://www.opensource.org/licenses/bsd-license.php
|
||||
* @version CVS: $Id: IT_Error.php,v 1.4 2008/11/09 12:30:27 clockwerx Exp $
|
||||
* @link http://pear.php.net/packages/HTML_Template_IT
|
||||
* @access public
|
||||
*/
|
||||
|
||||
require_once "PEAR.php";
|
||||
|
||||
/**
|
||||
* IT[X] Error class
|
||||
*
|
||||
* @category HTML
|
||||
* @package HTML_Template_IT
|
||||
* @author Ulf Wendel <uw@netuse.de>
|
||||
* @license BSD http://www.opensource.org/licenses/bsd-license.php
|
||||
* @link http://pear.php.net/packages/HTML_Template_IT
|
||||
* @access public
|
||||
*/
|
||||
class IT_Error extends PEAR_Error
|
||||
{
|
||||
/**
|
||||
* Prefix of all error messages.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
var $error_message_prefix = "IntegratedTemplate Error: ";
|
||||
|
||||
/**
|
||||
* Creates an cache error object.
|
||||
*
|
||||
* @param string $msg error message
|
||||
* @param string $file file where the error occured
|
||||
* @param string $line linenumber where the error occured
|
||||
*/
|
||||
function IT_Error($msg, $file = __FILE__, $line = __LINE__)
|
||||
{
|
||||
$this->PEAR_Error(sprintf("%s [%s on line %d].", $msg, $file, $line));
|
||||
} // end func IT_Error
|
||||
|
||||
} // end class IT_Error
|
||||
?>
|
||||
@@ -1,15 +0,0 @@
|
||||
Listen 1003
|
||||
|
||||
<VirtualHost *:1003>
|
||||
|
||||
DocumentRoot /srv/web/phpSANE
|
||||
|
||||
Include /etc/httpd/conf/conf.d/php*.conf
|
||||
|
||||
<Directory /srv/web/phpSANE>
|
||||
Options None
|
||||
AllowOverride None
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
||||
</VirtualHost>
|
||||
@@ -46,8 +46,6 @@ etc/httpd/conf/uid.conf
|
||||
etc/httpd/conf/vhosts.d/captive.conf
|
||||
etc/httpd/conf/vhosts.d/ipfire-interface-ssl.conf
|
||||
etc/httpd/conf/vhosts.d/ipfire-interface.conf
|
||||
#etc/httpd/conf/vhosts.d/nagios.conf
|
||||
#etc/httpd/conf/vhosts.d/openmailadmin.conf
|
||||
#srv/web
|
||||
#srv/web/ipfire
|
||||
#srv/web/ipfire/manual/howto/access.html.es
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
usr/bin/tunctl
|
||||
6
config/rootfiles/core/118/filelists/files
Normal file
6
config/rootfiles/core/118/filelists/files
Normal file
@@ -0,0 +1,6 @@
|
||||
etc/system-release
|
||||
etc/issue
|
||||
etc/httpd/conf/vhosts.d/captive.conf
|
||||
etc/httpd/conf/vhosts.d/ipfire-interface-ssl.conf
|
||||
etc/httpd/conf/vhosts.d/ipfire-interface.conf
|
||||
var/ipfire/langs
|
||||
1
config/rootfiles/core/118/filelists/openssh
Symbolic link
1
config/rootfiles/core/118/filelists/openssh
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../common/openssh
|
||||
@@ -5,7 +5,7 @@
|
||||
# #
|
||||
# IPFire is free software; you can redistribute it and/or modify #
|
||||
# it under the terms of the GNU General Public License as published by #
|
||||
# the Free Software Foundation; either version 2 of the License, or #
|
||||
# the Free Software Foundation; either version 3 of the License, or #
|
||||
# (at your option) any later version. #
|
||||
# #
|
||||
# IPFire is distributed in the hope that it will be useful, #
|
||||
@@ -17,11 +17,47 @@
|
||||
# along with IPFire; if not, write to the Free Software #
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #
|
||||
# #
|
||||
# Copyright (C) 2007 IPFire-Team <info@ipfire.org>. #
|
||||
# Copyright (C) 2017 IPFire-Team <info@ipfire.org>. #
|
||||
# #
|
||||
############################################################################
|
||||
#
|
||||
. /opt/pakfire/lib/functions.sh
|
||||
/usr/local/bin/backupctrl exclude >/dev/null 2>&1
|
||||
|
||||
core=118
|
||||
|
||||
# Remove old core updates from pakfire cache to save space...
|
||||
for (( i=1; i<=$core; i++ )); do
|
||||
rm -f /var/cache/pakfire/core-upgrade-*-$i.ipfire
|
||||
done
|
||||
|
||||
# Stop services
|
||||
|
||||
# Extract files
|
||||
extract_files
|
||||
mysql < /srv/web/openmailadmin/mail.dump
|
||||
|
||||
# update linker config
|
||||
ldconfig
|
||||
|
||||
# Update Language cache
|
||||
/usr/local/bin/update-lang-cache
|
||||
|
||||
# Start services
|
||||
/etc/init.d/apache reload
|
||||
|
||||
# This update need a reboot...
|
||||
#touch /var/run/need_reboot
|
||||
|
||||
# Finish
|
||||
/etc/init.d/fireinfo start
|
||||
sendprofile
|
||||
|
||||
# Update grub config to display new core version
|
||||
if [ -e /boot/grub/grub.cfg ]; then
|
||||
grub-mkconfig -o /boot/grub/grub.cfg
|
||||
fi
|
||||
|
||||
sync
|
||||
|
||||
# Don't report the exitcode last command
|
||||
exit 0
|
||||
30
config/rootfiles/oldcore/117/exclude
Normal file
30
config/rootfiles/oldcore/117/exclude
Normal file
@@ -0,0 +1,30 @@
|
||||
boot/config.txt
|
||||
boot/grub/grub.cfg
|
||||
boot/grub/grubenv
|
||||
etc/alternatives
|
||||
etc/collectd.custom
|
||||
etc/default/grub
|
||||
etc/ipsec.conf
|
||||
etc/ipsec.secrets
|
||||
etc/ipsec.user.conf
|
||||
etc/ipsec.user.secrets
|
||||
etc/localtime
|
||||
etc/shadow
|
||||
etc/snort/snort.conf
|
||||
etc/ssh/ssh_config
|
||||
etc/ssh/sshd_config
|
||||
etc/ssl/openssl.cnf
|
||||
etc/sudoers
|
||||
etc/sysconfig/firewall.local
|
||||
etc/sysconfig/rc.local
|
||||
etc/udev/rules.d/30-persistent-network.rules
|
||||
srv/web/ipfire/html/proxy.pac
|
||||
var/ipfire/dma
|
||||
var/ipfire/time
|
||||
var/ipfire/ovpn
|
||||
var/lib/alternatives
|
||||
var/log/cache
|
||||
var/log/dhcpcd.log
|
||||
var/log/messages
|
||||
var/state/dhcp/dhcpd.leases
|
||||
var/updatecache
|
||||
1
config/rootfiles/oldcore/117/meta
Normal file
1
config/rootfiles/oldcore/117/meta
Normal file
@@ -0,0 +1 @@
|
||||
DEPS=""
|
||||
@@ -1,533 +0,0 @@
|
||||
etc/fcron.cyclic/cacti.cron
|
||||
etc/httpd/conf/vhosts.d/cacti.conf
|
||||
#etc/logrotate.d
|
||||
etc/logrotate.d/cacti
|
||||
#usr/share/cacti
|
||||
#usr/share/cacti/LICENSE
|
||||
#usr/share/cacti/README
|
||||
usr/share/cacti/about.php
|
||||
usr/share/cacti/auth_changepassword.php
|
||||
usr/share/cacti/auth_login.php
|
||||
usr/share/cacti/cacti.sql
|
||||
usr/share/cacti/cdef.php
|
||||
#usr/share/cacti/cli
|
||||
usr/share/cacti/cli/.htaccess
|
||||
usr/share/cacti/cli/add_data_query.php
|
||||
usr/share/cacti/cli/add_device.php
|
||||
usr/share/cacti/cli/add_graph_template.php
|
||||
usr/share/cacti/cli/add_graphs.php
|
||||
usr/share/cacti/cli/add_perms.php
|
||||
usr/share/cacti/cli/add_tree.php
|
||||
usr/share/cacti/cli/analyze_database.php
|
||||
usr/share/cacti/cli/convert_innodb.php
|
||||
usr/share/cacti/cli/copy_user.php
|
||||
usr/share/cacti/cli/data_template_associate_rra.php
|
||||
usr/share/cacti/cli/host_update_template.php
|
||||
usr/share/cacti/cli/import_template.php
|
||||
usr/share/cacti/cli/poller_data_sources_reapply_names.php
|
||||
usr/share/cacti/cli/poller_graphs_reapply_names.php
|
||||
usr/share/cacti/cli/poller_output_empty.php
|
||||
usr/share/cacti/cli/poller_reindex_hosts.php
|
||||
usr/share/cacti/cli/rebuild_poller_cache.php
|
||||
usr/share/cacti/cli/reorder_data_query.php
|
||||
usr/share/cacti/cli/repair_database.php
|
||||
usr/share/cacti/cli/repair_templates.php
|
||||
usr/share/cacti/cli/structure_rra_paths.php
|
||||
usr/share/cacti/cli/upgrade_database.php
|
||||
usr/share/cacti/cmd.php
|
||||
usr/share/cacti/color.php
|
||||
usr/share/cacti/data_input.php
|
||||
usr/share/cacti/data_queries.php
|
||||
usr/share/cacti/data_sources.php
|
||||
usr/share/cacti/data_templates.php
|
||||
#usr/share/cacti/docs
|
||||
#usr/share/cacti/docs/CHANGELOG
|
||||
#usr/share/cacti/docs/CONTRIB
|
||||
#usr/share/cacti/docs/README
|
||||
#usr/share/cacti/docs/html
|
||||
#usr/share/cacti/docs/html/LICENSE.html
|
||||
#usr/share/cacti/docs/html/advanced_topics.html
|
||||
#usr/share/cacti/docs/html/basics.html
|
||||
#usr/share/cacti/docs/html/batch_copy_users.html
|
||||
#usr/share/cacti/docs/html/bsd_ports.html
|
||||
#usr/share/cacti/docs/html/cacti_help.html
|
||||
#usr/share/cacti/docs/html/cdefs.html
|
||||
#usr/share/cacti/docs/html/check_cacti_poller.html
|
||||
#usr/share/cacti/docs/html/check_data_gathering.html
|
||||
#usr/share/cacti/docs/html/check_mysql_updating.html
|
||||
#usr/share/cacti/docs/html/check_rrd_graph.html
|
||||
#usr/share/cacti/docs/html/check_rrd_numbers.html
|
||||
#usr/share/cacti/docs/html/check_rrd_owner.html
|
||||
#usr/share/cacti/docs/html/check_rrd_updating.html
|
||||
#usr/share/cacti/docs/html/check_zero_values.html
|
||||
#usr/share/cacti/docs/html/cli_add_data_query.html
|
||||
#usr/share/cacti/docs/html/cli_add_device.html
|
||||
#usr/share/cacti/docs/html/cli_add_graph_template.html
|
||||
#usr/share/cacti/docs/html/cli_add_graphs.html
|
||||
#usr/share/cacti/docs/html/cli_add_perms.html
|
||||
#usr/share/cacti/docs/html/cli_add_tree.html
|
||||
#usr/share/cacti/docs/html/cli_copy_user.html
|
||||
#usr/share/cacti/docs/html/cli_poller_graphs_reapply_names.html
|
||||
#usr/share/cacti/docs/html/cli_poller_output_empty.html
|
||||
#usr/share/cacti/docs/html/cli_poller_reindex_hosts.html
|
||||
#usr/share/cacti/docs/html/copying_user.html
|
||||
#usr/share/cacti/docs/html/create_new_user.html
|
||||
#usr/share/cacti/docs/html/data_input_methods.html
|
||||
#usr/share/cacti/docs/html/data_presentation.html
|
||||
#usr/share/cacti/docs/html/data_queries.html
|
||||
#usr/share/cacti/docs/html/data_storage.html
|
||||
#usr/share/cacti/docs/html/debug_miscellaneous.html
|
||||
#usr/share/cacti/docs/html/debug_rpm_installation.html
|
||||
#usr/share/cacti/docs/html/debugging.html
|
||||
#usr/share/cacti/docs/html/delete_users.html
|
||||
#usr/share/cacti/docs/html/enable_disable_users.html
|
||||
#usr/share/cacti/docs/html/faq.html
|
||||
#usr/share/cacti/docs/html/graph_howto.html
|
||||
#usr/share/cacti/docs/html/graph_overview.html
|
||||
#usr/share/cacti/docs/html/graph_snmp_oid.html
|
||||
#usr/share/cacti/docs/html/graph_templates.html
|
||||
#usr/share/cacti/docs/html/graph_viewing.html
|
||||
#usr/share/cacti/docs/html/guest_access.html
|
||||
#usr/share/cacti/docs/html/host_templates.html
|
||||
#usr/share/cacti/docs/html/host_variables.html
|
||||
#usr/share/cacti/docs/html/how_to.html
|
||||
#usr/share/cacti/docs/html/images
|
||||
#usr/share/cacti/docs/html/images/data_source_title_example1.png
|
||||
#usr/share/cacti/docs/html/images/data_source_title_example2.png
|
||||
#usr/share/cacti/docs/html/images/data_source_title_template.png
|
||||
#usr/share/cacti/docs/html/images/data_template.png
|
||||
#usr/share/cacti/docs/html/images/export_template.png
|
||||
#usr/share/cacti/docs/html/images/graph_template.png
|
||||
#usr/share/cacti/docs/html/images/graph_tree.png
|
||||
#usr/share/cacti/docs/html/images/host_template.png
|
||||
#usr/share/cacti/docs/html/images/import_template.png
|
||||
#usr/share/cacti/docs/html/images/new_device.png
|
||||
#usr/share/cacti/docs/html/images/new_graphs.png
|
||||
#usr/share/cacti/docs/html/images/principles_of_operation.png
|
||||
#usr/share/cacti/docs/html/images/user_management_batch_copy_1.png
|
||||
#usr/share/cacti/docs/html/images/user_management_batch_copy_2.png
|
||||
#usr/share/cacti/docs/html/images/user_management_copy_1.png
|
||||
#usr/share/cacti/docs/html/images/user_management_copy_2.png
|
||||
#usr/share/cacti/docs/html/images/user_management_delete_1.png
|
||||
#usr/share/cacti/docs/html/images/user_management_delete_2.png
|
||||
#usr/share/cacti/docs/html/images/user_management_edit.png
|
||||
#usr/share/cacti/docs/html/images/user_management_enable_disable_1.png
|
||||
#usr/share/cacti/docs/html/images/user_management_enable_disable_2.png
|
||||
#usr/share/cacti/docs/html/images/user_management_list.png
|
||||
#usr/share/cacti/docs/html/images/user_management_new.png
|
||||
#usr/share/cacti/docs/html/index.html
|
||||
#usr/share/cacti/docs/html/install_unix.html
|
||||
#usr/share/cacti/docs/html/install_windows.html
|
||||
#usr/share/cacti/docs/html/installation.html
|
||||
#usr/share/cacti/docs/html/making_scripts_work_with_cacti.html
|
||||
#usr/share/cacti/docs/html/migration_php_scripts_to_script_server.html
|
||||
#usr/share/cacti/docs/html/new_graphs.html
|
||||
#usr/share/cacti/docs/html/operating_principles.html
|
||||
#usr/share/cacti/docs/html/php_script_server.html
|
||||
#usr/share/cacti/docs/html/reference.html
|
||||
#usr/share/cacti/docs/html/requirements.html
|
||||
#usr/share/cacti/docs/html/rrdtool_features.html
|
||||
#usr/share/cacti/docs/html/script_query_xml.html
|
||||
#usr/share/cacti/docs/html/scripts.html
|
||||
#usr/share/cacti/docs/html/snmp_query_xml.html
|
||||
#usr/share/cacti/docs/html/template_export.html
|
||||
#usr/share/cacti/docs/html/template_import.html
|
||||
#usr/share/cacti/docs/html/templates.html
|
||||
#usr/share/cacti/docs/html/testing_script_in_script_server.html
|
||||
#usr/share/cacti/docs/html/unix_apply_patches.html
|
||||
#usr/share/cacti/docs/html/unix_configure_cacti.html
|
||||
#usr/share/cacti/docs/html/unix_configure_httpd.html
|
||||
#usr/share/cacti/docs/html/unix_configure_mysql.html
|
||||
#usr/share/cacti/docs/html/unix_configure_php.html
|
||||
#usr/share/cacti/docs/html/unix_configure_spine.html
|
||||
#usr/share/cacti/docs/html/upgrade.html
|
||||
#usr/share/cacti/docs/html/upgrade_using_hostmib_data_queries.html
|
||||
#usr/share/cacti/docs/html/user_management.html
|
||||
#usr/share/cacti/docs/html/using_spine.html
|
||||
#usr/share/cacti/docs/html/variables.html
|
||||
#usr/share/cacti/docs/pdf
|
||||
#usr/share/cacti/docs/pdf/README
|
||||
#usr/share/cacti/docs/txt
|
||||
#usr/share/cacti/docs/txt/manual.txt
|
||||
usr/share/cacti/gprint_presets.php
|
||||
usr/share/cacti/graph.php
|
||||
usr/share/cacti/graph_image.php
|
||||
usr/share/cacti/graph_settings.php
|
||||
usr/share/cacti/graph_templates.php
|
||||
usr/share/cacti/graph_templates_inputs.php
|
||||
usr/share/cacti/graph_templates_items.php
|
||||
usr/share/cacti/graph_view.php
|
||||
usr/share/cacti/graph_xport.php
|
||||
usr/share/cacti/graphs.php
|
||||
usr/share/cacti/graphs_items.php
|
||||
usr/share/cacti/graphs_new.php
|
||||
usr/share/cacti/host.php
|
||||
usr/share/cacti/host_templates.php
|
||||
#usr/share/cacti/images
|
||||
usr/share/cacti/images/arrow.gif
|
||||
usr/share/cacti/images/auth_deny.gif
|
||||
usr/share/cacti/images/auth_login.gif
|
||||
usr/share/cacti/images/auth_logout.gif
|
||||
usr/share/cacti/images/button_add.gif
|
||||
usr/share/cacti/images/button_cancel.gif
|
||||
usr/share/cacti/images/button_cancel2.gif
|
||||
usr/share/cacti/images/button_clear.gif
|
||||
usr/share/cacti/images/button_colapse_all.gif
|
||||
usr/share/cacti/images/button_create.gif
|
||||
usr/share/cacti/images/button_default.gif
|
||||
usr/share/cacti/images/button_delete.gif
|
||||
usr/share/cacti/images/button_expand_all.gif
|
||||
usr/share/cacti/images/button_export.gif
|
||||
usr/share/cacti/images/button_go.gif
|
||||
usr/share/cacti/images/button_help.gif
|
||||
usr/share/cacti/images/button_import.gif
|
||||
usr/share/cacti/images/button_no.gif
|
||||
usr/share/cacti/images/button_purge.gif
|
||||
usr/share/cacti/images/button_refresh.gif
|
||||
usr/share/cacti/images/button_save.gif
|
||||
usr/share/cacti/images/button_view.gif
|
||||
usr/share/cacti/images/button_yes.gif
|
||||
usr/share/cacti/images/cacti_about_logo.gif
|
||||
usr/share/cacti/images/cacti_backdrop.gif
|
||||
usr/share/cacti/images/cacti_backdrop2.gif
|
||||
usr/share/cacti/images/cacti_logo.gif
|
||||
usr/share/cacti/images/calendar.gif
|
||||
usr/share/cacti/images/delete_icon.gif
|
||||
usr/share/cacti/images/delete_icon_large.gif
|
||||
usr/share/cacti/images/disable_icon.png
|
||||
usr/share/cacti/images/enable_icon.png
|
||||
usr/share/cacti/images/enable_icon_disabled.png
|
||||
usr/share/cacti/images/favicon.ico
|
||||
usr/share/cacti/images/graph_page_top.gif
|
||||
usr/share/cacti/images/graph_properties.gif
|
||||
usr/share/cacti/images/graph_query.png
|
||||
usr/share/cacti/images/graph_zoom.gif
|
||||
usr/share/cacti/images/hide.gif
|
||||
usr/share/cacti/images/install_icon.png
|
||||
usr/share/cacti/images/install_icon_disabled.png
|
||||
usr/share/cacti/images/left_border.gif
|
||||
usr/share/cacti/images/menu_line.gif
|
||||
usr/share/cacti/images/menuarrow.gif
|
||||
usr/share/cacti/images/move_down.gif
|
||||
usr/share/cacti/images/move_left.gif
|
||||
usr/share/cacti/images/move_right.gif
|
||||
usr/share/cacti/images/move_up.gif
|
||||
usr/share/cacti/images/reload_icon_small.gif
|
||||
usr/share/cacti/images/shadow.gif
|
||||
usr/share/cacti/images/shadow_gray.gif
|
||||
usr/share/cacti/images/show.gif
|
||||
usr/share/cacti/images/tab_cacti.gif
|
||||
usr/share/cacti/images/tab_console.gif
|
||||
usr/share/cacti/images/tab_console_down.gif
|
||||
usr/share/cacti/images/tab_graphs.gif
|
||||
usr/share/cacti/images/tab_graphs_down.gif
|
||||
usr/share/cacti/images/tab_mode_list.gif
|
||||
usr/share/cacti/images/tab_mode_list_down.gif
|
||||
usr/share/cacti/images/tab_mode_preview.gif
|
||||
usr/share/cacti/images/tab_mode_preview_down.gif
|
||||
usr/share/cacti/images/tab_mode_tree.gif
|
||||
usr/share/cacti/images/tab_mode_tree_down.gif
|
||||
usr/share/cacti/images/tab_settings.gif
|
||||
usr/share/cacti/images/tab_settings_down.gif
|
||||
usr/share/cacti/images/transparent_line.gif
|
||||
usr/share/cacti/images/uninstall_icon.gif
|
||||
usr/share/cacti/images/view_none.gif
|
||||
#usr/share/cacti/include
|
||||
usr/share/cacti/include/auth.php
|
||||
usr/share/cacti/include/bottom_footer.php
|
||||
usr/share/cacti/include/config.php
|
||||
usr/share/cacti/include/global.php
|
||||
usr/share/cacti/include/global_arrays.php
|
||||
usr/share/cacti/include/global_constants.php
|
||||
usr/share/cacti/include/global_form.php
|
||||
usr/share/cacti/include/global_settings.php
|
||||
usr/share/cacti/include/js
|
||||
usr/share/cacti/include/js/jquery
|
||||
usr/share/cacti/include/js/jquery/colorpicker.js
|
||||
usr/share/cacti/include/js/jquery/jquery-ui.js
|
||||
usr/share/cacti/include/js/jquery/jquery.cookie.js
|
||||
usr/share/cacti/include/js/jquery/jquery.dd.js
|
||||
usr/share/cacti/include/js/jquery/jquery.dropdown.js
|
||||
usr/share/cacti/include/js/jquery/jquery.js
|
||||
usr/share/cacti/include/js/jquery/jquery.jstree.js
|
||||
usr/share/cacti/include/js/jquery/jquery.tablednd.js
|
||||
usr/share/cacti/include/js/jquery/jquery.timepicker.js
|
||||
usr/share/cacti/include/js/jquery/jquery.zoom.js
|
||||
usr/share/cacti/include/js/jquery/themes
|
||||
usr/share/cacti/include/js/jquery/themes/default
|
||||
usr/share/cacti/include/js/jquery/themes/default/d.gif
|
||||
usr/share/cacti/include/js/jquery/themes/default/d.png
|
||||
usr/share/cacti/include/js/jquery/themes/default/style.css
|
||||
usr/share/cacti/include/js/jquery/themes/default/throbber.gif
|
||||
usr/share/cacti/include/jscalendar
|
||||
usr/share/cacti/include/jscalendar/calendar-setup.js
|
||||
usr/share/cacti/include/jscalendar/calendar.js
|
||||
usr/share/cacti/include/jscalendar/lang
|
||||
usr/share/cacti/include/jscalendar/lang/calendar-af.js
|
||||
usr/share/cacti/include/jscalendar/lang/calendar-al.js
|
||||
usr/share/cacti/include/jscalendar/lang/calendar-bg.js
|
||||
usr/share/cacti/include/jscalendar/lang/calendar-big5-utf8.js
|
||||
usr/share/cacti/include/jscalendar/lang/calendar-big5.js
|
||||
usr/share/cacti/include/jscalendar/lang/calendar-br.js
|
||||
usr/share/cacti/include/jscalendar/lang/calendar-ca.js
|
||||
usr/share/cacti/include/jscalendar/lang/calendar-cs-utf8.js
|
||||
usr/share/cacti/include/jscalendar/lang/calendar-cs-win.js
|
||||
usr/share/cacti/include/jscalendar/lang/calendar-da.js
|
||||
usr/share/cacti/include/jscalendar/lang/calendar-de.js
|
||||
usr/share/cacti/include/jscalendar/lang/calendar-du.js
|
||||
usr/share/cacti/include/jscalendar/lang/calendar-el.js
|
||||
usr/share/cacti/include/jscalendar/lang/calendar-en.js
|
||||
usr/share/cacti/include/jscalendar/lang/calendar-es.js
|
||||
usr/share/cacti/include/jscalendar/lang/calendar-fi.js
|
||||
usr/share/cacti/include/jscalendar/lang/calendar-fr.js
|
||||
usr/share/cacti/include/jscalendar/lang/calendar-he-utf8.js
|
||||
usr/share/cacti/include/jscalendar/lang/calendar-hr-utf8.js
|
||||
usr/share/cacti/include/jscalendar/lang/calendar-hr.js
|
||||
usr/share/cacti/include/jscalendar/lang/calendar-hu.js
|
||||
usr/share/cacti/include/jscalendar/lang/calendar-it.js
|
||||
usr/share/cacti/include/jscalendar/lang/calendar-jp.js
|
||||
usr/share/cacti/include/jscalendar/lang/calendar-ko-utf8.js
|
||||
usr/share/cacti/include/jscalendar/lang/calendar-ko.js
|
||||
usr/share/cacti/include/jscalendar/lang/calendar-lt-utf8.js
|
||||
usr/share/cacti/include/jscalendar/lang/calendar-lt.js
|
||||
usr/share/cacti/include/jscalendar/lang/calendar-lv.js
|
||||
usr/share/cacti/include/jscalendar/lang/calendar-nl.js
|
||||
usr/share/cacti/include/jscalendar/lang/calendar-no.js
|
||||
usr/share/cacti/include/jscalendar/lang/calendar-pl-utf8.js
|
||||
usr/share/cacti/include/jscalendar/lang/calendar-pl.js
|
||||
usr/share/cacti/include/jscalendar/lang/calendar-pt.js
|
||||
usr/share/cacti/include/jscalendar/lang/calendar-ro.js
|
||||
usr/share/cacti/include/jscalendar/lang/calendar-ru.js
|
||||
usr/share/cacti/include/jscalendar/lang/calendar-ru_win_.js
|
||||
usr/share/cacti/include/jscalendar/lang/calendar-si.js
|
||||
usr/share/cacti/include/jscalendar/lang/calendar-sk.js
|
||||
usr/share/cacti/include/jscalendar/lang/calendar-sp.js
|
||||
usr/share/cacti/include/jscalendar/lang/calendar-sv.js
|
||||
usr/share/cacti/include/jscalendar/lang/calendar-tr.js
|
||||
usr/share/cacti/include/jscalendar/lang/calendar-zh.js
|
||||
usr/share/cacti/include/jscalendar/lang/cn_utf8.js
|
||||
usr/share/cacti/include/layout.js
|
||||
usr/share/cacti/include/main.css
|
||||
usr/share/cacti/include/plugins.php
|
||||
usr/share/cacti/include/top_graph_header.php
|
||||
usr/share/cacti/include/top_header.php
|
||||
usr/share/cacti/include/zoom.js
|
||||
usr/share/cacti/index.php
|
||||
#usr/share/cacti/install
|
||||
usr/share/cacti/install/0_8_1_to_0_8_2.php
|
||||
usr/share/cacti/install/0_8_2_to_0_8_2a.php
|
||||
usr/share/cacti/install/0_8_2a_to_0_8_3.php
|
||||
usr/share/cacti/install/0_8_3_to_0_8_4.php
|
||||
usr/share/cacti/install/0_8_4_to_0_8_5.php
|
||||
usr/share/cacti/install/0_8_5a_to_0_8_6.php
|
||||
usr/share/cacti/install/0_8_6_to_0_8_6a.php
|
||||
usr/share/cacti/install/0_8_6c_to_0_8_6d.php
|
||||
usr/share/cacti/install/0_8_6d_to_0_8_6e.php
|
||||
usr/share/cacti/install/0_8_6f_to_0_8_6g.php
|
||||
usr/share/cacti/install/0_8_6g_to_0_8_6h.php
|
||||
usr/share/cacti/install/0_8_6h_to_0_8_6i.php
|
||||
usr/share/cacti/install/0_8_6j_to_0_8_7.php
|
||||
usr/share/cacti/install/0_8_7_to_0_8_7a.php
|
||||
usr/share/cacti/install/0_8_7a_to_0_8_7b.php
|
||||
usr/share/cacti/install/0_8_7b_to_0_8_7c.php
|
||||
usr/share/cacti/install/0_8_7c_to_0_8_7d.php
|
||||
usr/share/cacti/install/0_8_7d_to_0_8_7e.php
|
||||
usr/share/cacti/install/0_8_7e_to_0_8_7f.php
|
||||
usr/share/cacti/install/0_8_7f_to_0_8_7g.php
|
||||
usr/share/cacti/install/0_8_7g_to_0_8_7h.php
|
||||
usr/share/cacti/install/0_8_7h_to_0_8_7i.php
|
||||
usr/share/cacti/install/0_8_7i_to_0_8_8.php
|
||||
usr/share/cacti/install/0_8_8_to_0_8_8a.php
|
||||
usr/share/cacti/install/0_8_8_to_0_8_8b.php
|
||||
usr/share/cacti/install/0_8_to_0_8_1.php
|
||||
usr/share/cacti/install/index.php
|
||||
usr/share/cacti/install/install_finish.gif
|
||||
usr/share/cacti/install/install_next.gif
|
||||
#usr/share/cacti/lib
|
||||
#usr/share/cacti/lib/adodb
|
||||
usr/share/cacti/lib/adodb/adodb-csvlib.inc.php
|
||||
usr/share/cacti/lib/adodb/adodb-datadict.inc.php
|
||||
usr/share/cacti/lib/adodb/adodb-error.inc.php
|
||||
usr/share/cacti/lib/adodb/adodb-errorhandler.inc.php
|
||||
usr/share/cacti/lib/adodb/adodb-errorpear.inc.php
|
||||
usr/share/cacti/lib/adodb/adodb-exceptions.inc.php
|
||||
usr/share/cacti/lib/adodb/adodb-iterator.inc.php
|
||||
usr/share/cacti/lib/adodb/adodb-lib.inc.php
|
||||
usr/share/cacti/lib/adodb/adodb-pear.inc.php
|
||||
usr/share/cacti/lib/adodb/adodb-perf.inc.php
|
||||
usr/share/cacti/lib/adodb/adodb-php4.inc.php
|
||||
usr/share/cacti/lib/adodb/adodb-time.inc.php
|
||||
usr/share/cacti/lib/adodb/adodb-xmlschema.inc.php
|
||||
usr/share/cacti/lib/adodb/adodb.inc.php
|
||||
usr/share/cacti/lib/adodb/datadict
|
||||
usr/share/cacti/lib/adodb/datadict/datadict-access.inc.php
|
||||
usr/share/cacti/lib/adodb/datadict/datadict-db2.inc.php
|
||||
usr/share/cacti/lib/adodb/datadict/datadict-firebird.inc.php
|
||||
usr/share/cacti/lib/adodb/datadict/datadict-generic.inc.php
|
||||
usr/share/cacti/lib/adodb/datadict/datadict-ibase.inc.php
|
||||
usr/share/cacti/lib/adodb/datadict/datadict-informix.inc.php
|
||||
usr/share/cacti/lib/adodb/datadict/datadict-mssql.inc.php
|
||||
usr/share/cacti/lib/adodb/datadict/datadict-mysql.inc.php
|
||||
usr/share/cacti/lib/adodb/datadict/datadict-oci8.inc.php
|
||||
usr/share/cacti/lib/adodb/datadict/datadict-postgres.inc.php
|
||||
usr/share/cacti/lib/adodb/datadict/datadict-sapdb.inc.php
|
||||
usr/share/cacti/lib/adodb/datadict/datadict-sybase.inc.php
|
||||
usr/share/cacti/lib/adodb/drivers
|
||||
usr/share/cacti/lib/adodb/drivers/adodb-access.inc.php
|
||||
usr/share/cacti/lib/adodb/drivers/adodb-ado.inc.php
|
||||
usr/share/cacti/lib/adodb/drivers/adodb-ado5.inc.php
|
||||
usr/share/cacti/lib/adodb/drivers/adodb-ado_access.inc.php
|
||||
usr/share/cacti/lib/adodb/drivers/adodb-ado_mssql.inc.php
|
||||
usr/share/cacti/lib/adodb/drivers/adodb-borland_ibase.inc.php
|
||||
usr/share/cacti/lib/adodb/drivers/adodb-csv.inc.php
|
||||
usr/share/cacti/lib/adodb/drivers/adodb-db2.inc.php
|
||||
usr/share/cacti/lib/adodb/drivers/adodb-fbsql.inc.php
|
||||
usr/share/cacti/lib/adodb/drivers/adodb-firebird.inc.php
|
||||
usr/share/cacti/lib/adodb/drivers/adodb-ibase.inc.php
|
||||
usr/share/cacti/lib/adodb/drivers/adodb-informix.inc.php
|
||||
usr/share/cacti/lib/adodb/drivers/adodb-informix72.inc.php
|
||||
usr/share/cacti/lib/adodb/drivers/adodb-ldap.inc.php
|
||||
usr/share/cacti/lib/adodb/drivers/adodb-mssql.inc.php
|
||||
usr/share/cacti/lib/adodb/drivers/adodb-mssqlpo.inc.php
|
||||
usr/share/cacti/lib/adodb/drivers/adodb-mysql.inc.php
|
||||
usr/share/cacti/lib/adodb/drivers/adodb-mysqli.inc.php
|
||||
usr/share/cacti/lib/adodb/drivers/adodb-mysqlt.inc.php
|
||||
usr/share/cacti/lib/adodb/drivers/adodb-netezza.inc.php
|
||||
usr/share/cacti/lib/adodb/drivers/adodb-oci8.inc.php
|
||||
usr/share/cacti/lib/adodb/drivers/adodb-oci805.inc.php
|
||||
usr/share/cacti/lib/adodb/drivers/adodb-oci8po.inc.php
|
||||
usr/share/cacti/lib/adodb/drivers/adodb-odbc.inc.php
|
||||
usr/share/cacti/lib/adodb/drivers/adodb-odbc_mssql.inc.php
|
||||
usr/share/cacti/lib/adodb/drivers/adodb-odbc_oracle.inc.php
|
||||
usr/share/cacti/lib/adodb/drivers/adodb-odbtp.inc.php
|
||||
usr/share/cacti/lib/adodb/drivers/adodb-odbtp_unicode.inc.php
|
||||
usr/share/cacti/lib/adodb/drivers/adodb-oracle.inc.php
|
||||
usr/share/cacti/lib/adodb/drivers/adodb-pdo.inc.php
|
||||
usr/share/cacti/lib/adodb/drivers/adodb-postgres.inc.php
|
||||
usr/share/cacti/lib/adodb/drivers/adodb-postgres64.inc.php
|
||||
usr/share/cacti/lib/adodb/drivers/adodb-postgres7.inc.php
|
||||
usr/share/cacti/lib/adodb/drivers/adodb-proxy.inc.php
|
||||
usr/share/cacti/lib/adodb/drivers/adodb-sapdb.inc.php
|
||||
usr/share/cacti/lib/adodb/drivers/adodb-sqlanywhere.inc.php
|
||||
usr/share/cacti/lib/adodb/drivers/adodb-sqlite.inc.php
|
||||
usr/share/cacti/lib/adodb/drivers/adodb-sqlitepo.inc.php
|
||||
usr/share/cacti/lib/adodb/drivers/adodb-sybase.inc.php
|
||||
usr/share/cacti/lib/adodb/drivers/adodb-vfp.inc.php
|
||||
usr/share/cacti/lib/adodb/lang
|
||||
usr/share/cacti/lib/adodb/lang/adodb-ar.inc.php
|
||||
usr/share/cacti/lib/adodb/lang/adodb-bg.inc.php
|
||||
usr/share/cacti/lib/adodb/lang/adodb-bgutf8.inc.php
|
||||
usr/share/cacti/lib/adodb/lang/adodb-ca.inc.php
|
||||
usr/share/cacti/lib/adodb/lang/adodb-cn.inc.php
|
||||
usr/share/cacti/lib/adodb/lang/adodb-cz.inc.php
|
||||
usr/share/cacti/lib/adodb/lang/adodb-de.inc.php
|
||||
usr/share/cacti/lib/adodb/lang/adodb-en.inc.php
|
||||
usr/share/cacti/lib/adodb/lang/adodb-es.inc.php
|
||||
usr/share/cacti/lib/adodb/lang/adodb-fr.inc.php
|
||||
usr/share/cacti/lib/adodb/lang/adodb-hu.inc.php
|
||||
usr/share/cacti/lib/adodb/lang/adodb-it.inc.php
|
||||
usr/share/cacti/lib/adodb/lang/adodb-nl.inc.php
|
||||
usr/share/cacti/lib/adodb/lang/adodb-pl.inc.php
|
||||
usr/share/cacti/lib/adodb/lang/adodb-pt-br.inc.php
|
||||
usr/share/cacti/lib/adodb/lang/adodb-ro.inc.php
|
||||
usr/share/cacti/lib/adodb/lang/adodb-ru1251.inc.php
|
||||
usr/share/cacti/lib/adodb/lang/adodb-sv.inc.php
|
||||
usr/share/cacti/lib/adodb/license.txt
|
||||
usr/share/cacti/lib/adodb/toexport.inc.php
|
||||
usr/share/cacti/lib/adodb/tohtml.inc.php
|
||||
usr/share/cacti/lib/api_automation_tools.php
|
||||
usr/share/cacti/lib/api_data_source.php
|
||||
usr/share/cacti/lib/api_device.php
|
||||
usr/share/cacti/lib/api_graph.php
|
||||
usr/share/cacti/lib/api_poller.php
|
||||
usr/share/cacti/lib/api_tree.php
|
||||
usr/share/cacti/lib/auth.php
|
||||
usr/share/cacti/lib/cdef.php
|
||||
usr/share/cacti/lib/data_query.php
|
||||
usr/share/cacti/lib/database.php
|
||||
usr/share/cacti/lib/export.php
|
||||
usr/share/cacti/lib/functions.php
|
||||
usr/share/cacti/lib/graph_export.php
|
||||
usr/share/cacti/lib/graph_variables.php
|
||||
usr/share/cacti/lib/html.php
|
||||
usr/share/cacti/lib/html_form.php
|
||||
usr/share/cacti/lib/html_form_template.php
|
||||
usr/share/cacti/lib/html_tree.php
|
||||
usr/share/cacti/lib/html_utility.php
|
||||
usr/share/cacti/lib/html_validate.php
|
||||
usr/share/cacti/lib/import.php
|
||||
usr/share/cacti/lib/ldap.php
|
||||
usr/share/cacti/lib/ping.php
|
||||
usr/share/cacti/lib/plugins.php
|
||||
usr/share/cacti/lib/poller.php
|
||||
usr/share/cacti/lib/rrd.php
|
||||
usr/share/cacti/lib/snmp.php
|
||||
usr/share/cacti/lib/sort.php
|
||||
usr/share/cacti/lib/template.php
|
||||
usr/share/cacti/lib/time.php
|
||||
usr/share/cacti/lib/timespan_settings.php
|
||||
usr/share/cacti/lib/tree.php
|
||||
usr/share/cacti/lib/utility.php
|
||||
usr/share/cacti/lib/variables.php
|
||||
usr/share/cacti/lib/xml.php
|
||||
usr/share/cacti/log
|
||||
usr/share/cacti/logout.php
|
||||
usr/share/cacti/plugins
|
||||
usr/share/cacti/plugins.php
|
||||
usr/share/cacti/plugins/index.php
|
||||
usr/share/cacti/poller.php
|
||||
usr/share/cacti/poller_commands.php
|
||||
usr/share/cacti/poller_export.php
|
||||
#usr/share/cacti/resource
|
||||
#usr/share/cacti/resource/script_queries
|
||||
usr/share/cacti/resource/script_queries/host_cpu.xml
|
||||
usr/share/cacti/resource/script_queries/host_disk.xml
|
||||
usr/share/cacti/resource/script_queries/unix_disk.xml
|
||||
usr/share/cacti/resource/script_server
|
||||
usr/share/cacti/resource/script_server/host_cpu.xml
|
||||
usr/share/cacti/resource/script_server/host_disk.xml
|
||||
#usr/share/cacti/resource/snmp_queries
|
||||
usr/share/cacti/resource/snmp_queries/host_disk.xml
|
||||
usr/share/cacti/resource/snmp_queries/interface.xml
|
||||
usr/share/cacti/resource/snmp_queries/kbridge.xml
|
||||
usr/share/cacti/resource/snmp_queries/net-snmp_disk.xml
|
||||
usr/share/cacti/resource/snmp_queries/netware_cpu.xml
|
||||
usr/share/cacti/resource/snmp_queries/netware_disk.xml
|
||||
usr/share/cacti/rra
|
||||
usr/share/cacti/rra.php
|
||||
usr/share/cacti/script_server.php
|
||||
usr/share/cacti/script_server.pl
|
||||
#usr/share/cacti/scripts
|
||||
usr/share/cacti/scripts/3com_cable_modem.pl
|
||||
usr/share/cacti/scripts/diskfree.pl
|
||||
usr/share/cacti/scripts/diskfree.sh
|
||||
usr/share/cacti/scripts/linux_memory.pl
|
||||
usr/share/cacti/scripts/loadavg.pl
|
||||
usr/share/cacti/scripts/loadavg_multi.pl
|
||||
usr/share/cacti/scripts/ping.pl
|
||||
usr/share/cacti/scripts/query_host_cpu.php
|
||||
usr/share/cacti/scripts/query_host_partitions.php
|
||||
usr/share/cacti/scripts/query_unix_partitions.pl
|
||||
usr/share/cacti/scripts/sql.php
|
||||
usr/share/cacti/scripts/ss_fping.php
|
||||
usr/share/cacti/scripts/ss_host_cpu.php
|
||||
usr/share/cacti/scripts/ss_host_disk.php
|
||||
usr/share/cacti/scripts/ss_sql.php
|
||||
usr/share/cacti/scripts/unix_processes.pl
|
||||
usr/share/cacti/scripts/unix_tcp_connections.pl
|
||||
usr/share/cacti/scripts/unix_users.pl
|
||||
usr/share/cacti/scripts/weatherbug.pl
|
||||
usr/share/cacti/scripts/webhits.pl
|
||||
usr/share/cacti/settings.php
|
||||
usr/share/cacti/templates_export.php
|
||||
usr/share/cacti/templates_import.php
|
||||
usr/share/cacti/tree.php
|
||||
usr/share/cacti/user_admin.php
|
||||
usr/share/cacti/utilities.php
|
||||
#var/cacti
|
||||
#var/cacti/log
|
||||
var/cacti/log/.htaccess
|
||||
#var/cacti/log/cacti.log
|
||||
#var/cacti/rra
|
||||
var/cacti/rra/.htaccess
|
||||
var/ipfire/backup/addons/includes/cacti
|
||||
@@ -24,85 +24,6 @@ usr/bin/icinga
|
||||
usr/bin/icingastats
|
||||
#usr/lib/icinga
|
||||
usr/lib/icinga/p1.pl
|
||||
#usr/lib/icinga/plugins
|
||||
usr/lib/icinga/plugins/check_apt
|
||||
usr/lib/icinga/plugins/check_breeze
|
||||
usr/lib/icinga/plugins/check_by_ssh
|
||||
usr/lib/icinga/plugins/check_clamd
|
||||
usr/lib/icinga/plugins/check_cluster
|
||||
usr/lib/icinga/plugins/check_dhcp
|
||||
usr/lib/icinga/plugins/check_dig
|
||||
usr/lib/icinga/plugins/check_disk
|
||||
usr/lib/icinga/plugins/check_disk_smb
|
||||
usr/lib/icinga/plugins/check_dns
|
||||
usr/lib/icinga/plugins/check_dummy
|
||||
usr/lib/icinga/plugins/check_file_age
|
||||
usr/lib/icinga/plugins/check_flexlm
|
||||
usr/lib/icinga/plugins/check_ftp
|
||||
usr/lib/icinga/plugins/check_hpjd
|
||||
usr/lib/icinga/plugins/check_http
|
||||
usr/lib/icinga/plugins/check_icmp
|
||||
usr/lib/icinga/plugins/check_ide_smart
|
||||
usr/lib/icinga/plugins/check_ifoperstatus
|
||||
usr/lib/icinga/plugins/check_ifstatus
|
||||
usr/lib/icinga/plugins/check_imap
|
||||
usr/lib/icinga/plugins/check_ircd
|
||||
usr/lib/icinga/plugins/check_jabber
|
||||
usr/lib/icinga/plugins/check_ldap
|
||||
usr/lib/icinga/plugins/check_ldaps
|
||||
usr/lib/icinga/plugins/check_load
|
||||
usr/lib/icinga/plugins/check_log
|
||||
usr/lib/icinga/plugins/check_mailq
|
||||
usr/lib/icinga/plugins/check_mrtg
|
||||
usr/lib/icinga/plugins/check_mrtgtraf
|
||||
usr/lib/icinga/plugins/check_mysql
|
||||
usr/lib/icinga/plugins/check_mysql_query
|
||||
usr/lib/icinga/plugins/check_nagios
|
||||
usr/lib/icinga/plugins/check_nntp
|
||||
usr/lib/icinga/plugins/check_nntps
|
||||
usr/lib/icinga/plugins/check_nt
|
||||
usr/lib/icinga/plugins/check_ntp
|
||||
usr/lib/icinga/plugins/check_ntp_peer
|
||||
usr/lib/icinga/plugins/check_ntp_time
|
||||
usr/lib/icinga/plugins/check_nwstat
|
||||
usr/lib/icinga/plugins/check_oracle
|
||||
usr/lib/icinga/plugins/check_overcr
|
||||
usr/lib/icinga/plugins/check_ping
|
||||
usr/lib/icinga/plugins/check_pop
|
||||
usr/lib/icinga/plugins/check_procs
|
||||
usr/lib/icinga/plugins/check_real
|
||||
usr/lib/icinga/plugins/check_rpc
|
||||
usr/lib/icinga/plugins/check_sensors
|
||||
usr/lib/icinga/plugins/check_simap
|
||||
usr/lib/icinga/plugins/check_smtp
|
||||
usr/lib/icinga/plugins/check_snmp
|
||||
usr/lib/icinga/plugins/check_spop
|
||||
usr/lib/icinga/plugins/check_ssh
|
||||
usr/lib/icinga/plugins/check_ssmtp
|
||||
usr/lib/icinga/plugins/check_swap
|
||||
usr/lib/icinga/plugins/check_tcp
|
||||
usr/lib/icinga/plugins/check_time
|
||||
usr/lib/icinga/plugins/check_udp
|
||||
usr/lib/icinga/plugins/check_ups
|
||||
usr/lib/icinga/plugins/check_uptime
|
||||
usr/lib/icinga/plugins/check_users
|
||||
usr/lib/icinga/plugins/check_wave
|
||||
usr/lib/icinga/plugins/eventhandlers
|
||||
usr/lib/icinga/plugins/eventhandlers/disable_active_service_checks
|
||||
usr/lib/icinga/plugins/eventhandlers/disable_notifications
|
||||
usr/lib/icinga/plugins/eventhandlers/distributed-monitoring
|
||||
usr/lib/icinga/plugins/eventhandlers/distributed-monitoring/obsessive_svc_handler
|
||||
usr/lib/icinga/plugins/eventhandlers/distributed-monitoring/submit_check_result_via_nsca
|
||||
usr/lib/icinga/plugins/eventhandlers/enable_active_service_checks
|
||||
usr/lib/icinga/plugins/eventhandlers/enable_notifications
|
||||
usr/lib/icinga/plugins/eventhandlers/redundancy-scenario1
|
||||
usr/lib/icinga/plugins/eventhandlers/redundancy-scenario1/handle-master-host-event
|
||||
usr/lib/icinga/plugins/eventhandlers/redundancy-scenario1/handle-master-proc-event
|
||||
usr/lib/icinga/plugins/eventhandlers/submit_check_result
|
||||
usr/lib/icinga/plugins/negate
|
||||
usr/lib/icinga/plugins/urlize
|
||||
usr/lib/icinga/plugins/utils.pm
|
||||
usr/lib/icinga/plugins/utils.sh
|
||||
usr/share/icinga
|
||||
usr/share/icinga/cgi-bin
|
||||
usr/share/icinga/cgi-bin/avail.cgi
|
||||
|
||||
@@ -1,453 +0,0 @@
|
||||
etc/httpd/conf/conf.d/nagios.conf
|
||||
#etc/nagios
|
||||
etc/nagios/cgi.cfg
|
||||
etc/nagios/nagios.cfg
|
||||
#etc/nagios/objects
|
||||
etc/nagios/objects/commands.cfg
|
||||
etc/nagios/objects/contacts.cfg
|
||||
etc/nagios/objects/localhost.cfg
|
||||
etc/nagios/objects/printer.cfg
|
||||
etc/nagios/objects/switch.cfg
|
||||
etc/nagios/objects/templates.cfg
|
||||
etc/nagios/objects/timeperiods.cfg
|
||||
etc/nagios/objects/windows.cfg
|
||||
etc/nagios/resource.cfg
|
||||
etc/rc.d/init.d/nagios
|
||||
etc/rc.d/rc0.d/K33nagios
|
||||
etc/rc.d/rc3.d/S67nagios
|
||||
etc/rc.d/rc6.d/K33nagios
|
||||
usr/bin/nagios
|
||||
usr/bin/nagiostats
|
||||
usr/bin/p1.pl
|
||||
usr/lib/nagios
|
||||
#usr/lib/nagios/check_apt
|
||||
#usr/lib/nagios/check_breeze
|
||||
#usr/lib/nagios/check_by_ssh
|
||||
#usr/lib/nagios/check_clamd
|
||||
#usr/lib/nagios/check_cluster
|
||||
#usr/lib/nagios/check_dhcp
|
||||
#usr/lib/nagios/check_dig
|
||||
#usr/lib/nagios/check_disk
|
||||
#usr/lib/nagios/check_disk_smb
|
||||
#usr/lib/nagios/check_dns
|
||||
#usr/lib/nagios/check_dummy
|
||||
#usr/lib/nagios/check_file_age
|
||||
#usr/lib/nagios/check_flexlm
|
||||
#usr/lib/nagios/check_ftp
|
||||
#usr/lib/nagios/check_hpjd
|
||||
#usr/lib/nagios/check_http
|
||||
#usr/lib/nagios/check_icmp
|
||||
#usr/lib/nagios/check_ide_smart
|
||||
#usr/lib/nagios/check_ifoperstatus
|
||||
#usr/lib/nagios/check_ifstatus
|
||||
#usr/lib/nagios/check_imap
|
||||
#usr/lib/nagios/check_ircd
|
||||
#usr/lib/nagios/check_jabber
|
||||
#usr/lib/nagios/check_ldap
|
||||
#usr/lib/nagios/check_ldaps
|
||||
#usr/lib/nagios/check_load
|
||||
#usr/lib/nagios/check_log
|
||||
#usr/lib/nagios/check_mailq
|
||||
#usr/lib/nagios/check_mrtg
|
||||
#usr/lib/nagios/check_mrtgtraf
|
||||
#usr/lib/nagios/check_mysql
|
||||
#usr/lib/nagios/check_mysql_query
|
||||
#usr/lib/nagios/check_nagios
|
||||
#usr/lib/nagios/check_nntp
|
||||
#usr/lib/nagios/check_nntps
|
||||
#usr/lib/nagios/check_nt
|
||||
#usr/lib/nagios/check_ntp
|
||||
#usr/lib/nagios/check_ntp_peer
|
||||
#usr/lib/nagios/check_ntp_time
|
||||
#usr/lib/nagios/check_nwstat
|
||||
#usr/lib/nagios/check_oracle
|
||||
#usr/lib/nagios/check_overcr
|
||||
#usr/lib/nagios/check_ping
|
||||
#usr/lib/nagios/check_pop
|
||||
#usr/lib/nagios/check_procs
|
||||
#usr/lib/nagios/check_real
|
||||
#usr/lib/nagios/check_rpc
|
||||
#usr/lib/nagios/check_sensors
|
||||
#usr/lib/nagios/check_simap
|
||||
#usr/lib/nagios/check_smtp
|
||||
#usr/lib/nagios/check_snmp
|
||||
#usr/lib/nagios/check_spop
|
||||
#usr/lib/nagios/check_ssh
|
||||
#usr/lib/nagios/check_ssmtp
|
||||
#usr/lib/nagios/check_swap
|
||||
#usr/lib/nagios/check_tcp
|
||||
#usr/lib/nagios/check_time
|
||||
#usr/lib/nagios/check_udp
|
||||
#usr/lib/nagios/check_ups
|
||||
#usr/lib/nagios/check_users
|
||||
#usr/lib/nagios/check_wave
|
||||
#usr/lib/nagios/negate
|
||||
#usr/lib/nagios/urlize
|
||||
#usr/lib/nagios/utils.pm
|
||||
#usr/lib/nagios/utils.sh
|
||||
usr/share/locale/de/LC_MESSAGES/nagios-plugins.mo
|
||||
#usr/share/locale/fr/LC_MESSAGES/nagios-plugins.mo
|
||||
usr/share/nagios
|
||||
#usr/share/nagios/cgi-bin
|
||||
#usr/share/nagios/cgi-bin/avail.cgi
|
||||
#usr/share/nagios/cgi-bin/cmd.cgi
|
||||
#usr/share/nagios/cgi-bin/config.cgi
|
||||
#usr/share/nagios/cgi-bin/extinfo.cgi
|
||||
#usr/share/nagios/cgi-bin/histogram.cgi
|
||||
#usr/share/nagios/cgi-bin/history.cgi
|
||||
#usr/share/nagios/cgi-bin/notifications.cgi
|
||||
#usr/share/nagios/cgi-bin/outages.cgi
|
||||
#usr/share/nagios/cgi-bin/showlog.cgi
|
||||
#usr/share/nagios/cgi-bin/status.cgi
|
||||
#usr/share/nagios/cgi-bin/statusmap.cgi
|
||||
#usr/share/nagios/cgi-bin/statuswml.cgi
|
||||
#usr/share/nagios/cgi-bin/statuswrl.cgi
|
||||
#usr/share/nagios/cgi-bin/summary.cgi
|
||||
#usr/share/nagios/cgi-bin/tac.cgi
|
||||
#usr/share/nagios/cgi-bin/trends.cgi
|
||||
#usr/share/nagios/contexthelp
|
||||
#usr/share/nagios/contexthelp/A1.html
|
||||
#usr/share/nagios/contexthelp/A2.html
|
||||
#usr/share/nagios/contexthelp/A3.html
|
||||
#usr/share/nagios/contexthelp/A4.html
|
||||
#usr/share/nagios/contexthelp/A5.html
|
||||
#usr/share/nagios/contexthelp/A6.html
|
||||
#usr/share/nagios/contexthelp/A7.html
|
||||
#usr/share/nagios/contexthelp/B1.html
|
||||
#usr/share/nagios/contexthelp/C1.html
|
||||
#usr/share/nagios/contexthelp/D1.html
|
||||
#usr/share/nagios/contexthelp/E1.html
|
||||
#usr/share/nagios/contexthelp/F1.html
|
||||
#usr/share/nagios/contexthelp/G1.html
|
||||
#usr/share/nagios/contexthelp/G2.html
|
||||
#usr/share/nagios/contexthelp/G3.html
|
||||
#usr/share/nagios/contexthelp/G4.html
|
||||
#usr/share/nagios/contexthelp/G5.html
|
||||
#usr/share/nagios/contexthelp/G6.html
|
||||
#usr/share/nagios/contexthelp/H1.html
|
||||
#usr/share/nagios/contexthelp/H2.html
|
||||
#usr/share/nagios/contexthelp/H3.html
|
||||
#usr/share/nagios/contexthelp/H4.html
|
||||
#usr/share/nagios/contexthelp/H5.html
|
||||
#usr/share/nagios/contexthelp/H6.html
|
||||
#usr/share/nagios/contexthelp/H7.html
|
||||
#usr/share/nagios/contexthelp/H8.html
|
||||
#usr/share/nagios/contexthelp/I1.html
|
||||
#usr/share/nagios/contexthelp/I2.html
|
||||
#usr/share/nagios/contexthelp/I3.html
|
||||
#usr/share/nagios/contexthelp/I4.html
|
||||
#usr/share/nagios/contexthelp/I5.html
|
||||
#usr/share/nagios/contexthelp/I6.html
|
||||
#usr/share/nagios/contexthelp/I7.html
|
||||
#usr/share/nagios/contexthelp/I8.html
|
||||
#usr/share/nagios/contexthelp/I9.html
|
||||
#usr/share/nagios/contexthelp/J1.html
|
||||
#usr/share/nagios/contexthelp/K1.html
|
||||
#usr/share/nagios/contexthelp/L1.html
|
||||
#usr/share/nagios/contexthelp/L10.html
|
||||
#usr/share/nagios/contexthelp/L11.html
|
||||
#usr/share/nagios/contexthelp/L12.html
|
||||
#usr/share/nagios/contexthelp/L13.html
|
||||
#usr/share/nagios/contexthelp/L2.html
|
||||
#usr/share/nagios/contexthelp/L3.html
|
||||
#usr/share/nagios/contexthelp/L4.html
|
||||
#usr/share/nagios/contexthelp/L5.html
|
||||
#usr/share/nagios/contexthelp/L6.html
|
||||
#usr/share/nagios/contexthelp/L7.html
|
||||
#usr/share/nagios/contexthelp/L8.html
|
||||
#usr/share/nagios/contexthelp/L9.html
|
||||
#usr/share/nagios/contexthelp/M1.html
|
||||
#usr/share/nagios/contexthelp/M2.html
|
||||
#usr/share/nagios/contexthelp/M3.html
|
||||
#usr/share/nagios/contexthelp/M4.html
|
||||
#usr/share/nagios/contexthelp/M5.html
|
||||
#usr/share/nagios/contexthelp/M6.html
|
||||
#usr/share/nagios/contexthelp/N1.html
|
||||
#usr/share/nagios/contexthelp/N2.html
|
||||
#usr/share/nagios/contexthelp/N3.html
|
||||
#usr/share/nagios/contexthelp/N4.html
|
||||
#usr/share/nagios/contexthelp/N5.html
|
||||
#usr/share/nagios/contexthelp/N6.html
|
||||
#usr/share/nagios/contexthelp/N7.html
|
||||
#usr/share/nagios/docs
|
||||
#usr/share/nagios/docs/about.html
|
||||
#usr/share/nagios/docs/activechecks.html
|
||||
#usr/share/nagios/docs/adaptive.html
|
||||
#usr/share/nagios/docs/addons.html
|
||||
#usr/share/nagios/docs/beginners.html
|
||||
#usr/share/nagios/docs/cachedchecks.html
|
||||
#usr/share/nagios/docs/cgiauth.html
|
||||
#usr/share/nagios/docs/cgiincludes.html
|
||||
#usr/share/nagios/docs/cgis.html
|
||||
#usr/share/nagios/docs/cgisecurity.html
|
||||
#usr/share/nagios/docs/checkscheduling.html
|
||||
#usr/share/nagios/docs/clusters.html
|
||||
#usr/share/nagios/docs/config.html
|
||||
#usr/share/nagios/docs/configcgi.html
|
||||
#usr/share/nagios/docs/configmain.html
|
||||
#usr/share/nagios/docs/configobject.html
|
||||
#usr/share/nagios/docs/customobjectvars.html
|
||||
#usr/share/nagios/docs/dependencies.html
|
||||
#usr/share/nagios/docs/dependencychecks.html
|
||||
#usr/share/nagios/docs/distributed.html
|
||||
#usr/share/nagios/docs/downtime.html
|
||||
#usr/share/nagios/docs/embeddedperl.html
|
||||
#usr/share/nagios/docs/epnplugins.html
|
||||
#usr/share/nagios/docs/escalations.html
|
||||
#usr/share/nagios/docs/eventhandlers.html
|
||||
#usr/share/nagios/docs/extcommands.html
|
||||
#usr/share/nagios/docs/faststartup.html
|
||||
#usr/share/nagios/docs/flapping.html
|
||||
#usr/share/nagios/docs/freshness.html
|
||||
#usr/share/nagios/docs/funstuff.html
|
||||
#usr/share/nagios/docs/hostchecks.html
|
||||
#usr/share/nagios/docs/images
|
||||
#usr/share/nagios/docs/images/activechecks.png
|
||||
#usr/share/nagios/docs/images/cachedcheckgraphs.png
|
||||
#usr/share/nagios/docs/images/cachedchecks.png
|
||||
#usr/share/nagios/docs/images/cachedchecks1.png
|
||||
#usr/share/nagios/docs/images/cgi-avail-a.png
|
||||
#usr/share/nagios/docs/images/cgi-avail-b.png
|
||||
#usr/share/nagios/docs/images/cgi-cmd.png
|
||||
#usr/share/nagios/docs/images/cgi-config.png
|
||||
#usr/share/nagios/docs/images/cgi-extinfo-a.png
|
||||
#usr/share/nagios/docs/images/cgi-extinfo-b.png
|
||||
#usr/share/nagios/docs/images/cgi-extinfo-c.png
|
||||
#usr/share/nagios/docs/images/cgi-extinfo-d.png
|
||||
#usr/share/nagios/docs/images/cgi-histogram.png
|
||||
#usr/share/nagios/docs/images/cgi-history.png
|
||||
#usr/share/nagios/docs/images/cgi-notifications.png
|
||||
#usr/share/nagios/docs/images/cgi-outages.png
|
||||
#usr/share/nagios/docs/images/cgi-showlog.png
|
||||
#usr/share/nagios/docs/images/cgi-status-a.png
|
||||
#usr/share/nagios/docs/images/cgi-status-b.png
|
||||
#usr/share/nagios/docs/images/cgi-status-c.png
|
||||
#usr/share/nagios/docs/images/cgi-status-d.png
|
||||
#usr/share/nagios/docs/images/cgi-statusmap.png
|
||||
#usr/share/nagios/docs/images/cgi-statuswml.png
|
||||
#usr/share/nagios/docs/images/cgi-statuswrl.png
|
||||
#usr/share/nagios/docs/images/cgi-summary.png
|
||||
#usr/share/nagios/docs/images/cgi-tac.png
|
||||
#usr/share/nagios/docs/images/cgi-trends.png
|
||||
#usr/share/nagios/docs/images/checkmark.png
|
||||
#usr/share/nagios/docs/images/checktiming.png
|
||||
#usr/share/nagios/docs/images/configoverview.png
|
||||
#usr/share/nagios/docs/images/distributed.png
|
||||
#usr/share/nagios/docs/images/downtime.png
|
||||
#usr/share/nagios/docs/images/epn.png
|
||||
#usr/share/nagios/docs/images/eventhandlers.png
|
||||
#usr/share/nagios/docs/images/externalcommands.png
|
||||
#usr/share/nagios/docs/images/fast-startup.png
|
||||
#usr/share/nagios/docs/images/fast-startup1.png
|
||||
#usr/share/nagios/docs/images/fast-startup2.png
|
||||
#usr/share/nagios/docs/images/freshness.png
|
||||
#usr/share/nagios/docs/images/host-dependencies.png
|
||||
#usr/share/nagios/docs/images/important.gif
|
||||
#usr/share/nagios/docs/images/integrationoverview.png
|
||||
#usr/share/nagios/docs/images/interleaved1.png
|
||||
#usr/share/nagios/docs/images/interleaved2.png
|
||||
#usr/share/nagios/docs/images/interleaved3.png
|
||||
#usr/share/nagios/docs/images/logofullsize.png
|
||||
#usr/share/nagios/docs/images/monitoring-printers.png
|
||||
#usr/share/nagios/docs/images/monitoring-routers.png
|
||||
#usr/share/nagios/docs/images/monitoring-windows.png
|
||||
#usr/share/nagios/docs/images/mrtg-activehostchecks.png
|
||||
#usr/share/nagios/docs/images/mrtg-activelychecked.png
|
||||
#usr/share/nagios/docs/images/mrtg-activeservicechecks.png
|
||||
#usr/share/nagios/docs/images/mrtg-cachedchecks.png
|
||||
#usr/share/nagios/docs/images/mrtg-commandbuffers.png
|
||||
#usr/share/nagios/docs/images/mrtg-externalcommands.png
|
||||
#usr/share/nagios/docs/images/mrtg-hostperfstats.png
|
||||
#usr/share/nagios/docs/images/mrtg-hoststatechange.png
|
||||
#usr/share/nagios/docs/images/mrtg-passivechecks.png
|
||||
#usr/share/nagios/docs/images/mrtg-passivelychecked.png
|
||||
#usr/share/nagios/docs/images/mrtg-serviceperfstats.png
|
||||
#usr/share/nagios/docs/images/mrtg-servicestatechange.png
|
||||
#usr/share/nagios/docs/images/multiple-templates1.png
|
||||
#usr/share/nagios/docs/images/multiple-templates2.png
|
||||
#usr/share/nagios/docs/images/nagios.jpg
|
||||
#usr/share/nagios/docs/images/ndoutils.png
|
||||
#usr/share/nagios/docs/images/network-outage1.png
|
||||
#usr/share/nagios/docs/images/network-outage2.png
|
||||
#usr/share/nagios/docs/images/noninterleaved1.png
|
||||
#usr/share/nagios/docs/images/noninterleaved2.png
|
||||
#usr/share/nagios/docs/images/note.gif
|
||||
#usr/share/nagios/docs/images/nrpe.png
|
||||
#usr/share/nagios/docs/images/nsca.png
|
||||
#usr/share/nagios/docs/images/nscpp.png
|
||||
#usr/share/nagios/docs/images/objects-commands.png
|
||||
#usr/share/nagios/docs/images/objects-contacts.png
|
||||
#usr/share/nagios/docs/images/objects-hosts.png
|
||||
#usr/share/nagios/docs/images/objects-services.png
|
||||
#usr/share/nagios/docs/images/objects-timeperiods.png
|
||||
#usr/share/nagios/docs/images/passivechecks.png
|
||||
#usr/share/nagios/docs/images/passivehosttranslation.png
|
||||
#usr/share/nagios/docs/images/plugins.png
|
||||
#usr/share/nagios/docs/images/predictive-dependency-checks.png
|
||||
#usr/share/nagios/docs/images/printer.png
|
||||
#usr/share/nagios/docs/images/reachability1.png
|
||||
#usr/share/nagios/docs/images/reachability2.png
|
||||
#usr/share/nagios/docs/images/reachability3.png
|
||||
#usr/share/nagios/docs/images/reachability4.png
|
||||
#usr/share/nagios/docs/images/redudancy.png
|
||||
#usr/share/nagios/docs/images/redundancy.png
|
||||
#usr/share/nagios/docs/images/security.png
|
||||
#usr/share/nagios/docs/images/security1.png
|
||||
#usr/share/nagios/docs/images/security2.png
|
||||
#usr/share/nagios/docs/images/security3.png
|
||||
#usr/share/nagios/docs/images/seealso.gif
|
||||
#usr/share/nagios/docs/images/service-dependencies.png
|
||||
#usr/share/nagios/docs/images/statetransitions.png
|
||||
#usr/share/nagios/docs/images/statetransitions2.png
|
||||
#usr/share/nagios/docs/images/stoprestart.png
|
||||
#usr/share/nagios/docs/images/switch.png
|
||||
#usr/share/nagios/docs/images/tcpwrappers.png
|
||||
#usr/share/nagios/docs/images/tip.gif
|
||||
#usr/share/nagios/docs/images/tuning.png
|
||||
#usr/share/nagios/docs/images/upto.gif
|
||||
#usr/share/nagios/docs/index.html
|
||||
#usr/share/nagios/docs/int-snmptrap.html
|
||||
#usr/share/nagios/docs/int-tcpwrappers.html
|
||||
#usr/share/nagios/docs/integration.html
|
||||
#usr/share/nagios/docs/largeinstalltweaks.html
|
||||
#usr/share/nagios/docs/macrolist.html
|
||||
#usr/share/nagios/docs/macros.html
|
||||
#usr/share/nagios/docs/monitoring-linux.html
|
||||
#usr/share/nagios/docs/monitoring-netware.html
|
||||
#usr/share/nagios/docs/monitoring-printers.html
|
||||
#usr/share/nagios/docs/monitoring-publicservices.html
|
||||
#usr/share/nagios/docs/monitoring-routers.html
|
||||
#usr/share/nagios/docs/monitoring-windows.html
|
||||
#usr/share/nagios/docs/mrtggraphs.html
|
||||
#usr/share/nagios/docs/nagiostats.html
|
||||
#usr/share/nagios/docs/networkreachability.html
|
||||
#usr/share/nagios/docs/notifications.html
|
||||
#usr/share/nagios/docs/objectdefinitions.html
|
||||
#usr/share/nagios/docs/objectinheritance.html
|
||||
#usr/share/nagios/docs/objecttricks.html
|
||||
#usr/share/nagios/docs/oncallrotation.html
|
||||
#usr/share/nagios/docs/passivechecks.html
|
||||
#usr/share/nagios/docs/passivestatetranslation.html
|
||||
#usr/share/nagios/docs/perfdata.html
|
||||
#usr/share/nagios/docs/pluginapi.html
|
||||
#usr/share/nagios/docs/plugins.html
|
||||
#usr/share/nagios/docs/quickstart-fedora.html
|
||||
#usr/share/nagios/docs/quickstart-opensuse.html
|
||||
#usr/share/nagios/docs/quickstart-ubuntu.html
|
||||
#usr/share/nagios/docs/quickstart.html
|
||||
#usr/share/nagios/docs/redundancy.html
|
||||
#usr/share/nagios/docs/robots.txt
|
||||
#usr/share/nagios/docs/security.html
|
||||
#usr/share/nagios/docs/servicechecks.html
|
||||
#usr/share/nagios/docs/stalking.html
|
||||
#usr/share/nagios/docs/startstop.html
|
||||
#usr/share/nagios/docs/statetypes.html
|
||||
#usr/share/nagios/docs/timeperiods.html
|
||||
#usr/share/nagios/docs/toc.html
|
||||
#usr/share/nagios/docs/tuning.html
|
||||
#usr/share/nagios/docs/upgrading.html
|
||||
#usr/share/nagios/docs/verifyconfig.html
|
||||
#usr/share/nagios/docs/volatileservices.html
|
||||
#usr/share/nagios/docs/whatsnew.html
|
||||
usr/share/nagios/images
|
||||
#usr/share/nagios/images/NagiosEnterprises-whitebg-112x46.png
|
||||
#usr/share/nagios/images/ack.gif
|
||||
#usr/share/nagios/images/action.gif
|
||||
#usr/share/nagios/images/command.png
|
||||
#usr/share/nagios/images/comment.gif
|
||||
#usr/share/nagios/images/contexthelp1.gif
|
||||
#usr/share/nagios/images/contexthelp2.gif
|
||||
#usr/share/nagios/images/critical.png
|
||||
#usr/share/nagios/images/delay.gif
|
||||
#usr/share/nagios/images/delete.gif
|
||||
#usr/share/nagios/images/detail.gif
|
||||
#usr/share/nagios/images/disabled.gif
|
||||
#usr/share/nagios/images/down.gif
|
||||
#usr/share/nagios/images/downtime.gif
|
||||
#usr/share/nagios/images/empty.gif
|
||||
#usr/share/nagios/images/enabled.gif
|
||||
#usr/share/nagios/images/extinfo.gif
|
||||
#usr/share/nagios/images/favicon.ico
|
||||
#usr/share/nagios/images/flapping.gif
|
||||
#usr/share/nagios/images/globe-support-150x150.png
|
||||
#usr/share/nagios/images/greendot.gif
|
||||
#usr/share/nagios/images/histogram.png
|
||||
#usr/share/nagios/images/history.gif
|
||||
#usr/share/nagios/images/hostevent.gif
|
||||
#usr/share/nagios/images/info.png
|
||||
#usr/share/nagios/images/left.gif
|
||||
#usr/share/nagios/images/logofullsize.png
|
||||
#usr/share/nagios/images/logos
|
||||
#usr/share/nagios/images/logos/nagios.gd2
|
||||
#usr/share/nagios/images/logos/nagios.gif
|
||||
#usr/share/nagios/images/logos/nagiosvrml.png
|
||||
#usr/share/nagios/images/logos/unknown.gd2
|
||||
#usr/share/nagios/images/logos/unknown.gif
|
||||
#usr/share/nagios/images/logrotate.png
|
||||
#usr/share/nagios/images/ndisabled.gif
|
||||
#usr/share/nagios/images/noack.gif
|
||||
#usr/share/nagios/images/notes.gif
|
||||
#usr/share/nagios/images/notify.gif
|
||||
#usr/share/nagios/images/orangedot.gif
|
||||
#usr/share/nagios/images/passiveonly.gif
|
||||
#usr/share/nagios/images/recovery.png
|
||||
#usr/share/nagios/images/redudancy.png
|
||||
#usr/share/nagios/images/redundancy.png
|
||||
#usr/share/nagios/images/restart.gif
|
||||
#usr/share/nagios/images/right.gif
|
||||
#usr/share/nagios/images/sblogo.jpg
|
||||
#usr/share/nagios/images/serviceevent.gif
|
||||
#usr/share/nagios/images/splunk1.gif
|
||||
#usr/share/nagios/images/splunk2.gif
|
||||
#usr/share/nagios/images/start.gif
|
||||
#usr/share/nagios/images/status.gif
|
||||
#usr/share/nagios/images/status2.gif
|
||||
#usr/share/nagios/images/status3.gif
|
||||
#usr/share/nagios/images/status4.gif
|
||||
#usr/share/nagios/images/stop.gif
|
||||
#usr/share/nagios/images/tacdisabled.jpg
|
||||
#usr/share/nagios/images/tacdisabled.png
|
||||
#usr/share/nagios/images/tacenabled.jpg
|
||||
#usr/share/nagios/images/tacenabled.png
|
||||
#usr/share/nagios/images/thermcrit.png
|
||||
#usr/share/nagios/images/thermok.png
|
||||
#usr/share/nagios/images/thermwarn.png
|
||||
#usr/share/nagios/images/trends.gif
|
||||
#usr/share/nagios/images/trendshost.png
|
||||
#usr/share/nagios/images/trendssvc.png
|
||||
#usr/share/nagios/images/unknown.png
|
||||
#usr/share/nagios/images/up.gif
|
||||
#usr/share/nagios/images/warning.png
|
||||
#usr/share/nagios/images/weblogo1.png
|
||||
#usr/share/nagios/images/zoom1.gif
|
||||
#usr/share/nagios/images/zoom2.gif
|
||||
usr/share/nagios/index.html
|
||||
usr/share/nagios/main.html
|
||||
usr/share/nagios/media
|
||||
#usr/share/nagios/robots.txt
|
||||
#usr/share/nagios/side.html
|
||||
usr/share/nagios/ssi
|
||||
usr/share/nagios/stylesheets
|
||||
#usr/share/nagios/stylesheets/avail.css
|
||||
#usr/share/nagios/stylesheets/checksanity.css
|
||||
#usr/share/nagios/stylesheets/cmd.css
|
||||
#usr/share/nagios/stylesheets/common.css
|
||||
#usr/share/nagios/stylesheets/config.css
|
||||
#usr/share/nagios/stylesheets/extinfo.css
|
||||
#usr/share/nagios/stylesheets/histogram.css
|
||||
#usr/share/nagios/stylesheets/history.css
|
||||
#usr/share/nagios/stylesheets/ministatus.css
|
||||
#usr/share/nagios/stylesheets/notifications.css
|
||||
#usr/share/nagios/stylesheets/outages.css
|
||||
#usr/share/nagios/stylesheets/showlog.css
|
||||
#usr/share/nagios/stylesheets/status.css
|
||||
#usr/share/nagios/stylesheets/statusmap.css
|
||||
#usr/share/nagios/stylesheets/summary.css
|
||||
#usr/share/nagios/stylesheets/tac.css
|
||||
#usr/share/nagios/stylesheets/trends.css
|
||||
var/nagios
|
||||
var/nagios/archives
|
||||
var/nagios/rw
|
||||
var/nagios/spool
|
||||
var/nagios/spool/checkresults
|
||||
etc/httpd/conf/vhosts.d/nagios.conf
|
||||
79
config/rootfiles/packages/nagios-plugins
Normal file
79
config/rootfiles/packages/nagios-plugins
Normal file
@@ -0,0 +1,79 @@
|
||||
usr/lib/nagios/plugins
|
||||
usr/lib/nagios/plugins/check_apt
|
||||
usr/lib/nagios/plugins/check_breeze
|
||||
usr/lib/nagios/plugins/check_by_ssh
|
||||
usr/lib/nagios/plugins/check_clamd
|
||||
usr/lib/nagios/plugins/check_cluster
|
||||
usr/lib/nagios/plugins/check_dhcp
|
||||
usr/lib/nagios/plugins/check_dig
|
||||
usr/lib/nagios/plugins/check_disk
|
||||
usr/lib/nagios/plugins/check_disk_smb
|
||||
usr/lib/nagios/plugins/check_dns
|
||||
usr/lib/nagios/plugins/check_dummy
|
||||
usr/lib/nagios/plugins/check_file_age
|
||||
usr/lib/nagios/plugins/check_flexlm
|
||||
usr/lib/nagios/plugins/check_ftp
|
||||
usr/lib/nagios/plugins/check_hpjd
|
||||
usr/lib/nagios/plugins/check_http
|
||||
usr/lib/nagios/plugins/check_icmp
|
||||
usr/lib/nagios/plugins/check_ide_smart
|
||||
usr/lib/nagios/plugins/check_ifoperstatus
|
||||
usr/lib/nagios/plugins/check_ifstatus
|
||||
usr/lib/nagios/plugins/check_imap
|
||||
usr/lib/nagios/plugins/check_ircd
|
||||
usr/lib/nagios/plugins/check_jabber
|
||||
usr/lib/nagios/plugins/check_ldap
|
||||
usr/lib/nagios/plugins/check_ldaps
|
||||
usr/lib/nagios/plugins/check_load
|
||||
usr/lib/nagios/plugins/check_log
|
||||
usr/lib/nagios/plugins/check_mailq
|
||||
usr/lib/nagios/plugins/check_mrtg
|
||||
usr/lib/nagios/plugins/check_mrtgtraf
|
||||
usr/lib/nagios/plugins/check_mysql
|
||||
usr/lib/nagios/plugins/check_mysql_query
|
||||
usr/lib/nagios/plugins/check_nagios
|
||||
usr/lib/nagios/plugins/check_nntp
|
||||
usr/lib/nagios/plugins/check_nntps
|
||||
usr/lib/nagios/plugins/check_nt
|
||||
usr/lib/nagios/plugins/check_ntp
|
||||
usr/lib/nagios/plugins/check_ntp_peer
|
||||
usr/lib/nagios/plugins/check_ntp_time
|
||||
usr/lib/nagios/plugins/check_nwstat
|
||||
usr/lib/nagios/plugins/check_oracle
|
||||
usr/lib/nagios/plugins/check_overcr
|
||||
usr/lib/nagios/plugins/check_ping
|
||||
usr/lib/nagios/plugins/check_pop
|
||||
usr/lib/nagios/plugins/check_procs
|
||||
usr/lib/nagios/plugins/check_real
|
||||
usr/lib/nagios/plugins/check_rpc
|
||||
usr/lib/nagios/plugins/check_sensors
|
||||
usr/lib/nagios/plugins/check_simap
|
||||
usr/lib/nagios/plugins/check_smtp
|
||||
usr/lib/nagios/plugins/check_snmp
|
||||
usr/lib/nagios/plugins/check_spop
|
||||
usr/lib/nagios/plugins/check_ssh
|
||||
usr/lib/nagios/plugins/check_ssmtp
|
||||
usr/lib/nagios/plugins/check_swap
|
||||
usr/lib/nagios/plugins/check_tcp
|
||||
usr/lib/nagios/plugins/check_time
|
||||
usr/lib/nagios/plugins/check_udp
|
||||
usr/lib/nagios/plugins/check_ups
|
||||
usr/lib/nagios/plugins/check_uptime
|
||||
usr/lib/nagios/plugins/check_users
|
||||
usr/lib/nagios/plugins/check_wave
|
||||
usr/lib/nagios/plugins/eventhandlers
|
||||
usr/lib/nagios/plugins/eventhandlers/disable_active_service_checks
|
||||
usr/lib/nagios/plugins/eventhandlers/disable_notifications
|
||||
usr/lib/nagios/plugins/eventhandlers/distributed-monitoring
|
||||
usr/lib/nagios/plugins/eventhandlers/distributed-monitoring/obsessive_svc_handler
|
||||
usr/lib/nagios/plugins/eventhandlers/distributed-monitoring/submit_check_result_via_nsca
|
||||
usr/lib/nagios/plugins/eventhandlers/enable_active_service_checks
|
||||
usr/lib/nagios/plugins/eventhandlers/enable_notifications
|
||||
usr/lib/nagios/plugins/eventhandlers/redundancy-scenario1
|
||||
usr/lib/nagios/plugins/eventhandlers/redundancy-scenario1/handle-master-host-event
|
||||
usr/lib/nagios/plugins/eventhandlers/redundancy-scenario1/handle-master-proc-event
|
||||
usr/lib/nagios/plugins/eventhandlers/submit_check_result
|
||||
usr/lib/nagios/plugins/negate
|
||||
usr/lib/nagios/plugins/urlize
|
||||
usr/lib/nagios/plugins/utils.pm
|
||||
usr/lib/nagios/plugins/utils.sh
|
||||
@@ -1,403 +0,0 @@
|
||||
#etc/nagiosql
|
||||
#etc/nagiosql/backup
|
||||
#etc/nagiosql/backup/hosts
|
||||
etc/nagiosql/backup/hosts/.placeholder
|
||||
#etc/nagiosql/backup/services
|
||||
etc/nagiosql/backup/services/.placeholder
|
||||
#etc/nagiosql/hosts
|
||||
etc/nagiosql/hosts/.placeholder
|
||||
#etc/nagiosql/services
|
||||
etc/nagiosql/services/.placeholder
|
||||
#usr/lib/php/HTML
|
||||
#usr/lib/php/HTML/Template
|
||||
usr/lib/php/HTML/Template/IT.php
|
||||
usr/lib/php/HTML/Template/ITX.php
|
||||
usr/lib/php/HTML/Template/IT_Error.php
|
||||
usr/share/nagiosql
|
||||
#usr/share/nagiosql/admin
|
||||
#usr/share/nagiosql/admin.php
|
||||
#usr/share/nagiosql/admin/administration.php
|
||||
#usr/share/nagiosql/admin/alarming.php
|
||||
#usr/share/nagiosql/admin/cgicfg.php
|
||||
#usr/share/nagiosql/admin/checkcommands.php
|
||||
#usr/share/nagiosql/admin/commandline.php
|
||||
#usr/share/nagiosql/admin/commands.php
|
||||
#usr/share/nagiosql/admin/contactgroups.php
|
||||
#usr/share/nagiosql/admin/contacts.php
|
||||
#usr/share/nagiosql/admin/contacttemplates.php
|
||||
#usr/share/nagiosql/admin/delbackup.php
|
||||
#usr/share/nagiosql/admin/domain.php
|
||||
#usr/share/nagiosql/admin/download.php
|
||||
#usr/share/nagiosql/admin/errorsite.php
|
||||
#usr/share/nagiosql/admin/helpedit.php
|
||||
#usr/share/nagiosql/admin/hostdependencies.php
|
||||
#usr/share/nagiosql/admin/hostescalations.php
|
||||
#usr/share/nagiosql/admin/hostextinfo.php
|
||||
#usr/share/nagiosql/admin/hostgroups.php
|
||||
#usr/share/nagiosql/admin/hosts.php
|
||||
#usr/share/nagiosql/admin/hosttemplates.php
|
||||
#usr/share/nagiosql/admin/import.php
|
||||
#usr/share/nagiosql/admin/index.html
|
||||
#usr/share/nagiosql/admin/info.php
|
||||
#usr/share/nagiosql/admin/logbook.php
|
||||
#usr/share/nagiosql/admin/menuaccess.php
|
||||
#usr/share/nagiosql/admin/monitoring.php
|
||||
#usr/share/nagiosql/admin/mutdialog.php
|
||||
#usr/share/nagiosql/admin/nagioscfg.php
|
||||
#usr/share/nagiosql/admin/password.php
|
||||
#usr/share/nagiosql/admin/searchhosts.php
|
||||
#usr/share/nagiosql/admin/servicedependencies.php
|
||||
#usr/share/nagiosql/admin/serviceescalations.php
|
||||
#usr/share/nagiosql/admin/serviceextinfo.php
|
||||
#usr/share/nagiosql/admin/servicegroups.php
|
||||
#usr/share/nagiosql/admin/services.php
|
||||
#usr/share/nagiosql/admin/servicetemplates.php
|
||||
#usr/share/nagiosql/admin/settings.php
|
||||
#usr/share/nagiosql/admin/specials.php
|
||||
#usr/share/nagiosql/admin/templatedefinitions.php
|
||||
#usr/share/nagiosql/admin/timedefinitions.php
|
||||
#usr/share/nagiosql/admin/timeperiods.php
|
||||
#usr/share/nagiosql/admin/tools.php
|
||||
#usr/share/nagiosql/admin/user.php
|
||||
#usr/share/nagiosql/admin/variabledefinitions.php
|
||||
#usr/share/nagiosql/admin/verify.php
|
||||
#usr/share/nagiosql/config
|
||||
#usr/share/nagiosql/config/fieldvars.php
|
||||
#usr/share/nagiosql/config/locale
|
||||
#usr/share/nagiosql/config/locale/de_DE
|
||||
#usr/share/nagiosql/config/locale/de_DE/LC_MESSAGES
|
||||
#usr/share/nagiosql/config/locale/de_DE/LC_MESSAGES/de_DE.mo
|
||||
#usr/share/nagiosql/config/locale/de_DE/LC_MESSAGES/index.html
|
||||
#usr/share/nagiosql/config/locale/de_DE/index.html
|
||||
#usr/share/nagiosql/config/locale/en_GB
|
||||
#usr/share/nagiosql/config/locale/en_GB/LC_MESSAGES
|
||||
#usr/share/nagiosql/config/locale/en_GB/LC_MESSAGES/en_GB.mo
|
||||
#usr/share/nagiosql/config/locale/en_GB/LC_MESSAGES/index.html
|
||||
#usr/share/nagiosql/config/locale/en_GB/index.html
|
||||
#usr/share/nagiosql/config/locale/es_ES
|
||||
#usr/share/nagiosql/config/locale/es_ES/LC_MESSAGES
|
||||
#usr/share/nagiosql/config/locale/es_ES/LC_MESSAGES/es_ES.mo
|
||||
#usr/share/nagiosql/config/locale/es_ES/LC_MESSAGES/index.html
|
||||
#usr/share/nagiosql/config/locale/es_ES/index.html
|
||||
#usr/share/nagiosql/config/locale/fr_FR
|
||||
#usr/share/nagiosql/config/locale/fr_FR/LC_MESSAGES
|
||||
#usr/share/nagiosql/config/locale/fr_FR/LC_MESSAGES/fr_FR.mo
|
||||
#usr/share/nagiosql/config/locale/fr_FR/LC_MESSAGES/index.html
|
||||
#usr/share/nagiosql/config/locale/fr_FR/index.html
|
||||
#usr/share/nagiosql/config/locale/it_IT
|
||||
#usr/share/nagiosql/config/locale/it_IT/LC_MESSAGES
|
||||
#usr/share/nagiosql/config/locale/it_IT/LC_MESSAGES/index.html
|
||||
#usr/share/nagiosql/config/locale/it_IT/LC_MESSAGES/it_IT.mo
|
||||
#usr/share/nagiosql/config/locale/it_IT/index.html
|
||||
#usr/share/nagiosql/config/locale/pl_PL
|
||||
#usr/share/nagiosql/config/locale/pl_PL/LC_MESSAGES
|
||||
#usr/share/nagiosql/config/locale/pl_PL/LC_MESSAGES/index.html
|
||||
#usr/share/nagiosql/config/locale/pl_PL/LC_MESSAGES/pl_PL.mo
|
||||
#usr/share/nagiosql/config/locale/pl_PL/index.html
|
||||
#usr/share/nagiosql/config/locale/ru_RU
|
||||
#usr/share/nagiosql/config/locale/ru_RU/LC_MESSAGES
|
||||
#usr/share/nagiosql/config/locale/ru_RU/LC_MESSAGES/index.html
|
||||
#usr/share/nagiosql/config/locale/ru_RU/LC_MESSAGES/ru_RU.mo
|
||||
#usr/share/nagiosql/config/locale/ru_RU/index.html
|
||||
#usr/share/nagiosql/config/locale/zh_CN
|
||||
#usr/share/nagiosql/config/locale/zh_CN/LC_MESSAGES
|
||||
#usr/share/nagiosql/config/locale/zh_CN/LC_MESSAGES/index.html
|
||||
#usr/share/nagiosql/config/locale/zh_CN/LC_MESSAGES/zh_CN.mo
|
||||
#usr/share/nagiosql/config/locale/zh_CN/index.html
|
||||
#usr/share/nagiosql/config/main.css
|
||||
#usr/share/nagiosql/favicon.ico
|
||||
#usr/share/nagiosql/functions
|
||||
#usr/share/nagiosql/functions/common.js
|
||||
#usr/share/nagiosql/functions/config_class.php
|
||||
#usr/share/nagiosql/functions/data_class.php
|
||||
#usr/share/nagiosql/functions/import_class.php
|
||||
#usr/share/nagiosql/functions/mysql_class.php
|
||||
#usr/share/nagiosql/functions/nag_class.php
|
||||
#usr/share/nagiosql/functions/prepend_adm.php
|
||||
#usr/share/nagiosql/functions/supportive.php
|
||||
#usr/share/nagiosql/functions/tinyMCE
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/langs
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/langs/en.js
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/license.txt
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/plugins
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/plugins/contextmenu
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/plugins/contextmenu/editor_plugin.js
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/plugins/safari
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/plugins/safari/blank.htm
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/plugins/safari/editor_plugin.js
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/plugins/searchreplace
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/plugins/searchreplace/css
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/plugins/searchreplace/css/searchreplace.css
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/plugins/searchreplace/editor_plugin.js
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/plugins/searchreplace/js
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/plugins/searchreplace/js/searchreplace.js
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/plugins/searchreplace/langs
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/plugins/searchreplace/langs/en_dlg.js
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/plugins/searchreplace/searchreplace.htm
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/plugins/table
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/plugins/table/cell.htm
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/plugins/table/css
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/plugins/table/css/cell.css
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/plugins/table/css/row.css
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/plugins/table/css/table.css
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/plugins/table/editor_plugin.js
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/plugins/table/js
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/plugins/table/js/cell.js
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/plugins/table/js/merge_cells.js
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/plugins/table/js/row.js
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/plugins/table/js/table.js
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/plugins/table/langs
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/plugins/table/langs/en_dlg.js
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/plugins/table/merge_cells.htm
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/plugins/table/row.htm
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/plugins/table/table.htm
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/themes
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/themes/advanced
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/themes/advanced/about.htm
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/themes/advanced/anchor.htm
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/themes/advanced/charmap.htm
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/themes/advanced/color_picker.htm
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/themes/advanced/editor_template.js
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/themes/advanced/image.htm
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/themes/advanced/img
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/themes/advanced/img/colorpicker.jpg
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/themes/advanced/img/icons.gif
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/themes/advanced/js
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/themes/advanced/js/about.js
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/themes/advanced/js/anchor.js
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/themes/advanced/js/charmap.js
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/themes/advanced/js/color_picker.js
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/themes/advanced/js/image.js
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/themes/advanced/js/link.js
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/themes/advanced/js/source_editor.js
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/themes/advanced/langs
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/themes/advanced/langs/en.js
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/themes/advanced/langs/en_dlg.js
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/themes/advanced/link.htm
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/themes/advanced/skins
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/themes/advanced/skins/default
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/themes/advanced/skins/default/content.css
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/themes/advanced/skins/default/dialog.css
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/themes/advanced/skins/default/img
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/themes/advanced/skins/default/img/buttons.png
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/themes/advanced/skins/default/img/items.gif
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/themes/advanced/skins/default/img/menu_check.gif
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/themes/advanced/skins/default/img/progress.gif
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/themes/advanced/skins/default/img/tabs.gif
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/themes/advanced/skins/default/ui.css
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/themes/advanced/skins/o2k7
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/themes/advanced/skins/o2k7/content.css
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/themes/advanced/skins/o2k7/dialog.css
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/themes/advanced/skins/o2k7/img
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_black.png
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_silver.png
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/themes/advanced/skins/o2k7/ui.css
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/themes/advanced/skins/o2k7/ui_black.css
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/themes/advanced/source_editor.htm
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/tiny_mce.js
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/tiny_mce_popup.js
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/utils
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/utils/editable_selects.js
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/utils/form_utils.js
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/utils/mctabs.js
|
||||
#usr/share/nagiosql/functions/tinyMCE/jscripts/tiny_mce/utils/validate.js
|
||||
#usr/share/nagiosql/functions/translator.php
|
||||
#usr/share/nagiosql/functions/yui
|
||||
#usr/share/nagiosql/functions/yui/build
|
||||
#usr/share/nagiosql/functions/yui/build/assets
|
||||
#usr/share/nagiosql/functions/yui/build/assets/skins
|
||||
#usr/share/nagiosql/functions/yui/build/assets/skins/sam
|
||||
#usr/share/nagiosql/functions/yui/build/assets/skins/sam/sprite.png
|
||||
#usr/share/nagiosql/functions/yui/build/button
|
||||
#usr/share/nagiosql/functions/yui/build/button/assets
|
||||
#usr/share/nagiosql/functions/yui/build/button/assets/skins
|
||||
#usr/share/nagiosql/functions/yui/build/button/assets/skins/sam
|
||||
#usr/share/nagiosql/functions/yui/build/button/assets/skins/sam/button.css
|
||||
#usr/share/nagiosql/functions/yui/build/button/assets/skins/sam/menu-button-arrow-disabled.png
|
||||
#usr/share/nagiosql/functions/yui/build/button/assets/skins/sam/menu-button-arrow.png
|
||||
#usr/share/nagiosql/functions/yui/build/button/assets/skins/sam/split-button-arrow-active.png
|
||||
#usr/share/nagiosql/functions/yui/build/button/assets/skins/sam/split-button-arrow-disabled.png
|
||||
#usr/share/nagiosql/functions/yui/build/button/assets/skins/sam/split-button-arrow-focus.png
|
||||
#usr/share/nagiosql/functions/yui/build/button/assets/skins/sam/split-button-arrow-hover.png
|
||||
#usr/share/nagiosql/functions/yui/build/button/assets/skins/sam/split-button-arrow.png
|
||||
#usr/share/nagiosql/functions/yui/build/button/button-min.js
|
||||
#usr/share/nagiosql/functions/yui/build/calendar
|
||||
#usr/share/nagiosql/functions/yui/build/calendar/assets
|
||||
#usr/share/nagiosql/functions/yui/build/calendar/assets/skins
|
||||
#usr/share/nagiosql/functions/yui/build/calendar/assets/skins/sam
|
||||
#usr/share/nagiosql/functions/yui/build/calendar/assets/skins/sam/calendar.css
|
||||
#usr/share/nagiosql/functions/yui/build/calendar/calendar-min.js
|
||||
#usr/share/nagiosql/functions/yui/build/connection
|
||||
#usr/share/nagiosql/functions/yui/build/connection/connection-min.js
|
||||
#usr/share/nagiosql/functions/yui/build/container
|
||||
#usr/share/nagiosql/functions/yui/build/container/assets
|
||||
#usr/share/nagiosql/functions/yui/build/container/assets/skins
|
||||
#usr/share/nagiosql/functions/yui/build/container/assets/skins/sam
|
||||
#usr/share/nagiosql/functions/yui/build/container/assets/skins/sam/container.css
|
||||
#usr/share/nagiosql/functions/yui/build/container/container-min.js
|
||||
#usr/share/nagiosql/functions/yui/build/element
|
||||
#usr/share/nagiosql/functions/yui/build/element/element-beta-min.js
|
||||
#usr/share/nagiosql/functions/yui/build/fonts
|
||||
#usr/share/nagiosql/functions/yui/build/fonts/fonts-min.css
|
||||
#usr/share/nagiosql/functions/yui/build/tabview
|
||||
#usr/share/nagiosql/functions/yui/build/tabview/assets
|
||||
#usr/share/nagiosql/functions/yui/build/tabview/assets/skins
|
||||
#usr/share/nagiosql/functions/yui/build/tabview/assets/skins/sam
|
||||
#usr/share/nagiosql/functions/yui/build/tabview/assets/skins/sam/tabview.css
|
||||
#usr/share/nagiosql/functions/yui/build/tabview/tabview-min.js
|
||||
#usr/share/nagiosql/functions/yui/build/utilities
|
||||
#usr/share/nagiosql/functions/yui/build/utilities/utilities.js
|
||||
#usr/share/nagiosql/functions/yui/build/yahoo-dom-event
|
||||
#usr/share/nagiosql/functions/yui/build/yahoo-dom-event/yahoo-dom-event.js
|
||||
#usr/share/nagiosql/images
|
||||
#usr/share/nagiosql/images/admin.png
|
||||
#usr/share/nagiosql/images/bg_menu_aktiv.png
|
||||
#usr/share/nagiosql/images/bg_menu_inaktiv.png
|
||||
#usr/share/nagiosql/images/bg_submenu.png
|
||||
#usr/share/nagiosql/images/bg_top.png
|
||||
#usr/share/nagiosql/images/calbtn.gif
|
||||
#usr/share/nagiosql/images/copy.gif
|
||||
#usr/share/nagiosql/images/del.png
|
||||
#usr/share/nagiosql/images/delete.gif
|
||||
#usr/share/nagiosql/images/down.gif
|
||||
#usr/share/nagiosql/images/download.gif
|
||||
#usr/share/nagiosql/images/edit.gif
|
||||
#usr/share/nagiosql/images/info.gif
|
||||
#usr/share/nagiosql/images/input.png
|
||||
#usr/share/nagiosql/images/inputlock.png
|
||||
#usr/share/nagiosql/images/inputmust.png
|
||||
#usr/share/nagiosql/images/left.gif
|
||||
#usr/share/nagiosql/images/login-form.png
|
||||
#usr/share/nagiosql/images/logo_top.png
|
||||
#usr/share/nagiosql/images/lupe.gif
|
||||
#usr/share/nagiosql/images/menu.gif
|
||||
#usr/share/nagiosql/images/menu_bg.png
|
||||
#usr/share/nagiosql/images/menu_bg2.png
|
||||
#usr/share/nagiosql/images/menusub_bg.png
|
||||
#usr/share/nagiosql/images/mut.gif
|
||||
#usr/share/nagiosql/images/nagiosql_logo.png
|
||||
#usr/share/nagiosql/images/pfeil_l.gif
|
||||
#usr/share/nagiosql/images/pfeil_r.gif
|
||||
#usr/share/nagiosql/images/pixel.gif
|
||||
#usr/share/nagiosql/images/right.gif
|
||||
#usr/share/nagiosql/images/tip.gif
|
||||
#usr/share/nagiosql/images/tip.png
|
||||
#usr/share/nagiosql/images/titel_v2.png
|
||||
#usr/share/nagiosql/images/up.gif
|
||||
#usr/share/nagiosql/images/upArrow.png
|
||||
#usr/share/nagiosql/images/write.gif
|
||||
#usr/share/nagiosql/index.php
|
||||
#usr/share/nagiosql/install
|
||||
#usr/share/nagiosql/install/css
|
||||
#usr/share/nagiosql/install/css/index.html
|
||||
#usr/share/nagiosql/install/css/install.css
|
||||
#usr/share/nagiosql/install/doc
|
||||
#usr/share/nagiosql/install/doc/INSTALLATION_deDE.txt
|
||||
#usr/share/nagiosql/install/doc/INSTALLATION_enGB.txt
|
||||
#usr/share/nagiosql/install/functions
|
||||
#usr/share/nagiosql/install/functions/func_installer.php
|
||||
#usr/share/nagiosql/install/images
|
||||
#usr/share/nagiosql/install/images/background.png
|
||||
#usr/share/nagiosql/install/images/body_background.png
|
||||
#usr/share/nagiosql/install/images/favicon.ico
|
||||
#usr/share/nagiosql/install/images/index-install.png
|
||||
#usr/share/nagiosql/install/images/index-update.png
|
||||
#usr/share/nagiosql/install/images/index.html
|
||||
#usr/share/nagiosql/install/images/install.png
|
||||
#usr/share/nagiosql/install/images/invalid.png
|
||||
#usr/share/nagiosql/install/images/minus.png
|
||||
#usr/share/nagiosql/install/images/nagiosql.png
|
||||
#usr/share/nagiosql/install/images/next.png
|
||||
#usr/share/nagiosql/install/images/pixel.gif
|
||||
#usr/share/nagiosql/install/images/plus.png
|
||||
#usr/share/nagiosql/install/images/previous.png
|
||||
#usr/share/nagiosql/install/images/reload.png
|
||||
#usr/share/nagiosql/install/images/skip.png
|
||||
#usr/share/nagiosql/install/images/step1_active.png
|
||||
#usr/share/nagiosql/install/images/step1_deactive.png
|
||||
#usr/share/nagiosql/install/images/step2_active.png
|
||||
#usr/share/nagiosql/install/images/step2_deactive.png
|
||||
#usr/share/nagiosql/install/images/step3_active.png
|
||||
#usr/share/nagiosql/install/images/step3_deactive.png
|
||||
#usr/share/nagiosql/install/images/update.png
|
||||
#usr/share/nagiosql/install/images/valid.png
|
||||
#usr/share/nagiosql/install/images/warning.png
|
||||
#usr/share/nagiosql/install/index.php
|
||||
#usr/share/nagiosql/install/install.php
|
||||
#usr/share/nagiosql/install/js
|
||||
#usr/share/nagiosql/install/js/functions.js
|
||||
#usr/share/nagiosql/install/js/index.html
|
||||
#usr/share/nagiosql/install/js/prototype.js
|
||||
#usr/share/nagiosql/install/js/validation.js
|
||||
#usr/share/nagiosql/install/sql
|
||||
#usr/share/nagiosql/install/sql/import_nagios_sample.sql
|
||||
#usr/share/nagiosql/install/sql/index.html
|
||||
#usr/share/nagiosql/install/sql/nagiosQL_v3_db_mysql.sql
|
||||
#usr/share/nagiosql/install/sql/update_200_202.sql
|
||||
#usr/share/nagiosql/install/sql/update_202_303.sql
|
||||
#usr/share/nagiosql/install/sql/update_300_301.sql
|
||||
#usr/share/nagiosql/install/sql/update_300b1_300b2.sql
|
||||
#usr/share/nagiosql/install/sql/update_300b2_300rc1.sql
|
||||
#usr/share/nagiosql/install/sql/update_300rc1_300.sql
|
||||
#usr/share/nagiosql/install/sql/update_301_302.sql
|
||||
#usr/share/nagiosql/install/sql/update_302_303.sql
|
||||
#usr/share/nagiosql/install/status.php
|
||||
#usr/share/nagiosql/install/step1.php
|
||||
#usr/share/nagiosql/install/step2.php
|
||||
#usr/share/nagiosql/install/step3.php
|
||||
#usr/share/nagiosql/templates
|
||||
#usr/share/nagiosql/templates/admin
|
||||
#usr/share/nagiosql/templates/admin/admin_master.tpl.htm
|
||||
#usr/share/nagiosql/templates/admin/checkcommands.tpl.htm
|
||||
#usr/share/nagiosql/templates/admin/contactgroups.tpl.htm
|
||||
#usr/share/nagiosql/templates/admin/contacts.tpl.htm
|
||||
#usr/share/nagiosql/templates/admin/contacttemplates.tpl.htm
|
||||
#usr/share/nagiosql/templates/admin/delbackup.tpl.htm
|
||||
#usr/share/nagiosql/templates/admin/domain.tpl.htm
|
||||
#usr/share/nagiosql/templates/admin/helpedit.tpl.htm
|
||||
#usr/share/nagiosql/templates/admin/hostdependencies.tpl.htm
|
||||
#usr/share/nagiosql/templates/admin/hostescalations.tpl.htm
|
||||
#usr/share/nagiosql/templates/admin/hostextinfo.tpl.htm
|
||||
#usr/share/nagiosql/templates/admin/hostgroups.tpl.htm
|
||||
#usr/share/nagiosql/templates/admin/hosts.tpl.htm
|
||||
#usr/share/nagiosql/templates/admin/hosttemplates.tpl.htm
|
||||
#usr/share/nagiosql/templates/admin/import.tpl.htm
|
||||
#usr/share/nagiosql/templates/admin/mainpages.tpl.htm
|
||||
#usr/share/nagiosql/templates/admin/mutdialog.tpl.htm
|
||||
#usr/share/nagiosql/templates/admin/nagioscfg.tpl.htm
|
||||
#usr/share/nagiosql/templates/admin/servicedependencies.tpl.htm
|
||||
#usr/share/nagiosql/templates/admin/serviceescalations.tpl.htm
|
||||
#usr/share/nagiosql/templates/admin/serviceextinfo.tpl.htm
|
||||
#usr/share/nagiosql/templates/admin/servicegroups.tpl.htm
|
||||
#usr/share/nagiosql/templates/admin/services.tpl.htm
|
||||
#usr/share/nagiosql/templates/admin/servicetemplates.tpl.htm
|
||||
#usr/share/nagiosql/templates/admin/settings.tpl.htm
|
||||
#usr/share/nagiosql/templates/admin/timeperiods.tpl.htm
|
||||
#usr/share/nagiosql/templates/admin/user.tpl.htm
|
||||
#usr/share/nagiosql/templates/admin/verify.tpl.htm
|
||||
#usr/share/nagiosql/templates/files
|
||||
#usr/share/nagiosql/templates/files/commands.tpl.dat
|
||||
#usr/share/nagiosql/templates/files/contactgroups.tpl.dat
|
||||
#usr/share/nagiosql/templates/files/contacts.tpl.dat
|
||||
#usr/share/nagiosql/templates/files/contacttemplates.tpl.dat
|
||||
#usr/share/nagiosql/templates/files/hostdependencies.tpl.dat
|
||||
#usr/share/nagiosql/templates/files/hostescalations.tpl.dat
|
||||
#usr/share/nagiosql/templates/files/hostextinfo.tpl.dat
|
||||
#usr/share/nagiosql/templates/files/hostgroups.tpl.dat
|
||||
#usr/share/nagiosql/templates/files/hosts.tpl.dat
|
||||
#usr/share/nagiosql/templates/files/hosttemplates.tpl.dat
|
||||
#usr/share/nagiosql/templates/files/servicedependencies.tpl.dat
|
||||
#usr/share/nagiosql/templates/files/serviceescalations.tpl.dat
|
||||
#usr/share/nagiosql/templates/files/serviceextinfo.tpl.dat
|
||||
#usr/share/nagiosql/templates/files/servicegroups.tpl.dat
|
||||
#usr/share/nagiosql/templates/files/services.tpl.dat
|
||||
#usr/share/nagiosql/templates/files/servicetemplates.tpl.dat
|
||||
#usr/share/nagiosql/templates/files/timeperiods.tpl.dat
|
||||
#usr/share/nagiosql/templates/index.tpl.htm
|
||||
#usr/share/nagiosql/templates/main.tpl.htm
|
||||
etc/httpd/conf/vhosts.d/nagios.conf
|
||||
@@ -1,357 +0,0 @@
|
||||
etc/httpd/conf/vhosts.d/openmailadmin.conf
|
||||
#srv/web/openmailadmin
|
||||
srv/web/openmailadmin/.htaccess
|
||||
#srv/web/openmailadmin/INSTALL
|
||||
srv/web/openmailadmin/LICENSE
|
||||
srv/web/openmailadmin/addresses.php
|
||||
srv/web/openmailadmin/adodb
|
||||
#srv/web/openmailadmin/adodb5
|
||||
srv/web/openmailadmin/adodb5/adodb-active-record.inc.php
|
||||
srv/web/openmailadmin/adodb5/adodb-csvlib.inc.php
|
||||
srv/web/openmailadmin/adodb5/adodb-datadict.inc.php
|
||||
srv/web/openmailadmin/adodb5/adodb-error.inc.php
|
||||
srv/web/openmailadmin/adodb5/adodb-errorhandler.inc.php
|
||||
srv/web/openmailadmin/adodb5/adodb-errorpear.inc.php
|
||||
srv/web/openmailadmin/adodb5/adodb-exceptions.inc.php
|
||||
srv/web/openmailadmin/adodb5/adodb-iterator.inc.php
|
||||
srv/web/openmailadmin/adodb5/adodb-lib.inc.php
|
||||
srv/web/openmailadmin/adodb5/adodb-memcache.lib.inc.php
|
||||
srv/web/openmailadmin/adodb5/adodb-pager.inc.php
|
||||
srv/web/openmailadmin/adodb5/adodb-pear.inc.php
|
||||
srv/web/openmailadmin/adodb5/adodb-perf.inc.php
|
||||
srv/web/openmailadmin/adodb5/adodb-php4.inc.php
|
||||
srv/web/openmailadmin/adodb5/adodb-time.inc.php
|
||||
srv/web/openmailadmin/adodb5/adodb-xmlschema.inc.php
|
||||
srv/web/openmailadmin/adodb5/adodb-xmlschema03.inc.php
|
||||
srv/web/openmailadmin/adodb5/adodb.inc.php
|
||||
#srv/web/openmailadmin/adodb5/contrib
|
||||
srv/web/openmailadmin/adodb5/contrib/toxmlrpc.inc.php
|
||||
#srv/web/openmailadmin/adodb5/cute_icons_for_site
|
||||
srv/web/openmailadmin/adodb5/cute_icons_for_site/adodb.gif
|
||||
srv/web/openmailadmin/adodb5/cute_icons_for_site/adodb2.gif
|
||||
#srv/web/openmailadmin/adodb5/datadict
|
||||
srv/web/openmailadmin/adodb5/datadict/datadict-access.inc.php
|
||||
srv/web/openmailadmin/adodb5/datadict/datadict-db2.inc.php
|
||||
srv/web/openmailadmin/adodb5/datadict/datadict-firebird.inc.php
|
||||
srv/web/openmailadmin/adodb5/datadict/datadict-generic.inc.php
|
||||
srv/web/openmailadmin/adodb5/datadict/datadict-ibase.inc.php
|
||||
srv/web/openmailadmin/adodb5/datadict/datadict-informix.inc.php
|
||||
srv/web/openmailadmin/adodb5/datadict/datadict-mssql.inc.php
|
||||
srv/web/openmailadmin/adodb5/datadict/datadict-mysql.inc.php
|
||||
srv/web/openmailadmin/adodb5/datadict/datadict-oci8.inc.php
|
||||
srv/web/openmailadmin/adodb5/datadict/datadict-postgres.inc.php
|
||||
srv/web/openmailadmin/adodb5/datadict/datadict-sapdb.inc.php
|
||||
srv/web/openmailadmin/adodb5/datadict/datadict-sybase.inc.php
|
||||
#srv/web/openmailadmin/adodb5/docs
|
||||
#srv/web/openmailadmin/adodb5/docs/docs-active-record.htm
|
||||
#srv/web/openmailadmin/adodb5/docs/docs-adodb.htm
|
||||
#srv/web/openmailadmin/adodb5/docs/docs-datadict.htm
|
||||
#srv/web/openmailadmin/adodb5/docs/docs-oracle.htm
|
||||
#srv/web/openmailadmin/adodb5/docs/docs-perf.htm
|
||||
#srv/web/openmailadmin/adodb5/docs/docs-session.htm
|
||||
#srv/web/openmailadmin/adodb5/docs/docs-session.old.htm
|
||||
#srv/web/openmailadmin/adodb5/docs/old-changelog.htm
|
||||
#srv/web/openmailadmin/adodb5/docs/readme.htm
|
||||
#srv/web/openmailadmin/adodb5/docs/tips_portable_sql.htm
|
||||
#srv/web/openmailadmin/adodb5/docs/tute.htm
|
||||
#srv/web/openmailadmin/adodb5/drivers
|
||||
srv/web/openmailadmin/adodb5/drivers/adodb-access.inc.php
|
||||
srv/web/openmailadmin/adodb5/drivers/adodb-ado.inc.php
|
||||
srv/web/openmailadmin/adodb5/drivers/adodb-ado5.inc.php
|
||||
srv/web/openmailadmin/adodb5/drivers/adodb-ado5.inc.php.bak
|
||||
srv/web/openmailadmin/adodb5/drivers/adodb-ado_access.inc.php
|
||||
srv/web/openmailadmin/adodb5/drivers/adodb-ado_mssql.inc.php
|
||||
srv/web/openmailadmin/adodb5/drivers/adodb-borland_ibase.inc.php
|
||||
srv/web/openmailadmin/adodb5/drivers/adodb-csv.inc.php
|
||||
srv/web/openmailadmin/adodb5/drivers/adodb-db2.inc.php
|
||||
srv/web/openmailadmin/adodb5/drivers/adodb-db2.inc.php.bak
|
||||
srv/web/openmailadmin/adodb5/drivers/adodb-fbsql.inc.php
|
||||
srv/web/openmailadmin/adodb5/drivers/adodb-firebird.inc.php
|
||||
srv/web/openmailadmin/adodb5/drivers/adodb-ibase.inc.php
|
||||
srv/web/openmailadmin/adodb5/drivers/adodb-informix.inc.php
|
||||
srv/web/openmailadmin/adodb5/drivers/adodb-informix72.inc.php
|
||||
srv/web/openmailadmin/adodb5/drivers/adodb-ldap.inc.php
|
||||
srv/web/openmailadmin/adodb5/drivers/adodb-mssql.inc.php
|
||||
srv/web/openmailadmin/adodb5/drivers/adodb-mssql_n.inc.php
|
||||
srv/web/openmailadmin/adodb5/drivers/adodb-mssqlpo.inc.php
|
||||
srv/web/openmailadmin/adodb5/drivers/adodb-mysql.inc.php
|
||||
srv/web/openmailadmin/adodb5/drivers/adodb-mysqli.inc.php
|
||||
srv/web/openmailadmin/adodb5/drivers/adodb-mysqlpo.inc.php
|
||||
srv/web/openmailadmin/adodb5/drivers/adodb-mysqlt.inc.php
|
||||
srv/web/openmailadmin/adodb5/drivers/adodb-netezza.inc.php
|
||||
srv/web/openmailadmin/adodb5/drivers/adodb-oci8.inc.php
|
||||
srv/web/openmailadmin/adodb5/drivers/adodb-oci805.inc.php
|
||||
srv/web/openmailadmin/adodb5/drivers/adodb-oci8po.inc.php
|
||||
srv/web/openmailadmin/adodb5/drivers/adodb-odbc.inc.php
|
||||
srv/web/openmailadmin/adodb5/drivers/adodb-odbc_db2.inc.php
|
||||
srv/web/openmailadmin/adodb5/drivers/adodb-odbc_mssql.inc.php
|
||||
srv/web/openmailadmin/adodb5/drivers/adodb-odbc_oracle.inc.php
|
||||
srv/web/openmailadmin/adodb5/drivers/adodb-odbtp.inc.php
|
||||
srv/web/openmailadmin/adodb5/drivers/adodb-odbtp_unicode.inc.php
|
||||
srv/web/openmailadmin/adodb5/drivers/adodb-oracle.inc.php
|
||||
srv/web/openmailadmin/adodb5/drivers/adodb-pdo.inc.php
|
||||
srv/web/openmailadmin/adodb5/drivers/adodb-pdo_mssql.inc.php
|
||||
srv/web/openmailadmin/adodb5/drivers/adodb-pdo_mysql.inc.php
|
||||
srv/web/openmailadmin/adodb5/drivers/adodb-pdo_oci.inc.php
|
||||
srv/web/openmailadmin/adodb5/drivers/adodb-pdo_pgsql.inc.php
|
||||
srv/web/openmailadmin/adodb5/drivers/adodb-postgres.inc.php
|
||||
srv/web/openmailadmin/adodb5/drivers/adodb-postgres64.inc.php
|
||||
srv/web/openmailadmin/adodb5/drivers/adodb-postgres7.inc.php
|
||||
srv/web/openmailadmin/adodb5/drivers/adodb-postgres8.inc.php
|
||||
srv/web/openmailadmin/adodb5/drivers/adodb-proxy.inc.php
|
||||
srv/web/openmailadmin/adodb5/drivers/adodb-sapdb.inc.php
|
||||
srv/web/openmailadmin/adodb5/drivers/adodb-sqlanywhere.inc.php
|
||||
srv/web/openmailadmin/adodb5/drivers/adodb-sqlite.inc.php
|
||||
srv/web/openmailadmin/adodb5/drivers/adodb-sqlitepo.inc.php
|
||||
srv/web/openmailadmin/adodb5/drivers/adodb-sybase.inc.php
|
||||
srv/web/openmailadmin/adodb5/drivers/adodb-sybase_ase.inc.php
|
||||
srv/web/openmailadmin/adodb5/drivers/adodb-vfp.inc.php
|
||||
#srv/web/openmailadmin/adodb5/lang
|
||||
srv/web/openmailadmin/adodb5/lang/adodb-ar.inc.php
|
||||
srv/web/openmailadmin/adodb5/lang/adodb-bg.inc.php
|
||||
srv/web/openmailadmin/adodb5/lang/adodb-bgutf8.inc.php
|
||||
srv/web/openmailadmin/adodb5/lang/adodb-ca.inc.php
|
||||
srv/web/openmailadmin/adodb5/lang/adodb-cn.inc.php
|
||||
srv/web/openmailadmin/adodb5/lang/adodb-cz.inc.php
|
||||
srv/web/openmailadmin/adodb5/lang/adodb-da.inc.php
|
||||
srv/web/openmailadmin/adodb5/lang/adodb-de.inc.php
|
||||
srv/web/openmailadmin/adodb5/lang/adodb-en.inc.php
|
||||
srv/web/openmailadmin/adodb5/lang/adodb-es.inc.php
|
||||
srv/web/openmailadmin/adodb5/lang/adodb-esperanto.inc.php
|
||||
srv/web/openmailadmin/adodb5/lang/adodb-fr.inc.php
|
||||
srv/web/openmailadmin/adodb5/lang/adodb-hu.inc.php
|
||||
srv/web/openmailadmin/adodb5/lang/adodb-it.inc.php
|
||||
srv/web/openmailadmin/adodb5/lang/adodb-nl.inc.php
|
||||
srv/web/openmailadmin/adodb5/lang/adodb-pl.inc.php
|
||||
srv/web/openmailadmin/adodb5/lang/adodb-pt-br.inc.php
|
||||
srv/web/openmailadmin/adodb5/lang/adodb-ro.inc.php
|
||||
srv/web/openmailadmin/adodb5/lang/adodb-ru1251.inc.php
|
||||
srv/web/openmailadmin/adodb5/lang/adodb-sv.inc.php
|
||||
srv/web/openmailadmin/adodb5/lang/adodb-uk1251.inc.php
|
||||
srv/web/openmailadmin/adodb5/lang/adodb_th.inc.php
|
||||
srv/web/openmailadmin/adodb5/license.txt
|
||||
#srv/web/openmailadmin/adodb5/pear
|
||||
srv/web/openmailadmin/adodb5/pear/Auth
|
||||
srv/web/openmailadmin/adodb5/pear/Auth/Container
|
||||
srv/web/openmailadmin/adodb5/pear/Auth/Container/ADOdb.php
|
||||
#srv/web/openmailadmin/adodb5/pear/readme.Auth.txt
|
||||
#srv/web/openmailadmin/adodb5/perf
|
||||
srv/web/openmailadmin/adodb5/perf/perf-db2.inc.php
|
||||
srv/web/openmailadmin/adodb5/perf/perf-informix.inc.php
|
||||
srv/web/openmailadmin/adodb5/perf/perf-mssql.inc.php
|
||||
srv/web/openmailadmin/adodb5/perf/perf-mysql.inc.php
|
||||
srv/web/openmailadmin/adodb5/perf/perf-oci8.inc.php
|
||||
srv/web/openmailadmin/adodb5/perf/perf-postgres.inc.php
|
||||
srv/web/openmailadmin/adodb5/pivottable.inc.php
|
||||
#srv/web/openmailadmin/adodb5/readme.txt
|
||||
srv/web/openmailadmin/adodb5/rsfilter.inc.php
|
||||
srv/web/openmailadmin/adodb5/server.php
|
||||
#srv/web/openmailadmin/adodb5/session
|
||||
srv/web/openmailadmin/adodb5/session/adodb-compress-bzip2.php
|
||||
srv/web/openmailadmin/adodb5/session/adodb-compress-gzip.php
|
||||
srv/web/openmailadmin/adodb5/session/adodb-cryptsession.php
|
||||
srv/web/openmailadmin/adodb5/session/adodb-cryptsession2.php
|
||||
srv/web/openmailadmin/adodb5/session/adodb-encrypt-mcrypt.php
|
||||
srv/web/openmailadmin/adodb5/session/adodb-encrypt-md5.php
|
||||
srv/web/openmailadmin/adodb5/session/adodb-encrypt-secret.php
|
||||
srv/web/openmailadmin/adodb5/session/adodb-encrypt-sha1.php
|
||||
srv/web/openmailadmin/adodb5/session/adodb-sess.txt
|
||||
srv/web/openmailadmin/adodb5/session/adodb-session-clob.php
|
||||
srv/web/openmailadmin/adodb5/session/adodb-session-clob2.php
|
||||
srv/web/openmailadmin/adodb5/session/adodb-session.php
|
||||
srv/web/openmailadmin/adodb5/session/adodb-session2.php
|
||||
srv/web/openmailadmin/adodb5/session/adodb-sessions.mysql.sql
|
||||
srv/web/openmailadmin/adodb5/session/adodb-sessions.oracle.clob.sql
|
||||
srv/web/openmailadmin/adodb5/session/adodb-sessions.oracle.sql
|
||||
#srv/web/openmailadmin/adodb5/session/crypt.inc.php
|
||||
#srv/web/openmailadmin/adodb5/session/old
|
||||
srv/web/openmailadmin/adodb5/session/old/adodb-cryptsession.php
|
||||
srv/web/openmailadmin/adodb5/session/old/adodb-session-clob.php
|
||||
srv/web/openmailadmin/adodb5/session/old/adodb-session.php
|
||||
srv/web/openmailadmin/adodb5/session/old/crypt.inc.php
|
||||
srv/web/openmailadmin/adodb5/session/session_schema.xml
|
||||
srv/web/openmailadmin/adodb5/session/session_schema2.xml
|
||||
#srv/web/openmailadmin/adodb5/tests
|
||||
srv/web/openmailadmin/adodb5/tests/benchmark.php
|
||||
srv/web/openmailadmin/adodb5/tests/client.php
|
||||
srv/web/openmailadmin/adodb5/tests/pdo.php
|
||||
srv/web/openmailadmin/adodb5/tests/test-active-record.php
|
||||
srv/web/openmailadmin/adodb5/tests/test-active-recs2.php
|
||||
srv/web/openmailadmin/adodb5/tests/test-datadict.php
|
||||
srv/web/openmailadmin/adodb5/tests/test-perf.php
|
||||
srv/web/openmailadmin/adodb5/tests/test-pgblob.php
|
||||
srv/web/openmailadmin/adodb5/tests/test-php5.php
|
||||
srv/web/openmailadmin/adodb5/tests/test-xmlschema.php
|
||||
srv/web/openmailadmin/adodb5/tests/test.php
|
||||
srv/web/openmailadmin/adodb5/tests/test2.php
|
||||
srv/web/openmailadmin/adodb5/tests/test3.php
|
||||
srv/web/openmailadmin/adodb5/tests/test4.php
|
||||
srv/web/openmailadmin/adodb5/tests/test5.php
|
||||
srv/web/openmailadmin/adodb5/tests/test_rs_array.php
|
||||
srv/web/openmailadmin/adodb5/tests/testcache.php
|
||||
srv/web/openmailadmin/adodb5/tests/testdatabases.inc.php
|
||||
srv/web/openmailadmin/adodb5/tests/testgenid.php
|
||||
srv/web/openmailadmin/adodb5/tests/testmssql.php
|
||||
srv/web/openmailadmin/adodb5/tests/testoci8.php
|
||||
srv/web/openmailadmin/adodb5/tests/testoci8cursor.php
|
||||
srv/web/openmailadmin/adodb5/tests/testpaging.php
|
||||
srv/web/openmailadmin/adodb5/tests/testpear.php
|
||||
srv/web/openmailadmin/adodb5/tests/testsessions.php
|
||||
srv/web/openmailadmin/adodb5/tests/time.php
|
||||
srv/web/openmailadmin/adodb5/tests/tmssql.php
|
||||
srv/web/openmailadmin/adodb5/tests/xmlschema-mssql.xml
|
||||
srv/web/openmailadmin/adodb5/tests/xmlschema.xml
|
||||
srv/web/openmailadmin/adodb5/toexport.inc.php
|
||||
srv/web/openmailadmin/adodb5/tohtml.inc.php
|
||||
srv/web/openmailadmin/adodb5/xmlschema.dtd
|
||||
srv/web/openmailadmin/adodb5/xmlschema03.dtd
|
||||
#srv/web/openmailadmin/adodb5/xsl
|
||||
srv/web/openmailadmin/adodb5/xsl/convert-0.1-0.2.xsl
|
||||
srv/web/openmailadmin/adodb5/xsl/convert-0.1-0.3.xsl
|
||||
srv/web/openmailadmin/adodb5/xsl/convert-0.2-0.1.xsl
|
||||
srv/web/openmailadmin/adodb5/xsl/convert-0.2-0.3.xsl
|
||||
srv/web/openmailadmin/adodb5/xsl/remove-0.2.xsl
|
||||
srv/web/openmailadmin/adodb5/xsl/remove-0.3.xsl
|
||||
#srv/web/openmailadmin/design
|
||||
srv/web/openmailadmin/design/exception.css
|
||||
srv/web/openmailadmin/design/exception.js
|
||||
srv/web/openmailadmin/design/favicon.ico
|
||||
srv/web/openmailadmin/design/openmailadmin.js
|
||||
srv/web/openmailadmin/design/setup.css
|
||||
srv/web/openmailadmin/design/shadow.css
|
||||
srv/web/openmailadmin/design/treeview.css
|
||||
srv/web/openmailadmin/design/treeview.js
|
||||
srv/web/openmailadmin/domains.php
|
||||
srv/web/openmailadmin/favicon.ico
|
||||
srv/web/openmailadmin/folders.php
|
||||
#srv/web/openmailadmin/images
|
||||
#srv/web/openmailadmin/images/acl
|
||||
srv/web/openmailadmin/images/acl/not.png
|
||||
srv/web/openmailadmin/images/acl/yes.png
|
||||
srv/web/openmailadmin/images/destination_transfer.gif
|
||||
srv/web/openmailadmin/images/error_icon.gif
|
||||
srv/web/openmailadmin/images/info_icon.gif
|
||||
#srv/web/openmailadmin/images/setup
|
||||
srv/web/openmailadmin/images/setup/body.png
|
||||
srv/web/openmailadmin/images/setup/head_sh.png
|
||||
srv/web/openmailadmin/images/setup/shadow.png
|
||||
srv/web/openmailadmin/images/sh_hor.gif
|
||||
srv/web/openmailadmin/images/sh_lo.gif
|
||||
srv/web/openmailadmin/images/sh_lu.gif
|
||||
srv/web/openmailadmin/images/sh_ro.gif
|
||||
srv/web/openmailadmin/images/sh_ru.gif
|
||||
srv/web/openmailadmin/images/sh_ver.gif
|
||||
srv/web/openmailadmin/images/spacer.gif
|
||||
#srv/web/openmailadmin/images/treeview
|
||||
srv/web/openmailadmin/images/treeview/+.png
|
||||
srv/web/openmailadmin/images/treeview/-.png
|
||||
srv/web/openmailadmin/images/treeview/act_mbox.png
|
||||
srv/web/openmailadmin/images/treeview/ina_mbox.png
|
||||
srv/web/openmailadmin/images/treeview/new_mbox.png
|
||||
srv/web/openmailadmin/images/ver_bl1.gif
|
||||
srv/web/openmailadmin/images/ver_gy1.png
|
||||
#srv/web/openmailadmin/inc
|
||||
srv/web/openmailadmin/inc/.htaccess
|
||||
srv/web/openmailadmin/inc/_append.php
|
||||
srv/web/openmailadmin/inc/_prepend.php
|
||||
srv/web/openmailadmin/inc/config.inc.php
|
||||
srv/web/openmailadmin/inc/config.local.inc.php
|
||||
#srv/web/openmailadmin/inc/database
|
||||
srv/web/openmailadmin/inc/database/domains.adodb.txt
|
||||
srv/web/openmailadmin/inc/database/imap_demo.adodb.txt
|
||||
srv/web/openmailadmin/inc/database/user.adodb.txt
|
||||
srv/web/openmailadmin/inc/database/virtual.adodb.txt
|
||||
srv/web/openmailadmin/inc/database/virtual_regexp.adodb.txt
|
||||
srv/web/openmailadmin/inc/exception_handler.php
|
||||
srv/web/openmailadmin/inc/functions.inc.php
|
||||
#srv/web/openmailadmin/inc/lang
|
||||
srv/web/openmailadmin/inc/lang/de.inc.php
|
||||
srv/web/openmailadmin/inc/lang/en.inc.php
|
||||
#srv/web/openmailadmin/inc/lang/pl.inc.php
|
||||
#srv/web/openmailadmin/inc/lang/ru.inc.php
|
||||
#srv/web/openmailadmin/inc/lang/zh-cn.inc.php
|
||||
#srv/web/openmailadmin/inc/lang/zh_CN.inc.php
|
||||
#srv/web/openmailadmin/inc/lib
|
||||
srv/web/openmailadmin/inc/lib/ConfigurationErrorException.php
|
||||
srv/web/openmailadmin/inc/lib/ErrorHandler.php
|
||||
srv/web/openmailadmin/inc/lib/HTMLInputTagGenerator.php
|
||||
srv/web/openmailadmin/inc/lib/IPasswordStrategy.php
|
||||
srv/web/openmailadmin/inc/lib/InputValidatorSuite.php
|
||||
srv/web/openmailadmin/inc/lib/Password.php
|
||||
srv/web/openmailadmin/inc/lib/PasswordCrypt.php
|
||||
srv/web/openmailadmin/inc/lib/PasswordMD5.php
|
||||
srv/web/openmailadmin/inc/lib/PasswordPlaintext.php
|
||||
srv/web/openmailadmin/inc/lib/PasswordSHA1.php
|
||||
srv/web/openmailadmin/inc/lib/Quota.php
|
||||
srv/web/openmailadmin/inc/lib/User.php
|
||||
#srv/web/openmailadmin/inc/lib/imap
|
||||
srv/web/openmailadmin/inc/lib/imap/Cyrus_IMAP.php
|
||||
srv/web/openmailadmin/inc/lib/imap/Fake_IMAP.php
|
||||
srv/web/openmailadmin/inc/lib/imap/IMAP_Administrator.php
|
||||
srv/web/openmailadmin/inc/lib/openmailadmin.php
|
||||
srv/web/openmailadmin/inc/miniauth.inc.php
|
||||
srv/web/openmailadmin/inc/panel_filter.php
|
||||
srv/web/openmailadmin/inc/translation.inc.php
|
||||
srv/web/openmailadmin/index.php
|
||||
srv/web/openmailadmin/mail.dump
|
||||
srv/web/openmailadmin/mailboxes.php
|
||||
srv/web/openmailadmin/regexp.php
|
||||
#srv/web/openmailadmin/samples
|
||||
#srv/web/openmailadmin/samples/.htaccess
|
||||
#srv/web/openmailadmin/samples/config.local.inc.php
|
||||
#srv/web/openmailadmin/samples/cyrus
|
||||
#srv/web/openmailadmin/samples/cyrus/cyrus.conf
|
||||
#srv/web/openmailadmin/samples/cyrus/imapd.conf
|
||||
#srv/web/openmailadmin/samples/oma_mail.daimon.php
|
||||
#srv/web/openmailadmin/samples/oma_mail.daimon.pl
|
||||
#srv/web/openmailadmin/samples/pam
|
||||
#srv/web/openmailadmin/samples/pam/imap
|
||||
#srv/web/openmailadmin/samples/pam/imap.caching
|
||||
#srv/web/openmailadmin/samples/postfix
|
||||
#srv/web/openmailadmin/samples/postfix/canonical.mysql
|
||||
#srv/web/openmailadmin/samples/postfix/mydestination.mysql
|
||||
#srv/web/openmailadmin/samples/postfix/virtual.mysql
|
||||
srv/web/openmailadmin/setup.php
|
||||
#srv/web/openmailadmin/templates
|
||||
srv/web/openmailadmin/templates/.htaccess
|
||||
srv/web/openmailadmin/templates/ExceptionHandler.tpl
|
||||
#srv/web/openmailadmin/templates/setup
|
||||
srv/web/openmailadmin/templates/setup/footer.tpl
|
||||
srv/web/openmailadmin/templates/setup/header.tpl
|
||||
srv/web/openmailadmin/templates/setup/step1.tpl
|
||||
srv/web/openmailadmin/templates/setup/step2.tpl
|
||||
srv/web/openmailadmin/templates/setup/step3.tpl
|
||||
#srv/web/openmailadmin/templates/shadow
|
||||
srv/web/openmailadmin/templates/shadow/__aux.php
|
||||
#srv/web/openmailadmin/templates/shadow/addresses
|
||||
srv/web/openmailadmin/templates/shadow/addresses/admin.tpl
|
||||
srv/web/openmailadmin/templates/shadow/addresses/list.tpl
|
||||
srv/web/openmailadmin/templates/shadow/caption.tpl
|
||||
srv/web/openmailadmin/templates/shadow/common-footer.tpl
|
||||
srv/web/openmailadmin/templates/shadow/common-footer_nv.tpl
|
||||
srv/web/openmailadmin/templates/shadow/common-header.tpl
|
||||
#srv/web/openmailadmin/templates/shadow/domains
|
||||
srv/web/openmailadmin/templates/shadow/domains/admin.tpl
|
||||
srv/web/openmailadmin/templates/shadow/domains/list.tpl
|
||||
srv/web/openmailadmin/templates/shadow/error_box.tpl
|
||||
srv/web/openmailadmin/templates/shadow/filter_panel.tpl
|
||||
#srv/web/openmailadmin/templates/shadow/folders
|
||||
srv/web/openmailadmin/templates/shadow/folders/acl_matrix.tpl
|
||||
srv/web/openmailadmin/templates/shadow/folders/admin.tpl
|
||||
srv/web/openmailadmin/templates/shadow/folders/list.tpl
|
||||
srv/web/openmailadmin/templates/shadow/info_box.tpl
|
||||
srv/web/openmailadmin/templates/shadow/information.tpl
|
||||
srv/web/openmailadmin/templates/shadow/login.tpl
|
||||
#srv/web/openmailadmin/templates/shadow/mailboxes
|
||||
srv/web/openmailadmin/templates/shadow/mailboxes/admin.tpl
|
||||
srv/web/openmailadmin/templates/shadow/mailboxes/list.tpl
|
||||
srv/web/openmailadmin/templates/shadow/motd.tpl
|
||||
#srv/web/openmailadmin/templates/shadow/navigation
|
||||
srv/web/openmailadmin/templates/shadow/navigation/entry.tpl
|
||||
srv/web/openmailadmin/templates/shadow/navigation/navigation.tpl
|
||||
srv/web/openmailadmin/templates/shadow/outer_shadow_start.tpl
|
||||
srv/web/openmailadmin/templates/shadow/outer_shadow_stop.tpl
|
||||
srv/web/openmailadmin/templates/shadow/password.tpl
|
||||
#srv/web/openmailadmin/templates/shadow/regexp
|
||||
srv/web/openmailadmin/templates/shadow/regexp/admin.tpl
|
||||
srv/web/openmailadmin/templates/shadow/regexp/list.tpl
|
||||
@@ -1,22 +0,0 @@
|
||||
#srv/web/phpSANE
|
||||
#srv/web/phpSANE/bilder
|
||||
srv/web/phpSANE/bilder/black.gif
|
||||
srv/web/phpSANE/bilder/clear.gif
|
||||
srv/web/phpSANE/bilder/de.gif
|
||||
srv/web/phpSANE/bilder/en.gif
|
||||
srv/web/phpSANE/bilder/logo.jpg
|
||||
srv/web/phpSANE/bilder/scan.jpg
|
||||
srv/web/phpSANE/config.php
|
||||
#srv/web/phpSANE/css
|
||||
srv/web/phpSANE/css/save.css
|
||||
srv/web/phpSANE/css/style.css
|
||||
srv/web/phpSANE/index.php
|
||||
#srv/web/phpSANE/javascript
|
||||
srv/web/phpSANE/javascript/position.js
|
||||
srv/web/phpSANE/language.php
|
||||
srv/web/phpSANE/menu.php
|
||||
srv/web/phpSANE/phpsane.php
|
||||
srv/web/phpSANE/save.php
|
||||
srv/web/phpSANE/scan.php
|
||||
srv/web/phpSANE/tmp
|
||||
etc/httpd/conf/vhosts.d/phpSANE.conf
|
||||
@@ -1320,7 +1320,7 @@ END
|
||||
<form method='post'><input type='hidden' name='AREUSURE' value='yes' />
|
||||
<input type='hidden' name='KEY' value='$cgiparams{'KEY'}' />
|
||||
<select name='DHLENGHT'>
|
||||
<option value='1024' $selected{'DHLENGHT'}{'1024'}>1024 $Lang::tr{'bit'}</option>
|
||||
<option value='1024' $selected{'DHLENGHT'}{'1024'}>1024 $Lang::tr{'bit'} ($Lang::tr{'vpn weak'})</option>
|
||||
<option value='2048' $selected{'DHLENGHT'}{'2048'}>2048 $Lang::tr{'bit'}</option>
|
||||
<option value='3072' $selected{'DHLENGHT'}{'3072'}>3072 $Lang::tr{'bit'}</option>
|
||||
<option value='4096' $selected{'DHLENGHT'}{'4096'}>4096 $Lang::tr{'bit'}</option>
|
||||
|
||||
@@ -2511,7 +2511,7 @@ if(($cgiparams{'ACTION'} eq $Lang::tr{'advanced'}) ||
|
||||
<option value='aes128gcm64' $checked{'IKE_ENCRYPTION'}{'aes128gcm64'}>128 bit AES-GCM/64 bit ICV</option>
|
||||
<option value='aes128' $checked{'IKE_ENCRYPTION'}{'aes128'}>128 bit AES-CBC</option>
|
||||
<option value='camellia128' $checked{'IKE_ENCRYPTION'}{'camellia128'}>128 bit Camellia-CBC</option>
|
||||
<option value='3des' $checked{'IKE_ENCRYPTION'}{'3des'}>168 bit 3DES-EDE-CBC</option>
|
||||
<option value='3des' $checked{'IKE_ENCRYPTION'}{'3des'}>168 bit 3DES-EDE-CBC ($Lang::tr{'vpn weak'})</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class='boldbase'>
|
||||
@@ -2531,7 +2531,7 @@ if(($cgiparams{'ACTION'} eq $Lang::tr{'advanced'}) ||
|
||||
<option value='aes128gcm64' $checked{'ESP_ENCRYPTION'}{'aes128gcm64'}>128 bit AES-GCM/64 bit ICV</option>
|
||||
<option value='aes128' $checked{'ESP_ENCRYPTION'}{'aes128'}>128 bit AES-CBC</option>
|
||||
<option value='camellia128' $checked{'ESP_ENCRYPTION'}{'camellia128'}>128 bit Camellia-CBC</option>
|
||||
<option value='3des' $checked{'ESP_ENCRYPTION'}{'3des'}>168 bit 3DES-EDE-CBC</option>
|
||||
<option value='3des' $checked{'ESP_ENCRYPTION'}{'3des'}>168 bit 3DES-EDE-CBC ($Lang::tr{'vpn weak'})</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -90,7 +90,7 @@
|
||||
'Level7 Protocol' => 'Level7-Protokoll',
|
||||
'Level7 Rule' => 'Level7-Regel',
|
||||
'Level7 rule' => 'Level7-Regel',
|
||||
'Local VPN IP' => 'Internes Netzwerk (GREEN)',
|
||||
'Local VPN IP' => 'Internes Netzwerk (GRÜN)',
|
||||
'MB read' => 'MB gelesen',
|
||||
'MB written' => 'MB geschrieben',
|
||||
'MTU' => 'MTU-Größe:',
|
||||
@@ -110,7 +110,7 @@
|
||||
'Resolv' => 'Resolv-Retry',
|
||||
'Scan for Files' => 'Nach Dateien suchen',
|
||||
'Scan from Directory' => 'Scan Verzeichnis',
|
||||
'Set time on boot' => 'Erzwinge das Setzen der Systemzeit im Bootvorgang',
|
||||
'Set time on boot' => 'Erzwinge das Setzen der Systemzeit während des Bootvorgangs',
|
||||
'Subclass' => 'Unterklasse',
|
||||
'TOS Bits' => 'TOS-Bits',
|
||||
'TOS Rule' => 'TOS-Regel',
|
||||
@@ -343,8 +343,8 @@
|
||||
'advproxy no clients defined' => 'Keine Clients definiert',
|
||||
'advproxy no connection auth' => 'Keine verbindungsorientierte Authentifizierungsweiterleitung',
|
||||
'advproxy no cre groups' => 'Es sind keine Zugriffsgruppen verfügbar',
|
||||
'advproxy no internal proxy on blue' => ' Deaktiviere internen Proxy von Blue in andere Subnetze',
|
||||
'advproxy no internal proxy on green' => 'Deaktiviere internen Proxy nach Green aus anderen Subnetzen',
|
||||
'advproxy no internal proxy on blue' => ' Deaktiviere internen Proxy von BLAU in andere Subnetze',
|
||||
'advproxy no internal proxy on green' => 'Deaktiviere internen Proxy nach GRÜN aus anderen Subnetzen',
|
||||
'advproxy number of L1 dirs' => 'Anzahl der Level-1 Unterverzeichnisse',
|
||||
'advproxy off' => 'Proxy aus',
|
||||
'advproxy offline mode' => 'Aktiviere Offline-Modus',
|
||||
@@ -357,7 +357,7 @@
|
||||
'advproxy reset' => 'Zurücksetzen',
|
||||
'advproxy saturday' => 'Sa',
|
||||
'advproxy save and restart' => 'Speichern und Neustart',
|
||||
'advproxy squid version' => 'Squid Cache Version',
|
||||
'advproxy squid version' => 'Squid Versionsnummer',
|
||||
'advproxy squidclamav' => 'SquidClamav',
|
||||
'advproxy ssadvanced proxy' => 'advanced proxy',
|
||||
'advproxy ssl ports' => 'Zulässige SSL-Ports (einer pro Zeile)',
|
||||
@@ -453,7 +453,7 @@
|
||||
'backup sets' => 'Datensicherungssätze',
|
||||
'backup to floppy' => 'Datensicherung auf Diskette',
|
||||
'backupaddon' => 'Addonsicherung',
|
||||
'backupprofile' => 'Falls die Wiederverbindung scheitert, auf Profil umschalten',
|
||||
'backupprofile' => 'Falls die Wiederverbindung scheitert, auf dieses Profil umschalten',
|
||||
'backups' => 'Sicherungen',
|
||||
'backupwarning' => 'Bitte stellen Sie zuerst Ihre Hauptsicherung wieder her und anschließend die Addons. Achten Sie darauf, dass die Sicherungen ihre originalen Dateinamen behalten.',
|
||||
'bad characters in' => 'Ungültige Zeichen in ',
|
||||
@@ -474,7 +474,7 @@
|
||||
'bleeding rules' => 'Bleeding Edge Snort Rules',
|
||||
'block' => 'Blocken',
|
||||
'blue' => 'BLAU',
|
||||
'blue access' => 'Zugriff auf Blau',
|
||||
'blue access' => 'Zugriff auf BLAU',
|
||||
'blue access use hint' => 'Sie müssen mindestens die MAC- oder die IP-Adresse für ein Gerät angeben. Optional können Sie sowohl MAC- als auch IP-Adresse angeben.',
|
||||
'blue interface' => 'Blaues Interface',
|
||||
'broadcast' => 'Broadcast',
|
||||
@@ -582,7 +582,7 @@
|
||||
'ccd used' => 'Genutzte Adressen',
|
||||
'cert' => 'Zertifikat',
|
||||
'certificate' => 'Zertifikat',
|
||||
'certificate authorities' => 'Zertifizierungsstellen und -Schlüssel',
|
||||
'certificate authorities' => 'Zertifizierungsstellen und -schlüssel',
|
||||
'certificate does not have a valid ca associated with it' => 'Mit dem Zertifikat ist keine gültige CA verbunden.',
|
||||
'certificate file move failed' => 'Verschieben der Zertifikatsdatei fehlgeschlagen',
|
||||
'cfg restart' => 'Nach dem Wiederherstellen eines Konfigurationsarchivs wird ein Neustart empfohlen.',
|
||||
@@ -619,7 +619,7 @@
|
||||
'connection' => 'Verbindung',
|
||||
'connection closed' => 'Nicht Verbunden...',
|
||||
'connection debugging' => 'Verbindungs-Debugging',
|
||||
'connection status and controlc' => 'Verbindungsstatus und -Kontrolle',
|
||||
'connection status and controlc' => 'Verbindungsstatus und -kontrolle',
|
||||
'connection tracking' => 'iptables-Verbindungsverfolgung',
|
||||
'connection type' => 'Verbindungstyp',
|
||||
'connection type is invalid' => 'Verbindungstyp ist ungültig',
|
||||
@@ -665,7 +665,7 @@
|
||||
'current aliases' => 'Aktuelle Alias-Adresse',
|
||||
'current class' => 'Aktuelle Klasse',
|
||||
'current devices' => 'Schnittstellen',
|
||||
'current dhcp leases on blue' => 'Aktuelle DHCP-Zuordnungen auf Blau',
|
||||
'current dhcp leases on blue' => 'Aktuelle DHCP-Zuordnungen auf BLAU',
|
||||
'current dynamic leases' => 'Aktuelle dynamische Zuordnungen',
|
||||
'current fixed leases' => 'Aktuelle feste Zuordnungen',
|
||||
'current hosts' => 'Aktuelle Hosts',
|
||||
@@ -702,7 +702,7 @@
|
||||
'def lease time' => 'Standardzeit für Zuordnung',
|
||||
'default' => 'Voreinstellung',
|
||||
'default ip' => 'Standard IP-Adresse',
|
||||
'default lease time' => 'Haltezeit-Voreinstellung in min:',
|
||||
'default lease time' => 'Haltezeit-Voreinstellung (Min.):',
|
||||
'default networks' => 'Standard Netzwerke',
|
||||
'default renewal time' => 'Standard-Aktualisierungszeit',
|
||||
'default services' => 'Standard Dienste',
|
||||
@@ -727,7 +727,7 @@
|
||||
'detail level' => 'Detaillierungsgrad',
|
||||
'details' => 'Mehr',
|
||||
'device' => 'Gerät',
|
||||
'devices on blue' => 'Geräte auf Blau',
|
||||
'devices on blue' => 'Geräte auf BLAU',
|
||||
'dh' => 'Diffie-Hellman-Parameter',
|
||||
'dh key move failed' => 'Verschieben der Diffie-Hellman-Parameter fehlgeschlagen.',
|
||||
'dh key warn' => 'Das Generieren der DH-Parameter mit 1024 oder 2048 Bit dauert üblicherweise mehrere Minuten. Schlüssellängen von 3072 oder 4096 Bit beanspruchen mehrere Stunden. Bitte haben Sie etwas Geduld.',
|
||||
@@ -756,10 +756,10 @@
|
||||
'dhcp configuration' => 'DHCP-Konfiguration',
|
||||
'dhcp create fixed leases' => 'Feste Zuordnungen erzeugen',
|
||||
'dhcp dns enable update' => 'DNS-Update (RFC2136) aktivieren:',
|
||||
'dhcp dns key name' => 'Schlüsselname:',
|
||||
'dhcp dns key name' => 'Schlüsselname',
|
||||
'dhcp dns update' => 'DNS-Update',
|
||||
'dhcp dns update algo' => 'Algorithmus:',
|
||||
'dhcp dns update secret' => 'Schlüssel:',
|
||||
'dhcp dns update algo' => 'Algorithmus',
|
||||
'dhcp dns update secret' => 'Schlüssel',
|
||||
'dhcp fixed lease err1' => 'Für eine feste Zuordnung müssen entweder die Hardware Adresse (MAC-Adresse) oder der Hostname oder beide eingetragen werden.',
|
||||
'dhcp fixed lease help1' => 'IP Adressen können als FQDN angegeben werden.',
|
||||
'dhcp mode' => 'DHCP',
|
||||
@@ -772,7 +772,7 @@
|
||||
'dial user password' => 'Passwort für Benutzer "dial":',
|
||||
'dial user password has been changed' => 'Passwort für Benutzer -dial- wurde geändert.',
|
||||
'dialing mode' => 'Wählmodus:',
|
||||
'dialup red not ppp' => 'Einwahl Profile können nur verwendet werden wenn <b>RED</b> auf <b>PPP Einwahl</b> eingestellt ist. <BR>Bitte die Netzwerkeinstellungen prüfen.',
|
||||
'dialup red not ppp' => 'Einwahl Profile können nur verwendet werden wenn <b>ROT</b> auf <b>PPP Einwahl</b> eingestellt ist. <BR>Bitte die Netzwerkeinstellungen prüfen.',
|
||||
'dialup settings' => 'Einwahl-Einstellungen',
|
||||
'directory mask' => 'UNIX Verzeichnis Rechte',
|
||||
'directory writeable' => 'Verzeichnis schreibbar',
|
||||
@@ -1170,7 +1170,7 @@
|
||||
'fwhost any' => 'Alle',
|
||||
'fwhost attention' => 'ACHTUNG',
|
||||
'fwhost back' => 'Zurück',
|
||||
'fwhost blue' => 'Blau',
|
||||
'fwhost blue' => 'BLAU',
|
||||
'fwhost ccdhost' => 'OpenVPN-Clients:',
|
||||
'fwhost ccdnet' => 'OpenVPN-Netzwerke:',
|
||||
'fwhost change' => 'Ändern',
|
||||
@@ -1215,7 +1215,7 @@
|
||||
'fwhost err srv exists' => 'Ein Service mit diesem Namen existiert bereits',
|
||||
'fwhost err srvexist' => 'Dieser Dienst ist bereits in der Gruppe',
|
||||
'fwhost err sub32' => 'Bitte Netzwerke hinzufügen, keinen einzelnen Host',
|
||||
'fwhost green' => 'Grün',
|
||||
'fwhost green' => 'GRÜN',
|
||||
'fwhost hint' => 'Hinweis',
|
||||
'fwhost hosts' => 'Firewall-Hosts',
|
||||
'fwhost icmptype' => 'ICMP-Typ:',
|
||||
@@ -1231,7 +1231,7 @@
|
||||
'fwhost newnet' => 'Netzwerke',
|
||||
'fwhost newservice' => 'Dienst',
|
||||
'fwhost newservicegrp' => 'Dienstgruppen',
|
||||
'fwhost orange' => 'Orange',
|
||||
'fwhost orange' => 'ORANGE',
|
||||
'fwhost ovpn_n2n' => 'OpenVPN Net-to-Net',
|
||||
'fwhost port' => 'Port(s)',
|
||||
'fwhost prot' => 'Protokoll',
|
||||
@@ -1295,7 +1295,7 @@
|
||||
'high' => 'Hoch',
|
||||
'high memory usage' => 'Speicher wird knapp',
|
||||
'hint' => 'Tipp',
|
||||
'holdoff' => 'Holdoff-Zeit in (Sekunden)',
|
||||
'holdoff' => 'Holdoff-Zeit (Sek.)',
|
||||
'host' => 'Host',
|
||||
'host allow' => 'Liste der Zugriffsberechtigten',
|
||||
'host certificate' => 'Host-Zertifikat',
|
||||
@@ -1318,7 +1318,7 @@
|
||||
'icmp type' => 'ICMP-Typ',
|
||||
'id' => 'ID',
|
||||
'idle' => 'Leerlauf',
|
||||
'idle timeout' => 'Leerlauf-Wartezeit in min (0 zum Deaktivieren):',
|
||||
'idle timeout' => 'Leerlauf-Wartezeit in Min. (0 zum Deaktivieren):',
|
||||
'idle timeout not set' => 'Leerlauf-Wartezeit nicht angegeben.',
|
||||
'ids log viewer' => 'Ansicht IDS-Protokoll',
|
||||
'ids logs' => 'IDS-Protokolldateien',
|
||||
@@ -1361,9 +1361,9 @@
|
||||
'interfaces' => 'Interfaces',
|
||||
'internet' => 'INTERNET',
|
||||
'intrusion detection' => 'Einbruchdetektierung',
|
||||
'intrusion detection system' => 'Intrusion Detection System',
|
||||
'intrusion detection system' => 'Einbruchsdetektierung',
|
||||
'intrusion detection system log viewer' => 'Betrachter der IDS-Protokolldateien',
|
||||
'intrusion detection system rules' => 'Intrusion Detection System Regeln',
|
||||
'intrusion detection system rules' => 'Regeln für die Einbruchsdetektierung',
|
||||
'intrusion detection system2' => 'Intrusion Detection System:',
|
||||
'invalid broadcast ip' => 'Ungültige Broadcast-IP',
|
||||
'invalid cache size' => 'Ungültige Cache-Größe.',
|
||||
@@ -1446,7 +1446,7 @@
|
||||
'ipfires hostname' => 'IPFire\'s Hostname',
|
||||
'ipinfo' => 'IP-Info',
|
||||
'ipsec' => 'IPsec',
|
||||
'ipsec network' => 'IPsec-Netzwerke',
|
||||
'ipsec network' => 'IPsec-Netzwerk',
|
||||
'ipsec no connections' => 'Keine aktiven IPsec-Verbindungen',
|
||||
'iptable rules' => 'IPTable-Regeln',
|
||||
'iptmangles' => 'IPTable Mangles',
|
||||
@@ -1554,14 +1554,14 @@
|
||||
'march' => 'März',
|
||||
'marked' => 'Markiert',
|
||||
'masquerade blue' => 'NAT auf BLAU',
|
||||
'masquerade green' => 'NAT auf GREEN',
|
||||
'masquerade green' => 'NAT auf GRÜN',
|
||||
'masquerade orange' => 'NAT auf ORANGE',
|
||||
'masquerading' => 'Masquerading/NAT',
|
||||
'masquerading disabled' => 'NAT ausgeschaltet',
|
||||
'masquerading enabled' => 'NAT eingeschaltet',
|
||||
'max bandwith' => 'Maximale Bandbreite',
|
||||
'max incoming size' => 'Max. eingehende Größe (kB):',
|
||||
'max lease time' => 'Max. Haltezeit in min.:',
|
||||
'max lease time' => 'Max. Haltezeit (Min.):',
|
||||
'max outgoing size' => 'Max. abgehende Größe (kB):',
|
||||
'max reliability' => 'Maximale Zuverlässigkeit',
|
||||
'max renewal time' => 'Maximale Aktualisierungszeit',
|
||||
@@ -1662,7 +1662,7 @@
|
||||
'net address' => 'Netzadresse',
|
||||
'net config' => 'Netzwerk-Konfiguration',
|
||||
'net config type' => 'Netzwerk-Konfigurations-Typ',
|
||||
'net config type help' => 'GREEN ist das lokale Netzwerk, RED ist das Internet, BLUE ist WLAN, ORANGE ist die DMZ.',
|
||||
'net config type help' => 'GRÜN ist das lokale Netzwerk, ROT das Internet, BLAU das WLAN, ORANGE die DMZ.',
|
||||
'net to net vpn' => 'Netz-zu-Netz Virtual Private Network',
|
||||
'net traffic newversion' => 'Es ist eine neue Net-Traffic Version verfügbar:',
|
||||
'net-traffic configuration' => 'Net-Traffic Konfiguration',
|
||||
@@ -1922,7 +1922,7 @@
|
||||
'prefered master' => 'Prefered Master',
|
||||
'present' => 'Vorhanden',
|
||||
'prev' => 'Vorheriger',
|
||||
'primary dns' => 'Primärer DNS:',
|
||||
'primary dns' => 'Primärer DNS-Server:',
|
||||
'primary ntp server' => 'Primärer NTP-Server',
|
||||
'primary wins server address' => 'Primäre WINS-Server Adresse',
|
||||
'printcap name' => 'Printercap Name',
|
||||
@@ -2016,7 +2016,7 @@
|
||||
'resetglobals' => 'Globale Einstellungen zurücksetzen',
|
||||
'resetpolicy' => 'Richtlinie zurücksetzen',
|
||||
'resetshares' => 'Shares zurücksetzen?',
|
||||
'resetting the vpn configuration will remove the root ca, the host certificate and all certificate based connections' => 'Das Löschen des X509 wird die Root-CA, die Host-Zertifikate und alle zertifikatsbasierten Verbindungen entfernen.',
|
||||
'resetting the vpn configuration will remove the root ca, the host certificate and all certificate based connections' => 'Das Löschen des X509 wird die Root-CA, die Host-Zertifikate und alle zertifikatsbasierten Verbindungen entfernen',
|
||||
'restart' => 'Neustart',
|
||||
'restart ovpn server' => 'OpenVPN-Server neu starten',
|
||||
'restore' => 'Wiederherstellen',
|
||||
@@ -2048,10 +2048,10 @@
|
||||
'save-adv-options' => 'Erweiterte Optionen speichern',
|
||||
'script name' => 'Skriptname:',
|
||||
'search' => 'Suchen',
|
||||
'secondary dns' => 'Sekundärer DNS:',
|
||||
'secondary dns' => 'Sekundärer DNS-Server:',
|
||||
'secondary ntp server' => 'Sekundärer NTP-Server',
|
||||
'secondary wins server address' => 'Sekundäre WINS-Server Adresse',
|
||||
'seconds' => 'sek.',
|
||||
'seconds' => 'Sek.',
|
||||
'section' => 'Abschnitt',
|
||||
'secure shell server' => 'Secure Shell Server',
|
||||
'security' => 'Sicherheit',
|
||||
@@ -2681,12 +2681,12 @@
|
||||
'volup5' => 'Laustärke um 5 erhöhen',
|
||||
'vpi number' => 'VPI-Nummer:',
|
||||
'vpn' => 'VPN',
|
||||
'vpn aggrmode' => 'IKE Aggressive Mode zugelassen. Wenn möglich, vermeiden (preshared Schlüssel wird im Klartext übertragen)!',
|
||||
'vpn aggrmode' => 'IKE Aggressive Mode zugelassen. Möglichst vermeiden (preshared Schlüssel wird im Klartext übertragen)!',
|
||||
'vpn altname syntax' => 'Der Subjekt Alternativ Name ist eine durch Komma getrennte Liste von Email, DNS, URI, RID und IP Objekten. <br />Email: eine Email Adresse. Syntax Email: \'copy\' benutzt die Email Adresse aus dem Zertifikatfeld. <br />DNS: ein gültiger Domain Name.<br />URI: eine gültige URI.<br />RID: Registriertes Objekt Identifikation.<br />IP: eine IP Adresse.<br />Bitte beachten: der Zeichensatz ist eingeschränkt und die Groß-/Kleinschreibung ist entscheidend.<br />Beispiel:<br /><b>email:</b>info@ipfire.org<b>,email:</b>copy<b>,DNS:</b>www.ipfire.org<b>,IP:</b>127.0.0.1<b>,URI:</b>http://url/nach/irgendwo',
|
||||
'vpn auth-dn' => 'Peer wird identifiziert durch entweder ein IPV4_ADDR, FQDN, USER_FQDN oder DER_ASN1_DN string in Remote ID Feld',
|
||||
'vpn broken' => 'Gebrochen',
|
||||
'vpn broken' => 'gebrochen',
|
||||
'vpn connecting' => 'VERBINDUNGSAUFBAU',
|
||||
'vpn delayed start' => 'Verzögerung, bevor VPN gestartet wird (in Sekunden)',
|
||||
'vpn delayed start' => 'Verzögerung, bevor VPN gestartet wird (Sek.)',
|
||||
'vpn delayed start help' => 'Falls notwendig, kann diese Verzögerung dazu verwendet werden, um Dynamic-DNS-Updates ordnungsgemäß anzuwenden. 60 ist ein gängiger Wert, wenn ROT (RED) eine dynamische IP Adresse ist.',
|
||||
'vpn inactivity timeout' => 'Inaktivitätstimeout',
|
||||
'vpn incompatible use of defaultroute' => 'Hostname=%defaultroute nicht zulässig',
|
||||
@@ -2709,7 +2709,7 @@
|
||||
'vpn statistic rw' => 'OpenVPN-Roadwarrior-Statistik',
|
||||
'vpn subjectaltname' => 'Subjekt Alternativer Name',
|
||||
'vpn watch' => 'Netz-zu-Netz VPN neu starten, wenn sich Remote-IP ändert (DynDNS).',
|
||||
'vpn weak' => 'Schwach',
|
||||
'vpn weak' => 'schwach',
|
||||
'waiting to synchronize clock' => 'Bitte warten, die Uhr wird synchronisiert',
|
||||
'warn when traffic reaches' => 'Warnen wenn Traffic x % erreicht',
|
||||
'warning messages' => 'Warnhinweise',
|
||||
@@ -2726,8 +2726,8 @@
|
||||
'weekly firewallhits' => 'wöchentliche Firewalltreffer',
|
||||
'weeks' => 'Wochen',
|
||||
'wildcards' => 'Wildcards',
|
||||
'wins server' => 'Wins-Server',
|
||||
'wins support' => 'Wins-Support',
|
||||
'wins server' => 'WINS-Server',
|
||||
'wins support' => 'WINS-Support',
|
||||
'wireless' => 'Wireless',
|
||||
'wireless config added' => 'Wireless-Konfiguration hinzugefügt',
|
||||
'wireless config changed' => 'Wireless-Konfiguration geändert',
|
||||
|
||||
114
lfs/cacti
114
lfs/cacti
@@ -1,114 +0,0 @@
|
||||
###############################################################################
|
||||
# #
|
||||
# IPFire.org - A linux based firewall #
|
||||
# Copyright (C) 2007-2011 IPFire Team <info@ipfire.org> #
|
||||
# #
|
||||
# This program is free software: you can redistribute it and/or modify #
|
||||
# it under the terms of the GNU General Public License as published by #
|
||||
# the Free Software Foundation, either version 3 of the License, or #
|
||||
# (at your option) any later version. #
|
||||
# #
|
||||
# This program is distributed in the hope that it will be useful, #
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
|
||||
# GNU General Public License for more details. #
|
||||
# #
|
||||
# You should have received a copy of the GNU General Public License #
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
|
||||
# #
|
||||
###############################################################################
|
||||
|
||||
###############################################################################
|
||||
# Definitions
|
||||
###############################################################################
|
||||
|
||||
include Config
|
||||
|
||||
VER = 0.8.8b
|
||||
|
||||
THISAPP = cacti-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.gz
|
||||
DL_FROM = $(URL_IPFIRE)
|
||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
PROG = cacti
|
||||
PAK_VER = 6
|
||||
|
||||
DEPS = "netsnmpd mysql"
|
||||
|
||||
###############################################################################
|
||||
# Top-level Rules
|
||||
###############################################################################
|
||||
|
||||
objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = acb40deae073ca22e5c01a8e3ba389fb
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
|
||||
|
||||
download :$(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
|
||||
md5 : $(subst %,%_MD5,$(objects))
|
||||
|
||||
dist:
|
||||
@$(PAK)
|
||||
|
||||
###############################################################################
|
||||
# Downloading, checking, md5sum
|
||||
###############################################################################
|
||||
|
||||
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
|
||||
@$(CHECK)
|
||||
|
||||
$(patsubst %,$(DIR_DL)/%,$(objects)) :
|
||||
@$(LOAD)
|
||||
|
||||
$(subst %,%_MD5,$(objects)) :
|
||||
@$(MD5)
|
||||
|
||||
###############################################################################
|
||||
# Installation Details
|
||||
###############################################################################
|
||||
|
||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@$(PREBUILD)
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
|
||||
|
||||
cd $(DIR_APP) && patch -p1 -i $(DIR_SRC)/src/patches/cacti/cacti-0.8.8a-legal.patch
|
||||
cd $(DIR_APP) && patch -p1 -i $(DIR_SRC)/src/patches/cacti/cacti-0.8.8a-replace_treeview_by_jquery.jstree.patch
|
||||
cd $(DIR_APP) && patch -p2 -i $(DIR_SRC)/src/patches/cacti/cacti-0.8.8b-html-injection.patch
|
||||
cd $(DIR_APP) && patch -p2 -i $(DIR_SRC)/src/patches/cacti/cacti-0.8.8b-remote-command-execution.patch
|
||||
cd $(DIR_APP) && patch -p2 -i $(DIR_SRC)/src/patches/cacti/cacti-0.8.8b-rra-comments.patch
|
||||
cd $(DIR_APP) && patch -p2 -i $(DIR_SRC)/src/patches/cacti/cacti-0.8.8b-sanitize-variables.patch
|
||||
cd $(DIR_APP) && patch -p2 -i $(DIR_SRC)/src/patches/cacti/cacti-0.8.8b-sql-injection-shell-escaping.patch
|
||||
cp -vf \
|
||||
$(DIR_SRC)/config/cacti/d.gif \
|
||||
$(DIR_SRC)/config/cacti/d.png \
|
||||
$(DIR_SRC)/config/cacti/throbber.gif \
|
||||
$(DIR_APP)/include/js/jquery/themes/default/
|
||||
cd $(DIR_APP) && rm -rf include/treeview
|
||||
|
||||
@rm -rf /var/cacti /usr/share/cacti
|
||||
mkdir -pv /var/cacti /usr/share/cacti
|
||||
|
||||
cd $(DIR_APP) && mv -vf * /usr/share/cacti
|
||||
cp -vf $(DIR_SRC)/config/cacti/cacti.conf /etc/httpd/conf/vhosts.d/
|
||||
install -v -m 755 $(DIR_SRC)/config/cacti/cacti.cron /etc/fcron.cyclic/cacti.cron
|
||||
install -v -m 644 $(DIR_SRC)/config/backup/includes/cacti \
|
||||
/var/ipfire/backup/addons/includes/cacti
|
||||
|
||||
mv -vf /usr/share/cacti/log /var/cacti
|
||||
mv -vf /usr/share/cacti/rra /var/cacti
|
||||
ln -s /var/cacti/log /usr/share/cacti/log
|
||||
ln -s /var/cacti/rra /usr/share/cacti/rra
|
||||
|
||||
-mkdir -pv /etc/logrotate.d
|
||||
install -v -m 644 $(DIR_SRC)/config/cacti/cacti.logrotate /etc/logrotate.d/cacti
|
||||
|
||||
chown -R nobody:nobody /var/cacti/rra /var/cacti/log
|
||||
@rm -rf $(DIR_APP)
|
||||
@$(POSTBUILD)
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 2.1.11
|
||||
VER = 2.1.12
|
||||
|
||||
THISAPP = fireinfo-v$(VER)
|
||||
DL_FILE = $(THISAPP).tar.gz
|
||||
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = 093799207ab7397cc7f2d5eb45868c69
|
||||
$(DL_FILE)_MD5 = 40ada8f4eceeb69661d09e43308e5a6a
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
@@ -70,11 +70,6 @@ $(subst %,%_MD5,$(objects)) :
|
||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@$(PREBUILD)
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/fireinfo/0001-Add-an-other-forbidden-string-Serial.patch
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/fireinfo/0002-Escape-any-non-printable-ascii-characters.patch
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/fireinfo/0003-Skip-search-for-hypervisor-name-when-the-CPU-string-.patch
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/fireinfo/0004-Filter-all-IDs-that-only-consist-of-0xff.patch
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/fireinfo/0005-Fix-crash-if-there-is-id-has-already-been-reset-to-N.patch
|
||||
|
||||
cd $(DIR_APP) && [ -x "configure" ] || sh ./autogen.sh
|
||||
cd $(DIR_APP) && ./configure --prefix=/usr
|
||||
|
||||
35
lfs/icinga
35
lfs/icinga
@@ -25,7 +25,6 @@
|
||||
include Config
|
||||
|
||||
VER = 1.11.4
|
||||
PLUGIN_VER = 2.0.2
|
||||
|
||||
THISAPP = icinga-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.gz
|
||||
@@ -33,24 +32,19 @@ DL_FROM = $(URL_IPFIRE)
|
||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
PROG = icinga
|
||||
PAK_VER = 2
|
||||
PAK_VER = 3
|
||||
|
||||
DEPS = ""
|
||||
|
||||
CFLAGS += -fno-strict-aliasing
|
||||
DEPS = "nagios-plugins"
|
||||
|
||||
###############################################################################
|
||||
# Top-level Rules
|
||||
###############################################################################
|
||||
|
||||
objects = $(DL_FILE) nagios-plugins-$(PLUGIN_VER).tar.gz
|
||||
objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
nagios-plugins-$(PLUGIN_VER).tar.gz = \
|
||||
$(DL_FROM)/nagios-plugins-$(PLUGIN_VER).tar.gz
|
||||
|
||||
$(DL_FILE)_MD5 = cfe64b91ec84f5431e53959e31ff07b5
|
||||
nagios-plugins-$(PLUGIN_VER).tar.gz_MD5 = 2f6d9c43adcf9f024175e48a44d099d4
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
@@ -83,10 +77,6 @@ $(subst %,%_MD5,$(objects)) :
|
||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@$(PREBUILD)
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
|
||||
@rm -rf $(DIR_SRC)/nagios-plugins-$(PLUGIN_VER) && cd $(DIR_SRC) && \
|
||||
tar axf $(DIR_DL)/nagios-plugins-$(PLUGIN_VER).tar.gz
|
||||
|
||||
# Compile core
|
||||
cd $(DIR_APP) && \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
@@ -96,7 +86,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
--sbindir=/usr/share/icinga/cgi-bin \
|
||||
--localstatedir=/var/icinga \
|
||||
--libdir=/usr/lib/icinga \
|
||||
--libexecdir=/usr/lib/icinga/plugins \
|
||||
--libexecdir=/usr/lib/nagios/plugins \
|
||||
--with-lockfile=/var/run/icinga.pid \
|
||||
--with-httpd-conf=/etc/httpd/conf/conf.d \
|
||||
--with-icinga-user=nobody \
|
||||
@@ -105,18 +95,6 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
--enable-embedded-perl \
|
||||
--disable-idoutils
|
||||
cd $(DIR_APP) && make all $(MAKETUNING)
|
||||
|
||||
# Compile plugins
|
||||
cd $(DIR_SRC)/nagios-plugins-$(PLUGIN_VER) && \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libexecdir=/usr/lib/icinga/plugins \
|
||||
--with-nagios-user=nobody \
|
||||
--with-nagios-group=nobody \
|
||||
--without-ipv6
|
||||
cd $(DIR_SRC)/nagios-plugins-$(PLUGIN_VER) && make $(MAKETUNING)
|
||||
|
||||
# Install core
|
||||
cd $(DIR_APP) && make \
|
||||
install install-init install-commandmode install-config \
|
||||
install-webconf install-eventhandlers
|
||||
@@ -124,9 +102,6 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
install -v -m 644 $(DIR_SRC)/config/icinga/icinga.conf \
|
||||
/etc/httpd/conf/vhosts.d/icinga.conf
|
||||
|
||||
# Install plugins
|
||||
cd $(DIR_SRC)/nagios-plugins-$(PLUGIN_VER) && make install
|
||||
|
||||
ln -svf /etc/rc.d/init.d/icinga /etc/rc.d/rc3.d/S67icinga
|
||||
ln -svf /etc/rc.d/init.d/icinga /etc/rc.d/rc0.d/K33icinga
|
||||
ln -svf /etc/rc.d/init.d/icinga /etc/rc.d/rc6.d/K33icinga
|
||||
@@ -134,5 +109,5 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
install -v -m 644 $(DIR_SRC)/config/backup/includes/icinga \
|
||||
/var/ipfire/backup/addons/includes/icinga
|
||||
|
||||
@rm -rf $(DIR_APP) $(DIR_SRC)/nagios-plugins-$(PLUGIN_VER)
|
||||
@rm -rf $(DIR_APP)
|
||||
@$(POSTBUILD)
|
||||
|
||||
114
lfs/nagios
114
lfs/nagios
@@ -1,114 +0,0 @@
|
||||
###############################################################################
|
||||
# #
|
||||
# IPFire.org - A linux based firewall #
|
||||
# Copyright (C) 2007-2012 IPFire Team <info@ipfire.org> #
|
||||
# #
|
||||
# This program is free software: you can redistribute it and/or modify #
|
||||
# it under the terms of the GNU General Public License as published by #
|
||||
# the Free Software Foundation, either version 3 of the License, or #
|
||||
# (at your option) any later version. #
|
||||
# #
|
||||
# This program is distributed in the hope that it will be useful, #
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
|
||||
# GNU General Public License for more details. #
|
||||
# #
|
||||
# You should have received a copy of the GNU General Public License #
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
|
||||
# #
|
||||
###############################################################################
|
||||
|
||||
###############################################################################
|
||||
# Definitions
|
||||
###############################################################################
|
||||
|
||||
include Config
|
||||
|
||||
VER = 3.0.6
|
||||
|
||||
THISAPP = nagios-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.gz
|
||||
DL_FROM = $(URL_IPFIRE)
|
||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
PROG = nagios
|
||||
PAK_VER = 3
|
||||
|
||||
DEPS = "traceroute"
|
||||
|
||||
###############################################################################
|
||||
# Top-level Rules
|
||||
###############################################################################
|
||||
|
||||
objects = $(DL_FILE) \
|
||||
nagios-plugins-1.4.13.tar.gz
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
nagios-plugins-1.4.13.tar.gz = $(DL_FROM)/nagios-plugins-1.4.13.tar.gz
|
||||
|
||||
$(DL_FILE)_MD5 = 900e3f4164f4b2a18485420eeaefe812
|
||||
nagios-plugins-1.4.13.tar.gz_MD5 = be6cc7699fff3ee29d1fd4d562377386
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
|
||||
|
||||
download :$(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
|
||||
md5 : $(subst %,%_MD5,$(objects))
|
||||
|
||||
dist:
|
||||
@$(PAK)
|
||||
|
||||
###############################################################################
|
||||
# Downloading, checking, md5sum
|
||||
###############################################################################
|
||||
|
||||
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
|
||||
@$(CHECK)
|
||||
|
||||
$(patsubst %,$(DIR_DL)/%,$(objects)) :
|
||||
@$(LOAD)
|
||||
|
||||
$(subst %,%_MD5,$(objects)) :
|
||||
@$(MD5)
|
||||
|
||||
###############################################################################
|
||||
# Installation Details
|
||||
###############################################################################
|
||||
|
||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@$(PREBUILD)
|
||||
@rm -rf $(DIR_APP) $(DIR_SRC)/nagios-plugins* && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
|
||||
cd $(DIR_APP) && \
|
||||
./configure --prefix=/usr \
|
||||
--sysconfdir=/etc/nagios \
|
||||
--datadir=/usr/share/nagios \
|
||||
--sbindir=/usr/share/nagios/cgi-bin \
|
||||
--localstatedir=/var/nagios \
|
||||
--libexecdir=/usr/lib/nagios \
|
||||
--with-lockfile=/var/lock/nagios.lock \
|
||||
--with-nagios-user=nobody \
|
||||
--with-nagios-group=nobody \
|
||||
--with-command-user=nobody \
|
||||
--with-command-group=nobody \
|
||||
--enable-embedded-perl \
|
||||
--with-perlcache \
|
||||
--with-httpd-conf=/etc/httpd/conf/conf.d \
|
||||
--enable-nanosleep
|
||||
cd $(DIR_APP) && make all $(MAKETUNING)
|
||||
cd $(DIR_APP) && make install install-init install-commandmode install-config install-webconf
|
||||
|
||||
cd $(DIR_SRC) && tar xfz $(DIR_DL)/nagios-plugins-1.4.13.tar.gz
|
||||
cd $(DIR_SRC)/nagios-plugins* && ./configure --prefix=/usr \
|
||||
--libexecdir=/usr/lib/nagios \
|
||||
--with-nagios-user=nobody --with-nagios-group=nobody \
|
||||
--without-ipv6
|
||||
cd $(DIR_SRC)/nagios-plugins* && make
|
||||
cd $(DIR_SRC)/nagios-plugins* && make install
|
||||
chown -R nobody:nobody /var/nagios
|
||||
ln -s /etc/init.d/nagios /etc/rc.d/rc3.d/S67nagios
|
||||
ln -s /etc/init.d/nagios /etc/rc.d/rc0.d/K33nagios
|
||||
ln -s /etc/init.d/nagios /etc/rc.d/rc6.d/K33nagios
|
||||
@rm -rf $(DIR_APP) $(DIR_SRC)/nagios-plugins*
|
||||
@$(POSTBUILD)
|
||||
@@ -1,7 +1,7 @@
|
||||
###############################################################################
|
||||
# #
|
||||
# IPFire.org - A linux based firewall #
|
||||
# Copyright (C) 2007 Michael Tremer & Christian Schmidt #
|
||||
# Copyright (C) 2007-2012 IPFire Team <info@ipfire.org> #
|
||||
# #
|
||||
# This program is free software: you can redistribute it and/or modify #
|
||||
# it under the terms of the GNU General Public License as published by #
|
||||
@@ -18,24 +18,23 @@
|
||||
# #
|
||||
###############################################################################
|
||||
|
||||
|
||||
###############################################################################
|
||||
# Definitions
|
||||
###############################################################################
|
||||
|
||||
include Config
|
||||
|
||||
VER = 0.3.3
|
||||
VER = 2.2.1
|
||||
|
||||
THISAPP = phpSANE-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.bz2
|
||||
THISAPP = nagios-plugins-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.gz
|
||||
DL_FROM = $(URL_IPFIRE)
|
||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
PROG = phpSANE
|
||||
PAK_VER = 2
|
||||
PROG = nagios-plugins
|
||||
PAK_VER = 1
|
||||
|
||||
DEPS = "sane netpbm"
|
||||
DEPS = ""
|
||||
|
||||
###############################################################################
|
||||
# Top-level Rules
|
||||
@@ -45,7 +44,7 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = 48fd77f85555ad41382bb1e0d1e373b9
|
||||
$(DL_FILE)_MD5 = fb521d5c05897f165b0b1862c1e5cb27
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
@@ -77,11 +76,15 @@ $(subst %,%_MD5,$(objects)) :
|
||||
|
||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@$(PREBUILD)
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
|
||||
cd $(DIR_APP)/phpSANE && patch -N -p1 < $(DIR_SRC)/src/patches/$(THISAPP)-fixes.patch
|
||||
cd $(DIR_APP)/phpSANE && ln -s phpsane.php index.php
|
||||
@rm -rf /srv/web/phpSANE
|
||||
cd $(DIR_APP) && mv -vf phpSANE /srv/web/
|
||||
cp -vf $(DIR_SRC)/config/phpSANE/phpSANE.conf /etc/httpd/conf/vhosts.d/
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
|
||||
cd $(DIR_APP) && \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libexecdir=/usr/lib/nagios/plugins \
|
||||
--with-nagios-user=nobody \
|
||||
--with-nagios-group=nobody \
|
||||
--without-ipv6
|
||||
cd $(DIR_APP) && make $(MAKETUNING)
|
||||
cd $(DIR_APP) && make install
|
||||
@rm -rf $(DIR_APP)
|
||||
@$(POSTBUILD)
|
||||
@@ -33,9 +33,9 @@ DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
|
||||
PROG = nagios_nrpe
|
||||
PAK_VER = 2
|
||||
PAK_VER = 3
|
||||
|
||||
DEPS = "nagios"
|
||||
DEPS = "nagios-plugins"
|
||||
|
||||
###############################################################################
|
||||
# Top-level Rules
|
||||
|
||||
92
lfs/nagiosql
92
lfs/nagiosql
@@ -1,92 +0,0 @@
|
||||
###############################################################################
|
||||
# #
|
||||
# IPFire.org - A linux based firewall #
|
||||
# Copyright (C) 2009 Michael Tremer & Christian Schmidt #
|
||||
# #
|
||||
# This program is free software: you can redistribute it and/or modify #
|
||||
# it under the terms of the GNU General Public License as published by #
|
||||
# the Free Software Foundation, either version 3 of the License, or #
|
||||
# (at your option) any later version. #
|
||||
# #
|
||||
# This program is distributed in the hope that it will be useful, #
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
|
||||
# GNU General Public License for more details. #
|
||||
# #
|
||||
# You should have received a copy of the GNU General Public License #
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
|
||||
# #
|
||||
###############################################################################
|
||||
|
||||
###############################################################################
|
||||
# Definitions
|
||||
###############################################################################
|
||||
|
||||
include Config
|
||||
|
||||
VER = 303
|
||||
|
||||
THISAPP = nagiosql$(VER)
|
||||
DL_FILE = $(THISAPP).tar.gz
|
||||
DL_FROM = $(URL_IPFIRE)
|
||||
DIR_APP = $(DIR_SRC)/nagiosql3
|
||||
TARGET = $(DIR_INFO)/nagiosql-$(VER)
|
||||
|
||||
PROG = nagiosql
|
||||
PAK_VER = 1
|
||||
|
||||
DEPS = "nagios mysql"
|
||||
|
||||
###############################################################################
|
||||
# Top-level Rules
|
||||
###############################################################################
|
||||
|
||||
objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = 3b15650942cf0fea3b6bbec1700ace38
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
|
||||
|
||||
download :$(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
|
||||
md5 : $(subst %,%_MD5,$(objects))
|
||||
|
||||
|
||||
dist:
|
||||
@$(PAK)
|
||||
|
||||
###############################################################################
|
||||
# Downloading, checking, md5sum
|
||||
###############################################################################
|
||||
|
||||
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
|
||||
@$(CHECK)
|
||||
|
||||
$(patsubst %,$(DIR_DL)/%,$(objects)) :
|
||||
@$(LOAD)
|
||||
|
||||
$(subst %,%_MD5,$(objects)) :
|
||||
@$(MD5)
|
||||
|
||||
###############################################################################
|
||||
# Installation Details
|
||||
###############################################################################
|
||||
|
||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@$(PREBUILD)
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
|
||||
@rm -rf /usr/share/nagiosql
|
||||
mkdir /usr/share/nagiosql
|
||||
cd $(DIR_APP) && mv -vf * /usr/share/nagiosql
|
||||
cp -vf $(DIR_SRC)/config/nagiosql/nagios.conf /etc/httpd/conf/vhosts.d/
|
||||
cp -vrf $(DIR_SRC)/config/nagiosql/pear/HTML /usr/lib/php
|
||||
cp -vrf $(DIR_SRC)/config/nagiosql/etc /
|
||||
chown -R nobody:nobody /etc/nagiosql
|
||||
chown nobody /usr/share/nagiosql/config
|
||||
@rm -rf $(DIR_APP)
|
||||
@$(POSTBUILD)
|
||||
|
||||
@@ -1,91 +0,0 @@
|
||||
###############################################################################
|
||||
# #
|
||||
# IPFire.org - A linux based firewall #
|
||||
# Copyright (C) 2007 Michael Tremer & Christian Schmidt #
|
||||
# #
|
||||
# This program is free software: you can redistribute it and/or modify #
|
||||
# it under the terms of the GNU General Public License as published by #
|
||||
# the Free Software Foundation, either version 3 of the License, or #
|
||||
# (at your option) any later version. #
|
||||
# #
|
||||
# This program is distributed in the hope that it will be useful, #
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
|
||||
# GNU General Public License for more details. #
|
||||
# #
|
||||
# You should have received a copy of the GNU General Public License #
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
|
||||
# #
|
||||
###############################################################################
|
||||
|
||||
###############################################################################
|
||||
# Definitions
|
||||
###############################################################################
|
||||
|
||||
include Config
|
||||
|
||||
VER = 1.0.0
|
||||
|
||||
THISAPP = openmailadmin-$(VER)
|
||||
DL_FILE = $(THISAPP).tbz2
|
||||
DL_FROM = $(URL_IPFIRE)
|
||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
PROG = openmailadmin
|
||||
PAK_VER = 2
|
||||
|
||||
DEPS = "cyrus-imapd postfix mysql"
|
||||
|
||||
###############################################################################
|
||||
# Top-level Rules
|
||||
###############################################################################
|
||||
|
||||
objects = $(DL_FILE) \
|
||||
adodb502.tgz
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
adodb502.tgz = $(DL_FROM)/adodb502.tgz
|
||||
|
||||
$(DL_FILE)_MD5 = c56bc9c41f9dd25da9dbf1b63a470333
|
||||
adodb502.tgz_MD5 = 850fe353400df5af006985a88620936d
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
|
||||
|
||||
download :$(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
|
||||
md5 : $(subst %,%_MD5,$(objects))
|
||||
|
||||
dist:
|
||||
$(PAK)
|
||||
|
||||
###############################################################################
|
||||
# Downloading, checking, md5sum
|
||||
###############################################################################
|
||||
|
||||
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
|
||||
@$(CHECK)
|
||||
|
||||
$(patsubst %,$(DIR_DL)/%,$(objects)) :
|
||||
@$(LOAD)
|
||||
|
||||
$(subst %,%_MD5,$(objects)) :
|
||||
@$(MD5)
|
||||
|
||||
###############################################################################
|
||||
# Installation Details
|
||||
###############################################################################
|
||||
|
||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@$(PREBUILD)
|
||||
cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE) -C /srv/web
|
||||
mv -v /srv/web/openmailadmin-* /srv/web/openmailadmin
|
||||
cp -fv $(DIR_SRC)/config/openmailadmin/config.local.inc.php \
|
||||
/srv/web/openmailadmin/inc
|
||||
cp -fv $(DIR_SRC)/config/openmailadmin/mail.dump \
|
||||
/srv/web/openmailadmin/
|
||||
tar xfz $(DIR_DL)/adodb502.tgz -C /srv/web/openmailadmin
|
||||
ln -svf adodb5 /srv/web/openmailadmin/adodb
|
||||
chown nobody.nobody /srv/web/openmailadmin/ -Rv
|
||||
@$(POSTBUILD)
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 7.4p1
|
||||
VER = 7.6p1
|
||||
|
||||
THISAPP = openssh-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.gz
|
||||
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = b2db2a83caf66a208bb78d6d287cdaa3
|
||||
$(DL_FILE)_MD5 = 06a88699018e5fef13d4655abfed1f63
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
|
||||
6
lfs/tor
6
lfs/tor
@@ -24,7 +24,7 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 0.3.1.7
|
||||
VER = 0.3.1.9
|
||||
|
||||
THISAPP = tor-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.gz
|
||||
@@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE)
|
||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
PROG = tor
|
||||
PAK_VER = 24
|
||||
PAK_VER = 25
|
||||
|
||||
DEPS = ""
|
||||
|
||||
@@ -44,7 +44,7 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = ec7c9f588c9e1a42c09bcc097a1e55eb
|
||||
$(DL_FILE)_MD5 = 585e62d086ae7df7cd873f735d726118
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
|
||||
54
lfs/tunctl
54
lfs/tunctl
@@ -1,54 +0,0 @@
|
||||
###############################################################################
|
||||
# #
|
||||
# IPFire.org - A linux based firewall #
|
||||
# Copyright (C) 2007 Michael Tremer & Christian Schmidt #
|
||||
# #
|
||||
# This program is free software: you can redistribute it and/or modify #
|
||||
# it under the terms of the GNU General Public License as published by #
|
||||
# the Free Software Foundation, either version 3 of the License, or #
|
||||
# (at your option) any later version. #
|
||||
# #
|
||||
# This program is distributed in the hope that it will be useful, #
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
|
||||
# GNU General Public License for more details. #
|
||||
# #
|
||||
# You should have received a copy of the GNU General Public License #
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
|
||||
# #
|
||||
###############################################################################
|
||||
|
||||
###############################################################################
|
||||
# Definitions
|
||||
###############################################################################
|
||||
|
||||
include Config
|
||||
|
||||
VER = ipfire
|
||||
|
||||
THISAPP = tunctl
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
|
||||
###############################################################################
|
||||
# Top-level Rules
|
||||
###############################################################################
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
check :
|
||||
|
||||
download :
|
||||
|
||||
md5 :
|
||||
|
||||
###############################################################################
|
||||
# Installation Details
|
||||
###############################################################################
|
||||
|
||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@$(PREBUILD)
|
||||
@rm -rf $(DIR_SRC)/tunctl
|
||||
cd $(DIR_SRC) && gcc $(CFLAGS) -latm $(DIR_SRC)/src/tunctl/tunctl.c -o tunctl
|
||||
cd $(DIR_SRC) && install -v -m 755 tunctl /usr/bin/tunctl
|
||||
@rm -rf $(DIR_SRC)/tunctl
|
||||
@$(POSTBUILD)
|
||||
11
make.sh
11
make.sh
@@ -25,7 +25,7 @@
|
||||
NAME="IPFire" # Software name
|
||||
SNAME="ipfire" # Short name
|
||||
VERSION="2.19" # Version number
|
||||
CORE="117" # Core Level (Filename)
|
||||
CORE="118" # Core Level (Filename)
|
||||
PAKFIRE_CORE="117" # Core Level (PAKFIRE)
|
||||
GIT_BRANCH=`git rev-parse --abbrev-ref HEAD` # Git Branch
|
||||
SLOGAN="www.ipfire.org" # Software slogan
|
||||
@@ -208,7 +208,7 @@ configure_build() {
|
||||
local mem_max=$(( ${HOST_MEM} / 192 ))
|
||||
|
||||
local processors="$(system_processors)"
|
||||
local cpu_max=$(( ${processors} * 2 ))
|
||||
local cpu_max=$(( ${processors} + 1 ))
|
||||
|
||||
local parallelism
|
||||
if [ ${mem_max} -lt ${cpu_max} ]; then
|
||||
@@ -1310,7 +1310,6 @@ buildipfire() {
|
||||
lfsmake2 postfix
|
||||
lfsmake2 fetchmail
|
||||
lfsmake2 cyrus-imapd
|
||||
lfsmake2 openmailadmin
|
||||
lfsmake2 clamav
|
||||
lfsmake2 spamassassin
|
||||
lfsmake2 amavisd
|
||||
@@ -1364,11 +1363,9 @@ buildipfire() {
|
||||
lfsmake2 qemu
|
||||
lfsmake2 sane
|
||||
lfsmake2 netpbm
|
||||
lfsmake2 phpSANE
|
||||
lfsmake2 tunctl
|
||||
lfsmake2 netsnmpd
|
||||
lfsmake2 nagios
|
||||
lfsmake2 nagios_nrpe
|
||||
lfsmake2 nagios-plugins
|
||||
lfsmake2 icinga
|
||||
lfsmake2 ebtables
|
||||
lfsmake2 directfb
|
||||
@@ -1421,9 +1418,7 @@ buildipfire() {
|
||||
lfsmake2 perl-DBD-mysql
|
||||
lfsmake2 perl-DBD-SQLite
|
||||
lfsmake2 perl-File-ReadBackwards
|
||||
lfsmake2 cacti
|
||||
lfsmake2 openvmtools
|
||||
lfsmake2 nagiosql
|
||||
lfsmake2 motion
|
||||
lfsmake2 joe
|
||||
lfsmake2 monit
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
#!/bin/bash
|
||||
############################################################################
|
||||
# #
|
||||
# This file is part of the IPFire Firewall. #
|
||||
# #
|
||||
# IPFire is free software; you can redistribute it and/or modify #
|
||||
# it under the terms of the GNU General Public License as published by #
|
||||
# the Free Software Foundation; either version 2 of the License, or #
|
||||
# (at your option) any later version. #
|
||||
# #
|
||||
# IPFire is distributed in the hope that it will be useful, #
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
|
||||
# GNU General Public License for more details. #
|
||||
# #
|
||||
# You should have received a copy of the GNU General Public License #
|
||||
# along with IPFire; if not, write to the Free Software #
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #
|
||||
# #
|
||||
# Copyright (C) 2007 IPFire-Team <info@ipfire.org>. #
|
||||
# #
|
||||
############################################################################
|
||||
#
|
||||
. /opt/pakfire/lib/functions.sh
|
||||
extract_files
|
||||
/etc/init.d/apache restart
|
||||
@@ -1,27 +0,0 @@
|
||||
#!/bin/bash
|
||||
############################################################################
|
||||
# #
|
||||
# This file is part of the IPFire Firewall. #
|
||||
# #
|
||||
# IPFire is free software; you can redistribute it and/or modify #
|
||||
# it under the terms of the GNU General Public License as published by #
|
||||
# the Free Software Foundation; either version 2 of the License, or #
|
||||
# (at your option) any later version. #
|
||||
# #
|
||||
# IPFire is distributed in the hope that it will be useful, #
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
|
||||
# GNU General Public License for more details. #
|
||||
# #
|
||||
# You should have received a copy of the GNU General Public License #
|
||||
# along with IPFire; if not, write to the Free Software #
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #
|
||||
# #
|
||||
# Copyright (C) 2007 IPFire-Team <info@ipfire.org>. #
|
||||
# #
|
||||
############################################################################
|
||||
#
|
||||
. /opt/pakfire/lib/functions.sh
|
||||
stop_service ${NAME}
|
||||
make_backup ${NAME}
|
||||
remove_files
|
||||
@@ -1,26 +0,0 @@
|
||||
#!/bin/bash
|
||||
############################################################################
|
||||
# #
|
||||
# This file is part of the IPFire Firewall. #
|
||||
# #
|
||||
# IPFire is free software; you can redistribute it and/or modify #
|
||||
# it under the terms of the GNU General Public License as published by #
|
||||
# the Free Software Foundation; either version 2 of the License, or #
|
||||
# (at your option) any later version. #
|
||||
# #
|
||||
# IPFire is distributed in the hope that it will be useful, #
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
|
||||
# GNU General Public License for more details. #
|
||||
# #
|
||||
# You should have received a copy of the GNU General Public License #
|
||||
# along with IPFire; if not, write to the Free Software #
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #
|
||||
# #
|
||||
# Copyright (C) 2007 IPFire-Team <info@ipfire.org>. #
|
||||
# #
|
||||
############################################################################
|
||||
#
|
||||
. /opt/pakfire/lib/functions.sh
|
||||
./uninstall.sh
|
||||
./install.sh
|
||||
@@ -1,29 +0,0 @@
|
||||
#!/bin/bash
|
||||
############################################################################
|
||||
# #
|
||||
# This file is part of the IPFire Firewall. #
|
||||
# #
|
||||
# IPFire is free software; you can redistribute it and/or modify #
|
||||
# it under the terms of the GNU General Public License as published by #
|
||||
# the Free Software Foundation; either version 2 of the License, or #
|
||||
# (at your option) any later version. #
|
||||
# #
|
||||
# IPFire is distributed in the hope that it will be useful, #
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
|
||||
# GNU General Public License for more details. #
|
||||
# #
|
||||
# You should have received a copy of the GNU General Public License #
|
||||
# along with IPFire; if not, write to the Free Software #
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #
|
||||
# #
|
||||
# Copyright (C) 2007 IPFire-Team <info@ipfire.org>. #
|
||||
# #
|
||||
############################################################################
|
||||
#
|
||||
. /opt/pakfire/lib/functions.sh
|
||||
extract_files
|
||||
restore_backup ${NAME}
|
||||
htpasswd -bmc /etc/nagios/htpasswd.users nagiosadmin nagios
|
||||
/etc/init.d/apache restart
|
||||
start_service --background ${NAME}
|
||||
@@ -1,27 +0,0 @@
|
||||
#!/bin/bash
|
||||
############################################################################
|
||||
# #
|
||||
# This file is part of the IPFire Firewall. #
|
||||
# #
|
||||
# IPFire is free software; you can redistribute it and/or modify #
|
||||
# it under the terms of the GNU General Public License as published by #
|
||||
# the Free Software Foundation; either version 2 of the License, or #
|
||||
# (at your option) any later version. #
|
||||
# #
|
||||
# IPFire is distributed in the hope that it will be useful, #
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
|
||||
# GNU General Public License for more details. #
|
||||
# #
|
||||
# You should have received a copy of the GNU General Public License #
|
||||
# along with IPFire; if not, write to the Free Software #
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #
|
||||
# #
|
||||
# Copyright (C) 2007 IPFire-Team <info@ipfire.org>. #
|
||||
# #
|
||||
############################################################################
|
||||
#
|
||||
. /opt/pakfire/lib/functions.sh
|
||||
stop_service ${NAME}
|
||||
make_backup ${NAME}
|
||||
remove_files
|
||||
@@ -1,26 +0,0 @@
|
||||
#!/bin/bash
|
||||
############################################################################
|
||||
# #
|
||||
# This file is part of the IPFire Firewall. #
|
||||
# #
|
||||
# IPFire is free software; you can redistribute it and/or modify #
|
||||
# it under the terms of the GNU General Public License as published by #
|
||||
# the Free Software Foundation; either version 2 of the License, or #
|
||||
# (at your option) any later version. #
|
||||
# #
|
||||
# IPFire is distributed in the hope that it will be useful, #
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
|
||||
# GNU General Public License for more details. #
|
||||
# #
|
||||
# You should have received a copy of the GNU General Public License #
|
||||
# along with IPFire; if not, write to the Free Software #
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #
|
||||
# #
|
||||
# Copyright (C) 2007 IPFire-Team <info@ipfire.org>. #
|
||||
# #
|
||||
############################################################################
|
||||
#
|
||||
. /opt/pakfire/lib/functions.sh
|
||||
./uninstall.sh
|
||||
./install.sh
|
||||
@@ -1,29 +0,0 @@
|
||||
#!/bin/bash
|
||||
############################################################################
|
||||
# #
|
||||
# This file is part of the IPFire Firewall. #
|
||||
# #
|
||||
# IPFire is free software; you can redistribute it and/or modify #
|
||||
# it under the terms of the GNU General Public License as published by #
|
||||
# the Free Software Foundation; either version 2 of the License, or #
|
||||
# (at your option) any later version. #
|
||||
# #
|
||||
# IPFire is distributed in the hope that it will be useful, #
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
|
||||
# GNU General Public License for more details. #
|
||||
# #
|
||||
# You should have received a copy of the GNU General Public License #
|
||||
# along with IPFire; if not, write to the Free Software #
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #
|
||||
# #
|
||||
# Copyright (C) 2007 IPFire-Team <info@ipfire.org>. #
|
||||
# #
|
||||
############################################################################
|
||||
#
|
||||
. /opt/pakfire/lib/functions.sh
|
||||
extract_files
|
||||
restore_backup ${NAME}
|
||||
touch /usr/share/nagiosql/install/ENABLE_INSTALLER
|
||||
/etc/init.d/apache restart
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
#!/bin/bash
|
||||
############################################################################
|
||||
# #
|
||||
# This file is part of the IPFire Firewall. #
|
||||
# #
|
||||
# IPFire is free software; you can redistribute it and/or modify #
|
||||
# it under the terms of the GNU General Public License as published by #
|
||||
# the Free Software Foundation; either version 2 of the License, or #
|
||||
# (at your option) any later version. #
|
||||
# #
|
||||
# IPFire is distributed in the hope that it will be useful, #
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
|
||||
# GNU General Public License for more details. #
|
||||
# #
|
||||
# You should have received a copy of the GNU General Public License #
|
||||
# along with IPFire; if not, write to the Free Software #
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #
|
||||
# #
|
||||
# Copyright (C) 2007 IPFire-Team <info@ipfire.org>. #
|
||||
# #
|
||||
############################################################################
|
||||
#
|
||||
. /opt/pakfire/lib/functions.sh
|
||||
stop_service ${NAME}
|
||||
make_backup ${NAME}
|
||||
remove_files
|
||||
@@ -1,26 +0,0 @@
|
||||
#!/bin/bash
|
||||
############################################################################
|
||||
# #
|
||||
# This file is part of the IPFire Firewall. #
|
||||
# #
|
||||
# IPFire is free software; you can redistribute it and/or modify #
|
||||
# it under the terms of the GNU General Public License as published by #
|
||||
# the Free Software Foundation; either version 2 of the License, or #
|
||||
# (at your option) any later version. #
|
||||
# #
|
||||
# IPFire is distributed in the hope that it will be useful, #
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
|
||||
# GNU General Public License for more details. #
|
||||
# #
|
||||
# You should have received a copy of the GNU General Public License #
|
||||
# along with IPFire; if not, write to the Free Software #
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #
|
||||
# #
|
||||
# Copyright (C) 2007 IPFire-Team <info@ipfire.org>. #
|
||||
# #
|
||||
############################################################################
|
||||
#
|
||||
. /opt/pakfire/lib/functions.sh
|
||||
./uninstall.sh
|
||||
./install.sh
|
||||
@@ -1,25 +0,0 @@
|
||||
#!/bin/bash
|
||||
############################################################################
|
||||
# #
|
||||
# This file is part of the IPFire Firewall. #
|
||||
# #
|
||||
# IPFire is free software; you can redistribute it and/or modify #
|
||||
# it under the terms of the GNU General Public License as published by #
|
||||
# the Free Software Foundation; either version 2 of the License, or #
|
||||
# (at your option) any later version. #
|
||||
# #
|
||||
# IPFire is distributed in the hope that it will be useful, #
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
|
||||
# GNU General Public License for more details. #
|
||||
# #
|
||||
# You should have received a copy of the GNU General Public License #
|
||||
# along with IPFire; if not, write to the Free Software #
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #
|
||||
# #
|
||||
# Copyright (C) 2007 IPFire-Team <info@ipfire.org>. #
|
||||
# #
|
||||
############################################################################
|
||||
#
|
||||
. /opt/pakfire/lib/functions.sh
|
||||
remove_files
|
||||
@@ -1,26 +0,0 @@
|
||||
#!/bin/bash
|
||||
############################################################################
|
||||
# #
|
||||
# This file is part of the IPFire Firewall. #
|
||||
# #
|
||||
# IPFire is free software; you can redistribute it and/or modify #
|
||||
# it under the terms of the GNU General Public License as published by #
|
||||
# the Free Software Foundation; either version 2 of the License, or #
|
||||
# (at your option) any later version. #
|
||||
# #
|
||||
# IPFire is distributed in the hope that it will be useful, #
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
|
||||
# GNU General Public License for more details. #
|
||||
# #
|
||||
# You should have received a copy of the GNU General Public License #
|
||||
# along with IPFire; if not, write to the Free Software #
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #
|
||||
# #
|
||||
# Copyright (C) 2007 IPFire-Team <info@ipfire.org>. #
|
||||
# #
|
||||
############################################################################
|
||||
#
|
||||
. /opt/pakfire/lib/functions.sh
|
||||
./uninstall.sh
|
||||
./install.sh
|
||||
File diff suppressed because one or more lines are too long
@@ -1,607 +0,0 @@
|
||||
Description: treeview has a license issue, cacti upstream is going to replace it
|
||||
with functionality from jquery.jstree.
|
||||
.
|
||||
This patch implements the changes needed for an upstream layout where the
|
||||
necessary code is in cacti/include/js/jquery/ but the code in that path is
|
||||
not included in this patch.
|
||||
.
|
||||
The necessary jquery scripts and theme info can come from cacti upstream and from
|
||||
debian packages (libjs-jquery and libjs-jquery-cookie) The version used when
|
||||
creating this patch can be found here:
|
||||
http://svn.cacti.net/viewvc/cacti/branches/0.8.9/include/js/jquery/jquery.js?pathrev=7324
|
||||
http://svn.cacti.net/viewvc/cacti/branches/0.8.9/include/js/jquery/jquery.jstree.js?pathrev=7324
|
||||
http://svn.cacti.net/viewvc/cacti/branches/main/include/js/jquery/themes/default/?pathrev=7324
|
||||
http://anonscm.debian.org/gitweb/?p=pkg-javascript/jquery-goodies.git;a=blob;f=cookie/jquery.cookie.js;hb=c50e1a2d599cb48893e8d77470e71e83e44dfdb5
|
||||
.
|
||||
This patch does NOT implement the changes needed for the Debian package of
|
||||
cacti.
|
||||
.
|
||||
This patch was updated with the patch from Jan Zalesak <zalesak@jaw.cz> in
|
||||
http://bugs.debian.org/702690 which was further improved to also cover
|
||||
lib/graph_export.php and to keep tag alignment consistent.
|
||||
Bug: http://bugs.cacti.net/view.php?id=2228
|
||||
Bug-Debian: http://bugs.debian.org/679980
|
||||
Author: Paul Gevers <elbrus@debian.org>
|
||||
Date: Sun, 31 Mar 2013 11:59:05 +0200
|
||||
|
||||
--- a/include/top_graph_header.php
|
||||
+++ b/include/top_graph_header.php
|
||||
@@ -84,8 +84,9 @@
|
||||
<link href="<?php echo $config['url_path']; ?>include/main.css" type="text/css" rel="stylesheet">
|
||||
<link href="<?php echo $config['url_path']; ?>images/favicon.ico" rel="shortcut icon"/>
|
||||
<script type="text/javascript" src="<?php echo $config['url_path']; ?>include/layout.js"></script>
|
||||
- <script type="text/javascript" src="<?php echo $config['url_path']; ?>include/treeview/ua.js"></script>
|
||||
- <script type="text/javascript" src="<?php echo $config['url_path']; ?>include/treeview/ftiens4.js"></script>
|
||||
+ <script type="text/javascript" src="<?php echo $config['url_path']; ?>include/js/jquery/jquery.js" language="javascript"></script>
|
||||
+ <script type="text/javascript" src="<?php echo $config['url_path']; ?>include/js/jquery/jquery.cookie.js" language="javascript"></script>
|
||||
+ <script type="text/javascript" src="<?php echo $config['url_path']; ?>include/js/jquery/jquery.jstree.js"></script>
|
||||
<script type="text/javascript" src="<?php echo $config['url_path']; ?>include/jscalendar/calendar.js"></script>
|
||||
<script type="text/javascript" src="<?php echo $config['url_path']; ?>include/jscalendar/lang/calendar-en.js"></script>
|
||||
<script type="text/javascript" src="<?php echo $config['url_path']; ?>include/jscalendar/calendar-setup.js"></script>
|
||||
@@ -178,7 +179,6 @@
|
||||
<td valign="top" style="padding: 5px; border-right: #aaaaaa 1px solid;background-repeat:repeat-y;background-color:#efefef;" bgcolor='#efefef' width='<?php print htmlspecialchars(read_graph_config_option("default_dual_pane_width"));?>' class='noprint'>
|
||||
<table border=0 cellpadding=0 cellspacing=0><tr><td><a style="font-size:7pt;text-decoration:none;color:silver" href="http://www.treemenu.net/" target=_blank></a></td></tr></table>
|
||||
<?php grow_dhtml_trees(); ?>
|
||||
- <script type="text/javascript">initializeDocument();</script>
|
||||
|
||||
<?php if (isset($_GET["select_first"])) { ?>
|
||||
<script type="text/javascript">
|
||||
--- a/lib/graph_export.php
|
||||
+++ b/lib/graph_export.php
|
||||
@@ -1365,15 +1365,6 @@
|
||||
/* create the treeview representation for the html data */
|
||||
grow_dhtml_trees_export($fp,$tree_id);
|
||||
|
||||
- fwrite($fp,"<script type='text/javascript'>initializeDocument();</script>\n");
|
||||
- fwrite($fp,"<script type='text/javascript'>\n");
|
||||
- fwrite($fp,"var obj;\n");
|
||||
- fwrite($fp,"obj = findObj(1);\n");
|
||||
- fwrite($fp,"if (!obj.isOpen) {\n");
|
||||
- fwrite($fp,"clickOnNode(1);\n");
|
||||
- fwrite($fp,"}\n");
|
||||
- fwrite($fp,"clickOnLink(2,'','main');\n");
|
||||
- fwrite($fp,"</script>\n");
|
||||
fwrite($fp,"</td>\n");
|
||||
fwrite($fp,"<td valign='top'>\n");
|
||||
}
|
||||
@@ -1383,16 +1374,7 @@
|
||||
include_once($config["library_path"] . "/tree.php");
|
||||
include_once($config["library_path"] . "/data_query.php");
|
||||
|
||||
- fwrite($fp, "<script type='text/javascript'>\n");
|
||||
- fwrite($fp, "<!--
|
||||
- USETEXTLINKS = 1
|
||||
- STARTALLOPEN = 0
|
||||
- USEFRAMES = 0
|
||||
- USEICONS = 0
|
||||
- WRAPTEXT = 1
|
||||
- ICONPATH = 'treeview/'
|
||||
- PERSERVESTATE = 1
|
||||
- HIGHLIGHT = 1\n");
|
||||
+ fwrite($fp, "<div id=\"jtree\">\n");
|
||||
|
||||
if (read_config_option("export_tree_isolation") == "off") {
|
||||
$dhtml_tree_base = 0;
|
||||
@@ -1413,9 +1395,34 @@
|
||||
}
|
||||
}
|
||||
|
||||
- fwrite($fp,"foldersTree.treeID = \"t2\"
|
||||
- //-->\n
|
||||
- </script>\n");
|
||||
+ fwrite($fp, "</div>\n");
|
||||
+ fwrite($fp, "<script type=\"text/javascript\">\n");
|
||||
+ fwrite($fp, "$(function () {
|
||||
+ $(\"#jtree\")
|
||||
+ .jstree({
|
||||
+ \"plugins\" : [\"ui\",\"themes\",\"html_data\",\"cookies\"],
|
||||
+ \"themes\" : {\"icons\" : false,
|
||||
+ \"url\" : \"./js/style.css\"},
|
||||
+ \"cookies\" : {
|
||||
+ \"save_opened\" : \"Cacti_jstree_open\",
|
||||
+ \"save_selected\" : \"Cacti_jstree_select\"
|
||||
+ }
|
||||
+
|
||||
+ })
|
||||
+
|
||||
+ // Make sure that the nodes are actually used as links
|
||||
+ // We need reselect to prevent endless loops
|
||||
+ // https://groups.google.com/d/topic/jstree/j6XNq9hQdeA/discussion
|
||||
+ .bind(\"reselect.jstree\", function (e, data) {
|
||||
+ data.inst.get_container().bind(\"select_node.jstree\", function (e, data) {
|
||||
+ // data.rstl.obj is the object that was selected.
|
||||
+ document.location.href = data.rslt.obj.children(\"a\").attr(\"href\");
|
||||
+ });
|
||||
+ });
|
||||
+
|
||||
+});\n");
|
||||
+ fwrite($fp, "</script>\n");
|
||||
+
|
||||
}
|
||||
|
||||
/* get_graph_tree_array_export - returns a list of graph trees taking permissions into account if
|
||||
@@ -1478,8 +1485,7 @@
|
||||
$dhtml_tree = array();
|
||||
$dhtml_tree[0] = $start;
|
||||
$dhtml_tree[1] = read_graph_config_option("expand_hosts");
|
||||
- $dhtml_tree[2] = "foldersTree = gFld(\"\", \"\")\n";
|
||||
- $i = 2;
|
||||
+ $i = 1;
|
||||
|
||||
$tree_list = get_graph_tree_array_export();
|
||||
|
||||
@@ -1499,7 +1505,6 @@
|
||||
if (((read_config_option("export_tree_isolation") == "on") && ($tree_id == $tree["id"])) ||
|
||||
(read_config_option("export_tree_isolation") == "off")) {
|
||||
|
||||
- $i++;
|
||||
|
||||
$hier_sql = "SELECT DISTINCT
|
||||
graph_tree_items.id,
|
||||
@@ -1522,19 +1527,53 @@
|
||||
$dhtml_tree_id = 0;
|
||||
|
||||
if (sizeof($hierarchy) > 0) {
|
||||
+ $last_tier = 1;
|
||||
+ $openli = false;
|
||||
+ $lasthost = false;
|
||||
+ $opentree = false;
|
||||
foreach ($hierarchy as $leaf) {
|
||||
if ($dhtml_tree_id <> $tree["id"]) {
|
||||
- $dhtml_tree[$i] = "ou0 = insFld(foldersTree, gFld(\"" . get_tree_name($tree["id"]) . "\", \"" . clean_up_export_name(get_tree_name($tree["id"])) . "_leaf.html\"))\n";
|
||||
+ if ($opentree) {
|
||||
+ $i++;
|
||||
+ $dhtml_tree[$i] = "\t\t\t</ul>\n\t\t</li>\n\t</ul>\n";
|
||||
+ }
|
||||
+ $i++;
|
||||
+ $clean_id = clean_up_export_name(get_tree_name($tree["id"]));
|
||||
+ $dhtml_tree[$i] = "\t<ul>\n\t\t<li id=\"" . $clean_id . "\"><a href=\"" . $clean_id . "_leaf.html\">" . get_tree_name($tree["id"]) . "</a>\n\t\t\t<ul>\n";
|
||||
+ $opentree = true;
|
||||
}
|
||||
$dhtml_tree_id = $tree["id"];
|
||||
|
||||
- $i++;
|
||||
$tier = tree_tier($leaf["order_key"]);
|
||||
|
||||
if ($leaf["host_id"] > 0) { //It's a host
|
||||
- $dhtml_tree[$i] = "ou" . ($tier) . " = insFld(ou" . ($tier-1) . ", gFld(\"Host: " . $leaf["hostname"] . "\", \"" . clean_up_export_name($leaf["hostname"] . "_" . $leaf["id"]) . ".html\"))\n";
|
||||
+ if ($tier > $last_tier) {
|
||||
+ $i++;
|
||||
+ $dhtml_tree[$i] = "\t\t\t<ul>\n";
|
||||
+ } elseif ($tier < $last_tier) {
|
||||
+ if (!$lasthost) {
|
||||
+ $i++;
|
||||
+ $dhtml_tree[$i] = "\t\t\t\t</li>\n";
|
||||
+ }
|
||||
+ for ($x = $tier; $x < $last_tier; $x++) {
|
||||
+ $i++;
|
||||
+ $dhtml_tree[$i] = "\t\t\t</ul>\n\t\t\t\t</li>\n";
|
||||
+ $openli = false;
|
||||
+ }
|
||||
+ } elseif ($openli && !$lasthost) {
|
||||
+ $i++;
|
||||
+ $dhtml_tree[$i] = "\t\t\t\t</li>\n";
|
||||
+ $openli = false;
|
||||
+ }
|
||||
+ $last_tier = $tier;
|
||||
+ $lasthost = true;
|
||||
+ $i++;
|
||||
+ $clean_id = clean_up_export_name($leaf["hostname"] . "_" . $leaf["id"]);
|
||||
+ $dhtml_tree[$i] = "\t\t\t\t<li id=\"" . $clean_id . "\"><a href=\"" . $clean_id . ".html\">Host: " . htmlspecialchars($leaf["hostname"]) . "</a>\n";
|
||||
|
||||
if (read_config_option("export_tree_expand_hosts") == "on") {
|
||||
+ $i++;
|
||||
+ $dhtml_tree[$i] = "\t\t\t\t\t<ul>\n";
|
||||
if ($leaf["host_grouping_type"] == HOST_GROUPING_GRAPH_TEMPLATE) {
|
||||
$graph_templates = db_fetch_assoc("SELECT
|
||||
graph_templates.id,
|
||||
@@ -1552,7 +1591,8 @@
|
||||
if (sizeof($graph_templates) > 0) {
|
||||
foreach ($graph_templates as $graph_template) {
|
||||
$i++;
|
||||
- $dhtml_tree[$i] = "ou" . ($tier+1) . " = insFld(ou" . ($tier) . ", gFld(\" " . $graph_template["name"] . "\", \"" . clean_up_export_name($leaf["hostname"] . "_gt_" . $leaf["id"]) . "_" . $graph_template["id"] . ".html\"))\n";
|
||||
+ $clean_id = clean_up_export_name($leaf["hostname"] . "_gt_" . $leaf["id"] . "_" . $graph_template["id"]);
|
||||
+ $dhtml_tree[$i] = "\t\t\t\t\t\t<li id=\"" . $clean_id . "\"><a href=\"" . $clean_id . ".html\">" . htmlspecialchars($graph_template["name"]) . "</a></li>\n";
|
||||
}
|
||||
}
|
||||
}else if ($leaf["host_grouping_type"] == HOST_GROUPING_DATA_QUERY_INDEX) {
|
||||
@@ -1567,36 +1607,77 @@
|
||||
|
||||
array_push($data_queries, array(
|
||||
"id" => "0",
|
||||
- "name" => "Graph Template Based"
|
||||
+ "name" => "Non Query Based"
|
||||
));
|
||||
|
||||
if (sizeof($data_queries) > 0) {
|
||||
- foreach ($data_queries as $data_query) {
|
||||
- $i++;
|
||||
-
|
||||
- $dhtml_tree[$i] = "ou" . ($tier+1) . " = insFld(ou" . ($tier) . ", gFld(\" " . $data_query["name"] . "\", \"" . clean_up_export_name($leaf["hostname"] . "_dq_" . $leaf["title"] . "_" . $leaf["id"]) . "_" . $data_query["id"] . ".html\"))\n";
|
||||
+ foreach ($data_queries as $data_query) {
|
||||
+ $i++;
|
||||
+ $clean_id = clean_up_export_name($leaf["hostname"] . "_dq_" . $leaf["title"] . "_" . $leaf["id"] . "_" . $data_query["id"]);
|
||||
+ $dhtml_tree[$i] = "\t\t\t\t\t\t<li id=\"" . $clean_id . "\"><a href=\"" . $clean_id . ".html\">" . htmlspecialchars($data_query["name"]) . "</a>\n";
|
||||
|
||||
- /* fetch a list of field names that are sorted by the preferred sort field */
|
||||
- $sort_field_data = get_formatted_data_query_indexes($leaf["host_id"], $data_query["id"]);
|
||||
+ /* fetch a list of field names that are sorted by the preferred sort field */
|
||||
+ $sort_field_data = get_formatted_data_query_indexes($leaf["host_id"], $data_query["id"]);
|
||||
|
||||
- if ($data_query["id"] > 0) {
|
||||
- while (list($snmp_index, $sort_field_value) = each($sort_field_data)) {
|
||||
+ if ($data_query["id"] > 0) {
|
||||
+ $i++;
|
||||
+ $dhtml_tree[$i] = "\t\t\t\t\t\t\t<ul>\n";
|
||||
+ while (list($snmp_index, $sort_field_value) = each($sort_field_data)) {
|
||||
+ $i++;
|
||||
+ $clean_id = clean_up_export_name($leaf["hostname"] . "_dqi_" . $leaf["id"] . "_" . $data_query["id"] . "_" . $snmp_index);
|
||||
+ $dhtml_tree[$i] = "\t\t\t\t\t\t\t\t<li id=\"" . $clean_id . "\"><a href=\"" . $clean_id . ".html\">" . htmlspecialchars($sort_field_value) . "</a></li>\n";
|
||||
+ }
|
||||
$i++;
|
||||
- $dhtml_tree[$i] = "ou" . ($tier+2) . " = insFld(ou" . ($tier+1) . ", gFld(\" " . $sort_field_value . "\", \"" . clean_up_export_name($leaf["hostname"] . "_dqi_" . $leaf["title"] . "_" . $leaf["id"]) . "_" . $data_query["id"] . "_" . $snmp_index . ".html\"))\n";
|
||||
+ $dhtml_tree[$i] = "\t\t\t\t\t\t\t</ul>\n";
|
||||
}
|
||||
+ $i++;
|
||||
+ $dhtml_tree[$i] = "\t\t\t\t\t\t</li>\n";
|
||||
}
|
||||
}
|
||||
- }
|
||||
}
|
||||
+ $i++;
|
||||
+ $dhtml_tree[$i] = "\t\t\t\t\t</ul>\n";
|
||||
}
|
||||
- }else {
|
||||
- $dhtml_tree[$i] = "ou" . ($tier) . " = insFld(ou" . ($tier-1) . ", gFld(\"" . $leaf["title"] . "\", \"" . clean_up_export_name(get_tree_name($tree["id"]) . "_" . $leaf["title"] . "_" . $leaf["id"]) . "_leaf.html\"))\n";
|
||||
+ $i++;
|
||||
+ $dhtml_tree[$i] = "\t\t\t\t</li>\n";
|
||||
+ }else { //It's not a host
|
||||
+ if ($tier > $last_tier) {
|
||||
+ $i++;
|
||||
+ $dhtml_tree[$i] = "\t\t\t<ul>\n";
|
||||
+ } elseif ($tier < $last_tier) {
|
||||
+ if (!$lasthost) {
|
||||
+ $i++;
|
||||
+ $dhtml_tree[$i] = "</li>\n";
|
||||
+ }
|
||||
+ for ($x = $tier; $x < $last_tier; $x++) {
|
||||
+ $i++;
|
||||
+ $dhtml_tree[$i] = "\t\t\t\t</ul>\n\t\t\t\t</li>\n";
|
||||
+ $openli = false;
|
||||
+ }
|
||||
+ } elseif ($openli && !$lasthost) {
|
||||
+ $i++;
|
||||
+ $dhtml_tree[$i] = "</li>\n";
|
||||
+ $openli = false;
|
||||
+ }
|
||||
+ $last_tier = $tier;
|
||||
+ $i++;
|
||||
+ $clean_id = clean_up_export_name(get_tree_name($tree["id"]) . "_" . $leaf["title"] . "_" . $leaf["id"]);
|
||||
+ $dhtml_tree[$i] = "\t\t\t\t<li id=\"" . $clean_id . "\"><a href=\"" . $clean_id . "_leaf.html\">" . htmlspecialchars($leaf["title"]) . "</a>\n";
|
||||
+ $openli = true;
|
||||
+ $lasthost = false;
|
||||
}
|
||||
}
|
||||
+ for ($x = $last_tier; $x > 1; $x--) {
|
||||
+ $i++;
|
||||
+ $dhtml_tree[$i] = "\t\t\t\t\t</ul>\n\t\t\t\t</li>\n";
|
||||
+ }
|
||||
+ $i++;
|
||||
+ $dhtml_tree[$i] = "\t\t\t</ul>\n\t\t</li>\n\t</ul>\n";
|
||||
}else{
|
||||
if ($dhtml_tree_id <> $tree["id"]) {
|
||||
- $dhtml_tree[$i] = "ou0 = insFld(foldersTree, gFld(\"" . get_tree_name($tree["id"]) . "\", \"" . clean_up_export_name(get_tree_name($tree["id"])) . "_leaf.html\"))\n";
|
||||
$i++;
|
||||
+ $clean_id = clean_up_export_name(get_tree_name($tree["id"]));
|
||||
+ $dhtml_tree[$i] = "\t<ul>\n\t\t<li id=\"" . $clean_id . "_leaf\"><a href=\"" . $clean_id . "_leaf.html\">" . get_tree_name($tree["id"]) . "</a></li>\n\t</ul>";
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1612,10 +1693,10 @@
|
||||
$dir - the export directory where graphs will either be staged or located.
|
||||
*/
|
||||
function create_export_directory_structure($cacti_root_path, $dir) {
|
||||
- /* create the treeview sub-directory */
|
||||
- if (!is_dir("$dir/treeview")) {
|
||||
- if (!mkdir("$dir/treeview", 0755)) {
|
||||
- export_fatal("Create directory '" . $dir . "/treeview' failed. Can not continue");
|
||||
+ /* create the jquery sub-directory */
|
||||
+ if (!is_dir("$dir/js")) {
|
||||
+ if (!mkdir("$dir/js", 0755)) {
|
||||
+ export_fatal("Create directory '" . $dir . "/js' failed. Can not continue");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1626,8 +1707,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
- $treeview_dir = $dir . "/treeview";
|
||||
-
|
||||
/* css */
|
||||
copy("$cacti_root_path/include/main.css", "$dir/main.css");
|
||||
|
||||
@@ -1639,18 +1718,15 @@
|
||||
copy("$cacti_root_path/images/shadow_gray.gif", "$dir/shadow_gray.gif");
|
||||
|
||||
/* java scripts for the tree */
|
||||
- copy("$cacti_root_path/include/treeview/ftiens4_export.js", "$treeview_dir/ftiens4.js");
|
||||
- copy("$cacti_root_path/include/treeview/ua.js", "$treeview_dir/ua.js");
|
||||
-
|
||||
- /* images for the tree */
|
||||
- copy("$cacti_root_path/include/treeview/ftv2blank.gif", "$treeview_dir/ftv2blank.gif");
|
||||
- copy("$cacti_root_path/include/treeview/ftv2lastnode.gif", "$treeview_dir/ftv2lastnode.gif");
|
||||
- copy("$cacti_root_path/include/treeview/ftv2mlastnode.gif", "$treeview_dir/ftv2mlastnode.gif");
|
||||
- copy("$cacti_root_path/include/treeview/ftv2mnode.gif", "$treeview_dir/ftv2mnode.gif");
|
||||
- copy("$cacti_root_path/include/treeview/ftv2node.gif", "$treeview_dir/ftv2node.gif");
|
||||
- copy("$cacti_root_path/include/treeview/ftv2plastnode.gif", "$treeview_dir/ftv2plastnode.gif");
|
||||
- copy("$cacti_root_path/include/treeview/ftv2pnode.gif", "$treeview_dir/ftv2pnode.gif");
|
||||
- copy("$cacti_root_path/include/treeview/ftv2vertline.gif", "$treeview_dir/ftv2vertline.gif");
|
||||
+ copy("$cacti_root_path/include/js/jquery/jquery.js", "$dir/js/jquery.js");
|
||||
+ copy("$cacti_root_path/include/js/jquery/jquery.jstree.js", "$dir/js/jquery.jstree.js");
|
||||
+ copy("$cacti_root_path/include/js/jquery/jquery.cookie.js", "$dir/js/jquery.cookie.js");
|
||||
+
|
||||
+ /* theme info for java scripts */
|
||||
+ copy("$cacti_root_path/include/js/jquery/themes/default/style.css", "$dir/js/style.css");
|
||||
+ copy("$cacti_root_path/include/js/jquery/themes/default/d.png", "$dir/js/d.png");
|
||||
+ copy("$cacti_root_path/include/js/jquery/themes/default/d.gif", "$dir/js/d.gif");
|
||||
+ copy("$cacti_root_path/include/js/jquery/themes/default/throbber.gif", "$dir/js/throbber.gif");
|
||||
}
|
||||
|
||||
function get_host_description($host_id) {
|
||||
@@ -1738,8 +1814,9 @@
|
||||
<meta http-equiv=refresh content='300'; url='index.html'>
|
||||
<meta http-equiv=Pragma content=no-cache>
|
||||
<meta http-equiv=cache-control content=no-cache>
|
||||
- <script type=\"text/javascript\" src=\"./treeview/ua.js\"></script>
|
||||
- <script type=\"text/javascript\" src=\"./treeview/ftiens4.js\"></script>
|
||||
+ <script type=\"text/javascript\" src=\"./js/jquery.js\" language=\"javascript\"></script>
|
||||
+ <script type=\"text/javascript\" src=\"./js/jquery.cookie.js\" language=\"javascript\"></script>
|
||||
+ <script type=\"text/javascript\" src=\"./js/jquery.jstree.js\" language=\"javascript\"></script>
|
||||
</head>
|
||||
<body>
|
||||
<table style='width:100%;height:100%;' cellspacing='0' cellpadding='0'>
|
||||
--- a/lib/html_tree.php
|
||||
+++ b/lib/html_tree.php
|
||||
@@ -495,17 +495,9 @@
|
||||
include_once($config["library_path"] . "/data_query.php");
|
||||
|
||||
?>
|
||||
- <script type="text/javascript">
|
||||
- <!--
|
||||
- USETEXTLINKS = 1
|
||||
- STARTALLOPEN = 0
|
||||
- USEFRAMES = 0
|
||||
- USEICONS = 0
|
||||
- WRAPTEXT = 1
|
||||
- PERSERVESTATE = 1
|
||||
- HIGHLIGHT = 1
|
||||
<?php
|
||||
/* get current time */
|
||||
+/* Probably not needed anymore as jstree uses jquery.cookies
|
||||
list($micro,$seconds) = explode(" ", microtime());
|
||||
$current_time = $seconds + $micro;
|
||||
$expand_hosts = read_graph_config_option("expand_hosts");
|
||||
@@ -522,6 +514,8 @@
|
||||
$dhtml_tree = $_SESSION['dhtml_tree'];
|
||||
}
|
||||
}
|
||||
+*/
|
||||
+ $dhtml_tree = create_dhtml_tree();
|
||||
|
||||
$total_tree_items = sizeof($dhtml_tree) - 1;
|
||||
|
||||
@@ -529,8 +523,31 @@
|
||||
print $dhtml_tree[$i];
|
||||
}
|
||||
?>
|
||||
- //-->
|
||||
- </script>
|
||||
+<script type="text/javascript">
|
||||
+$(function () {
|
||||
+ $("#jtree")
|
||||
+ .jstree({
|
||||
+ "plugins" : ["ui","themes","html_data","cookies"],
|
||||
+ "themes" : {"icons" : false,
|
||||
+ "url" : "<?php echo $config['url_path']; ?>include/js/jquery/themes/default/style.css"},
|
||||
+ "cookies" : {
|
||||
+ "save_opened" : "Cacti_jstree_open",
|
||||
+ "save_selected" : "Cacti_jstree_select"
|
||||
+ }
|
||||
+ })
|
||||
+
|
||||
+ // Make sure that the nodes are actually used as links
|
||||
+ // We need reselect to prevent endless loops
|
||||
+ // https://groups.google.com/d/topic/jstree/j6XNq9hQdeA/discussion
|
||||
+ .bind("reselect.jstree", function (e, data) {
|
||||
+ data.inst.get_container().bind("select_node.jstree", function (e, data) {
|
||||
+ // data.rstl.obj is the object that was selected.
|
||||
+ document.location.href = data.rslt.obj.children("a").attr("href");
|
||||
+ });
|
||||
+ });
|
||||
+
|
||||
+});
|
||||
+</script>
|
||||
<?php
|
||||
}
|
||||
|
||||
@@ -543,9 +560,8 @@
|
||||
|
||||
$dhtml_tree[0] = $start;
|
||||
$dhtml_tree[1] = read_graph_config_option("expand_hosts");
|
||||
- $dhtml_tree[2] = "foldersTree = gFld(\"\", \"\")\n";
|
||||
- $dhtml_tree[3] = "foldersTree.xID = \"root\"\n";
|
||||
- $i = 3;
|
||||
+ $dhtml_tree[2] = "\n<div id=\"jtree\">\n";
|
||||
+ $i = 2;
|
||||
|
||||
$tree_list = get_graph_tree_array();
|
||||
|
||||
@@ -567,7 +583,6 @@
|
||||
|
||||
if (sizeof($tree_list) > 0) {
|
||||
foreach ($tree_list as $tree) {
|
||||
- $i++;
|
||||
$hierarchy = db_fetch_assoc("select
|
||||
graph_tree_items.id,
|
||||
graph_tree_items.title,
|
||||
@@ -583,21 +598,45 @@
|
||||
and graph_tree_items.local_graph_id = 0
|
||||
order by graph_tree_items.order_key");
|
||||
|
||||
- $dhtml_tree[$i] = "ou0 = insFld(foldersTree, gFld(\"" . htmlspecialchars($tree["name"]) . "\", \"" . htmlspecialchars("graph_view.php?action=tree&tree_id=" . $tree["id"]) . "\"))\n";
|
||||
$i++;
|
||||
- $dhtml_tree[$i] = "ou0.xID = \"tree_" . $tree["id"] . "\"\n";
|
||||
+ $dhtml_tree[$i] = "\t<ul>\n\t\t<li id=\"" . htmlspecialchars("tree_" . $tree["id"]) . "\"><a href=\"" . htmlspecialchars("graph_view.php?action=tree&tree_id=" . $tree["id"]) . "\">" . htmlspecialchars($tree["name"]) . "</a>\n";
|
||||
|
||||
if (sizeof($hierarchy) > 0) {
|
||||
+ $i++;
|
||||
+ $dhtml_tree[$i] = "\t\t\t<ul>\n";
|
||||
+ $last_tier = 1;
|
||||
+ $openli = false;
|
||||
+ $lasthost = false;
|
||||
foreach ($hierarchy as $leaf) {
|
||||
- $i++;
|
||||
$tier = tree_tier($leaf["order_key"]);
|
||||
|
||||
- if ($leaf["host_id"] > 0) {
|
||||
- $dhtml_tree[$i] = "ou" . ($tier) . " = insFld(ou" . abs(($tier-1)) . ", gFld(\"" . "Host: " . htmlspecialchars($leaf["hostname"]) . "\", \"" . htmlspecialchars("graph_view.php?action=tree&tree_id=" . $tree["id"] . "&leaf_id=" . $leaf["id"]) . "\"))\n";
|
||||
+ if ($leaf["host_id"] > 0) { //It's a host
|
||||
+ if ($tier > $last_tier) {
|
||||
+ $i++;
|
||||
+ $dhtml_tree[$i] = "\t\t\t<ul>\n";
|
||||
+ } elseif ($tier < $last_tier) {
|
||||
+ if (!$lasthost) {
|
||||
+ $i++;
|
||||
+ $dhtml_tree[$i] = "\t\t\t\t</li>\n";
|
||||
+ }
|
||||
+ for ($x = $tier; $x < $last_tier; $x++) {
|
||||
+ $i++;
|
||||
+ $dhtml_tree[$i] = "\t\t\t</ul>\n\t\t\t\t</li>\n";
|
||||
+ $openli = false;
|
||||
+ }
|
||||
+ } elseif ($openli && !$lasthost) {
|
||||
+ $i++;
|
||||
+ $dhtml_tree[$i] = "\t\t\t\t</li>\n";
|
||||
+ $openli = false;
|
||||
+ }
|
||||
+ $last_tier = $tier;
|
||||
+ $lasthost = true;
|
||||
$i++;
|
||||
- $dhtml_tree[$i] = "ou" . ($tier) . ".xID = \"tree_" . $tree["id"] . "_leaf_" . $leaf["id"] . "\"\n";
|
||||
+ $dhtml_tree[$i] = "\t\t\t\t<li id=\"" . htmlspecialchars("tree_" . $tree["id"] . "_leaf_" . $leaf["id"]) . "\"><a href=\"" . htmlspecialchars("graph_view.php?action=tree&tree_id=" . $tree["id"] . "&leaf_id=" . $leaf["id"]) . "\">Host: " . htmlspecialchars($leaf["hostname"]) . "</a>\n";
|
||||
|
||||
if (read_graph_config_option("expand_hosts") == "on") {
|
||||
+ $i++;
|
||||
+ $dhtml_tree[$i] = "\t\t\t\t\t<ul>\n";
|
||||
if ($leaf["host_grouping_type"] == HOST_GROUPING_GRAPH_TEMPLATE) {
|
||||
$graph_templates = db_fetch_assoc("select
|
||||
graph_templates.id,
|
||||
@@ -612,9 +651,7 @@
|
||||
if (sizeof($graph_templates) > 0) {
|
||||
foreach ($graph_templates as $graph_template) {
|
||||
$i++;
|
||||
- $dhtml_tree[$i] = "ou" . ($tier+1) . " = insFld(ou" . ($tier) . ", gFld(\" " . htmlspecialchars($graph_template["name"]) . "\", \"graph_view.php?action=tree&tree_id=" . $tree["id"] . "&leaf_id=" . $leaf["id"] . "&host_group_data=graph_template:" . $graph_template["id"] . "\"))\n";
|
||||
- $i++;
|
||||
- $dhtml_tree[$i] = "ou" . ($tier+1) . ".xID = \"tree_" . $tree["id"] . "_leaf_" . $leaf["id"] . "_hgd_gt_" . $graph_template["id"] . "\"\n";
|
||||
+ $dhtml_tree[$i] = "\t\t\t\t\t\t<li id=\"" . htmlspecialchars("tree_" . $tree["id"] . "_leaf_" . $leaf["id"] . "_hgd_gt_" . $graph_template["id"]) . "\"><a href=\"" . htmlspecialchars("graph_view.php?action=tree&tree_id=" . $tree["id"] . "&leaf_id=" . $leaf["id"] . "&host_group_data=graph_template:" . $graph_template["id"]) . "\">" . htmlspecialchars($graph_template["name"]) . "</a></li>\n";
|
||||
}
|
||||
}
|
||||
}else if ($leaf["host_grouping_type"] == HOST_GROUPING_DATA_QUERY_INDEX) {
|
||||
@@ -645,33 +682,71 @@
|
||||
if ((($data_query["id"] == 0) && ($non_template_graphs > 0)) ||
|
||||
(($data_query["id"] > 0) && (sizeof($sort_field_data) > 0))) {
|
||||
$i++;
|
||||
- $dhtml_tree[$i] = "ou" . ($tier+1) . " = insFld(ou" . ($tier) . ", gFld(\" " . htmlspecialchars($data_query["name"]) . "\", \"" . htmlspecialchars("graph_view.php?action=tree&tree_id=" . $tree["id"] . "&leaf_id=" . $leaf["id"] . "&host_group_data=data_query:" . $data_query["id"]) . "\"))\n";
|
||||
- $i++;
|
||||
- $dhtml_tree[$i] = "ou" . ($tier+1) . ".xID = \"tree_" . $tree["id"] . "_leaf_" . $leaf["id"] . "_hgd_dq_" . $data_query["id"] . "\"\n";
|
||||
-
|
||||
+ $dhtml_tree[$i] = "\t\t\t\t\t\t<li id=\"" . htmlspecialchars("tree_" . $tree["id"] . "_leaf_" . $leaf["id"] . "_hgd_dq_" . $data_query["id"]) . "\"><a href=\"" . htmlspecialchars("graph_view.php?action=tree&tree_id=" . $tree["id"] . "&leaf_id=" . $leaf["id"] . "&host_group_data=data_query:" . $data_query["id"]) . "\">" . htmlspecialchars($data_query["name"]) . "</a>\n";
|
||||
if ($data_query["id"] > 0) {
|
||||
+ $i++;
|
||||
+ $dhtml_tree[$i] = "\t\t\t\t\t\t\t<ul>\n";
|
||||
while (list($snmp_index, $sort_field_value) = each($sort_field_data)) {
|
||||
$i++;
|
||||
- $dhtml_tree[$i] = "ou" . ($tier+2) . " = insFld(ou" . ($tier+1) . ", gFld(\" " . htmlspecialchars($sort_field_value) . "\", \"" . htmlspecialchars("graph_view.php?action=tree&tree_id=" . $tree["id"] . "&leaf_id=" . $leaf["id"] . "&host_group_data=data_query_index:" . $data_query["id"] . ":" . urlencode($snmp_index)) . "\"))\n";
|
||||
- $i++;
|
||||
- $dhtml_tree[$i] = "ou" . ($tier+2) . ".xID = \"tree_" . $tree["id"] . "_leaf_" . $leaf["id"] . "_hgd_dqi" . $data_query["id"] . "_" . urlencode($snmp_index) . "\"\n";
|
||||
+ $dhtml_tree[$i] = "\t\t\t\t\t\t\t\t<li id=\"" . htmlspecialchars("tree_" . $tree["id"] . "_leaf_" . $leaf["id"] . "_hgd_dqi" . $data_query["id"]) . "_" . urlencode($snmp_index) . "\"><a href=\"" . htmlspecialchars("graph_view.php?action=tree&tree_id=" . $tree["id"] . "&leaf_id=" . $leaf["id"] . "&host_group_data=data_query_index:" . $data_query["id"] . ":" . urlencode($snmp_index)) . "\">" . htmlspecialchars($sort_field_value) . "</a></li>\n";
|
||||
}
|
||||
+ $i++;
|
||||
+ $dhtml_tree[$i] = "\t\t\t\t\t\t\t</ul>\n";
|
||||
+ $i++;
|
||||
+ $dhtml_tree[$i] = "\t\t\t\t\t\t</li>\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+ $i++;
|
||||
+ $dhtml_tree[$i] = "\t\t\t\t\t\t</li>\n";
|
||||
+ }
|
||||
+ $i++;
|
||||
+ $dhtml_tree[$i] = "\t\t\t\t\t</ul>\n";
|
||||
+ }
|
||||
+ $i++;
|
||||
+ $dhtml_tree[$i] = "\t\t\t\t</li>\n";
|
||||
+ }else{ //It's not a host
|
||||
+ if ($tier > $last_tier) {
|
||||
+ $i++;
|
||||
+ $dhtml_tree[$i] = "\t\t\t<ul>\n";
|
||||
+ } elseif ($tier < $last_tier) {
|
||||
+ if (!$lasthost) {
|
||||
+ $i++;
|
||||
+ $dhtml_tree[$i] = "</li>\n";
|
||||
}
|
||||
+ for ($x = $tier; $x < $last_tier; $x++) {
|
||||
+ $i++;
|
||||
+ $dhtml_tree[$i] = "\t\t\t\t</ul>\n\t\t\t\t</li>\n";
|
||||
+ $openli = false;
|
||||
+ }
|
||||
+ } elseif ($openli && !$lasthost) {
|
||||
+ $i++;
|
||||
+ $dhtml_tree[$i] = "</li>\n";
|
||||
+ $openli = false;
|
||||
}
|
||||
- }else{
|
||||
- $dhtml_tree[$i] = "ou" . ($tier) . " = insFld(ou" . abs(($tier-1)) . ", gFld(\"" . htmlspecialchars($leaf["title"]) . "\", \"" . htmlspecialchars("graph_view.php?action=tree&tree_id=" . $tree["id"] . "&leaf_id=" . $leaf["id"]) . "\"))\n";
|
||||
+ $last_tier = $tier;
|
||||
$i++;
|
||||
- $dhtml_tree[$i] = "ou" . ($tier) . ".xID = \"tree_" . $tree["id"] . "_leaf_" . $leaf["id"] . "\"\n";
|
||||
+ $dhtml_tree[$i] = "\t\t\t\t<li id=\"" . htmlspecialchars("tree_" . $tree["id"] . "_leaf_" . $leaf["id"]) . "\"><a href=\"" . htmlspecialchars("graph_view.php?action=tree&tree_id=" . $tree["id"] . "&leaf_id=" . $leaf["id"]) . "\">" . htmlspecialchars($leaf["title"]) . "</a>\n";
|
||||
+ $openli = true;
|
||||
+ $lasthost = false;
|
||||
}
|
||||
}
|
||||
+ for ($x = $last_tier; $x > 1; $x--) {
|
||||
+ $i++;
|
||||
+ $dhtml_tree[$i] = "\t\t\t\t\t</ul>\n\t\t\t\t</li>\n";
|
||||
+ }
|
||||
+ $i++;
|
||||
+ $dhtml_tree[$i] = "\t\t\t</ul>\n";
|
||||
}
|
||||
+ $i++;
|
||||
+ $dhtml_tree[$i] = "\t\t</li>\n\t</ul>\n";
|
||||
}
|
||||
}
|
||||
|
||||
+ $i++;
|
||||
+ $dhtml_tree[$i] = "</div>\n";
|
||||
+
|
||||
return $dhtml_tree;
|
||||
}
|
||||
|
||||
@@ -758,14 +833,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
- print "<script type=\"text/javascript\">\n";
|
||||
- print "<!--\n";
|
||||
- print "myNode = findObj(\"$nodeid\")\n";
|
||||
- print "myNode.forceOpeningOfAncestorFolders();\n";
|
||||
- print "highlightObjLink(myNode)\n";
|
||||
- print "//-->\n";
|
||||
- print "</script>";
|
||||
-
|
||||
/* ================= input validation ================= */
|
||||
input_validate_input_number(get_request_var_post("graphs"));
|
||||
input_validate_input_number(get_request_var_post("page"));
|
||||
@@ -1,19 +0,0 @@
|
||||
------------------------------------------------------------------------
|
||||
r7443 | rony | 2014-03-30 18:43:28 -0500 (Sun, 30 Mar 2014) | 2 lines
|
||||
|
||||
bug#0002431: CVE-2014-2326 Unspecified HTML Injection Vulnerability
|
||||
|
||||
------------------------------------------------------------------------
|
||||
Index: branches/0.8.8/cdef.php
|
||||
===================================================================
|
||||
--- branches/0.8.8/cdef.php (revision 7442)
|
||||
+++ branches/0.8.8/cdef.php (revision 7443)
|
||||
@@ -431,7 +431,7 @@
|
||||
<a class="linkEditMain" href="<?php print htmlspecialchars("cdef.php?action=item_edit&id=" . $cdef_item["id"] . "&cdef_id=" . $cdef["id"]);?>">Item #<?php print htmlspecialchars($i);?></a>
|
||||
</td>
|
||||
<td>
|
||||
- <em><?php $cdef_item_type = $cdef_item["type"]; print $cdef_item_types[$cdef_item_type];?></em>: <strong><?php print get_cdef_item_name($cdef_item["id"]);?></strong>
|
||||
+ <em><?php $cdef_item_type = $cdef_item["type"]; print $cdef_item_types[$cdef_item_type];?></em>: <strong><?php print htmlspecialchars(get_cdef_item_name($cdef_item["id"]));?></strong>
|
||||
</td>
|
||||
<td>
|
||||
<a href="<?php print htmlspecialchars("cdef.php?action=item_movedown&id=" . $cdef_item["id"] . "&cdef_id=" . $cdef["id"]);?>"><img src="images/move_down.gif" border="0" alt="Move Down"></a>
|
||||
@@ -1,28 +0,0 @@
|
||||
------------------------------------------------------------------------
|
||||
r7442 | rony | 2014-03-30 18:41:56 -0500 (Sun, 30 Mar 2014) | 2 lines
|
||||
|
||||
bug#0002433: CVE-2014-2328 Unspecified Remote Command Execution Vulnerability
|
||||
|
||||
------------------------------------------------------------------------
|
||||
Index: branches/0.8.8/lib/graph_export.php
|
||||
===================================================================
|
||||
--- branches/0.8.8/lib/graph_export.php (revision 7441)
|
||||
+++ branches/0.8.8/lib/graph_export.php (revision 7442)
|
||||
@@ -339,7 +339,7 @@
|
||||
chdir($stExportDir);
|
||||
|
||||
/* set the initial command structure */
|
||||
- $stExecute = 'ncftpput -R -V -r 1 -u '.$aFtpExport['username'].' -p '.$aFtpExport['password'];
|
||||
+ $stExecute = 'ncftpput -R -V -r 1 -u ' . cacti_escapeshellarg($aFtpExport['username']) . ' -p ' . cacti_escapeshellarg($aFtpExport['password']);
|
||||
|
||||
/* if the user requested passive mode, use it */
|
||||
if ($aFtpExport['passive']) {
|
||||
@@ -347,7 +347,7 @@
|
||||
}
|
||||
|
||||
/* setup the port, server, remote directory and all files */
|
||||
- $stExecute .= ' -P ' . $aFtpExport['port'] . ' ' . $aFtpExport['server'] . ' ' . $aFtpExport['remotedir'] . ".";
|
||||
+ $stExecute .= ' -P ' . cacti_escapeshellarg($aFtpExport['port']) . ' ' . cacti_escapeshellarg($aFtpExport['server']) . ' ' . cacti_escapeshellarg($aFtpExport['remotedir']) . ".";
|
||||
|
||||
/* run the command */
|
||||
$iExecuteReturns = 0;
|
||||
@@ -1,42 +0,0 @@
|
||||
------------------------------------------------------------------------
|
||||
r7418 | gandalf | 2013-08-13 13:32:49 -0600 (Tue, 13 Aug 2013) | 1 line
|
||||
|
||||
fix COMMENT handling, even in case COMMENT is empty, with or without HR and with variable substitution
|
||||
------------------------------------------------------------------------
|
||||
Index: branches/0.8.8/lib/rrd.php
|
||||
===================================================================
|
||||
--- branches/0.8.8/lib/rrd.php (revision 7417)
|
||||
+++ branches/0.8.8/lib/rrd.php (revision 7418)
|
||||
@@ -1343,20 +1343,20 @@
|
||||
$need_rrd_nl = TRUE;
|
||||
|
||||
if ($graph_item_types{$graph_item["graph_type_id"]} == "COMMENT") {
|
||||
+ # perform variable substitution first (in case this will yield an empty results or brings command injection problems)
|
||||
+ $comment_arg = rrd_substitute_host_query_data($graph_variables["text_format"][$graph_item_id], $graph, $graph_item);
|
||||
+ # next, compute the argument of the COMMENT statement and perform injection counter measures
|
||||
+ if (trim($comment_arg) == '') { # an empty COMMENT must be treated with care
|
||||
+ $comment_arg = cacti_escapeshellarg(' ' . $hardreturn[$graph_item_id]);
|
||||
+ } else {
|
||||
+ $comment_arg = cacti_escapeshellarg($comment_arg . $hardreturn[$graph_item_id]);
|
||||
+ }
|
||||
+
|
||||
+ # create rrdtool specific command line
|
||||
if (read_config_option("rrdtool_version") != "rrd-1.0.x") {
|
||||
- $comment_string = $graph_item_types{$graph_item["graph_type_id"]} . ":" . str_replace(":", "\:", cacti_escapeshellarg($graph_variables["text_format"][$graph_item_id] . $hardreturn[$graph_item_id])) . " ";
|
||||
- if (trim($comment_string) == 'COMMENT:"\n"') {
|
||||
- $txt_graph_items .= 'COMMENT:" \n"'; # rrdtool will skip a COMMENT that holds a NL only; so add a blank to make NL work
|
||||
- } else if (trim($comment_string) != "COMMENT:\"\"") {
|
||||
- $txt_graph_items .= rrd_substitute_host_query_data($comment_string, $graph, $graph_item);
|
||||
- }
|
||||
+ $txt_graph_items .= $graph_item_types{$graph_item["graph_type_id"]} . ":" . str_replace(":", "\:", $comment_arg) . " ";
|
||||
}else {
|
||||
- $comment_string = $graph_item_types{$graph_item["graph_type_id"]} . ":" . cacti_escapeshellarg($graph_variables["text_format"][$graph_item_id] . $hardreturn[$graph_item_id]) . " ";
|
||||
- if (trim($comment_string) == 'COMMENT:"\n"') {
|
||||
- $txt_graph_items .= 'COMMENT:" \n"'; # rrdtool will skip a COMMENT that holds a NL only; so add a blank to make NL work
|
||||
- } else if (trim($comment_string) != "COMMENT:\"\"") {
|
||||
- $txt_graph_items .= rrd_substitute_host_query_data($comment_string, $graph, $graph_item);
|
||||
- }
|
||||
+ $txt_graph_items .= $graph_item_types{$graph_item["graph_type_id"]} . ":" . $comment_arg . " ";
|
||||
}
|
||||
}elseif (($graph_item_types{$graph_item["graph_type_id"]} == "GPRINT") && (!isset($graph_data_array["graph_nolegend"]))) {
|
||||
$graph_variables["text_format"][$graph_item_id] = str_replace(":", "\:", $graph_variables["text_format"][$graph_item_id]); /* escape colons */
|
||||
@@ -1,155 +0,0 @@
|
||||
------------------------------------------------------------------------
|
||||
r7420 | cigamit | 2013-08-17 21:41:24 -0600 (Sat, 17 Aug 2013) | 1 line
|
||||
|
||||
Bug #0002383 : Sanitize the step and id variables
|
||||
------------------------------------------------------------------------
|
||||
Index: branches/0.8.8/host.php
|
||||
===================================================================
|
||||
--- branches/0.8.8/host.php (revision 7419)
|
||||
+++ branches/0.8.8/host.php (revision 7420)
|
||||
@@ -149,6 +149,9 @@
|
||||
if ($_POST["snmp_version"] == 3 && ($_POST["snmp_password"] != $_POST["snmp_password_confirm"])) {
|
||||
raise_message(4);
|
||||
}else{
|
||||
+ input_validate_input_number(get_request_var_post("id"));
|
||||
+ input_validate_input_number(get_request_var_post("host_template_id"));
|
||||
+
|
||||
$host_id = api_device_save($_POST["id"], $_POST["host_template_id"], $_POST["description"],
|
||||
trim($_POST["hostname"]), $_POST["snmp_community"], $_POST["snmp_version"],
|
||||
$_POST["snmp_username"], $_POST["snmp_password"],
|
||||
Index: branches/0.8.8/lib/api_device.php
|
||||
===================================================================
|
||||
--- branches/0.8.8/lib/api_device.php (revision 7419)
|
||||
+++ branches/0.8.8/lib/api_device.php (revision 7420)
|
||||
@@ -107,7 +107,7 @@
|
||||
$_host_template_id = db_fetch_cell("select host_template_id from host where id=$id");
|
||||
}
|
||||
|
||||
- $save["id"] = $id;
|
||||
+ $save["id"] = form_input_validate($id, "id", "^[0-9]+$", false, 3);
|
||||
$save["host_template_id"] = form_input_validate($host_template_id, "host_template_id", "^[0-9]+$", false, 3);
|
||||
$save["description"] = form_input_validate($description, "description", "", false, 3);
|
||||
$save["hostname"] = form_input_validate(trim($hostname), "hostname", "", false, 3);
|
||||
Index: branches/0.8.8/install/index.php
|
||||
===================================================================
|
||||
--- branches/0.8.8/install/index.php (revision 7419)
|
||||
+++ branches/0.8.8/install/index.php (revision 7420)
|
||||
@@ -310,27 +310,28 @@
|
||||
}
|
||||
|
||||
/* pre-processing that needs to be done for each step */
|
||||
-if (empty($_REQUEST["step"])) {
|
||||
- $_REQUEST["step"] = 1;
|
||||
-}else{
|
||||
- if ($_REQUEST["step"] == "1") {
|
||||
- $_REQUEST["step"] = "2";
|
||||
- }elseif (($_REQUEST["step"] == "2") && ($_REQUEST["install_type"] == "1")) {
|
||||
- $_REQUEST["step"] = "3";
|
||||
- }elseif (($_REQUEST["step"] == "2") && ($_REQUEST["install_type"] == "3")) {
|
||||
- $_REQUEST["step"] = "8";
|
||||
- }elseif (($_REQUEST["step"] == "8") && ($old_version_index <= array_search("0.8.5a", $cacti_versions))) {
|
||||
- $_REQUEST["step"] = "9";
|
||||
- }elseif ($_REQUEST["step"] == "8") {
|
||||
- $_REQUEST["step"] = "3";
|
||||
- }elseif ($_REQUEST["step"] == "9") {
|
||||
- $_REQUEST["step"] = "3";
|
||||
- }elseif ($_REQUEST["step"] == "3") {
|
||||
- $_REQUEST["step"] = "4";
|
||||
+if (isset($_REQUEST["step"]) && $_REQUEST["step"] > 0) {
|
||||
+ $step = intval($_REQUEST["step"]);
|
||||
+ if ($step == "1") {
|
||||
+ $step = "2";
|
||||
+ } elseif (($step == "2") && ($_REQUEST["install_type"] == "1")) {
|
||||
+ $step = "3";
|
||||
+ } elseif (($step == "2") && ($_REQUEST["install_type"] == "3")) {
|
||||
+ $step = "8";
|
||||
+ } elseif (($step == "8") && ($old_version_index <= array_search("0.8.5a", $cacti_versions))) {
|
||||
+ $step = "9";
|
||||
+ } elseif ($step == "8") {
|
||||
+ $step = "3";
|
||||
+ } elseif ($step == "9") {
|
||||
+ $step = "3";
|
||||
+ } elseif ($step == "3") {
|
||||
+ $step = "4";
|
||||
}
|
||||
+} else {
|
||||
+ $step = 1;
|
||||
}
|
||||
|
||||
-if ($_REQUEST["step"] == "4") {
|
||||
+if ($step == "4") {
|
||||
include_once("../lib/data_query.php");
|
||||
include_once("../lib/utility.php");
|
||||
|
||||
@@ -366,7 +367,7 @@
|
||||
|
||||
header ("Location: ../index.php");
|
||||
exit;
|
||||
-}elseif (($_REQUEST["step"] == "8") && ($_REQUEST["install_type"] == "3")) {
|
||||
+}elseif (($step == "8") && ($_REQUEST["install_type"] == "3")) {
|
||||
/* if the version is not found, die */
|
||||
if (!is_int($old_version_index)) {
|
||||
print " <p style='font-family: Verdana, Arial; font-size: 16px; font-weight: bold; color: red;'>Error</p>
|
||||
@@ -505,7 +506,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="100%" style="font-size: 12px;">
|
||||
- <?php if ($_REQUEST["step"] == "1") { ?>
|
||||
+ <?php if ($step == "1") { ?>
|
||||
|
||||
<p>Thanks for taking the time to download and install cacti, the complete graphing
|
||||
solution for your network. Before you can start making cool graphs, there are a few
|
||||
@@ -530,7 +531,7 @@
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.</p>
|
||||
|
||||
- <?php }elseif ($_REQUEST["step"] == "2") { ?>
|
||||
+ <?php }elseif ($step == "2") { ?>
|
||||
|
||||
<p>Please select the type of installation</p>
|
||||
|
||||
@@ -551,7 +552,7 @@
|
||||
print "Server Operating System Type: " . $config["cacti_server_os"] . "<br>"; ?>
|
||||
</p>
|
||||
|
||||
- <?php }elseif ($_REQUEST["step"] == "3") { ?>
|
||||
+ <?php }elseif ($step == "3") { ?>
|
||||
|
||||
<p>Make sure all of these values are correct before continuing.</p>
|
||||
<?php
|
||||
@@ -609,7 +610,7 @@
|
||||
is an upgrade. You can change any of the settings on this screen at a later
|
||||
time by going to "Cacti Settings" from within Cacti.</p>
|
||||
|
||||
- <?php }elseif ($_REQUEST["step"] == "8") { ?>
|
||||
+ <?php }elseif ($step == "8") { ?>
|
||||
|
||||
<p>Upgrade results:</p>
|
||||
|
||||
@@ -659,7 +660,7 @@
|
||||
print $upgrade_results;
|
||||
?>
|
||||
|
||||
- <?php }elseif ($_REQUEST["step"] == "9") { ?>
|
||||
+ <?php }elseif ($step == "9") { ?>
|
||||
|
||||
<p style='font-size: 16px; font-weight: bold; color: red;'>Important Upgrade Notice</p>
|
||||
|
||||
@@ -673,7 +674,7 @@
|
||||
|
||||
<?php }?>
|
||||
|
||||
- <p align="right"><input type="image" src="install_<?php if ($_REQUEST["step"] == "3") {?>finish<?php }else{?>next<?php }?>.gif" alt="<?php if ($_REQUEST["step"] == "3"){?>Finish<?php }else{?>Next<?php }?>"></p>
|
||||
+ <p align="right"><input type="image" src="install_<?php if ($step == "3") {?>finish<?php }else{?>next<?php }?>.gif" alt="<?php if ($step == "3"){?>Finish<?php }else{?>Next<?php }?>"></p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -681,7 +682,7 @@
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
-<input type="hidden" name="step" value="<?php print $_REQUEST["step"];?>">
|
||||
+<input type="hidden" name="step" value="<?php print $step;?>">
|
||||
|
||||
</form>
|
||||
|
||||
@@ -1,117 +0,0 @@
|
||||
------------------------------------------------------------------------
|
||||
r7439 | rony | 2014-03-30 17:52:10 -0500 (Sun, 30 Mar 2014) | 5 lines
|
||||
|
||||
bug#0002405: SQL injection in graph_xport.php
|
||||
|
||||
- Fixed form input validation problems
|
||||
- Fixed rrd export and graph shell escape issues
|
||||
|
||||
------------------------------------------------------------------------
|
||||
Index: branches/0.8.8/graph_xport.php
|
||||
===================================================================
|
||||
--- branches/0.8.8/graph_xport.php (revision 7438)
|
||||
+++ branches/0.8.8/graph_xport.php (revision 7439)
|
||||
@@ -47,43 +47,48 @@
|
||||
|
||||
$graph_data_array = array();
|
||||
|
||||
+/* ================= input validation ================= */
|
||||
+input_validate_input_number(get_request_var("local_graph_id"));
|
||||
+input_validate_input_number(get_request_var("rra_id"));
|
||||
+/* ==================================================== */
|
||||
+
|
||||
/* override: graph start time (unix time) */
|
||||
-if (!empty($_GET["graph_start"]) && $_GET["graph_start"] < 1600000000) {
|
||||
- $graph_data_array["graph_start"] = $_GET["graph_start"];
|
||||
+if (!empty($_GET["graph_start"]) && is_numeric($_GET["graph_start"] && $_GET["graph_start"] < 1600000000)) {
|
||||
+ $graph_data_array["graph_start"] = get_request_var("graph_start");
|
||||
}
|
||||
|
||||
/* override: graph end time (unix time) */
|
||||
-if (!empty($_GET["graph_end"]) && $_GET["graph_end"] < 1600000000) {
|
||||
- $graph_data_array["graph_end"] = $_GET["graph_end"];
|
||||
+if (!empty($_GET["graph_end"]) && is_numeric($_GET["graph_end"]) && $_GET["graph_end"] < 1600000000) {
|
||||
+ $graph_data_array["graph_end"] = get_request_var("graph_end");
|
||||
}
|
||||
|
||||
/* override: graph height (in pixels) */
|
||||
-if (!empty($_GET["graph_height"]) && $_GET["graph_height"] < 3000) {
|
||||
- $graph_data_array["graph_height"] = $_GET["graph_height"];
|
||||
+if (!empty($_GET["graph_height"]) && is_numeric($_GET["graph_height"]) && $_GET["graph_height"] < 3000) {
|
||||
+ $graph_data_array["graph_height"] = get_request_var("graph_height");
|
||||
}
|
||||
|
||||
/* override: graph width (in pixels) */
|
||||
-if (!empty($_GET["graph_width"]) && $_GET["graph_width"] < 3000) {
|
||||
- $graph_data_array["graph_width"] = $_GET["graph_width"];
|
||||
+if (!empty($_GET["graph_width"]) && is_numeric($_GET["graph_width"]) && $_GET["graph_width"] < 3000) {
|
||||
+ $graph_data_array["graph_width"] = get_request_var("graph_width");
|
||||
}
|
||||
|
||||
/* override: skip drawing the legend? */
|
||||
if (!empty($_GET["graph_nolegend"])) {
|
||||
- $graph_data_array["graph_nolegend"] = $_GET["graph_nolegend"];
|
||||
+ $graph_data_array["graph_nolegend"] = get_request_var("graph_nolegend");
|
||||
}
|
||||
|
||||
/* print RRDTool graph source? */
|
||||
if (!empty($_GET["show_source"])) {
|
||||
- $graph_data_array["print_source"] = $_GET["show_source"];
|
||||
+ $graph_data_array["print_source"] = get_request_var("show_source");
|
||||
}
|
||||
|
||||
-$graph_info = db_fetch_row("SELECT * FROM graph_templates_graph WHERE local_graph_id='" . $_REQUEST["local_graph_id"] . "'");
|
||||
+$graph_info = db_fetch_row("SELECT * FROM graph_templates_graph WHERE local_graph_id='" . get_request_var("local_graph_id") . "'");
|
||||
|
||||
/* for bandwidth, NThPercentile */
|
||||
$xport_meta = array();
|
||||
|
||||
/* Get graph export */
|
||||
-$xport_array = @rrdtool_function_xport($_GET["local_graph_id"], $_GET["rra_id"], $graph_data_array, $xport_meta);
|
||||
+$xport_array = @rrdtool_function_xport($_GET["local_graph_id"], get_request_var("rra_id"), $graph_data_array, $xport_meta);
|
||||
|
||||
/* Make graph title the suggested file name */
|
||||
if (is_array($xport_array["meta"])) {
|
||||
Index: branches/0.8.8/lib/rrd.php
|
||||
===================================================================
|
||||
--- branches/0.8.8/lib/rrd.php (revision 7438)
|
||||
+++ branches/0.8.8/lib/rrd.php (revision 7439)
|
||||
@@ -865,13 +865,13 @@
|
||||
/* basic graph options */
|
||||
$graph_opts .=
|
||||
"--imgformat=" . $image_types{$graph["image_format_id"]} . RRD_NL .
|
||||
- "--start=$graph_start" . RRD_NL .
|
||||
- "--end=$graph_end" . RRD_NL .
|
||||
+ "--start=" . cacti_escapeshellarg($graph_start) . RRD_NL .
|
||||
+ "--end=" . cacti_escapeshellarg($graph_end) . RRD_NL .
|
||||
"--title=" . cacti_escapeshellarg($graph["title_cache"]) . RRD_NL .
|
||||
"$rigid" .
|
||||
- "--base=" . $graph["base_value"] . RRD_NL .
|
||||
- "--height=$graph_height" . RRD_NL .
|
||||
- "--width=$graph_width" . RRD_NL .
|
||||
+ "--base=" . cacti_escapeshellarg($graph["base_value"]) . RRD_NL .
|
||||
+ "--height=" . cacti_escapeshellarg($graph_height) . RRD_NL .
|
||||
+ "--width=" . cacti_escapeshellarg($graph_width) . RRD_NL .
|
||||
"$scale" .
|
||||
"$unit_value" .
|
||||
"$unit_exponent_value" .
|
||||
@@ -1606,8 +1606,8 @@
|
||||
|
||||
/* basic export options */
|
||||
$xport_opts =
|
||||
- "--start=$xport_start" . RRD_NL .
|
||||
- "--end=$xport_end" . RRD_NL .
|
||||
+ "--start=" . cacti_escapeshellarg($xport_start) . RRD_NL .
|
||||
+ "--end=" . cacti_escapeshellarg($xport_end) . RRD_NL .
|
||||
"--maxrows=10000" . RRD_NL;
|
||||
|
||||
$xport_defs = "";
|
||||
@@ -1997,7 +1997,7 @@
|
||||
$stacked_columns["col" . $j] = ($graph_item_types{$xport_item["graph_type_id"]} == "STACK") ? 1 : 0;
|
||||
$j++;
|
||||
|
||||
- $txt_xport_items .= "XPORT:" . $data_source_name . ":" . str_replace(":", "", cacti_escapeshellarg($legend_name)) ;
|
||||
+ $txt_xport_items .= "XPORT:" . cacti_escapeshellarg($data_source_name) . ":" . str_replace(":", "", cacti_escapeshellarg($legend_name)) ;
|
||||
}else{
|
||||
$need_rrd_nl = FALSE;
|
||||
}
|
||||
@@ -1,25 +0,0 @@
|
||||
From edacae4b2cdc41f1c0bfc93e041532ff6c49f60c Mon Sep 17 00:00:00 2001
|
||||
From: Michael Tremer <michael.tremer@ipfire.org>
|
||||
Date: Tue, 17 Mar 2015 22:19:17 +0100
|
||||
Subject: [PATCH 1/5] Add an other forbidden string: "Serial"
|
||||
|
||||
---
|
||||
src/fireinfo/system.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/fireinfo/system.py b/src/fireinfo/system.py
|
||||
index daf77b399d20..9d7872822b85 100644
|
||||
--- a/src/fireinfo/system.py
|
||||
+++ b/src/fireinfo/system.py
|
||||
@@ -45,7 +45,7 @@ INVALID_ID_STRINGS = (
|
||||
"EVAL",
|
||||
"Not Applicable",
|
||||
"None", "empty",
|
||||
- "System Serial Number",
|
||||
+ "Serial", "System Serial Number",
|
||||
"XXXXX",
|
||||
"01010101-0101-0101-0101-010101010101",
|
||||
"00020003-0004-0005-0006-000700080009",
|
||||
--
|
||||
2.4.3
|
||||
|
||||
@@ -1,69 +0,0 @@
|
||||
From 4468fb2eb49e21d2350f6619584e6816f5159d29 Mon Sep 17 00:00:00 2001
|
||||
From: Michael Tremer <michael.tremer@ipfire.org>
|
||||
Date: Sat, 28 Mar 2015 13:17:57 +0100
|
||||
Subject: [PATCH 2/5] Escape any non-printable ascii characters
|
||||
|
||||
http://forum.ipfire.org/viewtopic.php?f=5&t=12970
|
||||
---
|
||||
src/fireinfo/system.py | 18 ++++++++++++++----
|
||||
1 file changed, 14 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/src/fireinfo/system.py b/src/fireinfo/system.py
|
||||
index 9d7872822b85..4148c66eded7 100644
|
||||
--- a/src/fireinfo/system.py
|
||||
+++ b/src/fireinfo/system.py
|
||||
@@ -325,6 +325,16 @@ class System(object):
|
||||
|
||||
return v, m
|
||||
|
||||
+ @staticmethod
|
||||
+ def escape_string(s):
|
||||
+ """
|
||||
+ Will remove all non-printable characters from the given string
|
||||
+ """
|
||||
+ if s is None:
|
||||
+ return
|
||||
+
|
||||
+ return filter(lambda x: x in string.printable, s)
|
||||
+
|
||||
@property
|
||||
def vendor(self):
|
||||
"""
|
||||
@@ -334,14 +344,14 @@ class System(object):
|
||||
for file in ("sys_vendor", "board_vendor", "chassis_vendor",):
|
||||
ret = read_from_file(os.path.join(SYS_CLASS_DMI, file))
|
||||
if ret:
|
||||
- return ret
|
||||
+ return self.escape_string(ret)
|
||||
|
||||
if os.path.exists("/proc/device-tree"):
|
||||
ret = self.__cpuinfo.get("Hardware", None)
|
||||
else:
|
||||
ret, m = self.vendor_model_tuple()
|
||||
|
||||
- return ret
|
||||
+ return self.escape_string(ret)
|
||||
|
||||
@property
|
||||
def model(self):
|
||||
@@ -352,7 +362,7 @@ class System(object):
|
||||
for file in ("product_name", "board_model", "chassis_model",):
|
||||
ret = read_from_file(os.path.join(SYS_CLASS_DMI, file))
|
||||
if ret:
|
||||
- return ret
|
||||
+ return self.escape_string(ret)
|
||||
|
||||
# Read device-tree model if available
|
||||
ret = read_from_file("/proc/device-tree/model")
|
||||
@@ -364,7 +374,7 @@ class System(object):
|
||||
if not ret:
|
||||
v, ret = self.vendor_model_tuple()
|
||||
|
||||
- return ret
|
||||
+ return self.escape_string(ret)
|
||||
|
||||
@property
|
||||
def memory(self):
|
||||
--
|
||||
2.4.3
|
||||
|
||||
@@ -1,35 +0,0 @@
|
||||
From c667589410912ca980a78f417e86dd6585d58f9a Mon Sep 17 00:00:00 2001
|
||||
From: Michael Tremer <michael.tremer@ipfire.org>
|
||||
Date: Mon, 4 May 2015 16:00:31 +0200
|
||||
Subject: [PATCH 3/5] Skip search for hypervisor name when the CPU string is
|
||||
empty
|
||||
|
||||
---
|
||||
src/_fireinfo/fireinfo.c | 11 ++++++-----
|
||||
1 file changed, 6 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/src/_fireinfo/fireinfo.c b/src/_fireinfo/fireinfo.c
|
||||
index fc639d9d4cd9..6601c21a733f 100644
|
||||
--- a/src/_fireinfo/fireinfo.c
|
||||
+++ b/src/_fireinfo/fireinfo.c
|
||||
@@ -156,11 +156,12 @@ int detect_hypervisor(int *hypervisor) {
|
||||
|
||||
*hypervisor = HYPER_OTHER;
|
||||
|
||||
- int id;
|
||||
- for (id = HYPER_NONE + 1; id < HYPER_LAST; id++) {
|
||||
- if (strcmp(hypervisor_ids[id], sig.text) == 0) {
|
||||
- *hypervisor = id;
|
||||
- break;
|
||||
+ if (*sig.text) {
|
||||
+ for (int id = HYPER_NONE + 1; id < HYPER_LAST; id++) {
|
||||
+ if (strcmp(hypervisor_ids[id], sig.text) == 0) {
|
||||
+ *hypervisor = id;
|
||||
+ break;
|
||||
+ }
|
||||
}
|
||||
}
|
||||
|
||||
--
|
||||
2.4.3
|
||||
|
||||
@@ -1,28 +0,0 @@
|
||||
From d58f8ef75a29dd6f8968084b5383ce0f39c75666 Mon Sep 17 00:00:00 2001
|
||||
From: Michael Tremer <michael.tremer@ipfire.org>
|
||||
Date: Wed, 12 Aug 2015 10:50:42 +0100
|
||||
Subject: [PATCH 4/5] Filter all IDs that only consist of 0xff
|
||||
|
||||
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
|
||||
---
|
||||
src/fireinfo/system.py | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/src/fireinfo/system.py b/src/fireinfo/system.py
|
||||
index 4148c66eded7..edf7359a17e6 100644
|
||||
--- a/src/fireinfo/system.py
|
||||
+++ b/src/fireinfo/system.py
|
||||
@@ -255,6 +255,10 @@ class System(object):
|
||||
id = None
|
||||
break
|
||||
|
||||
+ # Check if the string only contains 0xff
|
||||
+ if all((e == "\xff" for e in id)):
|
||||
+ id = None
|
||||
+
|
||||
if id:
|
||||
_ids.append(id)
|
||||
|
||||
--
|
||||
2.4.3
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
From deafec982e4c8f2e6ffa3bf70b0a94fa30158e9a Mon Sep 17 00:00:00 2001
|
||||
From: Michael Tremer <michael.tremer@ipfire.org>
|
||||
Date: Wed, 9 Sep 2015 15:04:43 +0100
|
||||
Subject: [PATCH 5/5] Fix crash if there is id has already been reset to None
|
||||
|
||||
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
|
||||
---
|
||||
src/fireinfo/system.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/fireinfo/system.py b/src/fireinfo/system.py
|
||||
index edf7359a17e6..c2ba12e818f0 100644
|
||||
--- a/src/fireinfo/system.py
|
||||
+++ b/src/fireinfo/system.py
|
||||
@@ -256,7 +256,7 @@ class System(object):
|
||||
break
|
||||
|
||||
# Check if the string only contains 0xff
|
||||
- if all((e == "\xff" for e in id)):
|
||||
+ if id and all((e == "\xff" for e in id)):
|
||||
id = None
|
||||
|
||||
if id:
|
||||
--
|
||||
2.4.3
|
||||
|
||||
@@ -1,71 +0,0 @@
|
||||
diff -Naur phpSANE_org/config.php phpSANE/config.php
|
||||
--- phpSANE_org/config.php 2005-02-21 07:05:00.000000000 +0100
|
||||
+++ phpSANE/config.php 2008-03-04 14:44:30.000000000 +0100
|
||||
@@ -1,7 +1,7 @@
|
||||
<?PHP
|
||||
// CONFIG ------------------------------------------------------------------------------------
|
||||
$SCANIMAGE="/usr/bin/scanimage"; // auch mit
|
||||
-$PNMTOJPEG="/usr/bin/pnmtojpeg"; // eigenen
|
||||
+$PNMTOJPEG="/usr/local/netpbm/bin/pnmtojpeg"; // eigenen
|
||||
$OCR="/usr/bin/gocr"; // Parametern
|
||||
|
||||
//$SAVE_PLACE="/srv/www/htdocs/web/phpSANE/";
|
||||
@@ -63,7 +63,7 @@
|
||||
if($_GET['mode']) if($clear == 1) $mode="Color"; else $mode=$_GET['mode']; else $mode="Color";
|
||||
if($_GET['resolution']) if($clear == 1) $resolution=100; else $resolution=$_GET['resolution']; else $resolution=100;
|
||||
if($clear == 1) $negative="no"; else $negative=$_GET['negative'];
|
||||
-if($clear == 1) $quality_cal= "yes"; else $quality_cal=$_GET['quality_cal'];
|
||||
+if($clear == 1) $quality_cal= "no"; else $quality_cal=$_GET['quality_cal'];
|
||||
if($clear == 1) $first="";
|
||||
//if($_GET['depth']) $depth=$_GET['depth']; else $depth="8"; // wers braucht
|
||||
//$brightness=$_GET['brightness']; // die werden von meinem scanner leider nicht unterst<73>tzt
|
||||
diff -Naur phpSANE_org/menu.php phpSANE/menu.php
|
||||
--- phpSANE_org/menu.php 2005-02-21 06:39:01.000000000 +0100
|
||||
+++ phpSANE/menu.php 2008-03-04 15:03:12.000000000 +0100
|
||||
@@ -74,7 +74,7 @@
|
||||
echo "<option value=\"Gray\" $selected_2>".$lang[$lang_id][16]."\n";
|
||||
echo "<option value=\"Lineart\" $selected_3>".$lang[$lang_id][17]."\n";
|
||||
echo "</SELECT></td>\n";
|
||||
-if(!$_GET['first']) { $first=1; $checked1="checked"; }
|
||||
+//if(!$_GET['first']) { $first=1; $checked1="checked"; }
|
||||
if($quality_cal=="yes") { $checked1="checked"; $first=1; } else { $checked=""; $first=1; }
|
||||
echo "<input type=hidden name=\"first\" value=\"$first\">\n";
|
||||
echo "<td align=\"right\" class=\"text_padd\">".$lang[$lang_id][21]." <INPUT type=\"checkbox\" name=\"quality_cal\" value=\"yes\" ".$checked1."></td>\n";
|
||||
diff -Naur phpSANE_org/scan.php phpSANE/scan.php
|
||||
--- phpSANE_org/scan.php 2005-02-21 07:06:19.000000000 +0100
|
||||
+++ phpSANE/scan.php 2008-03-04 15:57:37.000000000 +0100
|
||||
@@ -75,25 +75,25 @@
|
||||
|
||||
if($action == $lang[$lang_id][27]) {
|
||||
if($format == "jpg") {
|
||||
-$cmd_scan=$cmd_scan." | pnmtojpeg --quality=100 > ".$file_scan;
|
||||
-$scan_yes=`$cmd_scan`;
|
||||
-echo "<script language=\"JavaScript\" type=\"text/javascript\">\n";
|
||||
-echo "window.open(\"save.php?file=".$file_scan."&lang_id=".$lang_id."\",\"_blank\", \"width=400,height=100,left=320,top=200,scrollbars=no,location=no,status=no,menubar=no\");\n";
|
||||
-echo "</script>\n";
|
||||
-} else {
|
||||
+$cmd_scan=$cmd_scan." | $PNMTOJPEG --quality=100 > ".$file_scan;
|
||||
+}
|
||||
+if($format == "tif") {
|
||||
+$cmd_scan=$cmd_scan." --format=tiff > ".$file_scan;
|
||||
+}
|
||||
+if($format == "pnm") {
|
||||
$cmd_scan=$cmd_scan." > ".$file_scan;
|
||||
+}
|
||||
$scan_yes=`$cmd_scan`;
|
||||
echo "<script language=\"JavaScript\" type=\"text/javascript\">\n";
|
||||
-echo "window.open(\"save.php?file=".$file_scan."%26lang_id=".$lang_id."\",\"_blank\", \"width=400,height=100,left=320,top=200,scrollbars=no,location=no,status=no,menubar=no\");\n";
|
||||
+echo "window.open(\"save.php?file=".$file_scan."&lang_id=".$lang_id."\",\"_blank\", \"width=400,height=200,left=320,top=200,scrollbars=no,location=no,status=no,menubar=no\");\n";
|
||||
echo "</script>\n";
|
||||
}
|
||||
-}
|
||||
|
||||
if($action == $lang[$lang_id][26]) {
|
||||
$cmd_scan=$cmd_scan." | ".$OCR." - > ".$file.".txt";
|
||||
$scan_yes=`$cmd_scan`;
|
||||
echo "<script language=\"JavaScript\" type=\"text/javascript\">\n";
|
||||
-echo "window.open(\"save.php?file=".$file.".txt%26lang_id=".$lang_id."\",\"_blank\", \"width=400,height=100,left=320,top=200,scrollbars=no,location=no,status=no,menubar=no\");\n";
|
||||
+echo "window.open(\"save.php?file=".$file.".txt&lang_id=".$lang_id."\",\"_blank\", \"width=400,height=100,left=320,top=200,scrollbars=no,location=no,status=no,menubar=no\");\n";
|
||||
echo "</script>\n";
|
||||
}
|
||||
}
|
||||
@@ -1,113 +0,0 @@
|
||||
/* Copyright 2002 Jeff Dike
|
||||
* Licensed under the GPL
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
#include <pwd.h>
|
||||
#include <net/if.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <linux/if_tun.h>
|
||||
|
||||
static void Usage(char *name)
|
||||
{
|
||||
fprintf(stderr, "Create: %s [-b] [-u owner] [-t device-name] "
|
||||
"[-f tun-clone-device]\n", name);
|
||||
fprintf(stderr, "Delete: %s -d device-name [-f tun-clone-device]\n\n",
|
||||
name);
|
||||
fprintf(stderr, "The default tun clone device is /dev/net/tun - some systems"
|
||||
" use\n/dev/misc/net/tun instead\n\n");
|
||||
fprintf(stderr, "-b will result in brief output (just the device name)\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
struct ifreq ifr;
|
||||
struct passwd *pw;
|
||||
long owner = geteuid();
|
||||
int tap_fd, opt, delete = 0, brief = 0;
|
||||
char *tun = "", *file = "/dev/net/tun", *name = argv[0], *end;
|
||||
|
||||
while((opt = getopt(argc, argv, "bd:f:t:u:")) > 0){
|
||||
switch(opt) {
|
||||
case 'b':
|
||||
brief = 1;
|
||||
break;
|
||||
case 'd':
|
||||
delete = 1;
|
||||
tun = optarg;
|
||||
break;
|
||||
case 'f':
|
||||
file = optarg;
|
||||
break;
|
||||
case 'u':
|
||||
pw = getpwnam(optarg);
|
||||
if(pw != NULL){
|
||||
owner = pw->pw_uid;
|
||||
break;
|
||||
}
|
||||
owner = strtol(optarg, &end, 0);
|
||||
if(*end != '\0'){
|
||||
fprintf(stderr, "'%s' is neither a username nor a numeric uid.\n",
|
||||
optarg);
|
||||
Usage(name);
|
||||
}
|
||||
break;
|
||||
case 't':
|
||||
tun = optarg;
|
||||
break;
|
||||
case 'h':
|
||||
default:
|
||||
Usage(name);
|
||||
}
|
||||
}
|
||||
|
||||
argv += optind;
|
||||
argc -= optind;
|
||||
|
||||
if(argc > 0)
|
||||
Usage(name);
|
||||
|
||||
if((tap_fd = open(file, O_RDWR)) < 0){
|
||||
fprintf(stderr, "Failed to open '%s' : ", file);
|
||||
perror("");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
memset(&ifr, 0, sizeof(ifr));
|
||||
|
||||
ifr.ifr_flags = IFF_TAP | IFF_NO_PI;
|
||||
strncpy(ifr.ifr_name, tun, sizeof(ifr.ifr_name) - 1);
|
||||
if(ioctl(tap_fd, TUNSETIFF, (void *) &ifr) < 0){
|
||||
perror("TUNSETIFF");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if(delete){
|
||||
if(ioctl(tap_fd, TUNSETPERSIST, 0) < 0){
|
||||
perror("TUNSETPERSIST");
|
||||
exit(1);
|
||||
}
|
||||
printf("Set '%s' nonpersistent\n", ifr.ifr_name);
|
||||
}
|
||||
else {
|
||||
if(ioctl(tap_fd, TUNSETPERSIST, 1) < 0){
|
||||
perror("TUNSETPERSIST");
|
||||
exit(1);
|
||||
}
|
||||
if(ioctl(tap_fd, TUNSETOWNER, owner) < 0){
|
||||
perror("TUNSETPERSIST");
|
||||
exit(1);
|
||||
}
|
||||
if(brief)
|
||||
printf("%s\n", ifr.ifr_name);
|
||||
else printf("Set '%s' persistent and owned by uid %ld\n", ifr.ifr_name,
|
||||
owner);
|
||||
}
|
||||
return(0);
|
||||
}
|
||||
Reference in New Issue
Block a user