Patrick Schleizer writes:
> Does Tor's control protocol actually support something like ; ?
I'm not sure if this helps for your use-case, but my "carml"
command-line tool can read commands from a pipe and execute them all. A
simple example:
echo "GETINFO process/user" > foo
echo "GETINFO
Parsing and escaping things on one line is often a pain.
Atomic batching might be useful, though I've no use case.
< BATCH BEG label
< cmd1
< cmdN
< BATCH END label
< BATCH PRINT / DELETE label
< BATCH EXEC label [instance]
> BATCH RESULT label [instance]
< BATCH RESULT AUTODEL params [label]
[if
Hi Patrick,
No, the protocol does not support this. The only command separator is a
newline. Implementing this would likely be hard anyway, as the output of
the double command would be hard to parse.
Tom
Op 10/01/16 om 18:02 schreef Patrick Schleizer:
> TLDR:
>
> Does Tor's control protocol ac
TLDR:
Does Tor's control protocol actually support something like ; ?
I.e. something like
signal newnym ; getinfo address
?
How many of there separators are there?
Can you provide examples please?
Background:
At the moment we are implementing support for whitelisting wildcards for
control-port-f