[Kamailio-Users] Unreadable script

Daniel-Constantin Mierla miconda at gmail.com
Fri Jan 8 11:54:03 CET 2010


Hi Klaus,

On 1/7/10 6:35 PM, Klaus Darilion wrote:
> Daniel, isn't the configuration somehow compiled into internal format? 
> Would it be possible to do the "compilation" on another server and 
> provide only a binary file which represents the internal structure of 
> the configuration?
indeed inside is built a tree with data, but:

- global parameters are set in variables, not kept in the tree, same for 
module loading and module parameters
- posix regular expressions which use stack malloc for compiled data

Cheers,
Daniel

>
> regards
> klaus
>
> Daniel-Constantin Mierla schrieb:
>>
>>
>> On 1/7/10 4:40 PM, Alex Balashov wrote:
>>> Does not inherently, but you could concoct it yourself.
>>
>> indeed, for that is good to know that the config file is not needed 
>> during run-time, so once kamailio is started, you can delete the 
>> plain text config and keep encrypted version (e.g., gpg).
>>
>> Cheers,
>> Daniel
>>
>>>
>>> On 01/07/2010 10:06 AM, Bruno Machado wrote:
>>>
>>>> Hi all
>>>>
>>>> I'm using the version 1.5.2 and I'd like to know from you if it is
>>>> possible to 'hide'
>>>> the config file. Using other words, becoming the file unreadable 
>>>> for us,
>>>> humans.
>>>> There are people that have root access to the machine and I don't want
>>>> to let
>>>> them read the script. Does Kamailio have a function to do this kind 
>>>> of job?
>>>>
>>>> tks,
>>>> Machado
>>>>
>>>> ------------------------------------------------------------------------ 
>>>>
>>>> Veja quais são os assuntos do momento no Yahoo! + Buscados: Top 10
>>>> <http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/> 
>>>>
>>>> - Celebridades
>>>> <http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/celebridades/> 
>>>>
>>>> - Música
>>>> <http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/m%C3%BAsica/> 
>>>>
>>>> - Esportes
>>>> <http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/esportes/> 
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Kamailio (OpenSER) - Users mailing list
>>>> Users at lists.kamailio.org
>>>> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
>>>> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>>

-- 
Daniel-Constantin Mierla
* http://www.asipto.com/





More information about the sr-users mailing list