Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Elastix Unified Communications Server Cookbook
  • Table Of Contents Toc
  • Feedback & Rating feedback
Elastix Unified Communications Server Cookbook

Elastix Unified Communications Server Cookbook

By : Gerardo Barajas Puente
5 (3)
close
close
Elastix Unified Communications Server Cookbook

Elastix Unified Communications Server Cookbook

5 (3)
By: Gerardo Barajas Puente

Overview of this book

This book is aimed at those who want to learn how to set up an Elastix Unified Communications Server without losing ground on Unified Communications and Voice over IP.
Table of Contents (19 chapters)
close
close
13
A. Description and Use of the Most Well-known FreePBX Modules
14
B. Addon Market Module
15
C. Asterisk Essential Commands
16
D. Asterisk Gateway Interface Programming
17
E. Helpful Linux Commands
18
Index

Installing Fail2ban

Fail2ban is a program that examines specific system logs in order to ban suspicious activity from IP addresses, which could potentially lead to a failure or attack. It searches for regular expressions declared in the *.conf files under the /etc/fail2ban/filter.d/ folder. If a condition is matched, it will add the suspicious IP address to the Linux kernel's firewall (iptables) and block it after a certain number of retries and for a certain period of time, sending an e-mail address to the administrator. These actions are defined in the jail.conf file, which is situated in the /etc/fail2ban/ folder. Fail2ban and iptables come installed in Elastix by default. In case it is not installed, we can simply do it by typing yum -y install fail2ban.

How to do it…

  1. Create a file called asterisk.conf under the /etc/fail2ban/filter.d/ folder. This file will contain the regular expressions that we will want to trace whenever any user tries to log in or use Asterisk's...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY