[tor-dev] Proposal: Controller events to better understand connection/circuit usage

Karsten Loesing karsten at torproject.org
Mon Feb 11 14:41:16 UTC 2013


On Sun, Feb 10, 2013 at 7:08 AM, Andreas Krey <a.krey at gmx.de> wrote:
> On Sat, 09 Feb 2013 14:27:33 +0000, Damian Johnson wrote:
> ...
>> I cringe a bit to suggest it, but maybe a mapping in a mapping?
>>
>> CELL_STATS PCircID=8 PConnID=47110 PAdded=created:1,relay:1
>> PRemoved=created:1,relay:1
>
> You can as well go wild and use recursive syntax:
>
>    CELL_STATS PCircID=8 PConnID=47110 PAdded=(created=1 relay=1) PRemoved=(created=1 relay=1)
>
> (not thinking about the implementation details, like when to match parens).

Yeah, especially the latter part sounds painful.  I'll leave this as
Damian suggested it for now.

Thanks,
Karsten


More information about the tor-dev mailing list