Announcing PyLogsParser 0.2

Wallix logo Wallix LogBox team is happy to announce version 0.2 of PyLogsParser.

Version 0.2 is a minor release and brings the following features:
Continue reading

Posted in development, log | Tagged , , | Leave a comment

How to use RobotFramework (part 2)

RobotFramework logo

In our first tutorial, we explained how to use Robot Framework with the famous Selenium Library.

Robot Framework (RF) includes many libraries : In the RF package you have 8 standards test libraries (builtin, OS, Screenshot, Telnet, Collection, String, Dialogs and Remote), and many external test libraries, like Selenium Autoit, eclipse, Watir and more.

Objective of this tutorial

In this second tutorial, we’ll focus on the standard library called Builtin. This is one of the most important and powerfull library include with RF. This library contains many keywords for manage your test data and variables. It is automatically imported and always available.

You can find the details of the keywords here : builtin library keywords

The objective of this tutorial is to explain how to use some useful functionalities of the builtin library. Mainly we’ll explain how to make conditions (if else) and how to use for loop constructs.

Continue reading

Posted in test | Tagged , , , , | Leave a comment

Getting started with Twisted

Twisted logo
At Wallix we use Twisted as our framework for some network components in our products Wallix AdminBastion and Wallix LogBox. In this post we will analyze a short snippet of code to help you getting started with Twisted.

So what is Twisted

Twisted is an event-driven network framework written in Python, it supports a large number of protocols such as UDP, TCP, TLS and many other high level protocols like HTTP, SMTP, NNTP, IRC, XMPP/Jabber… An interesting point about Twisted is that high level protocols are fully implemented, which lets the developer experiment with it easily. In fact it is pretty easy to modify the Twisted ssh server implementation for one’s own needs. Most of the time, all a developer will have to do is to overwrite methods in Twisted classes representing a protocol.

A Twisted program is composed of a main loop called the reactor and a callbacks system, when events occur like an incoming connection a callback or a callback chain will be executed to deal with the event.

Continue reading

Posted in development | Tagged , , | Leave a comment

Deskolo project: modeling power consumption

One part of the Deskolo project is to estimate the electricity consumption by considering only activity indicators of a computer. The solution proposed by CEA-LIST consists in using some Machine Learning techniques which are able to construct a predictive model from a dataset of examples. This dataset is composed of real data coming from one computer which has been equipped with a wattmeter in order to have a real reference. Initially, all features that could be useful have been recorded : cpu and memory load, disk activity, mouse frequency, display information, and so on. The figure bellow shows an example of recorded data including watt value, cpu and memory load, or dpms state.

Recorded data

Continue reading

Posted in green computing | Tagged , , , , | Leave a comment

How to use RobotFramework with the Selenium Library

RobotFramework logo

At Wallix we use RobotFramework to test our products AdminBastion and LogBox in a black box way mainly for exercising the web interface. In this blog post we’ll explain one way of using RobotFramework to test web interfaces either for web site testing or for web application testing.

What is RobotFramework ?

Robot Framework is a generic test automation framework for acceptance testing. It has an easy-to-use tabular test data syntax and utilizes a keyword-driven testing approach. Its testing capabilities can be extended by test libraries implemented either with Python or Java, and users can create new keywords from existing ones using the same syntax that is used for creating test cases.

¬†Robot Framework is an open source software released under the Apache License 2.0. It’s developed and owned by Nokia Siemens Networks.

For more information in order to install and setup RobotFramework, you should read the RobotFramework Wiki and the Setup and installation page.

Continue reading

Posted in test | Tagged , , , , | Leave a comment

Announcing Pylibssh2 1.0.1

Pylibssh2 version 1.0.1 brings the following modifications:

  • use more standard python macros for thread safety (PY_BEGIN_ALLOW_THREAD).
  • support for keyboard interactive authentication method.
  • a test suite.

Download tar ball from github: pylibssh2-1.0.1.tar.gz

Posted in ssh | Tagged , | Leave a comment

Announcing PyLogsParser 0.1

PyLogsParser is an opensource Python library created by Wallix and distributed under the LGPL licence.

It is used as the core mechanism for logs tagging and normalization by Wallix’s LogBox.

Continue reading

Posted in log | Tagged , , | Leave a comment

PuTTY 0.61 is released

Here is the list of new features in PuTTY 0.61:
Continue reading

Posted in ssh | Tagged | Leave a comment

Selenium 2.0 is released

Selenium logo

For newcomers, Selenium is a framework for testing web applications or interactive web sites. It is used to automate web actions and test results.

Continue reading

Posted in test | Tagged , | Leave a comment

Tips and advices to configure openssh

openssh logo

Key strength

The advice from the French Security agency is to have keys with at least 2048 bits. So with ssh-keygen, you have to use an RSA-type key as DSA keys are limited to 1024 bits.

Continue reading

Posted in ssh | Tagged , | Leave a comment