BUG Incredible PBX 4.11.4 for RasPBX bug in secure-iptables

progs_00

Active Member
Joined
Jan 6, 2014
Messages
132
Reaction score
37
Hello guys.
As per title line 58:
Code:
iptest=`nslookup $adminip | tail -4 | head -n 1 | cut -f 1 -d "=" | cut -f 5 -d "."`
does not work in my case. From my server I get a response like this:
Server: 127.0.0.1 Address: 127.0.0.1#53 Non-authoritative answer: Name: my-fqdn Address: my-address
that of course get's truncated wrongly to
Non-authoritative answer:
I believe that if there is to be a check you must make it a more general one, like you have for the "normal" Incredible PBX" based on ip (or fqdn) dots

The quick and dirty way to bypass this (mentioned only for completeness' sake as it's rather obvious) is to rem out with # the exit 0 on line 68 making it
# exit 0

That's all. Hope to have helped
 

Members online

No members online now.

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