Gérer et afficher ses caméras IP dans Jeedom sans le plugin « Caméra »

Salut,

Dans cet article je vous propose de découvrir comment gérer et afficher des caméras IP (webcam) dans Jeedom, sans utiliser le plugin officiel « Caméra ».

En effet, le plugin officiel, payant et offrant de nombreuses fonctionnalités avancées, n’est pas nécessaire pour faire des choses assez simples avec des caméras IP, comme par exemple:

  1. Afficher l’image (une miniature) d’une caméra avec un rafraichissement automatique

  2. Piloter la caméra: la faire tourner, activer ou désactiver l’infrarouge, etc.

Tout ceci peut se faire simplement avec le plugin « Script » et un widget personnalisé. Nous allons voir comment.

Lire la suite

Clé USB GSM/3G TP-Link MA180 et Jeedom

Voilà bien longtemps que je n’ai écrit d’article sur la domotique. Il se trouve que j’ai récemment troqué ma solution domotique « artisanale » (celle que je vous décrivais dans mes précédents articles) pour une solution plus intégrée et plus « pro », à base de Jeedom, tournant sur une box Smart/ZWave+, un boitier RFXCom, une clé ZiGate et une clé Bluetooth.

J’ai donc plusieurs articles de prévus pour expliquer, détailler, et parfois simplement documenter pour moi même, ce que je bricole avec Jeedom et comment je pilote mes différents actionneurs dans la maison.

Aujourd’hui, je vais commencer par expliquer comment j’ai fait fonctionner ma clé GSM/3G de marque TP-Link, modèle MA180 avec Jeedom, puisqu’elle n’est pas supportée par défaut. Cette clé va permettre à Jeedom d’envoyer des notifications par SMS.

Lire la suite

Configure Fail2Ban for permanent and persistent bans

NB: This article is not about how Fail2Ban works or how to install it.

If you’re running an Internet facing server, you probably know its exposed services are constantly being probed and attacks are being attempted against it. Fortunately, an extremely useful, nice and nifty tool is here to help: Fail2Ban.

Fail2Ban scans service’s log files for patterns defined as regular expressions and, if an offending pattern is found a certain number of times within a given timeframe, the corresponding source IP is banned (ie: blocked) for a configurable time, using local firewall rules such as iptables.

I’m very touchy when it comes to my server security so I’m using Fail2Ban to perform permanent bans of involved source IPs and I’m going to show you how. The problem however is that those bans do not persist across a Fail2ban server restart or a server reboot.

In this article I will show you how to add two simple lines in Fail2Ban configuration file in order to add persistency across restart.

Lire la suite

Hacking voice over IP communications

Corporate voice network, also known as Voice over IP (VoIP) network, turns out to be an interesting target for those looking for confidential and private information. In my experience though, this target is often underestimated both by intruders or ethical hackers during their engagement, but also by company security officers.

In this article, I will go through a very practical case, using some well known tools to demonstrate the potential lack of security on VoIP networks. I’ll explain, step by step, how I’ve been using these tools, sometimes not exactly how they’re supposed to be used but that’s just how I managed to make it work altogether.

This example focuses on a specific VoIP technical environment and setup, and serves the only purpose of raising awareness on how easy it is to hack VoIP communications.

Lire la suite