Opened 14 years ago
Closed 14 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)
Change History (4)
comment:1 by , 14 years ago
by , 14 years ago
comment:2 by , 14 years ago
Owner: | set to |
---|
comment:3 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
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