| LOGFORWARDER(1) | LOGFORWARDER(1) |
logForwarder - Log item to manage ssh tunnels between log components and tools
logForwarder - Tools for creating and maintaining ssh tunnels between log components in complex topologies
logForwarder helps simplifying the maintenance of ssh tunnels between log components and tools, thus improving log scalability and configuration in complex network topologies. The components may be defined in a program to be monitored, they publish messages in the LogCentral. The tools get the messages subscribing to the LogCentral.
Before starting a log forwarder, you must:
[Remark: forwarders must be launched before the log tools/components]
You can pass a configuration file to dietForwarder instead of using command line options through the --net-config option. Configuration file lists several rules describing networks reachable using this forwarder.
There's two category of rules:
A rule always starts by either accept: or reject: immediately followed by a regular expression (Posix) describing host concerned by the rule. Rules are evaluated in the following order: accept then reject. For instance:
This fragment means that the forwarder will accept connections to every hosts but localhost.
Here's a simple configuration:
Command line for launchind Fwd1
fwd.net1$ logForwarder --name Fwd1 --peer-name Fwd2 \
--ssh-host fwd.net2 --ssh-login dietUser \
--ssh-key id rsa net2 --remote-port 50000 \
--net-config net1.cfg -C
Command line to launch Fwd2
fwd.net2$ logForwarder --name Fwd2 --net-config net2.cfg
Configuration file for Fwd1
In this example, the forwarders Fwd1 accepts only the connections to fwd.net2.
accept:fwd.net2
Configuration file for Fwd2
In this example, the forwarders Fwd2 accepts all the connections except those which are for the localhost.
accept:.* reject:localhost
The log service uses CORBA as its communication layer. While it's a flexible and robust middleware, it remains hard deploying the log on heterogeneous networks that are not reachable except through ssh tunnels. Log forwarders help administrator configuring their grid without manually set-up ssh tunnels which arguably is neither simple nor scalable. Log forwarders make it very easy configuring such topologies.
(C)2011, GRAAL, INRIA Rhone-Alpes, 46 allee d'Italie, 69364 Lyon cedex 07, France all right reserved <diet-dev@ens-lyon.fr>
This program is free software: you can redistribute it and/or mod‐ ify it under the terms of the GNU General Public License as pub‐ lished 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 Pub- lic Li‐ cense 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/>.
GRAAL INRIA Rhone-Alpes 46 allee d'Italie 69364 Lyon cedex 07, FRANCE Email: <diet-dev@ens-lyon.fr> WWW: http://graal.ens-lyon.fr/DIET
On some systems, forwarder rules won't work unless you use IP addresses instead of hostnames
haikel.guemar@sysfera.com, kevin.coulomb@sysfera.com
License: GPLv3
DIET developers
| 2011-05-11 | 0.1 |