FAIL2BAN on 13.0.120.10

phonebuff

Guru
Joined
Feb 7, 2008
Messages
1,115
Reaction score
129
Quick question for you all..

I do an ./add_ip name ip_addr

It seems to run and the last step is it displays the entered IP address in iptables..

But when I go back and look at the name.iptables file instead of the IPAdress I see all 1's

root@pbx1:~ $ cat namedipa.iptables
1.1.1.1 1.1.1.1

Which is not right in my mind - It certainly does not look like the file created with add-fqdn that has the FQDN and the current address in it ..

root@pbx1:~ $ cat dyndnsa.iptables
mynsa.dyndns.org 192.168.10.1

The root directly has both add-ip and an app-ip.orig here is the top few lines of a diff.
Code:
root@pbx1:~ $ diff add-ip app-ip.orig
3c3
< #     add-ip (c) Copyright 2012-2017, Ward Mundy & Associates LLC. All Rights Reserved.
---
> #     add-ip (c) Copyright 2012-2014, Ward Mundy & Associates LLC. All Rights Reserved.
5c5
< #                    add-ip 4.0U is licensed under the GPL2 license
---
> #                    add-ip 1.4U is licensed under the GPL2 license
8a9
> #   For additional information, contact us: http://pbxinaflash.com/about/comment.php
40c41
< echo "add-ip (c) Copyright 2012-2017, Ward Mundy & Associates, LLC"
---
> echo "add-ip (c) Copyright 2012-2014, Ward Mundy & Associates, LLC"
42,43c43,45
< echo "This script opens access to your server from: $2"
< echo "Activity from this address may damage your server!"
---
 

Members online

Forum statistics

Threads
25,782
Messages
167,509
Members
19,203
Latest member
frapu
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top