Opened 12 years ago

Closed 12 years ago

#158 closed enhancement (fixed)

Extending the monitor protocol with settings support

Reported by: alno Owned by: alno
Priority: major Component:
Severity: medium Keywords:
Cc: Sensitive: no

Description

Hi,
My suggestion is to make oscam able to manage it's own config files. Means read _and_ write access. Additional I suggest more commands on the monitor port. A simple interface could look as follow:

Example1:

set -r <readername> -p mhz -v 600 (Set or add this parameter)
del -r <readername> -p mhz        (remove this parameter)
-r = reader (could be -u for user -s for server etc.)
-p = parameter to set
-v = value for parameter

Example2:

add -u <username> (Adduser)
rem -u <username> (Remove User)
ban -u <username> (Block user)
nab -u <username> (unblock user)

Example3:

srv -c reload (reload configs)
srv -c savecfg (save config to files)
srv -r <readername> (reset reader)

The serveranswers could be an echo of the command with a leading ok/nok

The advances are:
1) Settings changeable while running oscam without restart
2) Settings changeable over crypted monitorport without FTP or other access to filesystem

Thanks in advance,
Alno

Attachments (1)

OsCom.zip (8.3 KB ) - added by alno 12 years ago.

Download all attachments as: .zip

Change History (4)

in reply to:  description comment:1 by alno, 12 years ago

Replying to alno:

maybe this Monitor can be helpful to implement this feature. With this monitor you can test the behavior of new features from outside.

See and download here: http://www.streamboard.tv/wbb2/thread.php?postid=310286#post310286

Alno

by alno, 12 years ago

Attachment: OsCom.zip added

comment:2 by landlord, 12 years ago

Owner: set to alno

comment:3 by alno, 12 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.