[Jul 26 06:17:46] NOTICE[28370]: manager.c:1034 authenticate: 127.0.0.1 failed to authenticate as ‘admin’
== Connect attempt from ‘127.0.0.1’ unable to authenticate
My manager.conf
[general]
displaysystemname=yes
enabled=yes
port=5038
bindaddr=127.0.0.1
So, you are running the web page on the asl server ? gui and all ? only ?
If not, the bind address is wrong.
Either make it 0.0.0.0 (any) or the ip of the machine looking to access it for high security.
127.0.0.1 is access on/from the same machine only (local).
If you are accessing manager from outside your NAT, you need it port forwarded.
You have not said, so I had to guess.
Ok, I forwarded, and I don’t know why still happen
== Manager ‘admin’ logged off from 127.0.0.1
== Manager ‘admin’ logged on from 127.0.0.1
– Hungup ‘DAHDI/pseudo-2029713817’
== Manager ‘admin’ logged on from 127.0.0.1
== Manager ‘admin’ logged off from 127.0.0.1
[Jul 27 17:40:13] NOTICE[14815]: manager.c:1034 authenticate: 127.0.0.1 failed to authenticate as ‘admin’
== Connect attempt from ‘127.0.0.1’ unable to authenticate
andmin logged on of and again failed
Is the web server the same server as asterisk with the manager ?
Yes
What IP address are you using in allmon.ini.php for the node ?
host=127.0.0.1:5038
What is the LAN address for the server on your network ?
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.129 netmask 255.255.255.0 broadcast 192.168.1.255
no effect, same notice
[Jul 28 16:58:46] NOTICE[10784] manager.c: 127.0.0.1 failed to authenticate as ‘admin’
[Jul 28 16:59:17] NOTICE[11336] manager.c: 127.0.0.1 failed to authenticate as ‘admin’
[Jul 28 16:59:48] NOTICE[11806] manager.c: 127.0.0.1 failed to authenticate as ‘admin’
Connected to Asterisk GIT d1e9a8b currently running on pi-asl (pid = 24198)
Verbosity was 0 and is now 4
– Message count requested for mailbox 200@device but voicemail not loaded.
– Hungup ‘DAHDI/pseudo-1272239122’
– Hungup ‘DAHDI/pseudo-1588710558’
[Jul 28 20:07:03] NOTICE[30947]: manager.c:1034 authenticate: 127.0.0.1 failed to authenticate as ‘admin’
== Connect attempt from ‘127.0.0.1’ unable to authenticate
And it say over and over
root@pi-asl:~# tail -f /var/log/asterisk/messages
[Jul 29 08:16:10] NOTICE[30358] dnsmgr.c: host ‘register.allstarlink.org’ changed from 34.105.111.212 to 162.248.92.131
[Jul 29 08:16:31] NOTICE[8821] manager.c: 127.0.0.1 failed to authenticate as ‘admin’
[Jul 29 08:17:02] NOTICE[9128] manager.c: 127.0.0.1 failed to authenticate as ‘admin’
[Jul 29 08:17:33] NOTICE[9379] manager.c: 127.0.0.1 failed to authenticate as ‘admin’
Well, you do have a firewall and appears is blocking tcp port 5038 from allmon
In what manor I can not be sure.
Which is a conclusion I would have had days ago.
You likely have iptables installed as well. The 2 work together to stop hacks.
which iptables
The config file if installed by the ASL set-up in the menu is /etc/iptables.conf
to restore a edited file for active load
iptables-restore /etc/iptables.conf
You will need to do some reading on this so you understand how it works.
fail2ban is to much for me to describe here.
If all this seems to complicated for you now, you might try to re-install both items from the asl menu and perhaps it will re-read the ports in current use and write the configs anew. Removing the jail data as well?