Actions
Bug #4443
openCTRL interface blocks wildcard in rate_ctr
Status:
New
Priority:
Normal
Assignee:
-
Category:
libosmoctrl
Target version:
-
Start date:
03/08/2020
Due date:
% Done:
0%
Spec Reference:
Description
The rate_ctr CTRL interface was originally designed to provide wild-carding mechanisms, see get_rate_ctr() in source:src/ctrl/control_if.c - 'GET_VAR rate_ctr.*.foo.0.bar.baz' was supposed to get all the interevals (abs, per_Sec, per_min, per_hour, per_day) of a rate counter.
This is broken by latere introduced validation of CTRL interface input:
$ ./osmo_ctrl.py -d localhost -p 4267 -g 'rate_ctr.*.all_rtp_conn.0.all_rtp:packets_rx' Got message: b'ERROR 8895711621421932237 GET variable contains invalid characters'
Related issues
Updated by laforge over 4 years ago
- Related to Bug #2688: CTRL iface: make rate_ctr request parser more strict added
Updated by laforge over 4 years ago
- Related to Feature #4053: CTRL: Add CTRL cmd introspection to print documentation added
Actions