Re: [asterisk-users] Avaya 9608G and DHCP and TFTP and HTTP oh my

2018-03-01 Thread Daniel Tryba
On Thu, Mar 01, 2018 at 02:46:31PM +, Thomas Peters wrote: > Right-- I've seen the Avaya document you cite below. It says "To > administer DHCP option 242, make a copy of an existing option 176" but > I don't have any example of option 176 or 242 to copy, and don't know > what to do to /etc/dhc

Re: [asterisk-users] Blacklist failed attempts

2018-03-01 Thread Benoit Panizzon
Hi You could do somethink like this in Perl: #!/usr/bin/perl -w use strict; use warnings; my (@failhost); my %currblocked; my %addblocked; my $action; open (MYINPUTFILE, "/var/log/asterisk/messages") or die "\n", $!, "Does log file file exist\?\n\n"; while () { my ($line) = $_; chomp(

Re: [asterisk-users] Avaya 9608G and DHCP and TFTP and HTTP oh my

2018-03-01 Thread Thomas Peters
Right-- I've seen the Avaya document you cite below. It says "To administer DHCP option 242, make a copy of an existing option 176" but I don't have any example of option 176 or 242 to copy, and don't know what to do to /etc/dhcpd.conf to make it offer option 242. Then there's this long table

Re: [asterisk-users] Blacklist failed attempts

2018-03-01 Thread Antony Stone
On Thursday 01 March 2018 at 14:02:37, Atux Atux wrote: > Hi. I would like to protect my system from failed attempts. I would like to > ask if there is a way to do a blacklist for certain amount of time > consecutive attempts from the same IP. fail2ban > For example if we have an IP that gets a

[asterisk-users] Blacklist failed attempts

2018-03-01 Thread Atux Atux
Hi. I would like to protect my system from failed attempts. I would like to ask if there is a way to do a blacklist for certain amount of time consecutive attempts from the same IP. For example if we have an IP that gets a wrong passwd an it had tried more than 3 times the last 5 minutes, blacklist

Re: [asterisk-users] Avaya 9608G and DHCP and TFTP and HTTP oh my

2018-03-01 Thread Daniel Tryba
On Wed, Feb 28, 2018 at 08:48:38PM +, Thomas Peters wrote: > I'd like to start configuring my Avaya 9608G phones for use on > Asterisk / FreePBX / PBX-In-a-Flash. I'm using a variety of other > phones on my system without major issues. > > I've read the discussion back in March, May and August