Project

General

Profile

Actions

Bug #4443

open

CTRL interface blocks wildcard in rate_ctr

Added by laforge about 4 years ago.

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

Related to libosmocore - Bug #2688: CTRL iface: make rate_ctr request parser more strictNew11/28/2017

Actions
Related to libosmocore - Feature #4053: CTRL: Add CTRL cmd introspection to print documentationNew06/10/2019

Actions
Actions #1

Updated by laforge about 4 years ago

  • Related to Bug #2688: CTRL iface: make rate_ctr request parser more strict added
Actions #2

Updated by laforge about 4 years ago

  • Related to Feature #4053: CTRL: Add CTRL cmd introspection to print documentation added
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)