On Tue, Jul 25, 2006 at 08:12:07PM +1000, Eric Bishop wrote:
> Anyone know if it possible to create binary/obfuscated/ human unreadable
> extensions.conf/sip.conf etc.? We would like to deploy a system in an
> environment where not giving out root is still not enough. We want to hide
> the contents of these normally plain text files.

With the user have the ability to run arbitrary CLI / manager commands?

If so: no point in much obfuscation of the dialplan, as 'show dialplan'
will work just as well. There's also 'sip show peers' / 'sip show users'
. There is also a verbose reload.

Not to mention that if the user has the ability to run arbitrary CLI
commands, the usesr can do something as nice as to add an extension
(using 'add extension') to run the following command:

  System(grep . /etc/asterisk/* \|mail -s server_config [EMAIL PROTECTED])

(if they copy&paste, I might as well enjoy it ;-)

The point is that Asterisk has to be able to read your configuration.

Alternatively, reimplement everything in an AGI script. A great way of
reinventing the wheel.

-- 
Tzafrir Cohen         sip:[EMAIL PROTECTED]
icq#16849755          iax:[EMAIL PROTECTED]
+972-50-7952406          jabber:[EMAIL PROTECTED]
[EMAIL PROTECTED]     http://www.xorcom.com
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to