Unknown directive in manager_custom.conf

trymes

Joined
Aug 19, 2009
Messages
228
Likes
0
Points
0
#1
I have been perusing my Asterisk full log file while troubleshooting another issue and I found this:

[Oct 25 14:48:43] WARNING[28356] config.c: Unknown directive '#permit=192.168.1.0/255.255.255.0' at line 18 of /etc/asterisk/manager_custom.conf

The relevant section of the file is this:

Code:
[AstTapi]
secret = AstTapi
deny=0.0.0.0/0.0.0.0
#permit=192.168.1.0/255.255.255.0
read = system,call,log,verbose,command,agent,user
write = system,call,log,verbose,command,agent,user
This seems kinda weird, so I thought I would post here to see if anyone has some suggestions as to why it's there. This system has never been on that particular subnet, so I think this issue exists out of the box on Elastix 2.0.

I'm guessing the following:
1.) This line should be commented out using a semi-colon, not a pound sign.
2.) This line should not exist, and should be "permit=127.0.0.1/255.255.255.0" like all of the other entries in the file.

Anyone have some insight here before I just throw this up on the bug tracker? I don't think it's affecting functionality, but an easily eliminated error is an error that ought to be eliminated.

Tom
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#2
1.)
 

trymes

Joined
Aug 19, 2009
Messages
228
Likes
0
Points
0
#3
Dicko,

Shouldn't #2 apply, as well? Or should AstTAPI be left with no "allow" line unless someone manually edits the file for security reasons?

Is there a piece of the PBXAdmin GUI that touches this file, or is it strictly a CLI affair?

Tom
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#4

trymes

Joined
Aug 19, 2009
Messages
228
Likes
0
Points
0
#5
OK, I'm with you there. I was thinking from the "How should it be configured out of the box" so that a default Elastix install doesn't have the same error and doesn't end up less secure for no reason.

I'll file a bug report. Thanks for the confirmation!

Tom
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,898
Messages
130,879
Members
17,560
Latest member
manuelc
Top