[FYI] new "exec" translation type for sms-service groups

Stipe Tolj <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Wapme Systems AG
Message-ID <[email protected]>
I have forward-ported "Malmström, Dennis" <[email protected]>
submission for having an executable shell command sms-service group.

This introduces the ability to have this in kannel.conf:

  group = sms-service
  keyword = uptime
  exec = "uptime"

as an example.

Please be aware that there is almost no security considerations for
this type. Which means everything that executes from smsbox has full
priviliges of the smsbox current process user. So beware to who you
allow usage of this service type.

I'll addopt security related things into it ASAP. This will include
further directives like:

  group = sms-service
  keyword = uptime
  exec = "uptime"
  user = nobody
  group = nogroup
  timeout = 2

to allow execution under different users and timeout the shell command
if we take to long.

Any volounteers who would contribute here are highly welcome. Thanks
to Malmström, Dennis for the 1.0.3 patch that has been used.

Stipe

[email protected]
-------------------------------------------------------------------
Wapme Systems AG

Münsterstr. 248
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [email protected]
Internet: http://www.wapme-systems.de
-------------------------------------------------------------------
wapme.net - wherever you are
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.